/* SOS CAR — site institucional. Tema noturno (navy) com laranja de sinalização. */

body {
    background: var(--navy-deep);
    color: #E6EBF4;
}

.skip {
    position: absolute;
    left: -9999px;
    background: var(--orange);
    color: #fff;
    padding: 10px 16px;
    z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ───────────── Botões ───────────── */
.btn {
    --btn-bg: transparent;
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--lg { padding: 15px 26px; font-size: 15.5px; }
.btn--orange {
    --btn-bg: linear-gradient(180deg, #FF7C2B, var(--orange-dark));
    box-shadow: 0 10px 24px rgba(242, 107, 29, .35);
}
.btn--orange:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(242, 107, 29, .45); }
.btn--outline { border: 1.5px solid rgba(255, 255, 255, .28); }
.btn--outline:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.btn--ghost { color: #C6D0E2; }
.btn--ghost:hover { color: #fff; }

/* ───────────── Barra do topo ───────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px clamp(16px, 4vw, 44px);
    background: rgba(6, 13, 26, .72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 21px;
}
.topbar__mark { border-radius: 9px; }
.topbar__car {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .22em;
    color: var(--orange);
    margin-left: 7px;
    align-self: center;
}
.topbar__nav {
    display: none;
    gap: 26px;
    margin-inline: auto;
    font-size: 14px;
}
.topbar__nav a {
    color: #B9C4D8;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.topbar__nav a:hover { color: #fff; border-color: var(--orange); }
.topbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* No celular a barra fixa de baixo já tem "Pedir socorro" — aqui fica só "Entrar". */
.topbar__actions .btn--orange { display: none; }

@media (min-width: 900px) {
    .topbar__nav { display: flex; }
    .topbar__actions { margin-left: 0; }
    .topbar__actions .btn--orange { display: inline-flex; }
}

/* ───────────── Hero ───────────── */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 78% 8%, rgba(242, 107, 29, .16), transparent 62%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 58%, var(--navy-deep) 100%);
}
.hero__glow {
    position: absolute;
    inset: auto -20% -45% 40%;
    height: 70%;
    background: radial-gradient(closest-side, rgba(242, 107, 29, .22), transparent);
    filter: blur(30px);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(38px, 7vw, 84px) clamp(16px, 4vw, 44px) clamp(60px, 9vw, 110px);
    display: grid;
    gap: clamp(38px, 6vw, 60px);
}
@media (min-width: 980px) {
    .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--orange);
}
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(242, 107, 29, .7);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    70% { box-shadow: 0 0 0 12px rgba(242, 107, 29, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 107, 29, 0); }
}

.hero h1 {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(38px, 7.4vw, 68px);
    line-height: 1.02;
    letter-spacing: -.03em;
    color: #fff;
}
.hero h1 em {
    font-style: italic;
    color: var(--orange);
    text-shadow: 0 0 34px rgba(242, 107, 29, .35);
}
.hero__lead {
    margin: 0 0 30px;
    max-width: 52ch;
    font-size: clamp(15px, 1.8vw, 17.5px);
    color: #AFBBD0;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__facts {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 38px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
@media (min-width: 560px) { .hero__facts { grid-template-columns: repeat(3, 1fr); } }
.hero__facts li { display: grid; gap: 3px; }
.hero__facts strong {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange);
}
.hero__facts span { font-size: 13.5px; color: #9FADC5; line-height: 1.4; }

/* ───────────── Mockup do celular ───────────── */
.hero__device { display: flex; justify-content: center; }
.device {
    position: relative;
    width: min(300px, 76vw);
    aspect-ratio: 300 / 620;
    padding: 12px 12px 0;
    border-radius: 42px;
    background: linear-gradient(160deg, #2A3550, #0B1424 70%);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, .06),
        var(--shadow-lift),
        0 0 90px rgba(242, 107, 29, .12);
    animation: float 7s ease-in-out infinite;
}
@keyframes float {
    50% { transform: translateY(-12px); }
}
.device__notch {
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 108px; height: 20px;
    border-radius: 0 0 14px 14px;
    background: #0B1424;
    z-index: 3;
}
.device__screen {
    position: relative;
    height: calc(100% - 58px);
    border-radius: 32px 32px 0 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--home-top), var(--home-bottom));
    color: var(--text);
}
.device__bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 46px;
    margin: 0 -12px;
    border-radius: 20px 20px 42px 42px;
    background: #fff;
}
.device__bar span {
    width: 16px; height: 4px;
    border-radius: 3px;
    background: #CBD3E0;
}
.device__sos {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    margin-top: -22px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--navy), var(--navy-dark));
    border: 1.5px solid var(--orange);
    box-shadow: 0 8px 18px rgba(10, 21, 41, .45);
    color: #fff;
    font-size: 11px;
}

/* Ícones do mockup (sprite <symbol> no topo do HTML) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.scene .ic {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 15px; height: 15px;
}
.mini-tile span .ic, .mini-card__icon .ic { color: var(--orange); }
.mini-row__ic .ic { width: 16px; height: 16px; color: var(--navy); }
.fake-map__pin .ic {
    width: 32px; height: 32px;
    fill: var(--orange);
    stroke: #fff;
    stroke-width: 1.5;
}

/* Cenas */
.scene {
    position: absolute;
    inset: 0;
    padding: 30px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    opacity: 0;
    transform: translateY(10px) scale(.985);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    pointer-events: none;
}
.scene.is-active { opacity: 1; transform: none; }

.scene__head { display: grid; gap: 1px; }
.scene__hi { font-size: 16px; font-weight: 700; color: var(--text); }
.scene__hi b { color: var(--orange); }
.scene__sub { font-size: 10.5px; color: var(--text-soft); }
.scene__bar {
    font-size: 13px;
    font-weight: 700;
    padding-bottom: 4px;
}

.emblem { display: grid; place-items: center; padding: 6px 0 2px; position: relative; }
.emblem__ring {
    position: absolute;
    width: 92px; height: 92px;
    border-radius: 50%;
    background: rgba(15, 31, 61, .18);
    animation: radar 2.4s ease-out infinite;
}
@keyframes radar {
    from { transform: scale(.85); opacity: .5; }
    to { transform: scale(1.75); opacity: 0; }
}
.emblem__disc {
    display: grid;
    place-items: center;
    width: 96px; height: 96px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--navy), var(--navy-dark));
    box-shadow: 0 0 0 5px #E4E8EF, 0 12px 24px rgba(10, 21, 41, .3);
    border: 1.6px solid var(--orange);
}
.emblem__sos { font-size: 27px; color: #fff; }
.emblem__car {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .28em;
    color: var(--orange);
}
.emblem__car i { width: 9px; height: 1.5px; background: var(--orange); }

.mini-card {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--shadow-card);
    font-size: 11px;
}
.mini-card--plan {
    background: linear-gradient(180deg, var(--navy), var(--navy-dark));
    color: #fff;
}
.mini-card--plan small { display: block; font-size: 9.5px; color: rgba(255, 255, 255, .72); }
.mini-card--plan em { font-style: normal; color: var(--orange); }
.mini-card--plan b { font-size: 11.5px; }
.mini-card__icon {
    display: grid;
    place-items: center;
    width: 26px; height: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    font-size: 12px;
}
.chip {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 8.5px;
    font-weight: 700;
}
.chip--ok { color: var(--green); border: 1px solid var(--green); }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mini-tile {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 9px 2px;
    border-radius: 11px;
    background: #fff;
    box-shadow: var(--shadow-card);
    font-size: 8px;
    font-weight: 700;
    text-align: center;
}
.mini-tile span {
    display: grid;
    place-items: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--navy);
    font-size: 12px;
}

.mini-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-card);
    font-size: 12px;
    font-weight: 600;
}
.mini-row i { margin-left: auto; color: var(--text-soft); font-style: normal; }
.mini-row__ic {
    display: grid;
    place-items: center;
    width: 28px; height: 28px;
    border-radius: 9px;
    background: var(--navy-tint);
    font-size: 13px;
}
.mini-row.is-hot { outline: 1.5px solid var(--orange); }
.scene__note {
    margin: auto 0 4px;
    font-size: 9.5px;
    color: var(--text-soft);
    text-align: center;
}

.fake-map {
    position: relative;
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    background: #E9EEF4;
}
.fake-map__grid { width: 100%; height: 100%; }
.fake-map__grid path { stroke: #D3DCE7; stroke-width: 6; fill: none; }
.fake-map__road { stroke: #C2CFDD !important; stroke-width: 12 !important; }
.fake-map__pin {
    position: absolute;
    top: 44%; left: 50%;
    transform: translate(-50%, -100%);
    font-size: 30px;
    filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .25));
    animation: drop 2.6s var(--ease) infinite;
}
@keyframes drop {
    0%, 60%, 100% { transform: translate(-50%, -100%); }
    30% { transform: translate(-50%, -128%); }
}
.fake-map--route svg { width: 100%; height: 100%; background: #E9EEF4; }
.route {
    fill: none;
    stroke: var(--navy);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: draw 3.4s ease-in-out infinite;
}
@keyframes draw {
    45%, 100% { stroke-dashoffset: 0; }
}
.dot { stroke: #fff; stroke-width: 3; }
.dot--tech { fill: var(--navy); }
.dot--user { fill: var(--orange); }

.sheet {
    display: grid;
    gap: 6px;
    padding: 12px;
    margin: 0 -14px -12px;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -8px 20px rgba(16, 24, 40, .12);
    font-size: 11px;
}
.sheet b { font-size: 12.5px; }
.sheet small { color: var(--text-soft); }
.fake-input {
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text-soft);
    font-size: 10px;
}
.fake-btn {
    padding: 10px;
    border-radius: 11px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 11px;
}

.mini-card--track { display: grid; gap: 1px; }
.mini-card--track small { color: var(--text-soft); font-size: 9.5px; }
.eta { color: var(--navy); font-weight: 700; font-size: 10.5px; margin-top: 3px; }
.mono { font-family: var(--font-mono); }

.code-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 12px;
    background: var(--navy-tint);
    font-size: 10px;
}
.code-card b { display: block; font-size: 10.5px; }
.code-card small { color: var(--text-soft); font-size: 9px; }
.code {
    margin-left: auto;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--navy);
}

.timeline { display: flex; gap: 5px; }
.timeline i {
    flex: 1;
    height: 4px;
    border-radius: 3px;
    background: var(--border);
}
.timeline .done { background: var(--navy); }
.timeline .now { background: var(--orange); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* Faixa de sinalização entre o hero e o conteúdo */
.hazard {
    height: 10px;
    background: repeating-linear-gradient(
        -45deg,
        var(--orange) 0 18px,
        var(--navy-dark) 18px 36px
    );
    opacity: .85;
}

/* ───────────── Seções ───────────── */
.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(44px, 6vw, 72px) clamp(16px, 4vw, 44px);
}
.section__head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section h2 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(26px, 4.2vw, 40px);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
}
.section__lead { margin: 0; color: #9FADC5; font-size: 15.5px; }
.loading { color: #7C8AA3; font-size: 14px; }

/* Passos */
.steps {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    counter-reset: step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
    display: grid;
    gap: 6px;
    width: 100%;
    height: 100%;
    padding: 20px 18px;
    text-align: left;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #C6D0E2;
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.step:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .07); }
.step.is-active {
    background: linear-gradient(180deg, rgba(242, 107, 29, .16), rgba(242, 107, 29, .04));
    border-color: rgba(242, 107, 29, .55);
    color: #fff;
}
.step__n {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--orange);
}
.step b { font-size: 16px; color: #fff; }
.step span:last-child { font-size: 13.5px; line-height: 1.45; }

/* Cards (serviços / parceiros) */
.cards {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.card {
    display: grid;
    gap: 10px;
    padding: 22px 20px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .09);
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(242, 107, 29, .5); }
.card__ic {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 13px;
    background: rgba(242, 107, 29, .14);
    color: var(--orange);
}
.card__ic svg { width: 23px; height: 23px; fill: currentColor; }
.card b { font-size: 16.5px; color: #fff; }
.card p { margin: 0; font-size: 13.5px; color: #9FADC5; }
/* Com poucos parceiros o card não deve esticar por toda a linha. */
.cards--partners { grid-template-columns: repeat(auto-fill, minmax(260px, 360px)); }

.card__tag {
    justify-self: start;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(242, 107, 29, .16);
    color: var(--orange);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
}

/* Planos */
.plans {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .1);
}
.plan--hot {
    background: linear-gradient(180deg, rgba(242, 107, 29, .14), rgba(15, 31, 61, .4));
    border-color: rgba(242, 107, 29, .6);
    box-shadow: 0 20px 50px rgba(242, 107, 29, .14);
}
.plan__flag {
    position: absolute;
    top: -11px; left: 22px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}
.plan h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 23px;
    color: #fff;
}
.plan__price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-family: var(--font-mono);
    color: #fff;
}
.plan__price b { font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.plan__price span { font-size: 13px; color: #9FADC5; }
.plan__year { font-size: 12.5px; color: #7C8AA3; margin: -8px 0 0; }
.plan ul { list-style: none; display: grid; gap: 9px; margin: 0; padding: 0; }
.plan li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 9px;
    font-size: 13.5px;
    color: #C6D0E2;
    line-height: 1.45;
}
.plan li::before {
    content: "";
    width: 16px; height: 16px;
    margin-top: 3px;
    border-radius: 50%;
    background: rgba(242, 107, 29, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F26B1D'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan .btn { margin-top: auto; }

/* CTA do app */
.appcta {
    display: grid;
    gap: 28px;
    align-items: center;
    padding: clamp(28px, 5vw, 52px);
    border-radius: 26px;
    background:
        radial-gradient(600px 240px at 88% 20%, rgba(242, 107, 29, .2), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .1);
}
@media (min-width: 820px) { .appcta { grid-template-columns: 1.4fr .6fr; } }
.appcta h2 { margin-bottom: 10px; }
.appcta p { color: #9FADC5; max-width: 54ch; }
.appcta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.appcta__logo { justify-self: center; border-radius: 30px; box-shadow: var(--shadow-lift); }

/* ───────────── Rodapé ───────────── */
.footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #050A14;
    padding: 44px clamp(16px, 4vw, 44px) 120px;
}
.footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}
@media (min-width: 680px) {
    .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}
.footer__mark { font-size: 26px; color: #fff; }
.footer__mark span {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .22em;
    color: var(--orange);
    margin-left: 7px;
}
.footer p { margin: 6px 0 0; color: #7C8AA3; font-size: 13.5px; }
.footer nav { display: grid; gap: 10px; font-size: 14px; }
.footer nav a { color: #B9C4D8; text-decoration: none; }
.footer nav a:hover { color: var(--orange); }
.footer__legal {
    max-width: 1180px;
    margin: 32px auto 0 !important;
    font-size: 12.5px;
    color: #55617A !important;
}

/* ───────────── Barra fixa (mobile) ───────────── */
.quickbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(6, 13, 26, .92);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.quickbar .btn { flex: 1; }
.quickbar .btn--orange { flex: 1.6; }
@media (min-width: 900px) { .quickbar { display: none; } .footer { padding-bottom: 44px; } }

/* Revelação no scroll */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
