/* =====================================================================
   Landing bonitagestao.com.br
   Estrutura e ritmo conforme _NOTA-11-site-redesign.md:
   alterna seções CLARAS e ESCURAS, degradê só como acento,
   Poppins com contraste de peso 300/800. Mobile-first.
   Depende de tokens.css.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-family);
    font-weight: var(--font-normal);
    color: var(--bg-ink);
    background: var(--bg-page);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bg-primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 900px) { .container { padding: 0 2.5rem; } }

.container--narrow { max-width: 760px; }

/* Respiro generoso entre seções (guia: padding vertical alto) */
.section { padding: var(--space-section) 0; }
.section--light   { background: var(--bg-page); }
.section--surface { background: var(--bg-surface); }

/* ---------- Cabeçalho de seção ---------- */
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}
.section-head h2 {
    font-size: clamp(1.7rem, 5vw, 2.6rem);
    font-weight: var(--font-bold);
    line-height: 1.18;
    letter-spacing: -.01em;
    margin: .75rem 0 .75rem;
}
.section-head p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--bg-muted);
}
.bg-section-dark .section-head p { color: var(--bg-dark-muted); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--bg-border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 0;
}
.nav-brand { display: flex; align-items: center; flex-shrink: 0; }
.nav-brand:hover { text-decoration: none; }

.nav-links {
    display: none;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: var(--bg-text);
    font-weight: var(--font-medium);
    font-size: .95rem;
    padding: .5rem .1rem;
}
.nav-links a:hover { color: var(--bg-primary-deep); text-decoration: none; }

.nav-actions { display: none; gap: .5rem; align-items: center; }
.nav-actions .bg-btn { min-height: 42px; padding: .5rem 1.15rem; font-size: .93rem; }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--bg-ink);
    font-size: 1.4rem;
    cursor: pointer;
}
.nav-toggle:hover { background: var(--bg-primary-soft); }

.nav-mobile { display: none; padding: .5rem 0 1.25rem; border-top: 1px solid var(--bg-border); }
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.nav-mobile li + li { border-top: 1px solid var(--bg-border); }
.nav-mobile li a {
    display: block;
    padding: .95rem .25rem;
    color: var(--bg-ink);
    font-weight: var(--font-medium);
}
.nav-mobile .bg-btn { width: 100%; }
.nav-mobile .bg-btn + .bg-btn { margin-top: .5rem; }

@media (min-width: 940px) {
    .nav-toggle { display: none; }
    .nav-links, .nav-actions { display: flex; }
}

/* =====================================================================
   1. HERO (claro)
   ===================================================================== */
.hero {
    padding: 2.75rem 0 var(--space-section);
    background:
        radial-gradient(120% 80% at 100% 0%, var(--bg-accent-soft) 0%, transparent 55%),
        linear-gradient(180deg, var(--bg-surface), var(--bg-primary-soft) 90%);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }

.hero h1 {
    font-size: clamp(2.1rem, 7.5vw, 3.6rem);
    font-weight: var(--font-bold);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: .85rem 0 1rem;
}
/* Contraste editorial: "A agenda" leve + "inteligente" forte em degradê */
.hero h1 .lead-light { font-weight: var(--font-light); display: block; }

.hero .lead {
    font-size: 1.1rem;
    color: var(--bg-muted);
    margin: 0 0 1.75rem;
    max-width: 34em;
}
@media (min-width: 640px) { .hero .lead { font-size: 1.18rem; } }

.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-cta .bg-btn { flex: 1 1 auto; min-width: 200px; }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.35rem;
    font-size: .88rem;
    color: var(--bg-muted);
    margin: 0;
    padding: 0;
    list-style: none;
}
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust i { color: var(--bg-success); }

.hero-art {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-pop);
    background: var(--bg-surface);
}
.hero-art img { width: 100%; }

@media (min-width: 940px) {
    .hero { padding-top: 4rem; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
}

/* =====================================================================
   2. A DOR (escuro, editorial)
   ===================================================================== */
.pain-grid { display: grid; gap: 1rem; }
.pain-card { padding: 1.5rem; }
.pain-card .icon {
    width: 46px; height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-btn);
    background: rgba(255, 141, 181, .14);
    color: var(--bg-primary);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}
.pain-card h3 {
    font-size: 1.05rem;
    font-weight: var(--font-semi);
    margin: 0 0 .4rem;
    color: var(--bg-dark-ink);
}
.pain-card p { margin: 0; color: var(--bg-dark-muted); font-size: .95rem; }

.pain-stat {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--bg-dark-divider);
    text-align: center;
}
.pain-stat strong {
    display: block;
    font-size: clamp(2rem, 8vw, 2.75rem);
    font-weight: var(--font-black);
    line-height: 1;
    margin-bottom: .35rem;
}
.pain-stat span { color: var(--bg-dark-muted); font-size: .95rem; }

@media (min-width: 700px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pain-grid { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================================
   3. PILARES (claro)
   ===================================================================== */
.pillars { display: grid; gap: 1.5rem; }
.pillar {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 2rem 1.5rem;
    text-align: center;
}
.pillar .icon {
    width: 62px; height: 62px;
    margin: 0 auto 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-card);
    background: var(--bg-gradient);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: var(--shadow-cta);
}
.pillar h3 {
    font-size: 1.2rem;
    font-weight: var(--font-bold);
    margin: 0 0 .5rem;
}
.pillar p { margin: 0; color: var(--bg-muted); font-size: .97rem; }

@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   4. RECURSOS (claro, grid de cards)
   ===================================================================== */
.features { display: grid; gap: 1.15rem; }
.feature {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-card);
    padding: 1.4rem;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--bg-primary-light);
}
.feature .icon {
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-btn);
    background: var(--bg-primary-soft);
    color: var(--bg-primary);
    font-size: 1.15rem;
    margin-bottom: .9rem;
}
.feature h3 { font-size: 1.03rem; font-weight: var(--font-semi); margin: 0 0 .3rem; }
.feature p { margin: 0; color: var(--bg-muted); font-size: .92rem; }

@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   5. PROVA (escuro)
   ===================================================================== */
.proof-grid { display: grid; gap: 2rem; align-items: center; }
.proof-art {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--bg-dark-divider);
}
.proof-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.proof-list li {
    display: flex;
    gap: .8rem;
    padding: .7rem 0;
    color: var(--bg-dark-ink);
    font-size: .98rem;
}
.proof-list i { color: var(--bg-primary); margin-top: .3rem; flex-shrink: 0; }
.proof-list span { color: var(--bg-dark-muted); }

@media (min-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* Depoimentos */
.testimonials { display: grid; gap: 1.15rem; margin-top: 3rem; }
.testi { padding: 1.5rem; }
.testi-stars { color: #fbbf24; margin-bottom: .7rem; letter-spacing: .1em; }
.testi blockquote {
    margin: 0 0 1.1rem;
    font-size: 1rem;
    font-weight: var(--font-light);
    line-height: 1.65;
    color: var(--bg-dark-ink);
}
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; font-size: .93rem; color: var(--bg-dark-ink); }
.testi-author small { color: var(--bg-dark-muted); font-size: .85rem; }

@media (min-width: 780px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   6. QUEM ESTÁ POR TRÁS (claro)
   ===================================================================== */
.founder-grid { display: grid; gap: 2rem; align-items: center; }
.founder-art {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-pop);
    max-width: 420px;
}
.founder-copy h2 {
    font-size: clamp(1.6rem, 5vw, 2.3rem);
    font-weight: var(--font-bold);
    line-height: 1.2;
    margin: .75rem 0 1rem;
}
.founder-copy p { color: var(--bg-muted); margin: 0 0 1rem; font-size: 1.02rem; }
.founder-quote {
    margin: 1.5rem 0 0;
    padding-left: 1.1rem;
    border-left: 4px solid var(--bg-primary);
    font-weight: var(--font-light);
    font-size: 1.1rem;
    color: var(--bg-ink);
}
.founder-quote strong { font-weight: var(--font-bold); }

@media (min-width: 900px) {
    .founder-grid { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; }
}

/* =====================================================================
   7. PLANOS (claro)
   ===================================================================== */
.pricing-toggle {
    display: inline-flex;
    gap: 4px;
    margin: 0 auto 2.25rem;
    padding: 4px;
    background: var(--bg-divider);
    border-radius: var(--radius-pill);
}
.pricing-toggle button {
    min-height: 44px;
    padding: .5rem 1.35rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--bg-muted);
    font-family: inherit;
    font-weight: var(--font-semi);
    font-size: .93rem;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.pricing-toggle button.is-active {
    background: var(--bg-surface);
    color: var(--bg-ink);
    box-shadow: var(--shadow-card);
}

.pricing-grid { display: grid; gap: 1.25rem; align-items: start; }
.plan {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--bg-surface);
    border: 2px solid var(--bg-border);
    border-radius: var(--radius-card);
    padding: 2rem 1.5rem;
}
.plan--popular {
    border-color: transparent;
    box-shadow: var(--shadow-pop);
    background:
        linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
        var(--bg-gradient) border-box;
    border: 2px solid transparent;
}
.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: .3rem 1rem;
    border-radius: var(--radius-pill);
    background: var(--bg-gradient);
    color: #fff;
    font-size: .78rem;
    font-weight: var(--font-semi);
    white-space: nowrap;
}
.plan h3 { font-size: 1.3rem; font-weight: var(--font-bold); margin: 0 0 .25rem; }
.plan .plan-desc { color: var(--bg-muted); font-size: .92rem; margin: 0 0 1.35rem; }
.plan .price { display: flex; align-items: baseline; gap: .3rem; margin-bottom: 1.5rem; }
.plan .price strong {
    font-size: 2.6rem;
    font-weight: var(--font-black);
    line-height: 1;
    letter-spacing: -.02em;
}
.plan .price span { color: var(--bg-muted); font-size: .93rem; }
.plan ul { list-style: none; margin: 0 0 1.75rem; padding: 0; flex: 1; }
.plan li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    padding: .4rem 0;
    font-size: .94rem;
}
.plan li i { margin-top: .3rem; flex-shrink: 0; }
.plan li .fa-check { color: var(--bg-success); }
.plan li.is-off { color: var(--bg-faint); }
.plan li.is-off .fa-xmark { color: #cbd5e1; }
.plan .bg-btn { width: 100%; }

@media (min-width: 980px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   8. FAQ (claro)
   ===================================================================== */
.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-card);
    margin-bottom: .75rem;
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    font-weight: var(--font-semi);
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: var(--font-normal);
    color: var(--bg-primary);
    line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .answer {
    padding: 0 1.35rem 1.35rem;
    color: var(--bg-muted);
    font-size: .97rem;
}

/* =====================================================================
   9. CTA FINAL (escuro com degradê de acento)
   ===================================================================== */
.cta-final { position: relative; overflow: hidden; }
.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 120% at 50% 0%, rgba(108, 99, 255, .35) 0%, transparent 60%);
    pointer-events: none;
}
.cta-final .container { position: relative; text-align: center; }
.cta-final h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: var(--font-bold);
    line-height: 1.15;
    margin: 1rem 0 .75rem;
    color: var(--bg-dark-ink);
}
.cta-final h2 .soft { font-weight: var(--font-light); display: block; }
.cta-final p { color: var(--bg-dark-muted); margin: 0 auto 2rem; max-width: 30em; }

/* =====================================================================
   Faixa para o cliente final (busca de salões)
   ===================================================================== */
.client-band {
    background: var(--bg-surface);
    border-top: 1px solid var(--bg-border);
    padding: 2.5rem 0;
}
.client-band-inner {
    display: grid;
    gap: 1.25rem;
    align-items: center;
}
.client-band h2 { font-size: 1.3rem; font-weight: var(--font-bold); margin: 0 0 .3rem; }
.client-band p { margin: 0; color: var(--bg-muted); font-size: .95rem; }
.search-bar { display: grid; gap: .6rem; }
.search-field {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 .75rem 0 2.6rem;
    background: var(--bg-page);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-btn);
}
.search-field i { position: absolute; left: 14px; color: var(--bg-primary); }
.search-field input {
    width: 100%;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    color: var(--bg-ink);
}
.search-field input:focus { outline: 0; }
.search-bar .bg-btn { min-height: 52px; }

@media (min-width: 780px) {
    .client-band-inner { grid-template-columns: 1fr 1.5fr; }
    .search-bar { grid-template-columns: 1.4fr 1fr auto; }
}

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.footer {
    background: var(--bg-dark);
    color: var(--bg-dark-muted);
    padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; gap: 2rem; }
.footer h4 {
    color: var(--bg-dark-ink);
    margin: 0 0 1rem;
    font-size: .82rem;
    font-weight: var(--font-semi);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: .3rem 0; }
.footer a { color: var(--bg-dark-muted); font-size: .93rem; }
.footer a:hover { color: var(--bg-primary); }
.footer-about p { font-size: .93rem; margin: 1rem 0; max-width: 30em; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--bg-dark-soft);
    border: 1px solid var(--bg-dark-divider);
    color: var(--bg-dark-ink);
    transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: var(--bg-gradient); border-color: transparent; color: #fff; }
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bg-dark-divider);
    text-align: center;
    font-size: .85rem;
}

@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1fr; } }

/* ---------- Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
