/* =====================================================================
   CONCEITO.CSS — Odontologia Integrada RS · Dra. Carla Lucas Pederiva
   Cidade Baixa · Porto Alegre · Desde 2002

   Paleta: verde-floresta profundo extraído do cenário real do Wix
   (#0D2B1A) + branco-menta (#F0F6F2) + verde-acento (#3A9E70).
   Posicionamento: "O especialista certo, na primeira consulta."
   — clínica multidisciplinar humanizada, desde 2002.

   Fontes: Libre Baskerville (display, serif clássico-acadêmico) +
   Inter (corpo, legível e neutro) — par próprio desta clínica.

   Grande Ideia: "O especialista certo, na primeira consulta."
   ===================================================================== */

/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --cor-fundo-1:    #0D2B1A;
  --cor-fundo-2:    #1A4A2E;
  --cor-fundo-3:    #F0F6F2;
  --cor-destaque:   #3A9E70;
  --cor-texto:      #EEF6F0;
  --cor-texto-soft: rgba(238,246,240,.70);

  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --verde:        #3A9E70;
  --verde-deep:   #1E6B4A;
  --verde-soft:   rgba(58,158,112,.15);
  --verde-line:   rgba(58,158,112,.32);
  --floresta:     #0D2B1A;
  --floresta-soft:rgba(13,43,26,.70);
  --menta:        #F0F6F2;
  --branco:       #FAFFFE;
  --charcoal:     #0F2418;
  --charcoal-soft:rgba(15,36,24,.70);
  --charcoal-faint:rgba(15,36,24,.40);

  --hover-dur: .2s;
  --press-scale: .97;
}

html { background: var(--menta); }
body { -webkit-font-smoothing: antialiased; font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }

.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
.display em { font-style: italic; font-weight: 700; color: var(--verde); }
.serif   { font-family: var(--font-display); font-weight: 700; }
.eyebrow {
  display: inline-block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--verde-deep);
}

.grain { opacity: .03; }

/* ── CENARIO SCRIM ───────────────────────────────────────────────────── */
.cenario-scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(13,43,26,.42) 0%,
    rgba(26,74,46,.36) 50%,
    rgba(240,246,242,.46) 100%);
}

/* ── NAV ────────────────────────────────────────────────────────────── */
.nav {
  background: linear-gradient(180deg, rgba(13,43,26,.86) 0%, rgba(13,43,26,.52) 100%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(13,43,26,.96); border-color: var(--verde-line); box-shadow: 0 8px 24px -18px rgba(8,22,13,.5); }
.nav-logo-link { display: flex; align-items: center; }
.nav-logo-text { color: #EEF6F0; font-size: clamp(1rem,2.4vw,1.18rem); letter-spacing: .01em; font-family: var(--font-display); font-weight: 700; }
.nav-cta {
  margin-left: auto; min-height: 42px; padding: 10px 20px; border-radius: 100px;
  font-size: .82rem; font-weight: 700; background: var(--verde-deep); color: #FFFFFF;
  transition: transform var(--hover-dur), box-shadow var(--hover-dur);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(30,107,74,.55); }
.nav-cta:active { transform: scale(var(--press-scale)); }

/* ── BOTÕES ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 14px 24px; border-radius: 100px;
  font-weight: 700; font-size: .92rem;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
  touch-action: manipulation;
}
.btn .arrow { font-size: .95em; }
.btn:active { transform: scale(var(--press-scale)) !important; }
.btn-cta {
  background: var(--verde-deep); color: #FFFFFF; border: 1px solid var(--verde-deep);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(30,107,74,.55); }
.btn-outline-link {
  color: #FFFFFF; border: 1.5px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
}
.btn-outline-link:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.8); transform: translateY(-1px); }

/* ── WHATSAPP FLUTUANTE ──────────────────────────────────────────────── */
.wa-float {
  position: fixed; z-index: 45; right: clamp(14px,3vw,22px); bottom: clamp(14px,3vw,22px);
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -6px rgba(37,211,102,.55), 0 2px 8px rgba(0,0,0,.18);
  transition: transform .25s ease; animation: waPulse 3.2s ease-in-out infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); }
.wa-float:active { transform: scale(.94); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 10px 28px -6px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,.35); }
  50%     { box-shadow: 0 10px 28px -6px rgba(37,211,102,.55), 0 0 0 10px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* ══ SEÇÃO 1 · HERO — full-bleed sem retrato (clínica multi-profissional) ══ */
.panel-hero {
  position: relative; z-index: 2;
  height: 100vh; height: 100dvh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-camera-stage { position: absolute; inset: -4%; overflow: hidden; }

@keyframes hero-kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.17); }
}
.hero-kenburns {
  animation: hero-kenburns 9s ease-in-out infinite alternate;
  background-position: 50% 40%;
}
@media (prefers-reduced-motion: reduce) { .hero-kenburns { animation: none; transform: scale(1.05); } }
html.no-webgl .hero-kenburns { animation: none; }

.camera-layer { position: absolute; inset: 0; background-size: cover; background-position: 50% 40%; filter: saturate(1.1); }

.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(13,43,26,.52) 0%,
    rgba(13,43,26,.22) 30%,
    rgba(13,43,26,.28) 55%,
    rgba(13,43,26,.72) 82%,
    rgba(13,43,26,.94) 100%);
}
@media (max-width: 560px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(13,43,26,.55) 0%,
      rgba(13,43,26,.18) 34%,
      rgba(13,43,26,.24) 56%,
      rgba(13,43,26,.78) 84%,
      rgba(13,43,26,.96) 100%);
  }
  .hero-title { text-shadow: 0 2px 18px rgba(5,18,10,.85), 0 0 3px rgba(5,18,10,.65); }
  .hero-sub { text-shadow: 0 1px 12px rgba(5,18,10,.88); }
}

.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 820px; margin: 0 auto;
  padding: 0 clamp(20px,6vw,64px) clamp(40px,7vh,72px);
  padding-top: var(--nav-h);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0;
}
.hero-copy { max-width: 680px; }
.hero-copy .eyebrow {
  margin-bottom: 14px; color: #A8D5BA;
  text-shadow: 0 1px 10px rgba(5,18,10,.92);
}
.hero-title {
  font-size: clamp(2rem,7.2vw,3.4rem); line-height: 1.12; color: #FFFFFF;
  text-shadow: 0 2px 28px rgba(0,0,0,.5); margin: 0 0 18px;
}
.hero-title em { color: #7ED4AC; }
.hero-sub { font-size: clamp(.94rem,2.4vw,1.04rem); line-height: 1.64; color: rgba(255,255,255,.92); max-width: 54ch; margin: 0 auto 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-scrolldown { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.38); border-radius: 14px; }
.hero-scrolldown span { position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #7ED4AC; animation: scrolldown 1.8s ease-in-out infinite; }
@keyframes scrolldown { 0%{opacity:1;transform:translateY(0)} 70%{opacity:0;transform:translateY(11px)} 100%{opacity:0} }

/* ══ SEÇÃO 2 · TESE ══════════════════════════════════════════════════ */
.tese {
  position: relative; z-index: 5;
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: var(--section-pad) clamp(20px,6vw,64px);
  background: rgba(240,246,242,.38);
}
.tese-inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; }
.tese-inner > .eyebrow { display: block; margin-bottom: 18px; }
.tese-inner > h2 {
  font-size: clamp(1.5rem,3.6vw,2.3rem); line-height: 1.3; color: var(--charcoal);
  margin: 0 0 20px;
  text-shadow: 0 0 28px rgba(240,246,242,.9), 0 0 50px rgba(240,246,242,.7);
}
.tese-p {
  max-width: 62ch; margin: 0 auto clamp(32px,5vh,52px); font-size: .98rem; line-height: 1.68;
  color: var(--charcoal-soft);
  background: rgba(250,255,254,.52); border-radius: 16px; padding: 4px 8px;
}
.tese-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.tese-item {
  background: rgba(250,255,254,.76); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--verde-line); border-radius: 20px; padding: 26px 24px; text-align: left;
}
.tese-item .tese-tag {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  color: var(--verde-deep); margin-bottom: 8px;
}
.tese-item p { font-size: .9rem; line-height: 1.55; color: var(--charcoal-soft); }
@media (min-width: 720px) { .tese-grid { grid-template-columns: repeat(3, 1fr); } }

/* ══ SEÇÃO 3 · TRATAMENTOS (ANEL 3D) ════════════════════════════════ */
.tratamentos { position: relative; z-index: 5; padding: var(--section-pad) clamp(20px,6vw,64px); background: var(--menta); }
.tratamentos-head { max-width: 780px; margin: 0 auto clamp(36px,5vh,56px); text-align: center; }
.tratamentos-head .eyebrow { display: block; margin-bottom: 14px; }
.tratamentos-head h2 { font-size: clamp(1.5rem,3.6vw,2.15rem); line-height: 1.25; color: var(--charcoal); }

.trat-grid {
  display: grid; gap: 20px; max-width: 1280px; margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.trat-cell { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3/4; background: var(--branco); }
.trat-cell-destaque { grid-column: span 2; aspect-ratio: 16/10; }
.trat-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.trat-img::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(13,43,26,0) 38%, rgba(13,43,26,.88) 100%); }
.trat-body { position: absolute; left:0; right:0; bottom:0; z-index:2; padding: clamp(18px,3vw,28px); color:#FFFFFF; }
.trat-label { display:block; font-size:.66rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:#7ED4AC; margin-bottom:8px; }
.trat-body h3 { font-family: var(--font-display); font-weight:700; font-size: clamp(1.1rem,2.2vw,1.5rem); margin-bottom:6px; }
.trat-body p { font-size: .86rem; line-height:1.5; color: rgba(255,255,255,.88); max-width: 38ch; }
@media (max-width: 680px) { .trat-cell-destaque { grid-column: span 1; aspect-ratio: 4/3; } }

/* ══ SEÇÃO 4 · QUEM CUIDA ════════════════════════════════════════════ */
.clinica-bio {
  position: relative; z-index: 5; overflow: hidden;
  padding: var(--section-pad) clamp(20px,6vw,64px);
  background: rgba(26,74,46,.20);
}
.clinica-bio-inner { max-width: 1180px; margin: 0 auto; position: relative; }
.clinica-bio-inner > .eyebrow { display:block; margin-bottom: 12px; text-align:center; }
.clinica-bio-inner > h2 { text-align:center; font-size: clamp(1.6rem,3.6vw,2.3rem); color: var(--charcoal); margin-bottom: clamp(32px,5vh,52px);
  text-shadow: 0 0 30px rgba(240,246,242,.9); }
.clinica-bio-grid { display: grid; gap: clamp(28px,4vw,56px); grid-template-columns: 1fr; align-items: start; }
.clinica-bio-ambiente {
  border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(13,43,26,.42);
  max-width: 520px; margin: 0 auto;
}
.clinica-bio-ambiente img { width: 100%; height: auto; display: block; }
.clinica-bio-body {
  background: rgba(250,255,254,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--verde-line); border-radius: 22px; padding: clamp(24px,3.4vw,36px);
}
.clinica-bio-bio { font-size: .96rem; line-height: 1.68; color: var(--charcoal-soft); margin-bottom: 22px; }
.clinica-bio-credenciais { list-style: none; display: grid; gap: 10px; }
.clinica-bio-credenciais li {
  font-size: .84rem; font-weight: 600; color: var(--charcoal); padding-left: 22px; position: relative;
}
.clinica-bio-credenciais li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--verde);
}
@media (min-width: 780px) { .clinica-bio-grid { grid-template-columns: 460px 1fr; } }

/* ══ SEÇÃO 5 · PROVA SOCIAL ══════════════════════════════════════════ */
.prova-social { position: relative; z-index: 5; padding: var(--section-pad) clamp(20px,6vw,64px); background: var(--menta); }
.prova-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.prova-inner > .eyebrow { display:block; margin-bottom: 14px; }
.prova-title { font-size: clamp(1.5rem,3.6vw,2.15rem); color: var(--charcoal); margin-bottom: 28px; }

.prova-rating {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 auto clamp(36px,5vh,52px);
  background: var(--verde-soft); border: 1px solid var(--verde-line); border-radius: 100px; padding: 14px 26px;
}
.prova-rating-g { width: 26px; height: 26px; flex: 0 0 auto; }
.prova-rating-num { font-size: 1.5rem; color: var(--charcoal); font-family: var(--font-display); font-weight: 700; }
.prova-rating-meta { display: flex; flex-direction: column; align-items: flex-start; font-size: .78rem; color: var(--charcoal-soft); }
.prova-stars { color: var(--verde-deep); letter-spacing: 1px; }
.prova-grid { display: grid; gap: 20px; grid-template-columns: 1fr; text-align: left; }
.prova-card {
  background: var(--branco); border: 1px solid rgba(15,36,24,.08); border-radius: 20px; padding: 26px 24px;
}
.prova-card p { font-size: .92rem; line-height: 1.58; color: var(--charcoal-soft); margin-bottom: 14px; }
.prova-card footer { font-size: .82rem; font-weight: 700; color: var(--charcoal); }
.prova-card footer span { font-weight: 500; color: var(--charcoal-faint); }
@media (min-width: 780px) { .prova-grid { grid-template-columns: repeat(3, 1fr); } }

/* ══ SEÇÃO 6 · CTA FINAL ════════════════════════════════════════════ */
.cta-final { position: relative; z-index: 5; padding: var(--section-pad) clamp(20px,6vw,64px); background: linear-gradient(180deg, var(--menta) 0%, var(--verde-soft) 100%); text-align: center; }
.cta-final-inner { max-width: 640px; margin: 0 auto; }
.cta-final-eyebrow { display:block; margin-bottom: 14px; }
.cta-final-title { font-size: clamp(1.6rem,4vw,2.4rem); line-height: 1.28; color: var(--charcoal); margin-bottom: 16px; font-family: var(--font-display); }
.cta-final-sub { font-size: .96rem; line-height: 1.6; color: var(--charcoal-soft); margin-bottom: 30px; }

/* ── RODAPÉ ─────────────────────────────────────────────────────────── */
.site-footer { position: relative; z-index: 5; background: var(--charcoal); padding: 32px clamp(20px,6vw,64px); }
.site-footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.site-footer-logo { color: #FFFFFF; font-size: 1rem; font-family: var(--font-display); }
.site-footer-addr { color: rgba(255,255,255,.62); font-size: .78rem; }
.site-footer-disclaimer { color: rgba(255,255,255,.44); font-size: .74rem; }
