/* Fontes Peugeot */
@font-face { font-family: 'PeugeotNew'; src: url('fonts/PeugeotNew-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'PeugeotNew'; src: url('fonts/PeugeotNew-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'PeugeotNew'; src: url('fonts/PeugeotNew-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; }

/* Reset e configurações gerais */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
    font-family: 'PeugeotNew', Arial, sans-serif;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 0; /* REMOVIDO o padding do footer */
}

/* Screen ocupa 100% da viewport */
.screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    min-height: 100vh; /* ALTERADO: agora usa 100vh em vez de calc */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(15px, 4vw, 20px) clamp(15px, 4vw, 20px) clamp(30px, 8vw, 40px) clamp(15px, 4vw, 20px);
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    flex: 1; /* ADICIONADO: permite expansão */
}

/* Fundos específicos */
#screen-start .container {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('bg-02.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#screen-question1 .container,
#screen-question2 .container,
#screen-question3 .container,
#screen-result .container,
#screen-form .container {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('bg-01.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#screen-thanks .container {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('bg-01.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Header responsivo */
.header {
    text-align: center;
    font-size: clamp(10px, 2.5vw, 12px);
    letter-spacing: clamp(1px, 0.4vw, 2px);
    color: #cccccc;
    margin-bottom: clamp(15px, 4vw, 20px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    font-weight: 300;
    text-transform: uppercase;
    font-family: 'PeugeotNew', Arial, sans-serif;
}

/* Logo Peugeot responsivo - SEM BORDA */
.peugeot-logo {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(20px, 6vw, 30px);
}

.logo-image {
    width: clamp(120px, 30vw, 160px) !important;
    height: auto;
    max-height: clamp(120px, 30vw, 160px) !important;
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    transition: all 0.3s ease;
    box-shadow: none !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

/* Moldura CSS responsiva para tela inicial */
#screen-start .main-content {
    border: clamp(2px, 0.6vw, 3px) solid #ffffff;
    border-radius: clamp(15px, 4vw, 20px);
    padding: clamp(20px, 6vw, 30px) clamp(12px, 4vw, 20px);
    margin: clamp(15px, 4vw, 20px) clamp(5px, 2vw, 10px);
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(100% - clamp(10px, 4vw, 20px));
    box-sizing: border-box;
    overflow: hidden;
}

/* Hashtag totalmente responsiva */
.hashtag {
    font-size: clamp(18px, 5.8vw, 28px);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(15px, 4vw, 20px);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    font-family: 'PeugeotNew', Arial, sans-serif;
    letter-spacing: clamp(-1.2px, -0.4vw, -0.8px);
    line-height: 1.1;
    word-break: keep-all;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 clamp(5px, 2vw, 10px);
}

#screen-start .hashtag {
    margin-bottom: clamp(15px, 4vw, 20px);
    color: #ffffff;
}

/* Media queries específicas para hashtag */
@media (max-width: 480px) {
    .hashtag {
        font-size: clamp(16px, 5.2vw, 24px);
        letter-spacing: clamp(-1.4px, -0.5vw, -1px);
    }
    
    #screen-start .main-content {
        padding: clamp(18px, 5vw, 25px) clamp(10px, 3vw, 15px);
    }
}

@media (max-width: 360px) {
    .hashtag {
        font-size: clamp(14px, 4.8vw, 20px);
        letter-spacing: -1.5px;
    }
}

@media (max-width: 280px) {
    .hashtag {
        font-size: 13px;
        letter-spacing: -1.6px;
    }
}

/* Subtítulos responsivos */
.subtitle {
    font-size: clamp(14px, 4vw, 18px);
    text-align: center;
    margin-bottom: clamp(15px, 4vw, 20px);
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 400;
}

.description {
    font-size: clamp(12px, 3.5vw, 14px);
    text-align: center;
    margin: clamp(15px, 4vw, 20px) 0 clamp(30px, 8vw, 40px) 0;
    line-height: 1.6;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 300;
}

/* Botões responsivos */
.btn-primary, .btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 2px solid white;
    color: white;
    padding: clamp(12px, 3vw, 15px) clamp(30px, 8vw, 40px);
    border-radius: 50px;
    font-size: clamp(14px, 3.5vw, 16px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
    backdrop-filter: blur(10px);
    font-family: 'PeugeotNew', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: clamp(0.3px, 0.1vw, 0.5px);
    text-align: center;
    box-sizing: border-box;
}

/* Botões de mesmo tamanho na tela inicial */
#screen-start .btn-primary,
#screen-start .btn-secondary {
    min-width: clamp(220px, 50vw, 280px);
    width: 100%;
    max-width: 280px;
    margin: 10px auto;
}

#screen-start .btn-primary {
    background: rgba(255,255,255,0.1);
    margin-bottom: 15px;
}

#screen-start .btn-secondary {
    background: rgba(255,255,255,0.05);
}

.btn-primary:hover {
    background: rgba(255,255,255,0.9);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Perguntas responsivas */
.question-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: clamp(30px, 8vw, 40px) 0;
}

.question-number {
    text-align: center;
    font-size: clamp(12px, 3vw, 14px);
    color: #cccccc;
    margin-bottom: clamp(15px, 4vw, 20px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.2vw, 1px);
}

.question {
    font-size: clamp(18px, 5vw, 24px);
    text-align: center;
    margin-bottom: clamp(30px, 8vw, 40px);
    line-height: 1.3;
    padding: clamp(15px, 4vw, 20px);
    background: rgba(0,0,0,0.6);
    border-radius: clamp(12px, 3vw, 15px);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 400;
}

/* Opções de resposta responsivas */
.options {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 3vw, 15px);
}

.option {
    background: rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    padding: clamp(15px, 4vw, 20px);
    border-radius: 50px;
    font-size: clamp(12px, 3.2vw, 14px);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
    backdrop-filter: blur(5px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 400;
}

.option:hover {
    border-color: white;
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Resultado responsivo */
.result-content {
    text-align: center;
    margin: clamp(30px, 8vw, 40px) 0;
}

.actor-image {
    width: clamp(120px, 30vw, 150px);
    height: clamp(120px, 30vw, 150px);
    border-radius: 50%;
    margin: 0 auto clamp(15px, 4vw, 20px);
    background-size: cover;
    background-position: center;
    border: clamp(3px, 0.8vw, 4px) solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.actor-name {
    font-size: clamp(32px, 10vw, 48px);
    font-weight: 900;
    margin-bottom: clamp(15px, 4vw, 20px);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    font-family: 'PeugeotNew', Arial, sans-serif;
    letter-spacing: clamp(-1.5px, -0.4vw, -1px);
}

.actor-description {
    font-size: clamp(14px, 3.5vw, 16px);
    line-height: 1.5;
    color: #e0e0e0;
    margin-bottom: clamp(25px, 6vw, 30px);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.4);
    padding: clamp(12px, 3vw, 15px);
    border-radius: clamp(8px, 2vw, 10px);
    backdrop-filter: blur(5px);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 300;
    font-style: italic;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 3vw, 15px);
    margin: clamp(30px, 8vw, 40px) 0;
}

/* Formulário responsivo */
.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: clamp(30px, 8vw, 40px) 0 clamp(25px, 6vw, 30px) 0;
}

.form-container h2 {
    text-align: center;
    margin-bottom: clamp(25px, 6vw, 30px);
    font-size: clamp(16px, 4.5vw, 20px);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 700;
}

#participation-form {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 4vw, 20px);
}

/* Inputs responsivos */
.input-group {
    position: relative;
    margin-bottom: 5px;
}

.form-input {
    background: rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    padding: clamp(12px, 3vw, 15px) clamp(15px, 4vw, 20px);
    border-radius: 50px;
    font-size: clamp(14px, 3.5vw, 16px);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 400;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: white;
    background: rgba(0,0,0,0.6);
}

.form-input::placeholder {
    color: rgba(255,255,255,0.8);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(13px, 3.2vw, 15px);
}

.form-input:valid { border-color: #28a745; }
.form-input:invalid:not(:placeholder-shown) { border-color: #dc3545; }
.form-input.error { border-color: #dc3545 !important; background: rgba(220, 53, 69, 0.1); }
.form-input.success { border-color: #28a745 !important; background: rgba(40, 167, 69, 0.1); }

/* Mensagens de erro responsivas */
.error-message {
    color: #ff6b6b;
    font-size: clamp(10px, 2.8vw, 12px);
    margin-top: 5px;
    margin-left: clamp(15px, 4vw, 20px);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 300;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show { opacity: 1; }
.error-message.hide { opacity: 0; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-input.shake { animation: shake 0.5s ease-in-out; }

/* Checkbox responsivo */
.checkbox-group {
    margin: clamp(20px, 5vw, 25px) 0;
    position: relative;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: clamp(12px, 3.2vw, 14px);
    line-height: 1.5;
    color: white;
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    padding: clamp(12px, 3vw, 15px) clamp(15px, 4vw, 20px);
    background: rgba(0,0,0,0.4);
    border-radius: clamp(20px, 5vw, 25px);
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    top: 2px;
    left: 0;
    height: clamp(16px, 4vw, 18px);
    width: clamp(16px, 4vw, 18px);
    background-color: rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 4px;
    margin-right: clamp(12px, 3vw, 15px);
    flex-shrink: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.checkbox-container:hover .checkmark {
    border-color: white;
    background-color: rgba(255,255,255,0.15);
}

.checkbox-input:checked ~ .checkmark {
    background-color: rgba(255,255,255,0.9);
    border-color: white;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: clamp(4px, 1vw, 5px);
    top: 1px;
    width: clamp(3px, 0.8vw, 4px);
    height: clamp(6px, 1.5vw, 8px);
    border: solid #1a1a1a;
    border-width: 0 clamp(2px, 0.6vw, 3px) clamp(2px, 0.6vw, 3px) 0;
    transform: rotate(45deg);
}

.checkbox-input:checked ~ .checkmark:after { display: block; }

.checkbox-text {
    flex: 1;
    margin-top: 1px;
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 300;
    color: rgba(255,255,255,0.95);
}

.conditions-link {
    color: white;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.6);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 400;
}

.conditions-link:hover {
    color: #ffffff;
    text-decoration-color: white;
    text-shadow: 0 0 8px rgba(255,255,255,0.6);
    transform: scale(1.02);
}

/* Estados de erro para checkbox */
.checkbox-input.error ~ .checkmark {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1);
}

.checkbox-container.error {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.05);
    animation: shake 0.5s ease-in-out;
}

/* Tela de agradecimento responsiva */
.thanks-content {
    text-align: center;
    margin: clamp(50px, 12vw, 60px) 0 clamp(25px, 6vw, 30px) 0;
}

.thanks-content h2 {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: clamp(15px, 4vw, 20px);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 900;
}

.thanks-content p {
    font-size: clamp(14px, 3.5vw, 16px);
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 300;
}

/* === OVERLAY DE REGRAS === */
.rules-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.rules-overlay.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.rules-panel {
    width: min(380px, 92vw);
    max-height: 88vh;
    background: radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,0.06), rgba(0,0,0,0.6) 60%), rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.rules-overlay.show .rules-panel {
    transform: scale(1);
}

.rules-scroll {
    padding: clamp(16px, 4vw, 24px);
    overflow-y: auto;
    max-height: 88vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.35) transparent;
}

.rules-scroll::-webkit-scrollbar { width: 6px; }
.rules-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.35);
    border-radius: 6px;
}

.rules-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
    z-index: 3;
}

.rules-close:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.15);
}

.rules-header {
    text-align: center;
    font-size: clamp(9px, 2.5vw, 11px);
    letter-spacing: clamp(0.5px, 0.3vw, 1px);
    color: #d0d0d0;
    text-transform: uppercase;
    margin-bottom: clamp(12px, 3vw, 16px);
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 300;
}

.rules-logo {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(12px, 3vw, 18px);
}

.rules-logo-image {
    width: clamp(60px, 18vw, 90px);
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.65));
}

.rules-hashtag {
    text-align: center;
    font-size: clamp(16px, 5.2vw, 22px);
    font-weight: 900;
    letter-spacing: clamp(-0.6px, -0.3vw, -1px);
    margin: 0 0 clamp(8px, 2vw, 12px);
    text-shadow: 0 2px 8px rgba(0,0,0,0.65);
    font-family: 'PeugeotNew', Arial, sans-serif;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 clamp(5px, 2vw, 10px);
}

.rules-title {
    text-align: center;
    margin-bottom: clamp(12px, 3vw, 16px);
}

.rules-title-text {
    font-size: clamp(12px, 3.5vw, 16px);
    font-weight: 700;
    color: #fff;
    font-family: 'PeugeotNew', Arial, sans-serif;
}

.rules-emoji {
    margin-left: 8px;
    font-size: clamp(14px, 4vw, 18px);
}

.rules-subtitle {
    text-align: center;
    font-size: clamp(11px, 3vw, 14px);
    color: #f2f2f2;
    opacity: 0.95;
    margin: 0 auto clamp(14px, 3.5vw, 20px);
    max-width: 320px;
    line-height: 1.4;
    font-family: 'PeugeotNew', Arial, sans-serif;
}

.rules-steps-wrapper {
    margin: clamp(14px, 3.5vw, 20px) 0;
}

.rules-step {
    display: flex;
    align-items: flex-start;
    gap: clamp(8px, 2vw, 12px);
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.4;
    color: #fff;
    padding: clamp(8px, 2vw, 12px) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-family: 'PeugeotNew', Arial, sans-serif;
}

.rules-step-number {
    font-weight: 900;
    font-size: clamp(14px, 4.5vw, 20px);
    color: #fff;
    line-height: 1;
    flex-shrink: 0;
    min-width: clamp(16px, 4vw, 24px);
}

.rules-step-text {
    flex: 1;
}

.rules-warning {
    display: flex;
    align-items: flex-start;
    gap: clamp(8px, 2vw, 12px);
    margin: clamp(14px, 3.5vw, 20px) 0 clamp(10px, 2.5vw, 16px) 0;
    padding: clamp(12px, 3vw, 16px);
    background: rgba(255, 193, 7, 0.1);
    border-radius: clamp(8px, 2vw, 12px);
    border-left: 4px solid rgba(255, 193, 7, 0.8);
}

.rules-warning-icon {
    font-size: clamp(14px, 4vw, 18px);
    flex-shrink: 0;
}

.rules-warning-text {
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.4;
    color: #fff;
    font-family: 'PeugeotNew', Arial, sans-serif;
    font-weight: 600;
}

.rules-sessions {
    list-style: none;
    margin: 0 auto clamp(14px, 3.5vw, 20px);
    padding: 0;
}

.rules-sessions li {
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.4;
    padding: clamp(4px, 1vw, 6px) 0;
    color: #fff;
    font-family: 'PeugeotNew', Arial, sans-serif;
}

.rules-sessions strong {
    font-weight: 800;
}

.rules-footer-note {
    text-align: center;
    font-size: clamp(10px, 2.8vw, 12px);
    color: #e9e9e9;
    opacity: 0.9;
    margin-top: clamp(8px, 2vw, 12px);
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    font-family: 'PeugeotNew', Arial, sans-serif;
    line-height: 1.3;
}

/* Controle de visibilidade das telas */
.screen { display: none; }
.screen.active { display: block; animation: fadeIn 0.5s ease-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes checkboxPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.checkbox-input:checked ~ .checkmark {
    animation: checkboxPulse 0.3s ease-out;
}

/* Responsividade específica para o overlay */
@media (max-width: 380px) {
    .rules-panel {
        width: 96vw;
    }
    
    .rules-hashtag {
        font-size: 14px;
        letter-spacing: -0.8px;
    }
    
    .rules-step {
        gap: 6px;
        font-size: 10px;
    }
    
    .rules-step-number {
        font-size: 12px;
        min-width: 14px;
    }
}

/* Otimizações para attachment de fundo em mobile */
@media (max-width: 768px) {
    #screen-start .container,
    #screen-question1 .container,
    #screen-question2 .container,
    #screen-question3 .container,
    #screen-result .container,
    #screen-form .container,
    #screen-thanks .container {
        background-attachment: scroll;
    }
}

/* Garantir que checkbox não sobreponha footer */
.checkbox-container + .btn-primary {
    margin-top: clamp(20px, 5vw, 25px);
}

/* Estados adicionais de formulário */
.form-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.checkbox-input.error ~ .checkmark {
    border-color: #ff6b6b !important;
    background-color: rgba(255, 107, 107, 0.1);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}
