/* ==========================================================================
   Página inicial — topo, etapas, diferenciais, antes x depois, FAQ e CTA final.
   Visual do Vedas UI kit (css/vedas-ui.css), com valores de reserva.
   ========================================================================== */
.home-sec {
    padding: 64px 16px;
    font-family: "Nunito Sans", system-ui, sans-serif;
    color: var(--ink, #1F2433);
    scroll-margin-top: 90px;
}
.home-sec.alt { background: var(--white, #fff); }
.home-inner { max-width: 1200px; margin: 0 auto; }
.home-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.home-eyebrow {
    display: inline-block; padding: 4px 12px; border-radius: 999px;
    background: var(--brand-50, #F1F6FC); color: var(--brand-500, #0772BA);
    font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.home-head h2 {
    margin: 12px 0 10px; font-size: clamp(26px, 4vw, 38px); font-weight: 900;
    line-height: 1.15; letter-spacing: -.02em; color: var(--brand-700, #1E285C);
}
.home-head h2 em { font-style: normal; color: var(--brand-500, #0772BA); }
.home-head p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-soft, #5B6275); }

.home-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
    font: 800 16px/1 "Nunito Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-btn:hover { transform: translateY(-1px); }
.home-btn:focus-visible { outline: 3px solid var(--brand-300, #7DB6E3); outline-offset: 2px; }
.home-btn-primary { background: var(--brand-700, #1E285C); color: #fff; box-shadow: 0 6px 20px rgba(30,40,92,.25); }
.home-btn-primary:hover { background: var(--brand-800, #161E47); color: #fff; }
.home-btn-wa { background: #059669; color: #fff; box-shadow: 0 6px 20px rgba(5,150,105,.25); }
.home-btn-wa:hover { background: #047857; color: #fff; }
.home-btn-ghost { background: var(--white, #fff); color: var(--brand-700, #1E285C); border: 1px solid var(--line, #E7E9F0); }
.home-btn-ghost:hover { background: var(--brand-50, #F1F6FC); color: var(--brand-700, #1E285C); }

/* ---------- Topo ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 56px 16px 0;
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(36,158,212,.18), transparent 60%),
        radial-gradient(700px 380px at -10% 20%, rgba(7,114,186,.12), transparent 60%),
        var(--surface, #F5F6FA);
    font-family: "Nunito Sans", system-ui, sans-serif;
    color: var(--ink, #1F2433);
}
.hero-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: var(--white, #fff); border: 1px solid var(--line, #E7E9F0);
    color: var(--brand-700, #1E285C); font-size: 14px; font-weight: 800;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05));
}
.hero-badge i { color: #F59E0B; }
.hero h1.hero-title {
    position: static; left: auto;
    margin: 18px 0 16px; font-size: clamp(34px, 5.4vw, 58px); font-weight: 900;
    line-height: 1.05; letter-spacing: -.03em; color: var(--brand-700, #1E285C);
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--brand-500, #0772BA), var(--brand-400, #249ED4));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 0 0 28px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--ink-soft, #5B6275); max-width: 580px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-checks li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink-soft, #5B6275); }
.hero-checks i { color: #059669; }

.hero-form {
    background: var(--white, #fff); border: 1px solid var(--line, #E7E9F0);
    border-radius: var(--radius-3xl, 24px); padding: 28px 24px;
    box-shadow: var(--shadow-pop, 0 8px 32px rgba(15,42,92,.16));
}
.hero-form h2 { margin: 0 0 6px; font-size: 22px; font-weight: 900; color: var(--brand-700, #1E285C); letter-spacing: -.02em; }
.hero-form > p { margin: 0 0 18px; font-size: 15px; color: var(--ink-soft, #5B6275); }
.hero-form .campo { margin-bottom: 14px; }
.hero-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--ink, #1F2433); }
.hero-form input, .hero-form select {
    width: 100%; height: 48px; padding: 0 14px; box-sizing: border-box;
    border: 1px solid var(--line, #E7E9F0); border-radius: var(--radius-xl, 14px);
    background: var(--white, #fff); color: var(--ink, #1F2433);
    font: 600 16px "Nunito Sans", system-ui, sans-serif;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.hero-form input:focus, .hero-form select:focus {
    outline: 0; border-color: var(--brand-500, #0772BA); box-shadow: 0 0 0 4px var(--brand-100, #E0ECF8);
}
.hero-form .home-btn { width: 100%; margin-top: 4px; }
.hero-form small { display: block; margin-top: 12px; text-align: center; font-size: 13px; color: var(--ink-mute, #8A90A2); }

.hero-stats {
    max-width: 1200px; margin: 48px auto 0; padding: 22px 16px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    border-top: 1px solid var(--line, #E7E9F0);
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; color: var(--brand-700, #1E285C); letter-spacing: -.02em; }
.hero-stat span { font-size: 14px; font-weight: 700; color: var(--ink-soft, #5B6275); }

/* ---------- Etapas ---------- */
.etapas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: etapa; }
.etapa {
    position: relative; padding: 24px 20px; border-radius: var(--radius-2xl, 18px);
    background: var(--surface, #F5F6FA); border: 1px solid var(--line, #E7E9F0);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.etapa:hover { transform: translateY(-3px); background: var(--white, #fff); box-shadow: var(--shadow-card, 0 4px 16px rgba(15,42,92,.06)); }
.etapa-num {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 14px; background: var(--brand-700, #1E285C); color: #fff; font-size: 18px;
}
.etapa h3 { margin: 16px 0 6px; font-size: 19px; font-weight: 900; color: var(--brand-700, #1E285C); }
.etapa h3 small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--brand-500, #0772BA); }
.etapa p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft, #5B6275); }

/* ---------- Diferenciais ---------- */
.difs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.dif {
    padding: 22px; border-radius: var(--radius-2xl, 18px); background: var(--white, #fff);
    border: 1px solid var(--line, #E7E9F0); box-shadow: var(--shadow-card, 0 4px 16px rgba(15,42,92,.06));
}
.dif i {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border-radius: 14px; background: var(--brand-50, #F1F6FC); color: var(--brand-500, #0772BA); font-size: 20px;
}
.dif h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 900; color: var(--ink, #1F2433); }
.dif p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft, #5B6275); }

/* ---------- Antes x Depois ---------- */
.antesdepois { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.ad-col { border-radius: var(--radius-2xl, 18px); padding: 26px 24px; border: 1px solid var(--line, #E7E9F0); }
.ad-col h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 20px; font-weight: 900; }
.ad-col ul { list-style: none; margin: 0; padding: 0; }
.ad-col li { display: flex; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(0,0,0,.06); font-size: 16px; line-height: 1.45; }
.ad-col li:first-child { border-top: 0; }
.ad-col li i { margin-top: 4px; }
.ad-antes { background: #FEF2F2; }
.ad-antes h3, .ad-antes li i { color: #B91C1C; }
.ad-antes li { color: #5B6275; }
.ad-depois { background: #ECFDF5; }
.ad-depois h3, .ad-depois li i { color: #047857; }
.ad-depois li { color: var(--ink, #1F2433); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
    background: var(--white, #fff); border: 1px solid var(--line, #E7E9F0);
    border-radius: var(--radius-2xl, 18px); margin-bottom: 12px; overflow: hidden;
    transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-card, 0 4px 16px rgba(15,42,92,.06)); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; cursor: pointer; list-style: none;
    font-size: 17px; font-weight: 800; color: var(--ink, #1F2433);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; flex: 0 0 32px; height: 32px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-50, #F1F6FC); color: var(--brand-700, #1E285C); font-size: 20px; font-weight: 800;
    transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--brand-300, #7DB6E3); outline-offset: -3px; }
.faq .faq-resp { padding: 0 22px 20px; font-size: 16px; line-height: 1.6; color: var(--ink-soft, #5B6275); }
.faq .faq-resp p { margin: 0; }

/* ---------- CTA final ---------- */
.cta-final { padding: 24px 16px 72px; font-family: "Nunito Sans", system-ui, sans-serif; }
.cta-box {
    max-width: 1200px; margin: 0 auto; padding: 48px 28px; text-align: center;
    border-radius: var(--radius-3xl, 24px); color: #fff;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(36,158,212,.45), transparent 60%),
        linear-gradient(135deg, var(--brand-800, #161E47), var(--brand-700, #1E285C) 55%, var(--brand-500, #0772BA));
    box-shadow: var(--shadow-pop, 0 8px 32px rgba(15,42,92,.16));
}
.cta-box h2 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 40px); font-weight: 900; letter-spacing: -.02em; color: #fff; }
.cta-box p { margin: 0 auto 26px; max-width: 620px; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.85); }
.cta-box .hero-ctas { justify-content: center; }
.cta-box .home-btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.cta-box .home-btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .etapas { grid-template-columns: repeat(3, 1fr); }
    .difs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
}
@media (max-width: 640px) {
    .home-sec { padding: 48px 16px; }
    .hero { padding-top: 36px; }
    .hero-ctas .home-btn { flex: 1 1 100%; }
    .etapas, .difs, .antesdepois { grid-template-columns: 1fr; }
    .hero-form { padding: 22px 18px; }
    .faq summary { padding: 16px 18px; font-size: 16px; }
    .faq .faq-resp { padding: 0 18px 18px; }
    .cta-box { padding: 36px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .etapa, .home-btn { transition: none; }
}

/* ---------- Janela "Saiba mais sobre o seu segmento" (não cortar no celular) ---------- */
.modal-box .icons-container { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)) !important; }
.modal-box .icons-container > * { min-width: 0; }
.modal-box .segmento-card { width: auto !important; max-width: 100%; box-sizing: border-box; }
.modal-box .segmento-card p { overflow-wrap: anywhere; font-size: .95rem; }

/* ---------- Rastreio do motoboy ---------- */
.rastreio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.rastreio-texto h2 { margin: 12px 0 12px; font-size: clamp(26px, 4vw, 38px); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; color: var(--brand-700, #1E285C); }
.rastreio-texto h2 em { font-style: normal; color: var(--brand-500, #0772BA); }
.rastreio-texto > p { margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: var(--ink-soft, #5B6275); }
.rastreio-lista { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.rastreio-lista li { display: flex; gap: 14px; align-items: flex-start; }
.rastreio-lista i {
    flex: 0 0 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-50, #F1F6FC); color: var(--brand-500, #0772BA); font-size: 18px;
}
.rastreio-lista strong { display: block; font-size: 16px; font-weight: 900; color: var(--ink, #1F2433); }
.rastreio-lista span { font-size: 15px; line-height: 1.45; color: var(--ink-soft, #5B6275); }
.rastreio-fone { position: relative; display: flex; flex-direction: column; align-items: center; }
.rastreio-fone::before {
    content: ""; position: absolute; inset: 8% -4% 8% -4%; border-radius: 40px; z-index: 0;
    background: radial-gradient(closest-side, rgba(36,158,212,.28), transparent);
}
.fone {
    position: relative; z-index: 1; width: min(300px, 78vw); padding: 12px; border-radius: 42px;
    background: #10162E; box-shadow: 0 24px 60px rgba(15,42,92,.28), inset 0 0 0 2px #2B3A7A;
}
.fone::before {
    content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
    width: 56px; height: 12px; border-radius: 999px; background: #10162E; z-index: 2;
}
.fone img { display: block; width: 100%; height: auto; max-height: 600px; object-fit: cover; object-position: top; border-radius: 32px; background: #fff; }
.rastreio-tag {
    position: relative; z-index: 1; margin-top: -18px; display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px; background: var(--white, #fff); border: 1px solid var(--line, #E7E9F0);
    box-shadow: var(--shadow-card, 0 4px 16px rgba(15,42,92,.06)); font-size: 14px; font-weight: 800; color: var(--ink, #1F2433);
}
.rastreio-tag i { color: #059669; font-size: 9px; animation: rastreio-pulso 1.6s ease-in-out infinite; }
@keyframes rastreio-pulso { 50% { opacity: .3; } }
@media (max-width: 900px) {
    .rastreio { grid-template-columns: 1fr; gap: 36px; }
    .rastreio-fone { order: -1; }
}
@media (max-width: 640px) { .rastreio-texto .home-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .rastreio-tag i { animation: none; } }

/* ---------- Integração sem logo (texto) ---------- */
.integrations-container .integ-texto {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 70px;
    font-family: "Nunito Sans", system-ui, sans-serif; font-size: 18px; font-weight: 900; color: var(--brand-700, #1E285C);
}
.integrations-container .integ-texto i { color: #F59E0B; }

/* ---------- Ferramentas online ---------- */
.ferr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.ferr-card {
    display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--radius-2xl, 18px);
    background: var(--surface, #F5F6FA); border: 1px solid var(--line, #E7E9F0);
}
.ferr-ico {
    display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px;
    background: var(--brand-700, #1E285C); color: #fff; font-size: 22px;
}
.ferr-card h3 { margin: 16px 0 8px; font-size: 22px; font-weight: 900; color: var(--brand-700, #1E285C); }
.ferr-card > p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: var(--ink-soft, #5B6275); }
.ferr-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.ferr-card li { display: flex; gap: 10px; font-size: 15px; font-weight: 700; color: var(--ink, #1F2433); }
.ferr-card li i { color: #059669; margin-top: 3px; }
.ferr-card .home-btn { margin-top: auto; align-self: flex-start; }
.faq .faq-resp a { color: var(--brand-500, #0772BA); font-weight: 700; }
@media (max-width: 760px) {
    .ferr-grid { grid-template-columns: 1fr; }
    .ferr-card .home-btn { align-self: stretch; }
}

/* ---------- Destaque de integração (SuperTEF) ---------- */
.destaque-sec { padding: 8px 16px 56px; background: var(--surface, #F5F6FA); font-family: "Nunito Sans", system-ui, sans-serif; }
.destaque-box {
    max-width: 1100px; margin: 0 auto; display: flex; gap: 22px; align-items: center; padding: 26px; border-radius: 18px;
    background: linear-gradient(135deg, #161E47, #1E285C 60%, #0772BA); color: #fff; box-shadow: 0 8px 32px rgba(15,42,92,.16);
}
.destaque-ico { flex: none; width: 72px; height: 72px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.destaque-ico img { width: 100%; height: 100%; object-fit: contain; padding: 2px; transform: scale(1.25); box-sizing: border-box; }
.destaque-txt { flex: 1; }
.destaque-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.destaque-txt h2 { margin: 8px 0 6px; font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; line-height: 1.2; color: #fff; }
.destaque-txt p { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.88); }
.destaque-txt a { color: #fff; font-weight: 800; text-decoration: underline; }
.destaque-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #059669; color: #fff; font-weight: 800; text-decoration: none; }
.destaque-btn:hover { background: #047857; color: #fff; }
@media (max-width: 760px) {
    .destaque-box { flex-direction: column; align-items: flex-start; }
    .destaque-btn { width: 100%; justify-content: center; }
}
