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

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    background: url('assets/imgs/bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;
    background-color: white;
}

header h2 {
    margin: 0 0 0 10px;
    font-size: 24px;
    color: #49C858;
}

header img {
    height: 30px;
}

.acesso-liberado {
    background-color: #25D366;
    color: white;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin: 15px auto;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

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

/* Design responsivo para desktop mantendo aparência mobile */
@media (min-width: 768px) {
    .container {
        max-width: 480px;
        padding: 30px 20px;
    }
}

.container h2 {
    font-size: 30px;
    color: #333;
}

h2 {
    margin-top: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

ul li {
    margin: 5px 0;
    position: relative;
    padding-left: 25px;
    font-size: 20px;
    font-weight: 800;
}

ul li::before {
    content: "⭘";
    position: absolute;
    left: 0;
    color: red;
    font-weight: bold;
}

.fotos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -25px 0 0;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.logo {
    width: 350px;
    margin: 0 auto;
    border-radius: 20px;
}

.foto {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    border: 2px solid white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.form {
    background: black;
    padding: 20px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px auto;
    width: 95%;
    max-width: 100%;
    color: white;
}

/* Design responsivo para desktop mantendo aparência mobile */
@media (min-width: 768px) {
    .form {
        max-width: 440px;
        padding: 25px;
        margin: 30px auto;
    }
}

.form label {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bolder;
}

.form input {
    width: 100%;
    padding: 10px;
    margin: 25px 0;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

.form button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 50%, #25D366 100%);
    color: white;
    border: none;
    padding: 20px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.form button:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 50%, #128C7E 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(37, 211, 102, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: white;
    margin: 0 auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    animation: slideIn 0.5s ease;
}

.modal-header h2 {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.photo-container {
    margin-bottom: 25px;
}

.photo-container img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid #D51000;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

.scan-loader {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    background: radial-gradient(circle, rgba(213, 16, 0, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.4);
    animation: scan-loader-pulse 2s ease-in-out infinite;
}

.scan-loader__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid rgba(213, 16, 0, 0.18);
    border-top-color: #D51000;
    border-right-color: #D51000;
    animation: scan-loader-spin 1.1s linear infinite;
}

.scan-loader__ring--inner {
    inset: 26px;
    border-width: 3px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: rgba(213, 16, 0, 0.8);
    border-left-color: rgba(213, 16, 0, 0.8);
    animation-duration: 1.6s;
    animation-direction: reverse;
}

@keyframes scan-loader-spin {
    to { transform: rotate(360deg); }
}

@keyframes scan-loader-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.phone-display {
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 500;
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-container {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1FD360, #108D81);
    width: 0%;
    transition: width 0.05s linear;
    border-top-left-radius: 13px;
    animation: progressGlow 1s infinite alternate;
}

.progress-text {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #ff4444;
}

.gif-container {
    text-align: center;
}

.gif-container img {
    border-radius: 10px;
}

.gif-container p {
    margin-top: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #44ff44;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: blink 1s infinite;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes progressGlow {
    0% {
        box-shadow: 0 0 10px #44ff44;
    }

    100% {
        box-shadow: 0 0 20px #44ff44;
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .photo-container img {
        width: 150px;
        height: 150px;
    }

    .scan-loader {
        width: 150px;
        height: 150px;
    }

    .scan-loader__ring--inner {
        inset: 20px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .phone-display {
        font-size: 18px;
    }
}

/* Caixa Informativa */
.info-box {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 20px;
    max-width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

/* Variação "ao vivo" — gradient vermelho com badge piscante */
/* Design responsivo para desktop mantendo aparência mobile */
@media (min-width: 768px) {
    .info-box {
        max-width: 440px;
        margin: 40px auto;
        padding: 30px;
    }
}

.info-content {
    color: #333;
    position: relative;
    z-index: 1;
}

.info-number {
    font-size: 56px;
    font-weight: 900;
    color: #888;
    margin-bottom: 10px;
    
    letter-spacing: -1px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: transform 0.25s ease;
}

@keyframes counter-bump {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}

.info-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    
}

.info-subtitle {
    font-size: 14px;
    color: #888;
    font-weight: normal;
}

/* Rodapé */
.footer {
    background-color: #2c2c2c;
    color: #cccccc;
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

.footer-disclaimer {
    font-size: 12px;
    line-height: 1.6;
    color: #aaaaaa;
    text-align: justify;
}

.footer-link {
    color: #25D366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #128C7E;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .info-box {
        margin: 30px 20px;
        padding: 25px;
    }
    
    .info-number {
        font-size: 36px;
    }
    
    .info-title {
        font-size: 20px;
    }
    
    .footer {
        padding: 30px 15px;
    }
    
    .footer-disclaimer {
        text-align: left;
    }
}

/* ========= Help Toast (home — aparece apos 30s se lead nao iniciou) ========= */
.help-toast {
    position: fixed;
    bottom: 16px;
    left: 12px;
    right: 12px;
    max-width: 460px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1010 100%);
    color: #fff;
    border: 2px solid #D51000;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 10px 40px rgba(213, 16, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    z-index: 9998;
    animation: help-toast-slide 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@keyframes help-toast-slide {
    from { transform: translateY(120%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.help-toast[hidden] { display: none; }

.help-toast__icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.4));
}

.help-toast__content {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
}

.help-toast__title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: #ffcc00;
}

.help-toast__text {
    color: #e2e2e2;
    margin-bottom: 12px;
}

.help-toast__text b {
    color: #fff;
    font-weight: 700;
}

.help-toast__cta {
    width: 100%;
    background: linear-gradient(180deg, #1FD360 0%, #108D81 100%);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(31, 211, 96, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    letter-spacing: 0.3px;
}

.help-toast__cta:hover,
.help-toast__cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(31, 211, 96, 0.5);
    outline: none;
}

.help-toast__cta:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .help-toast {
        left: 8px;
        right: 8px;
        bottom: 10px;
        padding: 14px 16px;
        gap: 10px;
    }
    .help-toast__icon { font-size: 24px; }
    .help-toast__title { font-size: 14px; }
    .help-toast__text { font-size: 12px; }
}

/* ========= Lista de features na home — compacta, sem ocupar espaço a mais ========= */
.hero-features {
    list-style: none !important;
    padding: 0;
    margin: 4px auto 0;
    max-width: 360px;
    text-align: left;
}

.hero-features li {
    padding: 4px 0;
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    list-style: none !important;
    background: none !important;
}

.hero-features li::before,
.hero-features li::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 380px) {
    .hero-features li {
        font-size: 14px;
    }
}

/* ========= Label do form com destaque (chamando atencao pro input) ========= */
.form label {
    color: #ff6f00;
    text-align: center;
    display: block;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(255, 111, 0, 0.15);
    position: relative;
    margin-bottom: 0;
}

/* Sublinhado fade laranja abaixo do texto (efeito que ele curtiu) */
.form label::after {
    content: "";
    display: block;
    width: 50%;
    height: 2px;
    margin: 4px auto 0;
    background: linear-gradient(90deg, transparent 0%, #ff6f00 50%, transparent 100%);
    border-radius: 2px;
    opacity: 0.7;
}

@media (max-width: 380px) {
    .form label {
        font-size: 19px;
    }
}

/* ========= Scan Map (zoom no estado pelo DDD após varredura) ========= */
.scan-map-container {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a1a;
    margin: 10px auto 0;
}

@media (max-width: 600px) {
    .scan-map-container {
        height: 280px;
    }
}

#scanMap {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
}

/* Esconder controles do Leaflet */
.leaflet-control-zoom,
.leaflet-control-attribution {
    display: none !important;
}

/* Círculo radar grande cobrindo a região (sem ponto fixo, sem promessa de localização precisa) */
.radar-circle-anim {
    animation: radar-circle-pulse 2.2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes radar-circle-pulse {
    0%, 100% {
        stroke-opacity: 1;
        fill-opacity: 0.15;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-opacity: 0.5;
        fill-opacity: 0.28;
        stroke-dashoffset: 14;
    }
}

/* ========= FAQ — Perguntas frequentes (home) ========= */
.faq-section {
    max-width: 720px;
    margin: 40px auto 30px;
    padding: 0 16px;
}

.faq-section__title {
    text-align: center;
    color: #1f1f1f;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: 0.3px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: #D51000;
    box-shadow: 0 4px 16px rgba(213, 16, 0, 0.08);
}

.faq-item__question {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1f1f1f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    user-select: none;
    transition: background 0.15s ease;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question:hover {
    background: #fafafa;
}

.faq-item__chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid #D51000;
    border-bottom: 2px solid #D51000;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-top: -4px;
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.faq-item__answer {
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    animation: faq-fade-in 0.25s ease-out;
}

.faq-item__answer b {
    color: #1f1f1f;
    font-weight: 700;
}

@keyframes faq-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .faq-section {
        margin: 30px auto 20px;
    }
    .faq-section__title {
        font-size: 19px;
    }
    .faq-item__question {
        font-size: 14px;
        padding: 14px 16px;
    }
    .faq-item__answer {
        font-size: 13px;
        padding: 0 16px 14px;
    }
}



.hero-emoji {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}
