/* --- Variáveis --- */
:root {
    --bg: #fafaf9;
    --surface: #ffffff;
    --text: #1c1917;
    --text-muted: #78716c;
    --accent: #0f766e;
    --accent-hover: #0d9488;
    --border: #e7e5e4;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(28, 25, 23, 0.06);
    --shadow-lg: 0 12px 40px rgba(28, 25, 23, 0.08);
    --font: "DM Sans", system-ui, sans-serif;
    --max: 1120px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    padding-top: var(--header-h);
}

.container {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.muted { color: var(--text-muted); font-size: 0.95rem; }

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 249, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text);
    letter-spacing: -0.02em;
}
.logo span { color: var(--accent); font-weight: 600; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}

.nav-main ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-main a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9375rem;
}
.nav-main a:hover { color: var(--accent); }
.nav-main a.active { color: var(--accent); }
.btn-nav {
    background: var(--text);
    color: var(--surface) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
}
.btn-nav:hover {
    background: var(--accent);
    color: var(--surface) !important;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-main {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    }
    .nav-main.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-main ul { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .btn-nav { text-align: center; }
}

/* --- Hero --- */
.hero {
    padding: 4rem 0 5rem;
}
.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 1rem;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
}
.hero-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
    max-width: 36ch;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text); }

.hero-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.hero-card h3 { margin: 0 0 1rem; font-size: 1.125rem; }
.stat-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.stat { }
.stat strong { display: block; font-size: 1.75rem; color: var(--accent); letter-spacing: -0.02em; }
.stat span { font-size: 0.875rem; color: var(--text-muted); }

/* --- Social proof strip --- */
.proof-strip {
    background: var(--surface);
    border-block: 1px solid var(--border);
    padding: 2rem 0;
}
.proof-strip .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.stars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}
.stars svg { color: #f59e0b; }
.proof-logos {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}
.proof-logos span { opacity: 0.7; }

/* --- Section --- */
section { padding: 4.5rem 0; }
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    text-align: center;
}
.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 3rem;
}

/* --- Simulador --- */
#simulador { background: var(--surface); }
.sim-grid {
    display: grid;
    gap: 2rem;
    max-width: 720px;
    margin: 0 auto;
}
@media (min-width: 640px) {
    .sim-grid { grid-template-columns: 1fr 1fr; }
}
.sim-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.sim-field input,
.sim-field select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
}
.sim-field input:focus,
.sim-field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
.sim-full { grid-column: 1 / -1; }
.sim-result {
    grid-column: 1 / -1;
    background: linear-gradient(145deg, #0f766e 0%, #115e59 100%);
    color: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}
.sim-result .label { font-size: 0.875rem; opacity: 0.9; margin-bottom: 0.25rem; }
.sim-result .value {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.sim-result .detail {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.85;
}
.sim-disclaimer {
    grid-column: 1 / -1;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

/* --- Depoimentos --- */
.testimonials {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .testimonials { grid-template-columns: repeat(3, 1fr); }
}
.card-testimonial {
    background: var(--surface);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.card-testimonial .quote {
    font-size: 0.9375rem;
    margin: 0 0 1.25rem;
    line-height: 1.65;
}
.card-testimonial footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
    font-size: 0.875rem;
}
.card-testimonial cite {
    font-style: normal;
    font-weight: 600;
    font-size: 0.9375rem;
}
.card-testimonial .role { font-size: 0.8125rem; color: var(--text-muted); }

/* --- Contato --- */
#contato .contact-box {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
#contato h3 { margin-top: 0; }

/* --- Footer --- */
.site-footer {
    background: var(--text);
    color: #a8a29e;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}
.site-footer a { color: #e7e5e4; }
.site-footer a:hover { color: #fff; }
.footer-grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 640px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.site-footer h4 {
    color: #fff;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1rem;
}
.logo-footer { color: #fff; display: block; margin-bottom: 0.75rem; }
.social-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #44403c;
    text-align: center;
}
