:root {
  --accent: #d93025;
  --accent-strong: #ff5a36;
  --accent-soft: rgba(217, 48, 37, 0.18);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-border: rgba(255, 255, 255, 0.1);
  --text: #fff6f2;
  --muted: #d8c2ba;
  --dark: #110202;
  --dark-soft: #220606;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --container: 1200px;
  --radius: 24px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  overflow-x: hidden;
}

body {
  position: relative;
  font-family: "Poppins", system-ui, Arial, sans-serif;
  color: var(--muted);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(255, 113, 67, 0.28), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(255, 72, 0, 0.14), transparent 24%),
    linear-gradient(180deg, #2c0505 0%, #170404 42%, #080101 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: 10%;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 118, 72, 0.18), transparent 68%);
  filter: blur(10px);
}

body::after {
  left: -160px;
  bottom: 8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
}

a,
button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 3, 3, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  padding: 14px 0;
}

.logo img {
  height: 96px;
  width: auto;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.32));
  transition: transform 0.35s ease;
}

.logo:hover img {
  transform: scale(1.04);
}

.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu ul,
nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu ul li a,
nav a {
  position: relative;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.menu ul li a::after,
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-strong), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu ul li a:hover,
nav a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.menu ul li a:hover::after,
nav a:hover::after {
  transform: scaleX(1);
}

main.container {
  position: relative;
}

section {
  position: relative;
  padding: 88px 0;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

section::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.hero {
  display: flex;
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - var(--header-height));
  padding-top: 52px;
}

.hero-left,
.hero-right {
  flex: 1;
}

.hero-content-wrapper {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.hero-text-content {
  flex: 1.3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #ffd9cd;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-strong), rgba(255, 255, 255, 0.3));
}

h1 {
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 650px;
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: #f6dfd7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #ffe6de;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.hero-note {
  margin-top: 24px;
  max-width: 520px;
  color: var(--muted);
}

.hero-note p {
  margin: 0;
}

.hero-quick-actions {
  display: none;
}

.quick-action-card {
  text-decoration: none;
}

.mobile-copy {
  display: none;
}

.about-mobile-stats {
  display: none;
}

.mobile-carousel-controls,
.mobile-carousel-dots {
  display: none;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.btn-primary {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 32px rgba(217, 48, 37, 0.28);
}

.btn-outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.btn-outline:hover {
  border-color: rgba(255, 144, 108, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hero-text-content > .reveal > div:last-child p {
  font-size: 0.98rem;
}

.stats-card {
  position: relative;
  flex: 0.9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 160, 132, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 120, 87, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(15, 5, 5, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stats-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.stat-item {
  position: relative;
  padding: 14px 0;
  text-align: center;
}

.stat-item + .stat-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 90, 54, 0.25);
}

.stat-label {
  margin-top: 8px;
  color: #f0d7d0;
  font-size: 0.98rem;
  font-weight: 500;
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-right::before {
  content: "";
  position: absolute;
  width: min(72vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 67, 0.38), rgba(255, 111, 67, 0.04) 58%, transparent 72%);
  filter: blur(12px);
}

.hero-image {
  position: relative;
  width: min(100%, 460px);
  animation: floatLogo 5.8s ease-in-out infinite;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.5));
}

@keyframes floatLogo {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

.section-title {
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  text-align: center;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-title-services {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.95rem;
  color: var(--muted);
}

.about-grid,
.contact-grid,
.location-card {
  display: grid;
  gap: 28px;
}

.about-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 360px);
  align-items: start;
}

.about-story,
.mission-card,
.contact-info,
.quote-panel .card,
.location-card,
.structure-item .card {
  position: relative;
  overflow: hidden;
}

.about-story,
.mission-card,
.contact-info {
  padding: 28px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.about-story::before,
.mission-card::before,
.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.about-story strong,
.mission-card strong,
.contact-block strong {
  color: var(--text);
  font-size: 1.15rem;
}

.mission-card p {
  margin-top: 10px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  color: #f7eaea;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(17, 4, 4, 0.72);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 145, 108, 0.3);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.2rem;
}

.card img {
  width: 100%;
  height: 220px;
  margin-bottom: 16px;
  border-radius: 18px;
  object-fit: cover;
}

#servicos .card {
  padding: 18px;
}

#servicos .card h3 {
  min-height: 58px;
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.structure-showcase {
  position: relative;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.structure-showcase-image {
  display: block;
  width: 100%;
  min-height: 360px;
  max-height: 520px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.structure-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 28%),
    linear-gradient(0deg, rgba(10, 2, 2, 0.8), rgba(10, 2, 2, 0.04) 40%);
  pointer-events: none;
}

.structure-showcase-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 1;
  max-width: 540px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(21, 5, 5, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.structure-badge-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffb79d;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.structure-showcase-badge strong {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.5;
}

.structure-item .card {
  min-height: 100%;
}

#estrutura .card {
  padding: 26px 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(20, 5, 5, 0.86);
}

#estrutura .card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

#estrutura .card p {
  max-width: 30ch;
}

  #localizacao {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 76px;
  }

  #localizacao .section-title,
  #localizacao .location-intro {
    width: 100%;
  }

#localizacao .section-title {
  margin-bottom: 14px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: start;
}

.contact-info {
  min-height: 100%;
}

.contact-block {
  margin: 0;
}

.contact-block-spaced {
  margin-top: 22px;
}

.contact-link {
  color: #ff9f7d;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-link:hover {
  color: #ffd8c8;
}

.quote-panel {
  width: 100%;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.form-control {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-control::placeholder {
  color: rgba(255, 240, 233, 0.56);
}

.form-control:focus {
  border-color: rgba(255, 144, 108, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 111, 67, 0.12);
}

.form-control-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin-top: 10px;
}

.location-intro {
  margin: 0 0 24px;
  text-align: center;
  color: var(--muted);
}

.location-card {
  width: min(100%, 980px);
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: 18px;
  margin: 0 auto;
}

.location-map,
.location-photo {
  min-width: 0;
  min-height: 340px;
}

.map-frame,
.location-image {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
  object-fit: cover;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27d367, #139c79);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  animation: pulse 2.8s infinite;
}

.mobile-tabbar {
  display: none;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.42);
  }
}

footer {
  color: var(--muted);
}

.bottom-bar {
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.9fr;
  gap: 34px;
  padding: 44px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(255, 99, 71, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(18, 2, 2, 0.92), rgba(8, 1, 1, 0.98));
}

.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.bottom-bar .footer-section:nth-child(2) {
  align-items: center;
  text-align: center;
}

.bottom-bar .footer-section:first-child {
  align-items: center;
  text-align: center;
}

.footer-section h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1.15;
}

.footer-section p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 236, 230, 0.78);
  line-height: 1.7;
}

.certificacoes-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.certificacoes-logos img {
  height: 72px;
  width: auto;
}

.texto-direita {
  align-items: center;
  text-align: center;
}

.texto-direita h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  max-width: 320px;
}

.footer-bottom {
  padding: 16px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 0.92rem;
  background: #070101;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav {
    min-height: 104px;
  }

  .logo img {
    height: 82px;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero,
  .hero-content-wrapper,
  .about-grid,
  .contact-grid,
  .location-card,
  .structure-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    flex-direction: column;
  }

  .hero-content-wrapper {
    display: grid;
  }

  .stats-card {
    max-width: 100%;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottom-bar {
    grid-template-columns: 1fr;
    padding: 38px 24px;
    text-align: center;
  }

  .footer-section {
    align-items: center;
  }

  .certificacoes-logos {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 84px;
    --radius: 22px;
  }

  body {
    background:
      radial-gradient(circle at 50% -10%, rgba(255, 106, 58, 0.38), transparent 36%),
      radial-gradient(circle at 100% 16%, rgba(255, 178, 141, 0.14), transparent 20%),
      linear-gradient(180deg, #250606 0%, #120303 44%, #090101 100%);
    background-attachment: scroll;
  }

  body::before,
  body::after {
    display: none;
  }

  section {
    padding: 28px 0;
  }

  #sobre {
    padding-top: 2px;
  }

  section::before {
    display: none;
  }

  .nav {
    min-height: var(--header-height);
    gap: 12px;
    padding: 10px 0;
  }

  .container {
    padding: 0 16px;
  }

  header {
    display: none;
  }

  .logo img {
    height: 48px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  body.menu-open .menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu ul,
  nav ul {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(32, 8, 8, 0.96), rgba(14, 3, 3, 0.98)),
      rgba(14, 3, 3, 0.96);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
  }

  .menu ul li a,
  nav a {
    display: block;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.95rem;
  }

  .menu ul li a::after,
  nav a::after {
    display: none;
  }

  main.container {
    padding-bottom: 116px;
    padding-top: 10px;
  }

  .hero {
    position: relative;
    gap: 18px;
    padding-top: 12px;
    padding-bottom: 16px;
    align-items: stretch;
    overflow: hidden;
  }

  .hero-content-wrapper {
    gap: 14px;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-left {
    position: relative;
    z-index: 1;
  }

  .hero-text-content {
    order: 1;
  }

  .stats-card {
    order: 2;
  }

  .hero-right {
    display: none;
  }

  .hero-right::before {
    display: none;
  }

  .hero-image {
    display: none;
  }

  .hero .stats-card {
    display: none;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .eyebrow::before {
    width: 24px;
  }

  h1 {
    font-size: clamp(1.85rem, 9.8vw, 2.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 14px;
  }

  .lead {
    font-size: 0.88rem;
    margin-bottom: 14px;
    color: rgba(255, 240, 233, 0.88);
    line-height: 1.55;
  }

  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: block;
  }

  .hero-text-content .reveal {
    display: grid;
    gap: 14px;
    padding: 20px 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
      rgba(16, 4, 4, 0.86);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  }

  .hero-text-content,
  .hero-text-content .reveal {
    width: 100%;
    max-width: 100%;
  }

  .hero-note {
    margin-top: 0;
    padding: 0 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
  }

  .hero-note p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 232, 224, 0.74);
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 0;
  }

  .quick-action-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    text-align: center;
    box-shadow: none;
  }

  .quick-action-card strong {
    font-size: 0.98rem;
    line-height: 1.2;
    font-weight: 700;
  }

  .quick-action-card span {
    display: none;
  }

  .cta-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
    gap: 8px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 18px;
    justify-content: center;
    font-size: 0.98rem;
  }

  .btn-primary {
    box-shadow: 0 14px 24px rgba(217, 48, 37, 0.22);
  }

  .btn-outline {
    background: rgba(255, 255, 255, 0.03);
  }

  .hero .btn-primary,
  .hero .btn-outline {
    max-width: 100%;
  }

  .hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.1);
  }

  .hero-highlights {
    display: none;
  }

  .hero-highlights span {
    display: none;
  }

  .stats-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .stat-item {
    padding: 16px 12px;
    border: none;
    border-radius: 20px;
    background: rgba(52, 21, 18, 0.92);
    box-shadow: none;
  }

  .stat-number {
    font-size: clamp(1.25rem, 6vw, 1.8rem);
  }

  .stat-label {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .stat-item + .stat-item {
    border-top: none;
  }

  .section-title,
  .section-title-services {
    margin-top: 4px;
    margin-bottom: 10px;
    font-size: clamp(1.55rem, 7.8vw, 2.1rem);
    text-align: center;
    letter-spacing: -0.04em;
  }

  #sobre .section-title {
    margin-bottom: 8px;
  }

  .section-title::after,
  .section-title-services::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 95, 58, 0.2), var(--accent-strong), rgba(255, 95, 58, 0.2));
  }

  .about-mobile-stats {
    position: relative;
    display: grid;
    margin-bottom: 10px;
    padding: 20px 0 12px;
    overflow: hidden;
    isolation: isolate;
  }

  .about-mobile-stats-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    width: min(82vw, 320px);
    opacity: 0.34;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: floatAboutLogo 6s ease-in-out infinite;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.2));
  }

  .stats-card-mobile {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .stats-card-mobile .stat-item {
    padding: 16px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    background: rgba(52, 21, 18, 0.58);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(1px);
  }

  @keyframes floatAboutLogo {
    0%,
    100% {
      transform: translate(-50%, -50%) scale(1);
    }
    50% {
      transform: translate(-50%, -53%) scale(1.03);
    }
  }


  .about-grid,
  .contact-grid,
  .structure-grid,
  .location-card {
    gap: 14px;
  }

  .mobile-carousel {
    width: 100%;
    overflow: hidden;
  }

  .mobile-carousel-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scrollbar-color: transparent transparent;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-carousel-track::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .grid-3 {
    display: flex;
  }

  .grid-3 .card,
  .structure-grid .structure-item {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .structure-showcase-image,
  .card img,
  .location-map,
  .location-photo {
    min-height: 220px;
  }

  .card img {
    height: 190px;
    margin-bottom: 14px;
    border-radius: 16px;
  }

  .structure-showcase-badge {
    left: 14px;
    right: auto;
    bottom: 14px;
    max-width: min(72%, 250px);
    padding: 8px 10px;
    border-radius: 16px;
  }

  .structure-showcase-badge strong {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .structure-badge-label {
    margin-bottom: 4px;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
  }

  .stats-card,
  .about-story,
  .mission-card,
  .contact-info,
  .card {
    padding: 18px;
    border-radius: 24px;
  }

  #servicos .card h3 {
    min-height: auto;
  }

  .structure-grid {
    display: flex;
  }

  .mobile-carousel-controls {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
  }

  .mobile-carousel-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .mobile-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
  }

  .mobile-carousel-dot.is-active {
    width: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  }

  .card h3,
  #estrutura .card h3,
  .footer-section h3 {
    font-size: 1.1rem;
  }

  .small,
  .footer-section p,
  .muted {
    font-size: 0.94rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quote-panel .card {
    padding: 18px;
  }

  .contact-info,
  .quote-panel .card,
  .about-story,
  .mission-card,
  .location-card {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
      rgba(16, 5, 5, 0.88);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  }

  .form-stack {
    gap: 10px;
  }

  .form-control {
    padding: 14px 15px;
    border-radius: 14px;
  }

  .bottom-bar {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 10px 16px 88px;
    border-top: none;
    background: transparent;
  }

  .footer-section {
    gap: 10px;
  }

  .bottom-bar .footer-section:first-child h3 {
    margin-bottom: 6px;
  }

  .bottom-bar .footer-section + .footer-section {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .certificacoes-logos {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .certificacoes-logos img {
    height: 40px;
  }

  .footer-section h3 {
    font-size: 0.98rem;
  }

  .footer-section p {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .texto-direita h3 {
    max-width: 220px;
  }

  .whatsapp-float {
    display: none;
  }

  .whatsapp-float a {
    width: 56px;
    height: 56px;
  }

  .mobile-tabbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(14, 3, 3, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.32);
  }

  .mobile-tabbar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 8px;
    border-radius: 18px;
    color: rgba(255, 238, 232, 0.78);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  }

  .mobile-tabbar-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  .mobile-tabbar-link-accent {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  }

  #localizacao {
    padding-top: 12px;
  }

  #localizacao .section-title {
    margin-bottom: 6px;
  }

  .location-intro {
    margin: 0 0 10px;
  }

  .location-card {
    padding: 12px;
  }

  .location-map,
  .location-photo {
    min-height: 240px;
  }

  .bottom-bar {
    gap: 14px;
    padding: 6px 16px 84px;
  }

  .footer-bottom {
    padding: 10px 16px calc(74px + env(safe-area-inset-bottom, 0px));
    font-size: 0.82rem;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 14px;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.92rem;
  }

  .hero-highlights span {
    width: 100%;
  }

  .location-card {
    padding: 14px;
  }

  .bottom-bar {
    padding: 24px 14px;
  }

  .hero-quick-actions,
  .stats-card {
    grid-template-columns: 1fr;
  }

  .mobile-tabbar-link {
    font-size: 0.72rem;
  }
}
