/* Respirar Casamento — estilos do site (sem frameworks) */
@font-face { font-family: "Hearth Stone"; src: url("/uploads/2024/06/HearthStone.woff2") format("woff2"), url("/uploads/2024/06/HearthStone.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Alex Brush"; src: url("../fonts/alex-brush.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/mulish.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --wine: #480108;
  --wine-2: #6b1a22;
  --gold: #a88757;
  --gold-soft: #c6a47e;
  --ink: #1b1b1b;
  --muted: #5f5a55;
  --cream: #fbf8f3;
  --sand: #f3ece2;
  --line: #e6ddd0;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 12px 30px -18px rgba(72, 1, 8, .35);
  --script: "Hearth Stone", "Alex Brush", cursive;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 1.0625rem/1.7 var(--sans); color: var(--ink); background: var(--cream); }
img, video { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-family: var(--serif); font-weight: 700; color: var(--wine); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[id] { scroll-margin-top: 90px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { flex: none; }

/* Tipografia de destaque */
.kicker { display: block; margin: 0 0 .9rem; font: 700 .78rem/1.3 var(--serif); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.kicker a { color: inherit; text-decoration: none; }
.script-title { font-family: var(--script); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.2; color: var(--wine); margin: 0 0 .3em; padding-top: .25em; }
.section-head { text-align: center; margin-bottom: 2.4rem; }
.section-head::after { content: ""; display: block; width: 70px; height: 2px; margin: .6rem auto 0; background: var(--gold); }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.9em; border: 1.5px solid var(--wine); border-radius: 999px; font: 700 .85rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--wine); background: transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); background: var(--wine); color: var(--white); }
.btn-solid { background: var(--wine); color: var(--white); }
.btn-solid:hover { background: var(--gold); border-color: var(--gold); }
.btn-light { border-color: var(--white); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--wine); }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--wine); transition: background .3s, box-shadow .3s; }
.is-home .site-header { position: fixed; inset: 0 0 auto; background: transparent; }
.is-home .site-header.is-scrolled, .is-home .site-header.is-open { background: var(--wine); box-shadow: 0 6px 20px -12px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.logo img { width: auto; max-height: 64px; }
.nav ul { display: flex; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: .5rem .8rem; color: var(--white); text-decoration: none; font-size: 1rem; }
.nav a:hover { color: var(--gold-soft); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); transition: transform .25s, opacity .25s; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; inset: 100% 0 auto; background: var(--wine); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav.is-open { max-height: 420px; }
  .nav ul { flex-direction: column; padding: .5rem 16px 1.2rem; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .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); }
}

/* Topo da home */
.hero { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 120px 0 80px; overflow: hidden; color: var(--white); text-align: center; background: var(--wine); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,10,10,.55), rgba(72,1,8,.45) 60%, rgba(27,10,10,.7)); }
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { margin: 0 0 .5rem; color: var(--white); }
.hero h1 .kicker { color: var(--gold-soft); }
.hero h1 .script-title { display: block; color: var(--white); font-size: clamp(3.4rem, 11vw, 7rem); margin: 0; }
.hero-text { font: 400 clamp(1.05rem, 2.4vw, 1.35rem)/1.6 var(--serif); margin: 0 auto 2rem; max-width: 34ch; }

/* Seções */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-reverse > :first-child { order: 2; } }
.prose { color: #2c2622; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose img { border-radius: 10px; margin: 1.2em auto; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 45%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 45%; }
.prose .aligncenter { margin-inline: auto; }
.prose blockquote { margin: 1.5em 0; padding: .4em 1.4em; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 10px; }
.prose::after { content: ""; display: table; clear: both; }
.about .section-head, .team .section-head { text-align: left; }
.about .section-head::after, .team .section-head::after { margin-left: 0; }
.about-media img { max-width: 420px; margin-inline: auto; }
.team { background: var(--white); }
.team-alt { background: var(--sand); }
.team-photo img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); margin-inline: auto; max-height: 620px; width: auto; object-fit: cover; }
.team .btn { margin-top: .6rem; }

/* Serviços */
.services { background: var(--white); }
.service-list { display: grid; gap: 1.4rem; }
.service { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 1.5rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.service h3 { font-family: var(--script); font-weight: 400; font-size: 2.1rem; margin: 0 0 .2em; }
.service p { margin: 0; color: var(--muted); font-size: .98rem; }
.service-num { font: 700 1.05rem/1 var(--serif); color: var(--gold); padding-top: .9rem; }
.services-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Galeria */
.gallery { list-style: none; margin: 0 0 4.5rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.trio { display: grid; gap: 18px; }
@media (min-width: 760px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio figure { margin: 0; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); }
.trio img { width: 100%; height: 100%; object-fit: cover; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(15,5,5,.92); padding: 20px; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; }
.lightbox .lb-next { right: 12px; top: 50%; }

/* Números */
.stats { background: var(--wine); color: var(--white); padding: 56px 0; }
.stats-grid { display: grid; gap: 28px; text-align: center; }
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-number { display: block; font: 400 clamp(3.2rem, 7vw, 4.6rem)/1 var(--script); color: var(--gold-soft); }
.stat-label { font: 700 .82rem/1.4 var(--serif); letter-spacing: .2em; text-transform: uppercase; }

/* Vídeo */
.video-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-frame video { width: 100%; }
.video-title { text-align: center; }

/* Depoimentos */
.testimonials { background: var(--sand); }
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 18px; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .slider { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (min-width: 1000px) { .slider { grid-auto-columns: calc((100% - 40px) / 3); } }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--wine); background: var(--white); color: var(--wine); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.carousel-btn:hover { background: var(--wine); color: var(--white); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s, transform .2s; }
.carousel-dots button[aria-current="true"] { background: var(--gold); transform: scale(1.25); }
html:not(.js) .carousel-nav, .carousel-nav[hidden] { display: none; }
.quote { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; padding: 1.8rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 1.4rem; font: italic 400 1rem/1.7 var(--serif); color: #3a3330; }
.quote blockquote::before { content: "“"; display: block; font: 400 3.4rem/0.6 var(--serif); color: var(--gold); margin-top: .4rem; }
.quote figcaption { display: flex; align-items: center; gap: .9rem; }
.quote .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote figcaption span { display: flex; flex-direction: column; line-height: 1.3; }
.quote small { color: var(--muted); }

/* Perguntas */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.4rem 1.2rem 0; position: relative; font: 700 1.05rem/1.4 var(--serif); color: var(--wine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .prose { padding-bottom: 1rem; }
.faq .prose p { margin: 0 0 .3em; }

/* Cards do blog */
.blog-home { background: var(--white); }
.cards { display: grid; gap: 26px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16/10; background: var(--sand); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.card-body time { font-size: .8rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.card-title { font-size: 1.15rem; margin: .4rem 0 .6rem; }
.card-title a { color: var(--wine); text-decoration: none; }
.card-body p { color: var(--muted); font-size: .95rem; }
.card .more { margin-top: auto; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.blog-home .center { margin-top: 2.4rem; }

/* Formulário */
.contact { background: var(--cream); }
.lead-form { background: var(--white); padding: clamp(20px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .form-grid { grid-template-columns: repeat(3, 1fr); } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .3rem; color: #3a3330; }
.field input, .field textarea { width: 100%; padding: .8em 1em; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 10px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,135,87,.2); }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .85rem; margin: .3rem 0 0; }
.field.check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.field.check input { width: auto; margin-top: .35em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.4rem; }
.alert-ok { background: #e8f3ea; color: #1d5b2c; border: 1px solid #b9dcc1; }
.alert-error { background: #fbeaea; color: #8a1c1c; border: 1px solid #efc1c1; }

/* Páginas internas */
.page-hero { background: var(--wine); color: var(--white); padding: 40px 0 50px; text-align: center; }
.page-hero .script-title { color: var(--white); margin: .2em 0 .1em; }
.page-intro { max-width: 60ch; margin: 0 auto; opacity: .9; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; margin: 0; padding: 0; list-style: none; font-size: .85rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: .3rem; opacity: .6; }
.breadcrumbs a { color: inherit; opacity: .8; }
.page-hero .breadcrumbs { color: var(--white); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.4rem; }
.chips a { padding: .45em 1.1em; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: .9rem; }
.chips a[aria-current] { background: var(--wine); color: var(--white); border-color: var(--wine); }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; background: var(--white); }
.pagination span { background: var(--wine); color: var(--white); }

/* Post */
.post-header { padding: 40px 0 24px; text-align: center; }
.post-header .breadcrumbs { color: var(--muted); margin-bottom: 1.4rem; }
.post-header h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
.post-meta { color: var(--muted); font-size: .92rem; }
.post-cover { margin: 0 auto 2.5rem; max-width: 1040px; }
.post-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.post-content { font-size: 1.1rem; }
.post-content > p:first-child { font-size: 1.2rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 2.4rem 0; }
.tags a { font-size: .82rem; padding: .3em .8em; border-radius: 999px; background: var(--sand); text-decoration: none; color: var(--muted); }
.post-cta { margin: 3rem 0 1rem; padding: 2rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.post-cta .script-title { font-size: 2.6rem; }
.related { background: var(--white); }
.preview-bar { background: #ffe8a3; color: #5a4300; text-align: center; padding: .5rem; font-weight: 700; }

/* Rodapé */
.site-footer { background: #2a0a0d; color: rgba(255,255,255,.85); padding: 64px 0 0; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr 1fr; } }
.footer-logo img { max-width: 200px; }
.footer-tagline { margin-top: 1rem; opacity: .75; }
.footer-title { font: 700 .8rem/1.3 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1rem; }
.footer-links, .footer-contact, .social { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: center; margin-bottom: .7rem; word-break: break-word; }
.social { display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.footer-bottom { margin-top: 48px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; text-align: center; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-bottom > p:first-child { opacity: .7; }
.footer-bottom p { margin: 0; }
@media (max-width: 700px) { .footer-bottom { padding-bottom: 90px; } }
.credit { display: inline-flex; align-items: center; gap: .35em; padding: .45em 1.1em; border-radius: 999px; background: rgba(15, 157, 88, .45); border: 1px solid rgba(15, 157, 88, .8); color: var(--white); }
.credit span { color: #7dffb5; }
.site-footer .credit a { color: var(--white); font-weight: 700; text-decoration: none; }
.site-footer .credit a:hover { color: #c9ffe0; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); box-shadow: 0 8px 24px -8px rgba(0,0,0,.45); }
.whatsapp-float:hover { color: var(--white); transform: scale(1.06); }
.whatsapp-float .icon { width: 30px; height: 30px; }

