/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: Gotham, Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #eeeeee; /* fundo mais claro para aproximar do alvo */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: 1140px; /* largura do alvo */
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
}

.cookie-content h2 {
    color: #fc0001;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.cookie-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.cookie-content a {
    color: #fc0001;
    text-decoration: underline;
}

.btn-accept {
    background: #fc0001;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-accept:hover {
    background: #d00001;
    transform: scale(1.05);
}

/* Header */
.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px; /* manter altura fixa do cabeçalho */
    padding: 0;    /* evita aumentar a altura total quando a logo cresce */
    border-top: 1px solid #000; /* linha superior como no site original */
}

.header-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
    height: 100%; /* preencher a altura fixa do header */
}

.social-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* Fallback para navegadores que não suportam gap */
.social-links > * {
    margin-right: 8px;
}

.social-links > *:last-child {
    margin-right: 0;
}

@supports (gap: 8px) {
    .social-links > * {
        margin-right: 0;
    }
}

.social-icon {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.social-icon:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.social-icon svg {
    display: block;
    /* Garantir renderização correta em todos os navegadores */
    width: 30px;  /* 30x30 como no site original */
    height: 30px;
    shape-rendering: geometricPrecision;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.logo {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative; /* permite posicionar a imagem sem afetar a altura */
    height: 100%;
}

.logo img {
    height: 120px; /* visualmente maior */
    max-width: none;
    position: absolute; /* não aumenta a altura do header */
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 992px) {
    .logo img { height: 96px; }
}

@media (max-width: 600px) {
    .logo img { height: 72px; }
}

.nav-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.btn-login {
    background: transparent; /* sem pill/button */
    color: #fc0001;
    padding: 0;
    border-radius: 0;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.1;
}

.btn-login:hover { text-decoration: none; filter: brightness(0.9); }

.btn-login span { text-align: left; font-size: 0.9rem; }
.btn-login strong { font-weight: 900; }

/* tamanhos dos ícones do bloco de login */
.btn-login .icon-login { width: 30px; height: 30px; }
.btn-login .icon-chevron { width: 30px; height: 30px; }

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    color: #fc0001;
}

.badge-years {
    background: #fc0001;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fc0001;
}

/* Hero Section */
.hero {
    background: transparent; /* usa o fundo geral claro */
    color: #333;
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    font-size: 1.2rem;
    margin: 20px 0;
}

.red-text {
    color: #fc0001;
    font-weight: bold;
}

.stats {
    margin: 30px 0;
}

.stat-badge {
    display: inline-block;
    background: white;
    color: #fc0001;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.stat-icon {
    font-size: 2rem;
}

.stat-badge p {
    font-size: 1.2rem;
    margin: 0;
}

.btn-start {
    display: inline-block;
    background: white;
    color: #fc0001;
    padding: 15px 50px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Form Section */
.form-section {
    background: white;
    padding: 60px 0;
}

.form-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.form-title {
    font-size: 2rem;
    color: #fc0001;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23fc0001" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M5 7l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
    color: #333;
}

.form-group select:invalid {
    color: #fc0001;
}

.form-group select option {
    color: #333;
}

.form-group select option:first-child {
    color: #fc0001;
}

.form-group select option[value=""] {
    color: #fc0001;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #fc0001;
}

/* Estados e Cidades em laranja e negrito */
#estado, #cidade {
    color: #ff6a00; /* laranja */
    font-weight: 700;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ff6a00" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M5 7l5 5 5-5z"/></svg>');
}

#estado:invalid, #cidade:invalid { color: #ff6a00; font-weight: 700; }
#estado option, #cidade option { color: #ff6a00; font-weight: 700; }
#estado option:first-child, #cidade option:first-child { color: #ff6a00; }

/* ========================
   Custom Select (estado/cidade)
   Copia o visual do site original
   ======================== */
.native-select-hidden {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.custom-select { position: relative; width: 100%; }

.custom-select .select-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #fc0001;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 100%);
    color: #fc0001;
    font-weight: 800;
    cursor: pointer;
}

.custom-select .select-display:focus { outline: 3px solid rgba(252,0,1,0.2); }

.custom-select .chevron {
    width: 18px; height: 18px; fill: #fc0001; flex-shrink: 0;
    transition: transform 0.15s ease-in-out;
}

.custom-select.open .chevron { transform: rotate(180deg); }

.custom-select .select-options {
    position: absolute; z-index: 1000; left: 0; right: 0; top: calc(100% + 4px);
    max-height: 320px; overflow: auto; background: #eee;
    border: 1px solid #cfcfcf; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: none;
}

.custom-select.open .select-options { display: block; }

.custom-select .select-options li {
    list-style: none; padding: 12px 16px; color: #fc0001; font-weight: 800; cursor: pointer;
}

.custom-select .select-options li:hover,
.custom-select .select-options li[aria-selected="true"] {
    background: #fc0001; color: #fff;
}

.custom-select .select-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.date-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
    background: #fc0001;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #d00001;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 0, 1, 0.3);
}

/* Map Wrapper */
.map-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    position: relative;
    text-align: center;
}

.map-image {
    width: 100%;
    max-width: 450px;
    height: auto;
}

.map-stats {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #fc0001;
}

.map-stats strong {
    font-size: 1.3rem;
}

/* Second Step Section */
.second-step-section {
    background: transparent;
    padding: 60px 0;
}

.step-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.step-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.category-section-title {
    font-size: 1.15rem;
    font-weight: bold;
    text-align: center;
    margin: 40px 0 20px;
    color: #333;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}

.category-grid.secondary { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.category-card {
    position: relative;
    background: transparent;
    border: 3px solid transparent;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(252,0,1,.12);
}

/* Quando a carta estiver selecionada - adiciona borda vermelha */
.category-card:has(input[type="radio"]:checked) {
    border-color: #fc0001;
    box-shadow: 0 8px 20px rgba(252,0,1,.25);
}

/* Adiciona um círculo preenchido quando selecionado */
.category-card:has(input[type="radio"]:checked)::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #fc0001;
    border-radius: 50%;
    z-index: 20;
}

.category-card.best-option {
    background: transparent;
    border-color: transparent;
}

.category-card.best-option .card-text {
    color: white;
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    color: #fc0001;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
    z-index: 50;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    line-height: 1.2;
    display: inline-block;
}

.card-icons { display:flex; align-items:center; justify-content:center; gap:12px; margin:28px 0 16px; }
.card-art { max-width: 80%; height: 84px; object-fit: contain; display:block; }

/* Card full image - imagens completas das cartas */
.card-full-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Cobre a bolinha preta da imagem com um círculo branco */
.category-card::before {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    z-index: 15;
}

/* Mantém o círculo branco na carta "A MELHOR OPÇÃO" também */
.category-card.best-option::before {
    background: white;
    border-color: white;
}

.card-icon { width: 56px; height: 56px; fill: #fc0001; }

.category-card.best-option .card-icon {
    fill: white;
}

.plus-sign {
    font-size: 2rem;
    font-weight: bold;
    color: #fc0001;
}

.category-card.best-option .plus-sign {
    color: white;
}

.card-text { font-size: .9rem; line-height: 1.35; color: #333; margin-bottom: 36px; }

.card-text strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.card-radio { position:absolute; bottom:14px; left:50%; transform:translateX(-50%); width:18px; height:18px; border:2px solid #fc0001; border-radius:50%; background:#fff; }

.category-card.best-option .card-radio {
    border-color: white;
    background: transparent;
}

.category-card input[type="radio"]:checked ~ .card-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fc0001;
}

.category-card.best-option input[type="radio"]:checked ~ .card-radio::after {
    background: white;
}

.category-card input[type="radio"]:checked {
    border-color: #fc0001;
}

.terms-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0 30px;
}

.terms-intro {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #333;
}

.checkbox-group-terms {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group-terms input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-group-terms label {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
}

.btn-finalize {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
    background: #fc0001;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-finalize:hover {
    background: #d00001;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 0, 1, 0.3);
}

/* Footer */
.footer {
    background: #fc0001;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 220px 1.4fr 1.2fr 1fr; /* logo | conheca+ajuda | pagamento+contato | right */
    gap: 30px;
    align-items: start;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a { color: #eee; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-separator { border-top: 1px solid rgba(255,255,255,0.6); margin: 18px 0 12px; }

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-right { text-align: right; display: grid; gap: 18px; }
.footer-right .top { justify-content: flex-end; }

.footer-social-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: #ff6a00; /* interior laranja */
    color: #fff;        /* ícone em branco */
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; transition: transform .15s ease-in-out, filter .15s;
}
.footer-social-icon:hover { transform: scale(1.06); filter: brightness(1.05); }
.footer-social-icon svg { width: 22px; height: 22px; }

.footer-right-info { color: #fff; font-size: .9rem; }
.footer-right-info .vmais-mark { height: 32px; margin-top: 6px; }

.contact-email { display:flex; align-items:center; gap:8px; }
.contact-email .email-icon { display:inline-flex; width:28px; height:28px; border-radius:50%; background:#fff; align-items:center; justify-content:center; }
.contact-email .email-icon svg { display:block; }

.footer-center {
    text-align: center;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-button:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.footer-legal {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 20px;
}

.footer-legal a {
    color: white;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .social-links {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .logo {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .logo img {
        height: 60px;
    }

    .nav-right {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }

    .btn-login {
        font-size: 0.85rem;
        padding: 8px 15px;
    }

    .header-main {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .form-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-wrapper {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }

    .map-image {
        max-width: 300px;
    }

    .date-group {
        grid-template-columns: 1fr;
    }

    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-right { justify-items: center; }

    .footer-bottom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Melhorias para telas pequenas */
@media (max-width: 480px) {
    .social-icon svg {
        width: 35px;
        height: 35px;
    }

    .logo img {
        height: 50px;
    }

    .btn-login {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .btn-login span {
        font-size: 0.75rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
.wa-bubble { display:inline-flex; align-items:center; gap:12px; text-decoration:none; justify-content:flex-end; }
.wa-bubble .wa-text { background:#efefef; color:#666; border-radius:16px; padding:8px 12px; font-weight:700; }
.wa-bubble .wa-circle { width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:#25d366; }
.wa-bubble:hover .wa-text { filter: brightness(0.95); }
