/* Azul Marketing — Performance baseada em dados */
/* Dashboard/SaaS: azul-marinho, azul primário, azul céu, verde métrica */
/* Fontes: Sora (display), IBM Plex Sans (texto), IBM Plex Mono (números) */

:root {
    --navy: #0B1F3A;
    --navy-2: #10294B;
    --blue: #2563EB;
    --sky: #38BDF8;
    --ice: #E0F2FE;
    --green: #34D399;
    --text: #F0F6FF;
    --muted: #9FB3D1;
    --card: rgba(56, 189, 248, 0.07);
    --border: rgba(56, 189, 248, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--navy);
    color: var(--text);
    line-height: 1.7;
}

h1, h2, h3 { font-family: 'Sora', sans-serif; line-height: 1.25; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.05rem; }
p { color: var(--muted); }
a { color: inherit; }

/* ---------- Header ---------- */
.main-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(11, 31, 58, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.navbar {
    max-width: 1200px; margin: 0 auto; padding: 0.9rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.1rem;
    text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
}
.logo span:last-child { color: var(--sky); font-weight: 600; }
.logo-dot {
    width: 12px; height: 12px; border-radius: 3px;
    background: linear-gradient(135deg, var(--blue), var(--sky));
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}
.nav-menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-menu a {
    text-decoration: none; font-size: 0.9rem; font-weight: 500;
    color: var(--muted); transition: color 0.25s ease;
}
.nav-menu a:hover { color: var(--sky); }
.nav-cta {
    background: var(--blue); color: #fff !important;
    padding: 0.55rem 1.15rem; border-radius: 8px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.mobile-toggle span { width: 26px; height: 3px; border-radius: 2px; background: var(--sky); }

/* ---------- Hero + painel ---------- */
.hero {
    max-width: 1200px; margin: 0 auto; padding: 8.5rem 1.5rem 4rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem;
    color: var(--green); background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.3rem;
}
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--green);
    animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}
.hero h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 1.3rem; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero-sub { margin-bottom: 2rem; font-size: 1.02rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
    display: inline-block; text-decoration: none; font-family: 'Sora', sans-serif;
    font-weight: 600; font-size: 0.9rem; padding: 0.85rem 1.6rem;
    border-radius: 10px; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45); }
.btn-outline { border: 1px solid var(--border); color: var(--text); }

.hero-panel {
    background: var(--navy-2); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.4rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.panel-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.1rem;
}
.panel-title { font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; color: var(--muted); }
.panel-live {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem;
    color: var(--green); text-transform: uppercase; letter-spacing: 0.1em;
}
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 1.2rem; }
.kpi {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 10px; padding: 0.85rem;
}
.kpi-label { font-size: 0.72rem; color: var(--muted); display: block; }
.kpi-value { font-family: 'IBM Plex Mono', monospace; font-size: 1.5rem; color: var(--sky); display: block; }
.kpi-trend { font-family: 'IBM Plex Mono', monospace; font-size: 0.66rem; }
.kpi-trend.up { color: var(--green); }
.kpi-trend.down { color: var(--sky); }
.bar-chart {
    display: flex; align-items: flex-end; gap: 0.55rem;
    height: 120px; padding-top: 0.5rem;
}
.bar {
    flex: 1; background: linear-gradient(180deg, var(--sky), var(--blue));
    border-radius: 6px 6px 0 0; height: 0;
    transition: height 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex; align-items: flex-end; justify-content: center; position: relative;
}
.bar span {
    position: absolute; bottom: -1.4rem;
    font-family: 'IBM Plex Mono', monospace; font-size: 0.62rem; color: var(--muted);
}
.bar-chart { padding-bottom: 1.6rem; }
.panel-foot {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem;
    color: var(--muted); border-top: 1px solid var(--border); padding-top: 0.8rem;
}

/* ---------- Seções ---------- */
.section { padding: 4.5rem 1.5rem; }
.section-alt { background: var(--navy-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 3rem; }
.eyebrow {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem;
    color: var(--sky); text-transform: uppercase; letter-spacing: 0.2em;
    display: block; margin-bottom: 0.7rem;
}

/* Camadas */
.layer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.layer-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 1.6rem;
}
.layer-card header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem; }
.layer-tag {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem;
    color: var(--sky); border: 1px solid var(--border);
    padding: 0.25rem 0.55rem; border-radius: 6px;
}
.layer-card h3 { font-size: 1rem; }
.layer-card p { font-size: 0.92rem; margin-bottom: 0.9rem; }
.layer-card ul { list-style: none; }
.layer-card li {
    font-size: 0.86rem; color: var(--muted);
    padding: 0.45rem 0; border-top: 1px dashed var(--border);
}
.layer-card li::before { content: '▸ '; color: var(--green); }

/* Serviços */
.services-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.service-item {
    background: rgba(11, 31, 58, 0.6); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.4rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.service-item:hover { border-color: var(--sky); transform: translateY(-4px); }
.service-item h3 { color: var(--sky); font-size: 0.98rem; margin-bottom: 0.5rem; }
.service-item p { font-size: 0.88rem; }

/* ---------- Calculadora ---------- */
.calc {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem;
    background: var(--navy-2); border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem;
}
.calc-inputs { display: flex; flex-direction: column; gap: 1.4rem; }
.calc-inputs label {
    font-size: 0.9rem; color: var(--text);
    display: flex; flex-direction: column; gap: 0.6rem; font-weight: 500;
}
.calc-inputs output {
    font-family: 'IBM Plex Mono', monospace; color: var(--sky); font-size: 1rem;
}
input[type="range"] { accent-color: var(--blue); height: 28px; }
select {
    background: var(--navy); color: var(--text);
    border: 1px solid var(--border); border-radius: 8px;
    padding: 0.65rem; font-family: 'IBM Plex Sans', sans-serif; font-size: 0.92rem;
}
.calc-results { display: flex; flex-direction: column; gap: 0.9rem; }
.calc-kpi {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 10px; padding: 0.95rem 1.2rem;
}
.calc-kpi span { font-size: 0.85rem; color: var(--muted); }
.calc-kpi strong { font-family: 'IBM Plex Mono', monospace; font-size: 1.25rem; color: var(--green); }
.calc-note { font-size: 0.74rem; font-family: 'IBM Plex Mono', monospace; }
.calc-kpi.flash { animation: kpi-flash 0.7s ease; }
@keyframes kpi-flash {
    0% { border-color: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
    100% { border-color: var(--border); box-shadow: none; }
}

/* ---------- Resultados ---------- */
.results-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.result-card {
    background: rgba(11, 31, 58, 0.6); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
}
.result-card img { width: 100%; height: 140px; object-fit: cover; }
.result-card figcaption { padding: 1.1rem; }
.result-card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.result-card p { font-size: 0.82rem; margin-bottom: 0.8rem; }
.metric {
    display: flex; justify-content: space-between;
    border-top: 1px dashed var(--border); padding-top: 0.6rem;
    font-family: 'IBM Plex Mono', monospace;
}
.metric span { font-size: 0.72rem; color: var(--muted); }
.metric strong { color: var(--green); font-size: 0.95rem; }

.testimonials-wrap {
    max-width: 1200px; margin: 2.5rem auto 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.testimonial {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.4rem;
}
.testimonial blockquote { font-size: 0.92rem; color: var(--text); margin-bottom: 1.1rem; }
.testimonial figcaption { display: flex; gap: 0.8rem; align-items: center; }
.testimonial figcaption img {
    width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--sky);
}
.testimonial strong { display: block; font-size: 0.88rem; }
.testimonial span { font-size: 0.76rem; color: var(--muted); }

/* ---------- Planos ---------- */
.plans-grid {
    max-width: 1080px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
    align-items: start;
}
.plan {
    background: var(--navy-2); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.8rem; text-align: center; position: relative;
}
.plan-featured { border-color: var(--sky); box-shadow: 0 18px 50px rgba(37, 99, 235, 0.3); }
.plan-flag {
    position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%);
    background: var(--sky); color: var(--navy);
    font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem;
    padding: 0.25rem 0.8rem; border-radius: 999px; font-weight: 600;
}
.plan h3 { color: var(--sky); margin-bottom: 0.4rem; }
.plan-for { font-size: 0.85rem; margin-bottom: 1.2rem; min-height: 3.4em; }
.plan ul { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.plan li {
    font-size: 0.86rem; color: var(--muted);
    padding: 0.5rem 0; border-bottom: 1px dashed var(--border);
}
.plan li::before { content: '✓ '; color: var(--green); font-weight: 700; }

/* ---------- CTA / Autoridade / Footer ---------- */
.cta-final { text-align: center; padding: 5rem 1.5rem; background: var(--navy-2); border-top: 1px solid var(--border); }
.cta-final h2 { margin-bottom: 1rem; }
.cta-final p { max-width: 620px; margin: 0 auto 2rem; }

.authority { text-align: center; padding: 3.5rem 1.5rem; }
.authority h3 {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.18em; color: var(--sky);
    margin-bottom: 1.2rem;
}
.authority-links { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.authority-links a {
    font-size: 0.85rem; color: var(--muted); text-decoration: none;
    border: 1px solid var(--border); border-radius: 8px;
    padding: 0.5rem 1rem; transition: color 0.25s ease, border-color 0.25s ease;
}
.authority-links a:hover { color: var(--sky); border-color: var(--sky); }

.main-footer { border-top: 1px solid var(--border); }
.footer-grid {
    max-width: 1200px; margin: 0 auto; padding: 2.8rem 1.5rem 1.8rem;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem;
}
.footer-grid p { font-size: 0.88rem; margin-top: 0.7rem; }
.footer-links, .footer-authority { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-authority a { text-decoration: none; font-size: 0.88rem; color: var(--muted); }
.footer-links a:hover, .footer-authority a:hover { color: var(--sky); }
.footer-bottom { text-align: center; font-size: 0.8rem; color: var(--muted); padding: 1.2rem; border-top: 1px solid var(--border); }

.whatsapp-float {
    position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1100;
    background: #25D366; color: #06281a; text-decoration: none;
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.85rem;
    padding: 0.85rem 1.3rem; border-radius: 12px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Seções de conteúdo adicionais (decisão por dados + FAQ) */
.section-new-azul .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.section-new-azul .service-item h3 { font-size: 1.02rem; }
.section-new-azul .service-item p { font-size: 0.9rem; margin-bottom: 0.8rem; }
