:root {
    --primary: #170e6e;
    --secondary: #2863a7;
    --light-bg: #f5f5f5;
}

.banner-container{
    width:100%;
    margin-bottom:18px;
}

.banner-image{
    width:100%;
    height:190px;
    object-fit:cover;
    border-radius:14px;
}

.site-name{
    text-align:center;
    margin-bottom:18px;
}

.name-row{
    display:flex;
    gap:14px;
    width:100%;
}

.name-row .input-group{
    flex:1;
}

.name-row input{
    width:100%;
    box-sizing:border-box;
}
.input-group{
    flex:1;
    min-width:0;
}

/* RESET */
body {
    font-family: Arial, sans-serif;
    background: var(--light-bg);
    margin: 0;
    padding: 10px 10px 0 10px;
    overflow-x: hidden;

    min-height: 100vh; /* 🔥 remplace height */
    display: block; /* 🔥 évite bug flex */
}

/* corrige zoom iPhone */
input, select, textarea {
    font-size: 16px;
}

/* CONTAINER */
.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
        margin-bottom: 0; /* 🔥 empêche espace fantôme */
    background: #fff;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

/* HEADER */
.header-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}


.site-name {
    font-size: 22px; /* 🔥 plus gros */
    font-weight: bold;
    margin: 0;
    color: var(--primary);
    text-align: center; /* 🔥 centré */
    line-height: 1.3;
    }

/* HERO */
.hero {
    text-align: center;
    margin-bottom: 10px;
}

.secure-badge {
    display: inline-block;
    background: #eee;
    color: #555;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 12px;
}

.hero-sub {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    padding: 0 10px;
}

/* FORM */
label {
    display: block;
    margin-top: 14px;
    font-weight: 600;
    color: #222;
}

legend {
    margin-top: 10px;
    font-weight: bold;
    color: var(--secondary);
}

input[type=text],
input[type=email] {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,123,0,0.1);
}

/* RADIO */
.radio-group{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:10px;
}
.radio-group label{
    width:100%;
    box-sizing:border-box;
}

.radio-group label {
    background: #f0f0f0;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.radio-group label:hover {
    background: #e6ecff;
}

/* BUTTON */
button {
    margin-top: 20px;
    padding: 14px;
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: var(--secondary);
}

/* MESSAGE */
.message {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

.message.error {
    color: red;
}

.message.success {
    color: green;
}

/* DISCLAIMER */
.info-disclaimer {
    font-style: italic;
    font-size: 13px;
    color: #666;
    margin-top: 15px;
    text-align: center;
}

/* FEATURES */
.hero-features {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

.feature-icon {
    width: 34px;
    height: 34px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* 🔥 STATS ALIGNÉES SUR UNE LIGNE */
.hero-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 5px;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 0; /* 🔥 IMPORTANT */
}

.stat-number {
    font-size: 22px;
    font-weight: bold;
}

.stat-label {
    font-size: 11px;
    color: #777;
}

/* ANIMATION */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* MOBILE */
@media (max-width: 600px) {

    .hero-stats {
        flex-direction: row; /* 🔥 reste en ligne */
    }

    .stat-number {
        font-size: 18px;
    }

    .stat-label {
        font-size: 10px;
    }

    .hero-features {
        padding-left: 0;
    }
}
/* FOOTER */
.footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 20px;
    padding: 10px 10px 5px 10px; /* 🔥 réduit bas */
    border-top: 1px solid #eee;
}

.top-card {
    background: #fafafa;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-top {
    justify-content: center; /* centre */
}

@media (min-width: 600px) {
    .header-top {
        justify-content: flex-start; /* desktop = gauche */
    }
}
.hero-sub {
    margin-top: 10px;
    text-align: center;
}

input[type="radio"]{
    appearance:none;
    -webkit-appearance:none;

    width:16px;
    height:16px;

    border:2px solid #2d15b9;
    border-radius:4px;

    background:white;
    cursor:pointer;

    position:relative;
}

input[type="radio"]:checked{
    background:#ff7b00;
}