/*
Theme Name: Floripa Sul Glass
Theme URI: https://floripasulglass.com.br/
Author: Floripa Sul Glass
Description: Tema próprio da Floripa Sul Glass — vidraçaria no Sul da Ilha de Florianópolis. Layout inspirado na estrutura de sites de portas e janelas (hero em slides, serviços em cards, diferenciais, galeria e chamada para orçamento).
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: floripasulglass
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--navy: #2f3d8f;
	--navy-900: #1a2252;
	--navy-950: #10163a;
	--sky: #0aa5e3;
	--sky-600: #0679ad;
	--sky-100: #e3f5fc;
	--ink: #1d2433;
	--text: #4a5568;
	--muted: #718096;
	--line: #e2e8f0;
	--soft: #f3f6f9;
	--white: #fff;
	--wa: #1faa53;

	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(16, 22, 58, .08);
	--shadow-lg: 0 20px 50px rgba(16, 22, 58, .16);
	--header-h: 84px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--sky-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 820px; }
.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: .95rem; line-height: 1.2; letter-spacing: .01em;
	cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
	text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon-arrow { transition: transform .25s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--primary { background: var(--sky-600); color: #fff; box-shadow: 0 8px 20px rgba(6, 121, 173, .3); }
.btn--primary:hover { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(47, 61, 143, .35); }
.btn--outline { border-color: var(--sky-600); color: var(--sky-600); }
.btn--outline:hover { background: var(--sky-600); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--navy-950); color: #fff; }
.btn--sm { padding: .6em 1.2em; font-size: .88rem; }
.btn--lg { padding: 1em 2em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; }
.link-arrow .icon { width: 1.1em; transition: transform .25s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: saturate(160%) blur(10px);
	box-shadow: 0 1px 0 var(--line);
	transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 22, 58, .1); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-logo img { width: auto; height: 56px; }
.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; gap: 4px; }
.main-nav a {
	display: block; padding: .5em .9em; border-radius: 999px;
	color: var(--ink); font-weight: 500; font-size: .95rem;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-menu-parent > a {
	color: var(--sky-600); background: var(--sky-100);
}
.main-nav .sub-menu { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
	display: inline-flex; align-items: center; gap: .45em;
	padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line);
	color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap;
	box-shadow: 0 4px 14px rgba(16, 22, 58, .06);
}
.header-phone .icon { color: var(--wa); }
.header-phone:hover { border-color: var(--wa); color: var(--wa); }
.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
	background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.mobile-panel { border-top: 1px solid var(--line); background: #fff; padding: 12px 0 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu a { display: block; padding: .8em 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 1.05rem; }
.mobile-menu .sub-menu a { padding-left: 1em; font-size: .95rem; }
.mobile-panel__contact { display: grid; gap: 12px; margin-top: 20px; }
.mobile-panel__line { display: flex; align-items: center; gap: .6em; color: var(--text); font-size: .95rem; }
.mobile-panel__line .icon { color: var(--sky-600); }

@media (max-width: 1080px) {
	.main-nav { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-header__actions { margin-left: auto; }
}
@media (max-width: 640px) {
	:root { --header-h: 70px; }
	.site-logo img { height: 46px; }
	.header-cta { display: none; }
	.header-phone span { display: none; }
	.header-phone { padding: 0; width: 46px; height: 46px; justify-content: center; }
	.header-phone .icon { width: 22px; height: 22px; }
}

/* ==========================================================================
   Seções genéricas
   ========================================================================== */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--soft { background: var(--soft); }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	color: var(--sky-600); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
	margin-bottom: .9em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.01em; }
.section-title span { color: var(--sky-600); }
.section-lead { font-size: 1.05rem; color: var(--muted); margin: 0; }
.section-more { text-align: center; margin: 48px 0 0; }
.empty-state { text-align: center; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; gap: 20px; } }

.check-list { display: grid; gap: 14px; margin: 1.6em 0 2em; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon {
	width: 26px; height: 26px; padding: 5px; border-radius: 50%;
	background: var(--sky-100); color: var(--sky-600); stroke-width: 2.4; margin-top: 1px;
}
.check-list strong { color: var(--ink); font-weight: 600; }
.check-list--cols { grid-template-columns: repeat(2, 1fr); margin: 0; }
@media (max-width: 600px) { .check-list--cols { grid-template-columns: 1fr; } }

/* Animação de entrada */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	[data-reveal] { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; overflow: hidden; color: #fff; background: var(--navy-950);
	min-height: clamp(560px, calc(100vh - var(--header-h)), 860px);
	display: grid;
}
.hero__slide {
	grid-area: 1 / 1; position: relative; display: flex; align-items: center;
	opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s 1.1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease; z-index: 1; }
.hero__bg {
	position: absolute; inset: 0; background: var(--navy-900) center / cover no-repeat;
	transform: scale(1.12); transition: transform 7s ease-out;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(16, 22, 58, .88) 0%, rgba(16, 22, 58, .62) 45%, rgba(16, 22, 58, .2) 100%),
		linear-gradient(0deg, rgba(16, 22, 58, .5), transparent 40%);
}
.hero__content { position: relative; z-index: 2; padding-block: 90px 110px; }
.hero__content > * { max-width: 640px; }
.hero__title { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 700; color: #fff; line-height: 1.1; margin: 0 0 .25em; letter-spacing: -.02em; }
.hero__subtitle { font-size: clamp(1.15rem, 2.4vw, 1.7rem); font-weight: 300; color: #7fd3f5; margin: 0 0 1em; line-height: 1.3; }
.hero__text { font-size: 1.05rem; color: rgba(255, 255, 255, .86); margin-bottom: 2em; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__slide .hero__content > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > :nth-child(2) { transition-delay: .15s; }
.hero__slide.is-active .hero__content > :nth-child(3) { transition-delay: .3s; }
.hero__slide.is-active .hero__content > :nth-child(4) { transition-delay: .45s; }
/* Numeração vertical dos slides na lateral direita: 01 / 02 / 03. */
.hero__dots {
	position: absolute; z-index: 3; right: clamp(20px, 4vw, 56px); top: 50%; transform: translateY(-50%);
	display: flex; flex-direction: column; gap: 6px;
}
.hero__dots button {
	display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 8px 0;
	background: none; border: 0; cursor: pointer; color: rgba(255, 255, 255, .55);
	font: 600 .95rem/1 var(--font); letter-spacing: .06em; transition: color .3s;
}
.hero__dots button::before {
	content: ""; height: 2px; width: 16px; border-radius: 2px; background: currentColor;
	transition: width .45s var(--ease), background-color .3s;
}
.hero__dots button:hover { color: #fff; }
.hero__dots button[aria-selected="true"] { color: #fff; }
.hero__dots button[aria-selected="true"]::before { width: 44px; background: var(--sky); }
@media (max-width: 760px) {
	/* No celular: linha horizontal à esquerda, longe do botão flutuante do WhatsApp. */
	.hero__dots { top: auto; bottom: 64px; left: 20px; right: auto; transform: none; flex-direction: row; gap: 14px; }
	.hero__dots button { font-size: .85rem; gap: 8px; }
	.hero__dots button::before { width: 10px; }
	.hero__dots button[aria-selected="true"]::before { width: 26px; }
}

/* Faixa de garantias */
.trust-bar { position: relative; z-index: 5; margin-top: -48px; }
.trust-bar__grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
	padding: 0;
}
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--sky-100); color: var(--sky-600); }
.trust-item span { display: grid; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.trust-item strong { color: var(--ink); font-weight: 600; font-size: .95rem; }
@media (max-width: 1080px) {
	.trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
	.trust-item:nth-child(3) { border-left: 0; }
	.trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
	.trust-bar { margin-top: -32px; }
	.trust-bar__grid { grid-template-columns: 1fr; }
	.trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
	.trust-item { padding: 18px 20px; }
}

/* ==========================================================================
   Sobre
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
/* Duas fotos sobrepostas + selo no canto superior. */
.about__media { position: relative; padding: 0 64px 64px 0; }
.about__img { display: block; width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__img2 {
	position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; object-fit: cover;
	border: 8px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.about__badge {
	position: absolute; left: 24px; top: 24px; z-index: 2;
	display: flex; align-items: center; gap: 12px;
	background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); padding: 10px 22px 10px 10px;
	font-size: .82rem; line-height: 1.35; color: var(--muted);
}
.about__badge strong { display: block; color: var(--ink); font-size: .95rem; font-weight: 600; }
.about__badge-icon {
	width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
	background: linear-gradient(135deg, var(--sky) 0%, var(--navy) 100%); color: #fff;
}
.about__badge-num { font-size: 1.8rem !important; color: var(--sky-600) !important; padding-left: 12px; }
@media (max-width: 900px) {
	.about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.about__media { padding: 0 32px 40px 0; }
	.about__img2 { border-width: 5px; }
	.about__badge { left: 12px; top: 12px; }
}

/* ==========================================================================
   Cards de serviço
   ========================================================================== */
.service-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-900); }
.service-card__link { position: relative; display: flex; min-height: 380px; color: #fff; isolation: isolate; height: 100%; }
.service-card__bg {
	position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat;
	transition: transform .8s var(--ease);
}
.service-card--noimg .service-card__bg { background-image: linear-gradient(135deg, var(--navy) 0%, var(--sky-600) 100%); }
.service-card__link::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(16, 22, 58, .05) 20%, rgba(16, 22, 58, .9) 85%);
	transition: background-color .4s;
}
.service-card__body { margin-top: auto; padding: 28px; display: grid; gap: 6px; }
.service-card__icon {
	width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px;
	background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .3);
}
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__title { color: #fff; font-size: 1.3rem; margin: 0; }
.service-card__text {
	margin: 0; color: rgba(255, 255, 255, .85); font-size: .93rem; line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.service-card__more {
	display: inline-flex; align-items: center; gap: .4em; margin-top: 8px;
	font-weight: 600; font-size: .9rem; color: #7fd3f5;
}
.service-card__more .icon { transition: transform .25s; }
.service-card__link:hover .service-card__bg { transform: scale(1.08); }
.service-card__link:hover .service-card__more .icon { transform: translateX(4px); }
.service-card__link:hover::before { background-color: rgba(6, 121, 173, .25); }
.service-card__link:hover { color: #fff; }

/* ==========================================================================
   Por que nos escolher
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.why__img { margin-top: 28px; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.why__list { display: grid; gap: 16px; }
.why__item {
	display: flex; gap: 20px; align-items: flex-start;
	padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
	transition: border-color .3s, box-shadow .3s, transform .3s;
}
.why__item:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.why__icon {
	flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--sky) 0%, var(--navy) 100%); color: #fff;
}
.why__icon .icon { width: 28px; height: 28px; }
.why__item h3 { font-size: 1.1rem; margin-bottom: .3em; }
.why__item p { margin: 0; font-size: .94rem; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Galeria
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid--home .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--line); }
.gallery-item a { display: block; height: 100%; color: #fff; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item figcaption {
	position: absolute; inset: auto 0 0; padding: 40px 16px 14px; display: grid; gap: 4px;
	background: linear-gradient(0deg, rgba(16, 22, 58, .88), transparent);
	opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s;
}
.gallery-item__tag { justify-self: start; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--sky-600); padding: 2px 10px; border-radius: 999px; }
.gallery-item__title { font-size: .92rem; font-weight: 500; line-height: 1.35; }
.gallery-item a:hover img, .gallery-item a:focus-visible img { transform: scale(1.07); }
.gallery-item a:hover figcaption, .gallery-item a:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }
@media (hover: none) { .gallery-item figcaption { opacity: 1; transform: none; } }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
	.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.gallery-grid--home .gallery-item:nth-child(1) { grid-row: auto; }
}

.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter-bar button {
	padding: .55em 1.2em; border-radius: 999px; border: 1px solid var(--line); background: #fff;
	color: var(--ink); font-weight: 500; font-size: .9rem; cursor: pointer; transition: all .25s;
}
.filter-bar button:hover { border-color: var(--sky-600); color: var(--sky-600); }
.filter-bar button.is-active { background: var(--sky-600); border-color: var(--sky-600); color: #fff; }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 1000; background: rgba(10, 14, 36, .94);
	display: flex; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox__figure img { max-width: min(1100px, 100%); max-height: calc(100vh - 140px); width: auto; border-radius: var(--radius-sm); }
.lightbox__figure figcaption { color: rgba(255, 255, 255, .85); font-size: .95rem; text-align: center; }
.lightbox button {
	position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; transition: background-color .2s;
}
.lightbox button:hover { background: var(--sky-600); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 14px; top: 50%; translate: 0 -50%; }
.lightbox__nav--prev .icon { transform: rotate(180deg); }
.lightbox__nav--next { right: 14px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) {
	.lightbox { padding: 60px 10px 80px; }
	.lightbox__nav--prev, .lightbox__nav--next { top: auto; bottom: 16px; translate: none; }
	.lightbox__nav--prev { left: calc(50% - 60px); }
	.lightbox__nav--next { right: calc(50% - 60px); }
}

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.testimonials__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 48px); }
.testimonials__head .section-head { margin: 0; }

.google-badge {
	display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px;
	background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); color: var(--ink);
}
a.google-badge:hover { color: var(--ink); border-color: var(--sky); }
.google-badge__g {
	width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
	background: conic-gradient(from -45deg, #ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
	color: #fff; font-weight: 700; font-size: 1.3rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.google-badge__body { display: grid; line-height: 1.25; }
.google-badge__body strong { display: flex; align-items: center; gap: 8px; font-size: 1.35rem; font-weight: 700; }
.google-badge__body small { color: var(--muted); font-size: .8rem; }

.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; }

/* Carrossel com rolagem nativa (arrastar no celular, setas no desktop). */
.carousel { position: relative; }
.carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
	padding: 6px 2px 24px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.carousel__btn {
	width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
	display: grid; place-items: center; color: var(--navy); cursor: pointer; transition: all .25s;
}
.carousel__btn:hover:not(:disabled) { background: var(--sky-600); border-color: var(--sky-600); color: #fff; }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__btn--prev .icon { transform: rotate(180deg); }
@media (max-width: 960px) { .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .carousel__track { grid-auto-columns: 86%; gap: 16px; } }

.testimonial {
	margin: 0; padding: 28px 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
	display: flex; flex-direction: column; gap: 16px; box-shadow: 0 4px 16px rgba(16, 22, 58, .04);
}
.testimonial__top { display: flex; align-items: center; justify-content: space-between; }
.testimonial__quote { width: 34px; height: 34px; color: var(--sky); opacity: .3; }
.testimonial__text { font-size: .97rem; color: var(--text); flex: 1; }
.testimonial__text p:last-child { margin: 0; }
.testimonial__author { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); }
.testimonial__author img, .testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial__avatar { display: grid; place-items: center; background: var(--sky-100); color: var(--sky-600); font-weight: 700; font-size: 1.2rem; }
.testimonial__author span { display: grid; line-height: 1.4; }
.testimonial__author strong { color: var(--ink); font-size: .98rem; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-band {
	position: relative; isolation: isolate; color: #fff; text-align: center;
	padding: clamp(80px, 10vw, 130px) 0; background: var(--navy-900) center / cover no-repeat fixed;
}
.cta-band::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(120deg, rgba(16, 22, 58, .92) 0%, rgba(47, 61, 143, .82) 55%, rgba(6, 121, 173, .78) 100%);
}
.cta-band__inner { max-width: 760px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 700; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; margin-bottom: 2em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn--primary { background: var(--wa); box-shadow: 0 10px 24px rgba(31, 170, 83, .35); }
.cta-band .btn--primary:hover { background: #fff; color: var(--wa); }
@media (hover: none), (max-width: 900px) { .cta-band { background-attachment: scroll; } }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-card {
	display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
	background: #fff; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--sky-600)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__cat {
	position: absolute; left: 16px; top: 16px; background: #fff; color: var(--sky-600);
	font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: .5em; font-size: .82rem; color: var(--muted); margin-bottom: .6em; }
.post-card__meta .icon { width: 1.1em; color: var(--sky-600); }
.post-card__title { font-size: 1.15rem; line-height: 1.4; margin-bottom: .5em; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--sky-600); }
.post-card__excerpt { font-size: .93rem; flex: 1; }
.blog-home { background: var(--soft); }

/* ==========================================================================
   Contato e formulário
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-list { display: grid; gap: 20px; margin-top: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list__icon {
	flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
	background: var(--sky-100); color: var(--sky-600);
}
.contact-list__icon .icon { width: 26px; height: 26px; }
.contact-list li > span:last-child { display: grid; line-height: 1.45; color: var(--ink); font-weight: 500; }
.contact-list small { color: var(--muted); font-weight: 400; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { color: var(--ink); word-break: break-word; }
.contact-list a:hover { color: var(--sky-600); }
.contact-social { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-social > span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-social .socials { margin-top: 12px; }
.socials--light a { background: var(--sky-100); color: var(--sky-600); }
.socials--light a:hover { background: var(--sky-600); color: #fff; }
.contact__form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin: 0 0 18px; display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
	width: 100%; padding: .8em 1em; border-radius: var(--radius-sm); border: 1px solid var(--line);
	background: var(--soft); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--sky-600); background: #fff; box-shadow: 0 0 0 4px var(--sky-100); }
.field .is-invalid { border-color: #d64545; }
.form-note { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
.form-alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: .93rem; }
.form-alert--ok { background: #e7f7ee; color: #17663a; }
.form-alert--erro { background: #fdecec; color: #9b2c2c; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.map-embed iframe { width: 100%; height: 420px; border: 0; filter: saturate(.85); }

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero {
	position: relative; isolation: isolate; color: #fff;
	padding: clamp(70px, 9vw, 120px) 0 clamp(56px, 7vw, 90px);
	background: var(--navy-900) center / cover no-repeat;
}
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(16, 22, 58, .93) 0%, rgba(16, 22, 58, .75) 55%, rgba(6, 121, 173, .55) 100%);
}
.page-hero__title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; margin: 0 0 .3em; max-width: 860px; }
.page-hero__text { color: rgba(255, 255, 255, .86); font-size: 1.08rem; max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; margin-bottom: 18px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: #7fd3f5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .6; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .layout-sidebar { grid-template-columns: 1fr; } }
.sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-box { border-radius: var(--radius); padding: 28px; background: var(--soft); }
.side-box h2 { font-size: 1.15rem; }
.side-box--accent { background: linear-gradient(135deg, var(--navy) 0%, var(--sky-600) 100%); color: rgba(255, 255, 255, .9); }
.side-box--accent h2 { color: #fff; }
.side-list li a { display: flex; justify-content: space-between; align-items: center; padding: .7em 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .95rem; }
.side-list li:last-child a { border-bottom: 0; }
.side-list .icon { width: 16px; color: var(--muted); }
.side-list a:hover, .side-list .is-current a { color: var(--sky-600); }

.entry-meta { display: flex; align-items: center; gap: .5em; font-size: .9rem; color: var(--muted); }
.entry-meta .icon { color: var(--sky-600); width: 1.1em; }
.entry-figure { margin: 0 0 32px; }
.entry-figure img { width: 100%; border-radius: var(--radius); }
.entry-content { font-size: 1.04rem; }
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--sky-600); }
.entry-content strong { color: var(--ink); }
.entry-content blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--sky); background: var(--soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; vertical-align: top; }
.entry-content th { background: var(--soft); color: var(--ink); }
.entry-content .wp-block-table { overflow-x: auto; margin: 0 0 1.4em; }
.entry-content .wp-block-table thead { border-bottom: 0; }
.entry-cta {
	margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--sky-100);
	display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
}
.entry-cta p { margin: 0; flex: 1 1 280px; color: var(--ink); }
.feature-box { margin-top: 36px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); }
.feature-box h2 { font-size: 1.3rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.post-nav__link { display: grid; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; line-height: 1.4; }
.post-nav__link small { color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.post-nav__link--next { text-align: right; grid-column: 2; }
.post-nav__link:hover { border-color: var(--sky-600); color: var(--sky-600); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: auto; } }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--sky-600); border-color: var(--sky-600); color: #fff; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: .94rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 72px 56px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.footer-logo img { height: 48px; width: auto; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.2em; position: relative; padding-bottom: .7em; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--sky); border-radius: 2px; }
.footer-menu li + li { margin-top: .55em; }
.footer-menu a { color: rgba(255, 255, 255, .72); }
.footer-menu a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--sky); margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, .85); word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .25s; }
.socials a:hover { background: var(--sky-600); color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: rgba(255, 255, 255, .72); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; padding-block: 56px 40px; } }

/* WhatsApp flutuante */
.wa-float {
	position: fixed; right: 24px; bottom: 24px; z-index: 90;
	display: flex; align-items: center; gap: 12px; padding: 7px 22px 7px 7px; border-radius: 999px;
	background: var(--wa); color: #fff;
	box-shadow: 0 4px 10px rgba(16, 22, 58, .12), 0 10px 24px rgba(31, 170, 83, .28);
	transition: transform .25s var(--ease), box-shadow .25s, background-color .25s;
}
.wa-float:hover { color: #fff; background: #189447; transform: translateY(-3px); box-shadow: 0 6px 14px rgba(16, 22, 58, .14), 0 14px 30px rgba(31, 170, 83, .34); }
.wa-float__icon {
	position: relative; width: 46px; height: 46px; border-radius: 50%; flex: none;
	display: grid; place-items: center; background: rgba(255, 255, 255, .16);
}
.wa-float__icon .icon { width: 28px; height: 28px; }
/* Bolinha "online" piscando: ponto fixo + anel que pulsa por trás. */
.wa-float__icon::before,
.wa-float__icon::after {
	content: ""; position: absolute; top: 1px; right: 1px; width: 12px; height: 12px; border-radius: 50%;
}
.wa-float__icon::after { background: #7CFF9E; border: 2px solid #fff; animation: wa-blink 1.6s ease-in-out infinite; }
.wa-float__icon::before { background: #7CFF9E; animation: wa-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes wa-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes wa-ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.wa-float__text { display: grid; line-height: 1.2; white-space: nowrap; }
.wa-float__text strong { font-size: .95rem; font-weight: 600; }
.wa-float__text small { font-size: .74rem; opacity: .88; }
@media (max-width: 760px) {
	.wa-float { right: 16px; bottom: 16px; padding: 6px; }
	.wa-float__text { display: none; }
	.wa-float__icon { width: 50px; height: 50px; background: transparent; }
	.wa-float__icon .icon { width: 30px; height: 30px; }
}

/* Alinhamentos do editor */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image figcaption, .wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; }
