/* ═══════════════════════════════════════════════════════════════
   BRIO STUDIOS — Pré-inscription espace
   Design system: #f7f5f3 bg, #C55A36 accent, 16px radius cards
   ═══════════════════════════════════════════════════════════════ */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f7f5f3;
    font-family: 'Lato', sans-serif;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}

/* ── Header ──────────────────────────────────────────────────── */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
    z-index: 50;
}

.center_header {
    display: flex;
    align-items: center;
    gap: 6px;
}

header img {
    height: 32px;
}

.gotoquit {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid #ddd;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    padding: 8px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gotoquit span {
    font-size: 18px;
    color: #888;
}

.gotoquit:hover {
    background: #f0ebe8;
    border-color: #ccc;
    color: #000;
}

.gotoquit:hover span {
    color: #000;
}

/* ── Page container ──────────────────────────────────────────── */

.page_container {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 64px;
    min-height: 75vh;
}

/* ── Hero section ────────────────────────────────────────────── */

.hero_section {
    text-align: center;
    margin-bottom: 40px;
}

.hero_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #C55A36;
    background: rgba(197, 90, 54, 0.08);
    border: 1px solid rgba(197, 90, 54, 0.15);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero_badge span {
    font-size: 16px;
    color: #C55A36;
}

.hero_section h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0a0a0a;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* ── Steps card ──────────────────────────────────────────────── */

.steps_card {
    background: #fff;
    border: 1px solid #e8e3df;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.step_holders {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Individual step ─────────────────────────────────────────── */

.onestep {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step_icon_col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step_icon_circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(197, 90, 54, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step_icon_circle span {
    font-size: 22px;
    color: #C55A36;
}

.step_icon_final {
    background: #C55A36;
}

.step_icon_final span {
    color: #fff;
}

/* Connector line */
.step_connector {
    width: 2px;
    height: 40px;
    background: repeating-linear-gradient(
        to bottom,
        #d4c5bd 0px,
        #d4c5bd 4px,
        transparent 4px,
        transparent 8px
    );
    margin: 6px 0;
}

/* Step text content */
.step_content {
    padding: 4px 0 28px;
    flex: 1;
}

.step_number {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #C55A36;
    margin-bottom: 4px;
    opacity: 0.7;
}

.step_content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 6px;
}

.step_content p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* Last step: no bottom padding */
.onestep:last-child .step_content {
    padding-bottom: 0;
}

/* ── Buttons ─────────────────────────────────────────────────── */

.linebtn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.primary_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #C55A36;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.primary_btn span {
    font-size: 20px;
    color: #fff;
    transition: transform 0.2s ease;
}

.primary_btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.primary_btn:hover::after {
    transform: translateX(0);
}

.primary_btn:hover {
    background: #ad4c2c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 90, 54, 0.25);
}

.primary_btn:hover span {
    transform: translateX(3px);
}

.primary_btn:active {
    transform: scale(0.98);
}

.secondary_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #555;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary_btn span {
    font-size: 18px;
    color: #999;
}

.secondary_btn:hover {
    border-color: #C55A36;
    color: #C55A36;
    background: rgba(197, 90, 54, 0.03);
}

.secondary_btn:hover span {
    color: #C55A36;
}

/* ── Footer ──────────────────────────────────────────────────── */

#footer a,
#footer p {
    color: #000;
    text-decoration: none;
    font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media screen and (max-width: 850px) {

    header {
        padding: 10px 16px;
    }

    .page_container {
        padding: 32px 16px 48px;
    }

    .hero_section h2 {
        font-size: 26px;
    }

    .subtitle {
        font-size: 14px;
    }

    .steps_card {
        padding: 28px 20px;
    }

    .step_icon_circle {
        width: 42px;
        height: 42px;
    }

    .step_icon_circle span {
        font-size: 20px;
    }

    .step_connector {
        height: 30px;
    }

    .step_content h3 {
        font-size: 16px;
    }

    .linebtn {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .primary_btn,
    .secondary_btn {
        width: 100%;
        justify-content: center;
    }
}