/*
Theme Name: Sacerdotisa Nagô
Theme URI: https://sacerdotisanago.com.br
Author: Sacerdotisa Nagô
Description: Vinho & Ouro — burgundy, cream and gold block theme for Sacerdotisa Nagô (design: nago-tarot/docs/BRAND.md).
Version: 0.3.13
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nago
*/

/* ------------------------------------------------------------------ tokens
   Colours and fonts are presets in theme.json. These names follow the design reference (style.css of the
   hand-off); .nago-light swaps them for the cream reading canvas. */
:root {
	--paper: var(--wp--preset--color--background);        /* #360317 burgundy */
	--surface: var(--wp--preset--color--surface);         /* #420924 */
	--rose: var(--wp--preset--color--booking);            /* #583143 */
	--ink: var(--wp--preset--color--text);                /* #F6ECDF cream */
	--muted-ink: var(--wp--preset--color--muted);         /* #DBC4C8 */
	--gold: var(--wp--preset--color--primary);            /* #C7A36B */
	--gold-pressed: var(--wp--preset--color--secondary);  /* #B9955F */
	--line: var(--wp--preset--color--border);             /* #7F5966, decorative */
	--control-border: var(--wp--preset--color--control);  /* #A78391, controls */
	--cream: #F6ECDF;
	--cream-surface: var(--wp--preset--color--cream-surface);
	--dark-ink: #360317;
	--light-muted: var(--wp--preset--color--light-muted);
	--light-line: var(--wp--preset--color--light-border);
	--serif: var(--wp--preset--font-family--heading);
	--sans: var(--wp--preset--font-family--body);
	--gutter: 24px;
	--section-y: 56px;
	--h1: 44px;
	--h2: 32px;
	--h3: 24px;
	color-scheme: dark;
	font-synthesis: none;
}

.nago-light {
	--paper: var(--cream);
	--surface: var(--cream-surface);
	--ink: var(--dark-ink);
	--muted-ink: var(--light-muted);
	--gold: var(--dark-ink);
	--line: var(--light-line);
	--control-border: var(--light-muted);
	background: var(--paper);
	color: var(--ink);
	color-scheme: light;
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
/* The brand mark as a watermark: the logo in one burgundy tone, very faint, low in the right corner of each cream
   section, partly cropped so it reads as texture rather than a picture. ON HOLD (2026-10-01, she is thinking about
   it): it shows only when <body> carries the class nago-watermark, which nothing adds yet. */
body.nago-watermark .nago-light::after {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	right: -90px; bottom: -110px; width: 380px; height: 380px;
	background: url("assets/images/watermark.webp") no-repeat center / contain;
	opacity: .07;
}

html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; color: var(--ink); margin: 0 0 24px; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.14; }
h2 { font-size: var(--h2); line-height: 1.2; }
h3 { font-size: var(--h3); line-height: 1.3; letter-spacing: -.02em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.nago-light em { color: var(--dark-ink); }
p { margin: 0 0 20px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:active { opacity: .85; }
strong { font-weight: 600; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 10px; }
::selection { background: var(--gold); color: var(--dark-ink); }

/* Keyboard focus: a 3px ring, cream on burgundy, burgundy on cream. Never removed. */
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* WordPress wrappers: no automatic gaps between the theme's own sections. */
.nago-main, .nago-header-part, .nago-footer-part { margin: 0; }
.nago-main > .wp-block-post-content > * { margin-top: 0; margin-bottom: 0; }
.nago-band :where(.wp-block-group) { margin-top: 0; margin-bottom: 0; }
.nago-band { margin: 0 !important; padding: 0; }
.nago-band--surface { background: var(--surface); }
.nago-wide { width: calc(100% - var(--gutter) * 2); max-width: 1120px; margin-inline: auto !important; }
.nago-section { padding-block: var(--section-y); }

/* ------------------------------------------------------------------ type helpers */
.nago-eyebrow { font: 500 11px/1.5 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.nago-lead { font-size: 18px; line-height: 1.7; color: var(--muted-ink); max-width: 560px; }
.nago-meta { font-size: 13px; line-height: 1.6; color: var(--muted-ink); }
.nago-intro { max-width: 650px; }
.nago-section-heading { max-width: 650px; margin-bottom: 32px; }

/* ------------------------------------------------------------------ actions */
.nago-button {
	display: inline-flex; justify-content: space-between; align-items: center; gap: 20px;
	min-height: 48px; padding: 12px 20px;
	background: var(--gold); color: var(--dark-ink); border: 1px solid var(--gold); border-radius: 3px;
	font: 500 14px/1.5 var(--sans); text-decoration: none;
}
.nago-button:hover { background: var(--cream); border-color: var(--cream); color: var(--dark-ink); text-decoration: none; }
.nago-button:active { background: var(--gold-pressed); border-color: var(--gold-pressed); opacity: 1; }
.nago-button--secondary { background: transparent; color: var(--ink); border-color: var(--control-border); }
.nago-button--secondary:hover { background: var(--surface); border-color: var(--gold); color: var(--ink); }
.nago-button--secondary:active { background: var(--rose); color: var(--cream); border-color: var(--gold); }
.nago-light .nago-button { color: var(--cream); background: var(--dark-ink); border-color: var(--dark-ink); }
.nago-light .nago-button:hover { background: #583143; border-color: #583143; color: var(--cream); }
.nago-light .nago-button:active { background: #420924; color: var(--cream); }
.nago-light .nago-button--secondary { background: transparent; color: var(--ink); border-color: var(--control-border); }
.nago-light .nago-button--secondary:hover { background: var(--cream-surface); border-color: var(--dark-ink); color: var(--ink); }
p.nago-cta { margin: 0; }
p.nago-cta + .nago-meta { margin-top: 16px; margin-bottom: 0; }

.nago-text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
p.nago-link-line { margin: 0; }
.nago-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------------ header */
.nago-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.nago-header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.nago-brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.nago-badge { width: 52px; height: 52px; border-radius: 50%; }
.nago-wordmark { width: 140px; height: auto; }
.nago-nav, .nago-header-book, .nago-header-lang { display: none; }
.nago-menu summary { min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; font-size: 13px; list-style: none; cursor: pointer; }
.nago-menu summary::-webkit-details-marker { display: none; }
.nago-menu summary::after { content: "+"; font-size: 20px; margin-left: 8px; color: var(--gold); }
.nago-menu[open] summary::after { content: "−"; }
.nago-menu summary:hover { color: var(--gold); }
.nago-mobile-nav {
	position: absolute; z-index: 5; top: calc(100% - 1px); left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
	display: grid; padding: 24px var(--gutter);
	background: var(--surface); border-block: 1px solid var(--line); box-shadow: 0 12px 24px #21020e33;
}
.nago-mobile-nav > a:not(.nago-button) { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); text-decoration: none; }
.nago-mobile-nav > a[aria-current] { color: var(--gold); }
.nago-mobile-nav .nago-button { margin-top: 16px; }
.nago-lang { display: flex; gap: 8px; align-items: center; }
.nago-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 12px; text-decoration: none; }
.nago-lang a:hover { text-decoration: underline; }
.nago-lang [aria-current] { text-decoration: underline; text-underline-offset: 6px; color: var(--gold); }

/* ------------------------------------------------------------------ hero */
.nago-hero { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
.nago-hero h1 { font-size: 48px; }
.nago-hero h1 em { display: block; }
.nago-hero-copy .nago-meta { margin-top: 16px; margin-bottom: 0; }
/* The gold arch: an outline 7px outside the photo, following its rounded top. */
.nago-hero-image { margin: 0 !important; padding: 8px; }
.nago-hero-image img {
	width: 100%; height: 376px; object-fit: cover; object-position: 50% 34%;
	border-radius: 210px 210px 2px 2px; outline: 1px solid var(--gold); outline-offset: 7px;
}
.nago-hero-image figcaption { font: italic 17px/1.6 var(--serif); color: var(--muted-ink); text-align: center; margin-top: 24px; }

/* ------------------------------------------------------------------ steps */
.nago-steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; counter-reset: nago-step; }
.nago-steps li { border-top: 1px solid var(--line); padding-top: 20px; margin: 0; counter-increment: nago-step; }
.nago-steps li::before { content: counter(nago-step, decimal-leading-zero); display: block; font: 400 21px/1.5 var(--serif); color: var(--gold); margin-bottom: 20px; }
.nago-steps li strong { display: block; font: 500 16px/1.5 var(--sans); color: var(--ink); margin-bottom: 12px; }
.nago-steps li span { display: block; color: var(--muted-ink); font-size: 15px; }

/* ------------------------------------------------------------------ about teaser (cream) */
.nago-about { display: grid; gap: 36px; align-items: center; }
.nago-portrait { margin: 0 !important; }
.nago-portrait img { width: 100%; height: 365px; object-fit: cover; object-position: center 35%; border-radius: 180px 180px 3px 3px; }
.nago-about-copy > p { max-width: 530px; }
.nago-more { border-top: 1px solid var(--line); margin-top: 8px; max-width: 530px; }
.nago-more summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 8px 0; font-weight: 500; list-style: none; cursor: pointer; }
.nago-more summary::-webkit-details-marker { display: none; }
.nago-more summary::after { content: "+"; }
.nago-more[open] summary::after { content: "−"; }
.nago-more summary:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ------------------------------------------------------------------ reading cards and prices */
.nago-reading-grid { display: grid; gap: 16px; }
.nago-reading { padding: 24px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); display: flex; flex-direction: column; }
.nago-band--surface .nago-reading { background: var(--paper); }
.nago-reading h3 { margin-bottom: 16px; }
.nago-reading p { font-size: 15px; color: var(--muted-ink); }
.nago-reading .nago-eyebrow { font-size: 11px; color: var(--gold); }
.nago-reading .nago-meta { font-size: 13px; }
.nago-price { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: auto 0 24px !important; padding-top: 12px; }
.nago-price span { font: 400 13px/1.5 var(--sans); color: var(--muted-ink); }
.nago-price strong { font: 400 28px/1.3 var(--serif); color: var(--gold); white-space: nowrap; }
.nago-price strong.nago-on-request { font-size: 22px; white-space: normal; }
.nago-reading .nago-button { width: 100%; }
.nago-reading-grid + .nago-link-line { margin-top: 24px; }
.nago-care { border-top: 1px solid var(--line); padding-top: 20px; margin: 32px 0 0 !important; font-size: 13px; color: var(--muted-ink); }

/* Quick questions */
.nago-quick-layout { display: grid; gap: 24px; align-items: center; }
.nago-quick-prices { margin: 0; }
.nago-quick-prices > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 16px 0; }
.nago-quick-prices dt { font-size: 16px; }
.nago-quick-prices dd { margin: 0; font: 400 26px/1.4 var(--serif); color: var(--gold); }
.nago-quick-layout p.nago-cta { margin-top: 28px; }
.nago-quick-layout p.nago-cta .nago-button { width: 100%; }

/* Consultas: intro, jumps, offering */
.nago-page-intro { max-width: 760px; padding-block: 48px 32px; margin-inline: 0; }
.nago-page-intro h1 { margin-bottom: 8px; }
.nago-group-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; }
.nago-group-links a { min-height: 44px; display: flex; align-items: center; border: 1px solid var(--control-border); border-radius: 3px; padding: 8px 12px; font-size: 13px; text-decoration: none; }
.nago-group-links a:hover { border-color: var(--gold); background: var(--surface); }
.nago-group-links a:active { background: var(--rose); }
.nago-offering > p { max-width: 650px; }
.nago-offering .nago-price { max-width: 650px; margin-top: 12px !important; }
.nago-offering p.nago-cta { max-width: 380px; }

/* ------------------------------------------------------------------ testimonials */
.nago-quote-grid { display: grid; gap: 32px; }
.nago-voice { margin: 0 !important; border-top: 1px solid var(--gold); padding-top: 24px; }
.nago-voice .wp-block-quote, .nago-voice blockquote { margin: 0; padding: 0; border: 0; }
.nago-voice .wp-block-quote p { font: 400 24px/1.5 var(--serif); color: var(--ink); margin: 0 0 16px; letter-spacing: 0; }
.nago-voice .wp-block-quote cite { display: block; font: 400 13px/1.5 var(--sans); font-style: normal; color: var(--muted-ink); }

/* Screenshot carousel (real messages): a snapping track; nago.js adds the arrows and dots and the lightbox. Every
   slide is a phone-shaped frame (4:5) in WhatsApp's beige, so screenshots of different heights sit level. */
.nago-shots { position: relative; }
.nago-shots-track { position: relative; display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.nago-shots--js .nago-shots-track { scrollbar-width: none; }
.nago-shots--js .nago-shots-track::-webkit-scrollbar { display: none; }
.nago-shot { flex: 0 0 100%; margin: 0 !important; scroll-snap-align: start; }
.nago-shot > a { display: block; aspect-ratio: 4 / 5; border-radius: 12px; border: 1px solid var(--line); background: #ECE5DD; overflow: hidden; }
.nago-shot > a:hover { border-color: var(--gold); }
.nago-shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nago-shot figcaption.wp-element-caption { margin: 16px 0 0; text-align: left; font: 400 17px/1.55 var(--serif); color: var(--ink); }
.nago-shot .nago-shot-meta { display: block; margin-top: 8px; font: 400 13px/1.5 var(--sans); color: var(--muted-ink); }
.nago-shots-nav { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.nago-shots-nav > button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--control-border); background: transparent; color: var(--ink); font: 400 18px/1 var(--sans); cursor: pointer; }
.nago-shots-nav > button:hover { border-color: var(--gold); background: var(--surface); }
.nago-shots-nav > button:disabled { opacity: .35; cursor: default; }
.nago-shots-dots { display: flex; flex-wrap: wrap; gap: 2px; }
.nago-shots-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nago-shots-dots button::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 50%; background: var(--line); }
.nago-shots-dots button[aria-current="true"]::before { background: var(--gold); }
p.nago-shots-note { margin: 24px 0 0; font-size: 13px; color: var(--muted-ink); max-width: 650px; }
.nago-lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 640px); max-height: 92vh; }
.nago-lightbox::backdrop { background: #21020ee6; }
.nago-lightbox img { display: block; max-width: 100%; max-height: 88vh; width: auto; height: auto; margin: auto; border-radius: 12px; }
.nago-lightbox-close { position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: #360317; color: #F6ECDF; font: 400 24px/1 var(--sans); cursor: pointer; }

/* ------------------------------------------------------------------ notice */
.nago-notice { border-left: 2px solid var(--gold); background: var(--surface); padding: 24px; margin-block: 32px !important; }
.nago-notice h3 { font: 500 16px/1.5 var(--sans); letter-spacing: 0; margin-bottom: 12px; }
.nago-notice p { font-size: 14px; margin-bottom: 12px; }
.nago-notice p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ blog cards, index, article */
.nago-blog-grid { display: grid; gap: 24px; margin-bottom: 20px; }
.nago-blog-card { display: block; text-decoration: none; }
.nago-blog-card img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; margin-bottom: 20px; border-radius: 3px; }
.nago-blog-card h3 { margin-bottom: 12px; }
.nago-blog-card p { font-size: 15px; color: var(--muted-ink); }
.nago-blog-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.nago-pagination { display: flex; gap: 16px; flex-wrap: wrap; }
.nago-pagination a, .nago-pagination span { display: inline-flex; align-items: center; min-height: 44px; }

.nago-article { padding-bottom: 8px; }
.nago-article-head, .nago-prose, .nago-article-foot { max-width: 728px; width: calc(100% - var(--gutter) * 2); margin-inline: auto !important; }
.nago-article-head { padding-block: 32px; }
.nago-article-head > .nago-text-link { margin-bottom: 24px; }
.nago-article-head h1 { margin-bottom: 0; }
.nago-article-head .nago-lead { margin: 24px 0 0; }
.nago-article-head .nago-meta { margin: 24px 0 0; }
.nago-article-image { max-width: 960px; width: calc(100% - var(--gutter) * 2); margin: 0 auto 40px !important; }
.nago-article-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; }
.nago-prose { font-size: 17px; line-height: 1.8; padding-bottom: 56px; }
.nago-prose > * { margin-top: 0; }
.nago-prose h2 { font-size: 28px; line-height: 1.3; margin: 40px 0 20px; }
.nago-prose h3 { font-size: 22px; margin: 32px 0 16px; }
.nago-prose p { margin-bottom: 24px; }
.nago-prose li { margin-bottom: 12px; }
.nago-prose a { text-decoration: underline; }
.nago-prose blockquote, .nago-prose .wp-block-quote { margin: 32px 0; padding: 0 0 0 20px; border: 0; border-left: 2px solid var(--line); font: italic 26px/1.5 var(--serif); color: var(--ink); }
.nago-prose blockquote p { margin-bottom: 12px; }
.nago-prose blockquote cite { font-style: normal; font-size: 14px; }
.nago-prose figure { margin: 32px 0; }

/* Contato / Contact: her portrait beside the contact details on wide screens (option C of 2026-10-31), a small
   centred portrait on phones; the form's heading always starts below the photo. */
.nago-prose figure.nago-contact-portrait { max-width: 260px; margin: 8px auto 28px; }
.nago-prose figure.nago-contact-portrait img { display: block; width: 100%; height: auto; border-radius: 14px; }
@media (min-width: 900px) {
	.nago-prose figure.nago-contact-portrait { float: right; width: 300px; max-width: 300px; margin: 4px 0 24px 40px; }
	.nago-prose figure.nago-contact-portrait ~ h2 { clear: both; }
}
.nago-prose img { border-radius: 3px; }
.nago-article-foot { padding-bottom: 56px; }
.nago-article-signoff { border-top: 1px solid var(--line); padding-top: 24px; margin: 0 0 12px; font-size: 17px; line-height: 1.8; }

/* Plain text pages (Sobre, Termos, Reembolsos, FAQ, …): the cream reading canvas; see functions.php. */
.nago-plain { padding-top: 1px; }
.nago-plain-head { max-width: 728px; width: calc(100% - var(--gutter) * 2); margin: 48px auto 8px; }
.nago-plain-head h1 { margin-bottom: 0; }
.nago-plain-layout { display: grid; gap: 32px; width: calc(100% - var(--gutter) * 2); max-width: 728px; margin: 32px auto 0; padding-bottom: 56px; }
.nago-plain-layout .nago-prose { width: 100%; padding-bottom: 0; margin: 0 !important; min-width: 0; }
.nago-plain-layout .nago-prose > h1 { font-size: var(--h1); }
.nago-toc { align-self: start; border-top: 1px solid var(--line); padding-top: 20px; }
.nago-toc-title { font: 500 14px/1.6 var(--sans); margin-bottom: 12px; }
.nago-toc ol { list-style: none; padding: 0; margin: 0; }
.nago-toc li { margin: 0; }
.nago-toc a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
.nago-light a:focus-visible, .nago-light summary:focus-visible { outline-color: var(--dark-ink); }

/* ------------------------------------------------------------------ closing booking band (rose) */
.nago-booking { display: grid; background: var(--rose); margin: 0; }
.nago-booking > img { width: 100%; height: 255px; object-fit: cover; }
.nago-booking-copy { padding: 40px var(--gutter); }
.nago-booking h2 { font-size: 32px; line-height: 1.2; }
.nago-booking .nago-eyebrow, .nago-booking em { color: var(--cream); }
.nago-booking .nago-actions .nago-button { width: 100%; }
.nago-booking .nago-meta { margin-top: 16px; margin-bottom: 0; }
.nago-booking .nago-button--secondary { border-color: var(--cream); color: var(--cream); }
.nago-booking .nago-button--secondary:hover { background: var(--surface); border-color: var(--cream); }

/* ------------------------------------------------------------------ footer */
.nago-footer { padding-block: 40px 24px; }
.nago-footer-top { display: flex; flex-direction: column; gap: 28px; }
.nago-footer-brand { display: flex; align-items: center; gap: 18px; }
.nago-footer-badge { width: 64px; height: 64px; border-radius: 50%; }
.nago-signoff { font: italic 18px/1.5 var(--serif); color: var(--gold); margin: 0; }
.nago-footer-links { display: flex; flex-wrap: wrap; gap: 0 22px; max-width: 480px; }
.nago-footer-links a { font-size: 13px; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
.nago-copyright { border-top: 1px solid var(--line); padding-top: 20px; margin: 28px 0 0; font-size: 12px; color: var(--muted-ink); }

/* ------------------------------------------------------------------ coming soon (no header, footer or band) */
.nago-main--blank { padding: 0; }
.nago-coming { min-height: 100svh; display: grid; place-items: center; padding: 64px 24px; text-align: center; background: radial-gradient(ellipse at 50% 30%, var(--surface), var(--paper) 70%); }
.nago-coming-inner { max-width: 600px; }
.nago-coming-logo { width: 100px; height: 100px; margin: 0 auto 32px; border-radius: 50%; }
.nago-coming h1 { font-size: 38px; line-height: 1.3; }
.nago-coming h1 span, .nago-coming h1 em { display: block; }
.nago-coming .nago-lead { font-size: 17px; margin: 0 auto 28px; }
.nago-coming .nago-button { margin-top: 8px; }
.nago-coming-rule { height: 1px; width: 64px; background: var(--gold); margin: 32px auto; }
/* An older coming-soon page written as a cover block still fills the screen. */
.nago-main--blank .wp-block-post-content > .wp-block-cover.alignfull:only-child { min-height: 100vh !important; margin: 0; }
.wp-block-cover.is-dark :is(h1, h2, h3, h4) { color: inherit; }

/* ------------------------------------------------------------------ 700px and up */
@media (min-width: 700px) {
	:root { --gutter: 40px; --section-y: 72px; --h1: 56px; --h2: 40px; --h3: 26px; }
	.nago-hero { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 64px; }
	.nago-hero h1 { font-size: 54px; }
	.nago-hero-image img { height: 470px; }
	.nago-steps ol { grid-template-columns: repeat(3, 1fr); gap: 28px; }
	.nago-about { grid-template-columns: .85fr 1.15fr; gap: 48px; }
	.nago-portrait img { height: 430px; }
	.nago-reading-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.nago-quote-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.nago-shot { flex-basis: calc((100% - 20px) / 2); }
	.nago-quick-layout { grid-template-columns: 1fr 1fr; gap: 48px; }
	.nago-booking { grid-template-columns: 1fr 1fr; }
	.nago-booking > img { height: 100%; min-height: 420px; }
	.nago-booking-copy { padding: 48px 40px; }
	.nago-booking h2 { font-size: 36px; }
	.nago-footer-top { flex-direction: row; justify-content: space-between; align-items: center; gap: 48px; }
	.nago-group-links { grid-template-columns: repeat(4, 1fr); }
	.nago-page-intro { padding-block: 64px 40px; }
	.nago-article-head { padding-block: 48px; }
	.nago-article-image img { aspect-ratio: 16 / 8; }
	.nago-prose { font-size: 18px; padding-bottom: 72px; }
	.nago-prose h2 { font-size: 32px; }
	.nago-blog-grid { grid-template-columns: repeat(3, 1fr); }
	.nago-plain-head { margin-top: 64px; }
	.nago-coming h1 { font-size: 56px; }
	.nago-coming-logo { width: 120px; height: 120px; }
}

/* ------------------------------------------------------------------ 1000px and up */
@media (min-width: 1000px) {
	body.nago-watermark .nago-light::after { width: 560px; height: 560px; right: -150px; bottom: -170px; }
	:root { --gutter: 64px; --section-y: 88px; --h1: 64px; --h2: 46px; --h3: 28px; }
	.nago-header-inner { min-height: 112px; gap: 24px; }
	.nago-wordmark { width: 184px; }
	.nago-badge { width: 68px; height: 68px; }
	.nago-nav { display: flex; gap: 20px; align-items: center; }
	.nago-nav > a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 12px; text-decoration: none; }
	.nago-nav > a:hover { text-decoration: underline; }
	.nago-nav [aria-current] { color: var(--gold); text-decoration: underline; }
	.nago-header-book { display: inline-flex; white-space: nowrap; }
	.nago-header-lang { display: block; }
	.nago-menu { display: none; }
	.nago-hero { gap: 80px; padding-block: 72px; }
	.nago-hero h1 { font-size: 70px; line-height: 1.12; }
	.nago-hero .nago-lead { max-width: 430px; }
	.nago-hero-image img { height: 560px; border-radius: 250px 250px 2px 2px; }
	.nago-about { grid-template-columns: 360px 1fr; gap: 100px; }
	.nago-portrait img { height: 440px; }
	.nago-reading-grid--three { grid-template-columns: repeat(3, 1fr); }
	.nago-reading { padding: 28px; }
	.nago-voice .wp-block-quote p { font-size: 28px; }
	.nago-quote-grid { gap: 56px; }
	.nago-shots-track { gap: 24px; }
	.nago-shot { flex-basis: calc((100% - 48px) / 3); }
	.nago-booking-copy { padding: 64px; max-width: 670px; }
	.nago-booking h2 { font-size: 42px; }
	.nago-booking > img { min-height: 450px; max-height: 640px; }
	.nago-booking .nago-actions { align-items: flex-start; flex-direction: column; }
	.nago-booking .nago-actions .nago-button { width: auto; min-width: 290px; }
	.nago-article-head { padding-block: 56px 40px; }
	.nago-prose h2 { font-size: 34px; }
	.nago-plain--toc .nago-plain-layout { grid-template-columns: 240px minmax(0, 728px); gap: 72px; max-width: 1040px; padding-bottom: 88px; }
	.nago-plain--toc .nago-plain-head { max-width: 1040px; padding-left: 312px; }
	.nago-plain-head h1 { font-size: 56px; }
	.nago-coming h1 { font-size: 64px; }
}

@media (max-width: 359px) {
	.nago-plain-head h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
	.nago-header, .nago-footer, .nago-booking, .nago-menu { display: none; }
	.nago-light, body { background: white; color: #360317; }
}

/* ------------------------------------------------------------- contact form
   Fluent Forms' markup on Contato / Contact ([fluentform id="…"]); the plugin's own CSS loads on those pages only.
   Selectors are prefixed with .nago-main to win over it; the submit button repeats .nago-button. */
.nago-main .fluentform { max-width: 640px; }
.nago-main .fluentform .ff-el-group { margin-bottom: 22px; }
.nago-main .fluentform .ff-el-input--label label { font: 500 13px/1.5 var(--sans); letter-spacing: .04em; color: var(--ink); margin-bottom: 6px; display: inline-block; }
.nago-main .fluentform .ff-el-input--label.asterisk-right label:after,
.nago-main .fluentform .ff-el-input--label.asterisk-left label:before { color: var(--gold); }
.nago-main .fluentform .ff-el-form-control { width: 100%; padding: 12px 14px; font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--control-border); border-radius: 6px; box-shadow: none; height: auto; }
.nago-main .fluentform .ff-el-form-control::placeholder { color: var(--muted-ink); opacity: 1; }
.nago-main .fluentform .ff-el-form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent); }
.nago-main .fluentform textarea.ff-el-form-control { min-height: 160px; resize: vertical; }
.nago-main .fluentform .ff-el-help-message { font: 400 13px/1.5 var(--sans); color: var(--muted-ink); margin-top: 6px; }
.nago-main .fluentform .ff-el-form-check label,
.nago-main .fluentform .ff-el-tc label, .nago-main .fluentform .ff-el-tc .ff_t_c { font: 400 14px/1.6 var(--sans); color: var(--muted-ink); }
.nago-main .fluentform .ff-el-form-check a, .nago-main .fluentform .ff-el-tc a { color: var(--gold); text-decoration: underline; }
.nago-main .fluentform .ff-el-form-check-input, .nago-main .fluentform .ff-el-tc input[type="checkbox"] { accent-color: var(--gold); width: 18px; height: 18px; }
.nago-main .fluentform .ff-btn-submit { display: inline-flex; justify-content: space-between; align-items: center; gap: 20px;
	min-height: 48px; padding: 12px 20px;
	background: var(--gold); color: var(--dark-ink); border: 1px solid var(--gold); border-radius: 3px;
	font: 500 14px/1.5 var(--sans); text-decoration: none; }
.nago-main .fluentform .ff-btn-submit { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--dark-ink) !important; cursor: pointer; }
.nago-main .fluentform .ff-btn-submit:hover { background: var(--cream) !important; border-color: var(--cream) !important; color: var(--dark-ink) !important; }
.nago-main .fluentform .ff-btn-submit:active { background: var(--gold-pressed) !important; border-color: var(--gold-pressed) !important; }
/* on the cream canvas (.nago-light: plain pages such as Contato, articles) the gold token is burgundy, so the button
   follows .nago-light .nago-button: burgundy with cream text, never burgundy on burgundy */
.nago-main .nago-light .fluentform .ff-btn-submit { background: var(--dark-ink) !important; border-color: var(--dark-ink) !important; color: var(--cream) !important; }
.nago-main .nago-light .fluentform .ff-btn-submit:hover { background: #583143 !important; border-color: #583143 !important; color: var(--cream) !important; }
.nago-main .nago-light .fluentform .ff-btn-submit:active { background: #420924 !important; border-color: #420924 !important; color: var(--cream) !important; }
.nago-main .fluentform .ff-el-is-error .ff-el-form-control { border-color: #E07A7A; }
.nago-main .fluentform .ff-el-is-error .error, .nago-main .fluentform .text-danger, .nago-main .fluentform .ff-errors-in-stack { font: 400 13px/1.5 var(--sans); color: #F0B4B4; }
.nago-light .nago-main .fluentform .ff-el-is-error .error, .nago-light .nago-main .fluentform .text-danger { color: #9B2C2C; }
.nago-main .fluentform .ff-message-success { font: 400 16px/1.6 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--gold); border-radius: 6px; padding: 16px 18px; box-shadow: none; }

/* ------------------------------------------------------------- how to pay
   The payment section of Agendar / Book (patterns/payment.php): one card per method site.json has filled in. */
.nago-pay { margin: 40px 0; }
.nago-pay h2 { font-size: 28px; line-height: 1.3; margin: 0 0 20px; }
.nago-pay-grid { display: grid; gap: 16px; margin-bottom: 20px; }
.nago-pay-card { padding: 24px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }
.nago-pay-card h3 { font-size: 22px; margin: 4px 0 12px; }
.nago-pay-card p { font-size: 15px; margin-bottom: 14px; }
.nago-pay-card .nago-eyebrow { margin-bottom: 0; }
.nago-pay-key { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.nago-pay-key code { font: 400 15px/1.5 var(--sans); background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px; word-break: break-all; }
.nago-pay .nago-copy { min-height: 40px; padding: 8px 14px; cursor: pointer; }
.nago-pay-qr { display: block; width: 200px; height: 200px; margin-top: 8px; border-radius: 3px; background: #fff; padding: 8px; border: 1px solid var(--line); }
.nago-pay .nago-meta a { color: inherit; text-decoration: underline; }
@media (min-width: 700px) {
	.nago-pay-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
