* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --vert:       #3a5a3a;
    --orange:     #c8820a;
    --blanc:      #ffffff;
    --gris-fond:  #e8f0e8;
    --gris-label: #4a6a4a;
    --gris-txt:   #666;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f0f5f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card {
    background: var(--gris-fond);
    border-radius: 18px;
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.top-bar {
    background: var(--vert);
    color: #fff;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    border-radius: 14px;
    margin: 12px 12px 0;
}
.back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 14px;
}
.top-bar h1  { font-size: 1.05rem; font-weight: 700; flex: 1; }
.step-label  { font-size: 0.82rem; font-weight: 600; opacity: 0.9; }

.form-body { padding: 26px 24px 28px; }

.intro-txt {
    font-size: 0.8rem;
    color: var(--gris-txt);
    margin-bottom: 16px;
    line-height: 1.5;
}

.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gris-label);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 7px;
}
.field input,
.field select {
    width: 100%;
    background: var(--blanc);
    border: 1.5px solid var(--blanc);
    border-radius: 10px;
    padding: 14px;
    font-size: 0.88rem;
    color: #333;
    outline: none;
    transition: border 0.2s;
}
.field input::placeholder { color: #aaa; }
.field input:focus,
.field select:focus { border-color: var(--vert); }

.hint {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--orange);
    font-weight: 600;
}

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 40px; }
.eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #aaa;
    padding: 0;
}
.eye-btn:hover { color: var(--vert); }

.btn-continue {
    width: 100%;
    background: var(--vert);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    transition: opacity 0.15s;
}
.btn-continue:hover { opacity: 0.88; }

.step { display: none; }
.step.active { display: block; }

.confirm-box {
    background: var(--blanc);
    border-radius: 12px;
    padding: 18px 16px;
    margin-bottom: 18px;
}
.confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.82rem;
}
.confirm-row:last-child { border-bottom: none; }
.cle { color: var(--gris-txt); font-weight: 600; }
.val { color: #222; font-weight: 700; }

.cgu {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--gris-txt);
    margin-bottom: 18px;
    line-height: 1.5;
}
.cgu input { margin-top: 3px; accent-color: var(--vert); }
.cgu a { color: var(--vert); font-weight: 700; }

.success-screen {
    display: none;
    text-align: center;
    padding: 40px 24px;
}
.success-screen .check {
    width: 68px;
    height: 68px;
    background: var(--vert);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 20px;
}
.success-screen h2 { font-size: 1.1rem; font-weight: 800; color: var(--vert); margin-bottom: 8px; }
.success-screen p  { font-size: 0.82rem; color: var(--gris-txt); line-height: 1.6; }
.btn-go {
    display: inline-block;
    margin-top: 22px;
    background: var(--vert);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 32px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s;
}
.btn-go:hover { opacity: 0.85; }