/* ═══════════════════════════════════════════════════════════════════════════
   ELOYA — Refonte UI 2025
   Direction artistique : "L'Expertise Bienveillante"
   Mobile First • SEO Optimisé • Performances maximales
   ═══════════════════════════════════════════════════════════════════════════ */



/* ─────────────────────────────────────────────────────────────────────────────
   PALETTE COULEURS (selon cahier des charges)
   ───────────────────────────────────────────────────────────────────────────── */
:root {
    /* Couleur Principale — Bleu Abysse (sérieux, autorité) */
    --deep-navy: #003366;

    /* Couleur d'Accent — Ocre Brûlé (CTA, conversion) */
    --warm-terracotta: #FF6B35;
    --warm-terracotta-hover: #E85A2D;
    --warm-terracotta-light: rgba(255, 107, 53, 0.1);

    /* Couleur de Fond — Sable Clair (confort visuel) */
    --off-white: #FFFFFF;

    /* Couleur de Validation — Vert Sauge (réassurance) */
    --sage-green: #81B29A;
    --sage-green-light: rgba(129, 178, 154, 0.15);

    /* Nuances neutres */
    --surface: #FFFFFF;
    --surface-2: #F8F9FA;
    --text: #1A2A3A;
    --text-secondary: #4A5568;
    --muted: #6B7280;
    --muted-2: #9CA3AF;
    --stroke: #E5E7EB;
    --stroke-light: rgba(229, 231, 235, 0.6);

    /* Ombres */
    --shadow-sm: 0 1px 2px rgba(0, 51, 102, 0.04);
    --shadow: 0 4px 12px rgba(0, 51, 102, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 51, 102, 0.12);
    --shadow-terracotta: 0 4px 16px rgba(255, 107, 53, 0.3);

    /* Rayons */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Layout */
    --content: 1140px;
    --gutter: clamp(20px, 5vw, 40px);

    /* Typographie responsive */
    --h1: clamp(2rem, 5vw, 3.25rem);
    --h2: clamp(1.5rem, 3vw, 2.25rem);
    --h3: clamp(1.125rem, 1.5vw, 1.375rem);
    --p: clamp(0.9375rem, 1vw, 1.0625rem);
    --small: 0.875rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: var(--p);
    line-height: 1.7;
    color: var(--text);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Offset pour header sticky */
main [id] {
    scroll-margin-top: 100px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TYPOGRAPHIE
   ───────────────────────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--deep-navy);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--h1);
    font-weight: 800;
}

h2 {
    font-size: var(--h2);
}

h3 {
    font-size: var(--h3);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--warm-terracotta);
    text-decoration: none;
    transition: color 200ms ease;
}

a:hover {
    color: var(--warm-terracotta-hover);
}

.container {
    max-width: var(--content);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ─────────────────────────────────────────────────────────────────────────────
   ACCESSIBILITÉ
   ───────────────────────────────────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    left: var(--gutter);
    top: 16px;
    width: auto;
    height: auto;
    padding: 12px 20px;
    background: var(--deep-navy);
    color: #fff;
    border-radius: var(--radius);
    z-index: 10000;
    font-weight: 600;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HEADER (Mobile First)
   ───────────────────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.site-header .container {
    position: relative;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
    flex-wrap: nowrap;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    height: 40px;
    width: auto;
    transition: opacity 200ms ease;
}

.brand:hover img {
    opacity: 0.8;
}

/* Navigation Desktop - cachée par défaut (Mobile First) */
.nav {
    display: none;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 4px 0;
    border-radius: 0;
    transition: color 300ms ease;
    position: relative;
    white-space: nowrap;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--warm-terracotta);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 300ms ease;
}

.nav a:hover {
    color: var(--deep-navy);
    background: transparent;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav a[aria-current="page"] {
    color: var(--deep-navy);
    background: transparent;
    font-weight: 600;
}

.header-cta {
    display: none;
}

/* Menu mobile (CSS-only) */
.nav-details {
    display: block;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: var(--radius);
    border: 2px solid var(--deep-navy);
    background: var(--surface);
    color: var(--deep-navy);
    font-size: var(--small);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: all 200ms ease;
}

.nav-summary:hover {
    background: var(--deep-navy);
    color: #fff;
}

.nav-details[open] .nav-summary {
    background: var(--deep-navy);
    color: #fff;
}

.nav-summary::-webkit-details-marker {
    display: none;
}

.nav-summary:focus-visible {
    outline: 3px solid var(--warm-terracotta-light);
    outline-offset: 2px;
}

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--stroke);
    box-shadow: var(--shadow-lg);
    animation: slideDown 200ms ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav a {
    display: block;
    padding: 14px 16px;
    margin: 4px 0;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--stroke);
    color: var(--text-secondary);
    font-weight: 500;
    min-height: 44px;
    transition: all 200ms ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: #fff;
    background: var(--deep-navy);
    border-color: var(--deep-navy);
}

.mobile-nav a.mobile-nav-cta {
    background: var(--warm-terracotta);
    color: #fff;
    border-color: var(--warm-terracotta);
    text-align: center;
    margin-top: 12px;
}

.mobile-nav a.mobile-nav-cta:hover,
.mobile-nav a.mobile-nav-cta:focus {
    background: var(--warm-terracotta-hover);
    border-color: var(--warm-terracotta-hover);
}

/* Desktop breakpoint */
@media (min-width: 920px) {
    .brand img {
        height: 60px;
    }

    .nav {
        display: flex;
    }

    .header-cta {
        display: flex;
        flex-shrink: 0;
    }

    .nav-details {
        display: none;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   BOUTONS (44px min pour mobile)
   ───────────────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    font-size: var(--small);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--warm-terracotta);
    color: #fff;
    border-color: var(--warm-terracotta);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--warm-terracotta-hover);
    border-color: var(--warm-terracotta-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-terracotta);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--surface);
    border-color: var(--stroke);
    color: var(--deep-navy);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--warm-terracotta);
    color: var(--warm-terracotta);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.8125rem;
}

.btn:focus-visible {
    outline: 3px solid var(--warm-terracotta-light);
    outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.hero {
    padding: clamp(48px, 8vw, 80px) 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 51, 102, 0.03) 100%);
}

.hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-trust {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.trust-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-logos img {
    height: 48px;
    width: auto;
    opacity: 0.9;
    transition: all 300ms ease;
}

.trust-logos img:hover {
    transform: scale(1.05);
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.kicker .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage-green);
}

.hero h1 {
    margin-bottom: 20px;
}

.hero .lead {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

/* Variant: hero avec portrait (page Coaching) */
.hero--with-portrait {
    position: relative;
}

.hero--with-portrait.hero-flashy::before {
    z-index: 0;
}

.hero--with-portrait .container {
    position: relative;
    z-index: 1;
}

.hero-grid--portrait {
    align-items: end;
}

.hero-copy {
    max-width: 720px;
}

.hero-media {
    max-width: 460px;
    margin: 0 auto;
}

@media (min-width: 920px) {
    .hero-media {
        margin: 0 0 0 auto;
    }
}

.portrait-card {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-xl);
    padding: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.portrait-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-xl) - 6px);
    object-fit: cover;
}

@media (min-width: 920px) {
    .portrait-img {
        min-height: 380px;
    }
}

.portrait-card .mini {
    margin: 10px 2px 0;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero--with-portrait .hero-actions {
        justify-content: flex-start;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   3 CARTES PERSONA (Homepage — élément central)
   ───────────────────────────────────────────────────────────────────────────── */
.persona-section {
    padding: clamp(48px, 8vw, 80px) 0;
}

.persona-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.persona-section .section-header h2 {
    margin-bottom: 12px;
}

.persona-section .section-header .sub {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.persona-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .persona-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* Carte Persona individuelle */
.persona-card {
    position: relative;
    background: var(--surface);
    border: 2px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Lien overlay invisible couvrant toute la carte */
.persona-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Les boutons doivent rester cliquables au-dessus du lien overlay */
/* .persona-cta moved to main definition block */

.persona-card--clickable:focus {
    outline: 3px solid var(--warm-terracotta);
    outline-offset: 2px;
}

.persona-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--warm-terracotta);
    transform: scaleX(0);
    transition: transform 300ms ease;
}

.persona-card:hover {
    border-color: var(--warm-terracotta);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.persona-card:hover::before {
    transform: scaleX(1);
}

.persona-card.active {
    border-color: var(--warm-terracotta);
    box-shadow: var(--shadow-lg);
}

.persona-card.active::before {
    transform: scaleX(1);
}

.persona-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.persona-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    background: var(--warm-terracotta-light);
    flex-shrink: 0;
}

.persona-icon svg {
    width: 28px;
    height: 28px;
    color: var(--warm-terracotta);
}

.persona-label {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0;
}

.persona-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.persona-hook {
    color: var(--warm-terracotta);
    font-weight: 600;
    font-size: var(--small);
    margin-bottom: 16px;
}

.persona-benefits {
    list-style: none;
}

.persona-benefits li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: var(--small);
}

.persona-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: 700;
}

.persona-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.persona-cta .btn {
    width: 100%;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SECTION CERTIFICATIONS (Qualiopi proéminent pour DRH)
   ───────────────────────────────────────────────────────────────────────────── */
.certifications-bar {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-top: 28px;
}

.certifications-bar .label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sage-green);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.certifications-bar .label::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--sage-green);
    color: #fff;
    border-radius: 50%;
    font-size: 0.625rem;
}

.certifications-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.certifications-logos img {
    height: 64px;
    width: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--stroke);
    background: var(--surface);
}

.certifications-logos .cert-text {
    font-size: var(--small);
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .certifications-logos {
        gap: 20px;
    }

    .certifications-logos img {
        height: 72px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SECTIONS GÉNÉRIQUES
   ───────────────────────────────────────────────────────────────────────────── */
.section {
    padding: clamp(48px, 4vw, 96px) 0;
}

.section-alt {
    background: var(--surface);
    border-top: 1px solid var(--stroke);
    border-bottom: 1px solid var(--stroke);
}

.section h2 {
    margin-bottom: 12px;
}

.section .sub {
    color: var(--text-secondary);
    /*    margin-bottom: 32px;
    max-width: 65ch;*/
}

/* Grilles */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   CARDS
   ───────────────────────────────────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 250ms ease;
}

.card:hover {
    box-shadow: var(--shadow);
    border-color: var(--stroke);
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.card .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--warm-terracotta-light);
    color: var(--warm-terracotta);
    margin-bottom: 16px;
}

.card .list {
    list-style: none;
    margin-bottom: 20px;
}

.card .list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: var(--small);
}

.offer-card {
    display: flex;
    flex-direction: column;
}

.offer-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.offer-content .hero-actions {
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
}

.offer-content .btn {
    width: 100%;
}

.card .list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MÉTHODE (Étapes)
   ───────────────────────────────────────────────────────────────────────────── */
.method-card {
    text-align: center;
    padding: 32px 24px;
}

.method-card .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--warm-terracotta);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.method-card h3 {
    margin-bottom: 12px;
}

.method-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LOGOS CLIENTS (Preuves)
   ───────────────────────────────────────────────────────────────────────────── */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 24px 0;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .logo-grid {
        gap: 48px;
    }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12;
    background: transparent;
    border: none;
    transition: all 250ms ease;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item img {
    max-width: 100px;
    max-height: 53px;
    width: auto;
    filter: grayscale(1) opacity(0.6);
    transition: all 300ms ease;
}

.logo-item:hover img {
    filter: grayscale(0) opacity(1);
}

/* ─────────────────────────────────────────────────────────────────────────────
   TÉMOIGNAGES
   ───────────────────────────────────────────────────────────────────────────── */
.quote {
    background: #fff;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    border-color: var(--stroke-light);
}

.quote::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 24px;
    font-size: 4rem;
    color: var(--warm-terracotta);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 20px;
    padding-top: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.quote .who {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--deep-navy);
}

.quote .role {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CALLOUT (CTA Final)
   ───────────────────────────────────────────────────────────────────────────── */
.callout {
    background: linear-gradient(135deg, var(--deep-navy) 0%, #2D4356 100%);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 40px);
    text-align: center;
    color: #fff;
}

.callout h2 {
    color: #fff;
    margin-bottom: 8px;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.callout p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 16px;
    font-size: clamp(0.9rem, 1vw, 1rem);
}

.callout .btn-primary {
    background: var(--warm-terracotta);
    border-color: var(--warm-terracotta);
}

.callout .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.callout .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.callout .mini {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FORMULAIRES
   ───────────────────────────────────────────────────────────────────────────── */
.form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .form {
        grid-template-columns: repeat(2, 1fr);
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-size: var(--small);
    font-weight: 500;
    color: var(--text-secondary);
}

input,
textarea,
select {
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    background: var(--surface);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 200ms ease;
}

input:hover,
textarea:hover,
select:hover {
    border-color: var(--muted-2);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--warm-terracotta);
    box-shadow: 0 0 0 3px var(--warm-terracotta-light);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────────── */
.footer {
    background: var(--deep-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 200ms ease;
}

.footer a:hover {
    color: #fff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE CTA STICKY
   ───────────────────────────────────────────────────────────────────────────── */
.mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    padding: 12px var(--gutter);
    gap: 12px;
    justify-content: center;
    background: rgba(248, 249, 250, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--stroke);
}

body {
    padding-bottom: 80px;
}

@media (min-width: 920px) {
    .mobile-cta {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   UTILITAIRES
   ───────────────────────────────────────────────────────────────────────────── */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--muted);
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.hr {
    height: 1px;
    background: var(--stroke);
    border: 0;
    margin: 32px 0;
}

/* Pills/Tags */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface-2);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    transition: all 200ms ease;
}

.pill:hover {
    border-color: var(--warm-terracotta);
    color: var(--warm-terracotta);
}

/* Avatar */
.avatar-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--stroke);
}

.meta {
    font-size: var(--small);
    color: var(--muted);
}

/* Badges certifications inline */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.badges img {
    height: 44px;
    width: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--stroke);
    background: var(--surface);
}

.badges span {
    font-size: var(--small);
    color: var(--muted);
}

/* Mini text */
.mini {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* Hero card */
.hero-card {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-card h3 {
    margin: 16px 0 8px;
}

.hero-card p {
    color: var(--text-secondary);
    font-size: var(--small);
    margin: 0;
}

/* Hero grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 920px) {
    .hero-grid {
        grid-template-columns: 1.3fr 0.7fr;
        gap: 48px;
    }
}

/* Icon badge */
.icon-badge {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-terracotta-light);
    margin-bottom: 16px;
}

.icon-badge .icon {
    width: 26px;
    height: 26px;
    color: var(--warm-terracotta);
}

/* Door cards (structure persona) */
.doors {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .doors {
        grid-template-columns: repeat(3, 1fr);
    }
}

.door-card {
    background: var(--surface);
    border: 2px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 300ms ease;
}

.door-card:hover {
    border-color: var(--warm-terracotta);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.door-card h3 {
    margin: 12px 0 10px;
}

.door-card .mini {
    margin-bottom: 16px;
}

.door-card .list {
    list-style: none;
    margin-bottom: 16px;
}

.door-card .list li {
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
    font-size: var(--small);
    color: var(--text-secondary);
}

.door-card .list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: 700;
}

/* Tag étape */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: var(--surface);
    color: var(--deep-navy);
    margin-bottom: 12px;
}

.tag .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warm-terracotta);
}

/* Lead text */
.lead {
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.75;
}

/* List générique */
.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
}

.list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: 700;
}

/* Font semibold utility */
.font-semibold {
    font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PHOTO ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────────── */
.photo-enhanced {
    filter: contrast(1.05) saturate(1.1) brightness(1.02);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.photo-enhanced:hover {
    transform: scale(1.015);
    box-shadow: var(--shadow-lg);
    filter: contrast(1.05) saturate(1.15) brightness(1.05);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-bottom: 0;
    filter: contrast(1.05) saturate(1.1);
    transition: transform 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

/* Image dans la hero-card (Formations managériales) */
.hero-card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    margin-bottom: 14px;
}

/* Page À propos : images plus compactes + alignées */
.page-a-propos .hero-card--media {
    max-width: 260px;
    padding: 0;
    overflow: hidden;
}

.page-a-propos .hero-card-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
}

.page-a-propos .grid-2 img.photo-enhanced:not(.hero-card-img) {
    display: block;
    width: auto;
    max-width: min(260px, 100%);
    max-height: 260px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-a-propos .hero-card--media {
        max-width: 200px;
        margin: 0 auto;
    }

    .page-a-propos .grid-2 img.photo-enhanced:not(.hero-card-img) {
        width: min(200px, 100%);
    }
}

@media (min-width: 920px) {
    .hero-card-img {
        height: 300px;
    }
}

@media (min-width: 920px) {

    .page-a-propos .hero-grid,
    .page-a-propos .bio-grid {
        grid-template-columns: 1.4fr 0.6fr;
    }
}

/* Formation: image plus présente dans le hero */
@media (min-width: 920px) {
    .hero--formation .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-card--media {
    padding: 18px;
}

.hero-media-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.certs-below-photo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--stroke-light);
}


.partner-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--stroke-light);
}

.partner-row img {
    height: 60px;
    width: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--stroke);
    background: var(--surface);
}

@media (min-width: 768px) {
    .partner-row img {
        height: 68px;
    }
}

.certs-below-photo img {
    height: 60px;
    width: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--stroke);
    background: var(--surface);
}

@media (min-width: 768px) {
    .certs-below-photo img {
        height: 68px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   MODIFICATIONS 23 DEC 2025 (UI/UX Modernization)
   ───────────────────────────────────────────────────────────────────────────── */

/* 1. Certifications in Nav */
.nav-certs {
    display: none;
    /* Hidden on mobile */
    align-items: center;
    gap: 12px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--stroke);
}

.nav-certs img {
    height: 32px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-certs img:hover {
    opacity: 1;
}

@media (min-width: 1100px) {
    .nav-certs {
        display: flex;
    }
}

/* 2. Hero Flashy */
.hero-flashy {
    background: radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(180deg, #FFFFFF 0%, #F0F4F8 100%);
    position: relative;
    overflow: hidden;
}

.hero-flashy::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(129, 178, 154, 0.1) 0%, transparent 60%);
    animation: pulse-bg 15s infinite alternate;
    pointer-events: none;
}

@keyframes pulse-bg {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-flashy h1 {
    background: linear-gradient(135deg, var(--deep-navy) 0%, #2A4B7C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.hero-flashy .lead {
    font-size: 1.25rem;
    color: var(--text);
    font-weight: 500;
}

/* 3. Differentiated Persona Cards */
.persona-card {
    border-top-width: 6px;
}

/* Startup: Energetic, Fast */
.persona-startup {
    border-top-color: #FF6B35;
    /* Terracotta */
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.03) 0%, #FFFFFF 100%);
}

.persona-startup .persona-icon {
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
}

/* CODIR: Stable, Trust, Deep */
.persona-codir {
    border-top-color: #003366;
    /* Navy */
    background: linear-gradient(180deg, rgba(0, 51, 102, 0.03) 0%, #FFFFFF 100%);
}

.persona-codir .persona-icon {
    background: rgba(0, 51, 102, 0.1);
    color: #003366;
}

/* DRH: Growth, Balance, Certs */
.persona-drh {
    border-top-color: #81B29A;
    /* Sage */
    background: linear-gradient(180deg, rgba(129, 178, 154, 0.05) 0%, #FFFFFF 100%);
}

.persona-drh .persona-icon {
    background: rgba(129, 178, 154, 0.2);
    color: #2F5D4B;
}

/* 4. Simplified Certifications */
.certifications-simple {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--stroke-light);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    padding: 14px;
}

.certifications-simple .cert-label {
    font-weight: 600;
    color: var(--sage-green);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.certifications-simple img {
    height: 53px;
    width: auto;
}

.certifications-simple .cert-text {
    margin-left: auto;
    font-weight: 500;
    color: var(--deep-navy);
    background: rgba(0, 51, 102, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
}

/* 5. Enjeux Section Background */
#enjeux {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    position: relative;
}

#enjeux::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#dee2e6 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

/* Card Header for Logo + Title alignment */
.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.card-header .cert-logo {
    max-width: 60px;
    height: auto;
    flex-shrink: 0;
}

.card-header h3 {
    margin-bottom: 0;
    font-size: 1.125rem;
    /* Adjust size if needed */
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE IMAGE OPTIMIZATIONS
   ───────────────────────────────────────────────────────────────────────────── */

/* Limit hero-media / portrait size on mobile */
@media (max-width: 767px) {
    .hero-media {
        max-width: 280px;
    }

    .portrait-img {
        max-height: 260px;
        object-fit: cover;
        object-position: top center;
    }

    .portrait-card {
        padding: 10px;
    }

    /* Reduce card-image height */
    .card-image {
        height: 180px;
    }

    .hero-card-img {
        height: 180px;
    }

    /* Smaller badges/certs on mobile */
    .badges img,
    .certifications-simple img,
    .certs-below-photo img,
    .partner-row img {
        height: 40px;
    }

    .nav-certs img {
        height: 24px;
    }

    /* Reduce photo-enhanced max-height */
    .photo-enhanced {
        max-height: 260px;
        width: auto;
        max-width: 100%;
        object-fit: cover;
    }

    /* Offer card images */
    .offer-card img {
        max-height: 200px;
        object-fit: cover;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero-media {
        max-width: 220px;
    }

    .portrait-img {
        max-height: 200px;
    }

    .hero-card-img {
        height: 140px;
    }

    .card-image {
        height: 140px;
    }

    .badges img,
    .certifications-simple img {
        height: 32px;
    }
}