/* ============================================================
   Agnus Informática — styles.css
   Paleta: #0A3D7C (navy) · #2A7DE1 (azul) · #E8F1FA (fundo)
           #0B1F33 (tinta) · #14B8A6 (verde-água)
   Fontes: Chivo (display) · Wix Madefor Text (texto) · Red Hat Mono
   Media queries ficam exclusivamente em responsive.css
   ============================================================ */

:root {
    --navy: #0A3D7C;
    --blue: #2A7DE1;
    --blue-deep: #0B1F33;
    --bg-soft: #E8F1FA;
    --bg-white: #FFFFFF;
    --teal: #14B8A6;
    --line: #C9DCEF;
    --text: #24364A;
    --muted: #5B7189;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(10, 61, 124, 0.10);
    --font-display: "Chivo", sans-serif;
    --font-body: "Wix Madefor Text", sans-serif;
    --font-mono: "Red Hat Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg-white);
    line-height: 1.7;
    font-size: 1.05rem;
}

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--blue-deep); line-height: 1.2; }

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; font-weight: 800; }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
    display: block;
}

.section { padding: 84px 0; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head p:not(.eyebrow) { color: var(--muted); }

.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(42, 125, 225, 0.35); }
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-deep); color: #CFE3F7; font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar-note { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display: inline-block; }
.topbar-link { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar-link:hover { color: var(--teal); }

/* ---------- Header / Nav ---------- */
.main-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-badge {
    font-family: var(--font-mono);
    font-weight: 600;
    background: var(--navy);
    color: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
}
.logo-text { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--blue-deep); }
.logo-text strong { font-weight: 800; color: var(--blue); }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--blue); }
.nav-cta { background: var(--bg-soft); color: var(--navy); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); }
.nav-cta:hover { background: var(--blue); color: #fff !important; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.menu-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--bg-soft) 0%, #ffffff 70%); padding: 90px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { color: var(--muted); font-size: 1.15rem; margin-bottom: 30px; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-points { list-style: none; display: grid; gap: 10px; }
.hero-points li { padding-left: 30px; position: relative; color: var(--text); }
.hero-points li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    width: 20px; height: 20px;
    background: var(--teal); color: #fff;
    border-radius: 50%;
    font-size: 0.75rem; display: flex; align-items: center; justify-content: center;
    margin-top: 4px;
}
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-tag {
    position: absolute; bottom: -16px; left: 24px;
    background: var(--navy); color: #fff;
    font-family: var(--font-mono); font-size: 0.78rem;
    padding: 8px 16px; border-radius: 8px;
}

/* ---------- Stats ---------- */
.stats { background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 46px 0; }
.stat { text-align: center; color: #fff; }
.stat-number { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; display: block; color: #fff; }
.stat-label { color: #BBD4EE; font-size: 0.9rem; }

/* ---------- Serviços ---------- */
.services { background: var(--bg-white); }
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img { width: 100%; height: 230px; object-fit: cover; }
.card h3 { padding: 22px 24px 8px; font-size: 1.25rem; }
.card p { padding: 0 24px 26px; color: var(--muted); }

/* ---------- Diagnóstico ---------- */
.diag { background: var(--bg-soft); }
.diag-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.diag-copy p { margin-bottom: 16px; color: var(--text); }
.diag-copy .btn { margin-top: 10px; }
.diag-panel {
    background: var(--blue-deep);
    color: #DCEAF8;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.diag-panel h3 { color: #fff; margin-bottom: 18px; }
.diag-panel ul { list-style: none; display: grid; gap: 12px; margin-bottom: 20px; }
.diag-panel li { padding-left: 24px; position: relative; }
.diag-panel li::before { content: "→"; position: absolute; left: 0; color: var(--teal); }
.mono-tag { font-family: var(--font-mono); font-size: 0.8rem; color: var(--teal); }

/* ---------- Planos ---------- */
.planos { background: var(--bg-white); }
.planos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plano {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    display: flex; flex-direction: column;
    background: var(--bg-white);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plano:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plano-destaque { border: 2px solid var(--blue); background: linear-gradient(180deg, #F3F9FF 0%, #FFFFFF 60%); }
.plano-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: #fff;
    font-size: 0.75rem; font-weight: 700; font-family: var(--font-display);
    padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.plano-head h3 { font-size: 1.45rem; }
.plano-perfil { color: var(--muted); font-size: 0.95rem; margin: 6px 0 18px; }
.plano-lista { list-style: none; display: grid; gap: 12px; flex: 1; margin-bottom: 24px; }
.plano-lista li { padding-left: 26px; position: relative; color: var(--text); font-size: 0.97rem; }
.plano-lista li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.plano-btn { width: 100%; text-align: center; }
.planos-note { text-align: center; margin-top: 30px; color: var(--muted); }
.planos-note a { color: var(--blue); font-weight: 600; }

/* ---------- Segurança ---------- */
.seguranca { background: var(--bg-soft); }
.seguranca-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.seg-item { background: var(--bg-white); border-left: 5px solid var(--teal); border-radius: 10px; padding: 26px; box-shadow: 0 4px 16px rgba(10,61,124,0.06); }
.seg-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.seg-item p { color: var(--muted); }
.fontes { margin-top: 34px; color: var(--muted); }
.fontes a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--teal); }
.fontes a:hover { color: var(--blue); }

/* ---------- Depoimentos ---------- */
.depo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.depo {
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
}
.depo blockquote p { font-size: 1.05rem; color: var(--text); font-style: italic; margin-bottom: 22px; }
.depo figcaption { display: flex; align-items: center; gap: 14px; }
.depo figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-soft); }
.depo figcaption strong { display: block; color: var(--blue-deep); font-family: var(--font-display); }
.depo figcaption em { font-style: normal; color: var(--muted); font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-white); }
.faq-list { display: grid; gap: 14px; max-width: 820px; }
.faq-item {
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 18px 22px;
    border: 1px solid var(--line);
}
.faq-item summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); color: var(--blue-deep); list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.3rem; color: var(--blue); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 10px; color: var(--muted); }

/* ---------- Contato ---------- */
.contato { background: var(--bg-soft); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contato-meios { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.form {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid; gap: 10px;
}
.form label { font-weight: 700; font-size: 0.9rem; color: var(--blue-deep); font-family: var(--font-display); }
.form input, .form textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--text);
    margin-bottom: 8px;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); background: #fff; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-note { color: var(--teal); font-weight: 600; }

/* ---------- Footer ---------- */
.main-footer { background: var(--blue-deep); color: #B9CFE4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 40px; padding: 60px 0 40px; }
.footer-brand .logo-badge { display: inline-block; margin-bottom: 14px; }
.footer-name { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 12px; }
.footer-name strong { color: var(--teal); }
.footer-brand p:not(.footer-name) { max-width: 32rem; font-size: 0.95rem; }
.footer-nav, .footer-links { display: grid; gap: 10px; align-content: start; }
.footer-nav h4, .footer-links h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.footer-nav a, .footer-links a { color: #B9CFE4; text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover, .footer-links a:hover { color: var(--teal); }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 20px; padding-bottom: 26px;
    font-size: 0.85rem;
}

/* ---------- WhatsApp ---------- */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px; height: 56px;
    background: #22c15e;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(34, 193, 94, 0.45);
    z-index: 60;
    transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Como funciona (fluxo) ---------- */
.como-funciona { background: var(--bg-white); }
.fluxo { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: fluxo; }
.fluxo-passo {
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 46px 24px 26px;
}
.fluxo-num {
    position: absolute;
    top: -16px;
    left: 22px;
    width: 40px; height: 40px;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.fluxo-passo h3 { font-size: 1.1rem; margin-bottom: 8px; }
.fluxo-passo p { color: var(--muted); font-size: 0.93rem; }
.como-nota { text-align: center; margin-top: 34px; color: var(--muted); font-family: var(--font-mono); font-size: 0.88rem; }
