/*
 * become_ambassador overlay
 * Loaded AFTER rebrand26cc.css — base tokens, nav, hero, sf, demarche, stats,
 * why, contact, footer come from there. This file only adds:
 *   - hero background treatment (still image instead of video grid)
 *   - rb-info-grid (Profil recherche)
 *   - rb-conditions (Conditions et engagement)
 *   - rb-faq (Questions frequentes)
 *   - form-card grouping for the multi-section candidature form
 *   - inline field error states
 *   - dropzone
 *   - success card replacement state
 */

/* ──────────────────────────────────────────────────────────────────────────
   HERO (still-image variant, centered content)
   Overrides the shared rb-hero which is built for the homepage:
   - shared .rb-hero is align-items: flex-end (bottom-left)
   - shared .rb-hero__bg has opacity:0 waiting for splash JS to fade it in
   - shared eyebrow/title/CTAs all start invisible waiting for GSAP intro
   We bypass all of that here.
   ────────────────────────────────────────────────────────────────────────── */
.rb-hero--still {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 1.5rem 5rem;
    background-color: #001a36;
    background-image:
        linear-gradient(180deg, rgba(0, 16, 36, 0.55) 0%, rgba(0, 16, 36, 0.30) 35%, rgba(0, 16, 36, 0.78) 100%),
        var(--rb-hero-image);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    position: relative;
    overflow: hidden;
}
/* Soft gold accent in the top right */
.rb-hero--still::after {
    content: '';
    position: absolute;
    top: -15%; right: -10%;
    width: 540px; height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.22), transparent 65%);
    pointer-events: none;
    z-index: 1;
}
/* Bypass the broken bg layer entirely */
.rb-hero--still .rb-hero__bg { display: none !important; }
.rb-hero--still .rb-hero__overlay { display: none !important; }

/* Centered content stack */
.rb-hero--still .rb-hero__content {
    position: relative;
    z-index: 3;
    padding: 0;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

/* Force visibility — override shared CSS opacity:0 animation states */
.rb-hero--still .rb-hero__eyebrow {
    opacity: 1;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    color: var(--gold);
    text-transform: uppercase;
}
.rb-hero--still .rb-hero__title {
    margin: 0;
    text-align: center;
    color: #fff;
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    font-weight: 700;
}
.rb-hero--still .rb-hero__title .word { margin-right: 0.2em; }
.rb-hero--still .rb-hero__title .word span {
    transform: none;
    opacity: 1;
}
.rb-hero--still .rb-hero__lead {
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.7;
}

/* ── Hero KPI pill row — centered, uniform, compact ── */
.rb-hero__kpis {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 0.3rem 0 0;
    max-width: 100%;
}
.rb-hero__kpi {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    line-height: 1;
}
.rb-hero__kpi i { color: var(--gold); font-size: 0.82rem; }

/* CTAs centered, force visibility */
.rb-hero--still .rb-hero__ctas {
    opacity: 1;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin: 0.8rem 0 0;
}
.rb-hero--still .rb-hero__ctas .btn-luxury,
.rb-hero--still .rb-hero__ctas .btn-outline-lux {
    min-width: 220px;
    text-align: center;
}

/* Scroll hint visible by default */
.rb-hero--still .rb-hero__scroll-hint { opacity: 0.65; }

/* Tighter padding on small screens */
@media (max-width: 600px) {
    .rb-hero--still { padding: 6rem 1.25rem 4rem; }
    .rb-hero__kpi { font-size: 0.72rem; padding: 0.5rem 0.85rem; }
    .rb-hero--still .rb-hero__ctas .btn-luxury,
    .rb-hero--still .rb-hero__ctas .btn-outline-lux { min-width: 0; width: 100%; }
}

/* ── Profil recherche (rb-info-grid) ── */
.rb-amb-section {
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 4rem);
    background: #fff;
}
.rb-amb-section--alt {
    background: linear-gradient(180deg, #faf8f4 0%, #fff 100%);
}
.rb-amb-section__header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.rb-amb-section__eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.rb-amb-section__title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.rb-amb-section__copy {
    color: rgba(0, 31, 63, 0.7);
    font-size: 0.98rem;
    line-height: 1.65;
}

.rb-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1180px;
    margin: 0 auto;
}
.rb-info-card {
    padding: 1.6rem 1.4rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 31, 63, 0.08);
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rb-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(0, 31, 63, 0.1);
}
.rb-info-card__icon {
    width: 48px; height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.18), rgba(197, 160, 89, 0.06));
    color: var(--gold-deep);
    display: grid; place-items: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}
.rb-info-card h3 {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.rb-info-card p {
    font-size: 0.9rem;
    color: rgba(0, 31, 63, 0.7);
    line-height: 1.6;
}
@media (min-width: 700px) {
    .rb-info-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}
@media (min-width: 1100px) {
    .rb-info-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Conditions list (single-column icon rows) ── */
.rb-conditions {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 0.4rem;
}
.rb-cond-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
    padding: 1.4rem 0.4rem;
    border-bottom: 1px solid rgba(0, 31, 63, 0.08);
}
.rb-cond-row:last-child { border-bottom: none; }
.rb-cond-row__icon {
    width: 44px; height: 44px;
    border-radius: 8px;
    background: rgba(197, 160, 89, 0.14);
    color: var(--gold-deep);
    display: grid; place-items: center;
    font-size: 1.05rem;
}
.rb-cond-row h4 {
    font-family: var(--sans);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.rb-cond-row p {
    font-size: 0.92rem;
    color: rgba(0, 31, 63, 0.7);
    line-height: 1.6;
}

/* ── FAQ ── */
.rb-faq-list {
    max-width: 880px;
    margin: 0 auto;
}
.rb-faq-item {
    border-bottom: 1px solid rgba(0, 31, 63, 0.1);
}
.rb-faq-item:last-child { border-bottom: none; }
.rb-faq-item summary {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.25rem 0.2rem;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.rb-faq-item summary::-webkit-details-marker { display: none; }
.rb-faq-chevron {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.14);
    color: var(--gold);
    display: grid; place-items: center;
    font-size: 0.7rem;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}
.rb-faq-item[open] > summary .rb-faq-chevron {
    transform: rotate(90deg);
    background: var(--gold);
    color: #fff;
}
.rb-faq-item p {
    padding: 0 0.2rem 1.4rem 3.2rem;
    font-size: 0.94rem;
    color: rgba(0, 31, 63, 0.72);
    line-height: 1.7;
}

/* ── Candidature: contact-style split with form cards on the right ── */
.rb-cand {
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 4rem);
    background: linear-gradient(180deg, #f7f4ee 0%, #faf8f4 100%);
}
.rb-cand__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}
.rb-cand__info { padding-top: 0.5rem; }
.rb-cand__info .rb-amb-section__eyebrow { text-align: left; margin-bottom: 1rem; }
.rb-cand__info .rb-amb-section__title { text-align: left; }
.rb-cand__info .rb-amb-section__copy { text-align: left; margin-bottom: 1.5rem; }
.rb-cand__after {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 31, 63, 0.08);
}
.rb-cand__after h4 {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.rb-cand__after ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rb-cand__after ul li {
    display: flex;
    gap: 0.85rem;
    padding: 0.5rem 0;
    color: rgba(0, 31, 63, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
}
.rb-cand__after ul li i {
    color: var(--gold);
    margin-top: 0.18rem;
    flex-shrink: 0;
}

.rb-cand__form-wrap {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0, 31, 63, 0.12);
    overflow: hidden;
    border: 1px solid rgba(0, 31, 63, 0.06);
}
.rb-cand__form-head {
    padding: 1.5rem 1.8rem;
    background: linear-gradient(135deg, #001f3f 0%, #0a3358 100%);
    color: #fff;
}
.rb-cand__form-head h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.rb-cand__form-head p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}
.rb-cand__form-body { padding: 1.5rem 1.8rem 1.8rem; }

@media (min-width: 980px) {
    .rb-cand__inner {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 3.5rem;
    }
    .rb-cand__info { position: sticky; top: 6rem; }
}

/* ── Form cards (4 visual groups within the single form) ── */
.rb-form-card {
    padding: 1.2rem 1.1rem 1.1rem;
    border-radius: 10px;
    background: #faf8f4;
    border: 1px solid rgba(0, 31, 63, 0.08);
    margin-bottom: 1rem;
}
.rb-form-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 31, 63, 0.07);
}
.rb-form-card__num {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 31, 63, 0.22);
}
.rb-form-card__title {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rb-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}
.rb-field { min-width: 0; }
.rb-field label {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.rb-field input,
.rb-field select,
.rb-field textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(0, 31, 63, 0.16);
    padding: 0.78rem 0.9rem;
    font: inherit;
    color: var(--ink);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rb-field textarea { min-height: 120px; resize: vertical; }
.rb-field input:focus,
.rb-field select:focus,
.rb-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}
.rb-field.has-error input,
.rb-field.has-error select,
.rb-field.has-error textarea {
    border-color: #c4334a;
    box-shadow: 0 0 0 3px rgba(196, 51, 74, 0.12);
}
.rb-field__error {
    display: none;
    margin-top: 0.32rem;
    font-size: 0.76rem;
    color: #c4334a;
    font-weight: 600;
}
.rb-field.has-error .rb-field__error { display: block; }
.rb-field__hint {
    margin-top: 0.32rem;
    font-size: 0.74rem;
    color: rgba(0, 31, 63, 0.55);
}
.rb-field--full { grid-column: 1 / -1; }
@media (min-width: 600px) {
    .rb-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Dropzone ── */
.upload-dropzone {
    border: 2px dashed rgba(0, 31, 63, 0.3);
    border-radius: 8px;
    padding: 1.15rem 1rem;
    background: #fff;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.upload-dropzone:hover { border-color: var(--gold); background: #fbf8f1; }
.upload-dropzone.is-dragging { border-color: var(--gold-deep); background: #f2ece0; }
.upload-dropzone .fa-cloud-arrow-up {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    display: block;
}
.upload-name {
    margin: 0.3rem 0 0.2rem;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.88rem;
    word-break: break-word;
}
.upload-dropzone small {
    color: rgba(0, 31, 63, 0.5);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Submit button — matches hero .btn-luxury (solid gold on navy text) ── */
.rb-cand-submit {
    width: 100%;
    border: 2px solid var(--gold);
    background: var(--gold);
    color: var(--navy);
    padding: 1rem 1.2rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
    margin-top: 0.6rem;
}
.rb-cand-submit:hover:not(:disabled) {
    background: var(--navy);
    color: var(--gold);
    box-shadow: 0 12px 28px rgba(0, 31, 63, 0.28);
    transform: translateY(-1px);
}
.rb-cand-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Alert / form-level notice ── */
.rb-alert {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    display: none;
    font-size: 0.88rem;
    line-height: 1.5;
}
.rb-alert.show { display: block; }
.rb-alert.success { background: #e8f5e9; color: #0f5132; border: 1px solid #badbcc; }
.rb-alert.danger { background: #fceaea; color: #842029; border: 1px solid #f5c2c7; }

/* ── Success state ── */
.rb-success-card {
    padding: 2rem 1.6rem;
    text-align: center;
}
.rb-success-card__icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.16);
    color: var(--gold-deep);
    display: grid; place-items: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
}
.rb-success-card h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.rb-success-card p {
    color: rgba(0, 31, 63, 0.72);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.rb-success-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1.2rem auto 0;
    max-width: 380px;
}
.rb-success-card ul li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.55rem 0;
    color: rgba(0, 31, 63, 0.78);
    font-size: 0.9rem;
    line-height: 1.5;
}
.rb-success-card ul li i {
    color: var(--gold);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

[data-rb-fade] { opacity: 0; transform: translateY(20px); }
.d-none { display: none !important; }

/* ==========================================================================
   DISTINCT SECTION LAYOUTS (do not mimic homepage component classes)
   Build only on the brand tokens (navy/gold/Playfair/Outfit).
   ========================================================================== */

/* ── Generic distinct section shell ── */
.amb-sec {
    padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
    position: relative;
}
.amb-sec--paper { background: #fff; }
.amb-sec--cream { background: linear-gradient(180deg, #faf8f4 0%, #f7f4ee 100%); }
.amb-sec--ink { background: linear-gradient(135deg, #001a36 0%, #001f3f 50%, #0a3358 100%); color: #fff; }

.amb-sec__inner { max-width: 1280px; margin: 0 auto; }

.amb-eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.amb-sec--ink .amb-eyebrow { color: var(--gold); }

.amb-h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.05;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1rem;
}
.amb-sec--ink .amb-h2 { color: #fff; }

.amb-lead {
    font-family: var(--sans);
    color: rgba(0, 31, 63, 0.72);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 60ch;
}
.amb-sec--ink .amb-lead { color: rgba(255, 255, 255, 0.78); }

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 2 — Le programme : ASYMMETRIC MAGAZINE
   Big editorial image on the left with floating tag + caption,
   4 feature blocks tiled on the right.
   ────────────────────────────────────────────────────────────────────────── */
.amb-mag {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin-top: 3rem;
    align-items: stretch;
}
.amb-mag__visual {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 380px;
    background: #001f3f;
    box-shadow: 0 30px 60px rgba(0, 31, 63, 0.18);
}
.amb-mag__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}
.amb-mag__visual::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55) 100%),
        radial-gradient(ellipse at 80% 20%, rgba(197, 160, 89, 0.25), transparent 60%);
    pointer-events: none;
}
.amb-mag__badge {
    position: absolute;
    top: 1.4rem;
    left: 1.4rem;
    z-index: 2;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    width: 64px; height: 64px;
    border-radius: 12px;
    display: grid; place-items: center;
    box-shadow: 0 12px 28px rgba(197, 160, 89, 0.4);
}
.amb-mag__caption {
    position: absolute;
    left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
    z-index: 2;
    color: #fff;
}
.amb-mag__caption span {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.amb-mag__caption h3 {
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0;
}

.amb-mag__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.amb-mag__row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
    padding: 1.25rem 1.3rem;
    background: #fff;
    border: 1px solid rgba(0, 31, 63, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 31, 63, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.amb-mag__row:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(0, 31, 63, 0.1);
}
.amb-mag__row-icon {
    width: 44px; height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.18), rgba(197, 160, 89, 0.04));
    color: var(--gold-deep);
    display: grid; place-items: center;
    font-size: 1.05rem;
}
.amb-mag__row h4 {
    font-family: var(--sans);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.amb-mag__row p {
    font-size: 0.92rem;
    color: rgba(0, 31, 63, 0.7);
    line-height: 1.6;
}

@media (min-width: 980px) {
    .amb-mag { grid-template-columns: 1.05fr 1fr; gap: 2.8rem; }
    .amb-mag__visual { min-height: 100%; }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 3 — En 3 etapes : LARGE VISUAL CARDS
   3 cards side-by-side, each: large image header + numbered ribbon +
   title + description + 3-bullet checklist.
   ────────────────────────────────────────────────────────────────────────── */
.amb-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
    margin-top: 3rem;
}
.amb-step-card {
    background: #fff;
    border: 1px solid rgba(0, 31, 63, 0.08);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.amb-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 31, 63, 0.12);
}
.amb-step-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #001f3f;
}
.amb-step-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.amb-step-card:hover .amb-step-card__media img { transform: scale(1.04); }
.amb-step-card__media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 31, 63, 0.1) 0%, rgba(0, 31, 63, 0.5) 100%);
}
.amb-step-card__ribbon {
    position: absolute;
    top: 1.1rem; left: 1.1rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.amb-step-card__ribbon strong {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--gold-deep);
    font-weight: 700;
    letter-spacing: 0;
}
.amb-step-card__icon {
    position: absolute;
    bottom: 1.1rem; right: 1.1rem;
    z-index: 2;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.95);
    color: #fff;
    display: grid; place-items: center;
    font-size: 1.05rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.amb-step-card__body {
    padding: 1.6rem 1.6rem 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.amb-step-card__body h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 0.7rem;
}
.amb-step-card__body p {
    font-size: 0.94rem;
    color: rgba(0, 31, 63, 0.72);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}
.amb-step-card__checks {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 31, 63, 0.08);
}
.amb-step-card__checks li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.35rem 0;
    color: rgba(0, 31, 63, 0.74);
    font-size: 0.88rem;
    line-height: 1.45;
}
.amb-step-card__checks li i {
    color: var(--gold);
    margin-top: 0.18rem;
    flex-shrink: 0;
    font-size: 0.85rem;
}

@media (min-width: 760px) {
    .amb-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1060px) {
    .amb-steps { grid-template-columns: repeat(3, 1fr); }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 4 — Votre opportunite : DARK NAVY MOTIVATIONAL TILES
   Replaces the En chiffres counters with value-focused storytelling.
   ────────────────────────────────────────────────────────────────────────── */
.amb-opp {
    position: relative;
    overflow: hidden;
}
.amb-opp::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.16), transparent 70%);
    pointer-events: none;
}
.amb-opp::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -10%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08), transparent 70%);
    pointer-events: none;
}
.amb-opp__inner { position: relative; z-index: 1; }

.amb-opp__head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.amb-opp__head .amb-h2 { color: #fff; }
.amb-opp__head .amb-lead { margin: 0 auto; color: rgba(255, 255, 255, 0.72); }

.amb-opp__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}
.amb-opp__tile {
    position: relative;
    padding: 2.2rem 1.8rem 2rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.amb-opp__tile:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 160, 89, 0.45);
}
.amb-opp__tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.amb-opp__num {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}
.amb-opp__icon {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.2), rgba(197, 160, 89, 0.05));
    color: var(--gold);
    display: grid; place-items: center;
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
}
.amb-opp__tile h3 {
    font-family: var(--serif);
    font-size: 1.45rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}
.amb-opp__tile p {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}
.amb-opp__tile__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.16);
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 760px) {
    .amb-opp__grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
}
@media (min-width: 1060px) {
    .amb-opp__grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 5 — Profil recherche : ENLARGED CARDS
   Bigger 2x2 cards with rich visual treatment, larger icon + text.
   ────────────────────────────────────────────────────────────────────────── */
.rb-info-grid--lg {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    max-width: 1180px !important;
}
.rb-info-grid--lg .rb-info-card {
    padding: 2.4rem 2rem 2.2rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #fbf9f4 100%);
    border: 1px solid rgba(0, 31, 63, 0.06);
    box-shadow: 0 14px 36px rgba(0, 31, 63, 0.06);
    position: relative;
    overflow: hidden;
}
.rb-info-grid--lg .rb-info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.rb-info-grid--lg .rb-info-card:hover::before { transform: scaleX(1); }
.rb-info-grid--lg .rb-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(0, 31, 63, 0.12);
}
.rb-info-grid--lg .rb-info-card__icon {
    width: 72px; height: 72px;
    border-radius: 12px;
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.22), rgba(197, 160, 89, 0.06));
    box-shadow: 0 10px 24px rgba(197, 160, 89, 0.18);
}
.rb-info-grid--lg .rb-info-card h3 {
    font-family: var(--serif);
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 0.7rem;
}
.rb-info-grid--lg .rb-info-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(0, 31, 63, 0.7);
}
.rb-info-grid--lg .rb-info-card__tag {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 31, 63, 0.05);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-deep);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 760px) {
    .rb-info-grid--lg { grid-template-columns: repeat(2, 1fr) !important; gap: 1.8rem !important; }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 6 — Avantages ambassadeur : 4 ALTERNATING EDITORIAL ROWS
   Each row: half-width image + half-width text panel, alternating sides.
   ────────────────────────────────────────────────────────────────────────── */
.amb-benefits {
    display: grid;
    gap: 2.6rem;
    margin-top: 3.5rem;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}
.amb-benefit-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
    align-items: center;
}
.amb-benefit-row__media {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: #001f3f;
    box-shadow: 0 22px 52px rgba(0, 31, 63, 0.12);
}
.amb-benefit-row__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}
.amb-benefit-row:hover .amb-benefit-row__media img { transform: scale(1.04); }
.amb-benefit-row__media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.1) 0%, transparent 50%, rgba(197, 160, 89, 0.18) 100%);
    pointer-events: none;
}
.amb-benefit-row__stamp {
    position: absolute;
    bottom: 1.2rem; left: 1.2rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.amb-benefit-row__stamp i { color: var(--gold); font-size: 0.95rem; }

.amb-benefit-row__copy { padding: 0.4rem 0; }
.amb-benefit-row__copy .amb-eyebrow { margin-bottom: 0.9rem; }
.amb-benefit-row__copy h3 {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1rem;
}
.amb-benefit-row__copy p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(0, 31, 63, 0.74);
    margin-bottom: 1.3rem;
}
.amb-benefit-row__copy ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.amb-benefit-row__copy ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.45rem 0;
    color: rgba(0, 31, 63, 0.78);
    font-size: 0.94rem;
    line-height: 1.55;
}
.amb-benefit-row__copy ul li i {
    color: var(--gold);
    margin-top: 0.22rem;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .amb-benefit-row {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }
    .amb-benefit-row--reverse .amb-benefit-row__media { order: 2; }
    .amb-benefit-row--reverse .amb-benefit-row__copy { order: 1; }
    .amb-benefit-row__copy { padding: 1rem 0; }
}

/* ============================================================
   SECTION — PERFORMANCES : average remuneration + leaderboard
============================================================ */
.amb-perf__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.amb-perf__avg {
    max-width: 540px;
    margin: 0 auto 3rem;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(201, 154, 107, 0.28);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    backdrop-filter: blur(2px);
}

.amb-perf__avg-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.amb-perf__avg-num {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.02em;
}

.amb-perf__avg-cur {
    font-size: 2.6rem;
    color: var(--gold);
    margin-left: 0.15rem;
}

.amb-perf__avg-period {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 0.04em;
}

.amb-perf__avg-label {
    margin: 0.9rem 0 0;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
}

.amb-perf__board {
    max-width: 820px;
    margin: 0 auto;
}

.amb-perf__board-head {
    text-align: center;
    margin-bottom: 1.6rem;
}

.amb-perf__board-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    color: #fff;
    margin: 0.4rem 0 0;
    letter-spacing: -0.01em;
}

.amb-perf__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.amb-perf__row {
    display: grid;
    grid-template-columns: 44px 52px 1fr auto;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.amb-perf__row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 154, 107, 0.35);
    transform: translateX(2px);
}

.amb-perf__row--gold {
    background: linear-gradient(90deg, rgba(201, 154, 107, 0.20), rgba(201, 154, 107, 0.05) 60%, rgba(255, 255, 255, 0.03));
    border-color: rgba(201, 154, 107, 0.48);
}

.amb-perf__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(201, 154, 107, 0.32);
    background: rgba(255, 255, 255, 0.06);
    position: relative;
}

.amb-perf__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(7px) saturate(0.85);
    transform: scale(1.25);
    display: block;
}

.amb-perf__row--gold .amb-perf__avatar {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 154, 107, 0.18);
}

.amb-perf__name-meta i {
    color: var(--gold);
    font-size: 0.72rem;
    margin-right: 0.3rem;
    opacity: 0.9;
}

.amb-perf__rank {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.02em;
}

.amb-perf__row--gold .amb-perf__rank {
    color: var(--gold);
}

.amb-perf__name {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.amb-perf__name-main {
    font-weight: 600;
    color: #fff;
    font-size: 1.05rem;
    /* Names are anonymised on the public teaser, like the avatars */
    filter: blur(5px);
    user-select: none;
}

.amb-perf__name-meta {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

.amb-perf__amount {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.amb-perf__row--gold .amb-perf__amount {
    font-size: 1.8rem;
}

.amb-perf__cur {
    font-size: 0.78em;
    margin-left: 0.1rem;
}

.amb-perf__disclaimer {
    margin: 1.8rem auto 0;
    max-width: 640px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    .amb-perf__avg { padding: 1.8rem 1.2rem; }
    .amb-perf__avg-num { font-size: 3.2rem; }
    .amb-perf__avg-cur { font-size: 1.9rem; }
    .amb-perf__avg-period { font-size: 1.1rem; }
    .amb-perf__board-title { font-size: 1.3rem; }
    .amb-perf__row {
        grid-template-columns: 32px 40px 1fr auto;
        gap: 0.7rem;
        padding: 0.9rem 1rem;
    }
    .amb-perf__avatar { width: 40px; height: 40px; }
    .amb-perf__rank { font-size: 1.3rem; }
    .amb-perf__amount { font-size: 1.2rem; }
    .amb-perf__row--gold .amb-perf__amount { font-size: 1.4rem; }
    .amb-perf__name-main { font-size: 0.96rem; }
    .amb-perf__name-meta { font-size: 0.74rem; }
}
