/* ===== Aquamaster: a página desce da superfície ao fundo do mar ===== */
:root {
	--aqm-espuma: #F3F8F7;
	--aqm-rasa: #CFE6E3;
	--aqm-verde: #2E7D7A;
	--aqm-fundo: #12465A;
	--aqm-abismo: #0A2633;
	--aqm-abismo-2: #071B24;
	--aqm-boia: #F2C14E;
	--aqm-claro: #E6F2F1;
	--aqm-pad: clamp(1.25rem, 4vw, 2.5rem);
}

body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(.wp-site-blocks) > main { margin-block-start: 0; }
img { height: auto; max-width: 100%; }
:focus-visible { outline: 3px solid var(--aqm-boia); outline-offset: 3px; }

/* ---------- Cabeçalho ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
body.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.wp-block-template-part { top: 46px; } }

.aqm-header { background: var(--aqm-abismo); color: var(--aqm-claro); padding: 0.75rem var(--aqm-pad); gap: 1.5rem; }
.aqm-header .aqm-logo { margin: 0; flex-shrink: 0; }
.aqm-header .aqm-logo img { width: 128px; display: block; }
.aqm-header .aqm-nav { font-weight: 600; font-size: 0.98rem; margin-left: auto; }
.aqm-header .aqm-nav a { color: var(--aqm-claro); text-decoration: none; }
.aqm-header .aqm-nav a:hover { color: var(--aqm-boia); }
.aqm-header .aqm-header-cta .wp-block-button__link { padding: 0.6em 1.1em; font-size: 0.95rem; }
.aqm-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--aqm-abismo); color: var(--aqm-claro); padding: 2rem; }
.aqm-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.4rem; }
@media (max-width: 600px) {
	.aqm-header .aqm-header-cta { display: none; }
	.aqm-header .aqm-logo img { width: 108px; }
}

/* ---------- Seções e profundidade ---------- */
.aqm-section { padding: clamp(4rem, 9vw, 7.5rem) var(--aqm-pad); margin: 0; }
.aqm-espuma { background: var(--aqm-espuma); color: var(--aqm-abismo); }
.aqm-rasa { background: var(--aqm-rasa); color: var(--aqm-abismo); }
.aqm-verde { background: var(--aqm-verde); color: #fff; }
.aqm-fundo { background: var(--aqm-fundo); color: var(--aqm-claro); }
.aqm-abismo { background: var(--aqm-abismo); color: var(--aqm-claro); }
.aqm-verde a:not(.wp-block-button__link),
.aqm-fundo a:not(.wp-block-button__link),
.aqm-abismo a:not(.wp-block-button__link) { color: var(--aqm-boia); }

.aqm-lead { font-size: 1.2rem; line-height: 1.6; max-width: 40ch; }
.aqm-note { font-size: 0.95rem; opacity: 0.8; }

.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: currentColor; border: 2px solid currentColor; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255,255,255,0.12); }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: #F7D27A; }

/* ---------- Hero ---------- */
.aqm-hero { padding: var(--aqm-pad); align-items: flex-end; }
.aqm-hero .wp-block-cover__background {
	background: linear-gradient(to top, rgba(10,38,51,.92) 0%, rgba(10,38,51,.55) 38%, rgba(10,38,51,.05) 72%) !important;
	opacity: 1 !important;
}
.aqm-hero .wp-block-cover__inner-container { width: 100%; max-width: 1240px; margin-inline: auto; color: #fff; }
.aqm-hero h1 { font-size: clamp(2.8rem, 8vw, 6.25rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.035em; max-width: 11ch; margin: 0 0 1.25rem; }
.aqm-hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 46ch; margin: 0 0 2rem; }
.aqm-hero-short h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); max-width: 14ch; }

/* único momento de movimento: o título sobe da água ao carregar */
@media (prefers-reduced-motion: no-preference) {
	.aqm-hero .wp-block-cover__inner-container > * { animation: aqm-rise .9s cubic-bezier(.2,.7,.2,1) both; }
	.aqm-hero .wp-block-cover__inner-container > *:nth-child(2) { animation-delay: .12s; }
	.aqm-hero .wp-block-cover__inner-container > *:nth-child(3) { animation-delay: .24s; }
}
@keyframes aqm-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Lista de diferenciais ---------- */
.aqm-facts { list-style: none; padding: 0; margin: 0; }
.aqm-facts li { border-top: 1px solid rgba(10,38,51,.18); padding: 1rem 0; line-height: 1.45; }
.aqm-facts li:last-child { border-bottom: 1px solid rgba(10,38,51,.18); }
.aqm-facts strong { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 1.15rem; display: block; }
.aqm-fundo .aqm-facts li, .aqm-abismo .aqm-facts li, .aqm-verde .aqm-facts li { border-color: rgba(230,242,241,.25) !important; }

/* ---------- Imagens ---------- */
.aqm-photo { margin: 0; }
.aqm-photo img { border-radius: 4px; width: 100%; object-fit: cover; display: block; }
.aqm-photo-tall img { aspect-ratio: 4 / 5; }
.aqm-photo-wide img { aspect-ratio: 3 / 2; }
.aqm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { flex-direction: column; }
.aqm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 3; border-radius: 4px; }
.aqm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	position: static; background: none; color: inherit; text-shadow: none;
	font-size: 0.9rem; font-weight: 600; padding: 0.5rem 0 0; text-align: left; max-height: none;
}
.aqm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before { display: none; }

/* ---------- Mergulho ---------- */
.aqm-dive-big { font-size: clamp(2.4rem, 5.5vw, 4.25rem) !important; max-width: 14ch; }

/* ---------- FAQ ---------- */
.aqm-faq .wp-block-details { border-top: 1px solid rgba(230,242,241,.22); padding: 1.1rem 0; margin: 0; }
.aqm-faq .wp-block-details:last-of-type { border-bottom: 1px solid rgba(230,242,241,.22); }
.aqm-faq summary { cursor: pointer; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.aqm-faq summary::-webkit-details-marker { display: none; }
.aqm-faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--aqm-boia); transition: transform .2s ease; }
.aqm-faq details[open] summary::after { transform: rotate(45deg); }
.aqm-faq details > p { margin: 0.75rem 0 0; opacity: .88; }
.aqm-map iframe { width: 100%; height: 320px; border: 0; border-radius: 4px; display: block; }

/* ---------- Rodapé ---------- */
.aqm-footer { background: var(--aqm-abismo-2); color: var(--aqm-claro); padding: clamp(3.5rem, 7vw, 5.5rem) var(--aqm-pad) 2rem; }
.aqm-footer a:not(.wp-block-button__link) { color: var(--aqm-claro); }
.aqm-footer a:not(.wp-block-button__link):hover { color: var(--aqm-boia); }
.aqm-footer-cta h2 { max-width: 18ch; margin: 0; }
.aqm-footer .aqm-logo img { width: 150px; }
.aqm-footer-links { list-style: none; padding: 0; margin: 0; line-height: 2; }
.aqm-legal { font-size: 0.85rem; opacity: .6; border-top: 1px solid rgba(230,242,241,.15); padding-top: 1.5rem; margin-top: 3rem !important; }

/* ---------- WhatsApp flutuante ---------- */
.aqm-wa {
	position: fixed; right: 18px; bottom: 18px; z-index: 60;
	display: inline-flex; align-items: center; gap: .5rem;
	background: #25D366; color: #0A2633; font-weight: 700; text-decoration: none;
	padding: .7rem 1.1rem .7rem .8rem; border-radius: 999px; box-shadow: 0 6px 20px rgba(7,27,36,.35);
}
.aqm-wa:hover { background: #3be07a; }
@media (max-width: 600px) { .aqm-wa span { display: none; } .aqm-wa { padding: .8rem; } }

/* ---------- Páginas genéricas ---------- */
.aqm-page-title { padding: clamp(3rem, 7vw, 5rem) var(--aqm-pad) 1rem; margin: 0; }
.aqm-page-content { padding: 0 var(--aqm-pad) clamp(3rem, 7vw, 5rem); }

/* ---------- Grade de cards (O que fazer) ---------- */
.aqm-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.aqm-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.aqm-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.aqm-grid > * { margin: 0 !important; }
.aqm-card > * + * { margin-top: 0.75rem; }
.aqm-card h3 { margin-top: 1rem; }
.aqm-card .aqm-photo-wide img { aspect-ratio: 4 / 3; }
.aqm-meta { list-style: none; padding: 0; font-size: 0.95rem; line-height: 1.5; }
.aqm-meta li + li { margin-top: 0.2rem; }
.aqm-price { font-size: 1.1rem; }
.aqm-links { font-size: 0.95rem; font-weight: 600; }
.aqm-hero .is-style-outline .wp-block-button__link { padding: 0.55em 1em; font-size: 0.95rem; }

/* tabela de praias */
.aqm-table { margin-top: 2rem; overflow-x: auto; }
.aqm-table table { border-collapse: collapse; width: 100%; min-width: 480px; }
.aqm-table th, .aqm-table td { border: 0; border-bottom: 1px solid rgba(10,38,51,.15); padding: 0.7rem 0.5rem; text-align: left; }
.aqm-table thead th { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; border-bottom: 2px solid var(--aqm-abismo); }
.aqm-table thead { border: 0; }

/* ---------- Título de destaque no hero (Home e Réveillon) ---------- */
.aqm-hero h1.aqm-hero-statement {
	font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; line-height: 1.1;
	letter-spacing: -0.02em; max-width: 24ch; margin-bottom: 1rem;
}
.aqm-kicker { font-weight: 700; letter-spacing: 0.02em; color: var(--aqm-boia); margin: 0 0 0.5rem !important; font-size: 1.05rem !important; }
.aqm-rasa .aqm-table table { min-width: 640px; }
.aqm-table td strong { font-weight: 700; }
