:root { --c-navy: #0d2340; --c-blue: #1a5c96; --c-mid: #1e7ab8; --c-sky: #3da0d8; --c-gold: #ffc85a; --c-gold-lt: #ffc85a; --c-surface: #0f2a4a; --c-card: #132f52; --c-border: rgba(30, 122, 184, 0.18); --c-text: #cfe3f5; --c-muted: #6a93b8; --c-white: #f0f7ff; --font-display: 'Playfair Display', Georgia, serif; --font-body: 'DM Sans', sans-serif; --radius: 16px; --glow-blue: 0 0 40px rgba(30, 122, 184, 0.22); --glow-gold: 0 0 30px rgba(245, 166, 35, 0.25); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--c-navy); color: var(--c-text); font-family: var(--font-body); font-weight: 300; line-height: 1.7; overflow-x: hidden; }

/* ── Texture overlay ── */
body::before { content: ''; position: fixed; inset: 0; background-image: radial-gradient(ellipse 80% 60% at 70% -10%, rgba(30, 122, 184, 0.18) 0%, transparent 60%), radial-gradient(ellipse 50% 40% at 10% 90%, rgba(245, 166, 35, 0.07) 0%, transparent 55%); pointer-events: none; z-index: 0; }

/* ── Grid de linhas finas ── */
body::after { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(30, 122, 184, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 122, 184, 0.04) 1px, transparent 1px); background-size: 70px 70px; pointer-events: none; z-index: 0; }

/* ══════════════════════════════════════
NAVBAR
══════════════════════════════════════ */
.navbar { background: rgba(13, 35, 64, 0.9); backdrop-filter: blur(18px); border-bottom: 1px solid var(--c-border); padding: 1rem 0; position: sticky; top: 0; z-index: 200; transition: padding .3s; }
.navbar-brand { font-family: var(--font-display); font-size: 1.45rem; font-weight: 900; color: var(--c-white) !important; letter-spacing: -0.5px; }
.navbar-brand .brand-iqe { color: var(--c-gold); }
.nav-link { color: var(--c-muted) !important; font-size: .88rem; font-weight: 400; letter-spacing: .3px; transition: color .2s; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--c-gold); transition: width .25s; border-radius: 2px; }
.nav-link:hover { color: var(--c-white) !important; }
.nav-link:hover::after { width: 100%; }
.btn-nav { background: var(--c-gold); color: var(--c-navy) !important; border-radius: 50px; padding: .45rem 1.3rem; font-weight: 600; font-size: .85rem; transition: box-shadow .25s, transform .2s; }
.btn-nav:hover { box-shadow: var(--glow-gold); transform: translateY(-1px); }

/* ══════════════════════════════════════
HERO
══════════════════════════════════════ */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding: 7rem 0 5rem; overflow: hidden; }

/* Orbs de fundo */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .3; animation: drift 9s ease-in-out infinite alternate; }
.orb-1 { width: 550px; height: 550px; background: radial-gradient(circle, #1e7ab8, transparent); top: -120px; right: -80px; }
.orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, #ffc85a, transparent); bottom: 40px; left: -60px; animation-delay: -5s; opacity: .18; }
@keyframes drift {
from { transform: translate(0, 0) scale(1); }
to { transform: translate(25px, 18px) scale(1.05); }
}
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(245, 166, 35, 0.12); border: 1px solid rgba(245, 166, 35, 0.3); border-radius: 50px; padding: .35rem 1rem; font-size: .78rem; font-weight: 600; color: var(--c-gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.6rem, 5.5vw, 5rem); font-weight: 900; line-height: 1.08; letter-spacing: -1.5px; color: var(--c-white); margin-bottom: 1.5rem; }
.hero-title .accent-gold { color: var(--c-gold); font-style: italic; }
.hero-title .accent-sky { color: var(--c-sky); }
.hero-sub { font-size: 1.05rem; color: var(--c-muted); max-width: 500px; margin-bottom: 2.5rem; }

/* Botões */
.btn-primary-iqe { background: var(--c-gold); border: none; color: var(--c-navy); font-family: var(--font-body); font-weight: 700; font-size: .95rem; border-radius: 50px; padding: .9rem 2.2rem; transition: transform .25s, box-shadow .25s; }
.btn-primary-iqe:hover { transform: translateY(-3px); box-shadow: var(--glow-gold); color: var(--c-navy); }
.btn-outline-iqe { background: transparent; border: 1px solid var(--c-border); color: var(--c-text); font-family: var(--font-body); font-weight: 500; font-size: .95rem; border-radius: 50px; padding: .9rem 2.2rem; transition: border-color .2s, background .2s; }
.btn-outline-iqe:hover { border-color: var(--c-sky); background: rgba(30, 122, 184, 0.08); color: var(--c-sky); }

/* ── Hero Mockup ── */
.mockup-wrap { position: relative; display: flex; justify-content: center; }
.mockup-screen { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 20px; padding: 1.5rem; box-shadow: var(--glow-blue), 0 40px 80px rgba(0, 0, 0, 0.5); max-width: 420px; width: 100%; position: relative; }
.mockup-bar { display: flex; gap: .4rem; margin-bottom: 1rem; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

/* Donut chart SVG animado */
.donut-wrap { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.donut-segment { stroke-dasharray: 0 314; animation: fillDonut 1.5s ease forwards; }
.seg-1 { stroke: #1e7ab8; animation-delay: .1s; }
.seg-2 { stroke: #ffc85a; animation-delay: .3s; }
.seg-3 { stroke: #3da0d8; animation-delay: .5s; }
.seg-4 { stroke: #ffc85a; animation-delay: .7s; }
@keyframes fillDonut {
to { stroke-dasharray: var(--dash) 314; }
}
.legend-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.legend-item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 8px; padding: .5rem .75rem; display: flex; align-items: center; gap: .5rem; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.legend-label { font-size: .68rem; color: var(--c-muted); }
.legend-val { font-size: .8rem; font-weight: 600; color: var(--c-white); margin-left: auto; }
.floating-badge { position: absolute; background: var(--c-card); border: 1px solid var(--c-border); border-radius: 12px; padding: .6rem 1rem; font-size: .73rem; font-weight: 500; display: flex; align-items: center; gap: .4rem; box-shadow: var(--glow-blue); animation: float 4s ease-in-out infinite; white-space: nowrap; }
.floating-badge i { color: var(--c-gold); }
.fb-1 { top: -18px; right: -28px; animation-delay: 0s; }
.fb-2 { bottom: 12px; left: -38px; animation-delay: -2.5s; }
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-8px); }
}

/* ══════════════════════════════════════
NUMBERS
══════════════════════════════════════ */
.numbers-section { padding: 4rem 0; background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); position: relative; z-index: 1; }
.number-val { font-family: var(--font-display); font-size: 3.2rem; font-weight: 900; color: var(--c-gold); line-height: 1; }
.number-label { font-size: .88rem; color: var(--c-muted); margin-top: .3rem; }

/* ══════════════════════════════════════
SECTION HELPERS
══════════════════════════════════════ */
.section-eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--c-gold); margin-bottom: .6rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 900; color: var(--c-white); line-height: 1.1; letter-spacing: -.8px; }

/* ══════════════════════════════════════
DIMENSÕES (4 cards com peso)
══════════════════════════════════════ */
.dims-section { padding: 6rem 0; position: relative; z-index: 1; }
.dim-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 2rem; height: 100%; position: relative; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.dim-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top left, rgba(30, 122, 184, 0.07), transparent 60%); opacity: 0; transition: opacity .3s; }
.dim-card:hover { transform: translateY(-6px); border-color: var(--c-mid); box-shadow: var(--glow-blue); }
.dim-card:hover::before { opacity: 1; }

/* Destaque do peso */
.dim-peso { position: absolute; top: 1.2rem; right: 1.2rem; font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; color: var(--c-gold); opacity: .15; line-height: 1; pointer-events: none; }
.dim-card:hover .dim-peso { opacity: .35; }
.dim-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(245, 166, 35, 0.12); border: 1px solid rgba(245, 166, 35, 0.25); border-radius: 50px; padding: .25rem .75rem; font-size: .72rem; font-weight: 700; color: var(--c-gold); letter-spacing: .5px; margin-bottom: 1.2rem; }
.dim-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(30, 122, 184, 0.12); border: 1px solid rgba(30, 122, 184, 0.22); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--c-sky); margin-bottom: 1.2rem; }
.dim-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--c-white); margin-bottom: .4rem; }
.dim-abbr { font-size: .72rem; font-weight: 700; letter-spacing: 2px; color: var(--c-mid); text-transform: uppercase; margin-bottom: .5rem; }
.dim-desc { font-size: .88rem; color: var(--c-muted); line-height: 1.65; }

/* ══════════════════════════════════════
MÓDULOS
══════════════════════════════════════ */
.modulos-section { padding: 6rem 0; background: var(--c-surface); position: relative; z-index: 1; }
.modulo-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.75rem 2rem; display: flex; align-items: flex-start; gap: 1.2rem; transition: border-color .3s, transform .3s; position: relative; overflow: hidden; }
.modulo-card::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--c-mid), var(--c-gold)); border-radius: 3px 0 0 3px; transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.modulo-card:hover { border-color: rgba(30, 122, 184, .4); transform: translateX(4px); }
.modulo-card:hover::after { transform: scaleY(1); }
.modulo-num { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: rgba(30, 122, 184, 0.25); line-height: 1; flex-shrink: 0; min-width: 36px; }
.modulo-title { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--c-white); margin-bottom: .4rem; }
.modulo-desc { font-size: .87rem; color: var(--c-muted); line-height: 1.65; }

/* ══════════════════════════════════════
LEGISLAÇÃO HIGHLIGHT
══════════════════════════════════════ */
.lei-section { padding: 5rem 0; position: relative; z-index: 1; }
.lei-card { background: linear-gradient(135deg, var(--c-card), rgba(30, 122, 184, 0.08)); border: 1px solid var(--c-border); border-radius: 24px; padding: 3rem; position: relative; overflow: hidden; }
.lei-card::before { content: '§'; position: absolute; font-family: var(--font-display); font-size: 18rem; font-weight: 900; color: rgba(30, 122, 184, 0.05); right: -2rem; top: -4rem; line-height: 1; pointer-events: none; }
.lei-pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(30, 122, 184, 0.12); border: 1px solid rgba(30, 122, 184, 0.3); border-radius: 50px; padding: .4rem 1rem; font-size: .78rem; font-weight: 600; color: var(--c-sky); margin-bottom: 1.25rem; }

/* ══════════════════════════════════════
CONTATO
══════════════════════════════════════ */
.contact-section { padding: 6rem 0; background: var(--c-surface); position: relative; z-index: 1; }
.contact-form-wrap { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 20px; padding: 2.5rem; }
.form-control, .form-select { background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); border-radius: 10px; padding: .75rem 1rem; font-family: var(--font-body); transition: border-color .2s; }
.form-control:focus, .form-select:focus { background: var(--c-surface); border-color: var(--c-mid); box-shadow: 0 0 0 3px rgba(30, 122, 184, 0.18); color: var(--c-white); }
.form-control::placeholder { color: var(--c-muted); }
.form-label { font-size: .83rem; color: var(--c-muted); margin-bottom: .4rem; }
.contact-info-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(30, 122, 184, 0.1); border: 1px solid rgba(30, 122, 184, 0.2); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--c-sky); flex-shrink: 0; }

/* ══════════════════════════════════════
FOOTER
══════════════════════════════════════ */
footer { background: #080f1c; border-top: 1px solid var(--c-border); padding: 3rem 0 2rem; position: relative; z-index: 1; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: var(--c-white); margin-bottom: .5rem; }
.footer-brand .gold { color: var(--c-gold); }
.footer-link { color: var(--c-muted); font-size: .85rem; text-decoration: none; display: block; margin-bottom: .35rem; transition: color .2s; }
.footer-link:hover { color: var(--c-gold); }
.footer-title { font-size: .85rem; font-weight: 600; color: var(--c-white); margin-bottom: 1rem; letter-spacing: .5px; }
.social-icon { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--c-border); display: inline-flex; align-items: center; justify-content: center; color: var(--c-muted); text-decoration: none; font-size: 1rem; transition: border-color .2s, color .2s; }
.social-icon:hover { border-color: var(--c-gold); color: var(--c-gold); }
.footer-bottom { border-top: 1px solid var(--c-border); margin-top: 2rem; padding-top: 1.5rem; font-size: .8rem; color: var(--c-muted); }

/* ══════════════════════════════════════
REVEAL / ANIMATIONS
══════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.pulse-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold); margin-right: .4rem; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.5); }
50% { box-shadow: 0 0 0 6px rgba(245, 166, 35, 0); }
}

/* Divider estilo régua dourada */
.gold-rule { height: 3px; background: linear-gradient(90deg, transparent, var(--c-gold), transparent); border: none; opacity: .4; margin: 0; }
@media (max-width:767px) {
.fb-1, .fb-2 { display: none; }
.lei-card { padding: 2rem; }
.hero { padding-top: 5rem; }
}