/*
Theme Name: Vale dos Reis
Theme URI: https://www.valledosreis.com.br
Author: Equipe do cliente
Author URI: https://www.valledosreis.com.br
Description: Reconstrução fiel, em tema WordPress tradicional e administrável, do site do Cemitério e Crematório Valle dos Reis (valledosreis.com.br). Jazigos, depoimentos e galeria de fotos são gerenciáveis pelo painel; textos e contatos, pelo Customizer.
Version: 2.3.9
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tema-jazigos
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

/* =====================================================================
   1. RESET & VARIÁVEIS
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
	--ink: #263242;
	--green: #263548;
	--gold: #b99b63;
	--cream: #dce5ef;
	--muted: #66717e;
	--line: #c9d3de;
	--shadow: 0 18px 50px rgba(38, 53, 72, .12);
	--radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ink);
	font: 16px/1.65 'DM Sans', Arial, sans-serif;
	background: #fff;
}
.container { width: min(1160px, calc(100% - 44px)); margin: auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { margin: 0; }

.xl, .lg, .md {
	font-family: 'Playfair Display', Georgia, serif;
	line-height: 1.1;
	font-weight: 600;
}
.xl { font-size: clamp(2.5rem, 6vw, 5rem); }
.lg { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 16px; }
.md { font-size: 1.5rem; margin-bottom: 10px; }

.eyebrow {
	margin: 0 0 10px;
	color: var(--gold);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 14px 24px;
	border: 1px solid var(--gold);
	background: var(--gold);
	color: #fff;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: var(--radius);
	transition: background .2s ease, color .2s ease;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn.light { border-color: #fff; background: #fff; color: var(--green); }
.btn.light:hover { background: transparent; color: #fff; }
.btn.small { padding: 10px 16px; font-size: .68rem; }

.link {
	color: var(--green);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
}
.link:hover { color: var(--gold); }

.center { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.center p:last-child { color: var(--muted); }

.section { padding: 100px 0; }
.section.cream { background: var(--cream); }

.form-note {
	padding: 18px 20px;
	background: #eef2f6;
	color: #66717e;
	border-radius: var(--radius);
}

/* =====================================================================
   2. HEADER
   ===================================================================== */
.site-header { position: relative; z-index: 20; background: #fff; }

.top { border-bottom: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.top .container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
	padding: 8px 0;
}
.top-hours { margin-right: 6px; font-weight: 600; color: var(--green); }
.top-phone { display: inline-flex; align-items: center; }
.top .container a { text-decoration: none; }
.top-whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 700;
	color: #159b62;
}

.head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 88px;
	gap: 25px;
}
.custom-logo-link img { max-width: 130px; max-height: 68px; width: auto; }
.brand {
	color: var(--green);
	font: 700 1.3rem 'Playfair Display', serif;
	text-decoration: none;
}

.nav ul { display: flex; gap: 30px; padding: 0; margin: 0; }
.nav a {
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--ink);
}
.nav a:hover { color: var(--gold); }

.toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 34px;
	height: 34px;
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
}
.toggle span {
	display: block;
	height: 2px;
	background: var(--green);
	transition: transform .2s ease, opacity .2s ease;
}
.toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   3. HERO
   ===================================================================== */
.hero {
	position: relative;
	display: grid;
	min-height: 640px;
	place-items: center;
	color: #fff;
	/* Fallback AZUL da paleta (nunca verde): fica visível apenas se
	   nenhuma imagem for configurada no Customizer. */
	background: linear-gradient(120deg, #263548 0%, #8095ab 100%);
	overflow: hidden;
}
/* Camadas: slides (1) < overlay (2) < conteúdo e controles (3/4).
   Antes os slides usavam z-index negativo dentro de um stacking context
   isolado, o que os deixava atrás do fundo sólido da própria .hero. */
.hero-slides,
.hero-slide,
.hero-overlay {
	position: absolute;
	inset: 0;
}
.hero-slides {
	z-index: 1;
}
.hero-slide {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	transform: scale(1.02);
	transition: opacity 1s ease, transform 6.5s ease;
	will-change: opacity;
}
.hero-slide.is-active {
	opacity: 1;
	transform: scale(1);
}
.hero-slide--fallback {
	background-image: linear-gradient(120deg, #263548 0%, #8095ab 100%);
}
.hero-overlay {
	z-index: 2;
	background: linear-gradient(90deg, rgba(38, 53, 72, .78) 0%, rgba(38, 53, 72, .52) 45%, rgba(38, 53, 72, .20) 100%);
}
.hero .container { padding: 90px 0; position: relative; z-index: 3; }
.hero-copy { max-width: 680px; text-shadow: 0 2px 18px rgba(38, 53, 72, .35); }
.hero .eyebrow { color: #d9c79e; }
.hero-text { max-width: 560px; margin: 22px 0 30px; font-size: 1.1rem; }
.hero-arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 50%;
	background: rgba(38, 53, 72, .38);
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-arrow:hover,
.hero-arrow:focus-visible {
	background: rgba(38, 53, 72, .72);
	border-color: #fff;
	transform: translateY(-50%) scale(1.04);
}
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-dots {
	position: absolute;
	bottom: 28px;
	left: 50%;
	z-index: 4;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}
.hero-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: width .2s ease, border-radius .2s ease, background .2s ease;
}
.hero-dot.is-active {
	width: 26px;
	border-radius: 8px;
	background: #fff;
}
@media (prefers-reduced-motion: reduce) {
	.hero-slide { transition: none; transform: none; }
}


/* =====================================================================
   4. INSTITUCIONAL + PILARES
   ===================================================================== */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.about-copy p { color: var(--muted); }
.about-img {
	min-height: 460px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: linear-gradient(145deg, #8095ab, #d9c9a6);
	border-radius: var(--radius);
}

.pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 36px;
}
.pillar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 18px;
	border-top: 2px solid var(--gold);
	font-family: 'Playfair Display', serif;
	font-size: 1.05rem;
}
.pillar-icon {
	flex: 0 0 auto;
	display: inline-flex;
	color: var(--gold);
}
.pillar-icon .tj-icon { width: 26px; height: 26px; }

/* Ícones em SVG inline, sempre na cor dourada da identidade visual. */
.tj-icon {
	display: block;
	width: 28px;
	height: 28px;
}

/* =====================================================================
   5. DIFERENCIAIS
   ===================================================================== */
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: #c9d3de;
}
.feature { min-height: 200px; padding: 36px 32px 38px; background: #fff; }
.feature-icon {
	display: inline-flex;
	margin-bottom: 16px;
	color: var(--gold);
}
.feature-icon .tj-icon { width: 30px; height: 30px; }
.feature h3 { color: var(--green); }
.feature p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }

/* =====================================================================
   6. CARDS (produtos / catálogo)
   ===================================================================== */
.card {
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
}
.card-media { display: block; }
.card img.card-img, .card-img {
	width: 100%;
	aspect-ratio: 1.16;
	object-fit: cover;
	background: linear-gradient(145deg, #8095ab, #c9b58b);
}
.card-body { padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.card-body h3, .card-body h2 { font: 1.3rem/1.35 'Playfair Display', serif; margin: 0; }
/* No carrossel de produtos o botão fica alinhado na base de todos os cards. */
.carousel-slide .card-body .btn { margin-top: auto; align-self: flex-start; }
.card-body h3 a, .card-body h2 a { text-decoration: none; color: var(--ink); }
.card .meta { color: var(--muted); font-size: .82rem; margin: 0; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }

/* Carrossel de produtos ------------------------------------------------- */
.carousel { position: relative; display: flex; align-items: center; gap: 20px; margin-top: 52px; }
.carousel-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(300px, calc((100% - 72px) / 3));
	gap: 36px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	/* Espaço para a sombra dos cards não ser cortada pelo overflow. */
	padding: 10px 4px 26px;
}
.carousel-slide { scroll-snap-align: start; }
.carousel-arrow {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--green);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--shadow);
}
.carousel-arrow:hover { background: var(--green); color: #fff; }

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* =====================================================================
   7. GALERIA
   ===================================================================== */
/* Cabeçalho da galeria: kicker + título em itálico + filete dourado,
   conforme a referência visual do site original. */
.gallery-head { text-align: center; }
.gallery-kicker {
	margin: 0;
	color: var(--ink);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
}
.gallery-title {
	margin: 4px 0 0;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(1.8rem, 3.2vw, 2.4rem);
	font-style: italic;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
}
.gallery-rule {
	display: block;
	width: 72px;
	height: 2px;
	margin: 8px auto 0;
	background: var(--gold);
}
.gallery-empty {
	margin: 40px 0 0;
	text-align: center;
	color: var(--muted);
}

/* Grade: 5 colunas no desktop, cards com cantos arredondados e sombra. */
.gallery {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
	margin-top: 54px;
}
.gallery figure {
	position: relative;
	overflow: hidden;
	margin: 0;
	border-radius: 10px;
	background: #d7e0e9;
	box-shadow: 0 10px 26px rgba(38, 53, 72, .18);
	transition: transform .3s ease, box-shadow .3s ease;
}
.gallery figure:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(38, 53, 72, .26); }
.gallery figure > a {
	display: block;
	position: relative;
	aspect-ratio: 1.42;
}
.gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
	position: absolute;
	right: 0; bottom: 0; left: 0;
	padding: 30px 14px 11px;
	background: linear-gradient(transparent, rgba(24, 33, 45, .82));
	color: #fff;
	font-size: .86rem;
	font-weight: 700;
	line-height: 1.25;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

/* =====================================================================
   8. EM CASO DE FALECIMENTO
   ===================================================================== */
.emergency { background: #f8fafc; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.emergency-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 50px 0;
}
.emergency h2 { font: 2.1rem 'Playfair Display', serif; margin: 0; }
.emergency-copy p { margin: 8px 0 0; color: var(--muted); max-width: 480px; }
.emergency-phones { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.emergency-label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.emergency-phone {
	color: var(--ink);
	font: 600 clamp(1.2rem, 2.4vw, 1.8rem) 'Playfair Display', serif;
	text-decoration: none;
}

/* =====================================================================
   9. DEPOIMENTOS
   ===================================================================== */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial { padding: 32px; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); }
.testimonial blockquote { margin: 0; font: 1.15rem/1.6 'Playfair Display', serif; }
.testimonial cite {
	display: block;
	margin-top: 18px;
	color: var(--gold);
	font-size: .76rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* =====================================================================
   10. NÓS PODEMOS LHE AJUDAR
   ===================================================================== */
.help {
	background: linear-gradient(100deg, rgba(38, 53, 72, .98), rgba(64, 83, 105, .94)), var(--green);
	color: #fff;
	text-align: center;
}
.help .md { color: #d9c79e; }
.help p:not(.eyebrow) { max-width: 600px; margin: 16px auto 28px; color: #d7e0e9; }
.social { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.social a, .foot-social a {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	text-decoration: none;
}

/* =====================================================================
   11. FOOTER
   ===================================================================== */
.footer { padding: 0 0 24px; background: #263548; color: #edf2f6; }
.foot-social-top {
	display: flex;
	justify-content: center;
	gap: 12px;
	padding: 24px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footgrid {
	padding-top: 42px;
	display: grid;
	grid-template-columns: 1.25fr 1fr 1.25fr 1fr;
	gap: 44px;
}
.foot-logo { margin-bottom: 14px; display: flex; align-items: center; }
/* Mantém o logo original enviado no personalizador, sem recolorir ou inverter a imagem. */
.foot-logo img { max-width: 150px; max-height: 58px; width: auto; height: auto; filter: none; opacity: 1; }
.footer h2 { margin: 0 0 14px; font: 1.15rem 'Playfair Display', serif; color: #fff; }
.foot-brand h2 { margin-bottom: 5px; }
.foot-brand p { color: #d9c79e; margin-top: 0; }
.footer p, .footer a { color: #d3dce5; font-size: .86rem; text-decoration: none; line-height: 1.55; }
.footer a:hover { color: #fff; }
.footlist { padding: 0; margin: 0; list-style: none; }
.footlist li { margin: 7px 0; }
.foot-social { display: flex; gap: 10px; margin-top: 14px; }
.foot-social a { width: 32px; height: 32px; font-size: .62rem; }
.foot-contact-bar {
	margin-top: 38px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.foot-contact-copy {
	display: grid;
	grid-template-columns: 190px 1fr;
	gap: 28px;
	align-items: start;
}
.foot-contact-copy h2 { margin: 0; }
.foot-contact-items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px 28px;
}
.foot-contact-items a { display: block; }
.copy {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .15);
	color: #b9c6d3;
	font-size: .72rem;
	text-align: center;
}

@media (max-width: 900px) {
	.footgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
	.foot-contact-copy { grid-template-columns: 1fr; gap: 14px; }
	.foot-contact-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.footgrid { grid-template-columns: 1fr; gap: 28px; }
	.foot-contact-bar { margin-top: 30px; }
	.foot-contact-items { grid-template-columns: 1fr; }
}


.whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 30;
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 5px solid #d7f2e4;
	border-radius: 50%;
	background: #159b62;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--shadow);
}

/* =====================================================================
   12. PÁGINAS INTERNAS (genérico)
   ===================================================================== */
.page-hero { padding: 90px 0 60px; background: var(--green); color: #fff; }
.page-hero .eyebrow { color: #d9c79e; }
.page-hero p { color: #d5dee7; max-width: 620px; margin-top: 10px; }

.entry { max-width: 850px; margin: auto; }
.entry h1, .entry h2, .entry h3 { font-family: 'Playfair Display', serif; margin-top: 1.4em; }
.entry p { color: var(--muted); }
.entry ul { padding-left: 1.2em; list-style: disc; color: var(--muted); }
.entry ul li { margin: 6px 0; }

.amenities {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	padding: 0;
	margin: 0;
	text-align: center;
}
.amenities li {
	padding: 22px 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-weight: 600;
	color: var(--green);
	font-size: .9rem;
}

.map-embed { width: 100%; height: 320px; }
.map-embed.map-embed-large { height: 440px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.contact-grid-single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.contact-grid-single .contact-card { width: 100%; box-sizing: border-box; }
.contact-card { padding: 32px; background: var(--cream); border-radius: var(--radius); align-self: start; }
.contact-card p { color: var(--muted); }
.contact-form textarea, .contact-form input {
	width: 100%;
	padding: 12px 14px;
	margin-bottom: 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
}

.faq-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.faq-item {
	padding: 18px 22px;
	background: var(--cream);
	border-radius: var(--radius);
	border: 1px solid var(--line);
}
.faq-item summary {
	cursor: pointer;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	color: var(--green);
	font-size: 1.05rem;
}
.faq-item p { margin: 14px 0 0; color: var(--muted); }

.jazigo-single { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.jazigo-main-image { border-radius: var(--radius); box-shadow: var(--shadow); }
.jazigo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.jazigo-gallery img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.jazigo-meta { padding: 0; margin: 0 0 20px; color: var(--muted); }
.jazigo-meta li { margin: 6px 0; }
.jazigo-meta strong { color: var(--ink); }
.back-link { display: block; margin-top: 16px; }

/* =====================================================================
   12b. LIGHTBOX (galeria de fotos / galeria do jazigo)
   ===================================================================== */
.tj-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 30px;
	background: rgba(25, 36, 49, .94);
}
.tj-lightbox.is-open { display: flex; }
.tj-lightbox-figure {
	margin: 0;
	max-width: min(1100px, 100%);
	text-align: center;
}
.tj-lightbox img {
	max-width: 100%;
	max-height: 82vh;
	border-radius: var(--radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.tj-lightbox figcaption {
	margin-top: 14px;
	color: #fff;
	font-size: .95rem;
	font-weight: 600;
}
.tj-lightbox-close {
	position: absolute;
	top: 20px;
	right: 26px;
	border: 0;
	background: none;
	color: #fff;
	font-size: 2.2rem;
	line-height: 1;
	cursor: pointer;
}
.tj-lightbox-nav {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	background: rgba(38, 53, 72, .55);
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
}
.tj-lightbox-nav:hover { background: rgba(38, 53, 72, .9); border-color: #fff; }
.tj-lightbox-nav[hidden] { display: none; }
@media (max-width: 560px) {
	.tj-lightbox { padding: 16px; gap: 6px; }
	.tj-lightbox-nav { width: 38px; height: 38px; font-size: 1.5rem; }
	.tj-lightbox img { max-height: 70vh; }
}

/* =====================================================================
   13. RESPONSIVO
   ===================================================================== */
/* Tablet: 3 colunas na galeria. */
@media (max-width: 1024px) {
	.gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
}

@media (max-width: 900px) {
	.top .container { justify-content: center; gap: 14px; flex-wrap: wrap; }
	.head { min-height: 74px; }
	.toggle { display: flex; }

	.nav {
		display: none;
		position: absolute;
		right: 0;
		left: 0;
		top: 100%;
		z-index: 15;
		padding: 20px 22px;
		background: #fff;
		box-shadow: var(--shadow);
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; gap: 14px; }

	.hero { min-height: 520px; min-height: 72svh; }
	.hero .container { padding: 70px 0 96px; }
	.hero-overlay { background: linear-gradient(180deg, rgba(38, 53, 72, .62) 0%, rgba(38, 53, 72, .78) 100%); }
	.hero-arrow { width: 40px; height: 40px; font-size: 1.7rem; }
	.hero-prev { left: 10px; }
	.hero-next { right: 10px; }
	.hero-dots { bottom: 18px; gap: 10px; }
	.hero-dot { width: 10px; height: 10px; }
	.hero-dot.is-active { width: 28px; }
	.about, .contact-grid, .jazigo-single { grid-template-columns: 1fr; gap: 34px; }
	.about-img { min-height: 300px; order: -1; }
	.pillars { grid-template-columns: 1fr; gap: 14px; }

	.features, .archive-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
	.carousel-track { grid-auto-columns: minmax(260px, calc((100% - 36px) / 2)); gap: 28px; }
	.carousel { margin-top: 40px; }

	.amenities { grid-template-columns: repeat(3, 1fr); }
	.emergency-grid { text-align: center; justify-content: center; }
	.emergency-phones { text-align: center; align-items: center; }
	.footgrid { grid-template-columns: repeat(2, 1fr); }
	.jazigo-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.container { width: min(100% - 30px, 1160px); }
	.section { padding: 70px 0; }
	.features, .archive-grid, .testimonials { grid-template-columns: 1fr; }
	.carousel-track { grid-auto-columns: 86%; gap: 20px; }
	.card-body { padding: 24px 22px 26px; }
	.gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
	.gallery figcaption { padding: 24px 10px 9px; font-size: .78rem; }
	.amenities { grid-template-columns: repeat(2, 1fr); }
	.footgrid { grid-template-columns: 1fr; }
	.whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
	.emergency-grid { padding: 40px 0; }
}

/* Ícones sociais em SVG: nítidos, consistentes e sem dependência de fontes externas. */
.social-icon {
	display: block;
	width: 18px;
	height: 18px;
}
.social .social-icon {
	width: 18px;
	height: 18px;
}
.foot-social-top .social-icon {
	width: 19px;
	height: 19px;
}
.whatsapp-icon {
	display: block;
	width: 29px;
	height: 29px;
}
.whatsapp-float {
	transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
	transform: translateY(-2px);
}

/* =====================================================================
   PÁGINA CREMATÓRIO — VISUAL MODERNO
   ===================================================================== */
.crematorio-page { overflow: hidden; }
.crem-hero { background: linear-gradient(135deg, #263548 0%, #344b62 100%); color: #fff; padding: 82px 0 88px; }
.crem-hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: center; }
.crem-hero-copy .eyebrow { color: #d9c79e; }
.crem-hero-copy h1 { max-width: 680px; margin: 12px 0 22px; font: 500 clamp(2.6rem, 5vw, 4.7rem)/1.04 'Playfair Display', serif; letter-spacing: -.025em; }
.crem-hero-text { max-width: 590px; color: #dce5ee; font-size: 1.08rem; line-height: 1.75; }
.crem-hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.crem-text-link { color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .04em; }
.crem-text-link span { margin-left: 6px; color: #d9c79e; }
.crem-hero-media { position: relative; min-height: 520px; }
.crem-hero-media img { width: 100%; height: 520px; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 70px rgba(12, 23, 35, .35); }
.crem-image-badge { position: absolute; left: 24px; bottom: 24px; max-width: 290px; padding: 18px 20px; background: rgba(28, 42, 57, .91); border-left: 3px solid #b99b63; border-radius: 8px; backdrop-filter: blur(8px); }
.crem-image-badge strong, .crem-image-badge span { display: block; }
.crem-image-badge strong { font: 1.1rem 'Playfair Display', serif; }
.crem-image-badge span { margin-top: 4px; color: #d5dee7; font-size: .78rem; }
.crem-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.crem-intro h2, .crem-process h2, .crem-docs h2 { margin-top: 10px; }
.crem-intro-copy { padding-top: 8px; font-size: 1.05rem; line-height: 1.85; }
.crem-intro-copy p { margin: 0 0 18px; color: var(--muted); }
.crem-section-heading { max-width: 760px; margin: 0 auto 48px; }
.crem-section-heading p:last-child { max-width: 620px; margin: 12px auto 0; color: var(--muted); }
.crem-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.crem-feature { position: relative; min-height: 170px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(38, 53, 72, .06); transition: transform .25s ease, box-shadow .25s ease; }
.crem-feature:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(38, 53, 72, .12); }
.crem-feature-number { color: #b99b63; font: 700 .78rem 'Playfair Display', serif; letter-spacing: .12em; }
.crem-feature h3 { margin: 35px 0 0; color: var(--ink); font: 1.25rem 'Playfair Display', serif; }
.crem-process-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: start; }
.crem-process-sticky { position: sticky; top: 110px; }
.crem-process-sticky > p:last-child { max-width: 480px; color: var(--muted); line-height: 1.75; }
.crem-steps { position: relative; padding-left: 38px; }
.crem-steps:before { content: ''; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 1px; background: #d6dde4; }
.crem-step { position: relative; display: grid; grid-template-columns: 1fr; gap: 5px; padding: 0 0 38px 24px; }
.crem-step:last-child { padding-bottom: 0; }
.crem-step > span { position: absolute; left: -38px; top: 0; display: grid; width: 20px; height: 20px; place-items: center; background: #fff; border: 1px solid #b99b63; border-radius: 50%; color: #8e7548; font-size: .55rem; font-weight: 700; }
.crem-step h3 { margin: 0 0 7px; color: var(--ink); font: 1.45rem 'Playfair Display', serif; }
.crem-step p { margin: 0; color: var(--muted); line-height: 1.7; }
.crem-docs-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.crem-docs-grid > div > p:last-child { max-width: 520px; color: var(--muted); line-height: 1.7; }
.crem-doc-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.crem-doc-list li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); line-height: 1.45; }
.crem-doc-list li span { color: #9a8152; font-weight: 800; }
.crem-cta { padding: 64px 0; background: #263548; color: #fff; }
.crem-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.crem-cta .eyebrow { margin-bottom: 8px; color: #d9c79e; }
.crem-cta h2 { margin: 0; font: 2.2rem 'Playfair Display', serif; }
.btn-light { background: #fff; color: #263548 !important; }
@media (max-width: 900px) {
 .crem-hero { padding: 60px 0 70px; }
 .crem-hero-grid, .crem-intro-grid, .crem-process-grid, .crem-docs-grid { grid-template-columns: 1fr; gap: 45px; }
 .crem-hero-media, .crem-hero-media img { min-height: 400px; height: 400px; }
 .crem-feature-grid { grid-template-columns: repeat(2, 1fr); }
 .crem-process-sticky { position: static; }
 .crem-cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
 .crem-hero-copy h1 { font-size: 2.65rem; }
 .crem-hero-media, .crem-hero-media img { min-height: 300px; height: 300px; }
 .crem-hero-actions { align-items: flex-start; flex-direction: column; }
 .crem-feature-grid, .crem-doc-list { grid-template-columns: 1fr; }
 .crem-feature { min-height: 145px; }
 .crem-cta h2 { font-size: 1.8rem; }
}


/* =====================================================================
   PÁGINA COROA DE FLORES — SIMPLES E CONVERSÃO
   ===================================================================== */
.coroa-page { overflow: hidden; }
.coroa-hero {
	padding: 72px 0 78px;
	background: linear-gradient(135deg, #263548 0%, #344b62 100%);
	color: #fff;
}
.coroa-hero-grid {
	display: grid;
	grid-template-columns: .95fr 1.05fr;
	gap: 70px;
	align-items: center;
}
.coroa-copy { max-width: 620px; }
.coroa-copy .eyebrow { color: #d9c79e; }
.coroa-copy h1 {
	margin: 12px 0 22px;
	font: 500 clamp(2.8rem, 5vw, 4.7rem)/1.06 'Playfair Display', serif;
	letter-spacing: -.025em;
}
.coroa-lead {
	max-width: 560px;
	color: #dce5ee;
	font-size: 1.08rem;
	line-height: 1.8;
}
.coroa-btn { margin-top: 28px; }
.coroa-hero-media { position: relative; }
.coroa-hero-media img {
	display: block;
	width: 100%;
	max-height: 560px;
	object-fit: contain;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 28px 65px rgba(12, 23, 35, .28);
}
.coroa-media-label {
	position: absolute;
	left: 22px;
	bottom: 20px;
	padding: 10px 15px;
	background: rgba(38, 53, 72, .9);
	border-left: 3px solid #b99b63;
	border-radius: 5px;
	font-size: .78rem;
	letter-spacing: .04em;
}
.coroa-heading { max-width: 760px; margin: 0 auto 48px; }
.coroa-heading h2 { margin: 10px 0 12px; }
.coroa-heading > p:last-child { max-width: 650px; margin: 0 auto; color: var(--muted); line-height: 1.75; }
.coroa-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coroa-benefit {
	padding: 34px 28px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(38, 53, 72, .06);
}
.coroa-benefit-icon {
	display: grid;
	width: 58px;
	height: 58px;
	margin: 0 auto 18px;
	place-items: center;
	border-radius: 50%;
	background: #e8f0f7;
	color: #174b79;
	font-size: 1.65rem;
}
.coroa-benefit h3 { margin: 0 0 9px; font: 1.28rem 'Playfair Display', serif; color: var(--ink); }
.coroa-benefit p { margin: 0; color: var(--muted); line-height: 1.65; }
.coroa-cta { padding: 68px 0; background: #eaf2f8; }
.coroa-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.coroa-cta .eyebrow { margin-bottom: 8px; color: #8e7548; }
.coroa-cta h2 { margin: 0 0 10px; color: #263548; font: 2.35rem 'Playfair Display', serif; }
.coroa-cta p:last-child { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.7; }
.coroa-cta .btn-light { flex: 0 0 auto; background: #263548; border-color: #263548; color: #fff !important; }
.coroa-cta .btn-light:hover { background: transparent; color: #263548 !important; }
@media (max-width: 900px) {
	.coroa-hero { padding: 58px 0 65px; }
	.coroa-hero-grid { grid-template-columns: 1fr; gap: 42px; }
	.coroa-copy { max-width: 760px; }
	.coroa-benefits { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
	.coroa-cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
	.coroa-copy h1 { font-size: 2.65rem; }
	.coroa-lead { font-size: 1rem; }
	.coroa-hero-media img { border-radius: 12px; }
	.coroa-cta h2 { font-size: 1.85rem; }
}
