:root {
    --navy: #0b1a4a;
    --navy-dark: #070f33;
    --blue-tim: #083e89;
    --accent: #2fb4f0;
    --accent-dark: #1596d1;
    --red-tim: #e30f2e;
    --white: #ffffff;
    --gray-bg: #f0f2f7;
    --text: #3d4560;
    --muted: #7a8199;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Mulish', system-ui, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; cursor: pointer; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .35s var(--ease-out), background .3s, color .3s, border-color .3s, box-shadow .35s var(--ease-out);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: .1s; }

.btn-accent {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--accent);
    color: var(--white);
}
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 8px 20px rgba(47, 180, 240, 0.35); }

/* brilho que atravessa o botão no hover */
.btn-accent::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%);
}
.btn-accent:hover::after { transform: translateX(120%); transition: transform .7s var(--ease-out); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-lg { padding: 14px 34px; font-size: 1.05rem; }

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn:disabled:hover { transform: none; box-shadow: none; }
.btn-accent:disabled:hover { background: var(--accent); }
.btn-accent:disabled::after { display: none; }

/* ---------- Barra superior ---------- */
.topbar {
    background: var(--navy);
    color: var(--white);
    font-size: 0.85rem;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.topbar-contacts { display: flex; gap: 28px; flex-wrap: wrap; }

.topbar-contacts a,
.topbar-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    transition: opacity .2s, color .2s;
}

.topbar-contacts a:hover,
.topbar-social a:hover { opacity: 1; color: var(--accent); }

.topbar svg { width: 16px; height: 16px; }

.topbar-social { display: flex; gap: 16px; }

/* ---------- Cabeçalho ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(11, 26, 74, 0);
    transition: box-shadow .4s var(--ease-out), background .4s;
}

.header.scrolled { background: rgba(255, 255, 255, 0.97); box-shadow: 0 6px 24px rgba(11, 26, 74, 0.12); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 78px;
}

/* logo em chip arredondado */
.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(11, 26, 74, 0.12);
    flex-shrink: 0;
    transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
}

.logo img {
    display: block;
    height: 30px;
    width: auto;
    transition: transform .4s var(--ease-out);
}

.logo:hover { box-shadow: 0 8px 24px rgba(11, 26, 74, 0.2); transform: translateY(-1px); }
.logo:hover img { transform: scale(1.05); }

.header-actions { display: flex; gap: 12px; }

/* ---------- Banner ---------- */
/* a imagem aparece inteira; só o botão fica por cima, no espaço vazio abaixo do texto dela */
.banner { position: relative; background: #0b0a3a; line-height: 0; }

.banner-img { display: block; width: 100%; height: auto; }

.banner-cta {
    position: absolute;
    left: 17.8%;
    top: 76%;
    line-height: 1.2;
    font-size: clamp(0.75rem, 1.1vw, 1.1rem);
    padding: 0.8em 1.6em;
    animation: fadeUp .9s var(--ease-out) .3s backwards;
}

/* texto do banner para o celular (no desktop o texto já está na arte) */
.banner-mobile { display: none; }

.banner-tag {
    display: inline-block;
    padding: 4px 12px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(47, 180, 240, 0.6);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.banner-title {
    margin: 14px 0 12px;
    font-size: clamp(1.3rem, 6.4vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.banner-price { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.banner-price small { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; padding-bottom: 8px; }
.banner-price span { color: var(--red-tim); font-weight: 900; font-size: 1.2rem; line-height: 1; }
.banner-price b { font-size: 3rem; letter-spacing: -1px; }
.banner-price em { font-style: normal; font-size: 1rem; margin-left: 2px; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.price { display: flex; align-items: flex-start; line-height: 1; font-weight: 900; }

.price .cur { font-size: 1.6rem; margin-top: 14px; margin-right: 4px; }

.price .int { font-size: 5rem; letter-spacing: -2px; }

.price .dec { font-size: 2rem; margin-top: 8px; display: flex; flex-direction: column; }

.price .dec em { font-style: normal; font-weight: 600; font-size: 1.1rem; }


/* ---------- Planos ---------- */
.plans-section { padding: 70px 0 90px; background: var(--gray-bg); }

.tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    background: var(--white);
    width: fit-content;
    margin: 0 auto 50px;
    padding: 6px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(11, 26, 74, 0.08);
    position: relative;
}

.tabs::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: var(--x, 6px);
    width: var(--w, 0);
    border-radius: 999px;
    background: var(--navy);
    transition: left .5s var(--ease-out), width .5s var(--ease-out);
}

.tab {
    position: relative;
    z-index: 1;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    background: transparent;
    border: none;
    padding: 12px 30px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .3s, color .4s var(--ease-out);
}

.tab.active { background: var(--navy); color: var(--white); }

/* com o indicador ativo, o fundo fica por conta dele */
.tabs.ready .tab.active { background: transparent; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .6s var(--ease-out); }

/* flex para centralizar a última linha quando sobra card */
.cards {
    --cols: 5;
    --gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px var(--gap);
    margin: 0 auto;
}

/* 5 cards lado a lado: a seção usa uma largura maior que o container padrão */
.plans-section .container { max-width: 1360px; }

.cards .card { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }

/* cada card se ajusta ao próprio tamanho, seja na grade ou na aba empresa */
.card { container-type: inline-size; }

/* títulos com altura igual, para as artes ficarem alinhadas */
.cards .card-head { padding: 24px 14px 0; }
.cards .card-head span { display: flex; align-items: center; justify-content: center; min-height: 2.8em; }

.cards .card-body { padding: 4px 12px 0; }

/* no card estreito, botões um embaixo do outro */
.cards .card-actions { flex-direction: column; gap: 8px; padding: 8px 16px 20px; }

.card .card-head { font-size: clamp(0.72rem, 4.4cqi, 0.85rem); }
.card .card-actions .btn { font-size: clamp(0.82rem, 5cqi, 0.95rem); }

/* card largo: botões lado a lado */
@container (min-width: 270px) {
    .cards .card-actions { flex-direction: row; gap: 10px; padding: 10px 18px 22px; }
    .cards .card-head { padding: 26px 18px 0; }
}

/* card estreito: menos respiro para a arte ocupar o espaço */
@container (max-width: 210px) {
    .cards .card-head { padding: 22px 10px 0; letter-spacing: 0.8px; }
    .cards .card-body { padding: 4px 8px 0; }
    .cards .card-actions { padding: 8px 12px 16px; }
    .cards .card-actions .btn { padding: 10px 8px; }
}

.card {
    --card-top: #0c053e;
    --card-bottom: #08032b;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(47, 180, 240, 0.18);
    border-radius: 24px;
    /* mesmo gradiente do fundo das artes, para a imagem se fundir ao card */
    background: linear-gradient(180deg, var(--card-top), var(--card-bottom));
    box-shadow: 0 10px 30px rgba(8, 3, 43, 0.25);
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}

/* luz que acompanha o mouse */
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 180, 240, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(47, 180, 240, 0.5);
    box-shadow: 0 26px 50px rgba(8, 3, 43, 0.4), 0 0 0 1px rgba(47, 180, 240, 0.25);
}

.card:hover::before { opacity: 1; }

/* oferta em foco: maior, borda em gradiente e brilho forte */
.card.card-focus {
    z-index: 1;
    border: 3px solid transparent;
    background:
        linear-gradient(180deg, var(--card-top), var(--card-bottom)) padding-box,
        linear-gradient(160deg, var(--red-tim), #ff4d6a 35%, var(--accent)) border-box;
    box-shadow: 0 22px 54px rgba(227, 15, 46, 0.32), 0 0 0 6px rgba(227, 15, 46, 0.08);
    /* scale separado do transform, para somar com o hover e a animação de entrada */
    scale: 1.05;
}

.card.card-focus:hover {
    box-shadow: 0 34px 70px rgba(227, 15, 46, 0.42), 0 0 0 6px rgba(227, 15, 46, 0.12);
}

.card.card-focus .card-head { color: var(--white); }

/* mais vendido: destaque secundário, borda azul */
.card.card-popular {
    border: 2px solid var(--accent);
    box-shadow: 0 18px 44px rgba(47, 180, 240, 0.28);
}

.card.card-popular:hover { box-shadow: 0 30px 60px rgba(47, 180, 240, 0.4); }

.card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: var(--red-tim);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 18px;
    border-radius: 999px;
    white-space: nowrap;
    animation: badgePulse 2.4s ease-in-out infinite;
}

.card.card-focus .card-badge {
    background: linear-gradient(90deg, var(--red-tim), #ff4d6a);
    font-size: 0.8rem;
    padding: 7px 20px;
}

.card.card-popular .card-badge {
    background: var(--accent);
    animation-name: badgePulseBlue;
}

.card-head {
    position: relative;
    color: var(--accent);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 26px 20px 0;
}

.card-head::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--red-tim));
    transition: width .5s var(--ease-out);
}

.card:hover .card-head::after { width: 90px; }

.card-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 18px 0;
}

/* as artes têm 240px de largura: limitar evita que fiquem borradas */
.card-body img {
    width: 100%;
    max-width: 260px;
    transition: transform .6s var(--ease-out);
}

.card:hover .card-body img { transform: scale(1.04); }

.card-actions {
    position: relative;
    display: flex;
    gap: 10px;
    padding: 6px 22px 24px;
    margin-top: auto;
}

.card-actions .btn { flex: 1; padding: 11px 12px; }

.card .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.card .btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.note { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 36px; }

.business {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--navy);
    color: var(--white);
    border-radius: 22px;
    padding: 50px;
}

.business h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 14px; }
.business h2 strong { color: var(--accent); }
.business p { opacity: 0.9; margin-bottom: 20px; }

.business .card { width: 100%; max-width: 360px; justify-self: center; }


.checks { list-style: none; margin-bottom: 28px; display: grid; gap: 10px; }

.checks li { display: flex; align-items: center; gap: 10px; font-weight: 700; }

.tab-panel.active .checks li { animation: fadeRight .6s var(--ease-out) backwards; }
.tab-panel.active .checks li:nth-child(2) { animation-delay: .1s; }
.tab-panel.active .checks li:nth-child(3) { animation-delay: .2s; }

.checks li::before {
    content: '✓';
    display: grid;
    place-items: center;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 0.8rem;
}

/* ---------- Aplicativos ---------- */
.apps-section {
    
    padding: 110px 0;
    background: var(--navy);
    color: var(--white);
    text-align: center;
    
}

/* divisores em zigue-zague, como no site de referência */
.zigzag::before,
.zigzag::after,
.zigzag-top::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 16px;
    background-size: 32px 16px;
    background-repeat: repeat-x;
}

.zigzag::before,
.zigzag-top::before {
    top: 0;
    background-image: linear-gradient(135deg, var(--gray-bg) 25%, transparent 25%),
                      linear-gradient(225deg, var(--gray-bg) 25%, transparent 25%);
}

.zigzag::after {
    bottom: 0;
    background-image: linear-gradient(45deg, var(--white) 25%, transparent 25%),
                      linear-gradient(315deg, var(--white) 25%, transparent 25%);
}

.zigzag-top::before {
    background-image: linear-gradient(135deg, var(--white) 25%, transparent 25%),
                      linear-gradient(225deg, var(--white) 25%, transparent 25%);
}

.typing-title {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    min-height: 2.4em;
}

.typing { color: var(--accent); }

.caret {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    margin-left: 4px;
    background: var(--accent);
    vertical-align: -0.1em;
    animation: blink .8s steps(1) infinite;
}

.typing-title strong { display: block; }

.section-sub { opacity: 0.8; margin: 12px 0 50px; font-size: 1.05rem; }

.apps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.app {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 26px 14px;
    transition: transform .5s var(--ease-out), background .3s, border-color .3s;
}

.app:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); border-color: rgba(47, 180, 240, 0.4); }

.app:hover .app-icon { transform: scale(1.1) rotate(-4deg); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }

.app-icon {
    display: grid;
    place-items: center;
    width: 64px; height: 64px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: var(--c);
    color: var(--white);
    font-weight: 900;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: transform .5s var(--ease-spring), box-shadow .4s;
}

.app-icon svg { width: 28px; height: 28px; }

.app-icon-img { background: none; border: none; padding: 0; }

.app-icon-img { overflow: hidden; }

.app-icon-img img { width: 100%; height: 100%; object-fit: cover; }

.app h3 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }

.app p { font-size: 0.85rem; opacity: 0.75; }

/* ---------- Velocidade ---------- */
.speed-section { padding: 90px 0; }

.speed-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.speed-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 900; margin-bottom: 16px; }
.speed-text h2 strong { color: var(--accent); }
.speed-text p { font-size: 1.1rem; margin-bottom: 28px; max-width: 520px; }

.speed-counter { text-align: center; }

.counter-ring {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 260px; height: 260px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--white) 60%, transparent 61%),
        conic-gradient(from var(--ring-angle), var(--accent), var(--blue-tim), var(--red-tim), var(--accent));
    box-shadow: 0 16px 40px rgba(11, 26, 74, 0.15);
    animation: ringSpin 8s linear infinite;
}

@property --ring-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.counter { font-size: 4rem; font-weight: 900; color: var(--navy); line-height: 1; }

.counter-ring small { font-size: 1.2rem; font-weight: 800; color: var(--accent); text-transform: uppercase; }

.speed-counter p { font-weight: 700; color: var(--muted); }

/* ---------- Cobertura ---------- */
.coverage-section { background: var(--accent); color: var(--white); padding: 50px 0; }

.coverage-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.coverage-section h2 { color: var(--white); font-size: 2rem; font-weight: 900; }

.coverage-section p { max-width: 520px; opacity: 0.95; }

.cep-form {
    display: flex;
    transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
    background: var(--white);
    border-radius: 999px;
    padding: 6px;
    width: 100%;
    max-width: 420px;
}

.cep-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 18px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    background: transparent;
}

.cep-form:focus-within { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.3), 0 12px 30px rgba(7, 15, 51, 0.2); transform: translateY(-2px); }

.cep-form .btn { background: var(--navy); }
.cep-form .btn:hover { background: var(--blue-tim); }

.cep-result {
    flex-basis: 100%;
    margin-top: 2px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cep-result[hidden] { display: none; }
.cep-result::before { font-size: 1.1rem; line-height: 1; }
.cep-result.load { background: rgba(255, 255, 255, 0.18); color: var(--white); }
.cep-result.load::before { content: '⏳'; }
.cep-result.ok { background: #e8f8ef; color: #0f7a40; }
.cep-result.ok::before { content: '✓'; font-weight: 900; }
.cep-result.no { background: #fff3f4; color: var(--red-tim); }
.cep-result.no::before { content: '!'; font-weight: 900; }
.cep-result a { color: inherit; text-decoration: underline; font-weight: 800; }

/* ---------- Cidades atendidas ---------- */
.cities-section { padding: 80px 0 20px; }

.section-head { text-align: center; margin-bottom: 26px; }

.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; margin-bottom: 8px; }
.section-head h2 strong { color: var(--accent); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.cities-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
}

.cities-stats div {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
}

.cities-stats strong { font-size: 1.5rem; font-weight: 900; color: var(--accent); }
.cities-stats span { font-weight: 700; }

.cities-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.cities-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 460px;
    padding: 0 20px;
    border: 2px solid var(--gray-bg);
    border-radius: 999px;
    background: var(--gray-bg);
    transition: border-color .2s, background .2s;
}

.cities-search:focus-within { border-color: var(--accent); background: var(--white); }

.cities-search svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }

.cities-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.uf-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.uf-btn {
    padding: 8px 16px;
    border: 2px solid var(--gray-bg);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}

.uf-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.uf-btn:active { transform: scale(0.95); }

.uf-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.uf-btn small { opacity: 0.6; font-weight: 700; margin-left: 4px; }

.cities { display: grid; gap: 16px; }

.uf {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-radius: 18px;
    overflow: hidden;
    background: var(--gray-bg);
    animation: fadeUp .6s var(--ease-out) backwards;
    animation-delay: calc(var(--i, 0) * 60ms);
}

.uf-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 20px 22px;
    background: var(--navy);
    color: var(--white);
}

.uf-head b {
    width: fit-content;
    padding: 2px 10px;
    border-radius: 8px;
    background: var(--accent);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.uf-head strong { font-size: 1.15rem; font-weight: 800; }

.uf-head small { opacity: 0.7; font-weight: 600; }

.uf ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
    padding: 18px;
    align-content: center;
}

.uf li {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2px 8px;
    padding: 9px 14px;
    border-radius: 10px;
    background: var(--white);
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform .3s var(--ease-out), box-shadow .3s;
}

.uf li:hover { transform: translateX(4px); box-shadow: 0 4px 12px rgba(11, 26, 74, 0.08); }

.uf li::before {
    content: '';
    margin-top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.cidade-cep {
    flex-basis: 100%;
    margin-left: 16px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.2px;
}

.uf li mark { background: rgba(47, 180, 240, 0.3); color: inherit; border-radius: 3px; }

.cities-empty { text-align: center; color: var(--muted); font-weight: 600; }

@media (max-width: 700px) {
    .uf { grid-template-columns: 1fr; }
    .uf-head { flex-direction: row; align-items: center; padding: 14px 18px; }
    .uf-head small { margin-left: auto; }
    .uf ul { grid-template-columns: repeat(2, 1fr); padding: 12px; }
    .uf li { padding: 8px 10px; font-size: 0.85rem; }
}

/* ---------- Links rápidos ---------- */
.links-section { padding: 70px 0 90px; }

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.quick {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 18px;
    background: var(--gray-bg);
    color: var(--navy);
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: background .25s, color .25s, transform .25s;
}

.quick svg { width: 38px; height: 38px; flex-shrink: 0; color: var(--accent); transition: color .25s; }

.quick strong { font-weight: 900; }

.quick:hover { background: var(--navy); color: var(--white); transform: translateY(-4px); }
.quick:hover svg { color: var(--white); }

/* ---------- Rodapé ---------- */
.footer {
    position: relative;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.72);
    padding-top: 76px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 36px 56px;
    padding-bottom: 46px;
}

.footer-logo { width: 126px; margin-bottom: 18px; }
.footer-col-brand { max-width: 420px; }
.footer-col-brand p { line-height: 1.7; color: rgba(255, 255, 255, 0.66); }

.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.footer-col h4 {
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.6px;
    margin-bottom: 8px;
    padding-bottom: 12px;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 28px; height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

.footer-col a,
.footer-link-btn {
    color: rgba(255, 255, 255, 0.68);
    font: inherit;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color .3s, transform .3s var(--ease-out);
}
.footer-col a:hover,
.footer-link-btn:hover { color: var(--accent); transform: translateX(4px); }

.footer-bottom { background: var(--navy-dark); }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px 28px;
    flex-wrap: wrap;
    padding: 18px 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-trademark { opacity: 0.85; }

/* ---------- Consentimento de cookies ---------- */
.btn-ghost { background: transparent; color: var(--navy); border-color: transparent; }
.btn-ghost:hover { background: rgba(11, 26, 74, 0.08); }

.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 300;
    background: var(--white);
    box-shadow: 0 -8px 40px rgba(7, 15, 51, 0.22);
    border-top: 3px solid var(--accent);
    animation: cookieUp .5s var(--ease-out);
}
.cookie-banner[hidden] { display: none; }
@keyframes cookieUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 20px;
}
.cookie-banner-text strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.cookie-banner-text p { font-size: 0.86rem; line-height: 1.55; color: var(--text); max-width: 760px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; margin-left: auto; }

.cookie-link {
    background: none; border: none; padding: 0;
    font: inherit; font-weight: 800; color: var(--accent-dark);
    cursor: pointer; text-decoration: underline;
}
.cookie-link:hover { color: var(--accent); }

/* modais de cookies reutilizam .modal */
.cookie-modal { z-index: 400; }
.cookie-box { max-width: 560px; text-align: left; padding: 0; }
.cookie-head { padding: 28px 28px 10px; }
.cookie-head h3 { font-size: 1.5rem; font-weight: 900; color: var(--navy); }
.cookie-head > p { font-size: 0.88rem; color: var(--muted); margin-top: 8px; line-height: 1.5; }

.cookie-cats { padding: 8px 28px; display: flex; flex-direction: column; }
.cookie-cat {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid #eef0f6;
}
.cookie-cat:first-child { border-top: none; }
.cookie-cat-text strong { display: block; color: var(--navy); font-size: 0.95rem; margin-bottom: 2px; }
.cookie-cat-text span { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

.cookie-switch { position: relative; flex-shrink: 0; width: 46px; height: 26px; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-switch i {
    position: absolute;
    inset: 0;
    background: #cfd5e4;
    border-radius: 999px;
    transition: background .25s;
    pointer-events: none;
}
.cookie-switch i::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: transform .25s var(--ease-out);
}
.cookie-switch input:checked + i { background: var(--accent); }
.cookie-switch input:checked + i::after { transform: translateX(20px); }
.cookie-switch input:disabled + i { background: var(--navy); opacity: 0.55; }
.cookie-switch input:disabled { cursor: not-allowed; }

.cookie-actions {
    display: flex;
    gap: 12px;
    padding: 18px 28px 24px;
    border-top: 1px solid #eef0f6;
    margin-top: 6px;
}
.cookie-actions .btn { flex: 1; }

@media (max-width: 700px) {
    .policy-list { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Modal ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(7, 15, 51, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease-out), visibility .35s;
}

.modal.open { opacity: 1; visibility: visible; }

.modal-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 22px;
    transform: translateY(30px) scale(0.95);
    transition: transform .5s var(--ease-spring);
}

.modal.open .modal-box { transform: none; }

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .3s var(--ease-out);
}

.modal-close:hover { transform: rotate(90deg); }

.modal-head {
    background: var(--navy);
    color: var(--white);
    padding: 26px 28px;
    border-radius: 22px 22px 0 0;
}

.modal-head small { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

.modal-head h3 { color: var(--white); font-size: 2.4rem; font-weight: 900; }

.modal-head p { opacity: 0.85; font-size: 0.9rem; font-weight: 600; }

.modal-body { padding: 24px 28px 28px; }

.modal-body h4 { margin: 4px 0 12px; }

.modal-body .checks { color: var(--navy); margin-bottom: 20px; }

.modal-body .price { color: var(--navy); margin-bottom: 8px; }
.modal-body .price .int { font-size: 3.6rem; }

.modal-body .alt-price { font-size: 0.9rem; color: var(--navy); margin-bottom: 12px; }

.modal-body .disclaimer { font-size: 0.72rem; color: var(--muted); margin-bottom: 20px; }

.modal-body .btn { width: 100%; }

/* ---------- Animações ---------- */
/* entrada via animation (e não transition) para não atrasar o hover depois */
.reveal:not(.visible) { opacity: 0; }
.reveal.visible { animation: revealUp .9s var(--ease-out) var(--d, 0s) backwards; }

@keyframes revealUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: none; }
}

@keyframes cardIn {
    from { opacity: 0; translate: 0 80px; }
    to { opacity: 1; translate: 0 0; }
}

@keyframes float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -14px; }
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227, 15, 46, 0.45); }
    50% { box-shadow: 0 0 0 8px rgba(227, 15, 46, 0); }
}

@keyframes badgePulseBlue {
    0%, 100% { box-shadow: 0 0 0 0 rgba(47, 180, 240, 0.45); }
    50% { box-shadow: 0 0 0 8px rgba(47, 180, 240, 0); }
}

@keyframes ringSpin { to { --ring-angle: 360deg; } }

@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
    }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
    .cards { --cols: 3; --gap: 24px; max-width: 900px; }
}

@media (max-width: 1080px) {
    .apps { grid-template-columns: repeat(3, 1fr); }
}

/* tablet: 2 por linha, o último fica centralizado */
@media (max-width: 900px) {
    .cards { --cols: 2; --gap: 20px; max-width: 580px; }
    .card.card-focus { scale: 1; }
}

@media (max-width: 900px) {
    html { scroll-padding-top: 76px; }

    .banner { line-height: 1.2; text-align: center; padding-bottom: 24px; }
    .banner-cta { position: static; display: inline-flex; margin-top: 20px; font-size: 1rem; }

    .plans-section { padding: 56px 0 70px; }

    .business { grid-template-columns: 1fr; padding: 36px 28px; }

    .apps-section { padding: 80px 0; }

    .speed-section { padding: 70px 0; }
    .speed-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .speed-text p { margin-left: auto; margin-right: auto; }

    .coverage-inner { flex-direction: column; text-align: center; }
    .coverage-section p { margin: 0 auto; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
    .footer-col-brand { grid-column: 1 / -1; max-width: none; }
}

/* toque: sem o "levantar" do hover, que fica preso depois do toque */
@media (hover: none) {
    .card:hover,
    .app:hover,
    .btn:hover,
    .uf li:hover { transform: none; }
    .card:hover .card-body img { transform: none; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }

    .header-actions .btn { padding: 8px 16px; font-size: 0.8rem; }
    .header-inner { height: 64px; }
    .logo { padding: 8px 14px; }
    .logo img { height: 24px; }

    /* banner: a foto vira fundo (focada na moça) e o texto da arte vira texto de verdade */
    .banner {
        --img-h: clamp(270px, 85vw, 520px);
        padding: 0 16px 28px;
        text-align: left;
        overflow: hidden;
    }
    /* foto em cima, sem o texto da arte, e o texto embaixo */
    .banner-img {
        width: calc(100% + 32px);
        max-width: none;
        height: var(--img-h);
        margin: 0 -16px;
        object-fit: cover;
        object-position: 94% center;
    }
    /* esconde a pontinha do selo da arte que sobra no canto esquerdo */
    .banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 44px;
        height: calc(var(--img-h) * 0.45);
        background: linear-gradient(90deg, #0b0a3a 40%, rgba(11, 10, 58, 0));
        pointer-events: none;
    }
    /* degradê emendando a foto no fundo do texto */
    .banner::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: calc(var(--img-h) - 90px);
        height: 90px;
        background: linear-gradient(180deg, rgba(11, 10, 58, 0), #0b0a3a);
        pointer-events: none;
    }
    .banner-mobile { display: block; position: relative; z-index: 1; margin-top: -34px; color: var(--white); }
    .banner-cta { position: relative; left: auto; top: auto; z-index: 1; width: 100%; margin-top: 18px; padding: 14px 24px; }

    .price .int { font-size: 4rem; }

    .plans-section { padding: 40px 0 56px; }
    .tabs { margin-bottom: 26px; }
    .tab { padding: 10px 16px; font-size: 0.88rem; }

    /* celular: um card embaixo do outro, na largura da tela */
    .cards { --cols: 1; max-width: 300px; row-gap: 30px; padding-top: 6px; }

    .note { margin-top: 22px; font-size: 0.75rem; }

    .business { padding: 30px 18px; border-radius: 18px; }
    .business h2 { font-size: 1.7rem; }
    .business .btn-lg { width: 100%; white-space: normal; }

    .apps-section { padding: 60px 0; }
    .typing-title { min-height: 2.5em; }
    .section-sub { margin: 10px 0 30px; font-size: 0.95rem; }
    .apps { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .app { padding: 20px 10px; border-radius: 14px; }
    .app-icon { width: 54px; height: 54px; border-radius: 14px; }
    .app h3 { font-size: 0.92rem; }
    .app p { font-size: 0.8rem; }

    .speed-section { padding: 56px 0; }
    .speed-text p { font-size: 1rem; }

    .coverage-section { padding: 40px 0; }
    .coverage-section h2 { font-size: 1.6rem; }
    .cep-form { max-width: none; }
    .cep-form .btn { padding: 10px 18px; }

    .cities-section { padding: 56px 0 10px; }
    .cities-stats div { padding: 8px 18px; }
    .cities-stats strong { font-size: 1.3rem; }
    /* filtro de estados rola de lado em vez de quebrar em várias linhas */
    .cities-toolbar { align-items: stretch; margin-bottom: 26px; }
    .cities-search { align-self: center; }
    .uf-filter {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin: 0 -16px;
        padding: 2px 16px 6px;
        scrollbar-width: none;
    }
    .uf-filter::-webkit-scrollbar { display: none; }
    .uf-btn { flex-shrink: 0; }

    .footer { padding-top: 56px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }

    .modal { padding: 12px; }
    .modal-box { max-height: 92vh; max-height: 92dvh; }
    .modal-head { padding: 22px; }
    .modal-head h3 { font-size: 2rem; }
    .modal-body { padding: 20px 22px 24px; }
    .modal-body .price .int { font-size: 3rem; }

    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
    .cookie-banner-text p { font-size: 0.8rem; }
    .cookie-banner-actions { margin-left: 0; display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-banner-actions [data-cookie-accept] { grid-column: 1 / -1; order: -1; }
    .cookie-banner-actions .btn { padding: 11px 14px; }
    .cookie-head { padding: 24px 20px 8px; }
    .cookie-cats { padding: 6px 20px; }
    .cookie-actions { flex-direction: column-reverse; padding: 16px 20px 20px; }

    .counter-ring { width: 220px; height: 220px; }
    .counter { font-size: 3.2rem; }
}

@media (max-width: 360px) {
    .header-actions .btn { padding: 7px 12px; }
    .tab { padding: 9px 12px; font-size: 0.82rem; }
    .uf ul { grid-template-columns: 1fr; }
}

/* ---------- Checkout / Contratação ---------- */
.checkout-box {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    overflow: hidden;
    background: var(--white);
    border-radius: 22px;
    transform: translateY(30px) scale(0.96);
    transition: transform .5s var(--ease-spring);
}

.checkout.open .checkout-box { transform: none; }
.checkout .modal-close { color: var(--navy); }

.checkout-form-col {
    padding: 30px 32px;
    overflow-y: auto;
    max-height: 92vh;
}

.checkout-header h3 { font-size: 1.6rem; font-weight: 900; }
.checkout-header > p { font-size: 0.9rem; color: var(--muted); margin: 6px 0 20px; }

/* Indicador de etapas */
.checkout-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.step-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--muted);
    transition: color .3s;
}
.step-dot b {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gray-bg);
    color: var(--muted);
    font-size: 0.85rem;
    transition: background .3s, color .3s;
}
.step-dot.active { color: var(--navy); }
.step-dot.active b { background: var(--accent); color: var(--white); }
.step-dot.done b { background: var(--navy); color: var(--white); }
.step-line { flex: 1; height: 2px; background: var(--gray-bg); border-radius: 2px; }

/* Etapas do formulário */
.checkout-step { border: none; display: none; animation: fadeUp .5s var(--ease-out); }
.checkout-step.active { display: block; }
.checkout-step legend { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 14px; }

.field { margin-bottom: 14px; }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; }
.field-grow { flex: 2 !important; }

.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field label span { color: var(--muted); font-weight: 600; }

.field input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e6f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: #fafbfe;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input::placeholder { color: #aab0c4; }
.field input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(47, 180, 240, 0.15);
}
.field input.invalid { border-color: var(--red-tim); background: #fff5f6; }

.field-hint { font-size: 0.8rem; font-weight: 700; margin: -4px 0 12px; }
.field-hint.ok { color: #1a9e57; }
.field-hint.load { color: var(--muted); }
.field-hint.err { color: var(--red-tim); }

.checkout-legal { font-size: 0.78rem; color: var(--muted); line-height: 1.5; margin-top: 18px; }

.checkout-actions { display: flex; gap: 12px; margin-top: 22px; }
.checkout-legal + .checkout-actions { margin-top: 12px; }
.checkout-actions .btn { flex: 1; }

/* Coluna do plano */
.checkout-plan {
    background: linear-gradient(170deg, var(--navy), var(--navy-dark));
    color: var(--white);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
}
.checkout-plan .plan-tag { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); }
.checkout-plan h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; opacity: 0.9; }
.checkout-plan .plan-speed { font-size: 2.4rem; font-weight: 900; line-height: 1; color: var(--white); }
.checkout-plan .plan-band { font-size: 0.82rem; opacity: 0.8; font-weight: 600; }

.checkout-plan .plan-price { display: flex; align-items: flex-start; line-height: 1; font-weight: 900; margin-top: 4px; }
.checkout-plan .plan-price .cur { font-size: 1.2rem; margin-top: 6px; margin-right: 3px; }
.checkout-plan .plan-price .int { font-size: 3rem; letter-spacing: -1px; }
.checkout-plan .plan-price .dec { font-size: 1.2rem; margin-top: 4px; }
.checkout-plan .plan-price .dec em { font-style: normal; font-weight: 600; font-size: 0.8rem; display: block; }
.checkout-plan .plan-alt { font-size: 0.8rem; opacity: 0.8; }

.checkout-plan .plan-list { list-style: none; display: grid; gap: 9px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.checkout-plan .plan-list li { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; font-weight: 600; }
.checkout-plan .plan-list li::before {
    content: '';
    flex-shrink: 0;
    width: 17px; height: 17px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checkout-plan .plan-list li.alt::before { background-color: var(--red-tim); }
.checkout-plan .plan-disclaimer { font-size: 0.7rem; opacity: 0.6; margin-top: auto; }

@media (max-width: 760px) {
    .checkout-box { grid-template-columns: 1fr; max-width: 460px; }
    .checkout-plan { order: -1; max-height: 230px; padding: 24px 22px; gap: 12px; }
    .checkout-plan .plan-speed { font-size: 2rem; }
    .checkout-form-col { max-height: none; }
    .checkout-box { max-height: 92vh; max-height: 92dvh; overflow-y: auto; }
    /* o fechar fica sobre o resumo azul do plano */
    .checkout .modal-close { color: var(--white); }
    /* 16px evita o zoom automático do iPhone ao focar o campo */
    .field input { font-size: 16px; }
}

@media (max-width: 420px) {
    .field-row { flex-direction: column; gap: 0; }
    .checkout-form-col { padding: 24px 18px; }
    .checkout-header h3 { font-size: 1.4rem; }
    .checkout-steps { margin-bottom: 18px; }
    .checkout-actions { flex-direction: column-reverse; }
}

/* ---------- Página legal (Política de Privacidade) ---------- */
.legal-hero {
    background: linear-gradient(120deg, var(--navy-dark), var(--blue-tim));
    color: var(--white);
    padding: 120px 0 70px;
    text-align: center;
}
.legal-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; }
.legal-hero p { opacity: 0.85; margin-top: 10px; font-weight: 600; }

.legal-section { padding: 60px 0 90px; background: var(--gray-bg); }
.legal-card {
    max-width: 820px;
    margin: -50px auto 0;
    background: var(--white);
    border-radius: 22px;
    padding: 40px clamp(22px, 5vw, 52px);
    box-shadow: 0 24px 60px rgba(7, 15, 51, 0.1);
}
.legal-card .company {
    background: var(--gray-bg);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 26px;
    font-size: 0.92rem;
}
.legal-card .company strong { color: var(--navy); display: block; font-size: 1rem; }
.legal-card .company span { color: var(--muted); }

.legal-card > p { margin-bottom: 22px; color: var(--text); }
.legal-card h2 { font-size: 1.15rem; color: var(--navy); margin: 0 0 18px; }

.legal-list { list-style: none; display: grid; gap: 18px; margin-bottom: 28px; }
.legal-list li { position: relative; padding-left: 30px; line-height: 1.6; }
.legal-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.legal-list li strong { color: var(--navy); }

.legal-dpo {
    border-left: 4px solid var(--accent);
    background: #f4fbff;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 26px 0;
    font-size: 0.92rem;
}
.legal-dpo a { color: var(--accent-dark); font-weight: 800; }
.legal-dpo a:hover { text-decoration: underline; }

.legal-close { font-weight: 700; color: var(--navy); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 800; color: var(--accent-dark); }
.legal-back:hover { gap: 12px; }
