/* ===== RESET ET STYLES DE BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 13px; /* +30% vs 10px */
    background: linear-gradient(170deg, rgba(0, 0, 0, 1) 0%, rgba(0, 47, 59, 1) 50%, rgba(0, 193, 187, 1) 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    line-height: 2.2; /* +30% vs 1.8 */
}

h1 {
    color: #ffffff;
    text-align: center;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7); /* +50% vs 2px */
    margin: 26px 0; /* +30% vs 20px */
    font-size: 36px; /* +30% vs 28px */
    padding: 0 13px;
}

/* ===== FORMULAIRE ===== */
form {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 26px; /* +30% vs 20px */
    border-radius: 16px; /* +30% vs 12px */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5); /* +30% vs 4px/8px */
    width: 100%;
    margin: 0;
}

/* ===== QUESTIONS ===== */
.question {
    margin: 33px 0; /* +30% vs 25px */
    padding: 26px; /* +30% vs 20px */
    background-color: rgba(255, 255, 255, 0.25); /* +25% vs 0.2 */
    border-radius: 16px; /* +30% vs 12px */
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.3); /* +100% vs 1px */
}

.question.active {
    display: block;
}

.question label {
    display: block;
    margin-bottom: 20px; /* +30% vs 15px */
    font-weight: bold;
    color: #ffffff;
    font-size: 32px; /* +30% vs 24px */
    line-height: 2.2;
    text-align: center;
}

input[type="radio"] {
    margin: 0 26px; /* +30% vs 20px */
    transform: scale(2.3); /* +30% vs 1.8 */
    cursor: pointer;
}

/* ===== CHAMP EMAIL ===== */
.email-container {
    margin: 33px 0; /* +30% vs 25px */
    padding: 26px; /* +30% vs 20px */
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 16px; /* +30% vs 12px */
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.email-container label {
    display: block;
    margin-bottom: 20px; /* +30% vs 15px */
    font-weight: bold;
    color: #ffffff;
    font-size: 32px; /* +30% vs 24px */
    text-align: center;
    line-height: 2.2;
}

input[type="email"] {
    width: 100%;
    padding: 24px; /* +30% vs 18px */
    margin-bottom: 26px; /* +30% vs 20px */
    border: 3px solid #ffffff; /* +50% vs 2px */
    border-radius: 16px; /* +30% vs 12px */
    font-size: 32px; /* +30% vs 24px */
    background-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    text-align: center;
}

input[type="email"]::placeholder {
    color: #cccccc;
    font-size: 26px; /* +30% vs 20px */
}

/* ===== BOUTONS ===== */
button, input[type="submit"], a {
    background-color: #ff4500;
    color: #ffffff;
    border: none;
    padding: 26px; /* +30% vs 20px */
    font-size: 32px; /* +30% vs 24px */
    border-radius: 16px; /* +30% vs 12px */
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
    margin: 20px 0; /* +30% vs 15px */
    font-weight: bold;
    text-align: center;
    line-height: 1.8;
    display: block;
}

button:hover, input[type="submit"]:hover, a:hover {
    background-color: #e63e00;
    text-decoration: none;
}

button:disabled, input[type="submit"]:disabled {
    background-color: #808080;
    cursor: not-allowed;
}

/* ===== PAGE DE RÉSULTAT ===== */
.result, .contact {
    padding: 39px 26px; /* +30% vs 30px/20px */
    border-radius: 16px; /* +30% vs 12px */
    margin: 26px 0; /* +30% vs 20px */
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.result h2, .contact h2 {
    font-size: 36px; /* +30% vs 28px */
    margin-bottom: 26px; /* +30% vs 20px */
    line-height: 2.2;
}

.result p, .contact p {
    font-size: 29px; /* +30% vs 22px */
    line-height: 2.2;
    margin-bottom: 20px;
}

/* Classes personnalisées */
.high {
    background-color: rgba(255, 0, 0, 0.5);
    border: 3px solid #ff0000;
}

.medium {
    background-color: rgba(255, 255, 0, 0.5);
    border: 3px solid #ffff00;
}

.low {
    background-color: rgba(0, 100, 0, 0.5);
    border: 3px solid #00ff00;
}

.contact {
    background-color: rgba(255, 69, 0, 0.5);
    border: 3px solid #ff4500;
}

/* ===== BARRE DE PROGRESSION ===== */
.progress-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 16px; /* +30% vs 12px */
    margin: 26px 0; /* +30% vs 20px */
    height: 20px; /* +30% vs 15px */
}

.progress-bar {
    height: 100%;
    background-color: #ff4500;
    border-radius: 16px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin: 26px 0; /* +30% vs 20px */
    font-weight: bold;
    color: #ffffff;
    font-size: 29px; /* +30% vs 22px */
}

/* ===== MEDIA QUERIES POUR ÉCRANS PLUS GRANDS ===== */
/* Tablettes */
@media (min-width: 769px) {
    body {
        padding: 26px;
        max-width: 1000px; /* +25% vs 800px */
        margin: 0 auto;
    }

    h1 {
        font-size: 40px; /* +10% vs 36px */
    }

    .question, .email-container {
        margin: 30px 0;
        padding: 20px;
    }

    .question label, .email-container label {
        font-size: 24px;
    }

    input[type="email"] {
        font-size: 24px;
        padding: 20px;
    }

    button, input[type="submit"], a {
        font-size: 24px;
        padding: 20px;
    }

    .result, .contact {
        padding: 30px;
    }

    .result h2, .contact h2 {
        font-size: 32px;
    }

    .result p, .contact p {
        font-size: 22px;
    }
}

/* Grands écrans */
@media (min-width: 1024px) {
    body {
        max-width: 1200px; /* +30% vs 900px */
        padding: 30px;
    }

    form {
        padding: 40px; /* +50% vs 26px */
    }
}
