/* ===========================================================
   Isabel Mascarenhas Advocacia — Stylesheet
   Brand palette: emerald green + gold + ivory
   =========================================================== */

:root {
  /* Brand */
  --green-900: #0c3327;
  --green-800: #0f3d2e;
  --green-700: #1a5640;
  --green-600: #2a6e54;
  --gold-500: #c9a85c;
  --gold-600: #b08e3f;
  --gold-300: #e2cf9b;

  --ivory: #faf7f0;
  --cream: #f3ecde;
  --paper: #ffffff;
  --ink: #1a1d1c;
  --ink-soft: #4a4f4d;
  --line: rgba(15, 61, 46, 0.12);
  --line-gold: rgba(201, 168, 92, 0.35);

  /* Typography */
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(15, 61, 46, 0.06);
  --shadow-md: 0 12px 36px rgba(15, 61, 46, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 61, 46, 0.18);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--gold-600); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--green-900);
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { color: var(--ink-soft); }

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

/* ---------- Eyebrows ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1.1rem;
}
.eyebrow--dark { color: var(--green-700); }
.eyebrow--gold { color: var(--gold-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--sm { padding: 12px 22px; font-size: 0.95rem; }
.btn--full { width: 100%; }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: #1a1410;
  box-shadow: 0 6px 18px rgba(176, 142, 63, 0.35);
}
.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(176, 142, 63, 0.45);
  color: #1a1410;
}

.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); color: var(--ivory); }

.section--cream .btn--ghost { color: var(--green-900); border-color: var(--line); }
.section--cream .btn--ghost:hover { background: rgba(15, 61, 46, 0.06); color: var(--green-900); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 247, 240, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 84px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-desktop a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green-900);
  position: relative;
}
.nav-desktop a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-500);
  transition: width .25s ease;
}
.nav-desktop a:not(.btn):hover { color: var(--green-700); }
.nav-desktop a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 14px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green-900);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a.btn { border: 0; margin-top: 12px; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  padding: 64px 0 100px;
  overflow: hidden;
  background: var(--ivory);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(201, 168, 92, 0.12), transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(15, 61, 46, 0.08), transparent 60%);
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.hero-lead {
  font-size: 1.12rem;
  margin-bottom: 2rem;
  max-width: 540px;
  color: var(--ink-soft);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero .hero-ctas .btn--ghost {
  color: var(--green-900);
  border-color: var(--line);
}
.hero .hero-ctas .btn--ghost:hover {
  background: rgba(15, 61, 46, 0.06);
  color: var(--green-900);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--green-800);
  letter-spacing: 0.02em;
}
.hero-meta strong { color: var(--gold-600); font-weight: 700; }
.hero-meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-500);
}

/* Hero photo */
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 420px;
  border-radius: 220px 220px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream);
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 210px 210px 16px 16px;
  border: 1px solid rgba(201, 168, 92, 0.5);
  pointer-events: none;
  z-index: 2;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.photo-badge {
  position: absolute;
  bottom: 18px;
  right: 8px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.photo-badge img { width: 100%; height: auto; }

/* ===========================================================
   SECTIONS
   =========================================================== */
.section {
  padding: 96px 0;
  position: relative;
}
.section--cream {
  background: var(--cream);
}
.section--dark {
  background: var(--green-900);
  color: var(--ivory);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
  color: var(--ivory);
}
.section--dark p { color: rgba(255,255,255,0.75); }

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; margin-bottom: 64px; }
.section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: start;
}
.two-col--reverse .col-aside { order: 2; }
.two-col--reverse .col-text { order: 1; }

/* ---------- Sobre / credentials ---------- */
.col-text h2 { margin-bottom: 1.3rem; }
.col-text p + p { margin-top: 1rem; }

.cred-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.cred h4 {
  color: var(--gold-600);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.cred p { font-size: 0.95rem; color: var(--ink); line-height: 1.55; }

/* ---------- Quote card ---------- */
.quote-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-serif);
  color: var(--green-900);
}
.quote-mark {
  width: 38px; height: 38px;
  color: var(--gold-500);
  margin-bottom: 12px;
}
.quote-card p {
  font-size: 1.4rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--green-900);
  font-family: var(--font-serif);
}
.quote-author {
  display: block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ---------- Cards (Áreas) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  background: rgba(201, 168, 92, 0.06);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(201, 168, 92, 0.14);
  border: 1px solid var(--line-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  margin-bottom: 22px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { color: var(--ivory); margin-bottom: 12px; font-weight: 500; }
.card > p { color: rgba(255,255,255,0.72); margin-bottom: 18px; font-size: 0.95rem; }
.card ul { margin-top: 6px; }
.card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  line-height: 1.5;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1px;
  background: var(--gold-500);
}

.card--featured {
  background: linear-gradient(180deg, rgba(201, 168, 92, 0.12), rgba(201, 168, 92, 0.04));
  border-color: var(--line-gold);
}
.featured-tag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: #1a1410;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(176, 142, 63, 0.4);
}

/* ---------- Diferenciais ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.diff {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.diff:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.diff-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 16px;
}
.diff h4 {
  margin-bottom: 8px;
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.diff p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Contato ---------- */
.contact-list {
  margin-top: 2rem;
  display: grid;
  gap: 18px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}
.contact-list a, .contact-list span:not(.contact-label) {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ivory);
}
.contact-list a:hover { color: var(--gold-300); }

.contact-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
}
.contact-form h3 {
  color: var(--green-900);
  margin-bottom: 8px;
}
.contact-form label {
  display: grid;
  gap: 6px;
}
.contact-form span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-800);
  letter-spacing: 0.04em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 12px 14px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%230f3d2e' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 92, 0.18);
  background: var(--paper);
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 4px;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(201, 168, 92, 0.18);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.footer-brand img { height: 64px; margin-bottom: 16px; filter: brightness(1.1); }
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.footer-nav a:hover { color: var(--gold-300); }
.footer-meta p { font-size: 0.85rem; line-height: 1.55; color: rgba(255,255,255,0.65); }
.footer-meta p + p { margin-top: 12px; }
.footer-disclaimer { font-style: italic; }

/* ===========================================================
   WHATSAPP FAB
   =========================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  z-index: 80;
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.55);
  color: #fff;
}
.whatsapp-fab svg { width: 28px; height: 28px; }

/* ===========================================================
   RESPONSIVE — TABLET (≤960px)
   =========================================================== */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 48px 0 80px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-photo { order: -1; }
  .photo-frame { max-width: 320px; }
  .photo-badge { width: 80px; height: 80px; }

  .two-col,
  .two-col--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .two-col--reverse .col-aside { order: 2; }
  .two-col--reverse .col-text { order: 1; }

  .section { padding: 72px 0; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ===========================================================
   RESPONSIVE — MOBILE (≤640px)
   =========================================================== */
@media (max-width: 640px) {
  body { font-size: 15.5px; }

  .container { padding: 0 20px; }
  .header-inner { padding: 12px 20px; gap: 12px; }
  .brand-logo { height: 64px; }

  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .hero-lead { font-size: 1rem; margin-bottom: 1.6rem; }
  .hero-ctas .btn { flex: 1; min-width: 140px; }
  .photo-frame { max-width: 280px; border-radius: 160px 160px 16px 16px; }
  .photo-frame::before { border-radius: 152px 152px 12px 12px; }
  .photo-badge {
    width: 70px;
    height: 70px;
    bottom: 12px;
    right: 4px;
    padding: 9px;
  }
  .hero-meta { font-size: 0.85rem; gap: 10px; }

  .section { padding: 56px 0; }
  .section-head, .section-head--center { margin-bottom: 36px; }

  .cred-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 1.5rem; margin-top: 2rem; }

  .quote-card { padding: 28px 24px; }
  .quote-card p { font-size: 1.2rem; }

  .cards { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 28px 22px; }
  .featured-tag { left: 22px; }

  .diff-grid { grid-template-columns: 1fr; gap: 18px; }
  .diff { padding: 28px 24px; }

  .contact-form { padding: 28px 22px; }
  .contact-list a, .contact-list span:not(.contact-label) { font-size: 1.2rem; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-nav { align-items: center; }
  .footer-brand img { margin-left: auto; margin-right: auto; }

  .whatsapp-fab {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* picture wrapper transparente (não interfere em flex/grid layouts) */
picture { display: contents; }

/* ===========================================================
   FORM CONSENT — LGPD
   =========================================================== */
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: rgba(201, 168, 92, 0.08);
  border: 1px solid rgba(201, 168, 92, 0.25);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.form-consent:hover { border-color: var(--gold-500); }
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-500);
  cursor: pointer;
}
.form-consent span {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.form-consent a {
  color: var(--gold-300);
  text-decoration: underline;
  font-weight: 600;
}
.form-consent a:hover { color: var(--gold-500); }

/* ===========================================================
   PÁGINAS DE ÁREA (/<slug>/)
   =========================================================== */
.area-hero {
  background: linear-gradient(180deg, var(--green-900), var(--green-800));
  color: var(--ivory);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.area-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(201, 168, 92, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 30% at 0% 100%, rgba(201, 168, 92, 0.10), transparent 60%);
  pointer-events: none;
}
.area-hero > .container { position: relative; z-index: 1; max-width: 880px; }
.area-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 18px 0 18px;
  color: #fff;
  letter-spacing: -0.01em;
}
.area-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  max-width: 720px;
  margin-bottom: 32px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color .2s ease;
}
.breadcrumb a:hover { color: var(--gold-500); }
.breadcrumb span { margin: 0 6px; }
.breadcrumb [aria-current] { color: var(--gold-300); }

.area-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.area-ctas--center { justify-content: center; }

.area-prose {
  max-width: 760px;
  margin: 0 auto;
}
.area-prose p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.2em;
  color: var(--ink);
}
.section--dark .area-prose p { color: rgba(255, 255, 255, 0.88); }
.area-prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 0.8em;
  color: var(--green-900);
  letter-spacing: -0.005em;
}
.section--dark .area-prose h2 { color: var(--gold-300); }

.area-block {
  max-width: 820px;
  margin: 0 auto;
}
.area-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.section--dark .area-block h2 { color: var(--gold-300); }
.section--cream .area-block h2 { color: var(--green-900); }

/* Listas das páginas de área */
.check-list,
.legal-list,
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li,
.legal-list li,
.step-list li {
  position: relative;
  padding: 14px 0 14px 36px;
  font-size: 1rem;
  line-height: 1.65;
  border-bottom: 1px solid rgba(201, 168, 92, 0.18);
}
.section--dark .check-list li,
.section--dark .legal-list li,
.section--dark .step-list li { color: rgba(255, 255, 255, 0.88); }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 22px;
  height: 22px;
  background: var(--gold-500);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1410' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.legal-list li::before {
  content: "§";
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-500);
  font-weight: 600;
  line-height: 1;
}
.step-list { counter-reset: step; }
.step-list li {
  counter-increment: step;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 26px;
  height: 26px;
  background: var(--gold-500);
  color: #1a1410;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 92, 0.25);
  border-radius: 12px;
  padding: 0;
  transition: border-color .2s ease, background .2s ease;
}
.faq-item[open] {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-500);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-500);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 22px 22px;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* Outras áreas */
.other-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.other-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  text-decoration: none;
  color: var(--green-900);
  font-weight: 600;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  gap: 12px;
}
.other-area:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  box-shadow: 0 8px 20px rgba(176, 142, 63, 0.15);
}
.other-area-arrow {
  color: var(--gold-500);
  font-size: 1.2rem;
  transition: transform .2s ease;
}
.other-area:hover .other-area-arrow { transform: translateX(4px); }

/* CTA final da página de área */
.area-cta { text-align: center; }
.area-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  color: var(--gold-300);
  margin-bottom: 14px;
  font-weight: 600;
}
.area-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* Card da home linkado vira clicável inteiro */
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
a.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
a.card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0.02em;
}
a.card .card-cta::after {
  content: "→";
  transition: transform .2s ease;
}
a.card:hover .card-cta::after { transform: translateX(3px); }

/* Mobile específicos */
@media (max-width: 640px) {
  .area-hero { padding: 40px 0 56px; }
  .area-hero h1 { font-size: clamp(1.8rem, 7vw, 2.3rem); }
  .area-lead { font-size: 1rem; }
  .area-block, .area-prose { padding: 0 4px; }
  .check-list li, .legal-list li, .step-list li {
    padding-left: 32px;
    font-size: 0.96rem;
  }
  .faq-item summary { padding: 16px 18px; font-size: 0.96rem; }
  .faq-item p { padding: 0 18px 20px; font-size: 0.94rem; }
  .other-areas-grid { grid-template-columns: 1fr; }
  .area-cta h2 { font-size: 1.55rem; }
}

/* ===========================================================
   ACCESSIBILITY
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===========================================================
   GUARDA DE LEGIBILIDADE — regra inviolável
   -----------------------------------------------------------
   Componentes de TEXTO CLARO (.card, .faq-item) foram desenhados
   para seções escuras (.section--dark). Se forem usados dentro de
   uma seção CLARA (.section--cream), o texto branco ficaria
   ilegível sobre o fundo claro.

   Estas regras forçam, nesse contexto, a variante ESCURA do texto
   e um fundo sólido — garantindo contraste suficiente em qualquer
   página, mesmo que o componente seja usado no contexto errado.

   NUNCA remover este bloco. Ao criar QUALQUER componente novo com
   texto claro, adicionar aqui o override correspondente para
   .section--cream. Nenhum ponto do site pode ficar ilegível.
   =========================================================== */

/* Cards de texto claro caídos em seção clara → viram cards claros */
.section--cream .card,
.section--cream a.card {
  background: var(--paper);
  border-color: var(--line);
}
.section--cream .card h3 { color: var(--green-900); }
.section--cream .card > p { color: var(--ink-soft); }
.section--cream .card ul li { color: var(--ink); }
.section--cream a.card .card-cta { color: var(--gold-600); }
.section--cream .card:hover {
  border-color: var(--gold-500);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

/* FAQ de texto claro caído em seção clara → vira FAQ clara */
.section--cream .faq-item {
  background: var(--paper);
  border-color: var(--line-gold);
}
.section--cream .faq-item[open] {
  background: var(--paper);
  border-color: var(--gold-500);
}
.section--cream .faq-item summary { color: var(--green-900); }
.section--cream .faq-item p { color: var(--ink-soft); }

/* Parágrafo-guia (.area-lead) tem cor clara fixa; em seção clara
   ficaria ilegível. Força texto escuro. */
.section--cream .area-lead { color: var(--ink); }

/* O formulário de contato é uma ilha de fundo claro dentro de uma
   seção escura. A regra ".section--dark p" pintaria seus parágrafos
   de branco — branco sobre branco. Esta regra reafirma o texto escuro. */
.contact-form p { color: var(--ink-soft); }
