/*
 * agencies_partnership overlay
 * Loaded AFTER rebrand26cc.css. Self-contained vocabulary for the agency
 * landing page: institutional / B2B aesthetic — navy-dominant, crisp 1px
 * borders, minimal shadows, spec-table layouts, horizontal numbered process,
 * less gold accenting than the ambassador page.
 */

:root {
    --ag-line:        rgba(0, 31, 63, 0.12);
    --ag-line-soft:   rgba(0, 31, 63, 0.06);
    --ag-text:        rgba(0, 31, 63, 0.86);
    --ag-text-mute:   rgba(0, 31, 63, 0.62);
    --ag-bg:          #f6f7fa;
    --ag-bg-deep:     #eef0f5;
}

/* ──────────────────────────────────────────────────────────────────────────
   HERO (still-image variant, centered content)
   Self-contained copy of the pattern from the ambassador overlay so the
   agency page can ship without that file.
   ────────────────────────────────────────────────────────────────────────── */
.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.62) 0%, rgba(0, 16, 36, 0.38) 35%, rgba(0, 16, 36, 0.82) 100%),
        var(--rb-hero-image);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    position: relative;
    overflow: hidden;
}
.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.18), transparent 65%);
    pointer-events: none;
    z-index: 1;
}
.rb-hero--still .rb-hero__bg { display: none !important; }
.rb-hero--still .rb-hero__overlay { display: none !important; }

.rb-hero--still .rb-hero__content {
    position: relative;
    z-index: 3;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}
.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.28;
    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.84);
    max-width: 660px;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.7;
}

.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.2);
    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; }

.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;
}
.rb-hero--still .rb-hero__scroll-hint { opacity: 0.65; }

@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%; }
}

/* ──────────────────────────────────────────────────────────────────────────
   GENERIC SECTION SHELL
   ────────────────────────────────────────────────────────────────────────── */
.ag-sec {
    padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
    position: relative;
}
.ag-sec--white { background: #fff; }
.ag-sec--mute { background: var(--ag-bg); }
.ag-sec--rule { border-top: 1px solid var(--ag-line); }
.ag-sec--ink {
    background: linear-gradient(135deg, #001a36 0%, #001f3f 50%, #0a3358 100%);
    color: #fff;
}
.ag-sec__inner { max-width: 1240px; margin: 0 auto; }

.ag-sec__head {
    max-width: 760px;
    margin-bottom: 3rem;
}
.ag-sec__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ag-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 1.1rem;
}
.ag-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold);
}
.ag-sec--ink .ag-eyebrow { color: var(--gold); }
.ag-sec--ink .ag-eyebrow::before { background: var(--gold); }

.ag-h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.08;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.ag-sec--ink .ag-h2 { color: #fff; }

.ag-lead {
    font-family: var(--sans);
    color: var(--ag-text-mute);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 62ch;
}
.ag-sec--ink .ag-lead { color: rgba(255, 255, 255, 0.78); }

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 2 — Le programme : 3 PILLARS
   Three white columns, navy-bordered, header + intro + checklist.
   ────────────────────────────────────────────────────────────────────────── */
.ag-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin-top: 1.5rem;
}
.ag-pillar {
    background: #fff;
    border: 1px solid var(--ag-line);
    border-radius: 10px;
    padding: 2rem 1.7rem 1.8rem;
    position: relative;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.ag-pillar:hover {
    border-color: rgba(0, 31, 63, 0.32);
    transform: translateY(-3px);
}
.ag-pillar::before {
    content: '';
    position: absolute;
    top: 0; left: 1.7rem; right: 1.7rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0.18);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.ag-pillar:hover::before { transform: scaleX(1); }
.ag-pillar__num {
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-bottom: 0.9rem;
}
.ag-pillar h3 {
    font-family: var(--serif);
    font-size: 1.45rem;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 0.7rem;
}
.ag-pillar > p {
    font-size: 0.94rem;
    color: var(--ag-text-mute);
    line-height: 1.65;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--ag-line-soft);
}
.ag-pillar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ag-pillar ul li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.7rem;
    align-items: start;
    padding: 0.45rem 0;
    color: var(--ag-text);
    font-size: 0.9rem;
    line-height: 1.55;
}
.ag-pillar ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--navy);
    border-radius: 50%;
    margin-top: 0.5rem;
    margin-left: 4px;
}

@media (min-width: 760px) {
    .ag-pillars { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 3 — Avantages partenariat : 4 INSTITUTIONAL TILES
   Compact 4-column on desktop, no images, navy-numbered.
   ────────────────────────────────────────────────────────────────────────── */
.ag-bench {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin-top: 1.5rem;
}
.ag-bench-item {
    background: #fff;
    border: 1px solid var(--ag-line);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ag-bench-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 31, 63, 0.28);
    box-shadow: 0 22px 44px rgba(0, 31, 63, 0.08);
}
.ag-bench-item__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #001f3f;
}
.ag-bench-item__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    filter: saturate(0.92);
}
.ag-bench-item:hover .ag-bench-item__media img { transform: scale(1.04); }
.ag-bench-item__media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 31, 63, 0.06) 0%, rgba(0, 31, 63, 0.45) 100%);
    pointer-events: none;
}
.ag-bench-item__num {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: var(--navy);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.ag-bench-item__body {
    padding: 1.6rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ag-bench-item h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 0.7rem;
}
.ag-bench-item p {
    font-size: 0.93rem;
    color: var(--ag-text-mute);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.ag-bench-item ul {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--ag-line-soft);
}
.ag-bench-item ul li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    padding: 0.35rem 0;
    color: var(--ag-text);
    font-size: 0.88rem;
    line-height: 1.5;
}
.ag-bench-item ul li i {
    color: var(--gold);
    font-size: 0.78rem;
    margin-top: 0.32rem;
    flex-shrink: 0;
}

@media (min-width: 800px) {
    .ag-bench { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 4 — Conditions d'eligibilite : SPEC TABLE
   Key-value rows in a clean institutional table.
   ────────────────────────────────────────────────────────────────────────── */
.ag-spec {
    max-width: 1180px;
    margin: 1.5rem auto 0;
    background: #fff;
    border: 1px solid var(--ag-line);
    border-radius: 10px;
    overflow: hidden;
}
.ag-spec-row__key {
    /* slightly wider key column on desktop */
}
.ag-spec-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    border-bottom: 1px solid var(--ag-line-soft);
    transition: background 0.2s ease;
}
.ag-spec-row:last-child { border-bottom: none; }
.ag-spec-row:hover { background: var(--ag-bg); }
.ag-spec-row__key {
    padding: 1.1rem 1.4rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--navy);
    text-transform: uppercase;
    background: var(--ag-bg);
    border-right: 1px solid var(--ag-line);
    display: flex;
    align-items: center;
}
.ag-spec-row__val {
    padding: 1.1rem 1.4rem;
    color: var(--ag-text);
    font-size: 0.95rem;
    line-height: 1.55;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.ag-spec-row__val i { color: var(--gold); font-size: 0.85rem; flex-shrink: 0; }

@media (max-width: 680px) {
    .ag-spec-row { grid-template-columns: 1fr; }
    .ag-spec-row__key { border-right: none; border-bottom: 1px solid var(--ag-line-soft); padding-bottom: 0.5rem; }
    .ag-spec-row__val { padding-top: 0.7rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 5 — Le processus : HORIZONTAL NUMBERED FLOW
   Numbered circles connected by a horizontal line, with arrows between.
   ────────────────────────────────────────────────────────────────────────── */
.ag-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 1.5rem;
    position: relative;
}
.ag-flow-step {
    text-align: center;
    position: relative;
    padding: 0 0.5rem;
    z-index: 2;
}
.ag-flow-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--navy);
    color: var(--navy);
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 1.2rem;
    position: relative;
    z-index: 2;
    transition: background 0.3s ease, color 0.3s ease;
}
.ag-flow-step:hover .ag-flow-step__num {
    background: var(--navy);
    color: #fff;
}
.ag-flow-step h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.ag-flow-step p {
    font-size: 0.88rem;
    color: var(--ag-text-mute);
    line-height: 1.55;
    max-width: 240px;
    margin: 0 auto;
}

@media (min-width: 800px) {
    .ag-flow {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    /* Connecting line behind the numbered circles */
    .ag-flow::before {
        content: '';
        position: absolute;
        top: 32px;
        left: calc(12.5% + 32px);
        right: calc(12.5% + 32px);
        height: 1px;
        background: linear-gradient(90deg, var(--navy) 0%, var(--ag-line) 50%, var(--navy) 100%);
        opacity: 0.4;
        z-index: 1;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 6 — VOTRE OPPORTUNITE (dark navy callout strip)
   A condensed motivational strip between sections.
   ────────────────────────────────────────────────────────────────────────── */
.ag-callout {
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
    background: linear-gradient(135deg, #001a36 0%, #001f3f 60%, #0a3358 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ag-callout::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 540px; height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.16), transparent 65%);
    pointer-events: none;
}
.ag-callout__inner {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.ag-callout__copy { max-width: 640px; }
.ag-callout__copy .ag-eyebrow { color: var(--gold); }
.ag-callout__copy .ag-eyebrow::before { background: var(--gold); }
.ag-callout__copy h2 {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.15;
    color: #fff;
    margin-bottom: 0.9rem;
}
.ag-callout__copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.7;
}
.ag-callout__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}
.ag-callout__stat {
    padding: 1.4rem 1.2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.ag-callout__stat:hover {
    border-color: rgba(197, 160, 89, 0.5);
    transform: translateY(-2px);
}
.ag-callout__stat__icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(197, 160, 89, 0.18);
    color: var(--gold);
    display: grid; place-items: center;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}
.ag-callout__stat strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    color: var(--gold);
    line-height: 1.05;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}
.ag-callout__stat span {
    display: block;
    font-family: var(--sans);
    font-size: 0.92rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.3rem;
}
.ag-callout__stat small {
    display: block;
    font-family: var(--sans);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

@media (min-width: 880px) {
    .ag-callout__inner { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 3.5 — RESULTATS PARTENAIRES (leaderboard)
   Navy/gold panel inserted between Avantages and Conditions.
   Each row scales its bar fill via inline --bar (set 0–100%).
   ────────────────────────────────────────────────────────────────────────── */
.ag-results {
    padding: clamp(3.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3.5rem);
    background: linear-gradient(160deg, #001a36 0%, #00264f 55%, #0a3a66 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ag-results::before {
    content: '';
    position: absolute;
    bottom: -25%; left: -10%;
    width: 620px; height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.14), transparent 65%);
    pointer-events: none;
}
.ag-results__inner {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    align-items: center;
}
.ag-results__copy { max-width: 520px; }
.ag-results__copy .ag-eyebrow { color: var(--gold); }
.ag-results__copy .ag-eyebrow::before { background: var(--gold); }
.ag-results__title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.18;
    color: #fff;
    margin-bottom: 0.9rem;
}
.ag-results__lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}
.ag-results__meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.ag-results__meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}
.ag-results__meta-pill i {
    color: var(--gold);
    font-size: 0.78rem;
}

.ag-results__board {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.ag-results__row {
    display: grid;
    grid-template-columns: 52px 42px 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.ag-results__row:hover {
    border-color: rgba(197, 160, 89, 0.45);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}
.ag-results__row--gold {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.20), rgba(197, 160, 89, 0.05));
    border-color: rgba(197, 160, 89, 0.5);
}
.ag-results__rank {
    font-family: var(--serif);
    font-size: 1.55rem;
    color: var(--gold);
    text-align: center;
    line-height: 1;
    letter-spacing: -0.02em;
}
.ag-results__row--gold .ag-results__rank {
    font-size: 1.9rem;
}
/* Logo badge — intentionally blurred to keep partner identities anonymous. */
.ag-results__logo {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.ag-results__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(2.5px);
    transform: scale(1.12); /* hide the blur's soft edges against the tile */
}
.ag-results__body { min-width: 0; }
.ag-results__head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
}
.ag-results__agency {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
    letter-spacing: 0.04em;
    /* Blurred for anonymity — identities are intentionally not revealed. */
    filter: blur(4px);
    -webkit-user-select: none;
    user-select: none;
}
.ag-results__city {
    font-family: var(--sans);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}
.ag-results__bar {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.ag-results__bar__fill {
    height: 100%;
    width: var(--bar, 50%);
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.55), var(--gold));
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ag-results__amount {
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.ag-results__row--gold .ag-results__amount {
    font-size: clamp(1.25rem, 1.9vw, 1.55rem);
}

@media (min-width: 880px) {
    .ag-results__inner { grid-template-columns: 1fr 1.3fr; gap: 3rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 7 — FAQ
   ────────────────────────────────────────────────────────────────────────── */
.ag-faq-list {
    max-width: 900px;
    margin: 1.5rem auto 0;
    border: 1px solid var(--ag-line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.ag-faq-item {
    border-bottom: 1px solid var(--ag-line-soft);
}
.ag-faq-item:last-child { border-bottom: none; }
.ag-faq-item summary {
    display: grid;
    grid-template-columns: 1fr 24px;
    align-items: center;
    gap: 0.8rem;
    padding: 1.3rem 1.6rem;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease;
}
.ag-faq-item summary:hover { background: var(--ag-bg); }
.ag-faq-item summary::-webkit-details-marker { display: none; }
.ag-faq-chevron {
    font-size: 0.78rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}
.ag-faq-item[open] > summary .ag-faq-chevron { transform: rotate(90deg); }
.ag-faq-item[open] > summary { background: var(--ag-bg); }
.ag-faq-item p {
    padding: 0 1.6rem 1.4rem;
    font-size: 0.94rem;
    color: var(--ag-text);
    line-height: 1.7;
    background: var(--ag-bg);
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 8 — Devenir partenaire : CONTACT SPLIT WITH FORM CARDS
   ────────────────────────────────────────────────────────────────────────── */
.ag-cta {
    padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3.5rem);
    background: var(--ag-bg);
}
.ag-cta__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    align-items: start;
}
.ag-cta__info { padding-top: 0.4rem; }
.ag-cta__info h2 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--navy); line-height: 1.1; margin-bottom: 1rem; }
.ag-cta__info p { color: var(--ag-text-mute); font-size: 1rem; line-height: 1.7; margin-bottom: 1.6rem; max-width: 460px; }
.ag-cta__contact {
    border: 1px solid var(--ag-line);
    border-radius: 10px;
    padding: 1.4rem 1.5rem;
    background: #fff;
}
.ag-cta__contact h4 {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.ag-cta__contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ag-cta__contact ul li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem 0;
    color: var(--ag-text);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--ag-line-soft);
}
.ag-cta__contact ul li:last-child { border-bottom: none; }
.ag-cta__contact ul li i {
    width: 28px; height: 28px;
    background: rgba(0, 31, 63, 0.06);
    color: var(--navy);
    border-radius: 8px;
    display: grid; place-items: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.ag-cta__contact ul li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ag-cta__contact ul li a:hover { color: var(--gold); }

.ag-cta__form-wrap {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--ag-line);
    box-shadow: 0 18px 40px rgba(0, 31, 63, 0.07);
}
.ag-cta__form-head {
    padding: 1.5rem 1.8rem;
    background: linear-gradient(135deg, #001a36 0%, #001f3f 60%, #0a3358 100%);
    color: #fff;
}
.ag-cta__form-head h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.ag-cta__form-head p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}
.ag-cta__form-body { padding: 1.6rem 1.8rem 1.8rem; }

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

/* ── Form cards (institutional vibe — flatter, navy-bordered) ── */
.ag-form-card {
    padding: 1.1rem 1.1rem 1rem;
    border: 1px solid var(--ag-line);
    border-radius: 10px;
    background: #fff;
    margin-bottom: 0.9rem;
}
.ag-form-card__head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--ag-line-soft);
}
.ag-form-card__num {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 0.78rem;
    flex-shrink: 0;
}
.ag-form-card__title {
    font-family: var(--sans);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.ag-form-card__hint {
    margin-left: auto;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ag-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--ag-bg);
    border: 1px solid var(--ag-line);
}

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

/* Dropzone */
.ag-dropzone {
    border: 2px dashed var(--ag-line);
    border-radius: 8px;
    padding: 1.1rem 1rem;
    background: var(--ag-bg);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.ag-dropzone:hover { border-color: var(--navy); background: #fff; }
.ag-dropzone.is-dragging { border-color: var(--navy); background: #fff; }
.ag-dropzone .fa-cloud-arrow-up,
.ag-dropzone .fa-file-arrow-up {
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    display: block;
}
.ag-dropzone__name {
    margin: 0.3rem 0 0.18rem;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.88rem;
    word-break: break-word;
}
.ag-dropzone small {
    color: var(--ag-text-mute);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Submit button: institutional navy with gold border */
.ag-submit {
    width: 100%;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: #fff;
    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: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s ease;
    margin-top: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}
.ag-submit:hover:not(:disabled) {
    background: #0a2c52;
    box-shadow: 0 12px 30px rgba(0, 31, 63, 0.28);
    transform: translateY(-1px);
}
.ag-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.ag-submit i.fa-arrow-right { font-size: 0.7rem; transition: transform 0.2s ease; }
.ag-submit:hover:not(:disabled) i.fa-arrow-right { transform: translateX(3px); }

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

/* Success state */
.ag-success {
    padding: 2rem 1.6rem;
    text-align: center;
}
.ag-success__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(0, 31, 63, 0.08);
    color: var(--navy);
    display: grid; place-items: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
}
.ag-success h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.ag-success p {
    color: var(--ag-text-mute);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.ag-success ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1rem auto 0;
    max-width: 400px;
    border: 1px solid var(--ag-line);
    border-radius: 8px;
    overflow: hidden;
}
.ag-success ul li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.7rem 0.9rem;
    color: var(--ag-text);
    font-size: 0.88rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--ag-line-soft);
}
.ag-success ul li:last-child { border-bottom: none; }
.ag-success ul li i {
    color: var(--gold);
    margin-top: 0.18rem;
    flex-shrink: 0;
}

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