/* ===== Tokens ===== */
:root {
  --cream: #fbf5ec;
  --cream-2: #f4e9d8;
  --paper: #fffaf3;
  --ink: #2b1317;
  --ink-soft: #5c4348;
  --wine: #4a0f1a;
  --wine-2: #6d1524;
  --red: #b3261e;
  --gold: #e0a83f;
  --gold-deep: #9a6a14;
  --line: #e6d6bf;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(74, 15, 26, .45);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine-2); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--wine); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--wine); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.eyebrow { font: 700 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 62ch; }

/* ===== Botões ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.7rem; border-radius: 999px; font: 700 1rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wine-2); color: #fff; }
.btn-primary:hover { background: var(--red); color: #fff; }
.btn-gold { background: var(--gold); color: var(--wine); box-shadow: 0 10px 24px -12px rgba(224, 168, 63, .9); }
.btn-gold:hover { background: #ecb955; color: var(--wine); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: .7rem 1.2rem; font-size: .92rem; }

/* ===== Cabeçalho ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(74, 15, 26, .97); color: #fff; backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font: 700 1.45rem/1 var(--serif); }
.logo svg { color: var(--gold); }
.logo:hover { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.site-nav li a { color: #f3e3d3; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav li a:hover, .site-nav li a[aria-current] { color: #fff; border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: 68px 0 auto 0; background: var(--wine); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: 1rem; display: none; border-top: 1px solid rgba(255, 255, 255, .12); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: .2rem; }
  .site-nav li a { display: block; padding: .8rem 0; font-size: 1.05rem; }
}

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; color: #f8eadb; background: radial-gradient(1200px 600px at 85% 10%, #7d1a2c 0%, transparent 60%), linear-gradient(160deg, #4a0f1a 0%, #2d0910 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: radial-gradient(circle, rgba(224, 168, 63, .55) 1px, transparent 1.6px); background-size: 46px 46px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--gold); font-style: italic; font-weight: 500; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: #ecd8c6; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .95rem; color: #ecd8c6; }
.hero-points li::before { content: "✦"; color: var(--gold); margin-right: .5rem; }
.arch { position: relative; justify-self: center; width: min(420px, 80vw); }
.arch picture img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); border: 3px solid var(--gold); box-shadow: 0 30px 60px -25px #000; }
.arch::after { content: ""; position: absolute; inset: -14px; border: 1px solid rgba(224, 168, 63, .45); border-radius: 999px 999px 28px 28px; pointer-events: none; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .arch { order: -1; width: min(300px, 70vw); } }

/* Hero interno (páginas) */
.page-hero { background: linear-gradient(160deg, #4a0f1a, #2d0910); color: #ecd8c6; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 20ch; }
.page-hero .lead { color: #ecd8c6; max-width: 62ch; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .hero-actions { margin-bottom: 0; }

/* ===== Seções ===== */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--wine); color: #ecd8c6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-title { margin-bottom: .4em; }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.center.section-head { margin-inline: auto; }

.trust { background: var(--paper); border-block: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 1.3rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; font-weight: 600; color: var(--wine); font-size: .98rem; }
.trust li span { display: block; font: 600 1.9rem/1.1 var(--serif); color: var(--red); }
@media (max-width: 720px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .more::after { content: " →"; }
.card-icon { font-size: 1.6rem; color: var(--gold-deep); margin-bottom: .6rem; font-family: var(--serif); }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .arch { width: min(380px, 78vw); }
.split .arch picture img { border-color: var(--wine-2); box-shadow: var(--shadow); }
.split .arch::after { border-color: rgba(109, 21, 36, .35); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.steps li { counter-increment: step; border-top: 2px solid var(--gold); padding-top: 1.2rem; }
.steps li::before { content: "0" counter(step); font: 600 2.4rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: .5rem; }
.steps h3 { font-size: 1.35rem; }

/* ===== Preços ===== */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.3rem; align-items: stretch; }
.price-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem 1.7rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card.is-featured { border: 2px solid var(--gold); background: #fff; }
.badge { position: absolute; top: -13px; left: 1.4rem; background: var(--gold); color: var(--wine); font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 999px; }
.price-desc { color: var(--ink-soft); font-size: .98rem; }
.price { font: 600 3.2rem/1 var(--serif); color: var(--wine); margin: .3rem 0 .2rem; }
.price span { font-size: 1.2rem; margin-right: .3rem; vertical-align: super; }
.price-meta { font-weight: 700; color: var(--gold-deep); font-size: .92rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.6rem; font-size: .97rem; }
.ticks li { padding-left: 1.5rem; position: relative; margin-bottom: .5rem; }
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-deep); }
.price-card .btn { margin-top: auto; }

/* ===== Depoimentos ===== */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.quote { margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(224, 168, 63, .35); border-radius: var(--radius); padding: 1.8rem; }
.quote blockquote { margin: 0; font: 500 italic 1.3rem/1.45 var(--serif); color: #fff; }
.quote figcaption { margin-top: 1rem; color: var(--gold); font-weight: 700; font-size: .92rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font: 600 1.35rem/1.3 var(--serif); color: var(--wine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--sans); color: var(--gold-deep); }
.faq[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 1.4rem; color: var(--ink-soft); }
.faq-a p:last-child { margin-bottom: 0; }

/* ===== CTA ===== */
.cta-band { background: linear-gradient(120deg, #6d1524, #4a0f1a); color: #ecd8c6; padding-block: clamp(2.8rem, 6vw, 4.2rem); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 56ch; }

/* ===== Blog ===== */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.55rem; }
.post-card h3 a { text-decoration: none; color: var(--wine); }
.post-card h3 a:hover { color: var(--red); text-decoration: underline; }
.post-card p { color: var(--ink-soft); font-size: .98rem; }
.post-meta { font-size: .88rem; color: var(--ink-soft); margin-top: auto; margin-bottom: 0; }
.crumbs { padding-block: 1.1rem 0; font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: .4rem; }
.post { padding-block: 2rem 4rem; }
.post-header { margin-bottom: 2rem; }
.post-header h1 { font-size: clamp(2.2rem, 4.8vw, 3.3rem); }
.prose { font-size: 1.12rem; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.prose h3 { margin-top: 1.7em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: .75rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--sans); color: var(--wine); background: var(--cream-2); }
.table-scroll { overflow-x: auto; }
.tldr { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.4rem 1.6rem; margin: 0 0 2rem; }
.tldr p:last-child, .tldr ul:last-child { margin-bottom: 0; }
.tldr .eyebrow { margin-bottom: .6rem; }
.author-box { display: flex; gap: 1.2rem; align-items: center; margin-top: 3rem; padding: 1.5rem; background: var(--cream-2); border-radius: var(--radius); }
.author-img { width: 88px; height: 88px; min-width: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--gold); }
.author-box p { margin: 0; font-size: .98rem; }
.author-name { font: 600 1.4rem/1.2 var(--serif); color: var(--wine); }
.author-box .eyebrow { margin-bottom: .3rem; }

/* ===== Contato ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.contact-grid .card .btn { margin-top: auto; align-self: flex-start; }

/* ===== Rodapé ===== */
.site-footer { background: #24070d; color: #d9c2b2; padding-top: 3.5rem; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2.2rem; }
.footer-brand { font: 600 1.6rem/1 var(--serif); color: #fff; }
.footer-title { font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #f1dfd0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.fine { font-size: .84rem; color: #b69a8b; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-block: 1.3rem 5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; padding: .85rem 1.15rem; border-radius: 999px; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .55); }
.wa-float:hover { background: #17753f; color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .nav-toggle span { transition: none; } }

.h3 { font-size: 1.5rem; }
.prose small { color: var(--ink-soft); }
.section-dark .eyebrow { color: var(--gold); }
.quote h3 { color: var(--gold); font-size: 1.5rem; }
.quote p { margin: 0; color: #ecd8c6; }
.quote-grid + .quote-grid { margin-top: 1.4rem; }
.price-group + .price-group { margin-top: 3.5rem; }
.price-group-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .2em; }
.price-group-sub { color: var(--ink-soft); max-width: 62ch; margin-bottom: 1.8rem; }
.price small { font: 700 1rem/1 var(--sans); color: var(--ink-soft); margin-left: .2rem; }

/* ===== Status online ===== */
.status-pill { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.4rem; padding: .5rem .95rem .5rem .75rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 .9rem/1.2 var(--sans); color: var(--ink-soft); }
.status-pill.is-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #f1dfd0; }
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #9a9a9a; flex: none; }
.status-pill.is-online { color: var(--wine); border-color: #bfe3cc; background: #eefaf2; }
.status-pill.is-dark.is-online { color: #d9f5e3; background: rgba(31, 143, 78, .22); border-color: rgba(120, 220, 160, .45); }
.status-pill.is-online .dot { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.cta-band .status-pill { margin: .6rem 0 0; }
.hero .status-pill, .page-hero .status-pill { margin-bottom: 1.2rem; }
@media (prefers-reduced-motion: reduce) { .status-pill .dot { animation: none; } }
