/* ============================================================
   LP — Consulta Estratégica · Lei Maria da Penha
   Direção: "dossiê confidencial" — papel frio, tinta profunda,
   vinho como cor de alerta/decisão, latão como acabamento.
   ============================================================ */

:root{
  --paper: #EEEFEA;      /* fundo — papel frio, não creme */
  --paper-alt: #FFFFFF;  /* cartões / blocos claros */
  --ink: #16212C;        /* texto principal / seções escuras */
  --ink-soft: #445064;   /* texto secundário */
  --ink-mute: #6C7686;   /* legendas, metadados */
  --wine: #7A2436;       /* decisão, urgência, CTA */
  --wine-dark: #591824;  /* hover do CTA */
  --brass: #A9824C;      /* acabamento, linhas, selos */
  --line: #D9D5C8;       /* hairline sobre papel */
  --line-dark: #2B3746;  /* hairline sobre tinta */

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --wrap: 1120px;
  --radius: 2px;
}

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

html{
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; }

.wrap{
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1{ font-size: clamp(2rem, 4.4vw + 1rem, 3.4rem); font-weight: 600; }
h2{ font-size: clamp(1.5rem, 2.6vw + 0.9rem, 2.35rem); }
h3{ font-size: clamp(1.1rem, 1vw + 0.9rem, 1.3rem); }

p{ margin: 0 0 1em; color: var(--ink-soft); }

.lead{
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  color: var(--ink);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 0.9em;
}
.eyebrow::before{
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.section--dark .eyebrow,
.cta-final .eyebrow{ color: var(--brass); }
.section--dark .eyebrow::before,
.cta-final .eyebrow::before{ background: var(--brass); }

/* ---------- botões ---------- */
.btn{
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:focus-visible{
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
.btn--primary{
  background: var(--wine);
  color: #F6EDE9;
}
.btn--primary:hover{
  background: var(--wine-dark);
  transform: translateY(-1px);
}
.btn--ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  padding: 11px 22px;
  font-size: 0.9rem;
}
.btn--ghost:hover{
  background: var(--ink);
  color: var(--paper);
}
.cta-final .btn--primary{
  background: var(--brass);
  color: var(--ink);
}
.cta-final .btn--primary:hover{
  background: #C79A5C;
}

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(238, 239, 234, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand span{
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.brand img{
  width: 275;
  height: 52;
}
.header-cta{ white-space: nowrap; }

/* ---------- hero ---------- */
.hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
  text-align: center; /* Garante o alinhamento base */
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Container da foto com o truque do degradê (fade out) */
.hero-media-centered {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 16px auto;
  /* Máscara linear que faz a imagem sumir na parte de baixo */
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
}

.hero-media-centered img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Container do texto */
.hero-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-content-centered h1 {
  max-width: 640px;
  margin-bottom: 24px;
}

/* Controlando a largura dos parágrafos para não ficarem "linguiças" na tela do PC */
.hero-content-centered p {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content-centered .btn {
  margin-top: 24px;
}

/* ---------- intro / big statement ---------- */
.intro{
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.big-statement{
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.6vw + 1rem, 1.9rem);
  color: var(--ink);
  max-width: 820px;
  line-height: 1.35;
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--wine);
}

/* ---------- section rhythm ---------- */
.section{
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.section > .wrap > h2{ max-width: 720px; }
.section--dark{
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.section--dark h2,
.section--dark h3{ color: var(--paper); }
.section--dark p{ color: #B9C2CE; }

/* ---------- checklist ---------- */
.checklist{
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 32px;
}
@media (min-width: 640px){
  .checklist{ grid-template-columns: 1fr 1fr; }
}
.checklist li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.checklist svg{ flex: none; margin-top: 3px; }

/* ---------- para quem (cards) ---------- */
.audience-grid{
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
@media (min-width: 720px){
  .audience-grid{ grid-template-columns: repeat(2, 1fr); }
}
.audience-card{
  background: var(--ink);
  padding: 26px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.audience-card svg{ flex: none; margin-top: 4px; }
.audience-card p{
  margin: 0;
  color: #DCE2E8;
  font-size: 0.98rem;
}

/* ---------- por que individual ---------- */
.reasons{
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
  max-width: 560px;
}
.reasons li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink);
}
.reasons li::before{
  content: "—";
  position: absolute;
  left: 0;
  color: var(--wine);
}
.callout{
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  border-left: 3px solid var(--brass);
  padding-left: 18px;
  margin-top: 24px;
}

/* ---------- como funciona ---------- */
.steps{
  margin: 32px 0 40px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 720px){
  .steps{ grid-template-columns: repeat(4, 1fr); }
}
.step{
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}
.step-num{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--wine);
  margin-bottom: 10px;
}
.step p{ margin: 0; font-size: 0.96rem; color: var(--ink); }

/* ---------- atendimento (dark, centrado) ---------- */
.atendimento .wrap{ max-width: 760px; text-align: left; }

/* ---------- sobre a advogada ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 720px){
  .about-grid{ grid-template-columns: 220px 1fr; }
}
.about-photo{
  width: 100%;
  max-width: 220px;
  #aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper-alt);
}
.about-name{
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 2px;
}
.about-role{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  display: block;
  margin-bottom: 4px;
}
.about-specialty{
  color: var(--ink-mute);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* ---------- alerta ---------- */
.callout-section{
  background: var(--paper-alt);
}
.callout-section .wrap{ max-width: 720px; }
.callout-section h2{
  border-left: 3px solid var(--wine);
  padding-left: 18px;
}

/* ---------- cta final ---------- */
.cta-final{
  background: var(--ink);
  border-bottom: none;
  text-align: left;
}
.cta-final .wrap{ max-width: 640px; }
.cta-final h2{ color: var(--paper); }
.cta-final p{ color: #B9C2CE; }
.cta-final .btn{ margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer{
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: 28px 0 100px;
}
.site-footer .wrap{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-footer p{
  margin: 0;
  color: #8592A3;
  font-size: 0.82rem;
}

/* ---------- whatsapp flutuante ---------- */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1F7A54;
  color: #fff;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 12px 24px -10px rgba(22, 33, 44, 0.5);
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.whatsapp-float:hover{ background: #17643F; transform: translateY(-2px); }
.whatsapp-float svg{ flex: none; }
.whatsapp-float .wa-text{ display: none; }
@media (min-width: 560px){
  .whatsapp-float .wa-text{ display: inline; }
}

/* ---------- reveal on scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; }
}

/* ---------- desktop refinements ---------- */
@media (min-width: 900px){
#  .hero-grid{
#    grid-template-columns: 1.1fr 0.9fr;
#    gap: 64px;
#  }
#  .hero-content{ padding-right: 12px; }
#  .hero-media{ justify-self: end; max-width: 460px; }
#  .section{ padding: 84px 0; }
#  .intro{ padding: 72px 0; }
}

/* ============================================================
   CONTROLE DE EXIBIÇÃO DO HERO (MOBILE VS DESKTOP)
   ============================================================ */
.hero-desktop { display: none; }
.hero-mobile { display: block; }

@media (min-width: 900px) {
  .hero-desktop { display: block; }
  .hero-mobile { display: none; }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
  }
  .hero-content { 
    padding-right: 12px; 
  }
  .hero-media { 
    justify-self: end; 
    max-width: 460px; 
  }
  .hero-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}