:root {
    --bg: #ffffff;
    --card: #f9fafb;
    --muted: #6b7280;
    --text: #111827;

    --brand: #334155;
    /* azul petróleo */
    --brand-2: #1e293b;
    /* hover mais escuro */
    --accent: #0ea5e9;
    /* azul claro de apoio */


    --ok: #22c55e;
    --shadow: 0 8px 20px rgba(17, 24, 39, .08);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
    background: var(--bg);
    color: var(--text)
}

a {
    text-decoration: none;
    color: inherit
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.nav {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800
}

/* .brand img {
    height: 40px
} */

.nav-actions {
    display: flex;
    gap: 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: .2s;
    cursor: pointer;
    border: 1px solid transparent
}

.btn i {
    margin-right: 8px
}

.btn-primary {
    background: var(--brand);
    color: #fff
}

.btn-primary:hover {
    background: var(--brand-2)
}

.btn-ghost {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: var(--text)
}

.btn-ghost:hover {
    background: #f3f4f6
}

/* HERO */
.hero {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
}

.hero-inner {
    width: 100%;

    margin: 0 auto;
    display: grid;
    gap: 28px;
    align-items: center;
    grid-template-columns: 1.15fr .85fr;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
}

.hero-copy {
    text-align: left;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 0 24px
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px
}

.hero-media {
    aspect-ratio: 1/1;
    background: #0b1220;
    border: 4px dashed #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    display: grid;
    place-items: center;
    color: #5d6068;
}

.hero-media .hint {
    font-size: 13px;
    opacity: .85;
    text-align: center
}

.hero-media .ico {
    font-size: 42px;
    margin-bottom: 8px
}

/* Seções genéricas */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto
}

h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center
}

.sub {
    color: var(--muted);
    text-align: center;
    margin-bottom: 32px
}

.cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))
}

.card {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left
}

.card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--brand-2)
}

.card p {
    color: var(--muted)
}

.pricing {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))
}

.price {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    text-align: center
}

.price h3 {
    margin-bottom: 8px;
    font-size: 20px;
    color: var(--brand)
}

.price ul {
    text-align: left;
    margin: 16px 0;
    list-style: none;
    padding: 0
}

.price li {
    margin-bottom: 8px;
    color: var(--muted)
}

footer {
    background: #f3f4f6;
    padding: 20px;
    margin-top: 40px;
    text-align: center;
    color: var(--muted)
}

footer img {
    height: 28px;
    margin-bottom: 10px
}

.grid-3 {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))
}

.steps {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.step {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow)
}

.step h3 {
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--brand-2)
}

.media-strip {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-top: 16px
}

/* Mantém o frame e garante que nada vaze */
.media {
    position: relative;
    overflow: hidden;
    display: grid;
    /* já existe */
    place-items: center;
    /* já existe */
    aspect-ratio: 4/3;
    /* já existe */
}

/* Imagem centralizada, sem esticar, cabendo 100% do espaço */
.media>img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* NÃO recorta */
    display: block;
    border: 2px solid #fff;
    /* borda branca fina */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    background: #000;
    /* evita “halo” em PNGs */
}

/* grade um pouco mais “folgada” em telas pequenas */
@media (max-width: 640px) {
    .media-strip {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

.pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    color: #155e75;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px
}

.qa {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 16px
}

.qa h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--brand-2)
}

/* Carrossel de prints */
.showcase {
    max-width: 1200px;
    margin: 28px auto 0;
}

.showcase-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid #e5e7eb;
}

.showcase-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.showcase img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .5s ease;
}

.showcase img.active {
    opacity: 1
}

.showcase-caption {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #e2e3e6;
    margin-top: 10px
}

.showcase-caption i {
    color: var(--brand)
}

/* ====== RESPONSIVIDADE ====== */

/* header: deixa quebrar linha quando faltar espaço */
.nav {
    flex-wrap: wrap;
    row-gap: 8px
}

.nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end
}

/* tamanhos mais compactos em telas menores */
@media (max-width: 920px) {
    .btn {
        height: 38px;
        padding: 0 14px;
        font-size: 14px
    }

    .brand img {
        height: 32px
    }

    .hero {
        padding: 40px 16px
    }
}

@media (max-width: 600px) {
    .nav {
        padding: 10px 14px
    }

    .btn {
        height: 36px;
        padding: 0 12px;
        font-size: 13px
    }

    .hero h1 {
        font-size: clamp(24px, 5vw, 34px)
    }

    .hero p {
        font-size: 16px
    }
}

/* altera paralax  */
.showcase {
    width: 100%;
    max-width: none;
    margin: 28px 0 0;
}

.showcase-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    /* fundo preto ocupando toda a largura */
    border: 0;
    border-radius: 0;
    /* sem bordas externas para “cinema” */
}

/* imagens: centralizadas, sem esticar, com borda branca fina */
.showcase img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity .5s ease;
    border: 2px solid rgba(255, 255, 255, .9);
    /* borda branca fina */
    border-radius: 6px;
    /* cantos suaves */

    /* evita halo no recorte */
    box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
    /* leve relevo */
}

.showcase img.active {
    opacity: 1
}

/*  */
/* ====== SHOWCASE COM TEXTO ====== */
.showcase-block {
    display: grid;
    grid-template-columns: 70% 30%;
    align-items: center;
    gap: 28px;
    max-width: 1200px;
    margin: 40px auto;
}

@media (max-width: 900px) {
    .showcase-block {
        grid-template-columns: 1fr;
    }
}

.showcase-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    /* tira fundo preto do container */
    border: none;
    /* opcional: remove a borda */
}

.showcase-frame img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 2px solid #fff;
    background: transparent;
    /* tira fundo preto que você colocou nas imagens */

    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
    opacity: 0;
    transition: opacity .5s ease;
}

.showcase-frame img.active {
    opacity: 1;
}

.showcase-text h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--brand-2);
}

.showcase-text p {
    font-size: 17px;
    line-height: 1.5;
    color: var(--muted);
}

/* ===== Correção de sobreposição do mapa sobre a NAV ===== */
header {
    z-index: 6000 !important;
}

/* garante que o header fique sempre acima */
.hero {
    position: relative;
    z-index: 1;
}

/* cria um contexto para o hero */
.leaflet-container {
    z-index: 1 !important;
}

/* mantém o mapa abaixo do header */

/* Opcional: se ainda notar popups acima do header, pode reduzir controles */
.leaflet-top,
.leaflet-bottom {
    z-index: 900 !important;
}

/* ===== Tornar o mapa mais LARGO e um pouco MAIS BAIXO ===== */
/* Deixa a coluna do mapa maior que a coluna do texto */
.hero-inner {
    grid-template-columns: 0.9fr 1.1fr;
    /* texto menor | mapa maior */
}

/* Ajusta a altura: menos alto mantendo boa área útil */
#hero-map {
    width: 100%;
    aspect-ratio: 4/3;
    /* antes 1/1; fica mais baixo */
    max-height: 420px;
    /* trava a altura se a tela for muito larga */
    border-radius: 20px;
    overflow: hidden;
}

/* Mobile continua confortável */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    #hero-map {
        aspect-ratio: 16/9;
        max-height: 320px;
    }
}

/* --abrir imagens */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 3px solid #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Botões prev/next sobre a vitrine */
.showcase-frame {
    position: relative;
}

.showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffffE6;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
    transition: transform .12s ease, background .12s ease;
    z-index: 2;
}

.showcase-nav:hover {
    transform: translateY(-50%) scale(1.05);
    background: #fff;
}

.showcase-nav.prev {
    left: 10px;
}

.showcase-nav.next {
    right: 10px;
}

.showcase-nav i {
    font-size: 18px;
    color: var(--brand-2);
}

/* Dots */
.showcase-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.showcase-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: #cbd5e1;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease;
}

.showcase-dots button.active {
    background: var(--brand-2);
    transform: scale(1.25);
}

/* Acessibilidade: foco visível */
.showcase-nav:focus-visible,
.showcase-dots button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/*  */
.driver-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    /* mais respiro entre as telas */
}

.driver-images img {
    width: 32%;
    /* ocupa ~1/3 do container */
    max-width: 220px;
    /* antes 140px, agora mais largo */
    border-radius: 16px;
    border: 2px solid #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
    background: #fff;
}

.driver-grid p,
h3 {
    text-align: center;
}

.driver-text {
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .driver-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .driver-images {
        flex-wrap: wrap;
    }

    .driver-images img {
        width: 45%;
        /* em telas médias, 2 por linha */
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .driver-images img {
        width: 80%;
        /* em celular, uma por linha */
        max-width: 280px;
    }
}

/* Centraliza conteúdo dos cards e estiliza a lista com checks */
.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.price .tagline {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
}

.feat {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    width: 100%;
}

.feat li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.5;
}

.feat li .ico {
    margin-top: 2px;
}

/* Cores de status */
.feat li.ok .ico {
    color: #16a34a;
}

/* verde */
.feat li.no .ico {
    color: #dc2626;
}

/* vermelho */
.feat li.no {
    color: #6b7280;
}

/* texto levemente apagado p/ não-incluso */
.feat small {
    color: #6b7280;
    font-size: 12px;
}

/* Destaque do plano Pro */
.price.destaque {
    border: 2px solid var(--accent);
    transform: scale(1.03);
}