/*
Theme Name: Coroa de Flores Guarulhos
Theme URI: https://www.coroadefloresguarulhos.net.br
Author: Coroa de Flores Guarulhos
Author URI: https://www.coroadefloresguarulhos.net.br
Description: Tema WordPress para catálogo de coroas de flores em Guarulhos. Identidade visual em azul-marinho, azul-petróleo e champanhe, com catálogo administrável, botões de WhatsApp integrados e importador de produtos.
Version: 1.0.0
Requires at least: 6.0
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: coroa-de-flores-guarulhos
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* =========================================================
   0. TOKENS DE DESIGN
   ========================================================= */
:root {
	/* Paleta base */
	--cf-navy: #23364D;
	--cf-navy-deep: #1A293B;
	--cf-petrol: #356B73;
	--cf-petrol-dark: #2A565D;
	--cf-petrol-soft: #E2ECED;
	--cf-champagne: #E7D8BE;
	--cf-champagne-deep: #C9B48C;
	--cf-champagne-soft: #F4EDDD;
	--cf-paper: #FAF8F4;
	--cf-mist: #E8E9E7;
	--cf-mist-soft: #F1F1EE;
	--cf-ink: #303840;
	--cf-muted: #5B6670;
	--cf-white: #FFFFFF;

	/* Papéis semânticos */
	--cf-bg: var(--cf-paper);
	--cf-surface: var(--cf-white);
	--cf-border: #DDDAD2;
	--cf-text: var(--cf-ink);
	--cf-text-muted: var(--cf-muted);
	--cf-heading: var(--cf-navy);
	--cf-accent: var(--cf-petrol);
	--cf-focus: var(--cf-petrol);

	/* Tipografia */
	--cf-font-display: "Newsreader", Georgia, "Times New Roman", serif;
	--cf-font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--cf-fs-xs: 0.8125rem;
	--cf-fs-sm: 0.9375rem;
	--cf-fs-base: 1.0625rem;
	--cf-fs-md: 1.2rem;
	--cf-fs-h3: 1.35rem;
	--cf-fs-h2: clamp(1.85rem, 3.2vw, 2.75rem);
	--cf-fs-h1: clamp(2.4rem, 5vw, 4.1rem);

	/* Espaçamento */
	--cf-space-1: 0.5rem;
	--cf-space-2: 1rem;
	--cf-space-3: 1.5rem;
	--cf-space-4: 2.5rem;
	--cf-space-5: 4rem;
	--cf-section-y: clamp(3.5rem, 8vw, 6.5rem);

	/* Forma */
	--cf-radius-xs: 8px;
	--cf-radius-sm: 12px;
	--cf-radius-md: 20px;
	--cf-radius-lg: 28px;
	--cf-max-width: 1200px;
	--cf-shadow-sm: 0 1px 2px rgba(35, 54, 77, 0.06), 0 10px 26px -14px rgba(35, 54, 77, 0.2);
	--cf-shadow-md: 0 2px 4px rgba(35, 54, 77, 0.06), 0 22px 44px -20px rgba(35, 54, 77, 0.34);
	--cf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   1. RESET E BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
	margin: 0;
	background: var(--cf-bg);
	color: var(--cf-text);
	font-family: var(--cf-font-body);
	font-size: var(--cf-fs-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.cf-nav-open { overflow: hidden; }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
figure { margin: 0; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--cf-focus);
	outline-offset: 3px;
	border-radius: 4px;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	background: var(--cf-navy);
	color: var(--cf-paper);
	padding: 0.75rem 1.25rem;
	z-index: 10000;
	border-radius: var(--cf-radius-xs);
	transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

.screen-reader-text,
.cf-visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* =========================================================
   2. TIPOGRAFIA
   ========================================================= */
h1, h2, h3, h4 {
	font-family: var(--cf-font-display);
	font-weight: 500;
	line-height: 1.14;
	color: var(--cf-heading);
	margin: 0 0 0.55em;
	letter-spacing: -0.012em;
}
h1 { font-size: var(--cf-fs-h1); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: var(--cf-fs-h2); }
h3 { font-size: var(--cf-fs-h3); }
h4 { font-size: var(--cf-fs-md); }
p { margin: 0 0 1.1em; max-width: 64ch; }
.cf-lede { font-size: var(--cf-fs-md); color: var(--cf-text-muted); max-width: 48ch; line-height: 1.6; }

.cf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cf-petrol);
}
.cf-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--cf-champagne-deep);
}

.cf-section-heading { max-width: 640px; margin-bottom: var(--cf-space-4); }
.cf-section-heading h2 { margin-bottom: 0.4em; }
.cf-section-heading p:not(.cf-eyebrow) { margin: 0; color: var(--cf-text-muted); }
.cf-section-heading--center { margin-left: auto; margin-right: auto; text-align: center; }
.cf-section-heading--center p { margin-left: auto; margin-right: auto; }
.cf-section-heading--center .cf-eyebrow::after {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--cf-champagne-deep);
}

/* =========================================================
   3. LAYOUT
   ========================================================= */
.cf-container {
	width: 100%;
	max-width: var(--cf-max-width);
	margin: 0 auto;
	padding: 0 var(--cf-space-3);
}
.cf-section { padding: var(--cf-section-y) 0; }
.cf-section--white { background: var(--cf-white); }
.cf-section--catalog { background: var(--cf-mist-soft); }
.cf-section--tight { padding-top: var(--cf-space-4); }

/* Bloco em duas colunas: título à esquerda, conteúdo à direita */
.cf-split {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}
.cf-split__head { margin-bottom: 0; position: sticky; top: 7rem; }

@media (max-width: 900px) {
	.cf-split { grid-template-columns: 1fr; }
	.cf-split__head { position: static; margin-bottom: var(--cf-space-3); }
}
@media (max-width: 600px) {
	.cf-container { padding: 0 var(--cf-space-2); }
}

/* =========================================================
   4. BOTÕES (base — o WhatsApp está em whatsapp.css)
   ========================================================= */
.cf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 0.85em 1.5em;
	border-radius: var(--cf-radius-sm);
	font-size: var(--cf-fs-sm);
	font-weight: 600;
	line-height: 1.2;
	border: 1.5px solid transparent;
	text-align: center;
	white-space: normal;
	transition: background-color 0.2s var(--cf-ease), color 0.2s var(--cf-ease), border-color 0.2s var(--cf-ease), transform 0.2s var(--cf-ease), box-shadow 0.2s var(--cf-ease);
}
.cf-btn:hover { transform: translateY(-2px); }
.cf-btn:active { transform: translateY(0); }
.cf-btn svg { width: 1.15em; height: 1.15em; flex: none; }

.cf-btn--outline {
	background: var(--cf-white);
	color: var(--cf-navy);
	border-color: var(--cf-navy);
}
.cf-btn--outline:hover { background: var(--cf-navy); color: var(--cf-paper); }

.cf-btn--navy { background: var(--cf-navy); color: var(--cf-paper); }
.cf-btn--navy:hover { background: var(--cf-navy-deep); }

.cf-btn--block { width: 100%; }
.cf-btn--sm { padding: 0.6em 1.05em; font-size: var(--cf-fs-xs); }
.cf-btn--lg { padding: 1em 1.7em; font-size: 1rem; }

.cf-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	color: var(--cf-navy);
	font-weight: 600;
	padding-bottom: 0.15em;
	border-bottom: 1.5px solid var(--cf-champagne-deep);
	transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s var(--cf-ease);
}
.cf-link svg { width: 1.1em; height: 1.1em; }
.cf-link:hover { color: var(--cf-petrol); border-color: var(--cf-petrol); gap: 0.8em; }

/* =========================================================
   5. FAIXA SUPERIOR + CABEÇALHO
   ========================================================= */
.cf-topbar {
	background: var(--cf-navy);
	color: rgba(250, 248, 244, 0.86);
	font-size: var(--cf-fs-xs);
}
.cf-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--cf-space-2);
	min-height: 38px;
}
.cf-topbar p { margin: 0; max-width: none; }
.cf-topbar__msg { display: flex; align-items: center; gap: 0.5rem; }
.cf-topbar svg { width: 15px; height: 15px; flex: none; color: var(--cf-champagne); }
.cf-topbar__list { display: flex; align-items: center; gap: 1.5rem; }
.cf-topbar__list li { display: flex; align-items: center; gap: 0.45rem; }
.cf-topbar a:hover { color: var(--cf-champagne); }

@media (max-width: 700px) {
	.cf-topbar__list { display: none; }
	.cf-topbar__inner { justify-content: center; }
}

.cf-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(250, 248, 244, 0.97);
	border-bottom: 1px solid var(--cf-border);
	transition: box-shadow 0.25s ease;
}
.cf-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(35, 54, 77, 0.4); }
.admin-bar .cf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cf-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .cf-header { top: 0; } }

.cf-header__inner {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--cf-space-3);
	min-height: 80px;
}

.cf-brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.cf-brand .custom-logo-link { display: inline-flex; align-items: center; }
.cf-brand img.custom-logo { max-height: 56px; width: auto; max-width: 240px; }
.cf-brand__link { display: inline-flex; align-items: center; gap: 0.65rem; }
.cf-brand__mark {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	background: var(--cf-navy);
	color: var(--cf-champagne);
}
.cf-brand__mark svg { width: 24px; height: 24px; }
.cf-brand__name {
	font-family: var(--cf-font-display);
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--cf-navy);
	line-height: 1.1;
}

.cf-nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.cf-menu { display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.75rem); }
.cf-menu a {
	position: relative;
	display: block;
	padding: 0.5em 0.15em;
	font-size: var(--cf-fs-sm);
	font-weight: 500;
	color: var(--cf-ink);
	transition: color 0.2s ease;
}
.cf-menu a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0.1em;
	height: 2px;
	border-radius: 2px;
	background: var(--cf-champagne-deep);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--cf-ease);
}
.cf-menu a:hover,
.cf-menu .current-menu-item > a,
.cf-menu .current_page_item > a { color: var(--cf-petrol); }
.cf-menu a:hover::after,
.cf-menu .current-menu-item > a::after,
.cf-menu .current_page_item > a::after { transform: scaleX(1); }

/* Submenus (opcional) */
.cf-menu li { position: relative; }
.cf-menu .sub-menu {
	position: absolute;
	top: 100%; left: -0.75rem;
	min-width: 220px;
	padding: 0.5rem;
	background: var(--cf-white);
	border: 1px solid var(--cf-border);
	border-radius: var(--cf-radius-sm);
	box-shadow: var(--cf-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.cf-menu li:hover > .sub-menu,
.cf-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cf-menu .sub-menu a { padding: 0.55em 0.75em; border-radius: var(--cf-radius-xs); }
.cf-menu .sub-menu a:hover { background: var(--cf-mist-soft); }
.cf-menu .sub-menu a::after { display: none; }

.cf-nav__cta { display: none; }
.cf-nav-backdrop { display: none; }

.cf-header__actions { position: relative; z-index: 5; display: flex; align-items: center; gap: 0.75rem; flex: none; }

.cf-menu-toggle {
	display: none;
	width: 46px; height: 46px;
	align-items: center;
	justify-content: center;
	background: var(--cf-white);
	border: 1.5px solid var(--cf-border);
	border-radius: var(--cf-radius-sm);
	padding: 0;
}
.cf-menu-toggle__bars,
.cf-menu-toggle__bars::before,
.cf-menu-toggle__bars::after {
	display: block;
	width: 20px; height: 2px;
	border-radius: 2px;
	background: var(--cf-navy);
	transition: transform 0.25s var(--cf-ease), background-color 0.2s;
}
.cf-menu-toggle__bars { position: relative; }
.cf-menu-toggle__bars::before,
.cf-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.cf-menu-toggle__bars::before { top: -6px; }
.cf-menu-toggle__bars::after { top: 6px; }
.cf-menu-toggle.is-active .cf-menu-toggle__bars { background: transparent; }
.cf-menu-toggle.is-active .cf-menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.cf-menu-toggle.is-active .cf-menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
	.cf-header__inner { min-height: 68px; }
	.cf-brand img.custom-logo { max-height: 46px; max-width: 190px; }
	.cf-menu-toggle { display: inline-flex; }

	.cf-nav {
		position: fixed;
		top: 0; right: 0; bottom: 0;
		z-index: 4;
		width: min(86vw, 360px);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: var(--cf-space-3);
		padding: 5.5rem var(--cf-space-3) var(--cf-space-3);
		background: var(--cf-paper);
		box-shadow: -18px 0 40px -24px rgba(26, 41, 59, 0.5);
		overflow-y: auto;
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 0.3s var(--cf-ease), visibility 0s linear 0.3s;
	}
	.cf-nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
	.admin-bar .cf-nav { top: 46px; }
	@media (max-width: 600px) { .admin-bar .cf-nav { top: 0; } }

	.cf-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.cf-menu > li { border-bottom: 1px solid var(--cf-border); }
	.cf-menu a { padding: 1rem 0.25rem; font-size: 1.1rem; font-family: var(--cf-font-display); }
	.cf-menu a::after { display: none; }
	.cf-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; padding: 0 0 0.5rem 1rem; background: none;
	}
	.cf-nav__cta { display: block; margin-top: auto; }

	.cf-nav-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1;
		background: rgba(26, 41, 59, 0.5);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}
	body.cf-nav-open .cf-nav-backdrop { opacity: 1; pointer-events: auto; }
	body.cf-nav-open .cf-float-whatsapp { opacity: 0; pointer-events: none; }
}

/* Botão de WhatsApp do cabeçalho vira ícone em telas pequenas */
@media (max-width: 560px) {
	.cf-header__inner { gap: 0.75rem; }
	.cf-brand__mark { width: 36px; height: 36px; flex: none; }
	.cf-brand__mark svg { width: 20px; height: 20px; }
	.cf-brand__name { font-size: 1.1rem; }
	.cf-header__wa { padding: 0; width: 46px; height: 46px; border-radius: var(--cf-radius-sm); }
	.cf-header__wa span {
		position: absolute; width: 1px; height: 1px; overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
	}
	.cf-header__wa svg { width: 22px; height: 22px; }
}

/* =========================================================
   6. HERO
   ========================================================= */
.cf-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 5rem) 0 0;
	background:
		radial-gradient(55% 70% at 100% 0%, rgba(231, 216, 190, 0.55), transparent 65%),
		radial-gradient(40% 50% at 0% 100%, rgba(226, 236, 237, 0.9), transparent 70%),
		var(--cf-paper);
}
.cf-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.cf-hero h1 { margin-bottom: 0.45em; max-width: 14ch; }
.cf-hero .cf-lede { margin-bottom: 0; }
.cf-hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: var(--cf-space-3); }
.cf-hero__actions--center { justify-content: center; }

.cf-hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.5rem;
	margin-top: var(--cf-space-4);
	padding-top: var(--cf-space-3);
	border-top: 1px solid rgba(201, 180, 140, 0.55);
}
.cf-hero__points li { display: flex; align-items: center; gap: 0.55rem; font-size: var(--cf-fs-sm); font-weight: 500; color: var(--cf-ink); }
.cf-hero__points svg { width: 20px; height: 20px; color: var(--cf-petrol); flex: none; }

.cf-hero__visual { position: relative; width: 100%; max-width: 470px; margin-left: auto; padding: 0 14px 14px 0; }
.cf-hero__visual::before {
	content: "";
	position: absolute;
	inset: 14px 0 0 14px;
	border: 1.5px solid var(--cf-champagne-deep);
	border-radius: 999px 999px var(--cf-radius-md) var(--cf-radius-md);
}
.cf-hero__figure {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 999px 999px var(--cf-radius-md) var(--cf-radius-md);
	background: var(--cf-mist);
	box-shadow: var(--cf-shadow-md);
}
.cf-hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.cf-hero__figure--empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: 100%; height: 100%;
	padding: 2rem;
	text-align: center;
	font-size: var(--cf-fs-sm);
	color: var(--cf-text-muted);
	background: linear-gradient(160deg, var(--cf-petrol-soft), var(--cf-champagne-soft));
}
.cf-hero__figure--empty svg { width: 72px; height: 72px; color: var(--cf-petrol); opacity: 0.55; }

.cf-hero__note {
	position: absolute;
	left: -2rem;
	bottom: 3rem;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	max-width: 280px;
	padding: 0.85rem 1.1rem 0.85rem 0.85rem;
	background: var(--cf-white);
	border-radius: var(--cf-radius-md);
	box-shadow: var(--cf-shadow-md);
}
.cf-hero__note-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px; height: 42px;
	border-radius: 50%;
	background: var(--cf-petrol);
	color: var(--cf-white);
}
.cf-hero__note-icon svg { width: 22px; height: 22px; }
.cf-hero__note strong { display: block; font-size: var(--cf-fs-sm); color: var(--cf-navy); line-height: 1.3; }
.cf-hero__note div span { display: block; font-size: var(--cf-fs-xs); color: var(--cf-text-muted); line-height: 1.35; }

.cf-hero__cats {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding: 1.25rem 0;
	border-top: 1px solid rgba(201, 180, 140, 0.55);
}
.cf-hero__cats-label { font-size: var(--cf-fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cf-text-muted); }
.cf-hero__cats ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cf-hero__cats a {
	display: inline-block;
	padding: 0.45em 1.05em;
	border: 1px solid var(--cf-border);
	border-radius: 999px;
	background: var(--cf-white);
	font-size: var(--cf-fs-sm);
	font-weight: 500;
	color: var(--cf-navy);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cf-hero__cats a:hover { background: var(--cf-navy); border-color: var(--cf-navy); color: var(--cf-paper); }

@media (max-width: 900px) {
	.cf-hero__grid { grid-template-columns: 1fr; }
	.cf-hero h1 { max-width: none; }
	.cf-hero__visual { margin: 0 auto; max-width: 400px; }
	.cf-hero__note { left: 0.75rem; bottom: 2rem; }
}
@media (max-width: 480px) {
	.cf-hero__actions .cf-btn { width: 100%; }
	.cf-hero__note { max-width: 240px; }
}

/* =========================================================
   7. COMO FUNCIONA (faixa azul-marinho)
   ========================================================= */
.cf-band--navy { background: var(--cf-navy); color: rgba(250, 248, 244, 0.82); position: relative; overflow: hidden; }
.cf-band--navy::before {
	content: "";
	position: absolute;
	width: 520px; height: 520px;
	right: -200px; top: -260px;
	border: 1px solid rgba(231, 216, 190, 0.16);
	border-radius: 50%;
	pointer-events: none;
}
.cf-band--navy h2, .cf-band--navy h3 { color: var(--cf-paper); }
.cf-band--navy .cf-eyebrow { color: var(--cf-champagne); }
.cf-band--navy .cf-section-heading p:not(.cf-eyebrow) { color: rgba(250, 248, 244, 0.78); }

.cf-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--cf-space-3);
	counter-reset: none;
}
.cf-steps::before {
	content: "";
	position: absolute;
	top: 27px;
	left: 12%; right: 12%;
	height: 1px;
	background: repeating-linear-gradient(90deg, rgba(231, 216, 190, 0.5) 0 6px, transparent 6px 12px);
}
.cf-step { position: relative; text-align: center; padding: 0 0.5rem; }
.cf-step__num {
	position: relative;
	display: grid;
	place-items: center;
	width: 54px; height: 54px;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	background: var(--cf-navy);
	border: 1.5px solid var(--cf-champagne);
	font-family: var(--cf-font-display);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--cf-champagne);
}
.cf-step h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.cf-step p { margin: 0 auto; font-size: var(--cf-fs-sm); color: rgba(250, 248, 244, 0.76); }

@media (max-width: 900px) {
	.cf-steps { grid-template-columns: 1fr 1fr; row-gap: var(--cf-space-4); }
	.cf-steps::before { display: none; }
}
@media (max-width: 560px) {
	.cf-steps { grid-template-columns: 1fr; gap: 0; }
	.cf-step { display: grid; grid-template-columns: 54px 1fr; column-gap: 1rem; text-align: left; padding: 0 0 var(--cf-space-3); }
	.cf-step::before {
		content: ""; position: absolute; left: 27px; top: 54px; bottom: 0; width: 1px;
		background: rgba(231, 216, 190, 0.35);
	}
	.cf-step:last-child::before { display: none; }
	.cf-step__num { grid-row: span 2; margin: 0; }
	.cf-step h3 { margin: 0.7rem 0 0.25rem; }
	.cf-step p { margin: 0; }
}

/* =========================================================
   8. ATENDIMENTO / ÓBITO (chamada de ajuda)
   ========================================================= */
.cf-callout {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: var(--cf-space-4);
	align-items: center;
	overflow: hidden;
	padding: clamp(2rem, 5vw, 4rem);
	background: linear-gradient(120deg, var(--cf-champagne-soft), var(--cf-petrol-soft));
	border: 1px solid rgba(201, 180, 140, 0.6);
	border-radius: var(--cf-radius-lg);
}
.cf-callout h2 { margin-bottom: 0.35em; }
.cf-callout p { color: var(--cf-ink); }
.cf-callout__status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0.35em 0.9em;
	border-radius: 999px;
	background: var(--cf-white);
	font-size: var(--cf-fs-xs);
	font-weight: 600;
	color: var(--cf-petrol-dark);
}
.cf-callout__actions { display: flex; margin-top: 0.5rem; }
.cf-callout__art { position: relative; display: grid; place-items: center; min-height: 220px; }
.cf-callout__arch {
	position: absolute;
	inset: 0 14% 0 14%;
	border: 1.5px solid var(--cf-champagne-deep);
	border-radius: 999px 999px 0 0;
	border-bottom: 0;
}
.cf-callout__art svg { position: relative; width: 84px; height: 84px; color: var(--cf-petrol); opacity: 0.8; }

@media (max-width: 780px) {
	.cf-callout { grid-template-columns: 1fr; }
	.cf-callout__art { display: none; }
}

/* =========================================================
   9. DIFERENCIAIS (lista com ícones)
   ========================================================= */
.cf-features { display: grid; gap: 0; }
.cf-feature {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 1.25rem;
	padding: 1.6rem 0;
	border-top: 1px solid var(--cf-border);
}
.cf-feature:last-child { border-bottom: 1px solid var(--cf-border); }
.cf-feature__icon {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--cf-petrol-soft);
	color: var(--cf-petrol);
	transition: background-color 0.25s ease, color 0.25s ease;
}
.cf-feature__icon svg { width: 26px; height: 26px; }
.cf-feature:hover .cf-feature__icon { background: var(--cf-petrol); color: var(--cf-white); }
.cf-feature h3 { font-size: 1.3rem; margin-bottom: 0.25em; }
.cf-feature p { margin: 0; color: var(--cf-text-muted); font-size: var(--cf-fs-sm); }

/* =========================================================
   10. ORIENTAÇÕES (cartões numerados por ícone)
   ========================================================= */
.cf-section--guide { background: var(--cf-mist-soft); }
.cf-guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--cf-space-2); }
.cf-guide__item {
	padding: 1.75rem 1.5rem;
	background: var(--cf-white);
	border: 1px solid var(--cf-border);
	border-top: 3px solid var(--cf-champagne-deep);
	border-radius: var(--cf-radius-sm);
	transition: transform 0.25s var(--cf-ease), box-shadow 0.25s var(--cf-ease);
}
.cf-guide__item:hover { transform: translateY(-4px); box-shadow: var(--cf-shadow-sm); }
.cf-guide__icon { display: block; width: 34px; height: 34px; margin-bottom: 1rem; color: var(--cf-petrol); }
.cf-guide__icon svg { width: 100%; height: 100%; }
.cf-guide__item h3 { font-size: 1.2rem; }
.cf-guide__item p { margin: 0; font-size: var(--cf-fs-sm); color: var(--cf-text-muted); }

@media (max-width: 1000px) { .cf-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cf-guide { grid-template-columns: 1fr; } }

/* =========================================================
   11. ÁREA DE ATENDIMENTO
   ========================================================= */
.cf-area {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(1.5rem, 5vw, 4rem);
	align-items: center;
	padding: clamp(2rem, 5vw, 3.5rem);
	background: var(--cf-petrol-soft);
	border-radius: var(--cf-radius-lg);
}
.cf-area .cf-section-heading { margin-bottom: 0; }
.cf-area__list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cf-area__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55em 1.05em;
	border-radius: 999px;
	background: var(--cf-white);
	border: 1px solid rgba(53, 107, 115, 0.18);
	font-size: var(--cf-fs-sm);
	color: var(--cf-navy);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.cf-area__chip svg { width: 16px; height: 16px; color: var(--cf-petrol); flex: none; }
.cf-area__chip:hover { background: var(--cf-petrol); color: var(--cf-white); }
.cf-area__chip:hover svg { color: var(--cf-champagne); }
@media (max-width: 800px) { .cf-area { grid-template-columns: 1fr; } }

/* =========================================================
   12. FAQ
   ========================================================= */
.cf-faq-help { margin-top: var(--cf-space-3); padding-top: var(--cf-space-3); border-top: 1px solid var(--cf-border); }
.cf-section-heading .cf-faq-help p { margin: 0 0 1rem; color: var(--cf-text-muted); font-size: var(--cf-fs-sm); }
.cf-faq { display: grid; gap: 0.75rem; }
.cf-faq-item {
	background: var(--cf-paper);
	border: 1px solid var(--cf-border);
	border-radius: var(--cf-radius-sm);
	overflow: hidden;
	transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.cf-faq-item:hover { border-color: var(--cf-champagne-deep); }
.cf-faq-item[data-open="true"] { background: var(--cf-white); border-color: var(--cf-petrol); box-shadow: var(--cf-shadow-sm); }
.cf-faq-item h3 { margin: 0; font-size: inherit; }
.cf-faq-item__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	background: none;
	border: 0;
	text-align: left;
	font-family: var(--cf-font-display);
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--cf-navy);
}
.cf-faq-item__icon {
	position: relative;
	flex: none;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--cf-petrol-soft);
}
.cf-faq-item__icon::before,
.cf-faq-item__icon::after {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	background: var(--cf-petrol);
	transform: translate(-50%, -50%);
	transition: transform 0.25s var(--cf-ease);
}
.cf-faq-item__icon::before { width: 12px; height: 2px; }
.cf-faq-item__icon::after { width: 2px; height: 12px; }
.cf-faq-item[data-open="true"] .cf-faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.cf-faq-item__a {
	max-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: max-height 0.3s var(--cf-ease), visibility 0s linear 0.3s;
}
.cf-faq-item[data-open="true"] .cf-faq-item__a { visibility: visible; transition-delay: 0s; }
.cf-faq-item__a p { margin: 0; padding: 0 1.35rem 1.3rem; color: var(--cf-text-muted); max-width: none; }

/* =========================================================
   13. CONTATO
   ========================================================= */
.cf-section--contact { background: var(--cf-paper); }
.cf-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: stretch;
	padding: clamp(1.5rem, 4vw, 3rem);
	background: var(--cf-white);
	border: 1px solid var(--cf-border);
	border-radius: var(--cf-radius-lg);
	box-shadow: var(--cf-shadow-sm);
}
.cf-contact__lede { color: var(--cf-text-muted); }
.cf-contact__list { display: grid; gap: 0.25rem; margin: var(--cf-space-3) 0; }
.cf-contact__item { display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.85rem 0; border-top: 1px solid var(--cf-border); }
.cf-contact__icon {
	display: grid; place-items: center; flex: none;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--cf-petrol-soft);
	color: var(--cf-petrol);
}
.cf-contact__icon svg { width: 20px; height: 20px; }
.cf-contact__item strong { display: block; font-size: var(--cf-fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cf-text-muted); }
.cf-contact__map { min-height: 320px; border-radius: var(--cf-radius-md); overflow: hidden; border: 1px solid var(--cf-border); }
.cf-contact__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.cf-contact__visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 300px;
	overflow: hidden;
	border-radius: var(--cf-radius-md);
	background: linear-gradient(160deg, var(--cf-petrol), var(--cf-navy));
}
.cf-contact__arch {
	position: absolute;
	inset: 12% 22% 0 22%;
	border: 1.5px solid rgba(231, 216, 190, 0.5);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
}
.cf-contact__visual svg { position: relative; width: 96px; height: 96px; color: var(--cf-champagne); }
@media (max-width: 900px) {
	.cf-contact { grid-template-columns: 1fr; }
	.cf-contact__visual { min-height: 200px; }
}

/* =========================================================
   14. RODAPÉ
   ========================================================= */
.cf-footer {
	background: var(--cf-navy);
	color: rgba(250, 248, 244, 0.78);
	padding: var(--cf-space-5) 0 var(--cf-space-3);
	border-top: 3px solid var(--cf-champagne-deep);
}
.cf-footer a { transition: color 0.2s ease; }
.cf-footer a:hover { color: var(--cf-champagne); }
.cf-footer p { font-size: var(--cf-fs-sm); max-width: 38ch; }

.cf-footer__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--cf-space-3);
	flex-wrap: wrap;
	margin-bottom: var(--cf-space-5);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(231, 216, 190, 0.22);
	border-radius: var(--cf-radius-md);
}
.cf-footer__cta p { margin: 0; max-width: none; }
.cf-footer .cf-footer__cta-title { font-family: var(--cf-font-display); font-size: 1.55rem; font-weight: 500; color: var(--cf-paper); line-height: 1.2; }
.cf-footer__cta .cf-footer__cta-text { margin-top: 0.3rem; }

.cf-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--cf-space-4); }
.cf-footer__logo { margin-bottom: 1rem; display: flex; align-items: center; }
.cf-footer__logo .custom-logo-link { display: inline-flex; align-items: center; }
.cf-footer__logo img.custom-logo { max-height: 64px; width: auto; max-width: 240px; filter: brightness(0) invert(1); opacity: 0.96; }
.cf-footer__brand { font-family: var(--cf-font-display); font-size: 1.5rem; font-weight: 600; color: var(--cf-paper); }
.cf-footer h4 {
	margin-bottom: 1rem;
	font-family: var(--cf-font-body);
	font-size: var(--cf-fs-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cf-champagne);
}
.cf-footer ul li { margin-bottom: 0.6rem; font-size: var(--cf-fs-sm); }
.cf-footer__contact li { display: flex; align-items: flex-start; gap: 0.6rem; }
.cf-footer__contact svg { width: 18px; height: 18px; margin-top: 0.2em; flex: none; color: var(--cf-champagne); }
.cf-footer__contact a, .cf-footer__contact span { overflow-wrap: anywhere; }
.cf-footer__social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.cf-footer__social a {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border: 1px solid rgba(231, 216, 190, 0.4);
	border-radius: 50%;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.cf-footer__social a:hover { background: var(--cf-champagne); color: var(--cf-navy); }
.cf-footer__social svg { width: 18px; height: 18px; }
.cf-footer__widgets { margin-top: var(--cf-space-4); }
.cf-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin-top: var(--cf-space-4);
	padding-top: 1.4rem;
	border-top: 1px solid rgba(250, 248, 244, 0.16);
	font-size: var(--cf-fs-xs);
	color: rgba(250, 248, 244, 0.68);
}
.cf-footer__menu ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.cf-footer__menu li { margin: 0; font-size: var(--cf-fs-xs); }

@media (max-width: 960px) { .cf-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
	.cf-footer__grid { grid-template-columns: 1fr; }
	.cf-footer__cta .cf-btn { width: 100%; }
	.cf-footer__bottom { padding-bottom: 4.5rem; }
}

/* =========================================================
   15. PÁGINAS, POSTS E BUSCA
   ========================================================= */
.cf-page-header,
.cf-archive-header {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
	background:
		radial-gradient(45% 120% at 100% 0%, rgba(231, 216, 190, 0.6), transparent 70%),
		var(--cf-mist-soft);
	border-bottom: 1px solid var(--cf-border);
}
.cf-page-header h1,
.cf-archive-header h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 0.3em; }
.cf-archive-header .cf-lede { margin-bottom: 0; }

.cf-breadcrumb { margin-bottom: 1rem; font-size: var(--cf-fs-xs); color: var(--cf-text-muted); }
.cf-breadcrumb a { color: var(--cf-petrol); border-bottom: 1px solid transparent; }
.cf-breadcrumb a:hover { border-color: var(--cf-petrol); }

.cf-entry-content { max-width: 78ch; margin: 0 auto; }
.cf-entry-content > * + * { margin-top: 1.2em; }
.cf-entry-content h2, .cf-entry-content h3 { margin-top: 1.6em; }
.cf-entry-content a { color: var(--cf-petrol); text-decoration: underline; text-underline-offset: 3px; }
.cf-entry-content ul, .cf-entry-content ol { padding-left: 1.4rem; }
.cf-entry-content ul li { list-style: disc; margin-bottom: 0.4em; }
.cf-entry-content ol li { list-style: decimal; margin-bottom: 0.4em; }
.cf-entry-content blockquote { margin: 1.5em 0; padding: 0.5em 1.5rem; border-left: 3px solid var(--cf-champagne-deep); font-family: var(--cf-font-display); font-size: 1.25rem; color: var(--cf-navy); }
.cf-entry-content img { border-radius: var(--cf-radius-sm); }
.cf-entry-content table { width: 100%; border-collapse: collapse; }
.cf-entry-content th, .cf-entry-content td { padding: 0.6em 0.8em; border: 1px solid var(--cf-border); text-align: left; }
.cf-entry-content__thumb { margin-bottom: 2rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: var(--cf-fs-xs); color: var(--cf-text-muted); }

.cf-404 { padding: var(--cf-section-y) 0; text-align: center; background: radial-gradient(50% 80% at 50% 0%, rgba(231, 216, 190, 0.5), transparent 70%); }
.cf-404 .cf-lede { margin-left: auto; margin-right: auto; }

.cf-comments { margin-top: var(--cf-space-5); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 0.8em 1em; margin-bottom: 1em;
	border: 1px solid var(--cf-border); border-radius: var(--cf-radius-xs);
	background: var(--cf-white); color: var(--cf-text);
}
.comment-list { margin-bottom: var(--cf-space-3); }
.comment-list li { list-style: none; margin-bottom: 1.2rem; }
.comment-form .submit {
	padding: 0.85em 1.6em; border: 0; border-radius: var(--cf-radius-sm);
	background: var(--cf-navy); color: var(--cf-paper); font-weight: 600;
}
.comment-form .submit:hover { background: var(--cf-navy-deep); }
