/* DEC Despachantes — folha de estilo do site
   Tema único claro (identidade da marca: dourado sobre papel marfim). */

:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --ivory: #FBF9F4;
  --ivory-deep: #F4EFE3;
  --ink: #2B2620;
  --ink-soft: #5E554A;
  --gold: #E7BE42;
  --gold-soft: #F3DE9C;
  --gold-text: #7A5C0F;
  --line: #E9E1CE;
  --night: #141210;
  --black: #0E0D0B;
  --on-dark: #F4EFE3;
  --night-soft: #BDB2A0;
  --focus: #7A5C0F;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 3.9rem);

  --radius: 4px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.page { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.selectable { user-select: all; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }
h1 em, h2 em { font-style: italic; color: var(--gold-text); }
p { margin: 0; }
.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 58ch; line-height: 1.55; }
.prose { display: grid; gap: 1em; max-width: 65ch; }
.label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0;
}
.muted { color: var(--ink-soft); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.5em;
  font: 500 0.95rem/1.2 var(--sans); letter-spacing: 0.04em;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #D9AE2F; color: var(--night); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 128px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 0.95rem; padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--gold); }
.nav-cta { min-height: 42px; padding: 0.55em 1.2em; }
.nav-toggle { display: none; }

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
    background: none; border: 0; font: 500 0.9rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"]:not(.btn) { color: var(--gold-text); border-bottom-color: var(--line); }
  .nav-cta { margin-top: 16px; min-height: 48px; }
  .brand img { width: 112px; }
  .header-row { min-height: 68px; }
}

/* ---------- Seções ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-ivory { background: var(--ivory); }
.section-night { background: var(--night); color: #F4EFE3; }
.section-night .label { color: var(--gold); }
.section-night h2 em { color: var(--gold); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 60ch; }
.section-head p:not(.label) { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; }
.section-night .section-head p:not(.label) { color: var(--night-soft); }

/* Filete ornamental: o traço dourado entre dois pontos lembra a assinatura do registro */
.rule { display: flex; align-items: center; gap: 10px; color: var(--gold); width: 120px; }
.rule::before, .rule::after { content: ""; height: 1px; flex: 1; background: currentColor; }
.rule span { width: 5px; height: 5px; transform: rotate(45deg); background: currentColor; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 96px); background: var(--ivory); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 24px; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.4rem); line-height: 1.04; }
.hero h1 .sim { font-style: italic; color: var(--gold-text); font-weight: 600; }
.rating {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 0.95rem; color: var(--ink-soft); text-decoration: none;
}
.rating .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.rating strong { color: var(--ink); font-weight: 600; }
.rating:hover { color: var(--ink); }

/* Certidão ilustrativa */
.certidao {
  position: relative; background: var(--paper);
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(43, 38, 32, 0.35);
  transform: rotate(1.2deg);
}
.certidao::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold-soft); pointer-events: none; }
.certidao-head { text-align: center; display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.certidao-head img { width: 44px; margin-inline: auto; }
.certidao-head .label { font-size: 0.66rem; letter-spacing: 0.2em; color: var(--ink-soft); }
.certidao-title { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.08em; text-transform: uppercase; }
.certidao dl { margin: 18px 0 0; display: grid; gap: 12px; }
.certidao dl div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; align-items: baseline; border-bottom: 1px dotted var(--line); padding-bottom: 8px; }
.certidao dt { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.certidao dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.certidao dd.script { font-style: italic; color: var(--gold-text); }
.certidao-foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 22px; }
.certidao-foot small { font-size: 0.72rem; color: var(--ink-soft); max-width: 22ch; line-height: 1.4; }
.selo {
  flex: none; width: 84px; height: 84px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold-text);
  display: grid; place-content: center; text-align: center;
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3;
  transform: rotate(-12deg);
}
.selo b { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.04em; display: block; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .certidao { transform: none; max-width: 460px; }
}

/* ---------- Vantagens ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.trio-item { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--ink); }
.trio-item p { color: var(--ink-soft); }
@media (max-width: 780px) { .trio { grid-template-columns: 1fr; } }

/* ---------- Opções de casamento ---------- */
.options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .options { grid-template-columns: repeat(2, 1fr); } }
.option {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); padding: 28px; border-radius: var(--radius);
}
.option .label { color: var(--ink-soft); }
.option p { color: var(--ink-soft); }
.option a { font-weight: 500; }
.option-featured { border-color: var(--gold); box-shadow: inset 0 3px 0 var(--gold); }
@media (max-width: 900px) { .options { grid-template-columns: 1fr; } }

/* ---------- Comparativo ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare-wrap { overflow-x: auto; }
.compare th, .compare td { text-align: left; padding: 18px 20px; vertical-align: top; border-bottom: 1px solid rgba(244, 239, 227, 0.14); }
.compare thead th { font-family: var(--serif); font-weight: 500; font-size: var(--step-1); border-bottom-color: rgba(231, 190, 66, 0.5); }
.compare thead th:last-child { color: var(--gold); }
.compare td:first-child { color: var(--night-soft); }
.compare td:last-child { color: #FBF6E8; }
.compare td:last-child::before { content: "✓"; color: var(--gold); margin-right: 10px; }
.compare td:first-child, .compare th:first-child { width: 50%; }

/* ---------- Grade de serviços ---------- */
.service-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-links a {
  display: grid; gap: 6px; padding: 26px 24px; text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .2s;
}
.service-links a:hover { background: var(--ivory); }
.service-links h3 { display: flex; justify-content: space-between; gap: 12px; }
.service-links h3::after { content: "→"; font-family: var(--sans); color: var(--gold-text); }
.service-links p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .service-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service-links { grid-template-columns: 1fr; } }

/* ---------- Avaliações ---------- */
.reviews { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.score { display: grid; justify-items: start; gap: 4px; }
.score-num { font-family: var(--serif); font-size: clamp(4rem, 3rem + 4vw, 6rem); line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.score .stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 4px; }
.reviews .prose p { color: var(--ink-soft); }
@media (max-width: 700px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { max-width: 20ch; }

/* ---------- Cabeçalho de páginas internas ---------- */
.page-hero { padding-block: clamp(44px, 7vw, 88px) clamp(36px, 5vw, 60px); background: var(--ivory); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero h1 { max-width: 20ch; }
.crumbs { font-size: 0.85rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }

/* ---------- Blocos de conteúdo ---------- */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.split > :first-child { position: sticky; top: 110px; display: grid; gap: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > :first-child { position: static; } }

.pkg { display: grid; gap: 16px; padding-block: 32px; border-top: 1px solid var(--line); }
.pkg:first-child { border-top: 0; padding-top: 0; }
.pkg-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-soft); }
.checks li::before { content: ""; width: 12px; height: 7px; border-left: 1.5px solid var(--gold-text); border-bottom: 1.5px solid var(--gold-text); transform: rotate(-45deg); margin-top: 0.55em; }
.note { font-size: 0.95rem; color: var(--ink-soft); padding: 14px 18px; background: var(--ivory); border-left: 2px solid var(--gold); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 0.92rem; background: var(--paper); }

.doc-list { columns: 2; column-gap: 40px; margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.doc-list li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 560px) { .doc-list { columns: 1; } }

/* Serviços (página) */
.svc-list { display: grid; }
.svc { display: grid; grid-template-columns: 0.9fr 1.1fr auto; gap: 16px 40px; align-items: start; padding-block: 30px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc p { color: var(--ink-soft); }
.svc .btn { min-height: 44px; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }

/* Passo a passo */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: passo; }
.steps li { counter-increment: passo; display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding-block: 28px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(passo, decimal-leading-zero); font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-soft); max-width: 60ch; }
.steps li.sim-step h3 { font-style: italic; }

/* Perguntas frequentes */
.faq-group { display: grid; gap: 0; margin-bottom: 48px; }
.faq-group h2 { font-size: var(--step-2); margin-bottom: 16px; }
.faq-group details { border-top: 1px solid var(--line); }
.faq-group details:last-child { border-bottom: 1px solid var(--line); }
.faq-group summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px;
  padding-block: 20px; font-size: 1.08rem; font-weight: 500;
}
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--gold-text); transition: transform .2s; }
.faq-group details[open] summary::after { transform: rotate(45deg); }
.faq-group details > div { padding-bottom: 22px; color: var(--ink-soft); max-width: 68ch; display: grid; gap: 10px; }

/* Sobre */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 28px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.value p { color: var(--ink-soft); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.monogram { width: 100%; max-width: 360px; aspect-ratio: 1; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--line); }
.monogram img { width: 58%; }

/* ---------- Formulários ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label, .field .field-label { font-size: 0.9rem; font-weight: 500; }
.field .hint { font-size: 0.82rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid #CFC5AF; border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: #A3341F; }
.field-error { font-size: 0.85rem; color: #A3341F; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold-text); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 0.95rem; }
.form-status.is-error { color: #A3341F; }
.success { display: grid; gap: 16px; }
.success h2 { font-size: var(--step-2); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.aside-contact { display: grid; gap: 18px; }
.aside-contact .wa-number { font-family: var(--serif); font-size: var(--step-2); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--night); color: var(--night-soft); padding-block: 64px 28px; }
.site-footer a { color: #F4EFE3; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .label { color: var(--gold); margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 36px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { width: 150px; }
.footer-brand p { max-width: 32ch; font-size: 0.95rem; }
.footer-col { display: grid; gap: 8px; align-content: start; font-size: 0.95rem; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(244, 239, 227, 0.14); font-size: 0.82rem; }
.footer-legal a { text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  background: #1E7D4F; color: #FFFFFF; border-radius: 99px; text-decoration: none; font-weight: 500;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
}
.wa-float:hover { background: #17663F; color: #FFFFFF; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- Texto legal ---------- */
.legal { max-width: 72ch; display: grid; gap: 14px; }
.legal h2 { font-size: var(--step-2); margin-top: 18px; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* Títulos de serviço (h2 com tamanho de h3) */
.h3-like { font-size: var(--step-2); line-height: 1.2; }
.h3-like .label { display: inline-block; margin-bottom: 6px; }

/* Comparativo empilhado no celular */
@media (max-width: 600px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100% !important; }
  .compare tr { padding-block: 16px; border-bottom: 1px solid rgba(244, 239, 227, 0.14); }
  .compare td { padding: 4px 0; border: 0; }
  .compare td:first-child { font-size: 0.9rem; text-decoration: line-through; text-decoration-color: rgba(189, 178, 160, 0.5); }
}

/* ---------- Preto da marca (v1.1) ----------
   Cabeçalho, abertura das páginas, faixa comparativa e rodapé em preto;
   o conteúdo de leitura fica no branco e no marfim. */
.site-header { background: color-mix(in srgb, var(--black) 94%, transparent); border-bottom-color: rgba(231, 190, 66, 0.22); }
.nav a:not(.btn) { color: var(--on-dark); }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle { color: var(--on-dark); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { background: var(--on-dark); }
@media (max-width: 940px) {
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { background: var(--on-dark); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav { background: var(--black); border-bottom-color: rgba(231, 190, 66, 0.22); }
  .nav a:not(.btn) { border-bottom-color: rgba(244, 239, 227, 0.12); }
  .nav a[aria-current="page"]:not(.btn) { color: var(--gold); border-bottom-color: rgba(244, 239, 227, 0.12); }
}
.skip { background: var(--gold); color: var(--black); }

.hero, .page-hero { background: var(--black); color: var(--on-dark); border-bottom: 1px solid rgba(231, 190, 66, 0.22); }
.hero .label, .page-hero .label { color: var(--gold); }
.hero h1 .sim, .hero h1 em, .page-hero h1 em { color: var(--gold); }
.hero .lead, .page-hero .lead, .page-hero .muted { color: var(--night-soft); }
.hero .btn-line, .page-hero .btn-line, .section-night .btn-line { color: var(--on-dark); border-color: rgba(244, 239, 227, 0.6); }
.hero .btn-line:hover, .page-hero .btn-line:hover, .section-night .btn-line:hover { background: var(--on-dark); color: var(--black); }
.rating { color: var(--night-soft); }
.rating strong, .rating:hover { color: var(--on-dark); }
.crumbs, .crumbs a { color: var(--night-soft); }
.crumbs a:hover { color: var(--gold); }
.certidao { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(231, 190, 66, 0.25); }
.hero :focus-visible, .page-hero :focus-visible, .site-header :focus-visible, .section-night :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.section-night { background: var(--black); }
.site-footer { background: var(--black); border-top: 1px solid rgba(231, 190, 66, 0.22); }
.hero .certidao { color: var(--ink); }
.hero .certidao .label { color: var(--ink-soft); }
.hero .certidao dd.script { color: var(--gold-text); }

/* ---------- Galeria de casamentos ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; aspect-ratio: 2 / 1; max-width: 100%; }
.gallery figure { margin: 0; overflow: hidden; background: var(--ivory-deep); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.g-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-note { margin-top: 16px; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .gallery figure { aspect-ratio: 1; }
  .g-a { grid-column: 1 / -1; grid-row: auto; }
  .g-e { display: none; }
}

/* ---------- Depoimentos ---------- */
.reviews { align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.score .btn { margin-top: 12px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 20px; padding: 28px 28px 26px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); position: relative; }
.quote::before { content: none; }
.quote p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; }
.quote footer { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Vídeos ---------- */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)) 1fr; gap: 20px; align-items: end; }
.video-card { position: relative; display: block; aspect-ratio: 9 / 16; max-width: 100%; overflow: hidden; color: var(--on-dark); text-decoration: none; border: 1px solid rgba(231, 190, 66, 0.25); }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,11,0) 45%, rgba(14,13,11,0.9) 100%); }
.video-card:hover img { transform: scale(1.04); }
.play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(231, 190, 66, 0.92); }
.play::after { content: ""; position: absolute; left: 24px; top: 19px; border-left: 17px solid var(--black); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.video-caption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; font-size: 0.88rem; color: var(--night-soft); }
.video-caption strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--on-dark); }
.video-card:hover { color: var(--on-dark); }
.video-more { display: grid; gap: 18px; align-content: end; padding-left: clamp(0px, 3vw, 32px); color: var(--night-soft); max-width: 36ch; }
@media (max-width: 800px) {
  .videos { grid-template-columns: 1fr 1fr; }
  .video-more { grid-column: 1 / -1; padding-left: 0; }
}

/* Foto e números da página Sobre */
.about-photo { margin: 0; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { margin: 8px 0 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 6.5em 1fr; gap: 14px; align-items: baseline; padding-block: 14px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.facts dd { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- v1.3: legibilidade dos títulos ----------
   A Bodoni Moda em tamanho grande usa traços muito finos (alto contraste).
   Fixamos um tamanho óptico menor, que engrossa os traços finos, e subimos o peso.
   Títulos pequenos (h3) passam para a Jost, sem serifa. */
h1, h2 { font-weight: 600; font-optical-sizing: none; font-variation-settings: "opsz" 14; letter-spacing: -0.015em; }
h1 em, h2 em { font-weight: 500; }
h3 { font-family: var(--sans); font-weight: 500; font-size: 1.2rem; letter-spacing: 0; line-height: 1.35; }
.h3-like { font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 14; }
.quote p { font-family: var(--sans); font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.certidao-title, .certidao dd, .selo b, .score-num, .facts dt, .video-caption strong, .steps li::before, .aside-contact .wa-number {
  font-optical-sizing: none; font-variation-settings: "opsz" 14; font-weight: 600;
}
.video-caption strong { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; }

/* ---------- v1.3: foto real na abertura ---------- */
.hero-photo { position: relative; margin: 0; max-width: 100%; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.hero-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(231, 190, 66, 0.55); z-index: -1; }
.hero-grid { isolation: isolate; }
.hero-photo figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 20px 16px; display: grid; gap: 2px; font-size: 0.88rem; color: var(--night-soft); background: linear-gradient(180deg, rgba(14,13,11,0) 0%, rgba(14,13,11,0.85) 70%); }
.hero-photo figcaption .label { color: var(--gold); font-size: 0.7rem; }
@media (max-width: 860px) {
  .hero-photo { max-width: 520px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .hero-photo::before { inset: 10px -10px -10px 10px; }
}

/* Certidão ilustrativa agora na página Como funciona */
.certidao-aside { margin-top: 28px; max-width: 380px; transform: rotate(-1.5deg); }

/* ---------- v1.3: vídeos em três colunas iguais ---------- */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.video-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; max-width: none; margin-top: 28px; padding: 22px 0 0; border-top: 1px solid rgba(244, 239, 227, 0.14); }
.video-more p { max-width: 48ch; }
@media (max-width: 800px) {
  .videos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .video-card { scroll-snap-align: start; }
  .video-more { grid-column: auto; }
}
.certidao dd { font-weight: 500; }
.options .option { padding: 24px 22px; } .options .option .label { letter-spacing: 0.16em; }

/* Galeria v1.5: 1 destaque + 3 fotos */
.gallery .g-e { display: none; }
.g-b { grid-column: 3; grid-row: 1; }
.g-c { grid-column: 4; grid-row: 1; }
.g-d { grid-column: 3 / 5; grid-row: 2; }
.g-b img { object-position: 50% 30%; }
.g-d img { object-position: 50% 58%; }
@media (max-width: 700px) {
  .g-b, .g-c { grid-column: auto; grid-row: auto; }
  .g-d { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 2 / 1; }
}
