/* ============================================
   ACRO — Clínica Geral · Tricologia
   main.css — Design System & Global Styles
   ============================================ */

/* Fonts são carregadas via <link> no index.html */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --navy-deep: #0d1421;
  --navy: #1a2540;
  --navy-mid: #2C3E6B;
  --slate: #5A6F8A;
  --blue-light: #B8CEDE;
  --gray-cool: #B3BCC4;
  --off-white: #EEF0F4;
  --white: #FFFFFF;

  /* Accents */
  --green-wa: #25D366;
  --green-wa-hover: #1ebe5a;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 10vh, 140px) clamp(20px, 5vw, 120px);
  --container-max: 1200px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--off-white);
  background-color: var(--navy-deep);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-smooth);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.2;
  color: var(--blue-light);
}

::selection {
  background: var(--navy-mid);
  color: var(--white);
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

/* --- Section shared --- */
.section {
  padding: var(--section-padding);
  position: relative;
  scroll-margin-top: 72px; /* compensa a navbar fixa nos links de âncora */
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--blue-light);
  margin-bottom: 24px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-cool);
  max-width: 600px;
  line-height: 1.8;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Scrim próprio, independente da vinheta do hero — garante contraste do
     logo/links em qualquer viewport, já que a vinheta é centralizada no
     hero e não cobre de forma confiável a faixa superior em telas altas/estreitas. */
  background: linear-gradient(to bottom, rgba(8, 12, 21, 0.5) 0%, rgba(8, 12, 21, 0.22) 65%, transparent 100%);
  transition: background 0.5s var(--ease-smooth), padding 0.4s var(--ease-smooth),
              backdrop-filter 0.5s var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(11, 17, 28, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(184, 206, 222, 0.06);
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-cool);
  position: relative;
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.3s var(--ease-smooth);
}

.navbar-links a svg {
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.3s var(--ease-smooth);
}

.navbar-links a:hover svg {
  opacity: 1;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue-light);
  transition: width 0.4s var(--ease-out);
}

.navbar-links a:hover {
  color: var(--blue-light);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-links a.navbar-icon-link {
  color: var(--gray-cool);
  padding-bottom: 0;
}

.navbar-links a.navbar-icon-link svg {
  opacity: 1;
}

.navbar-links a.navbar-icon-link::after {
  display: none;
}

.navbar-links a.navbar-icon-link:hover {
  color: var(--blue-light);
}

.btn-nav-agendar {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy-mid);
  padding: 10px 24px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.btn-nav-agendar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.btn-nav-agendar:hover {
  background: #3a52a0;
  transform: translateY(-1px);
}

/* Mobile menu button */
.navbar-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.navbar-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-light);
  transition: transform 0.3s, opacity 0.3s;
}

.navbar-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 20px 80px;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Radial vignette so the logo & copy stay legible over the particle field */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at center,
      rgba(13, 20, 33, 0.72) 0%,
      rgba(13, 20, 33, 0.45) 45%,
      transparent 75%);
}

/* Fade suave para o tom da próxima seção — evita o corte abrupto entre hero e Sobre */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(120px, 22vh, 260px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--navy));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-logo {
  width: clamp(240px, 42vw, 480px);
  height: auto;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.35));
  animation: heroLogoIn 1.4s var(--ease-out) 0.3s both;
}

@keyframes heroLogoIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: -8px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  max-width: 600px;
  margin-top: 20px;
  line-height: 1.4;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--blue-light);
  max-width: 460px;
  margin-top: 6px;
}

.hero-subtext {
  font-size: 1rem;
  color: var(--gray-cool);
  max-width: 480px;
  line-height: 1.7;
  margin-top: 4px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy-mid);
  padding: 16px 40px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth),
              box-shadow 0.3s var(--ease-smooth);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #3a52a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(44, 62, 107, 0.4);
}

.btn-secondary {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-cool);
  background: transparent;
  padding: 14px 26px;
  border: 1px solid var(--slate);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth),
              transform 0.3s var(--ease-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-smooth);
}

.btn-secondary:hover {
  color: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
}

.btn-secondary:hover svg {
  transform: translateX(3px);
}

/* --- CTA Triade (funil) --- */
.cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Instagram button */
.btn-instagram {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth),
              color 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth),
              box-shadow 0.3s var(--ease-smooth);
  color: var(--blue-light);
  background: transparent;
  border: 1px solid var(--slate);
}

.btn-instagram:hover {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(120deg, #5A6F8A 0%, #833AB4 55%, #E1306C 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(131, 58, 180, 0.25);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--slate);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--slate), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   QUANDO CONSIDERAR UMA AVALIAÇÃO CAPILAR
   ============================================ */
.situacoes {
  background: var(--navy);
}

.situacoes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.situacao-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(13, 20, 33, 0.5);
  border: 1px solid rgba(184, 206, 222, 0.1);
  border-radius: 6px;
  padding: 24px 20px;
  transition: border-color 0.35s var(--ease-smooth), background 0.35s var(--ease-smooth),
              transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-smooth);
}

.situacao-card:hover {
  border-color: rgba(184, 206, 222, 0.3);
  background: rgba(26, 37, 64, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.situacao-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 2px;
  color: var(--slate);
  border: 1px solid rgba(184, 206, 222, 0.15);
  border-radius: 50%;
  transition: color 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth),
              background 0.35s var(--ease-smooth);
}

.situacao-card:hover .situacao-icon {
  color: var(--blue-light);
  border-color: rgba(184, 206, 222, 0.35);
  background: rgba(44, 62, 107, 0.18);
}

.situacao-card p {
  font-size: 0.88rem;
  color: var(--off-white);
  line-height: 1.6;
}

.situacoes-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ============================================
   COMO COMEÇAR
   ============================================ */
.como-comecar {
  background: var(--navy-deep);
}

.como-comecar-note {
  max-width: 620px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ============================================
   SOBRE (About)
   ============================================ */
.sobre {
  background: var(--navy);
}

.sobre .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.sobre-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.sobre-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 62, 107, 0.15), transparent);
  pointer-events: none;
}

.sobre-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/5;
  filter: grayscale(15%) brightness(0.95);
  transition: filter 0.5s var(--ease-smooth);
}

.sobre-image-wrapper:hover img {
  filter: grayscale(0%) brightness(1);
}

.sobre-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sobre-text .doctor-name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--blue-light);
}

.sobre-text .doctor-title {
  font-size: clamp(0.6rem, 2.6vw, 0.85rem);
  letter-spacing: clamp(0.5px, 0.3vw, 2px);
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}

.sobre-text .doctor-bio {
  font-size: 1rem;
  color: var(--gray-cool);
  line-height: 1.9;
  margin-top: 8px;
}

.sobre-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.5;
  margin-top: 20px;
  padding-left: 20px;
  border-left: 2px solid var(--navy-mid);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.sobre-cta {
  margin-top: 32px;
  justify-content: flex-start;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(44, 62, 107, 0.12);
  border: 1px solid rgba(184, 206, 222, 0.08);
  border-radius: 4px;
  transition: border-color 0.3s, background 0.3s;
}

.stat-item:hover {
  border-color: rgba(184, 206, 222, 0.18);
  background: rgba(44, 62, 107, 0.2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--blue-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 6px;
}

/* ============================================
   PROTOCOLO — compact timeline, raiz como assinatura
   ============================================ */
.protocolo {
  background: var(--navy-deep);
}

.protocolo-header .section-title {
  margin-bottom: 16px;
}

.protocolo-timeline {
  position: relative;
  margin-top: clamp(40px, 6vh, 64px);
}

.protocolo-steps {
  position: relative;
}

/* Linha vertical que atravessa os marcadores — a "raiz" descendo */
.protocolo-steps::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 32px;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(184, 206, 222, 0.3), rgba(184, 206, 222, 0.04));
}

.protocolo-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(20px, 4vw, 36px);
  padding: clamp(22px, 3.5vh, 32px) 0;
  border-top: 1px solid rgba(184, 206, 222, 0.08);
}

.protocolo-step:first-child {
  border-top: none;
  padding-top: 0;
}

.protocolo-step:last-child {
  padding-bottom: 0;
}

.protocolo-step-marker {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1;
  padding-top: 4px;
}

.protocolo-step-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 300;
  color: var(--blue-light);
  margin-bottom: 10px;
}

.protocolo-step-desc {
  font-size: 0.98rem;
  color: var(--gray-cool);
  line-height: 1.85;
  max-width: 640px;
}

.protocolo-root {
  display: flex;
  justify-content: center;
  padding-top: clamp(20px, 3.5vh, 32px);
  color: rgba(184, 206, 222, 0.3);
}

.protocolo-cta {
  margin-top: clamp(32px, 5vh, 48px);
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos {
  background: var(--navy);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.servico-card {
  background: rgba(13, 20, 33, 0.6);
  border: 1px solid rgba(184, 206, 222, 0.08);
  border-radius: 4px;
  padding: 48px 36px;
  transition: border-color 0.4s var(--ease-smooth), transform 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-smooth), background 0.4s;
  cursor: default;
}

.servico-card:hover {
  border-color: rgba(184, 206, 222, 0.25);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  background: rgba(26, 37, 64, 0.5);
}

.servico-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--slate);
  border: 1px solid rgba(184, 206, 222, 0.15);
  border-radius: 50%;
  transition: color 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth),
              background 0.4s var(--ease-smooth);
}

.servico-icon svg {
  width: 20px;
  height: 20px;
}

.servico-card:hover .servico-icon {
  color: var(--blue-light);
  border-color: rgba(184, 206, 222, 0.35);
  background: rgba(44, 62, 107, 0.15);
}

.servico-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.servico-card p {
  font-size: 0.92rem;
  color: var(--gray-cool);
  line-height: 1.8;
}

.servicos-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depoimentos {
  background: var(--navy-deep);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.depoimento-card {
  background: rgba(26, 37, 64, 0.5);
  border: 1px solid rgba(184, 206, 222, 0.08);
  border-radius: 4px;
  padding: 40px 32px;
  transition: opacity 0.5s, border-color 0.3s, transform 0.4s var(--ease-out);
}

.depoimento-card:hover {
  border-color: rgba(184, 206, 222, 0.2);
  transform: translateY(-4px);
}

.depoimento-quote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.7;
  margin-bottom: 24px;
}

.depoimento-quote::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--navy-mid);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.depoimento-author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-cool);
}

.depoimentos-note {
  max-width: 560px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.7;
}

/* Feedback panel */
.feedback-panel {
  margin: 56px auto 0;
  max-width: 640px;
  text-align: center;
  padding: 40px 32px;
  background: rgba(26, 37, 64, 0.4);
  border: 1px solid rgba(184, 206, 222, 0.1);
  border-radius: 6px;
}

.feedback-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.feedback-text {
  font-size: 0.98rem;
  color: var(--gray-cool);
  line-height: 1.8;
  margin-bottom: 28px;
}

.feedback-text em {
  color: var(--blue-light);
  font-style: italic;
}

.feedback-panel .btn-form {
  margin: 0 auto;
}

.btn-form {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy-mid);
  padding: 14px 26px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth),
              box-shadow 0.3s var(--ease-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-form:hover {
  background: #3a52a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(44, 62, 107, 0.4);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--navy);
}

/* Search + category filters */
.faq-controls {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(13, 20, 33, 0.4);
  border: 1px solid rgba(184, 206, 222, 0.12);
  border-radius: 30px;
  color: var(--slate);
  transition: border-color 0.3s var(--ease-smooth);
}

.faq-search:focus-within {
  border-color: rgba(184, 206, 222, 0.35);
}

.faq-search svg {
  flex-shrink: 0;
}

.faq-search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--off-white);
}

.faq-search input::placeholder {
  color: var(--slate);
}

.faq-search-clear {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(184, 206, 222, 0.1);
  color: var(--gray-cool);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.faq-search-clear:hover {
  background: rgba(184, 206, 222, 0.2);
  color: var(--blue-light);
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-filter {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--slate);
  background: transparent;
  border: 1px solid rgba(184, 206, 222, 0.15);
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth),
              background 0.3s var(--ease-smooth);
}

.faq-filter:hover {
  color: var(--blue-light);
  border-color: rgba(184, 206, 222, 0.3);
}

.faq-filter.active {
  color: var(--white);
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.faq-empty {
  max-width: 560px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray-cool);
  line-height: 1.7;
}

.faq-question-text mark {
  background: rgba(184, 206, 222, 0.25);
  color: var(--blue-light);
  border-radius: 2px;
  padding: 0 1px;
}

.faq-list {
  max-width: 760px;
  margin: 32px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(184, 206, 222, 0.08);
  transition: opacity 0.25s var(--ease-smooth);
}

.faq-item.faq-hidden {
  display: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--blue-light);
}

.faq-question-text {
  flex: 1;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--slate);
  transition: transform 0.4s var(--ease-out), color 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--blue-light);
}

.faq-answer {
  height: 0;
  overflow: hidden;
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 0.95rem;
  color: var(--gray-cool);
  line-height: 1.8;
}

.faq-answer-inner p + p {
  margin-top: 12px;
}

/* FAQ bottom CTA */
.faq-cta {
  max-width: 760px;
  margin: 56px auto 0;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(184, 206, 222, 0.08);
}

.faq-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 300;
  color: var(--blue-light);
  margin-bottom: 8px;
}

.faq-cta-text {
  font-size: 0.95rem;
  color: var(--gray-cool);
  margin-bottom: 28px;
}

/* ============================================
   CONTATO (CTA Final)
   ============================================ */
.contato {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #0a0f1a 100%);
  text-align: center;
}

.contato .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.contato-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.7;
}

.contato-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  max-width: 600px;
  line-height: 1.35;
}

.contato-ctas {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-whatsapp {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green-wa);
  padding: 14px 26px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: var(--green-wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
}

.contato-lead {
  font-size: 1.05rem;
  color: var(--gray-cool);
  max-width: 620px;
  line-height: 1.8;
  margin-top: -8px;
}

.contato-info {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 900px;
  text-align: left;
  padding-top: 40px;
  border-top: 1px solid rgba(184, 206, 222, 0.08);
}

.contato-info-block {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.9;
}

.contato-info-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}

.contato-info-block strong {
  display: block;
  color: var(--blue-light);
  font-weight: 400;
  margin-bottom: 2px;
}

.contato-info-block a {
  color: var(--gray-cool);
  transition: color 0.3s var(--ease-smooth);
}

.contato-info-block a:hover {
  color: var(--blue-light);
}

.contato-map {
  margin-top: 40px;
  width: 100%;
  max-width: 900px;
  text-align: left;
}

.contato-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  margin-top: 10px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(184, 206, 222, 0.12);
}

.contato-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #080c15;
  padding: 32px clamp(20px, 5vw, 60px);
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate);
  letter-spacing: 1px;
  border-top: 1px solid rgba(184, 206, 222, 0.04);
}

.footer p + p {
  margin-top: 8px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184, 206, 222, 0.15);
  border-radius: 50%;
  color: var(--slate);
  transition: color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}

.footer-social a:hover {
  color: var(--blue-light);
  border-color: rgba(184, 206, 222, 0.35);
}

.footer-crm {
  color: var(--gray-cool);
}

.footer-disclaimer {
  max-width: 480px;
  margin: 8px auto 0;
  font-size: 0.7rem;
  color: var(--slate);
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.footer-legal a {
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s var(--ease-smooth);
}

.footer-legal a:hover {
  color: var(--blue-light);
}

/* ============================================
   AVISO DE COOKIES
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(11, 17, 28, 0.98);
  border: 1px solid rgba(184, 206, 222, 0.15);
  border-radius: 8px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  flex: 1 1 260px;
  font-size: 0.82rem;
  color: var(--gray-cool);
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--blue-light);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner-actions button {
  padding: 10px 18px;
  font-size: 0.78rem;
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px 16px;
    gap: 10px;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  }

  .cookie-banner p {
    flex: 1 1 100%;
    font-size: 0.74rem;
    line-height: 1.5;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }

  .cookie-banner-actions button {
    flex: 0 0 auto;
    padding: 7px 14px;
    font-size: 0.72rem;
  }
}

/* ============================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-wa);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 900;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth), background 0.3s;
}

.whatsapp-float.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-float:hover {
  background: var(--green-wa-hover);
  transform: translateY(-2px) scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: opacity 0.3s;
    transform: none;
  }
  .whatsapp-float:hover {
    transform: none;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(13, 20, 33, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid rgba(184, 206, 222, 0.06);
  }

  .navbar-links.open {
    right: 0;
  }

  .navbar-mobile-toggle {
    display: flex;
  }

  .btn-nav-agendar {
    display: none;
  }

  .sobre .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre-image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

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

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

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

  .protocolo-step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .protocolo-steps::before {
    left: 22px;
  }

  .contato-info {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .contato-map {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .contato-map-frame {
    aspect-ratio: 4 / 3;
  }

  .hero {
    min-height: 100svh;
    padding: 100px 16px 60px;
  }

  .hero-content {
    gap: 16px;
  }

  .hero-scroll-indicator {
    position: static;
    transform: none;
    margin-top: 20px;
  }

  .hero-scroll-line {
    height: 26px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stat-item {
    padding: 14px 8px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.62rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
  }

  .cta-group .btn-whatsapp,
  .cta-group .btn-instagram,
  .cta-group .btn-secondary,
  .cta-group .btn-form {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.8rem;
  }

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

/* ============================================
   REVEAL ANIMATIONS (CSS transition-based)
   ============================================ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

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