body {
    font-family: 'Roboto', sans-serif;
    /* Image de fond avec overlay blanc à 90% pour la lisibilité */
    background: linear-gradient(rgba(244, 247, 246, 0.9), rgba(244, 247, 246, 0.8)), url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.flag-icon {
    height: 24px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-right: 5px;
}

.feature {
    background: #eef7ff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature i {
    color: var(--secondary);
    font-size: 1.1em;
}:root {
    --primary: #0056b3; /* Bleu institutionnel */
    --secondary: #28a745; /* Vert validation/écologie */
    --accent: #ff9900; /* Orange action */
    --bg: #f4f7f6;
    --text: #333;
    --white: #ffffff;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.subtitle {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content */
.main-content {
    background: var(--white);
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h1 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 10px;
}

.highlight {
    color: var(--accent);
}

.sub-headline {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature {
    background: #eef7ff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    color: var(--primary);
}

/* Alert Box */
.alert-box {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    font-size: 15px;
}

/* Trust Bar */
.trust-bar {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.trust-bar span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-bar i {
    color: var(--secondary);
}

/* Buttons */
.btn-primary, .btn-cta {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    transition: background 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover, .btn-cta:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-option {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 20px;
    margin: 10px 0;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    position: relative;
    color: var(--text);
}

.btn-option i {
    color: var(--primary);
    font-size: 1.2em;
    min-width: 30px;
    text-align: center;
}

.btn-option:hover {
    border-color: var(--primary);
    background: #f0f8ff;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-option::after {
    content: '➔';
    position: absolute;
    right: 20px;
    color: #ccc;
}

/* Quiz UI */
.hidden { display: none; }

.progress-bar {
    background: #e0e0e0;
    height: 10px;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--secondary);
    width: 0%;
    transition: width 0.5s;
}

.input-field {
    width: 100%;
    max-width: 200px;
    padding: 15px;
    font-size: 18px;
    border: 2px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

/* Loader */
.loader-step {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Final Form */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; /* Important for padding */
}

.privacy-text {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

.success-checkmark {
    font-size: 50px;
    margin-bottom: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #888;
}

footer a { color: #666; }