/* ==========================================================================
   SAD Global — Design system v2
   Adaptação híbrida: Modo Escuro & Modo Claro Premium
   Laranja institucional · Acessibilidade · Sem dependências
   ========================================================================== */

:root {
	/* Variáveis base (Modo Escuro institucional por padrão) */
	--bg: #060913;
	--bg-2: #0a0f1e;
	--surface: rgba(255, 255, 255, .045);
	--surface-2: rgba(255, 255, 255, .075);
	--border: rgba(255, 255, 255, .1);
	--border-subtle: rgba(255, 255, 255, .05);
	--text: #e9edf7;
	--heading: #ffffff;
	--muted: #9aa5c0;
	--brand: #ff4a1c;
	--brand-2: #ff8a3d;
	--accent: #3ea6ff;
	--ok: #34d399;
	--grad: linear-gradient(120deg, #ff4a1c 0%, #ff8a3d 100%);
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
	--card-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
	--header-h: 76px;
	--header-bg: rgba(6, 9, 19, .78);
	--code-bg: linear-gradient(160deg, rgba(18, 25, 48, .85), rgba(8, 12, 26, .9));
	--font-head: 'Sora', 'Inter', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   Paleta do Modo Claro (Light Mode)
   Tons harmoniosos, alto contraste, estética corporativa limpa e moderna
   ========================================================================== */
:root[data-theme="light"] {
	--bg: #f8fafc;
	--bg-2: #ffffff;
	--surface: #ffffff;
	--surface-2: #f1f5f9;
	--border: rgba(15, 23, 42, 0.08);
	--border-subtle: rgba(15, 23, 42, 0.04);
	--text: #1e293b;
	--heading: #0f172a;
	--muted: #64748b;
	--brand: #e6390f;
	--brand-2: #f97316;
	--accent: #0284c7;
	--ok: #059669;
	--grad: linear-gradient(120deg, #e6390f 0%, #f97316 100%);
	--shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.08);
	--card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
	--header-bg: rgba(255, 255, 255, 0.86);
	--code-bg: linear-gradient(160deg, #0f172a, #1e293b);
}

@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) {
		--bg: #f8fafc;
		--bg-2: #ffffff;
		--surface: #ffffff;
		--surface-2: #f1f5f9;
		--border: rgba(15, 23, 42, 0.08);
		--border-subtle: rgba(15, 23, 42, 0.04);
		--text: #1e293b;
		--heading: #0f172a;
		--muted: #64748b;
		--brand: #e6390f;
		--brand-2: #f97316;
		--accent: #0284c7;
		--ok: #059669;
		--grad: linear-gradient(120deg, #e6390f 0%, #f97316 100%);
		--shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.08);
		--card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
		--header-bg: rgba(255, 255, 255, 0.86);
		--code-bg: linear-gradient(160deg, #0f172a, #1e293b);
	}
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 8px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	transition: background-color .3s ease, color .3s ease;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.02em; color: var(--heading); }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
	transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 600; font-size: .95rem; line-height: 1.2;
	transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(230, 57, 15, .65); }
.btn-primary:hover { box-shadow: 0 14px 38px -8px rgba(230, 57, 15, .85); color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); }
.btn-light { background: #fff; color: #1a0d09; box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .25); }
.btn-light:hover { box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .35); }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* Modo claro específico para botões */
[data-theme="light"] .btn-ghost {
	background: #ffffff;
	border-color: rgba(15, 23, 42, 0.12);
	color: #0f172a;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .btn-ghost:hover { background: #f1f5f9; border-color: var(--brand); }
@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) .btn-ghost {
		background: #ffffff;
		border-color: rgba(15, 23, 42, 0.12);
		color: #0f172a;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
	}
	:root:not([data-theme="dark"]) .btn-ghost:hover {
		background: #f1f5f9;
		border-color: var(--brand);
	}
}

/* ---------- Cabeçalho ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
	display: flex; align-items: center;
	transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: var(--header-bg);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border-color: var(--border);
	box-shadow: var(--shadow);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }

/* Alternância de logo no tema claro/escuro */
.logo-dark { display: block; }
.logo-light { display: none; }

[data-theme="light"] .brand .logo-dark { display: none; }
[data-theme="light"] .brand .logo-light { display: block; }

@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) .brand .logo-dark { display: none; }
	:root:not([data-theme="dark"]) .brand .logo-light { display: block; }
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 6px; }
.nav-list a {
	position: relative; display: block; padding: 8px 14px; border-radius: 999px;
	color: var(--muted); font-weight: 500; font-size: .93rem; transition: color .2s, background .2s;
}
.nav-list a:hover, .nav-list a.is-active { color: var(--heading); background: var(--surface); }
.nav-cta { padding: 10px 20px; }

/* Ações do header (botão tema + botão mobile) */
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Botão de Tema (Sol / Lua) */
.theme-toggle {
	width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
	background: var(--surface); color: var(--text); display: inline-flex;
	align-items: center; justify-content: center; position: relative;
	transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand); }
.theme-toggle .icon { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }

[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) .theme-toggle .icon-sun { display: none; }
	:root:not([data-theme="dark"]) .theme-toggle .icon-moon { display: block; }
}

.nav-toggle {
	display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
	background: var(--surface); align-items: center; justify-content: center; position: relative; z-index: 120;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
	padding: calc(var(--header-h) + 56px) 0 0; isolation: isolate; overflow: hidden;
}
.hero-bg {
	position: absolute; inset: 0; z-index: -2;
	background:
		linear-gradient(90deg, rgba(6, 9, 19, .96) 0%, rgba(6, 9, 19, .82) 42%, rgba(6, 9, 19, .35) 100%),
		linear-gradient(0deg, var(--bg) 0%, transparent 35%),
		url('../imagem/large/globalizacao.webp') center / cover no-repeat;
	animation: heroZoom 28s ease-in-out infinite alternate;
	transition: background .4s ease, filter .4s ease, opacity .4s ease;
}
.hero::before {
	content: ''; position: absolute; width: 640px; height: 640px; left: -200px; top: 10%; z-index: -1;
	background: radial-gradient(closest-side, rgba(255, 74, 28, .28), transparent);
	filter: blur(30px);
	transition: background .4s ease, opacity .4s ease;
}
@keyframes heroZoom { to { transform: scale(1.07); } }

.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-bottom: 72px; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; margin-bottom: 22px;
	border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
	color: var(--muted); font-size: .84rem; font-weight: 500; backdrop-filter: blur(6px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(230, 57, 15, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(230, 57, 15, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 57, 15, 0); } }

.hero h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 800; margin-bottom: 22px; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 56ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 44px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--muted); font-size: .86rem; }

.hero-visual { position: relative; }
.code-card {
	border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden;
	background: var(--code-bg);
	backdrop-filter: blur(14px); box-shadow: var(--shadow), 0 0 80px -30px rgba(62, 166, 255, .35);
	transform: perspective(1100px) rotateY(-7deg) rotateX(3deg); transition: transform .5s ease;
}
.hero-visual:hover .code-card { transform: perspective(1100px) rotateY(0) rotateX(0); }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .03); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-bar i:nth-child(2) { background: #febc2e; }
.code-bar i:nth-child(3) { background: #28c840; }
.code-bar span { margin-left: 10px; color: #94a3b8; font-size: .8rem; font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; }
.code-card pre { margin: 0; padding: 22px 24px 26px; overflow-x: auto; font: 500 .9rem/1.8 ui-monospace, 'Cascadia Code', Consolas, monospace; color: #cdd6ef; }
.c-k { color: #ff8a3d; } .c-s { color: #7ee2a8; } .c-f { color: #6cb8ff; }

.float-chip {
	position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px);
	font-size: .84rem; font-weight: 600; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; color: var(--heading);
}
.float-chip .icon { color: var(--ok); }
.chip-a { left: -26px; bottom: 36px; }
.chip-b { right: -14px; top: -20px; animation-delay: -3s; }
.chip-b .icon { color: var(--brand-2); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Hero no Modo Claro: imagem preta e branca clareada e integrada ao fundo */
[data-theme="light"] .hero-bg {
	filter: grayscale(100%) brightness(1.25) contrast(.9);
	background:
		linear-gradient(90deg, rgba(248, 250, 252, .94) 0%, rgba(248, 250, 252, .78) 45%, rgba(248, 250, 252, .45) 100%),
		linear-gradient(0deg, var(--bg) 0%, transparent 30%),
		url('../imagem/large/globalizacao.webp') center / cover no-repeat;
}
[data-theme="light"] .hero::before { background: radial-gradient(closest-side, rgba(230, 57, 15, .08), transparent); }
[data-theme="light"] .eyebrow { background: #ffffff; border-color: rgba(15, 23, 42, 0.08); color: #475569; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); }
[data-theme="light"] .lead { color: #334155; }
[data-theme="light"] .float-chip { background: rgba(255, 255, 255, 0.95); border-color: rgba(15, 23, 42, 0.08); box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.12); }

@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) .hero-bg {
		filter: grayscale(100%) brightness(1.25) contrast(.9);
		background:
			linear-gradient(90deg, rgba(248, 250, 252, .94) 0%, rgba(248, 250, 252, .78) 45%, rgba(248, 250, 252, .45) 100%),
			linear-gradient(0deg, var(--bg) 0%, transparent 30%),
			url('../imagem/large/globalizacao.webp') center / cover no-repeat;
	}
	:root:not([data-theme="dark"]) .hero::before {
		background: radial-gradient(closest-side, rgba(230, 57, 15, .08), transparent);
	}
	:root:not([data-theme="dark"]) .eyebrow {
		background: #ffffff;
		border-color: rgba(15, 23, 42, 0.08);
		color: #475569;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	}
	:root:not([data-theme="dark"]) .lead {
		color: #334155;
	}
	:root:not([data-theme="dark"]) .float-chip {
		background: rgba(255, 255, 255, 0.95);
		border-color: rgba(15, 23, 42, 0.08);
		box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.12);
	}
}

/* ---------- Carrossel de destaques ---------- */
.carousel-section { padding: clamp(40px, 6vw, 72px) 0; }
.carousel { --per: 3; --gap: 18px; position: relative; }
.carousel-track {
	display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 6px 2px 22px; scrollbar-width: none; -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
	position: relative; flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); margin: 0; scroll-snap-align: start;
	aspect-ratio: 4 / 3; overflow: hidden; background: #0b1120; border-radius: 20px;
	border: 1px solid var(--border); box-shadow: var(--card-shadow); transition: transform .3s ease;
	contain: layout paint; transform: translateZ(0);
}
@media (hover: hover) {
	.carousel-item:hover { transform: translate3d(0, -4px, 0); }
	.carousel-item:hover img { transform: scale(1.05); }
}
.carousel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; will-change: transform; user-select: none; -webkit-user-drag: none; }
.carousel-item::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(0deg, rgba(6, 9, 19, .82) 0%, rgba(6, 9, 19, .12) 50%, transparent 72%);
}
.carousel-item figcaption {
	position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px;
	color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(.98rem, 1.5vw, 1.2rem); line-height: 1.25;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}
.carousel-item figcaption::before {
	content: ''; display: block; width: 36px; height: 4px; border-radius: 4px; margin-bottom: 10px; background: var(--grad);
}
.carousel-btn {
	position: absolute; top: calc(50% - 14px); z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
	display: grid; place-items: center; border: 1px solid var(--border);
	background: var(--bg-2); color: var(--heading); box-shadow: var(--shadow);
	transition: background .25s, transform .25s, color .25s, border-color .25s;
}
.carousel-btn:hover { background: var(--brand); color: #fff; border-color: transparent; transform: scale(1.08); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.prev .icon { transform: rotate(180deg); }
.carousel-btn.next { right: -22px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.carousel-dots button {
	width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--muted); opacity: .4;
	transition: width .3s ease, background .3s ease, opacity .3s ease;
}
.carousel-dots button.is-active { width: 26px; background: var(--brand); opacity: 1; }
@media (max-width: 1240px) {
	.carousel-btn.prev { left: 6px; } .carousel-btn.next { right: 6px; }
}
@media (max-width: 1000px) {
	.carousel { --per: 2; }
}
@media (max-width: 640px) {
	.carousel { --per: 1; }
	.carousel-btn { width: 40px; height: 40px; margin-top: -20px; }
}

/* Ticker */
.ticker { border-block: 1px solid var(--border); background: var(--surface); overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker ul { display: flex; gap: 48px; padding-right: 48px; }
.ticker li { color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: .95rem; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.ticker li::after { content: '✦'; color: var(--brand); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--border-subtle); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.kicker { color: var(--brand); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; margin-bottom: 16px; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip {
	padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
	color: var(--muted); font-weight: 600; font-size: .9rem; transition: all .25s ease;
}
.chip:hover { color: var(--heading); border-color: var(--brand); }
.chip.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -10px rgba(230, 57, 15, .7); }

/* Cards de serviço */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card {
	position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow);
	transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, opacity .35s ease;
	overflow: hidden;
}
.card::before {
	content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .35s;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(230, 57, 15, .14), transparent 55%);
	pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 24px 45px -15px rgba(230, 57, 15, .25); }
.card:hover::before { opacity: 1; }
.card.is-hidden { display: none; }
.card-icon {
	width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
	background: rgba(230, 57, 15, .1); border: 1px solid rgba(230, 57, 15, .22); color: var(--brand);
	transition: transform .35s ease, background .35s;
}
.card-icon .icon { width: 26px; height: 26px; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: rgba(230, 57, 15, .18); }
.card-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-link {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 0; margin-top: 6px;
	background: none; border: 0; font-weight: 600; font-size: .92rem; color: var(--brand);
}
.card-link .icon { transition: transform .25s; }
.card-link:hover .icon { transform: translateX(5px); }
.card-link::after { content: ''; position: absolute; inset: 0; }

/* Metodologia */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); transition: transform .3s, border-color .3s; }
.step:hover { transform: translateY(-5px); border-color: var(--brand); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 18px; box-shadow: 0 10px 24px -10px rgba(230, 57, 15, .8); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 48px; right: -21px; width: 22px; height: 2px; background: linear-gradient(90deg, var(--brand), transparent); }

/* Sobre */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy p { color: var(--muted); }
.about-copy h2 { text-align: left; }
.about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.softsul { height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); transition: transform .3s, border-color .3s; }
.feature:hover { transform: translateY(-5px); border-color: var(--accent); }
.feature-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(2, 132, 199, .1); color: var(--accent); border: 1px solid rgba(2, 132, 199, .24); }
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Clientes */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.logo-tile {
	display: grid; place-items: center; height: 104px; padding: 18px 24px; border-radius: var(--radius-sm);
	background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.logo-tile img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) opacity(.78); transition: filter .3s ease; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(230, 57, 15, .5); }
.logo-tile:hover img { filter: none; opacity: 1; }

/* Produto */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-visual { position: relative; }
.product-visual::before { content: ''; position: absolute; inset: 10% 5%; z-index: -1; background: radial-gradient(closest-side, rgba(62, 166, 255, .3), transparent); filter: blur(30px); }
.product-visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.product-logo { height: 48px; width: auto; margin-bottom: 20px; }
.product-copy h2 { text-align: left; }
.product-copy > p { color: var(--muted); }
.product-copy .btn { margin-top: 12px; }

/* Listas com check */
.check-list { display: grid; gap: 10px; margin: 18px 0 24px; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text); font-size: .95rem; }
.check-list li::before {
	content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
	background: rgba(5, 150, 105, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Faixa CTA */
.cta-band { padding: 0 0 clamp(72px, 9vw, 110px); }
.cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding: clamp(32px, 5vw, 56px); border-radius: 28px; position: relative; overflow: hidden;
	background: linear-gradient(120deg, #e6390f 0%, #ff5c26 55%, #ff8a3d 100%);
	box-shadow: 0 40px 80px -40px rgba(230, 57, 15, .7);
}
.cta-inner::before { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.cta-inner > * { position: relative; }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, .95); margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-inner .btn-ghost { background: rgba(0, 0, 0, .2); border-color: rgba(255, 255, 255, .4); color: #fff; }
.cta-inner .btn-ghost:hover { background: rgba(0, 0, 0, .35); border-color: #fff; }

/* Contato */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.form, .contact-info { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
	width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border);
	background: var(--bg); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field select option { background: var(--bg-2); color: var(--text); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(230, 57, 15, .15); }
.field.has-error input, .field.has-error textarea { border-color: #ff6b6b; }
.error { color: #ff6b6b; font-size: .8rem; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-weight: 500; font-size: .95rem; }
.form-status.ok { color: var(--ok); }
.form-status.fail { color: #ff6b6b; }

.contact-info ul { display: grid; gap: 20px; margin-bottom: 24px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info li > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 13px; background: rgba(230, 57, 15, .1); color: var(--brand); border: 1px solid rgba(230, 57, 15, .24); }
.contact-info span { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-info a, .contact-info address { color: var(--heading); font-style: normal; font-weight: 500; }
.contact-info a:hover { color: var(--brand); }
.map { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); margin-bottom: 20px; }
.map iframe { width: 100%; height: 220px; border: 0; display: block; filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }
.social { display: flex; gap: 12px; }
.social a { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); transition: all .25s; color: var(--text); }
.social a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); color: #fff; }

/* Contato específico no modo claro */
[data-theme="light"] .map iframe { filter: none; /* Exibe o mapa nítido do Google Maps */ }
@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) .map iframe {
		filter: none;
	}
}

/* Rodapé: Slate escuro com base sólida e elegante em ambos os modos */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; background: #0b1120; color: #cbd5e1; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner p { margin: 0; color: #94a3b8; font-size: .88rem; }
.footer-inner .brand img { height: 36px; }
.to-top { color: #94a3b8; font-size: .88rem; font-weight: 500; }
.to-top:hover { color: var(--brand-2); }

/* WhatsApp flutuante */
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center; background: #25d366; color: #fff;
	box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .65); transition: transform .25s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Modal (<dialog>) ---------- */
.modal {
	width: min(760px, 100% - 28px); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: 24px;
	background: transparent; color: var(--text); overflow: visible;
}
.modal::backdrop { background: rgba(3, 5, 12, .75); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .3s ease; }
.modal[open]::backdrop { animation: fadeIn .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card {
	position: relative; display: flex; flex-direction: column; max-height: min(88vh, 900px); border-radius: 24px; overflow: hidden;
	background: var(--bg-2); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); transition: background .2s, transform .2s, color .2s; color: var(--text); }
.modal-close:hover { background: var(--brand); transform: rotate(90deg); color: #fff; }
.modal-head { display: flex; align-items: center; gap: 18px; padding: 30px 72px 22px 32px; border-bottom: 1px solid var(--border); }
.modal-head .card-icon { margin: 0; }
.modal-head h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--heading); }
.modal-head .card-tag { margin-bottom: 4px; }
.modal-body { padding: 26px 32px; overflow-y: auto; overscroll-behavior: contain; }
.prose p { color: var(--muted); font-size: .98rem; }
.prose strong { color: var(--heading); }
.prose .check-list { margin-top: 6px; }
.modal-figure { margin: 8px auto 0; border-radius: 12px; background: #fff; padding: 10px; }
.modal-foot { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 32px 26px; border-top: 1px solid var(--border); }
body.modal-open { overflow: hidden; }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
	.steps { grid-template-columns: repeat(3, 1fr); }
	.step:not(:last-child)::after { display: none; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { max-width: 520px; }
	.about, .product { grid-template-columns: 1fr; gap: 44px; }
	.contact { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); height: 100dvh; z-index: 110;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
		padding: calc(var(--header-h) + 16px) 24px 32px;
		background: var(--bg-2); backdrop-filter: blur(20px); border-left: 1px solid var(--border);
		transform: translateX(105%); transition: transform .4s cubic-bezier(.2, .7, .2, 1); visibility: hidden;
	}
	.nav.is-open { transform: none; visibility: visible; box-shadow: -30px 0 80px rgba(0, 0, 0, .4); }
	.nav-list { flex-direction: column; gap: 4px; }
	.nav-list a { padding: 14px 16px; font-size: 1.05rem; border-radius: 14px; }
	.nav-cta { width: 100%; padding: 15px; }
	.steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.container { width: min(1200px, 100% - 32px); }
	.hero { padding-top: calc(var(--header-h) + 28px); }
	.hero-actions .btn { width: 100%; }
	.hero-stats { gap: 18px 28px; }
	.chip-a { left: 8px; } .chip-b { right: 8px; }
	.about-grid, .form-row, .check-list.cols-2, .steps { grid-template-columns: 1fr; }
	.form-row { gap: 0; }
	.footer-inner { flex-direction: column; text-align: center; }
	.modal-head { padding: 24px 64px 18px 20px; gap: 14px; }
	.modal-body { padding: 20px; }
	.modal-foot { padding: 16px 20px 22px; }
	.modal-foot .btn { flex: 1; }
	.wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Página: Guia de Compliance
   Layout corporativo premium, barra de progresso, sidebar sticky e print
   ========================================================================== */

/* Barra de progresso de leitura */
.read-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 3px;
	background: var(--grad);
	z-index: 120;
	transition: width .1s ease-out;
}

/* Header específico do compliance */
.compliance-nav {
	display: flex;
	align-items: center;
	gap: 16px;
}
.compliance-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-weight: 600;
	font-size: .92rem;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--border-subtle);
	transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.compliance-back:hover {
	color: var(--heading);
	background: var(--surface-2);
	border-color: var(--brand);
	transform: translateX(-2px);
}

/* Hero do compliance */
.compliance-hero {
	padding: calc(var(--header-h) + 48px) 0 44px;
	position: relative;
	background: radial-gradient(circle at 50% 0%, rgba(255, 74, 28, 0.12), transparent 65%);
	border-bottom: 1px solid var(--border-subtle);
}
.compliance-hero-inner {
	max-width: 920px;
}
.compliance-hero .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .86rem;
	font-weight: 700;
	color: var(--brand-2);
	text-transform: uppercase;
	letter-spacing: .08em;
	background: rgba(255, 74, 28, .1);
	border: 1px solid rgba(255, 74, 28, .25);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}
.compliance-hero h1 {
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	font-weight: 800;
	margin-bottom: 14px;
	line-height: 1.12;
}
.compliance-hero .lead {
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	color: var(--muted);
	margin-bottom: 24px;
	line-height: 1.5;
}
.compliance-meta-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}
.compliance-meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .88rem;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	padding: 6px 14px;
	border-radius: 999px;
}
.compliance-meta-chip .icon {
	color: var(--brand-2);
}
.compliance-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Layout principal: Sidebar + Conteúdo */
.compliance-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 48px;
	padding: 48px 0 80px;
	align-items: start;
}

/* Sidebar sticky com índice interativo */
.compliance-sidebar {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-height: calc(100vh - var(--header-h) - 48px);
	overflow-y: auto;
	padding-right: 6px;
}
.compliance-sidebar::-webkit-scrollbar {
	width: 4px;
}
.compliance-sidebar::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 4px;
}
.toc-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 20px;
	box-shadow: var(--card-shadow);
}
.toc-title {
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.toc-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.toc-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: .86rem;
	color: var(--muted);
	line-height: 1.35;
	transition: all .2s ease;
}
.toc-list a:hover {
	color: var(--heading);
	background: var(--surface-2);
	transform: translateX(3px);
}
.toc-list a.is-active {
	color: #fff;
	background: var(--brand);
	font-weight: 600;
}
.toc-num {
	font-size: .75rem;
	font-weight: 700;
	opacity: .7;
	font-family: var(--font-head);
}
.sidebar-cta {
	background: linear-gradient(145deg, rgba(255, 74, 28, .1), rgba(62, 166, 255, .05));
	border: 1px solid rgba(255, 74, 28, .2);
	border-radius: var(--radius-sm);
	padding: 18px;
}
.sidebar-cta h4 {
	font-size: .95rem;
	margin-bottom: 6px;
}
.sidebar-cta p {
	font-size: .84rem;
	color: var(--muted);
	margin-bottom: 12px;
}
.sidebar-cta .btn {
	width: 100%;
	padding: 10px 14px;
	font-size: .86rem;
}

/* Área de Conteúdo */
.compliance-doc {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

/* Seções e Cards do documento */
.doc-section {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 36px 38px;
	box-shadow: var(--card-shadow);
	position: relative;
	transition: border-color .25s ease;
	scroll-margin-top: calc(var(--header-h) + 20px);
}
.doc-section:hover {
	border-color: rgba(255, 74, 28, .3);
}
.doc-section-head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
}
.doc-sec-badge {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--grad);
	color: #fff;
	font-weight: 800;
	font-family: var(--font-head);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	box-shadow: 0 6px 16px -4px rgba(230, 57, 15, .5);
}
.doc-section-head h2 {
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	margin-top: 4px;
}
.doc-body {
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--text);
}
.doc-body p {
	margin-bottom: 1.25em;
}
.doc-body p:last-child {
	margin-bottom: 0;
}

/* Card Introdutório / Destaque */
.doc-intro-card {
	background: linear-gradient(135deg, rgba(255, 74, 28, .08), rgba(15, 23, 42, .4));
	border: 1px solid rgba(255, 74, 28, .3);
}
[data-theme="light"] .doc-intro-card {
	background: linear-gradient(135deg, rgba(255, 74, 28, .06), rgba(255, 255, 255, 0.95));
	border-color: rgba(255, 74, 28, .25);
}
.doc-intro-quote {
	font-size: clamp(1.05rem, 1.8vw, 1.2rem);
	font-weight: 500;
	line-height: 1.6;
	color: var(--heading);
	margin-bottom: 16px;
}

/* Grid de Pilares do Compliance */
.doc-pillars-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin: 24px 0 8px;
}
.pillar-card {
	background: var(--surface-2);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: transform .2s ease, border-color .2s ease;
}
.pillar-card:hover {
	transform: translateY(-2px);
	border-color: var(--brand);
}
.pillar-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255, 74, 28, .12);
	color: var(--brand-2);
	display: flex;
	align-items: center;
	justify-content: center;
}
.pillar-card strong {
	font-size: 1rem;
	color: var(--heading);
}
.pillar-card span {
	font-size: .88rem;
	color: var(--muted);
	line-height: 1.4;
}

/* Badges de público-alvo (A quem se aplica) */
.stakeholders-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}
.stakeholder-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	padding: 8px 16px;
	border-radius: 999px;
	font-size: .92rem;
	font-weight: 600;
	color: var(--heading);
}
.stakeholder-chip .icon {
	color: var(--brand);
}

/* Grid de Princípios Fundamentais (6 cards) */
.principles-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin-top: 24px;
}
.principle-card {
	background: var(--surface-2);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	padding: 22px;
	display: flex;
	gap: 16px;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.principle-card:hover {
	transform: translateY(-3px);
	border-color: var(--brand-2);
	box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .4);
}
.principle-icon {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255, 74, 28, .12);
	color: var(--brand-2);
	display: flex;
	align-items: center;
	justify-content: center;
}
.principle-content h3 {
	font-size: 1.1rem;
	margin-bottom: 6px;
	color: var(--heading);
}
.principle-content p {
	font-size: .92rem;
	color: var(--muted);
	line-height: 1.5;
	margin: 0;
}

/* Callouts de Alerta e Conformidade */
.callout {
	margin: 22px 0;
	padding: 20px 24px;
	border-radius: var(--radius-sm);
	border-left: 4px solid var(--brand);
	background: var(--surface-2);
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.callout-icon {
	flex: none;
	width: 28px;
	height: 28px;
	color: var(--brand-2);
	margin-top: 2px;
}
.callout-text {
	font-size: .95rem;
	line-height: 1.55;
	color: var(--text);
}
.callout-text strong {
	color: var(--heading);
	display: block;
	margin-bottom: 4px;
}
.callout-warning {
	border-left-color: #f59e0b;
	background: rgba(245, 158, 11, .07);
}
.callout-warning .callout-icon {
	color: #f59e0b;
}
.callout-danger {
	border-left-color: #ef4444;
	background: rgba(239, 68, 68, .07);
}
.callout-danger .callout-icon {
	color: #ef4444;
}

/* Checklist estilizado para LGPD / Confidencialidade */
.compliance-checklist {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 20px 0;
}
.checklist-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 16px;
	background: var(--surface-2);
	border-radius: 10px;
	font-size: .95rem;
	line-height: 1.5;
	border: 1px solid var(--border-subtle);
}
.checklist-item .icon {
	color: var(--ok);
	margin-top: 2px;
}

/* Card Especial: Canal de Ética e Relatos */
.channel-card {
	background: linear-gradient(135deg, rgba(255, 74, 28, .12), rgba(62, 166, 255, .08));
	border: 2px solid rgba(255, 74, 28, .35);
	border-radius: var(--radius);
	padding: 36px;
}
.channel-box {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 24px;
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.channel-guarantee {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ok);
	font-weight: 600;
	font-size: .95rem;
}
.channel-contact-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}
.channel-contact-row .btn {
	padding: 14px 24px;
}

/* Banner de Encerramento */
.closing-banner {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 40px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.closing-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 50%, rgba(255, 74, 28, .12), transparent 70%);
	pointer-events: none;
}
.closing-banner h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin-bottom: 12px;
}
.closing-banner p {
	font-size: 1.15rem;
	color: var(--muted);
	max-width: 680px;
	margin: 0 auto 20px;
	line-height: 1.6;
}
.closing-tagline {
	display: inline-block;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--brand-2);
	padding: 10px 24px;
	background: rgba(255, 74, 28, .1);
	border: 1px solid rgba(255, 74, 28, .2);
	border-radius: 999px;
}

/* Estilos de Impressão (@media print) */
@media print {
	.site-header,
	.read-progress,
	.compliance-sidebar,
	.compliance-actions,
	.wa-float,
	.theme-toggle,
	.site-footer,
	.skip-link,
	.channel-contact-row .btn {
		display: none !important;
	}

	body {
		background: #ffffff !important;
		color: #111827 !important;
		font-size: 11pt !important;
		line-height: 1.5 !important;
	}

	.compliance-layout {
		display: block !important;
		padding: 0 !important;
	}

	.compliance-hero {
		padding: 20px 0 !important;
		background: none !important;
		border-bottom: 2px solid #e5e7eb !important;
	}

	.compliance-hero h1 {
		color: #111827 !important;
		font-size: 22pt !important;
	}

	.grad {
		color: #e6390f !important;
		-webkit-background-clip: unset !important;
		background-clip: unset !important;
	}

	.doc-section {
		background: #ffffff !important;
		border: 1px solid #e5e7eb !important;
		box-shadow: none !important;
		padding: 16px 20px !important;
		margin-bottom: 18px !important;
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.principles-grid {
		grid-template-columns: 1fr 1fr !important;
		gap: 12px !important;
	}

	.principle-card, .pillar-card {
		background: #f9fafb !important;
		border: 1px solid #e5e7eb !important;
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.channel-card {
		background: #f9fafb !important;
		border: 1px solid #e5e7eb !important;
	}
}

/* Responsivo do compliance */
@media (max-width: 960px) {
	.compliance-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.compliance-sidebar {
		display: none;
	}
	.doc-section {
		padding: 26px 22px;
	}
	.principles-grid {
		grid-template-columns: 1fr;
	}
	.doc-section-head {
		gap: 12px;
	}
	.doc-sec-badge {
		width: 36px;
		height: 36px;
		font-size: .95rem;
	}
}

/* ==========================================================================
   Componentes de SEO: Páginas de Soluções, FAQ Accordion, Footer Rico
   ========================================================================== */

/* Breadcrumbs */
.breadcrumb-nav { margin-bottom: 24px; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.breadcrumb-list a { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; transition: color .2s; }
.breadcrumb-list a:hover { color: var(--brand); }
.breadcrumb-list li[aria-current="page"] { color: var(--heading); font-weight: 600; }

/* Hero da Solução */
.solucao-hero { padding-top: calc(var(--header-h) + 40px); }
.solucao-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.solucao-hero-copy h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 800; margin-bottom: 20px; line-height: 1.14; }
.solucao-hero-copy .lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); margin-bottom: 32px; }

/* Destaques da Solução (Cards laterais no Hero) */
.solucao-destaques-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sol-destaque-card {
	padding: 24px 20px; border-radius: var(--radius); background: var(--surface);
	border: 1px solid var(--border); box-shadow: var(--card-shadow);
	transition: transform .3s ease, border-color .3s ease;
}
.sol-destaque-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.sol-destaque-num {
	display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700;
	background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	margin-bottom: 6px; line-height: 1.15;
}
.sol-destaque-card p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* Tópicos Aprofundados */
.sol-topicos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sol-topico-card {
	position: relative; padding: 36px 30px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow);
	transition: transform .3s ease, border-color .3s ease;
}
.sol-topico-card:hover { transform: translateY(-5px); border-color: var(--brand); }
.sol-topico-num {
	width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
	background: rgba(230, 57, 15, .1); color: var(--brand); font-family: var(--font-head);
	font-weight: 800; font-size: 1rem; border: 1px solid rgba(230, 57, 15, .25); margin-bottom: 18px;
}
.sol-topico-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.sol-topico-card p { color: var(--muted); font-size: .96rem; margin: 0; line-height: 1.65; }

/* Links para outras soluções (Cross-linking) */
.sol-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sol-link-tile {
	display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius-sm);
	background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow);
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.sol-link-tile:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 16px 36px -12px rgba(230, 57, 15, .3); }
.sol-link-tile .card-icon { margin: 0; width: 48px; height: 48px; border-radius: 13px; }
.sol-link-tile h3 { font-size: 1.05rem; margin-bottom: 4px; }
.sol-link-tile span { font-size: .85rem; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }

/* Accordion de FAQ */
.faq-accordion { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
	border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border);
	box-shadow: var(--card-shadow); overflow: hidden; transition: border-color .25s ease;
}
.faq-item[open] { border-color: rgba(230, 57, 15, .4); }
.faq-question {
	display: flex; align-items: center; justify-content: space-between; gap: 18px;
	padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
	color: var(--heading); cursor: pointer; list-style: none; user-select: none;
	transition: color .2s ease;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--brand); }
.faq-icon {
	width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
	background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
	flex-shrink: 0; transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-icon .icon { width: 16px; height: 16px; transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--brand); color: #fff; border-color: transparent; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: .97rem; line-height: 1.65; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Grid de Especialidades na Home */
.especialidades-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.esp-card {
	position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow);
	transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.esp-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 20px 45px -15px rgba(230, 57, 15, .3); }
.esp-card .card-icon { margin-bottom: 20px; }
.esp-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.esp-card p { color: var(--muted); font-size: .95rem; line-height: 1.6; flex: 1; margin-bottom: 18px; }
.esp-card-cta {
	display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem;
	color: var(--brand); margin-top: auto;
}
.esp-card-cta .icon { transition: transform .25s ease; }
.esp-card:hover .esp-card-cta .icon { transform: translateX(5px); }

/* Rodapé Rico com 4 colunas */
.footer-rich {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px;
	padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.footer-col h4 {
	font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: #fff; margin-bottom: 18px;
}
.footer-col p { color: #94a3b8; font-size: .88rem; line-height: 1.6; }
.footer-col a { color: #94a3b8; transition: color .2s; }
.footer-col a:hover { color: var(--brand-2); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; }
.footer-bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	flex-wrap: wrap; padding-top: 28px;
}
.footer-bottom p { margin: 0; color: #94a3b8; font-size: .88rem; }

/* Responsivo para os novos componentes */
@media (max-width: 1024px) {
	.footer-rich { grid-template-columns: 1fr 1fr; gap: 32px; }
	.solucao-hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.sol-topicos-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.footer-rich { grid-template-columns: 1fr; gap: 28px; }
	.solucao-destaques-grid { grid-template-columns: 1fr; }
	.sol-topico-card { padding: 26px 20px; }
}

