/* ============================================================
   Firma Sistemas — styles.css
   SaaS/ERP corporativo em verde
   Paleta: #0F3D2E (verde-escuro) · #16804D (verde) · #E9F5EE (fundo)
           #0B241B (tinta) · #D9A441 (âmbar)
   Fontes: Red Hat Display (display) · Ubuntu (texto) · Saira (números)
   Media queries ficam exclusivamente em responsive.css
   ============================================================ */

:root {
    --verde-900: #0B241B;
    --verde-800: #0F3D2E;
    --verde-600: #16804D;
    --verde-100: #E9F5EE;
    --ambar: #D9A441;
    --branco: #FFFFFF;
    --tinta: #1F2D27;
    --muted: #5A6E64;
    --borda: #CDE4D7;
    --radius: 16px;
    --sombra: 0 14px 34px rgba(15, 61, 46, 0.14);
    --font-display: "Red Hat Display", sans-serif;
    --font-body: "Ubuntu", sans-serif;
    --font-num: "Saira", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--tinta);
    background: var(--branco);
    line-height: 1.7;
    font-size: 1.05rem;
}

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

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

h1, h2, h3 { font-family: var(--font-display); color: var(--verde-900); line-height: 1.2; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); margin-bottom: 14px; font-weight: 800; }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-kicker {
    font-family: var(--font-num);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--verde-600);
    display: block;
    margin-bottom: 8px;
}
.section-intro { color: var(--muted); }

.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.98rem;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--verde-600); color: var(--branco); box-shadow: 0 10px 22px rgba(22, 128, 77, 0.32); }
.btn-primary:hover { background: var(--verde-800); transform: translateY(-2px); }
.btn-secondary { border-color: var(--verde-600); color: var(--verde-600); }
.btn-secondary:hover { background: var(--verde-600); color: var(--branco); }
.btn-outline { border-color: var(--verde-600); color: var(--verde-600); }
.btn-outline:hover { background: var(--verde-600); color: var(--branco); }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--verde-900); color: #CFE6D8; font-size: 0.88rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.topbar-link { color: var(--ambar); text-decoration: none; font-weight: 700; }
.topbar-link:hover { text-decoration: underline; }

/* ---------- Navbar ---------- */
.navbar { background: var(--branco); border-bottom: 1px solid var(--borda); position: sticky; top: 0; z-index: 50; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon {
    font-family: var(--font-display);
    font-weight: 900;
    background: var(--verde-600);
    color: var(--branco);
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--verde-900); }
.brand-name strong { font-weight: 800; }
.nav-list { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-list a { color: var(--tinta); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.nav-list a:hover { color: var(--verde-600); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--verde-100) 0%, var(--branco) 100%); padding: 84px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-kicker {
    font-family: var(--font-num);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--verde-600);
    margin-bottom: 12px;
}
.hero-title { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 900; margin-bottom: 18px; }
.hero-sub { color: var(--muted); font-size: 1.15rem; margin-bottom: 24px; max-width: 34rem; }
.hero-points { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points li::before { content: "✓"; color: var(--verde-600); font-weight: 700; font-family: var(--font-display); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { font-size: 0.88rem; color: var(--muted); }

/* Painel simulado do produto */
.hero-panel { display: flex; justify-content: center; }
.panel-card {
    width: 100%;
    max-width: 460px;
    background: var(--branco);
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    box-shadow: var(--sombra);
    overflow: hidden;
}
.panel-head { display: flex; align-items: center; gap: 8px; background: var(--verde-100); padding: 12px 16px; border-bottom: 1px solid var(--borda); }
.panel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--borda); }
.panel-dot:first-child { background: var(--ambar); }
.panel-title { margin-left: auto; font-family: var(--font-num); font-size: 0.8rem; color: var(--verde-800); }
.panel-body { padding: 22px; display: grid; gap: 18px; }
.panel-metric-label { font-size: 0.82rem; color: var(--muted); display: block; }
.panel-metric-value { font-family: var(--font-num); font-weight: 600; font-size: 2.2rem; color: var(--verde-800); }
.panel-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.panel-bars span { flex: 1; background: linear-gradient(180deg, var(--verde-600), var(--verde-100)); border-radius: 6px 6px 0 0; }
.panel-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.panel-tag {
    font-size: 0.76rem;
    font-family: var(--font-num);
    color: var(--verde-800);
    background: var(--verde-100);
    border: 1px solid var(--borda);
    border-radius: 999px;
    padding: 5px 12px;
}

/* ---------- Módulos (tabs) ---------- */
.modulos { padding: 84px 0; }
.modulo-tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 34px; }
.tab {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: 999px;
    border: 2px solid var(--borda);
    background: var(--branco);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.tab:hover { border-color: var(--verde-600); color: var(--verde-600); }
.tab.is-active { background: var(--verde-800); border-color: var(--verde-800); color: var(--branco); }
.tab-panels { max-width: 780px; margin: 0 auto; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade 0.3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-article {
    background: var(--verde-100);
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    padding: 36px;
}
.panel-article h3 { font-size: 1.5rem; margin-bottom: 14px; }
.panel-article > p { color: var(--tinta); margin-bottom: 18px; }
.panel-article ul { list-style: none; display: grid; gap: 10px; }
.panel-article li { padding-left: 26px; position: relative; color: var(--muted); }
.panel-article li::before { content: "→"; position: absolute; left: 0; color: var(--verde-600); font-weight: 700; }

/* ---------- Planos ---------- */
.planos { background: var(--verde-100); padding: 84px 0; }
.planos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plano {
    position: relative;
    background: var(--branco);
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plano:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.plano-destaque { border: 2px solid var(--verde-600); }
.plano-selo {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ambar);
    color: var(--verde-900);
    font-family: var(--font-num);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.plano-nome { font-size: 1.4rem; margin-bottom: 6px; }
.plano-resumo { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.plano-lista { list-style: none; display: grid; gap: 11px; flex: 1; margin-bottom: 24px; }
.plano-lista li { padding-left: 26px; position: relative; }
.plano-lista li::before { content: "✓"; position: absolute; left: 0; color: var(--verde-600); font-weight: 700; }
.plano .btn { text-align: center; }

/* ---------- Implantação ---------- */
.implantacao { padding: 84px 0; }
.etapas { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.etapa {
    background: var(--branco);
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    padding: 26px 22px;
}
.etapa-num {
    font-family: var(--font-num);
    font-weight: 600;
    font-size: 0.95rem;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--verde-100);
    color: var(--verde-800);
    border: 1px solid var(--borda);
    border-radius: 50%;
    margin-bottom: 14px;
}
.etapa h3 { font-size: 1.12rem; margin-bottom: 8px; }
.etapa p { color: var(--muted); font-size: 0.93rem; }
.implantacao-nota {
    margin: 30px auto 0;
    text-align: center;
    font-family: var(--font-num);
    color: var(--verde-800);
    background: var(--verde-100);
    border: 1px dashed var(--verde-600);
    border-radius: 999px;
    padding: 14px 26px;
    max-width: 780px;
}

/* ---------- Segurança ---------- */
.seguranca { background: var(--verde-100); padding: 84px 0; }
.seguranca-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.seguranca-grid h2 { margin-bottom: 16px; }
.seguranca-grid p { margin-bottom: 12px; }
.seguranca-lista {
    list-style: none;
    display: grid;
    gap: 12px;
    background: var(--branco);
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--sombra);
}
.seguranca-lista li { padding-left: 28px; position: relative; font-weight: 500; }
.seguranca-lista li::before { content: "✓"; position: absolute; left: 0; color: var(--verde-600); font-weight: 700; }

/* ---------- Integrações ---------- */
.integracoes { padding: 84px 0; }
.integracoes-lista { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.integracoes-lista li {
    font-family: var(--font-num);
    font-weight: 500;
    color: var(--verde-800);
    background: var(--verde-100);
    border: 1px solid var(--borda);
    border-radius: 999px;
    padding: 10px 22px;
}
.integracoes-nota { text-align: center; color: var(--muted); max-width: 680px; margin: 28px auto 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--verde-100); padding: 84px 0; }
.faq-lista { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--branco); border: 1px solid var(--borda); border-radius: 12px; padding: 2px 22px; }
.faq-item summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--verde-900);
    padding: 16px 0;
    padding-right: 36px;
    list-style: none;
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute; right: 4px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-num);
    font-size: 1.35rem;
    color: var(--verde-600);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding-bottom: 16px; }

/* ---------- Depoimentos ---------- */
.depoimentos { padding: 84px 0; }
.depo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.depo {
    background: var(--branco);
    border: 1px solid var(--borda);
    border-top: 4px solid var(--verde-600);
    border-radius: var(--radius);
    padding: 28px;
}
.depo blockquote p { font-style: italic; color: var(--tinta); margin-bottom: 18px; }
.depo-autor { display: block; font-family: var(--font-display); font-weight: 700; color: var(--verde-900); }
.depo-cargo { font-size: 0.88rem; color: var(--muted); }

/* ---------- Autoridade ---------- */
.autoridade { background: var(--verde-900); color: #D7EBDF; padding: 64px 0; }
.autoridade h2 { color: var(--branco); margin-bottom: 14px; }
.autoridade p { max-width: 56rem; }
.autoridade a { color: var(--ambar); font-weight: 700; text-decoration: none; border-bottom: 1px dashed var(--ambar); }
.autoridade a:hover { color: #F2C879; }

/* ---------- Contato ---------- */
.contato { background: var(--branco); padding: 84px 0; }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contato-copy p:not(.section-kicker) { color: var(--muted); margin-bottom: 10px; }
.contato-meu { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.contato-meu li { padding-left: 26px; position: relative; color: var(--tinta); }
.contato-meu li::before { content: "✓"; position: absolute; left: 0; color: var(--verde-600); font-weight: 700; }
.contato-form {
    background: var(--verde-100);
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    gap: 8px;
}
.contato-form label { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--verde-900); }
.contato-form input, .contato-form textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 13px 16px;
    border: 1px solid var(--borda);
    border-radius: 10px;
    background: var(--branco);
    color: var(--tinta);
    margin-bottom: 8px;
}
.contato-form input:focus, .contato-form textarea:focus { outline: 2px solid var(--verde-600); }
.form-note { color: var(--verde-600); font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--verde-900); color: #BED9C8; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr; gap: 34px; padding: 56px 0 30px; }
.footer-brand .brand-icon { margin-bottom: 12px; }
.footer-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--branco); margin-bottom: 6px; }
.footer-name strong { color: var(--ambar); }
.footer-tag { font-size: 0.92rem; }
.footer-nav, .footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links-title { font-family: var(--font-display); font-weight: 700; color: var(--branco); }
.footer-nav a, .footer-links a { color: #BED9C8; text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover, .footer-links a:hover { color: var(--ambar); }
.footer-note { font-size: 0.85rem; display: grid; gap: 6px; align-content: start; }

/* ---------- Imagens (hero, módulos, planos, depoimento) ---------- */
.hero-img { display: block; width: 100%; height: auto; border-radius: 14px; margin-bottom: 16px; border: 1px solid rgba(255, 255, 255, .14); }
.modulo-img { display: block; width: 100%; max-width: 520px; height: auto; border-radius: 10px; margin: 0 0 14px; }
.plano-img { display: block; width: 100%; height: auto; border-radius: 10px 10px 0 0; margin-bottom: 6px; }
.depo-avatar { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
