/* ==========================================================================
   Dr. Fabrício Zache — Landing Page
   Arquivo: assets/css/style.css
   --------------------------------------------------------------------------
   ÍNDICE
   01. Variáveis (cores, fontes)   — mude as cores do site AQUI
   02. Reset e base
   03. Utilitários (container, títulos, animações de entrada)
   04. Botões
   05. Splash (tela de carregamento)
   06. Topo: barra de aviso + menu
   07. Hero (primeira dobra)
   08. Marquee (faixa deslizante)
   09. Números / Estatísticas
   10. Seção Sobre
   11. Cards (Perfis, Passos, Unidades)
   12. Lista "O que trata"
   13. CTA final
   14. Rodapé
   15. Botões flutuantes (WhatsApp / Telefone)
   16. Modal de agendamento
   17. Cookies + Política de privacidade
   18. Keyframes (animações)
   19. Responsivo (tablet e celular)
   ========================================================================== */


/* ==========================================================================
   01. VARIÁVEIS
   Para trocar as cores do site inteiro, altere apenas os valores abaixo.
   ========================================================================== */
:root {
  /* Paleta oficial do cliente */
  --navy:   #161d35;  /* azul escuro principal (fundos escuros) */
  --navy-2: #1c284a;  /* azul escuro secundário */
  --blue:   #0069b1;  /* azul médio (títulos de apoio, ícones) */
  --cyan:   #189cd8;  /* azul claro (destaques) */
  --green:  #39a935;  /* verde (ações/agendamento) */
  --lime:   #95c11f;  /* verde limão (detalhes) */
  --light:  #eaeded;  /* cinza claro da paleta */

  /* Tons de interface derivados */
  --paper:  #ffffff;  /* fundo branco das seções claras */
  --mist:   #f3f6fa;  /* fundo cinza claro alternado */
  --line:   #e4e9f0;  /* cor das bordas */
  --text:   #161d35;  /* cor do texto principal */
  --text-2: #40506a;  /* texto de parágrafo */
  --muted:  #5c6a82;  /* texto secundário / legendas */

  /* Cores oficiais das marcas (não alterar) */
  --whatsapp:      #25d366;
  --whatsapp-dark: #128c7e;

  /* Tipografia */
  --font-title: 'Archivo', system-ui, sans-serif; /* títulos e botões */
  --font-body:  'Inter', system-ui, sans-serif;   /* textos corridos */

  /* Layout */
  --max-width: 1160px;                 /* largura máxima do conteúdo */
  --pad-x: clamp(18px, 5vw, 60px);     /* respiro lateral das seções */
}


/* ==========================================================================
   02. RESET E BASE
   ========================================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy); /* evita "flash" branco antes do splash sair */
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-title);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

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

a         { color: var(--blue); text-decoration: none; }
a:hover   { color: var(--cyan); }

::selection { background: rgba(24, 156, 216, 0.25); }

/* Acessibilidade: foco visível no teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}


/* ==========================================================================
   03. UTILITÁRIOS
   ========================================================================== */

/* Caixa central de todas as seções */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Espaçamento vertical padrão das seções */
.section        { padding: clamp(56px, 7vw, 100px) var(--pad-x); }
.section--tight { padding: clamp(40px, 5vw, 64px) var(--pad-x); }

/* Fundos alternados */
.bg-white { background: var(--paper); }
.bg-mist  { background: var(--mist); }
.bg-navy  { background: radial-gradient(120% 100% at 20% 0%, #22315c, var(--navy) 60%); }

/* Rótulo pequeno acima dos títulos ("Sobre o Dr. Fabrício") */
.eyebrow {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--cyan); }

/* Cabeçalho de seção (rótulo + título) */
.sec-head        { max-width: 640px; margin-bottom: 44px; }
.sec-head h2     { font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); color: var(--navy); }
.sec-head--light h2 { color: #fff; }

/* Grids reutilizáveis */
.grid       { display: grid; gap: 22px; }
.grid--2    { grid-template-columns: repeat(2, 1fr); }
.grid--3    { grid-template-columns: repeat(3, 1fr); }
.grid--4    { grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* Animação de entrada: o JS adiciona a classe .is-visible ao rolar a página */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1),
              transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Efeito de elevação no hover dos cards */
.lift { transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,29,53,.12); }

/* Mostrar/ocultar por dispositivo (ver bloco 19) */
.only-mobile { display: none; }


/* ==========================================================================
   04. BOTÕES
   .btn é a base; as variações mudam apenas a cor.
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 12px;
  padding: 16px 28px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: filter .2s, background .2s, transform .15s;
}
.btn:hover  { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }

/* Verde WhatsApp — ação principal de agendamento */
.btn--green {
  background: linear-gradient(150deg, #4ac149, #2f8f2c);
  color: #fff;
}

/* Azul escuro — botão do menu */
.btn--navy { background: var(--navy); color: #fff; padding: 11px 20px; font-size: 13.5px; border-radius: 9px; }
.btn--navy:hover { background: #0d1430; filter: none; }

/* Contorno claro — usado sobre o fundo escuro do hero */
.btn--ghost {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.btn--ghost:hover { background: rgba(255,255,255,.12); filter: none; }

/* Branco — sobre o card azul do CTA final */
.btn--white { background: #fff; color: var(--navy); font-size: 17px; padding: 18px 34px; border-radius: 13px; }

.btn--block { width: 100%; }

/* Botão com pulsação (chama atenção) */
.btn--pulse { animation: pulse-btn 2.3s infinite; }


/* ==========================================================================
   05. SPLASH — tela azul que cobre a página até o carregamento terminar.
   Evita que o visitante veja o HTML "cru" (texto branco sem estilo).
   O JS remove este elemento em js/main.js.
   ========================================================================== */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .45s ease;
}
#splash.is-hidden { opacity: 0; pointer-events: none; }

#splash .spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--cyan);
  animation: spin .8s linear infinite;
}


/* ==========================================================================
   06. TOPO — barra de aviso + menu fixo
   ========================================================================== */
.announce {
  background: var(--navy);
  color: #cfd8e6;
  font-size: 12.5px;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .02em;
}
.announce i { color: var(--lime); vertical-align: -2px; }

.nav {
  position: sticky;      /* acompanha a rolagem */
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__brand      { display: flex; align-items: center; gap: 12px; }
.nav__logo       { width: 40px; height: 40px; border-radius: 11px; background: rgba(0,105,177,.08);
                   display: flex; align-items: center; justify-content: center; padding: 5px; }
.nav__logo img   { height: 100%; width: auto; }
.nav__name       { font-family: var(--font-title); font-weight: 700; font-size: 15.5px; color: var(--navy); line-height: 1.12; }
.nav__role       { font-size: 11px; color: var(--muted); letter-spacing: .09em; text-transform: uppercase; }

.nav__links      { display: flex; align-items: center; gap: 30px; }
.nav__link       { color: var(--navy); font-size: 14px; font-weight: 600; }
.nav__link:hover { color: var(--blue); }


/* ==========================================================================
   07. HERO — primeira dobra
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 78% 15%, #22315c 0%, #1a2344 42%, var(--navy) 100%);
  overflow: hidden;
}

/* Brilhos decorativos do fundo */
.hero__glow-1 {
  position: absolute; top: -120px; right: 6%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(24,156,216,.5), transparent 62%);
  filter: blur(14px); animation: glow-pulse 7s ease-in-out infinite; pointer-events: none;
}
.hero__glow-2 {
  position: absolute; left: -10%; bottom: -30%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,105,177,.28), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: end;
}

.hero__copy   { padding: clamp(38px, 5vw, 72px) 0; }
.hero__badge  {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 100px;
  background: rgba(24,156,216,.08);
  font-size: 12.5px; color: #bfe0f3;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 9px var(--lime); }

.hero__title  { font-weight: 800; font-size: clamp(34px, 4.8vw, 62px); color: #fff; margin-bottom: 22px; }
.hero__title span { color: var(--cyan); }
.hero__text   { font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.62; color: #c2cbdb; max-width: 500px; margin-bottom: 32px; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 30px; }

.hero__trust        { display: flex; flex-wrap: wrap; gap: 20px; color: #9fb0c9; font-size: 13px; }
.hero__trust span   { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust i      { color: var(--cyan); font-size: 16px; }

/* --- Foto do Dr. Fabrício --- */
.hero__photo {
  position: relative;
  align-self: end;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero__photo img {
  position: relative;
  max-height: 640px;
  width: auto;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.28));
}
/* Brilho suave atrás da pessoa */
.photo-glow {
  position: absolute; bottom: 4%; width: 90%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, rgba(24,156,216,.18), transparent 68%);
  pointer-events: none;
}
/* Sombra de apoio no chão */
.photo-shadow {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 58%; height: 26px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.32), transparent 72%);
  filter: blur(12px); pointer-events: none;
}
/* Degradê na base com a MESMA cor do fundo da seção:
   é ele que disfarça o corte da foto. Se trocar o fundo, troque aqui também. */
.photo-fade {
  position: absolute; bottom: 0; left: -6%; right: -6%; height: 130px;
  z-index: 2; pointer-events: none;
  background: linear-gradient(to top,
              var(--navy) 0%, var(--navy) 26%,
              rgba(22,29,53,.86) 48%, rgba(22,29,53,.5) 68%, rgba(22,29,53,0) 100%);
}

/* Cartõezinhos flutuantes ao lado da foto */
.hero__card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 13px;
  background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.hero__card--top    { top: 16%;    left: -2%;  animation: float-y 5s ease-in-out infinite; }
.hero__card--bottom { bottom: 20%; right: -3%; animation: float-y 5.6s ease-in-out infinite .6s; }
.hero__card strong  { display: block; font-family: var(--font-title); font-weight: 700; font-size: 14px; color: var(--navy); }
.hero__card small   { font-size: 11.5px; color: var(--muted); }


/* ==========================================================================
   08. MARQUEE — faixa com os temas atendidos, deslizando
   O conteúdo é duplicado no HTML para o loop ficar contínuo.
   ========================================================================== */
.marquee { background: var(--navy-2); overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.06); }
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 26s linear infinite;
  color: #8ea0bb; font-size: 13.5px; font-weight: 500;
}
.marquee__group { display: flex; align-items: center; gap: 44px; padding: 14px 22px; }
.marquee__sep   { color: var(--cyan); }


/* ==========================================================================
   09. NÚMEROS
   ========================================================================== */
.stat__value { font-family: var(--font-title); font-weight: 800; font-size: clamp(34px, 4vw, 52px); color: var(--blue); line-height: 1; }
.stat__label { color: var(--muted); font-size: 13.5px; margin-top: 6px; }


/* ==========================================================================
   10. SEÇÃO SOBRE
   ========================================================================== */
.about {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(30px, 5vw, 68px); align-items: center;
}

.about__photo {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  min-height: 440px;
}
.about__photo img { position: relative; max-height: 480px; width: auto; filter: drop-shadow(0 10px 16px rgba(22,29,53,.14)); }
.about__photo .photo-shadow { width: 52%; height: 22px; background: radial-gradient(ellipse, rgba(22,29,53,.16), transparent 72%); filter: blur(10px); bottom: 8px; }
/* Degradê na base com a cor clara desta seção (--mist) */
.about__photo .photo-fade {
  height: 110px;
  background: linear-gradient(to top,
              var(--mist) 0%, var(--mist) 28%,
              rgba(243,246,250,.88) 50%, rgba(243,246,250,.5) 70%, rgba(243,246,250,0) 100%);
}

.about__title { font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); color: var(--navy); margin-bottom: 22px; }
.about__text  { color: var(--text-2); font-size: 16.5px; line-height: 1.7; margin-bottom: 18px; max-width: 560px; }
.about__text:last-of-type { margin-bottom: 30px; }

.about__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 540px; }
.feat         { display: flex; gap: 12px; align-items: flex-start; }
.feat i       { font-size: 22px; color: var(--blue); margin-top: 1px; }
.feat strong  { display: block; font-family: var(--font-title); font-weight: 700; font-size: 14.5px; color: var(--navy); }
.feat span    { font-size: 13px; color: var(--muted); line-height: 1.5; }


/* ==========================================================================
   11. CARDS
   ========================================================================== */

/* Card branco (seção "Para quem") */
.card {
  padding: 32px 28px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(22,29,53,.05);
}
.card__icon        { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card__icon i      { font-size: 26px; }
.card__icon--blue  { background: rgba(0,105,177,.09); }
.card__icon--blue i{ color: var(--blue); }
.card__icon--green { background: rgba(57,169,53,.10); }
.card__icon--green i{ color: var(--green); }
.card__icon--lime  { background: rgba(149,193,31,.14); }
.card__icon--lime i{ color: #7a9e17; }
.card h3           { font-family: var(--font-title); font-weight: 700; font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.card p            { color: var(--muted); font-size: 14.5px; line-height: 1.62; }

/* Passo numerado (seção "Como agendar") */
.step         { padding: 28px; border-radius: 18px; background: var(--mist); }
.step__num    { font-family: var(--font-title); font-weight: 800; font-size: 40px; color: #c3ccda; line-height: 1; margin-bottom: 14px; }
.step h3      { font-family: var(--font-title); font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.step p       { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Card de unidade (sobre o fundo escuro) */
.unit {
  display: flex; flex-direction: column;
  padding: 28px; border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}
.unit__city    { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.unit__city i  { font-size: 20px; color: var(--cyan); }
.unit__city span { font-family: var(--font-title); font-weight: 700; font-size: 17px; color: #fff; }
.unit__clinic  { font-size: 13.5px; color: #aab8cf; font-weight: 600; margin-bottom: 4px; }
.unit__address { font-size: 13.5px; color: #8ea0bb; line-height: 1.55; margin-bottom: 22px; }
.unit .btn     { margin-top: auto; font-size: 14.5px; font-weight: 700; padding: 14px; border-radius: 11px; }


/* ==========================================================================
   12. LISTA "O QUE TRATA"
   ========================================================================== */
.topic {
  display: flex; align-items: center; gap: 13px;
  padding: 20px; border-radius: 13px;
  background: #fff; border: 1px solid var(--line);
}
.topic i    { font-size: 22px; color: var(--blue); }
.topic span { font-weight: 600; font-size: 14.5px; color: var(--navy); }


/* ==========================================================================
   13. CTA FINAL
   ========================================================================== */
.cta {
  position: relative; overflow: hidden;
  max-width: 1000px; margin: 0 auto;
  border-radius: 26px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 30px 60px rgba(0,105,177,.28);
}
.cta__blob  { position: absolute; top: -80px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta__inner { position: relative; }
.cta h2     { font-weight: 800; font-size: clamp(28px, 4vw, 50px); color: #fff; margin-bottom: 20px; }
.cta p      { color: #e6f3fb; font-size: 17px; line-height: 1.6; max-width: 520px; margin: 0 auto 32px; }


/* ==========================================================================
   13b. MAPAS — localização das clínicas (seção antes do rodapé)
   Cada mapa é um <iframe> do Google Maps com loading="lazy",
   então só carrega quando o visitante chega perto da seção.
   ========================================================================== */
.map-card {
  display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(22,29,53,.05);
}
.map-card__frame        { position: relative; aspect-ratio: 16 / 11; background: var(--mist); }
.map-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__body         { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.map-card__city         { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.map-card__city i       { font-size: 19px; color: var(--blue); }
.map-card__city span    { font-family: var(--font-title); font-weight: 700; font-size: 17px; color: var(--navy); }
.map-card__clinic       { font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.map-card__address      { font-size: 13.5px; color: var(--muted); line-height: 1.55; font-style: normal; margin-bottom: 18px; }
.map-card__actions      { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* Botão "Ver rota" — leva ao Google Maps em nova aba */
.map-card__route {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--blue); color: var(--blue);
  font-family: var(--font-title); font-weight: 700; font-size: 13.5px;
  transition: background .2s, color .2s;
}
.map-card__route:hover { background: var(--blue); color: #fff; }
.map-card__route i     { font-size: 16px; }



.footer          { background: var(--navy); padding: 46px var(--pad-x) 40px; }
.footer__row     { max-width: var(--max-width); margin: 0 auto; display: flex; flex-wrap: wrap;
                   gap: 24px; justify-content: space-between; align-items: center; }
.footer__brand   { display: flex; align-items: center; gap: 12px; }
.footer__logo    { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.footer__logo img{ height: 100%; width: auto; }
.footer__name    { font-family: var(--font-title); font-weight: 700; font-size: 14.5px; color: #fff; }
.footer__role    { font-size: 12px; color: #8ea0bb; }
.footer__info    { font-size: 12.5px; color: #8ea0bb; text-align: right; line-height: 1.7; }
.footer__info a  { color: #aab8cf; cursor: pointer; text-decoration: underline; }

/* Assinatura da agência */
.footer__credit {
  max-width: var(--max-width); margin: 32px auto 0;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.footer__credit span   { font-size: 12px; color: #8ea0bb; letter-spacing: .02em; }
.footer__credit a      { display: flex; align-items: center; opacity: .85; transition: opacity .2s; }
.footer__credit a:hover{ opacity: 1; }
.footer__credit img    { height: 26px; width: auto; }


/* ==========================================================================
   15. BOTÕES FLUTUANTES (canto inferior direito)
   ========================================================================== */
.floating {
  position: fixed; right: 20px; bottom: 22px; z-index: 70;
  display: flex; flex-direction: column; gap: 14px;
}
.floating__btn {
  width: 62px; height: 62px; border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.floating__btn--call {
  width: 60px; height: 60px;
  background: linear-gradient(150deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  transition: transform .15s;
}
.floating__btn--call:hover { transform: scale(1.06); }
.floating__btn--whatsapp {
  background: linear-gradient(150deg, var(--whatsapp), var(--whatsapp-dark));
  /* flutua e pulsa para chamar atenção */
  animation: float-y 3.4s ease-in-out infinite, ring 2.6s ease-out infinite;
}

/* Botão fixo "Agendar" — só no celular */
.sticky-cta { position: fixed; left: 16px; bottom: 24px; z-index: 65; }
.sticky-cta .btn { border-radius: 100px; padding: 15px 20px; font-size: 15px; font-weight: 700;
                   box-shadow: 0 10px 28px rgba(22,29,53,.35); }
.sticky-cta i { color: var(--cyan); font-size: 18px; }


/* ==========================================================================
   16. MODAL DE AGENDAMENTO
   Aberto por qualquer botão com data-open="agendar" (ver js/main.js).
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,20,38,.62);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }

.modal__box {
  width: 100%; max-width: 480px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 30px 70px rgba(15,20,38,.4);
  overflow: hidden;
  max-height: 92vh; overflow-y: auto;
}
.modal__head  { position: relative; padding: 26px 28px 20px; border-bottom: 1px solid var(--line); }
.modal__head h3 { font-family: var(--font-title); font-weight: 800; font-size: 23px; color: var(--navy); }
.modal__head p  { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.modal__kicker  { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.modal__kicker i{ font-size: 22px; color: var(--green); }
.modal__kicker .eyebrow { margin: 0; }

.modal__close {
  position: absolute; top: 22px; right: 22px;
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff;
  color: var(--muted); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal__body  { padding: 22px 28px 26px; }

/* Campos do formulário */
.field label {
  display: block;
  font-family: var(--font-title); font-size: 13px; font-weight: 700;
  color: var(--navy); margin-bottom: 7px;
}
.field input {
  width: 100%; padding: 13px 14px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--mist); color: var(--navy);
  font-family: inherit; font-size: 15px; outline: none;
}
.field input:focus { border-color: var(--cyan); background: #fff; }

/* Escolha da unidade */
.units { display: flex; flex-direction: column; gap: 9px; }
.unit-option {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px;
  cursor: pointer; transition: border-color .18s, background .18s;
}
.unit-option:hover        { border-color: var(--cyan); }
.unit-option.is-selected  { border-color: var(--blue); background: rgba(0,105,177,.06); }
.unit-option i            { font-size: 19px; color: var(--blue); }
.unit-option strong       { display: block; font-family: var(--font-title); font-weight: 700; font-size: 14.5px; color: var(--navy); }
.unit-option small        { font-size: 12px; color: var(--muted); }
.unit-option__text        { flex: 1; }

/* Bolinha de seleção (feita em CSS, sem imagem) */
.unit-option__dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #c9d2df; box-sizing: border-box; flex-shrink: 0;
  transition: border-color .18s, box-shadow .18s;
}
.unit-option.is-selected .unit-option__dot {
  border-color: #2f8f2c;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 20px var(--green);
}

/* Mensagem de erro do formulário */
.modal__error { font-size: 12.5px; color: #d64027; margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.modal__error[hidden] { display: none; }

.modal__note { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 12px;
               display: flex; align-items: center; justify-content: center; gap: 6px; }


/* ==========================================================================
   17. COOKIES + POLÍTICA DE PRIVACIDADE
   ========================================================================== */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 560px; margin: 0 auto;
  background: var(--navy); color: #dbe3ef;
  border-radius: 16px; box-shadow: 0 18px 44px rgba(0,0,0,.4);
  padding: 20px 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.cookie[hidden]  { display: none; }
.cookie > i      { font-size: 26px; color: var(--lime); }
.cookie p        { flex: 1; min-width: 220px; font-size: 13px; line-height: 1.55; }
.cookie p a      { color: var(--cyan); cursor: pointer; text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; }
.cookie__btn {
  font-family: var(--font-title); font-weight: 600; font-size: 13px;
  padding: 10px 16px; border-radius: 9px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.2); background: transparent; color: #dbe3ef;
}
.cookie__btn--accept {
  border: none; font-weight: 700;
  background: linear-gradient(150deg, var(--whatsapp), var(--whatsapp-dark)); color: #fff;
}

/* Modal da política (reaproveita .modal) */
.policy__box  { max-width: 640px; max-height: 82vh; overflow: auto; background: #fff; border-radius: 20px;
                box-shadow: 0 30px 70px rgba(15,20,38,.4); width: 100%; }
.policy__head { position: sticky; top: 0; background: #fff; padding: 26px 30px 18px;
                border-bottom: 1px solid var(--line); }
.policy__head h3 { font-family: var(--font-title); font-weight: 800; font-size: 22px; color: var(--navy); }
.policy__body { padding: 24px 30px 30px; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.policy__body h4 { font-family: var(--font-title); font-weight: 700; font-size: 15px; color: var(--navy); margin: 0 0 8px; }
.policy__body p  { margin: 0 0 18px; }
.policy__body p:last-child { margin-bottom: 0; }


/* ==========================================================================
   18. KEYFRAMES
   ========================================================================== */
@keyframes pulse-btn {
  0%   { box-shadow: 0 10px 24px rgba(57,169,53,.35), 0 0 0 0   rgba(57,169,53,.5); }
  70%  { box-shadow: 0 10px 24px rgba(57,169,53,.35), 0 0 0 18px rgba(57,169,53,0); }
  100% { box-shadow: 0 10px 24px rgba(57,169,53,.35), 0 0 0 0   rgba(57,169,53,0); }
}
@keyframes ring {
  0%   { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 0   rgba(57,169,53,.5); }
  70%  { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 15px rgba(57,169,53,0); }
  100% { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 0   rgba(57,169,53,0); }
}
@keyframes float-y   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glow-pulse{ 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: .85; transform: scale(1.04); } }
@keyframes marquee   { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin      { to { transform: rotate(360deg); } }

/* Respeita quem prefere menos animação (acessibilidade) */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   19. RESPONSIVO
   Um único ponto de quebra principal (860px) + ajuste fino em 520px.
   ========================================================================== */
@media (max-width: 860px) {

  /* Visibilidade por dispositivo */
  .only-desktop { display: none !important; }
  .only-mobile  { display: block !important; }

  /* Topo mais compacto */
  .announce      { font-size: 11px; padding: 8px 14px; }
  .nav__links    { gap: 16px; }
  .nav .btn--navy{ padding: 10px 14px; font-size: 12.5px; }

  /* HERO: foto ACIMA do texto, tudo centralizado */
  .hero__grid       { grid-template-columns: 1fr; min-height: auto; padding-top: 8px; }
  .hero__photo      { order: 1; height: auto; }
  .hero__photo img  { max-height: 340px; }
  .hero__card       { display: none; }  /* cartões flutuantes atrapalham no celular */
  .hero__copy       { order: 2; text-align: center; padding: 6px 0 44px; }
  .hero__title      { font-size: clamp(30px, 8vw, 42px); }
  .hero__text       { margin-left: auto; margin-right: auto; }
  .hero__actions,
  .hero__trust,
  .hero__badge      { justify-content: center; }
  .hero__actions .btn { flex: 1 1 auto; }

  /* Seções centralizadas */
  .sec-head     { text-align: center; margin-left: auto; margin-right: auto; }
  .about        { grid-template-columns: 1fr; text-align: center; }
  .about__text  { margin-left: auto; margin-right: auto; }
  .about__feats { justify-items: center; text-align: left; }

  /* Grids empilham */
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }

  /* Mapas: um por linha, um pouco mais baixos */
  .map-card__frame { aspect-ratio: 16 / 9; }

  /* Rodapé centralizado */
  .footer__row   { flex-direction: column; text-align: center; justify-content: center; }
  .footer__info  { text-align: center; }
}

@media (max-width: 520px) {
  .grid--4         { grid-template-columns: 1fr; }
  .hero__photo img { max-height: 300px; }
  .cookie          { padding: 16px 18px; }
  .cookie__actions { width: 100%; }
  .cookie__btn     { flex: 1; }
}
