/* =========================================================================
   DEVCORE LANDING — main.css
   Mobile First — 6 Temas Profissionais (Escuro/Claro | Morno/Quente/Frio)
   ========================================================================= */

/* 1.1 Escuro - Morno (Padrão) */
:root, [data-theme="dark-morno"] {
	--bg: #0a0a10; --bg-alt: #0d0e17; 
	--surface: rgba(255, 255, 255, 0.045); --surface-strong: rgba(255, 255, 255, 0.07);
	--border: rgba(255, 255, 255, 0.09);
	--text: #f3f1ec; --text-muted: #9c9ba6;
	--accent: #d97a4d; --accent-2: #eaa06f; 
	--accent-soft: rgba(217, 122, 77, 0.16); --accent-glow: rgba(217, 122, 77, 0.4);
	--navy-accent: #3a4a8f;

	--font-display: "Sora", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, sans-serif;
	--container: 1180px;
	--radius-sm: 10px; --radius-md: 16px; --radius-lg: 24px;
	--space-section: clamp(64px, 10vw, 140px);
}

/* 1.2 Escuro - Quente */
[data-theme="dark-quente"] {
	--bg: #2b1d14; --bg-alt: #36251a; 
	--surface: rgba(255, 255, 255, 0.05); --surface-strong: rgba(255, 255, 255, 0.08);
	--border: rgba(255, 200, 150, 0.15);
	--text: #fdf5e6; --text-muted: #d4c4b7;
	--accent: #ff6b35; --accent-2: #ff8c61; 
	--accent-soft: rgba(255, 107, 53, 0.16); --accent-glow: rgba(255, 107, 53, 0.4);
	--navy-accent: #7a3b2e;
}

/* 1.3 Escuro - Frio */
[data-theme="dark-frio"] {
	--bg: #0f172a; --bg-alt: #1e293b; 
	--surface: rgba(255, 255, 255, 0.05); --surface-strong: rgba(255, 255, 255, 0.08);
	--border: rgba(148, 163, 184, 0.15);
	--text: #f8fafc; --text-muted: #94a3b8;
	--accent: #38bdf8; --accent-2: #7dd3fc; 
	--accent-soft: rgba(56, 189, 248, 0.16); --accent-glow: rgba(56, 189, 248, 0.4);
	--navy-accent: #0284c7;
}

/* 2.1 Claro - Morno */
[data-theme="light-morno"] {
	--bg: #f8f9fa; --bg-alt: #ffffff; 
	--surface: rgba(0, 0, 0, 0.03); --surface-strong: rgba(0, 0, 0, 0.06);
	--border: rgba(0, 0, 0, 0.1);
	--text: #1a1a24; --text-muted: #5a5a66;
	--accent: #d97a4d; --accent-2: #b95a30; 
	--accent-soft: rgba(217, 122, 77, 0.1); --accent-glow: rgba(217, 122, 77, 0.2);
	--navy-accent: #1e3a8a;
}

/* 2.2 Claro - Quente */
[data-theme="light-quente"] {
	--bg: #fff8f3; --bg-alt: #ffffff; 
	--surface: rgba(0, 0, 0, 0.03); --surface-strong: rgba(0, 0, 0, 0.06);
	--border: rgba(0, 0, 0, 0.1);
	--text: #2d1f18; --text-muted: #6b5a54;
	--accent: #ff6b35; --accent-2: #d84b1a; 
	--accent-soft: rgba(255, 107, 53, 0.1); --accent-glow: rgba(255, 107, 53, 0.2);
	--navy-accent: #7a3b2e;
}

/* 2.3 Claro - Frio */
[data-theme="light-frio"] {
	--bg: #f0f9ff; --bg-alt: #ffffff; 
	--surface: rgba(0, 0, 0, 0.03); --surface-strong: rgba(0, 0, 0, 0.06);
	--border: rgba(0, 0, 0, 0.1);
	--text: #0f172a; --text-muted: #475569;
	--accent: #0284c7; --accent-2: #0369a1; 
	--accent-soft: rgba(2, 132, 199, 0.1); --accent-glow: rgba(2, 132, 199, 0.2);
	--navy-accent: #1e3a8a;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--font-body); font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; color: var(--text); }
p { margin: 0; color: var(--text-muted); }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea { font-family: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
section[id] { scroll-margin-top: 90px; }

/* ---------- Acessibilidade ---------- */
.skip-link {
	position: absolute; left: 12px; top: -60px;
	background: var(--accent); color: #16110d;
	padding: 10px 16px; border-radius: 8px; font-weight: 600;
	z-index: 999; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

html.no-scroll, html.no-scroll body { overflow: hidden; height: 100%; overscroll-behavior: none; }
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis.lenis-stopped { overflow: clip; }
html.lenis.lenis-smooth iframe { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

.noise-overlay {
	position: fixed; inset: 0; pointer-events: none; z-index: 2;
	opacity: 0.035; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
	position: fixed; top: 0; left: 0; width: 420px; height: 420px; border-radius: 50%;
	pointer-events: none; z-index: 1; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
	transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s ease; will-change: transform;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow.is-active { opacity: 1; } }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	background: rgba(10, 10, 16, 0.55); backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent;
	transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark {
	width: 22px; height: 22px; border-radius: 6px;
	background: linear-gradient(135deg, var(--accent-2), var(--accent));
	box-shadow: 0 0 16px var(--accent-glow);
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.logo-dot { color: var(--accent); }

.main-nav {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0;
	height: 100vh; height: 100dvh; z-index: 150;
	background: var(--bg-alt); display: flex; align-items: flex-start; justify-content: center;
	padding-top: 110px; padding-bottom: 40px; overflow-y: auto; -webkit-overflow-scrolling: touch;
	transform: translateY(-12px); opacity: 0; visibility: hidden;
	transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav ul { display: flex; flex-direction: column; gap: 28px; text-align: center; margin: 0 auto; }
.nav-link { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text); position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent); transition: width .25s ease; }
.nav-link:hover::after, .nav-link:focus-visible::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-sm { display: none; }
.nav-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   BOTÕES E HERO
   ========================================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
	position: relative; overflow: hidden;
}
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #1a1109; box-shadow: 0 8px 24px -8px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px var(--accent-glow); }
.btn-ghost { color: var(--text); border: 1px solid var(--border); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-strong); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.hero { position: relative; padding-top: 150px; overflow: hidden; }
.hero-blobs { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: blobFloat 14s ease-in-out infinite; }
.blob-orange { width: 420px; height: 420px; background: var(--accent); top: -120px; right: -120px; }
.blob-blue { width: 380px; height: 380px; background: var(--navy-accent); bottom: -160px; left: -100px; animation-delay: -6s; }
@keyframes blobFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-24px, 28px) scale(1.08); } }

.hero-inner { display: flex; flex-direction: column; gap: 48px; padding-bottom: 60px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.02em; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-title { margin-top: 20px; font-size: clamp(2.2rem, 7vw, 4.4rem); letter-spacing: -0.03em; }
.text-accent { color: var(--accent); }
.hero-sub { margin-top: 20px; max-width: 46ch; font-size: 1.05rem; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { display: flex; justify-content: center; }
.chip-card { width: min(340px, 80vw); aspect-ratio: 1.2/1; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)); }
.parallax-el { will-change: transform; }

.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; padding: 22px 0; background: var(--bg-alt); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marqueeScroll 26s linear infinite; }
.marquee-item { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text-muted); white-space: nowrap; opacity: 0.75; transition: opacity .2s, color .2s; }
.marquee-item:hover { opacity: 1; color: var(--accent-2); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================================
   SEÇÕES GERAIS, PROJETOS E BENTO
   ========================================================================= */
.section { padding-block: var(--space-section); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); letter-spacing: -0.02em; }
.section-head p { margin-top: 14px; font-size: 1.02rem; }
.section-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

.work-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.work-track::-webkit-scrollbar { display: none; }
.work-card { display: block; flex: 0 0 min(300px, 82vw); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: transform .35s ease, border-color .35s ease; cursor: pointer; }
.work-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.work-thumb { aspect-ratio: 16/10.5; }
.work-body { padding: 20px; }
.work-cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-2); }
.work-body h3 { margin-top: 8px; font-size: 1.1rem; }
.work-body p { margin-top: 8px; font-size: 0.92rem; }
.work-nav { display: flex; gap: 10px; margin-top: 22px; }
.work-arrow, .test-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: background .2s ease, border-color .2s; }
.work-arrow:hover, .test-arrow:hover { background: var(--surface-strong); border-color: var(--accent); }

.bento-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.bento-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; transition: transform .35s ease, border-color .35s ease, background .35s ease; position: relative; }
.bento-card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--surface-strong); }
.bento-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 18px; }
.bento-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.bento-card p { font-size: 0.95rem; }
.bento-link { display: inline-flex; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.88rem; color: var(--accent-2); }
.bento-link span { transition: transform .2s ease; }
.bento-link:hover span { transform: translateX(4px); }

/* =========================================================================
   STATS E TESTEMUNHO
   ========================================================================= */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.stat-number { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 3.6rem); color: var(--text); margin: 10px 0 14px; background: linear-gradient(135deg, var(--text), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card p { font-size: 0.92rem; }

.testimonial-section { text-align: center; }
.testimonial-wrapper { display: flex; align-items: center; justify-content: center; gap: 20px; }
.testimonial-content { max-width: 60ch; }
.testimonial-content blockquote { margin: 0; }
.testimonial-content p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 3vw, 1.6rem); color: var(--text); line-height: 1.5; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--navy-accent)); }
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

/* =========================================================================
   CONTATO
   ========================================================================= */
.contact-section { background: radial-gradient(circle at 20% 20%, var(--accent-soft), transparent 55%); border-top: 1px solid var(--border); }
.contact-inner { display: flex; flex-direction: column; gap: 40px; }
.contact-copy h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.contact-copy p { margin-top: 14px; max-width: 42ch; }

.contact-methods { margin-top: 24px; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-methods a { color: var(--accent-2); font-weight: 600; transition: opacity 0.2s; }
.contact-methods a:hover { opacity: 0.8; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; max-width: 520px; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row textarea { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--text); font-size: 0.95rem; resize: vertical; transition: border-color .2s ease; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--accent); }
.form-row input.is-invalid, .form-row textarea.is-invalid { border-color: #d95050; }
.form-error { font-size: 0.8rem; color: #f28b8b; min-height: 1em; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 0.9rem; min-height: 1.2em; }
.form-status.is-success { color: #7fd9a0; }
.form-status.is-error { color: #f28b8b; }

.checkbox-wrapper { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-direction: row; }
.checkbox-wrapper input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.checkbox-wrapper label { font-weight: normal; font-size: 0.88rem; cursor: pointer; color: var(--text); }
.terms-wrapper { margin-bottom: 24px; }

/* =========================================================================
   FOOTER E MODAIS
   ========================================================================= */
.site-footer { padding-top: 90px; border-top: 1px solid var(--border); background: var(--bg-alt); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
.footer-brand p { margin-top: 14px; max-width: 34ch; font-size: 0.92rem; }
.footer-col h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.95rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent-2); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: color .2s ease, border-color .2s ease; }
.social-link:hover { color: var(--accent-2); border-color: var(--accent); }
.footer-wordmark { line-height: 0.8; overflow: hidden; }
.reveal-word { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 16vw, 9rem); letter-spacing: -0.03em; background: linear-gradient(180deg, var(--accent-2), transparent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.9; }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; padding-block: 22px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted); }

.footer-link-btn, .inline-link { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; text-align: left; }
.footer-link-btn { font-size: 0.95rem; transition: color .2s ease; }
.footer-link-btn:hover { color: var(--accent-2); }
.inline-link { color: var(--accent-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6); padding: 22px; max-width: 640px; margin-inline: auto; transform: translateY(20px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 0.9rem; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie-banner-actions .btn { flex: 1 1 auto; }

.modal-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(6, 6, 10, 0.72); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; padding: 0; }
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: 100%; max-width: 620px; max-height: 86vh; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: translateY(24px); transition: transform .3s ease; }
.modal-overlay.is-open .modal-box { transform: translateY(0); }
.modal-scroll { padding: 40px 26px 30px; overflow-y: auto; max-height: 86vh; }
.modal-box h2 { font-size: 1.5rem; padding-right: 30px; }
.modal-updated { font-size: 0.8rem; margin-top: 6px; color: var(--text-muted); }
.modal-box h3 { font-family: var(--font-display); font-size: 1rem; margin-top: 24px; margin-bottom: 8px; color: var(--accent-2); }
.modal-box p { font-size: 0.92rem; margin-top: 4px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: background .2s ease; }
.modal-close:hover { background: var(--surface-strong); }
.cookie-option { padding: 16px 0; border-top: 1px solid var(--border); }
.cookie-option:first-of-type { border-top: none; margin-top: 8px; }
.cookie-option-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-option-head label { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.cookie-option-head input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); }
.cookie-option p { margin-top: 6px; }
.cookie-settings-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cookie-settings-actions .btn { flex: 1 1 auto; }

/* =========================================================================
   BOTÕES FLUTUANTES (FAB) E MENU DE CORES PROFISSIONAL
   ========================================================================= */
.fab-container {
	position: fixed;
	bottom: 24px;
	right: 24px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	z-index: 200;
}
.fab-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	color: #fff;
	position: relative;
	transition: transform 0.2s, opacity 0.3s;
	border: none;
	cursor: pointer;
}
.fab-btn:hover { transform: scale(1.08); }
.fab-whatsapp { background: #25D366; }
.fab-theme {
	background: var(--bg-alt);
	border: 1px solid var(--border);
	color: var(--text);
}
.fab-top {
	background: var(--bg-alt);
	opacity: 0;
	visibility: hidden;
}
.fab-top.is-visible { opacity: 1; visibility: visible; }
.fab-top .fab-icon {
	position: absolute;
	color: var(--text);
	font-weight: bold;
}
.progress-ring {
	position: absolute; top: 0; left: 0;
	transform: rotate(-90deg);
}
.progress-ring__circle { transition: stroke-dashoffset 0.1s; }

/* Menu de Paleta Avançado */
.fab-theme-menu {
	position: absolute;
	bottom: 130px;
	right: 0;
	width: 250px;
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.fab-theme-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.theme-menu-header {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--text);
	border-bottom: 1px solid var(--border);
	padding-bottom: 12px;
}
.theme-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 14px;
}
.theme-group:last-child {
	margin-bottom: 0;
}
.theme-group-title {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
	margin-bottom: 4px;
	font-weight: 700;
}
.theme-option {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 8px 10px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	transition: background 0.2s, border-color 0.2s;
}
.theme-option:hover {
	background: var(--surface);
}
.theme-option.is-active {
	background: var(--surface-strong);
	border-color: var(--accent);
}
.theme-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text);
}
.theme-swatches {
	display: flex;
	gap: 4px;
	pointer-events: none; /* Deixa o clique ir pro botão pai */
}
.swatch {
	width: 14px;
	height: 14px;
	border-radius: 4px;
	border: 1px solid rgba(128, 128, 128, 0.2);
	box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* =========================================================================
   BREAKPOINTS
   ========================================================================= */
@media (min-width: 640px) {
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat-card-wide { grid-column: span 2; }
	.footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
	.modal-overlay { align-items: center; padding: 24px; }
	.modal-box { border-radius: var(--radius-lg); transform: translateY(12px) scale(0.98); }
	.modal-overlay.is-open .modal-box { transform: translateY(0) scale(1); }
	.cookie-banner { left: 24px; bottom: 24px; }
	.cookie-banner-actions .btn { flex: 0 1 auto; }
}
@media (min-width: 860px) {
	.header-actions .btn-sm { display: inline-flex; }
	.nav-toggle { display: none; }
	.main-nav { position: static; top: auto; right: auto; bottom: auto; left: auto; height: auto; background: none; opacity: 1; visibility: visible; transform: none; padding: 0; overflow: visible; align-items: center; }
	.main-nav ul { flex-direction: row; gap: 30px; }
	.nav-link { font-size: 0.92rem; font-weight: 500; }
	.hero-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
	.hero-copy { flex: 1; }
	.hero-visual { flex: 0 0 380px; }
	.bento-grid { grid-template-columns: repeat(3, 1fr); }
	.bento-large { grid-column: span 2; }
	.stats-grid { grid-template-columns: repeat(3, 1fr); }
	.stat-card-wide { grid-column: span 1; }
	.contact-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
	.contact-copy { flex: 1; position: sticky; top: 120px; }
	.contact-form { flex: 1; }
}
@media (min-width: 1100px) {
	.hero-title { font-size: 4.6rem; }
}