/* ===========================
   RESET + VARIÁVEIS
=========================== */

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: #ffffff;
}


html,
body {
    height: 100%;
}

main {
    padding-top: 30px;
}

/* novo wrapper que vai cuidar do footer no fim da página */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* main cresce pra empurrar o footer */
.page-wrapper main {
    flex: 1;
    padding-top: 30px;
    /* mantém seu espaçamento */
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}



/* ===========================
   LAYOUT BÁSICO
=========================== */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 80px 0;
}


.bg-soft {
    background: var(--bg-soft);
}

/* ===========================
   NAVBAR
=========================== */

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo a {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary);
}

.nav-main ul {
    list-style: none;
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-main a {
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-main a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ===========================
   BOTÕES
=========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    color: #fff;
    box-shadow: 0 8px 18px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-alt), var(--primary-dark));
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(6, 182, 212, 0.45);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-inline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-inline:hover {
    background: var(--primary);
    color: #016a87;
}

.btn-link,
.btn-link-small {
    color: var(--primary);
    font-weight: 500;
}

.btn-link-small {
    font-size: 14px;
}

/* ===========================
   HERO
=========================== */

.hero {
    padding: 4rem 0 3.5rem;
    background:
        radial-gradient(circle at 0 0, #ecfeff 0, transparent 40%),
        radial-gradient(circle at 100% 0, #dbeafe 0, transparent 40%),
        #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
}

.pill .badge {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero h1 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 0.9rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-highlights {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1.4rem;
}

.hero-highlights span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-highlights span::before {
    content: "✓";
    color: #22c55e;
    font-weight: 700;
    font-size: 0.8rem;
}

.hero-metrics {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-metrics strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* coluna direita */
.hero-visual {
    position: relative;
}

.hero-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 1.3rem 1.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.hero-card-header h3 {
    font-size: 0.95rem;
}

.hero-card-header span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.range-row {
    margin-bottom: 1rem;
}

.range-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.fake-range {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.fake-range-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 45%;
    background: linear-gradient(90deg, var(--primary), var(--primary-alt));
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.pill-small {
    display: inline-flex;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.65rem;
    background: var(--primary);
    color: #fff;
    margin-top: 0.4rem;
}

.hero-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 1.2rem;
    font-size: 0.9rem;
}

.hero-price strong {
    font-size: 1.35rem;
    color: var(--primary-dark);
}

.hero-addons {
    margin-top: 1.4rem;
    border-radius: 20px;
    border: 1px dashed rgba(148, 163, 184, 0.8);
    padding: 0.8rem 0.9rem;
    font-size: 0.8rem;
}

.hero-addons .addon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: default;
}

.hero-addons .addon-row+.addon-row {
    border-top: 1px dashed rgba(229, 231, 235, 0.9);
}

.hero-addons .addon-row span:first-child {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.addon-checkbox {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--primary);
}

.hero-floating-tag {
    position: absolute;
    right: -15px;
    top: -15px;
    background: var(--primary-alt);
    color: white;
    font-size: 0.7rem;
    padding: 0.5rem 1.2rem;
    transform: rotate(22deg);
    border-radius: 999px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.45);
}

.hero-badge-card {
    position: absolute;
    left: -14px;
    bottom: -12px;
    background: #ffffff;
    border-radius: 18px;
    padding: 0.75rem 1rem;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.25);
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-badge-card strong {
    font-size: 0.9rem;
}

.pill-micro {
    font-size: 0.6rem;
    display: inline-flex;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    margin-left: 0.3rem;
}

/* ===========================
   SEÇÕES GENÉRICAS
=========================== */

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.section-header h2,
.section-header h1 {
    margin-bottom: 8px;
}

.highlight-line {
    border-bottom: 3px solid var(--primary);
    padding-bottom: 4px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.two-cols {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: flex-start;
}

.solution-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e2f3ff;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .06);
}

.solution-icon{
  width: 78px;
  height: 78px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.card-soft {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.card-soft img{
  width: 100%;
  aspect-ratio: 4 / 3;   /* 432x324 */
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.list-dots {
    list-style: disc;
    padding-left: 20px;
    color: #555;
}

/* ===========================
   PÁGINA: PLANOS
=========================== */

.hero-planos {
    background: #fff;
    padding: 26px 0 80px;
}

.hero-planos>.container>h1 {
    text-align: center;
    font-size: 32px;
    margin: 0 0 8px;
}

.hero-planos>.container>p {
    text-align: center;
    color: #666;
    margin: 0 0 32px;
}

/* layout card + resumo flutuante */
.plano-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) 260px;
    gap: 24px;
    align-items: flex-start;
}

/* Card principal */
.plano-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #dbeafe;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .05);
    padding: 24px 28px 28px;
}

/* Cabeçalho */
.plano-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.plano-header h2 {
    margin: 0 0 4px;
    font-size: 20px;
}

.plano-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.plano-preco {
    text-align: right;
}

.plano-valor {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

.plano-periodo {
    font-size: 14px;
    color: #777;
}

/* Slider de veículos */
.plano-slider {
    margin-bottom: 20px;
}

.plano-slider-top {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.plano-slider .range-sistema {
    width: 100%;
    margin: 8px 0 0 0;
}

.plano-slider-scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    padding: 0;
}

/* Principais recursos */
.plano-recursos {
    margin-bottom: 20px;
}

.plano-recursos h3 {
    margin-bottom: 10px;
    font-size: 15px;
}

.lista-check {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 18px;
    font-size: 13px;
}

.lista-check li {
    position: relative;
    padding-left: 20px;
    color: #444;
}

.lista-check li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 3px;
    border: 2px solid #22c55e;
    position: absolute;
    left: 0;
    top: 3px;
}

/* Addons */
.plano-addons {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 4px;
}

.plano-addons h3 {
    margin-bottom: 10px;
    font-size: 15px;
}

.plano-addons .addon-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.plano-addons .addon-row strong {
    display: block;
    margin-bottom: 2px;
}

.plano-addons .addon-row p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

.plano-addons .addon-check {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    accent-color: var(--primary);
}

.addon-preco {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-dark);
}

.plano-addons .addon-row.addon-ativo,
.plano-addons .addon-row:has(.addon-check:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

/* Total do plano (no card) */
.plano-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

.plano-total span {
    font-size: 13px;
    color: #777;
}

.plano-total strong {
    font-size: 18px;
}

/* Resumo flutuante */
.plano-resumo-floating {
    position: sticky;
    top: 96px;
    align-self: flex-start;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    padding: 18px 18px 16px;
    font-size: 13px;
    overflow: hidden;
}

.plano-resumo-floating h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.plano-resumo-qtd {
    display: flex;
    justify-content: space-between;
    margin: 0 0 10px;
    color: #4b5563;
}

.plano-resumo-qtd .label {
    color: #9ca3af;
}

.plano-resumo-valor {
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--primary-soft);
    border: 1px solid #bae6fd;
    margin-bottom: 10px;
}

.plano-resumo-valor>span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 2px;
}

.plano-resumo-valor strong {
    display: block;
    font-size: 18px;
}

.plano-resumo-valor small {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

/* toggle dentro do resumo */
.plano-resumo-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 12px;
    flex-wrap: wrap;
    /* não deixa estourar */
}

.plano-resumo-toggle small {
    font-size: 10px;
    color: #9ca3af;
}

.plano-resumo-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 8px;
}

.plano-resumo-note {
    font-size: 11px;
    color: #9ca3af;
    margin: 0;
}

/* Toggle (mensal / anual) */
.toggle-pagamento {
    position: relative;
    width: 64px;
    height: 30px;
    padding: 0;
    border-radius: 999px;
    border: none;
    background: #e5e7eb;
    cursor: pointer;
    flex-shrink: 0;
}

.toggle-indicador {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .25);
    transition: transform .2s ease;
}

.toggle-pagamento.anual {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
}

.toggle-pagamento.anual .toggle-indicador {
    transform: translateX(30px);
}

/* ========= RANGE GLOBAL (track preenchido via JS) ========= */

.range-sistema {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    /* JS sobrescreve com gradient */
    outline: none;
    cursor: pointer;
}

.range-sistema::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: transparent;
}

.range-sistema::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: transparent;
}

.range-sistema::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, .25);
    margin-top: -6px;
    cursor: pointer;
}

.range-sistema::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, .25);
    cursor: pointer;
}

/* ===========================
   CONTATO
=========================== */

.section-contact {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-form {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form h3 {
    margin-top: 0;
}

.contact-form label {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, .4);
}

.badge-red {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 500;
}

/* ===========================
   FANCY SELECT
=========================== */

.fancy-select-wrapper {
    position: relative;
    width: 100%;
    font-size: 14px;
}

.fancy-select-original {
    display: none;
}

.fancy-select-control {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .08s ease;
    text-align: left;
}

.fancy-select-control.is-placeholder {
    color: #9ca3af;
}

.fancy-select-wrapper.open .fancy-select-control {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.35);
}

.fancy-select-label {
    flex: 1;
    margin-right: 8px;
}

.fancy-select-arrow {
    width: 10px;
    height: 10px;
    position: relative;
}

.fancy-select-arrow::before,
.fancy-select-arrow::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    border: solid #9ca3af;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
    transition: transform .15s ease, border-color .15s ease;
}

.fancy-select-wrapper.open .fancy-select-arrow::before,
.fancy-select-wrapper.open .fancy-select-arrow::after {
    transform: rotate(-135deg);
    border-color: var(--primary-dark);
}

.fancy-select-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.20);
    max-height: 230px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease;
    z-index: 40;
}

.fancy-select-wrapper.open .fancy-select-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fancy-select-options {
    list-style: none;
    padding: 4px 0;
    margin: 0;
}

.fancy-select-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #111827;
    transition: background .12s ease, color .12s ease;
}

.fancy-select-option:hover {
    background: #f3f4f6;
}

.fancy-select-option.is-selected {
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 500;
}

.fancy-select-option.is-disabled {
    color: #9ca3af;
    cursor: default;
}

.fancy-select-option.is-disabled:hover {
    background: transparent;
}

label.has-error .fancy-select-control {
    border-color: #f97316;
    box-shadow: 0 8px 20px rgba(248, 113, 113, 0.25);
}

/* ===========================
   BENEFÍCIOS / CTA
=========================== */

.benefits-section {
    background: #ffffff;
    padding: 3.5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
}

.benefit-column h3 {
    font-size: 0.98rem;
    margin-bottom: 0.4rem;
}

.benefit-column p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.cta-final {
    background:
        radial-gradient(circle at 0 0, #e0faff, #ffffff 45%),
        radial-gradient(circle at 100% 100%, #dbeafe, #ffffff 45%);
    padding: 3.5rem 0;
}

.cta-card {
    background: white;
    border-radius: 28px;
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: center;
}

.cta-label {
    font-size: 0.8rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.cta-card h2 {
    font-size: 1.45rem;
    margin-bottom: 0.4rem;
}

.cta-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.3rem;
}

.cta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.cta-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.cta-badges span::before {
    content: "✓";
    color: #22c55e;
    font-weight: 700;
}

.cta-price-box {
    text-align: center;
    border-radius: 22px;
    padding: 1.2rem;
    background: linear-gradient(145deg, var(--primary), var(--primary-alt));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-price-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.35), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
}

.cta-price-box-inner {
    position: relative;
    z-index: 1;
}

.cta-price-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.8;
}

.cta-price {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.4rem 0;
}

.cta-price small {
    font-size: 0.75rem;
    opacity: 0.85;
}

.cta-switch {  
    display: inline-flex;
    border-radius: 999px;
    padding: 0.15rem;
    background: rgba(255, 255, 255, 0.14);
    margin: 0.6rem 0 0.8rem;
}

.cta-switch span {
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    opacity: 0.7;

    cursor: pointer;
    user-select: none;
    transition: opacity .2s ease, background .2s ease, transform .12s ease, box-shadow .2s ease;
}

.cta-switch span.active {
    background: white;
    color: var(--primary-dark);
    opacity: 1;
}

/* ===========================
   FOOTER (layout estilo "cd")
=========================== */

.cd-footer {
    background: transparent;
    color: #e5e7eb;
    padding: 40px 0 0;
    border-top: 1px solid #0f172a;
    font-size: 0.88rem;
}

/* reaproveita seu container, se quiser pode usar class="container cd-container" */
.cd-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.cd-footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    gap: 32px;
    align-items: flex-start;
    padding-bottom: 24px;
}

.cd-footer-col h4,
.cd-footer-title {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: #9ca3af;
    font-weight: 600;
}

.cd-footer-text {
    margin: 0;
    font-size: 0.86rem;
    color: #9ca3af;
    line-height: 1.5;
}

.cd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cd-footer-links li {
    margin-bottom: 6px;
    color: #9ca3af;
    font-size: 0.86rem;
}


.cd-footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color .15s ease;
}


.cd-footer-links a:hover {
    color: var(--primary-alt);
}


/* Logo / marca */
.cd-footer-brand .cd-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

.cd-logo-main {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-logo-sub {
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Redes sociais */
.cd-footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cd-footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    transition: background .15s ease, border-color .15s ease, transform .1s ease, color .15s ease;
    font-size: 16px;
}

.cd-footer-social a:hover {
    background: var(--primary-alt);
    border-color: var(--primary);
    color: var(--bg-light);
    transform: translateY(-1px);
}

/* Linha de baixo */
.cd-footer-bottom {
    border-top: 1px solid #111827;
    margin-top: 8px;
    padding: 10px 0 14px;
    font-size: 0.8rem;
    color: #6b7280;
}

.cd-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* Responsivo */
@media (max-width: 900px) {
    .cd-footer-inner {
        grid-template-columns: 1fr 1fr;
        row-gap: 24px;
    }
}

@media (max-width: 600px) {
    .cd-footer-inner {
        grid-template-columns: 1fr;
    }

    .cd-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===========================
   ANIMAÇÃO SCROLL
=========================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .4s ease, transform .4s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVO
=========================== */

@media (max-width: 900px) {

    .hero-grid,
    .two-cols,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .plano-layout {
        grid-template-columns: 1fr;
    }

    .plano-resumo-floating {
        position: static;
        margin-top: 16px;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .lista-check {
        grid-template-columns: 1fr;
    }

    .plano-total {
        flex-direction: column;
        align-items: flex-start;
    }

    .plano-preco {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .lista-check {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --------- MOBILE: acordeon --------- */
@media (max-width: 768px) {
    .cd-footer-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #footer .collun-content {
        border-bottom: 1px solid #e5e7eb22;
        padding: 8px 0;
    }

    #footer .collun-content h4 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
        padding: 8px 0;
    }

    #footer .collun-content h4::after {
        content: "▾";
        font-size: 0.8rem;
        opacity: 0.7;
        transition: transform .2s ease;
    }

    #footer .collun-content h4[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    #footer ul.collapse {
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
    }

    #footer ul.collapse.show {
        max-height: 400px;
        /* suficiente para o conteúdo caber */
        margin-top: 4px;
    }
}

/* HEADER BASE */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.topbar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}


.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

/* texto VeloxAUTO */
.logo a {
    line-height: 1;
    font-weight: 700;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    color: var(--text-dark);
    text-decoration: none;
}

.logo a span {
    color: var(--primary-alt);
    /* azul do AUTO */
}

/* NAV */
.nav-main ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.nav-main a {
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    color: var(--text-dark);
}

.nav-main a:hover {
    color: var(--primary-alt);
}

.nav-main a.active {
    color: var(--primary-alt);
    border-bottom-color: var(--primary-alt);
}

/* CTA HEADER */
.topbar-cta {
    white-space: nowrap;
}

/* BOTÃO HAMBÚRGUER (por padrão, some no desktop) */
.topbar-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 1.4rem;
    padding: 4px 6px;
    border-radius: 999px;
    cursor: pointer;
}

/* ===== DESKTOP ===== */
@media (min-width: 769px) {

    /* deixa o header como referência para o nav ficar centralizado */
    .topbar-inner {
        min-height: 60px;
    }

    /* nav CENTRALIZADO NA PÁGINA */
    .nav-main {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    /* esconde hambúrguer no desktop */
    .topbar-toggle {
        display: none;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .topbar-inner {
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    /* LOGO fica à esquerda, botão à direita na primeira linha */
    .logo {
        flex: 1;
    }

    .topbar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* nav e CTA ficam escondidos enquanto o menu estiver fechado */
    .nav-main,
    .topbar-cta {
        display: none;
        width: 100%;
    }

    /* quando o header tiver a classe .topbar--open, mostra tudo */
    .topbar.topbar--open .nav-main,
    .topbar.topbar--open .topbar-cta {
        display: block;
    }


    .nav-main ul {
        flex-direction: column;
        align-items: center;
        /* centraliza os itens */
        gap: 4px;
        padding-top: 6px;
        border-top: 1px solid #e5e7eb;
        margin-top: 4px;
    }

    .nav-main a {
        display: block;
        width: 100%;
        padding: 6px 0;
        border-bottom: none;
        text-align: center;
        /* texto centralizado */
    }

    .footer-desktop-only {
        display: none;
    }

    .nav-main a.active {
        color: var(--primary-alt);
    }

    .topbar-cta {
        margin-top: 4px;
        text-align: center;
        justify-content: center;
    }


    /* deixa o fundo do bloco de navegação destacado */
    .topbar.topbar--open {
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    }
}


@media (max-width: 768px) {
    .logo a {
        font-size: 18px;
    }

    .logo-img {
        height: 28px;
    }
}