/* =================================================================
   MÁRCIA ADVOCACIA — Landing Page
   Estilo: Trust & Authority | Mobile-first | Identidade vinho/rosé/dourado
   ================================================================= */

/* ---------- Tokens / variáveis ---------- */
:root {
  /* ===== TEMA CLARO (base / padrão) ===== */
  /* Cores oficiais da marca */
  --wine:        #76394d;   /* vinho principal — títulos */
  --wine-dark:   #5c2c3c;   /* vinho escuro (hover/contraste) */
  --rose:        #b08a97;   /* rosé suave */
  --rose-soft:   #f3eaed;   /* rosé clareado p/ fundos */
  --gold:        #b9a67f;   /* dourado/bege sofisticado */
  --gold-dark:   #9c8a64;

  /* Neutros / superfícies (claras) */
  --bg:          #fbf8f6;   /* fundo claro com toque quente */
  --surface:     #ffffff;   /* cards/superfícies */
  --muted:       #f6f1ee;   /* seção alternada */
  --border:      #ece3e0;   /* bordas sutis */

  /* Texto (escuro sobre fundo claro) */
  --text:        #2a2126;   /* texto principal — contraste AA+ */
  --text-soft:   #6c5f64;   /* secundário */
  --on-wine:     #ffffff;
  --on-gold:     #3a1c27;   /* texto sobre dourado (escuro, funciona nos 2 temas) */

  /* WhatsApp */
  --wpp:         #25d366;
  --wpp-dark:    #1ebe5a;

  /* Sistema */
  --radius:      16px;
  --radius-sm:   12px;
  /* Sombras em camadas (claro): tom vinho, profundidade premium */
  --shadow-sm:
    0 1px 2px rgba(118, 57, 77, 0.05),
    0 3px 10px rgba(118, 57, 77, 0.05);
  --shadow-md:
    0 2px 6px rgba(118, 57, 77, 0.06),
    0 12px 28px rgba(118, 57, 77, 0.10);
  --shadow-lg:
    0 4px 12px rgba(118, 57, 77, 0.08),
    0 24px 56px rgba(118, 57, 77, 0.16);
  --max:         1160px;
  --header-h:    84px;
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-serif:  'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* =================================================================
   TEMAS POR SEÇÃO — alterna fundos claros e escuros
   (cada <section> recebe .theme-light ou .theme-dark)
   ================================================================= */

/* SEÇÃO CLARA: usa os tokens claros do :root (padrão) */
.theme-light {
  background: var(--bg);
  color: var(--text);
}

/* SEÇÃO ESCURA: redefine tokens para vinho escuro */
.theme-dark {
  --wine:        #ffffff;   /* títulos brancos no escuro */
  --wine-dark:   #2a1019;
  --rose:        #d2a8b5;
  --rose-soft:   #4a2532;
  --gold:        #e2cb98;   /* dourado luminoso */
  --gold-dark:   #ddc591;
  --bg:          #2e141d;   /* fundo vinho escuro */
  --surface:     #3c1e29;
  --muted:       #341621;
  --border:      #573341;
  --text:        #ffffff;
  --text-soft:   #e4d6db;
  --shadow-sm:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 3px 10px rgba(0, 0, 0, 0.22);
  --shadow-md:
    0 2px 6px rgba(0, 0, 0, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.34);
  --shadow-lg:
    0 4px 12px rgba(0, 0, 0, 0.30),
    0 24px 56px rgba(0, 0, 0, 0.45);
  background: var(--bg);
  color: var(--text);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px); /* compensa header fixo */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.14;
  color: var(--wine);
  letter-spacing: -0.4px;     /* tracking editorial — refinado e elegante */
  text-wrap: balance;          /* quebras de linha equilibradas nos títulos */
}
p { text-wrap: pretty; }       /* evita "viúvas" (palavra sozinha na última linha) */

/* ---------- Acessibilidade: skip-link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--gold); color: var(--on-gold); padding: 10px 18px; border-radius: 8px;
  font-weight: 700; font-size: 0.9rem; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section-muted { background: var(--muted); }

/* Seção com leve destaque (vinho mais profundo) no tema escuro */
.section-dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(212, 189, 138, 0.10), transparent 60%),
    linear-gradient(160deg, #3a1c27 0%, #25101a 100%);
  color: var(--text);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .section-lead { color: var(--text-soft); }

.section-head { max-width: 700px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); margin-bottom: 16px; }
.section-lead { color: var(--text-soft); font-size: 1.1rem; line-height: 1.65; }

/* Separador ornamental dourado abaixo do título: linha — losango — linha */
.section-head h2 { position: relative; padding-bottom: 28px; }
.section-head h2::before {
  content: ''; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%) rotate(45deg);
  width: 8px; height: 8px; background: var(--gold); z-index: 1;
}
.section-head h2::after {
  content: ''; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%);
  width: 110px; height: 1.5px;
  background:
    linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 38%, transparent 44%,
                    transparent 56%, var(--gold) 62%, var(--gold) 70%, transparent);
}
.section-dark .section-head h2::before { background: var(--gold); }
.section-dark .section-head h2::after {
  background:
    linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 38%, transparent 44%,
                    transparent 56%, var(--gold) 62%, var(--gold) 70%, transparent);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

/* ---------- Botões ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
  text-align: center;
  line-height: 1.2;
}
.btn > * { position: relative; z-index: 1; }
/* Brilho (shimmer) que cruza o botão ao passar o mouse */
.btn::before {
  content: ''; position: absolute; top: 0; left: -120%; z-index: 0;
  width: 80%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn:hover::before { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-whatsapp { background: var(--wpp); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32); }
.btn-whatsapp:hover { background: var(--wpp-dark); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.42); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

.ico-wpp { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(251, 248, 246, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
/* Logo transparente (sem fundo) — proporção horizontal real */
.logo img {
  height: 62px;
  width: auto;
  display: block;
  /* header claro: logo nas cores originais (vinho/dourado) */
}

.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 700; font-size: 0.95rem; color: var(--text);
  position: relative; padding: 4px 0; transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold); transition: width 0.25s var(--ease);
}
.main-nav a:hover { color: var(--wine); }
.main-nav a:hover::after { width: 100%; }

.btn-header { padding: 10px 20px; font-size: 0.92rem; }

/* Toggle mobile */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--wine); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}
.mobile-nav.open { max-height: 360px; }
.mobile-nav ul { padding: 8px 22px 18px; }
.mobile-nav a { display: block; padding: 13px 0; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-nav li:last-child a { border-bottom: 0; }

/* =================================================================
   HERO — foto sangrando na lateral (integrada à seção)
   ================================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 56px); padding-bottom: 72px;
  background:
    radial-gradient(800px 480px at 12% 10%, rgba(176, 138, 151, 0.18), transparent 60%),
    linear-gradient(180deg, var(--rose-soft) 0%, var(--bg) 70%);
  overflow: hidden;
}
/* Ornamento decorativo de fundo (círculo dourado sutil) */
.hero-bg-ornament {
  position: absolute; top: -120px; left: -130px; width: 380px; height: 380px;
  border-radius: 50%; border: 1.5px solid rgba(185, 166, 127, 0.30);
  pointer-events: none;
}
.hero-bg-ornament::after {
  content: ''; position: absolute; inset: 38px; border-radius: 50%;
  border: 1px solid rgba(185, 166, 127, 0.20);
}

/* Eyebrow com linha decorativa dourada */
.eyebrow-line { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-line::before { content: ''; width: 34px; height: 2px; background: var(--gold); display: inline-block; }

/* Conteúdo: coluna à esquerda */
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-name {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 1.5rem; color: var(--wine); margin-bottom: 14px; line-height: 1.2;
  letter-spacing: -0.2px;
}
.hero-name span {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark);
  white-space: nowrap;
}
.hero-content h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); margin-bottom: 24px; line-height: 1.08; letter-spacing: -0.8px; }
.hero-content h1 em { font-style: italic; color: var(--gold-dark); }
.hero-sub { font-size: 1.2rem; line-height: 1.65; color: var(--text-soft); max-width: 540px; margin-bottom: 32px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero-cta-note {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.9rem; color: var(--text-soft); font-weight: 700; margin-bottom: 34px;
}
.hero-cta-note svg { width: 17px; height: 17px; color: var(--gold-dark); flex-shrink: 0; }

/* Estatísticas de credibilidade */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 18px 36px;
  padding-top: 28px; border-top: 1px solid var(--border); max-width: 520px;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-family: var(--font-serif); font-weight: 700; font-size: 2.4rem;
  color: var(--wine); line-height: 1;
}
.hero-stat-num--text { font-size: 1.7rem; font-style: italic; color: var(--gold-dark); }
.hero-stat-label { font-size: 0.86rem; color: var(--text-soft); margin-top: 4px; max-width: 110px; }

/* BASE: estrutura do hero (detalhes de layout ficam nas media queries) */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.hero .container { position: relative; z-index: 2; }

.hero-photo {
  position: relative; z-index: 1; overflow: hidden;
}
.hero-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
  transition: transform 1.2s var(--ease);
}
.hero-photo:hover img { transform: scale(1.03); }
.hero-photo::after {
  content: ''; position: absolute; pointer-events: none;
}

/* Badges flutuantes sobre a foto */
.hero-badge {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px;
  background: var(--surface); border-radius: 14px;
  padding: 13px 18px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.hero-badge svg { width: 30px; height: 30px; color: var(--gold-dark); flex-shrink: 0; }
.hero-badge strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--wine); line-height: 1.1; }
.hero-badge span { display: block; font-size: 0.82rem; color: var(--text-soft); }
.hero-badge-oab { top: 14px; left: 12px; animation: floaty 5s ease-in-out infinite; }
.hero-badge-trust { bottom: 18px; right: 12px; animation: floaty 5s ease-in-out infinite 1.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* =================================================================
   SOBRE
   ================================================================= */
.sobre-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.sobre-text h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 18px; }
.sobre-text p { color: var(--text-soft); margin-bottom: 16px; }
.sobre-text strong { color: var(--wine); font-weight: 700; }

/* Citação em destaque com aspas decorativas */
.sobre-quote {
  position: relative; margin: 26px 0; padding: 4px 0 4px 26px;
  border-left: 3px solid var(--gold);
  font-family: var(--font-serif); font-style: italic; font-size: 1.18rem;
  line-height: 1.55; color: var(--gold);
}

.authority-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.authority-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.authority-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.authority-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 10px;
  background: #4a2532; color: var(--gold);
}
.authority-ico svg { width: 22px; height: 22px; }
.authority-num { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 1.22rem; color: var(--wine); line-height: 1.2; }
.authority-label { display: block; font-size: 0.86rem; color: var(--text-soft); margin-top: 2px; }

/* Foto integrada — sem moldura, cantos suaves, traço dourado sutil de apoio */
.sobre-media { position: relative; }
.sobre-frame {
  position: relative; z-index: 1; border-radius: 18px; overflow: hidden;
}
.sobre-frame img {
  display: block; width: 100%; height: auto;
  transition: transform 1.2s var(--ease);
}
.sobre-frame:hover img { transform: scale(1.04); }
/* linha dourada decorativa atrás, dando profundidade sem "encaixotar" */
.sobre-deco {
  position: absolute; z-index: 0; bottom: -16px; right: -16px;
  width: 55%; height: 50%; border-radius: 18px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  opacity: 0.45;
}

/* =================================================================
   ÁREAS — cards 3
   ================================================================= */
.cards-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
/* Faixa dourada que aparece no topo ao passar o mouse */
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

/* Número grande de fundo */
.card-num {
  position: absolute; top: 16px; right: 22px;
  font-family: var(--font-serif); font-weight: 700; font-size: 3.2rem;
  color: var(--gold); opacity: 0.22; line-height: 1; pointer-events: none;
}
.card-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(145deg, #4a2532, #3a1c27);
  border: 1px solid var(--border); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover .card-icon { background: var(--gold); color: var(--on-gold); transform: scale(1.05) rotate(-3deg); }
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.42rem; margin-bottom: 12px; }
.card p { color: var(--text-soft); font-size: 0.98rem; margin-bottom: 22px; flex-grow: 1; }
.card-cta {
  font-weight: 700; color: var(--wine); font-size: 0.96rem; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 2px solid transparent; transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.card-cta:hover { color: var(--gold-dark); border-color: var(--gold); gap: 9px; }

/* =================================================================
   COMO FUNCIONA — passos
   ================================================================= */
.steps {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  counter-reset: step; list-style: none; position: relative;
}
.step {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute; top: -16px; left: 26px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: var(--on-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.step-ico {
  width: 54px; height: 54px; border-radius: 14px; margin: 8px 0 16px;
  background: linear-gradient(145deg, #4a2532, #3a1c27);
  border: 1px solid var(--border); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.step-ico svg { width: 28px; height: 28px; }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 0.96rem; }

.como-cta {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 44px; text-align: center;
}
.como-cta-note { font-size: 0.9rem; color: var(--text-soft); font-weight: 700; }

/* =================================================================
   DIFERENCIAIS — cards 4
   ================================================================= */
.cards-4 { display: grid; grid-template-columns: 1fr; gap: 22px; position: relative; z-index: 1; }
/* Cards claros e elegantes com número dourado destacado */
.feature {
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
/* Barra dourada lateral que aparece no hover */
.feature::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--rose));
  transform: scaleY(0); transform-origin: top; transition: transform 0.35s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature:hover::after { transform: scaleY(1); }
.feature-step {
  font-family: var(--font-serif); font-weight: 700; font-size: 2.9rem;
  color: var(--wine); line-height: 1; display: block; margin-bottom: 14px;
}
.feature-step::after {
  content: ''; display: block; width: 32px; height: 3px; border-radius: 2px;
  background: var(--gold); margin-top: 10px;
}
.feature h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--wine); }
.feature p { color: var(--text-soft); font-size: 0.98rem; }

/* eyebrow centralizado com linhas dos dois lados */
.eyebrow-center { justify-content: center; }
.eyebrow-center::after { content: ''; width: 34px; height: 2px; background: var(--gold); display: inline-block; }

/* =================================================================
   CTA BAND (chamada intermediária)
   ================================================================= */
.cta-band {
  position: relative; background-size: cover; background-position: center;
  background-attachment: fixed;
  padding: 110px 0; text-align: center; color: #fff;
}
/* vinheta nas bordas para dar profundidade e foco ao centro */
.cta-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(40,18,26,0.55) 100%);
}
.cta-band-inner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto; padding: 56px 48px;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 20px;
  background: rgba(40, 18, 26, 0.34);
  backdrop-filter: blur(8px) saturate(120%); -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.10);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
/* cantos dourados decorativos (estilo moldura premium) */
.cta-band-inner::before,
.cta-band-inner::after {
  content: ''; position: absolute; width: 26px; height: 26px; pointer-events: none;
}
.cta-band-inner::before {
  top: 14px; left: 14px;
  border-top: 2px solid var(--gold); border-left: 2px solid var(--gold);
  border-top-left-radius: 8px;
}
.cta-band-inner::after {
  bottom: 14px; right: 14px;
  border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold);
  border-bottom-right-radius: 8px;
}
.cta-band .eyebrow {
  color: var(--gold); display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.cta-band .eyebrow::before, .cta-band .eyebrow::after {
  content: ''; width: 24px; height: 1.5px; background: var(--gold); opacity: 0.8;
}
.cta-band h2 {
  color: #fff; font-size: clamp(2rem, 4.6vw, 2.9rem); margin-bottom: 18px;
  line-height: 1.14;
}
.cta-band h2 em { font-style: italic; color: var(--gold); }
.cta-band p {
  color: rgba(255, 255, 255, 0.92); font-size: 1.16rem; line-height: 1.6;
  margin: 0 auto 34px; max-width: 520px;
}

/* =================================================================
   FAQ — accordion
   ================================================================= */
.faq-container { max-width: 820px; }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.acc-item.open { border-color: var(--gold); box-shadow: var(--shadow-md); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  padding: 22px 24px; font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; color: var(--wine);
  transition: background-color 0.2s var(--ease);
}
.acc-trigger:hover { background: var(--rose-soft); }
.acc-item.open .acc-trigger { color: var(--gold-dark); }
.acc-trigger:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.acc-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute; background: var(--gold-dark); border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.acc-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc-icon::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.acc-item.open .acc-icon::after { transform: scaleY(0); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.acc-panel p { padding: 0 24px 22px; color: var(--text-soft); }

/* =================================================================
   CONTATO
   ================================================================= */
.contato-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.contato-text h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 16px; }
.contato-text p { color: var(--text-soft); margin-bottom: 26px; max-width: 480px; }

.contato-info {
  background: linear-gradient(160deg, var(--rose-soft), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-ico {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 12px;
  background: var(--gold); color: var(--on-gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.info-ico svg { width: 24px; height: 24px; }
.info-list strong { display: block; color: var(--wine); font-size: 1.05rem; margin-bottom: 2px; }
.info-list a:hover { color: var(--gold-dark); text-decoration: underline; }
.info-list span { color: var(--text-soft); }
.contato-map {
  margin-top: 24px; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.contato-map iframe { display: block; filter: grayscale(0.2) contrast(1.05); }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  background: linear-gradient(160deg, #25101a 0%, #1c0c14 100%);
  color: rgba(255, 255, 255, 0.82); padding-top: 56px;
  border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
/* Logo do rodapé: colorida (igual ao topo), dentro de selo claro p/ destacar no fundo vinho */
.footer-logo {
  height: auto; width: 150px; max-width: 64%;
  margin-bottom: 16px; display: block;
  background: #fff; padding: 12px 16px; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.footer-brand p { font-family: var(--font-serif); font-size: 1.2rem; color: #fff; line-height: 1.4; }
.footer-brand span { font-family: var(--font-sans); font-size: 0.9rem; color: var(--gold); }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a:hover, .footer-col li a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.16); padding: 22px 22px 30px; display: flex; flex-direction: column; gap: 10px; }
.footer-disclaimer { font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); font-style: italic; line-height: 1.6; }
.footer-copy { font-size: 0.84rem; color: rgba(255, 255, 255, 0.72); }

/* =================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ================================================================= */
.wpp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wpp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: wppPulse 2.6s ease-in-out infinite;
}
.wpp-float svg { width: 32px; height: 32px; fill: #fff; }
.wpp-float:hover { transform: scale(1.08); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55); }
@keyframes wppPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%      { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* =================================================================
   ANIMAÇÕES DE ENTRADA (reveal)
   ================================================================= */
/* Animações de entrada (gamificadas) — deslizam e dão um leve "pop" ao surgir */
.reveal { opacity: 0; transform: translateY(34px) scale(0.98); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
/* variantes direcionais */
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* =================================================================
   BREAKPOINTS
   ================================================================= */
@media (min-width: 600px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .section { padding: 90px 0; }
}

/* CELULAR e TABLET: foto no topo (largura total) + texto completo abaixo.
   Composição empilhada, limpa e premium — sem sobreposição de texto. */
@media (max-width: 919px) {
  /* LADO A LADO: texto à esquerda, foto sangrando na direita e FUNDINDO no fundo */
  .hero {
    flex-direction: row; align-items: center;
    padding-top: calc(var(--header-h) + 16px); padding-bottom: 24px;
    min-height: 100vh; min-height: 100dvh;   /* hero ocupa a tela toda ao abrir */
    overflow: hidden;                         /* nada vaza por baixo */
  }
  .hero .container { width: 100%; }
  .hero-content { width: 58%; }

  /* foto absoluta na lateral direita */
  .hero-photo {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 54%; height: auto; margin: 0; z-index: 1; overflow: visible;
  }
  .hero-photo img {
    width: 100%; height: 100%; object-position: center 16%;
    /* máscara: a foto desvanece nas bordas (esquerda/topo/base) — funde sem linha */
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 16%, #000 44%),
      linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 16%, #000 44%),
      linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-composite: intersect;
  }
  /* máscara já funde — sem overlay ::after */
  .hero-photo::after { display: none; }

  .hero-cta .btn-outline { display: none; }
  .hero-cta .btn-whatsapp { width: 100%; max-width: 360px; }

  .hero-badge-oab { top: 16px; right: 10px; left: auto; }
  .hero-badge-trust { display: none; }
  .hero-bg-ornament { display: none; }
}

/* Ajustes finos para celular estreito (texto cabe nos ~58% ao lado da foto) */
@media (max-width: 600px) {
  .hero-content { width: 60%; }
  .hero-photo { width: 50%; }
  .hero-name { font-size: 1.05rem; margin-bottom: 10px; }
  .hero-name span { display: block; margin-top: 2px; white-space: normal; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 1.8px; }
  .hero-content h1 { font-size: clamp(1.5rem, 6.6vw, 2.05rem); letter-spacing: -0.4px; margin-bottom: 16px; }
  .hero-sub { font-size: 0.92rem; line-height: 1.5; margin-bottom: 20px; }
  .hero-cta .btn-whatsapp { font-size: 0.9rem; padding: 13px 16px; }
  .hero-cta-note { font-size: 0.76rem; margin-bottom: 20px; }
  .hero-stats { gap: 12px 18px; padding-top: 18px; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-num--text { font-size: 1.15rem; }
  .hero-stat-label { font-size: 0.7rem; max-width: 85px; }
  .hero-badge { padding: 7px 10px; gap: 6px; }
  .hero-badge svg { width: 18px; height: 18px; }
  .hero-badge strong { font-size: 0.78rem; }
  .hero-badge span { font-size: 0.66rem; }
}

/* Telas muito estreitas: badge escondido, mais espaço pro texto */
@media (max-width: 400px) {
  .hero-badge { display: none; }
  .hero-content { width: 63%; }
  .hero-photo { width: 45%; }
}

@media (min-width: 920px) {
  /* HERO: foto sangra na metade direita da tela, integrada à seção */
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; min-height: 100vh; min-height: 100dvh; flex-direction: row; align-items: center; }
  .hero .container { order: 0; width: 100%; }
  .hero-content { width: 52%; }

  .hero-photo {
    order: 0; position: absolute; top: 0; right: 0; bottom: 0;
    width: 52%; max-height: none; margin: 0; z-index: 1; overflow: visible;
  }
  .hero-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
    /* máscara: a foto desvanece suavemente nas bordas (esquerda/topo/base) — funde com o fundo */
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 18%, #000 42%),
      linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 18%, #000 42%),
      linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }
  /* a máscara na imagem já funde a foto — desativa o overlay ::after no desktop */
  .hero-photo::after { display: none; }
  .hero-badge-oab { top: 130px; left: 36px; }
  .hero-badge-trust { bottom: 90px; right: 30px; }

  .sobre-grid { grid-template-columns: 1fr 1fr; }
  .contato-grid { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 600px) and (max-width: 919px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Esconde nav desktop / mostra toggle no mobile */
@media (max-width: 919px) {
  .main-nav, .btn-header { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
}

/* =================================================================
   GAMIFICAÇÃO — detalhes lúdicos sutis
   ================================================================= */

/* Glow dourado nos cards ao passar o mouse */
.card, .feature, .step, .acc-item { will-change: transform; }
.card:hover, .feature:hover, .step:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(226, 203, 152, 0.35);
}

/* Hover mais interativo: ícones "pulam" e brilham */
.step:hover .step-ico,
.feature:hover .feature-step {
  transform: translateY(-3px) scale(1.06);
  transition: transform 0.3s var(--ease);
}
.step-ico, .feature-step { transition: transform 0.3s var(--ease); }

/* Partículas douradas flutuando no hero (decorativas) */
.hero-sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-sparkles span {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0; animation: sparkle 6s ease-in-out infinite;
}
.hero-sparkles span:nth-child(1) { left: 8%;  top: 30%; animation-delay: 0s;   }
.hero-sparkles span:nth-child(2) { left: 18%; top: 65%; animation-delay: 1.2s; width: 4px; height: 4px; }
.hero-sparkles span:nth-child(3) { left: 40%; top: 20%; animation-delay: 2.4s; }
.hero-sparkles span:nth-child(4) { left: 30%; top: 80%; animation-delay: 3.6s; width: 5px; height: 5px; }
.hero-sparkles span:nth-child(5) { left: 12%; top: 50%; animation-delay: 4.8s; width: 4px; height: 4px; }
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.6); }
  20%      { opacity: 0.9; }
  50%      { opacity: 0.5; transform: translateY(-22px) scale(1); }
  80%      { opacity: 0; transform: translateY(-40px) scale(0.7); }
}

/* Botão WhatsApp com leve "respiração" dourada de destaque */
.hero-cta .btn-whatsapp::after {
  content: ''; position: absolute; inset: -3px; border-radius: 999px; z-index: -1;
  background: linear-gradient(120deg, var(--gold), transparent, var(--gold));
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.hero-cta .btn-whatsapp:hover::after { opacity: 0.35; }

/* Números das estatísticas com leve destaque no hover da área */
.hero-stat:hover .hero-stat-num { color: var(--gold); transition: color 0.3s var(--ease); }

/* =================================================================
   ACESSIBILIDADE — reduzir movimento
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  .wpp-float, .hero-sparkles span { animation: none; }
  .hero-sparkles { display: none; }
}
