/* ==========================================================================
   Dra. Rosemeire Figueiredo — estilos compartilhados
   Paleta preservada: vinho + dourado champagne + marfim
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Fundo VINHO + acento DOURADO CHAMPAGNE + texto MARFIM */
  --bg:      #4A1219;   /* vinho profundo (fundo base)   */
  --s1:      #59171F;   /* vinho um tom acima (painéis)  */
  --s2:      #380D13;   /* vinho mais escuro (contraste) */
  --gold:    #D8B36A;   /* dourado champagne (acento)    */
  --gold-l:  #ECD295;   /* dourado claro                 */
  --cream:   #F6EEE6;   /* marfim quente (texto)         */
  --muted:   #DCC9BC;   /* bege secundário — AA sobre vinho (~9:1) */
  --border:  rgba(216,179,106,0.28);
  --ink:     #380D13;   /* texto escuro sobre o dourado  */
  --wpp:     #0E7A3C;   /* verde escuro: AA com texto branco */
  --wpp-h:   #0A6531;
  --radius:  2px;
  --maxw:    1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;              /* 16px base */
  font-weight: 400;
  line-height: 1.6;
  background: var(--bg);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── ACESSIBILIDADE ── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 12px 20px; z-index: 10000;
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 3px solid var(--gold-l);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── GRAIN ── */
body::after {
  content: '';
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  transition: padding .35s, background .35s;
}
.nav.scrolled {
  padding: 12px 40px;
  background: rgba(74,18,25,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo svg { display: block; height: 44px; width: auto; }
.nav-logo:hover { opacity: .85; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  transition: background .25s;
}
.nav-cta:hover { background: var(--gold-l); }
.nav-cta svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.nav-cta .cta-long { display: inline; }
.nav-cta .cta-short { display: none; }

/* ── BOTÕES ── */
.btn-primary, .btn-wpp, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  text-decoration: none;
  font-size: .92rem; font-weight: 500;
  letter-spacing: .04em;
  transition: background .25s, transform .2s, border-color .25s, color .25s;
}
.btn-primary {
  padding: 15px 32px;
  background: var(--gold); color: var(--ink);
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-l); border-color: var(--gold-l); }
.btn-wpp {
  padding: 16px 36px;
  background: var(--wpp); color: #fff;
  border: 1px solid var(--wpp);
}
.btn-wpp:hover { background: var(--wpp-h); border-color: var(--wpp-h); }
.btn-ghost {
  padding: 15px 28px;
  border: 1px solid var(--border);
  color: var(--cream); background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-l); }
.btn-primary svg, .btn-wpp svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ── LAYOUT ── */
section { position: relative; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; }
.section--alt { background: var(--s1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-l);
  margin-bottom: 18px;
}
.eyebrow::before { content:''; display:block; width:26px; height:1px; background: var(--gold); flex-shrink: 0; }

h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; line-height: 1.18; }
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 300; color: var(--cream);
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--gold-l); }
.section-lead {
  font-size: 1.02rem; color: var(--muted);
  max-width: 62ch; line-height: 1.7;
}

/* ── HERO ── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; min-height: 100svh;
  position: relative; overflow: hidden;
}
.hero-content { padding: 150px 56px 80px 40px; position: relative; z-index: 2; max-width: 720px; margin-left: auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-l); margin-bottom: 26px;
}
.hero-eyebrow::before { content:''; display:block; width:32px; height:1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 300; color: var(--cream);
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-l); }
.hero-text {
  font-size: 1.06rem; line-height: 1.7;
  color: var(--muted); max-width: 52ch; margin-bottom: 22px;
}
.hero-note { font-size: .98rem; color: var(--muted); max-width: 52ch; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.trust-line {
  font-size: .9rem; color: var(--muted);
  border-left: 2px solid var(--gold); padding-left: 14px; line-height: 1.6;
}
.hero-img-wrap { position: relative; height: 100svh; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, rgba(74,18,25,.55) 32%, transparent 62%),
              linear-gradient(to top, var(--bg) 0%, transparent 28%);
}

/* ── CARDS / ÁREAS ── */
.grid { display: grid; gap: 1px; background: var(--border); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg); padding: 40px 34px; transition: background .3s; }
.section--alt .card { background: var(--s1); }
.card:hover { background: var(--s2); }
.card-icon { width: 40px; height: 40px; color: var(--gold-l); margin-bottom: 20px; }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.42rem; color: var(--cream); margin-bottom: 12px; }
.card p { font-size: .98rem; line-height: 1.7; color: var(--muted); margin-bottom: 16px; }
.card-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-size: .9rem; font-weight: 500; letter-spacing: .06em;
  color: var(--gold-l); text-decoration: none;
}
.link-arrow:hover { color: var(--cream); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }

/* ── PASSOS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.step { border-top: 2px solid var(--gold); padding-top: 22px; }
.step-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.4rem;
  color: var(--gold); line-height: 1; display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.3rem; color: var(--cream); margin-bottom: 10px; }
.step p { font-size: .98rem; color: var(--muted); line-height: 1.7; }

/* ── SOBRE ── */
.about-grid { display: grid; grid-template-columns: minmax(0,420px) 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 560px;          /* evita ocupar várias telas no celular */
  object-fit: cover;
  object-position: center 18%;
}
.about-corner { position: absolute; width: 42px; height: 42px; border-color: var(--gold); border-style: solid; opacity: .65; }
.about-corner.tl { top: -9px; left: -9px; border-width: 2px 0 0 2px; }
.about-corner.br { bottom: -9px; right: -9px; border-width: 0 2px 2px 0; }
.about-lead {
  font-family: 'Cormorant Garamond', serif; font-size: 1.32rem;
  font-style: italic; line-height: 1.6; color: var(--cream); margin-bottom: 22px;
}
.about-text { font-size: 1rem; line-height: 1.75; color: var(--muted); margin-bottom: 16px; }
.about-sig { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.about-sig-line { width: 36px; height: 1px; background: var(--gold); flex-shrink: 0; }
.about-sig-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--cream); }
.about-sig-oab { font-size: .88rem; color: var(--muted); }

/* ── FATOS (estáticos, sem contadores) ── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.fact { background: var(--s1); padding: 30px 22px; text-align: center; }
.fact strong {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 400; color: var(--gold-l); margin-bottom: 6px; line-height: 1.2;
}
.fact span { font-size: .9rem; color: var(--muted); }

/* ── FAQ ── */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 40px 22px 0; position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; color: var(--cream);
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--gold); line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--gold-l); }
.faq-answer { padding: 0 40px 24px 0; font-size: 1rem; line-height: 1.75; color: var(--muted); }
.faq-answer p + p { margin-top: 12px; }
.faq-answer ul { margin: 12px 0 0 20px; }
.faq-answer li { margin-bottom: 6px; }

/* ── AVISO / DISCLAIMER ── */
.notice {
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  background: rgba(216,179,106,0.06);
  padding: 20px 24px;
  font-size: .96rem; line-height: 1.7; color: var(--muted);
  margin-top: 44px;
}

/* ── CTA FINAL ── */
.cta { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content:''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(216,179,106,.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 300; color: var(--cream); margin-bottom: 18px; position: relative; }
.cta h2 em { font-style: italic; color: var(--gold-l); }
.cta p { font-size: 1.04rem; line-height: 1.7; color: var(--muted); max-width: 58ch; margin: 0 auto 34px; position: relative; }
.cta-note { margin-top: 20px; font-size: .92rem; color: var(--muted); position: relative; max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ── RODAPÉ ── */
.footer { background: var(--s2); border-top: 1px solid var(--border); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo svg { height: 50px; width: auto; display: block; margin-bottom: 18px; }
.footer-desc { font-size: .95rem; line-height: 1.7; color: var(--muted); max-width: 42ch; }
.footer h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-l); margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer li { font-size: .95rem; color: var(--muted); padding: 6px 0; line-height: 1.6; }
.footer a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.footer a:hover { color: var(--gold-l); text-decoration: underline; }
.footer-disclaimer {
  border-top: 1px solid var(--border); padding-top: 24px;
  font-size: .9rem; line-height: 1.7; color: var(--muted); max-width: 90ch;
}
.footer-bottom {
  border-top: 1px solid var(--border); margin-top: 24px; padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: .88rem; color: var(--muted);
}
.btn-linklike {
  background: none; border: none; color: var(--muted);
  font: inherit; cursor: pointer; text-decoration: underline;
  padding: 8px 0; min-height: 44px;
}
.btn-linklike:hover { color: var(--gold-l); }

/* ── WHATSAPP FLUTUANTE ── */
.float-wpp {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px;
  background: var(--wpp); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 800;
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
  transition: transform .2s, background .2s;
}
.float-wpp:hover { transform: scale(1.08); background: var(--wpp-h); }
.float-wpp svg { width: 28px; height: 28px; fill: #fff; }

/* ── CONTEÚDO LEGAL (política) ── */
.legal { padding: 150px 0 90px; }
.legal h1 { font-size: clamp(2rem,4vw,2.9rem); font-weight: 300; color: var(--cream); margin-bottom: 10px; }
.legal .updated { font-size: .92rem; color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.55rem; color: var(--gold-l); margin: 40px 0 14px; }
.legal p, .legal li { font-size: 1rem; line-height: 1.8; color: var(--muted); }
.legal p { margin-bottom: 14px; max-width: 78ch; }
.legal ul { margin: 0 0 16px 22px; max-width: 78ch; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold-l); }

/* ── BANNER DE COOKIES ── */
.cookie-banner {
  position: fixed; left: 0; right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--s2);
  border-top: 1px solid var(--gold);
  padding: 22px 24px calc(22px + env(safe-area-inset-bottom, 0px));
  display: none;
}
.cookie-banner[data-open="true"] { display: block; }
.cookie-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cookie-text { font-size: .96rem; line-height: 1.65; color: var(--cream); max-width: 62ch; }
.cookie-text a { color: var(--gold-l); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  min-height: 44px; padding: 11px 20px;
  font: inherit; font-size: .9rem; font-weight: 500;
  cursor: pointer; border: 1px solid var(--gold);
  background: transparent; color: var(--cream);
  transition: background .2s, color .2s;
}
.cookie-btn:hover { background: rgba(216,179,106,.14); }
.cookie-btn--primary { background: var(--gold); color: var(--ink); }
.cookie-btn--primary:hover { background: var(--gold-l); }
.cookie-prefs { display: none; max-width: var(--maxw); margin: 20px auto 0; border-top: 1px solid var(--border); padding-top: 18px; }
.cookie-prefs[data-open="true"] { display: block; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; }
.cookie-opt input { margin-top: 5px; width: 18px; height: 18px; flex-shrink: 0; }
.cookie-opt label { font-size: .95rem; color: var(--cream); }
.cookie-opt p { font-size: .9rem; color: var(--muted); margin-top: 3px; line-height: 1.6; }

/* ── REVEAL (degrada sem JS) ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
/* Se o JS não rodar, o conteúdo aparece assim mesmo */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
  /* No mobile a logo fica sobre a foto: garante contraste desde o topo */
  .nav { background: linear-gradient(to bottom, rgba(56,13,19,.92) 0%, rgba(56,13,19,.72) 60%, transparent 100%); }
  .nav.scrolled { background: rgba(74,18,25,.96); }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 120px 24px 56px; max-width: none; margin: 0; }
  .hero-img-wrap { height: 62vw; max-height: 460px; order: -1; }
  .hero-img-wrap img { object-position: center 20%; }
  .hero-img-overlay { background: linear-gradient(to bottom, rgba(74,18,25,.35) 0%, transparent 40%, var(--bg) 100%); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { max-width: 380px; }
  .grid--3, .steps { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .container { padding: 0 24px; }
  .nav, .nav.scrolled { padding: 14px 20px; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .nav, .nav.scrolled { padding: 12px 16px; }
  .nav-logo svg { height: 34px; }          /* ~140px de largura */
  .nav-cta { padding: 10px 16px; font-size: .78rem; }
  .nav-cta .cta-long { display: none; }
  .nav-cta .cta-short { display: inline; }
  .hero-content { padding: 104px 16px 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; }
  .container { padding: 0 16px; }
  .grid--2, .grid--3, .steps, .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 60px 0; }
  .cta { padding: 76px 0; }
  .about-img-wrap { max-width: 100%; }
  .about-img-wrap img { max-height: 480px; }
  .float-wpp { width: 54px; height: 54px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions .cookie-btn { flex: 1 1 auto; }
  .btn-wpp, .btn-primary { width: 100%; }
}
