/* ==========================================================================
   Landing Pages de Serviço — Original Digital
   Replica o design system da LP de sites (sites.originaldigital.com.br)
   em CSS puro, sem build. Tokens iguais aos do projeto React.
   ========================================================================== */

:root {
    --lp-primary: #0096ff;
    --lp-primary-dark: #0075cc;
    --lp-secondary: #ff7a00;
    --lp-dark: #1d2126;
    --lp-dark-2: #262b32;
    --lp-text: #2b3138;
    --lp-muted: #5f6b76;
    --lp-border: #e4e9ef;
    --lp-bg-soft: #f6f9fc;
    --lp-gradient: linear-gradient(135deg, #0096ff, #0075cc);
    --lp-gradient-dark: linear-gradient(135deg, #1d2126, #262b32);
    --lp-shadow-card: 0 10px 30px rgba(29, 33, 38, .08);
    --lp-shadow-glow: 0 10px 40px rgba(0, 150, 255, .3);
}

.lp * { box-sizing: border-box; }

.lp {
    margin: 0;
    background: #fff;
    color: var(--lp-text);
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.lp h1, .lp h2, .lp h3, .lp h4 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--lp-dark);
    line-height: 1.25;
    margin: 0;
}

.lp a { text-decoration: none; color: inherit; }
.lp p { margin: 0 0 16px; }

.lp-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 820px; margin: 0 auto; }

/* ---------- Header ---------- */
.lp-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(29, 33, 38, .95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
}
.lp-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lp-header img { height: 36px; }
.lp-header nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.lp-header nav a { color: rgba(255,255,255,.8); font-size: 14.5px; transition: color .25s; }
.lp-header nav a:hover { color: #fff; }

/* ---------- Botões ---------- */
.lp-btn {
    display: inline-block;
    padding: 15px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: transform .25s, box-shadow .25s, background-color .25s;
    border: 0;
    cursor: pointer;
}
.lp-btn--primary { background: var(--lp-gradient); color: #fff; box-shadow: var(--lp-shadow-glow); }
.lp-btn--primary:hover { transform: translateY(-2px); }
.lp-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.lp-btn--ghost:hover { background: rgba(255,255,255,.1); }
.lp-btn--sm { padding: 11px 22px; font-size: 14px; }

/* ---------- Hero ---------- */
.lp-hero {
    background: var(--lp-gradient-dark);
    color: #fff;
    padding: 80px 0 88px;
    position: relative;
    overflow: hidden;
}
.lp-hero::after {
    content: '';
    position: absolute; top: -120px; right: -120px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,150,255,.28), transparent 68%);
}
.lp-hero .lp-container { position: relative; z-index: 2; }
.lp-hero .tag {
    display: inline-block; padding: 7px 16px; border-radius: 30px;
    background: rgba(0,150,255,.16); border: 1px solid rgba(0,150,255,.35);
    color: #6ec2ff; font-size: 13px; font-weight: 600;
    letter-spacing: .04em; margin-bottom: 22px;
}
.lp-hero h1 { color: #fff; font-size: 46px; font-weight: 700; margin-bottom: 20px; max-width: 15ch; }
.lp-hero h1 .grad {
    background: linear-gradient(135deg, #0096ff, #6ec2ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-hero .sub { font-size: 19px; color: rgba(255,255,255,.78); max-width: 58ch; margin-bottom: 32px; }
.lp-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.lp-stats { background: var(--lp-dark-2); padding: 40px 0; }
.lp-stats .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; text-align: center; }
.lp-stats .n { font-family: 'Montserrat', sans-serif; font-size: 34px; font-weight: 700; color: #fff; line-height: 1.2; }
.lp-stats .l { font-size: 14px; color: rgba(255,255,255,.62); margin-top: 4px; }

/* ---------- Seções ---------- */
.lp-section { padding: 76px 0; }
.lp-section--soft { background: var(--lp-bg-soft); }
.lp-section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.lp-section-head h2 { font-size: 34px; font-weight: 700; margin-bottom: 14px; }
.lp-section-head h2 .grad {
    background: var(--lp-gradient);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-section-head p { font-size: 18px; color: var(--lp-muted); margin: 0; }

/* ---------- Cards ---------- */
.lp-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.lp-card {
    background: #fff; border: 1px solid var(--lp-border); border-radius: 16px;
    padding: 32px 28px; transition: transform .3s, box-shadow .3s;
}
.lp-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-card); }
.lp-card .ico {
    width: 54px; height: 54px; border-radius: 14px; background: var(--lp-gradient);
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.lp-card .ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; }
.lp-card h3 { font-size: 19px; margin-bottom: 10px; }
.lp-card p { color: var(--lp-muted); font-size: 15.5px; margin: 0; }

/* ---------- Processo ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; counter-reset: step; }
.lp-step { position: relative; padding-top: 14px; }
.lp-step .num {
    font-family: 'Montserrat', sans-serif; font-size: 42px; font-weight: 800;
    background: var(--lp-gradient); -webkit-background-clip: text; background-clip: text;
    color: transparent; line-height: 1; margin-bottom: 10px;
}
.lp-step h3 { font-size: 18px; margin-bottom: 8px; }
.lp-step p { color: var(--lp-muted); font-size: 15px; margin: 0; }

/* ---------- Tabela ---------- */
.lp-table-wrap { overflow-x: auto; }
.lp table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--lp-shadow-card); }
.lp th, .lp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--lp-border); }
.lp th { background: var(--lp-dark); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14.5px; }
.lp tbody tr:last-child td { border-bottom: 0; }
.lp .nota { font-size: 14px; color: var(--lp-muted); margin-top: 18px; padding: 18px 20px; background: #fff; border-left: 3px solid var(--lp-primary); border-radius: 6px; }
.lp .nota p { margin: 0; font-size: 14px; }
.lp .nota p + p { margin-top: 10px; }

/* ---------- FAQ ---------- */
.lp-faq { max-width: 820px; margin: 0 auto; }
.lp-faq details { border-bottom: 1px solid var(--lp-border); }
.lp-faq details:first-of-type { border-top: 1px solid var(--lp-border); }
.lp-faq summary {
    list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
    font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 17px; color: var(--lp-dark);
    transition: color .25s;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::marker { content: ''; }
.lp-faq summary:hover { color: var(--lp-primary); }
.lp-faq summary::before, .lp-faq summary::after {
    content: ''; position: absolute; right: 8px; top: 50%; background: currentColor; transition: transform .3s, opacity .3s;
}
.lp-faq summary::before { width: 14px; height: 2px; transform: translateY(-50%); }
.lp-faq summary::after { width: 2px; height: 14px; right: 14px; transform: translateY(-50%); }
.lp-faq details[open] summary { color: var(--lp-primary); }
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.lp-faq .ans { padding: 0 30px 24px 0; color: var(--lp-muted); font-size: 15.5px; }
.lp-faq .ans p { margin: 0; }

/* ---------- Formulário ---------- */
.lp-form-wrap { background: var(--lp-gradient-dark); padding: 76px 0; color: #fff; }
.lp-form-wrap h2 { color: #fff; font-size: 32px; text-align: center; margin-bottom: 12px; }
.lp-form-wrap .sub { text-align: center; color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 38px; }
.lp-form { max-width: 560px; margin: 0 auto; background: #fff; padding: 34px 30px; border-radius: 18px; }
.lp-form label { display: block; font-size: 14px; font-weight: 600; color: var(--lp-dark); margin-bottom: 7px; font-family: 'Montserrat', sans-serif; }
.lp-form .field { margin-bottom: 18px; }
.lp-form input, .lp-form select, .lp-form textarea {
    width: 100%; padding: 13px 15px; border: 1px solid var(--lp-border); border-radius: 10px;
    font-family: inherit; font-size: 15px; color: var(--lp-text); background: #fff;
}
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus {
    outline: none; border-color: var(--lp-primary); box-shadow: 0 0 0 3px rgba(0,150,255,.15);
}
.lp-form .lp-btn { width: 100%; }
.lp-form .privacidade { font-size: 12.5px; color: var(--lp-muted); text-align: center; margin: 14px 0 0; }
.lp-form .hp { position: absolute; left: -9999px; }

/* ---------- CTA final ---------- */
.lp-cta { padding: 74px 0; text-align: center; background: var(--lp-bg-soft); }
.lp-cta h2 { font-size: 32px; margin-bottom: 14px; }
.lp-cta p { color: var(--lp-muted); font-size: 18px; max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.lp-footer { background: var(--lp-dark); color: rgba(255,255,255,.6); padding: 46px 0; font-size: 14.5px; }
.lp-footer .links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.lp-footer a { color: rgba(255,255,255,.8); }
.lp-footer a:hover { color: var(--lp-primary); }
.lp-footer .copy { text-align: center; margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.lp-wpp {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%; background: #25d366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .4); transition: transform .25s;
}
.lp-wpp:hover { transform: scale(1.08); }
.lp-wpp svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .lp-header nav { display: none; }
}
@media (max-width: 767px) {
    .lp-hero { padding: 56px 0 62px; }
    .lp-hero h1 { font-size: 32px; max-width: none; }
    .lp-hero .sub { font-size: 17px; }
    .lp-section { padding: 56px 0; }
    .lp-section-head { margin-bottom: 38px; }
    .lp-section-head h2 { font-size: 27px; }
    .lp-section-head p { font-size: 16.5px; }
    .lp-stats .n { font-size: 28px; }
    .lp-form-wrap { padding: 56px 0; }
    .lp-form { padding: 26px 20px; }
    .lp-cta h2 { font-size: 26px; }
    .lp-btn { width: 100%; text-align: center; }
    .lp-hero .actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { transition: none !important; }
}
