/* =================================================================
   POSTDY COMMUNITY · main.css
   Editorial modern · Cream + Navy + Coral · Fraunces × Manrope
================================================================= */

/* ============== 1. TOKENS ============== */
:root {
    /* Colors — orange officiel Postdy */
    --c-cream-100: #FFF8F2;       /* fond principal, crème chaud */
    --c-cream-200: #FBEEE0;
    --c-cream-300: #F4E0CB;
    --c-navy-900:  #0F1B3D;
    --c-navy-700:  #1F2A4A;
    --c-navy-500:  #3E4D74;
    --c-orange:      #F26B2C;     /* orange Postdy — vibrant, chaleureux */
    --c-orange-dk:   #C24F19;     /* hover */
    --c-orange-soft: #FFE3CF;     /* fond léger */
    --c-amber:       #F5A623;     /* accent secondaire */
    --c-sage:      #6BA77A;       /* secondaire vert pour Entreprises */
    --c-sage-dk:   #4F8260;
    --c-gold:      #D4A574;       /* secondaire pour Start-ups */
    --c-gold-dk:   #B88955;
    --c-lavender:  #C8B8DB;
    --c-blue:      #7B91B8;
    --c-text:      #1A2236;
    --c-text-soft: #5A6175;
    --c-line:      rgba(15, 27, 61, 0.10);
    --c-line-soft: rgba(15, 27, 61, 0.06);

    /* Fonts */
    --ff-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --ff-body:    'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    /* Sizes (fluid) */
    --fs-display: clamp(2.6rem, 1.4rem + 4.8vw, 5.6rem);
    --fs-h1:      clamp(2.2rem, 1.4rem + 3vw, 4rem);
    --fs-h2:      clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
    --fs-h3:      clamp(1.3rem, 1rem + 1vw, 1.625rem);
    --fs-lede:    clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
    --fs-body:    1.0625rem;
    --fs-small:   0.875rem;

    /* Layout */
    --container: 1440px;
    --container-narrow: 880px;
    --container-wide: 1680px;
    --gutter: clamp(1.5rem, 5vw, 4.5rem);
    --radius: 24px;
    --radius-sm: 14px;

    /* Shadows */
    --shadow-soft:   0 2px 8px rgba(15, 27, 61, 0.04), 0 1px 2px rgba(15, 27, 61, 0.03);
    --shadow-medium: 0 8px 24px -8px rgba(15, 27, 61, 0.10), 0 2px 6px rgba(15, 27, 61, 0.04);
    --shadow-card:   0 24px 60px -20px rgba(15, 27, 61, 0.16), 0 4px 12px rgba(15, 27, 61, 0.06);
    --shadow-warm:   0 30px 80px -28px rgba(232, 148, 120, 0.4);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-snap: cubic-bezier(0.5, 0, 0.1, 1);
    --dur-1: 200ms;
    --dur-2: 400ms;
    --dur-3: 700ms;
}

/* ============== 2. RESET & BASE ============== */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body {
    margin: 0;
    background: var(--c-cream-100);
    color: var(--c-text);
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5 {
    font-family: var(--ff-display);
    font-weight: 500;
    color: var(--c-navy-900);
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.02em;
}
h1 em, h2 em, h3 em, .hero-title em, .section-title em, .join-title em {
    font-style: italic;
    color: var(--c-orange);
    font-feature-settings: 'salt' 1, 'ss01' 1;
}
p { margin: 0 0 1em; }
.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;
}
.skip-link {
    position: absolute; top: -40px; left: 0;
    padding: 8px 16px; background: var(--c-navy-900); color: var(--c-cream-100);
    z-index: 10000;
}
.skip-link:focus { top: 0; }

::selection { background: var(--c-orange); color: var(--c-cream-100); }

/* ============== 3. CONTAINER & UTILS ============== */
/* CONTAINER PRINCIPAL — design éditorial moderne.
   Largeur max 1440px pour conserver une lecture confortable et un rythme
   visuel élégant. Gutter fluide qui s'adapte à la taille d'écran. */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    box-sizing: border-box;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-text-soft);
}
.eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-orange);
    box-shadow: 0 0 0 4px rgba(232, 148, 120, 0.18);
    animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(232, 148, 120, 0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(232, 148, 120, 0.04); }
}
.eyebrow-light { color: rgba(253, 250, 246, 0.75); }
.eyebrow-light .eyebrow-dot { background: var(--c-cream-100); box-shadow: 0 0 0 4px rgba(253,250,246,.2); }

/* Section heads */
.section-head {
    max-width: 720px;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
    position: relative;
}
.section-head-center {
    text-align: center;
    margin-left: auto; margin-right: auto;
}
.section-head-center .section-num { left: 50%; transform: translateX(-50%); }
.section-num {
    position: absolute;
    top: -2.4rem; left: 0;
    font-family: var(--ff-display);
    font-size: 0.85rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--c-orange);
    letter-spacing: 0.1em;
}
.section-num::after {
    content: '';
    display: inline-block;
    width: 32px; height: 1px;
    background: var(--c-orange);
    margin-left: 12px; vertical-align: middle;
}
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-text-soft);
    margin: 0 0 1rem;
}
.section-title {
    font-size: var(--fs-h2);
    margin-bottom: 1.25rem;
    font-weight: 400;
}
.section-lede {
    font-size: var(--fs-lede);
    color: var(--c-text-soft);
    margin: 0;
    max-width: 56ch;
    line-height: 1.55;
}

/* ============== 4. BUTTONS ============== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    padding: 0.85em 1.5em;
    font-family: var(--ff-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    border-radius: 100px;
    text-align: center;
    transition: transform var(--dur-1) var(--ease),
                background-color var(--dur-1) var(--ease),
                box-shadow var(--dur-2) var(--ease),
                color var(--dur-1) var(--ease);
    will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: var(--c-navy-900);
    color: var(--c-cream-100);
    box-shadow: 0 6px 18px -8px rgba(15, 27, 61, 0.45);
}
.btn-primary:hover {
    background: var(--c-orange);
    color: var(--c-cream-100);
    box-shadow: var(--shadow-warm);
}
.btn-ghost {
    background: transparent;
    color: var(--c-navy-900);
    box-shadow: inset 0 0 0 1.5px rgba(15, 27, 61, 0.18);
}
.btn-ghost:hover {
    box-shadow: inset 0 0 0 1.5px var(--c-navy-900);
}
.btn-outline {
    background: transparent;
    color: var(--c-navy-900);
    box-shadow: inset 0 0 0 1.5px rgba(15, 27, 61, 0.15);
    padding: 0.7em 1.3em;
    font-size: 0.88rem;
}
.btn-outline:hover {
    background: var(--c-navy-900);
    color: var(--c-cream-100);
}
.btn-sm { padding: 0.55em 1.15em; font-size: 0.85rem; }
.btn-lg { padding: 1.05em 1.85em; font-size: 1rem; }

/* ============== 5. HEADER ============== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 250, 246, 0.85);
    backdrop-filter: saturate(140%) blur(16px);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.site-header.is-scrolled {
    border-bottom-color: var(--c-line-soft);
    background: rgba(253, 250, 246, 0.96);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.brand-text {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-display);
    font-weight: 500;
    color: var(--c-navy-900);
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
.brand-mark {
    display: grid; place-items: center;
    width: 36px; height: 36px;
    background: var(--c-navy-900);
    color: var(--c-cream-100);
    border-radius: 50%;
    font-size: 1.05rem;
    font-weight: 600;
    font-style: italic;
}

.primary-nav .menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}
.primary-nav a {
    position: relative;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--c-text);
    transition: color var(--dur-1);
}
.primary-nav a::after {
    content: '';
    position: absolute;
    left: 50%; bottom: -6px;
    width: 0; height: 2px;
    background: var(--c-orange);
    transform: translateX(-50%);
    transition: width var(--dur-2) var(--ease);
}
.primary-nav a:hover { color: var(--c-orange); }
.primary-nav a:hover::after { width: 100%; }

.header-end {
    display: flex; align-items: center; gap: 1rem;
}

.lang-switcher .postdy-langs {
    display: flex; gap: 4px;
    padding: 4px; background: var(--c-cream-200);
    border-radius: 100px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
}
.postdy-langs li a {
    display: block; padding: 6px 12px;
    border-radius: 100px;
    color: var(--c-text-soft);
    text-transform: uppercase;
    transition: all var(--dur-1);
}
.postdy-langs li.is-active a,
.postdy-langs .current-lang a,
.postdy-langs .current_lang a {
    background: var(--c-navy-900);
    color: var(--c-cream-100);
}

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--c-navy-900); border-radius: 2px;
    transition: transform var(--dur-2) var(--ease), opacity var(--dur-1);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    border-top: 1px solid var(--c-line-soft);
    padding: 1.5rem var(--gutter);
}
.mobile-menu .menu {
    display: flex; flex-direction: column;
    gap: 1.2rem;
    font-family: var(--ff-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.mobile-menu .menu a { color: var(--c-navy-900); }
.mobile-menu .btn,
.mobile-menu .btn-primary { color: #ffffff; }
.mobile-menu-cta { padding-top: 1rem; border-top: 1px solid var(--c-line-soft); }

/* ============== 6. HERO ============== */
.hero {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0 0;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: float 14s var(--ease) infinite;
}
.blob-1 {
    top: -10%; right: -10%;
    width: 540px; height: 540px;
    background: radial-gradient(circle, var(--c-orange) 0%, transparent 60%);
}
.blob-2 {
    bottom: -20%; left: -15%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--c-sage) 0%, transparent 65%);
    animation-delay: -7s;
    opacity: 0.4;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.05); }
    66%      { transform: translate(-30px, 40px) scale(0.96); }
}
.grain {
    /* Grain retiré — fond crème uniforme plus élégant. */
    display: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(4rem, 8vw, 8rem);
}

.hero-text { max-width: 640px; }
.hero-text .eyebrow { margin-bottom: 1.75rem; }

.hero-title {
    font-size: var(--fs-display);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.02;
    letter-spacing: -0.025em;
    font-feature-settings: 'salt' 1;
}
.hero-subtitle {
    font-size: var(--fs-lede);
    color: var(--c-text-soft);
    line-height: 1.55;
    max-width: 52ch;
    margin-bottom: 2.5rem;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}
.hero-trust {
    display: flex; align-items: center; gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--c-line);
}
.hero-trust p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--c-text-soft);
}
.hero-trust strong { color: var(--c-navy-900); font-weight: 700; }
.hero-avatars {
    display: flex;
}
.avatar {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--c, var(--c-orange));
    color: var(--c-cream-100);
    font-family: var(--ff-display);
    font-size: 0.95rem;
    font-weight: 500;
    border: 3px solid var(--c-cream-100);
    margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.avatar-more {
    background: var(--c-navy-900);
    color: var(--c-cream-100);
    font-size: 0.9rem;
}

/* Floating cards */
.hero-card-stack {
    position: relative;
    height: 500px;
    perspective: 1000px;
}
.floating-card {
    position: absolute;
    background: var(--c-cream-100);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-card);
    width: 280px;
    animation: bob 8s var(--ease) infinite;
}
.floating-card h4 {
    font-size: 1.1rem;
    margin: 8px 0 4px;
    font-weight: 500;
}
.floating-card p {
    font-size: 0.85rem;
    color: var(--c-text-soft);
    margin: 0;
}
.card-1 {
    top: 5%; right: 5%;
    transform: rotate(2deg);
    animation-delay: 0s;
}
.card-2 {
    top: 38%; left: 0;
    transform: rotate(-3deg);
    animation-delay: -2.5s;
    z-index: 2;
}
.card-3 {
    bottom: 8%; right: 12%;
    transform: rotate(1.5deg);
    animation-delay: -5s;
}
@keyframes bob {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 2deg)); }
    50%      { transform: translateY(-12px) rotate(var(--rot, 2deg)); }
}
.card-1 { --rot: 2deg; }
.card-2 { --rot: -3deg; }
.card-3 { --rot: 1.5deg; }

.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.tag-orange { background: rgba(232, 148, 120, 0.15); color: var(--c-orange-dk); }
.tag-sage  { background: rgba(168, 197, 160, 0.18); color: var(--c-sage-dk); }
.tag-gold  { background: rgba(212, 165, 116, 0.18); color: var(--c-gold-dk); }

.floating-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
    position: absolute;
    opacity: 0.85;
}
.shape-circle {
    top: 60%; left: 30%;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--c-gold);
    animation: float 9s var(--ease) infinite;
}
.shape-square {
    top: 12%; left: 40%;
    width: 20px; height: 20px;
    background: var(--c-sage);
    transform: rotate(15deg);
    animation: float 11s var(--ease) infinite reverse;
}
.shape-triangle {
    bottom: 18%; left: 18%;
    width: 0; height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 22px solid var(--c-orange);
    transform: rotate(-12deg);
    animation: float 7s var(--ease) infinite;
}

/* Hero stats strip */
.hero-stats {
    position: relative;
    background: var(--c-navy-900);
    color: var(--c-cream-200);
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    margin-top: 2rem;
    z-index: 2;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: clamp(2rem, 4vw, 3rem) 0;
}
.stats-row li {
    text-align: center;
    border-right: 1px solid rgba(253, 250, 246, 0.12);
    padding: 0 1rem;
}
.stats-row li:last-child { border-right: none; }
.stats-row strong {
    display: block;
    font-family: var(--ff-display);
    font-size: clamp(2rem, 1rem + 3vw, 3rem);
    font-weight: 400;
    color: var(--c-cream-100);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.stats-row span {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(253, 250, 246, 0.6);
}

/* ============== 7. ABOUT (Pourquoi) ============== */
.about {
    background: var(--c-navy-900);
    color: var(--c-cream-100);
    padding: clamp(5rem, 10vw, 8rem) 0;
    position: relative;
}
.about .section-eyebrow { color: rgba(253, 250, 246, 0.7); }
.about .section-title { color: var(--c-cream-100); }
.about .section-title em { color: var(--c-gold); }
.about .section-lede { color: rgba(253, 250, 246, 0.75); }
.about .section-num { color: var(--c-gold); }
.about .section-num::after { background: var(--c-gold); }

.reasons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(253, 250, 246, 0.12);
}
.reason {
    padding: 2.5rem 1.75rem 2.5rem 0;
    border-right: 1px solid rgba(253, 250, 246, 0.12);
    transition: background var(--dur-2) var(--ease);
    position: relative;
}
.reason:last-child { border-right: none; }
.reason:hover { background: rgba(253, 250, 246, 0.03); }
.reason:hover .reason-num { color: var(--c-orange); }

.reason-num {
    display: block;
    font-family: var(--ff-display);
    font-size: 0.9rem;
    color: var(--c-gold);
    margin: 0 0 1.5rem;
    transition: color var(--dur-2);
    letter-spacing: 0.1em;
}
.reason h3 {
    color: var(--c-cream-100);
    font-size: var(--fs-h3);
    margin-bottom: 0.85rem;
    font-weight: 500;
}
.reason p {
    color: rgba(253, 250, 246, 0.75);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.reason-link {
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-gold);
    transition: color var(--dur-1), gap var(--dur-1);
    gap: 4px;
}
.reason-link:hover { color: var(--c-orange); gap: 8px; }

/* ============== 8. AUDIENCE ============== */
.audience {
    background: var(--c-cream-200);
    padding: clamp(5rem, 10vw, 8rem) 0;
}
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.audience-card {
    background: var(--c-cream-100);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--c-line-soft);
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
    position: relative;
    overflow: hidden;
}
.audience-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--c-orange);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform var(--dur-3) var(--ease);
}
.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}
.audience-card:hover::before { transform: scaleX(1); }

.audience-particulier::before { background: var(--c-orange); }
.audience-entreprise::before  { background: var(--c-sage); }
.audience-startup::before      { background: var(--c-gold); }

.audience-icon {
    width: 72px; height: 72px;
    margin: 0 auto 1.5rem;
    display: grid; place-items: center;
    border-radius: 20px;
    background: var(--c-cream-200);
    color: var(--c-navy-900);
}
.audience-particulier .audience-icon { background: rgba(232, 148, 120, 0.12); color: var(--c-orange-dk); }
.audience-entreprise .audience-icon  { background: rgba(168, 197, 160, 0.16); color: var(--c-sage-dk); }
.audience-startup .audience-icon      { background: rgba(212, 165, 116, 0.14); color: var(--c-gold-dk); }

.audience-card h3 {
    font-size: 1.65rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}
.audience-tagline {
    font-size: 0.88rem;
    color: var(--c-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}
.audience-points {
    text-align: left;
    margin-bottom: 2rem;
    display: grid;
    gap: 0.75rem;
}
.audience-points li {
    position: relative;
    padding-left: 22px;
    font-size: 0.95rem;
    color: var(--c-text);
    line-height: 1.5;
}
.audience-points li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.45em;
    width: 14px; height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    color: var(--c-orange);
}
.audience-entreprise .audience-points li::before { color: var(--c-sage-dk); }
.audience-startup .audience-points li::before { color: var(--c-gold-dk); }

/* ============== 9. SERVICES ============== */
.services {
    padding: clamp(5rem, 10vw, 8rem) 0;
    position: relative;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--c-cream-100);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius);
    padding: 2rem 1.85rem 1.85rem;
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1.5px solid transparent;
    background: linear-gradient(135deg, transparent 60%, rgba(232, 148, 120, 0.4)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--dur-3) var(--ease);
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}
.service-card:hover::after { opacity: 1; }

.service-tag {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.service-card--blue .service-tag     { background: rgba(123, 145, 184, 0.16); color: #4F659A; }
.service-card--sage .service-tag     { background: rgba(168, 197, 160, 0.18); color: var(--c-sage-dk); }
.service-card--coral .service-tag    { background: rgba(232, 148, 120, 0.15); color: var(--c-orange-dk); }
.service-card--gold .service-tag     { background: rgba(212, 165, 116, 0.18); color: var(--c-gold-dk); }
.service-card--cream .service-tag    { background: var(--c-cream-300); color: var(--c-navy-700); }
.service-card--lavender .service-tag { background: rgba(200, 184, 219, 0.3); color: #6B5A8A; }

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
    line-height: 1.2;
}
.service-card p {
    font-size: 0.95rem;
    color: var(--c-text-soft);
    line-height: 1.55;
    margin-bottom: 1.5rem;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-navy-900);
    transition: gap var(--dur-1), color var(--dur-1);
}
.service-link:hover {
    color: var(--c-orange);
    gap: 10px;
}

.services-foot {
    margin-top: 3rem;
    text-align: center;
    color: var(--c-text-soft);
    font-style: italic;
    font-family: var(--ff-display);
    font-size: 1rem;
}

/* ============== 10. COMMUNITY ============== */
.community {
    background: var(--c-cream-200);
    padding: clamp(5rem, 10vw, 8rem) 0;
}
.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    margin-bottom: 5rem;
}
.community-text { position: relative; padding-top: 2.5rem; }

.country-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
}
.country-list li {
    padding: 0.5rem 0.95rem;
    background: var(--c-cream-100);
    border: 1px solid var(--c-line-soft);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--c-text);
    transition: transform var(--dur-1), border-color var(--dur-1);
}
.country-list li:hover {
    transform: translateY(-2px);
    border-color: var(--c-orange);
}

.community-visual {
    display: grid;
    place-items: center;
}
.network-wrap {
    width: min(100%, 480px);
    aspect-ratio: 1;
    position: relative;
}
.network-viz { width: 100%; height: 100%; }

/* Concentric rings — slow rotation */
.net-rings { transform-origin: center; animation: net-spin 60s linear infinite; }
@keyframes net-spin { to { transform: rotate(360deg); } }

/* Animated connection lines */
.net-lines line {
    stroke: var(--c-orange);
    stroke-width: 1.2;
    fill: none;
    opacity: 0;
    stroke-dasharray: 4 6;
    animation: line-appear 0.6s var(--ease) forwards, line-flow 30s linear infinite;
}
.net-lines line:nth-child(1) { animation-delay: 0.2s, 0.2s; }
.net-lines line:nth-child(2) { animation-delay: 0.35s, 0.35s; }
.net-lines line:nth-child(3) { animation-delay: 0.5s, 0.5s; }
.net-lines line:nth-child(4) { animation-delay: 0.65s, 0.65s; }
.net-lines line:nth-child(5) { animation-delay: 0.8s, 0.8s; }
.net-lines line:nth-child(6) { animation-delay: 0.95s, 0.95s; }
.net-lines line:nth-child(7) { animation-delay: 1.1s, 1.1s; }
.net-lines line:nth-child(8) { animation-delay: 1.25s, 1.25s; }
.net-lines line:nth-child(n+9) { animation-delay: 1.4s, 1.4s; }

@keyframes line-appear { to { opacity: 0.5; } }
@keyframes line-flow { to { stroke-dashoffset: -200; } }

/* Pulse halo around center hub */
.net-halo {
    transform-origin: 250px 250px;
    animation: net-ping 2.6s var(--ease) infinite;
}
@keyframes net-ping {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%      { transform: scale(1.55); opacity: 0; }
}

/* Pulsing nodes */
.net-node circle:first-child {
    animation: node-pulse 3s var(--ease) infinite;
    transform-origin: center;
    transform-box: fill-box;
}
.net-node:nth-child(1) circle:first-child { animation-delay: 0s; }
.net-node:nth-child(2) circle:first-child { animation-delay: 0.4s; }
.net-node:nth-child(3) circle:first-child { animation-delay: 0.8s; }
.net-node:nth-child(4) circle:first-child { animation-delay: 1.2s; }
.net-node:nth-child(5) circle:first-child { animation-delay: 1.6s; }
.net-node:nth-child(6) circle:first-child { animation-delay: 2.0s; }
.net-node:nth-child(7) circle:first-child { animation-delay: 2.4s; }
.net-node:nth-child(8) circle:first-child { animation-delay: 0.2s; }
.net-node:nth-child(9) circle:first-child { animation-delay: 0.6s; }
.net-node:nth-child(10) circle:first-child { animation-delay: 1.0s; }
.net-node:nth-child(11) circle:first-child { animation-delay: 1.4s; }
.net-node:nth-child(12) circle:first-child { animation-delay: 1.8s; }
@keyframes node-pulse {
    0%, 100% { r: 14; opacity: 0.5; }
    50%      { r: 20; opacity: 0.15; }
}

/* Floating particles */
.net-particles circle {
    fill: var(--c-orange);
    opacity: 0.6;
    animation: particle-float 8s linear infinite;
}
.net-particles circle:nth-child(2) { animation-delay: -2s; animation-duration: 10s; fill: var(--c-amber); }
.net-particles circle:nth-child(3) { animation-delay: -4s; animation-duration: 12s; fill: var(--c-sage); }
.net-particles circle:nth-child(4) { animation-delay: -6s; animation-duration: 9s; fill: var(--c-gold); }
@keyframes particle-float {
    0%   { transform: translate(0, 0); opacity: 0; }
    20%  { opacity: 0.6; }
    80%  { opacity: 0.6; }
    100% { transform: translate(60px, -80px); opacity: 0; }
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}
.testimonial {
    background: var(--c-cream-100);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius);
    padding: 2.25rem 2rem 2rem;
    position: relative;
}
.testimonial:nth-child(2) { transform: translateY(2rem); }

.quote-mark {
    font-family: var(--ff-display);
    font-size: 4rem;
    font-style: italic;
    color: var(--c-orange);
    line-height: 0.5;
    margin: 0 0 0.5rem;
}
.quote {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--c-navy-900);
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial footer {
    border-top: 1px dashed var(--c-line);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial strong {
    font-family: var(--ff-display);
    font-weight: 500;
    color: var(--c-navy-900);
    font-size: 1rem;
}
.testimonial span {
    font-size: 0.85rem;
    color: var(--c-text-soft);
}

/* ============== 11. JOIN (CTA) ============== */
.join {
    padding: clamp(4rem, 8vw, 7rem) 0;
}
.join-card {
    position: relative;
    background: var(--c-navy-900);
    color: var(--c-cream-100);
    border-radius: 36px;
    padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem);
    overflow: hidden;
    text-align: center;
}
.join-bg { position: absolute; inset: 0; pointer-events: none; }
.blob-3 {
    top: -30%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--c-orange) 0%, transparent 60%);
    opacity: 0.5;
    animation: float 12s var(--ease) infinite;
    border-radius: 50%;
    filter: blur(80px);
    position: absolute;
}
.blob-4 {
    bottom: -40%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--c-gold) 0%, transparent 65%);
    opacity: 0.35;
    animation: float 16s var(--ease) infinite reverse;
    border-radius: 50%;
    filter: blur(80px);
    position: absolute;
}

.join-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.join-title {
    font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem);
    color: var(--c-cream-100);
    margin: 1.25rem 0 1.5rem;
    font-weight: 400;
    line-height: 1.05;
}
.join-title em { color: var(--c-orange); font-style: italic; }
.join-lede {
    font-size: var(--fs-lede);
    color: rgba(253, 250, 246, 0.78);
    margin-bottom: 2.5rem;
    line-height: 1.55;
}

.join-form {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    margin: 0 auto 1.25rem;
    background: rgba(253, 250, 246, 0.08);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 100px;
    border: 1px solid rgba(253, 250, 246, 0.15);
}
.join-form input {
    flex: 1;
    background: transparent;
    border: 0;
    padding: 0.85rem 1.25rem;
    color: var(--c-cream-100);
    font-size: 0.98rem;
    outline: none;
}
.join-form input::placeholder { color: rgba(253, 250, 246, 0.5); }
.join-form button { white-space: nowrap; }
.join-form .btn-primary {
    background: var(--c-orange);
    color: var(--c-cream-100);
}
.join-form .btn-primary:hover {
    background: var(--c-cream-100);
    color: var(--c-navy-900);
    box-shadow: 0 6px 18px -4px rgba(253, 250, 246, 0.4);
}

.join-foot {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(253, 250, 246, 0.55);
}

/* ============== 12. FOOTER ============== */
.site-footer {
    background: var(--c-cream-200);
    padding: clamp(3rem, 5vw, 5rem) 0 1.5rem;
    color: var(--c-text);
    font-size: 0.95rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--c-line-soft);
}
.footer-brand .brand-text { margin-bottom: 1.25rem; }
.footer-tagline {
    color: var(--c-text-soft);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    max-width: 38ch;
}
.social-list {
    display: flex;
    gap: 0.5rem;
}
.social-list a {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: var(--c-cream-100);
    border: 1px solid var(--c-line-soft);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--c-navy-900);
    text-transform: uppercase;
    transition: all var(--dur-1);
}
.social-list a:hover {
    background: var(--c-navy-900);
    color: var(--c-cream-100);
    border-color: var(--c-navy-900);
    transform: translateY(-2px);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-navy-900);
    margin-bottom: 1.25rem;
    font-family: var(--ff-body);
}
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a {
    color: var(--c-text);
    transition: color var(--dur-1);
    font-size: 0.92rem;
}
.footer-col a:hover { color: var(--c-orange); }

.newsletter-form {
    display: flex;
    margin-top: 1rem;
    background: var(--c-cream-100);
    border: 1px solid var(--c-line-soft);
    border-radius: 100px;
    overflow: hidden;
    padding: 4px;
}
.newsletter-form input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
    outline: none;
}
.newsletter-form button {
    background: var(--c-navy-900);
    color: var(--c-cream-100);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: background var(--dur-1);
}
.newsletter-form button:hover { background: var(--c-orange); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copy { margin: 0; font-size: 0.85rem; color: var(--c-text-soft); }
.legal-menu {
    display: flex; gap: 1.5rem;
    font-size: 0.85rem;
}
.legal-menu a { color: var(--c-text-soft); transition: color var(--dur-1); }
.legal-menu a:hover { color: var(--c-navy-900); }

/* ============== 13. PAGE & POSTS ============== */
.page-content,
.post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.entry-title {
    font-size: var(--fs-h2);
    margin-bottom: 1rem;
    font-weight: 400;
}
.entry-meta {
    color: var(--c-text-soft);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}
.entry-content p { line-height: 1.75; margin-bottom: 1.25em; }
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; font-weight: 500; }
.entry-content a {
    color: var(--c-orange-dk);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* 404 */
.error-404 {
    padding: clamp(5rem, 12vw, 10rem) 0;
    text-align: center;
}
.error-404 h1 {
    font-size: clamp(5rem, 14vw, 12rem);
    color: var(--c-orange);
    line-height: 1;
    margin-bottom: 1rem;
}
.error-404 p { color: var(--c-text-soft); margin-bottom: 2rem; }

/* ============== 14. RESPONSIVE ============== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-card-stack { display: none; }
    .reasons { grid-template-columns: repeat(2, 1fr); }
    .reason:nth-child(2) { border-right: none; }
    .reason:nth-child(1), .reason:nth-child(2) { border-bottom: 1px solid rgba(253, 250, 246, 0.12); }
    .audience-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .community-grid { grid-template-columns: 1fr; gap: 3rem; }
    .testimonials { grid-template-columns: 1fr; gap: 1.25rem; }
    .testimonial:nth-child(2) { transform: none; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .primary-nav, .lang-switcher, .header-end .btn { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu[aria-hidden="false"], body.menu-open .mobile-menu { display: block; }
    body.menu-open .mobile-menu { display: block; }

    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
    .stats-row li:nth-child(2) { border-right: none; }
    .stats-row li:nth-child(-n+2) { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(253, 250, 246, 0.12); }

    .reasons { grid-template-columns: 1fr; }
    .reason { border-right: none !important; border-bottom: 1px solid rgba(253, 250, 246, 0.12); padding-right: 0; }
    .reason:last-child { border-bottom: none; }

    .services-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }

    .join-form { flex-direction: column; border-radius: 24px; }
    .join-form input, .join-form button { width: 100%; }
    .join-form .btn { border-radius: 100px; justify-content: center; }
}

/* ============== 15. SCROLL REVEAL ============== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============== 16. PAGE CONTACT ============== */
.contact-hero {
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-hero .blob {
    opacity: 0.35;
}
.contact-hero h1 {
    font-size: var(--fs-display);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.05;
    position: relative;
    z-index: 1;
}
.contact-hero p {
    font-size: var(--fs-lede);
    color: var(--c-text-soft);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
    align-items: start;
}

.contact-form-wrap {
    background: var(--c-cream-100);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-medium);
}
.contact-form-wrap h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.contact-form-wrap > p { color: var(--c-text-soft); margin-bottom: 1.5rem; }

.field {
    display: grid;
    gap: 6px;
    margin-bottom: 1.25rem;
}
.field label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-navy-900);
}
.field input,
.field select,
.field textarea {
    background: var(--c-cream-200);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    transition: border-color var(--dur-1), background var(--dur-1);
    width: 100%;
    font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--c-orange);
    background: var(--c-cream-100);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-info-cards {
    display: grid;
    gap: 1rem;
}
.info-card {
    background: var(--c-cream-100);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform var(--dur-2), box-shadow var(--dur-2);
}
.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}
.info-card .info-icon {
    flex: 0 0 48px;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--c-orange-soft);
    color: var(--c-orange-dk);
    display: grid; place-items: center;
}
.info-card h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 4px;
}
.info-card p, .info-card a {
    margin: 0;
    color: var(--c-text-soft);
    font-size: 0.95rem;
    line-height: 1.5;
}
.info-card a:hover { color: var(--c-orange); }

.map-wrap {
    margin-top: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-line-soft);
    aspect-ratio: 16/10;
    background: var(--c-cream-200);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .field-row { grid-template-columns: 1fr; }
}

/* === Marqueur de champ requis sur formulaire contact === */
.contact-form .field-required {
    color: var(--c-orange, #F26B2C);
    font-weight: 700;
    margin-left: 2px;
}

/* ==============================================================
   SECTION LOCAL CHAPTER (sections locales) — Accueil
   ============================================================== */

.local-chapter {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--c-cream-100) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.local-chapter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(242,107,44,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.local-chapter .lc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.local-chapter .lc-title {
    font-family: var(--ff-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    margin: 1rem 0 1.25rem;
    color: var(--c-navy-900);
}

.local-chapter .lc-title em {
    color: var(--c-orange);
    font-style: normal;
}

.local-chapter .lc-lede {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--c-text-soft);
    margin-bottom: 2rem;
}

.local-chapter .lc-benefits {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.local-chapter .lc-benefit {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: #fff;
    border-radius: 14px;
    border-left: 4px solid var(--c-orange);
    box-shadow: 0 1px 3px rgba(15,27,61,.04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.local-chapter .lc-benefit:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(15,27,61,.08);
}

.local-chapter .lc-benefit-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--c-cream-100);
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.local-chapter .lc-benefit h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    color: var(--c-navy-900);
}

.local-chapter .lc-benefit p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--c-text-soft);
    line-height: 1.5;
}

.local-chapter .lc-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.local-chapter .lc-visual {
    text-align: center;
}

.local-chapter .lc-map {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.local-chapter .lc-visual-caption {
    font-size: 0.85rem;
    color: var(--c-text-soft);
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .local-chapter .lc-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .local-chapter .lc-visual {
        order: -1;
    }
    .local-chapter .lc-map {
        max-width: 320px;
    }
}

@media (max-width: 600px) {
    .local-chapter {
        padding: 4rem 0;
    }
    .local-chapter .lc-cta-row .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==============================================================
   PAGE-HERO générique (Créer section / Liste sections)
   ============================================================== */

.lc-page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--c-cream-100) 0%, var(--c-cream-200, #FBEEE0) 100%);
    text-align: center;
}

.lc-page-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.lc-page-hero-title {
    font-family: var(--ff-serif);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    margin: 1rem 0 1.25rem;
    color: var(--c-navy-900);
}

.lc-page-hero-title em {
    color: var(--c-orange);
    font-style: normal;
}

.lc-page-hero-lede {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--c-text-soft);
    margin-bottom: 1.75rem;
}

/* ==============================================================
   PAGE CRÉER SECTION — Process steps
   ============================================================== */

.lc-creer-section-process {
    padding: 5rem 0;
    background: #fff;
}

.lc-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.lc-process-step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--c-cream-100);
    border-radius: 16px;
    transition: transform .2s ease;
}

.lc-process-step:hover {
    transform: translateY(-4px);
}

.lc-process-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: var(--c-orange);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.lc-process-step h3 {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
    color: var(--c-navy-900);
}

.lc-process-step p {
    font-size: 0.9rem;
    color: var(--c-text-soft);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .lc-process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .lc-process-steps { grid-template-columns: 1fr; }
}

/* ==============================================================
   PAGE CRÉER SECTION — Conteneur du formulaire
   ============================================================== */

.lc-creer-section-form {
    padding: 5rem 0;
    background: var(--c-cream-100);
}

.lc-creer-section-form-inner {
    max-width: 800px;
    margin: 0 auto;
}

.lc-section-title {
    font-family: var(--ff-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-align: center;
    color: var(--c-navy-900);
    margin: 0 0 0.5rem;
}

.lc-section-lede {
    text-align: center;
    color: var(--c-text-soft);
    margin-bottom: 2rem;
}

/* ==============================================================
   PAGE LISTE DES SECTIONS
   ============================================================== */

.lc-sections-list {
    padding: 4rem 0 6rem;
    background: #fff;
}

/* ==============================================================
   PAGE ESPACE MEMBRES (template page-espace-membres.php)
   Affichage standard du portail Postdy, intégré dans le layout
   du thème. Aucune classe n'écrase quoi que ce soit du thème.
   ============================================================== */

.lc-member-page {
    background: var(--c-cream-100);
    padding: clamp(1.25rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 5rem);
    min-height: 60vh;
}

.lc-member-page .entry-content {
    margin: 0;
}

/* Le portail [postdy_dashboard] s'inscrit dans le .container du thème
   (max-width 1240px, gutter fluide). Aucun override nécessaire. */

/* ==============================================================
   AMÉLIORATIONS GLOBALES — Accessibilité & cross-browser
   ============================================================== */

/* Focus visible accessible pour clavier (toutes les saisies) */
*:focus-visible {
    outline: 2px solid var(--c-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--c-orange);
    outline-offset: 3px;
}

/* Anti-zoom iOS : tous les inputs en 16px sur mobile */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    input[type="password"],
    input[type="date"],
    input[type="time"],
    input[type="search"],
    select,
    textarea {
        font-size: max(16px, 1rem) !important;
    }
}

/* Touch targets minimum 44x44 sur mobile (WCAG AAA) */
@media (max-width: 768px) {
    button,
    .btn,
    a.btn,
    input[type="submit"],
    input[type="button"],
    .nav-toggle {
        min-height: 44px;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .skip-link,
    .nav-toggle,
    .mobile-menu,
    .lang-switcher,
    .header-end .btn { display: none; }

    body { background: #fff; color: #000; }
    a { color: #000; text-decoration: underline; }
    .container { max-width: 100%; padding: 0; }
}

/* Reduced motion deja partiellement géré (ligne 1321) — on étend pour les nouvelles animations */
@media (prefers-reduced-motion: reduce) {
    .local-chapter circle,
    .local-chapter ellipse,
    [class*="postdy"] *,
    [class*="lc-"] * {
        animation: none !important;
        transition: none !important;
    }
}

/* ==============================================================
   LAYOUT — RÈGLES DÉFENSIVES FULL-WIDTH
   Garantissent que le site occupe toute la largeur disponible.
   Aucun plugin tiers ne peut contraindre ces éléments structurels.
   ============================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

main,
main#main,
.site-main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Toutes les sections du thème sont edge-to-edge (full-bleed)
   avec leur contenu centré dans .container à l'intérieur */
.site-main > section,
.site-main > article {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* Variantes de container (si besoin pour certaines sections) */
.container-wide {
    width: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--gutter);
    box-sizing: border-box;
}
.container-narrow {
    width: 100%;
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Si l'option "Pleine largeur" est activée dans le Customizer,
   toutes les sections passent à un container 100% (edge-to-edge total) */
body.postdy-fullwidth .container,
body.postdy-fullwidth .container-wide {
    max-width: 100%;
    padding: 0 clamp(1rem, 5vw, 4rem);
}

/* Sur très grand écran (≥1920px), élargir naturellement le container */
@media (min-width: 1920px) {
    :root {
        --container: 1600px;
        --container-wide: 1820px;
    }
}

/* Sur écran moyen (≥1440px), garantir une utilisation généreuse */
@media (min-width: 1440px) and (max-width: 1919px) {
    :root {
        --gutter: clamp(2rem, 4vw, 4rem);
    }
}


/* ==============================================================
   UTILITAIRES DE CONTENU — pour cas où on veut RESTREINDRE
   la largeur (textes longs, formulaires), à utiliser explicitement.
   Le défaut reste pleine largeur.
   ============================================================== */

.content-readable {
    max-width: 70ch;       /* lisibilité optimale ~70 caractères */
    margin-inline: auto;
}

.content-medium {
    max-width: 1200px;
    margin-inline: auto;
}

.content-large {
    max-width: 1600px;
    margin-inline: auto;
}

/* ==============================================================
   RAFFINEMENTS VISUELS — Soft & Éditorial
   Effets subtils pour un rendu élégant et apaisant
   ============================================================== */

/* Fond corps avec léger dégradé crème pour ajouter de la chaleur visuelle */
body {
    background:
        radial-gradient(ellipse at top right, rgba(242, 107, 44, 0.04), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(107, 167, 122, 0.03), transparent 50%),
        var(--c-cream-100);
    background-attachment: fixed;
}

/* Sections : transitions douces de fond entre sections claires/colorées */
.about,
.services,
.community,
.local-chapter {
    position: relative;
}

/* Séparateurs subtils entre les grandes sections (ligne très fine en gradient) */
section + section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 27, 61, 0.06), transparent);
    pointer-events: none;
}

/* Adoucissement des cartes (audience, services, témoignages, floating) */
.audience-card,
.service-card,
.testimonial,
.floating-card,
.reason {
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.audience-card:hover,
.service-card:hover,
.testimonial:hover,
.reason:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -12px rgba(15, 27, 61, 0.12), 0 4px 12px rgba(15, 27, 61, 0.04);
}

/* Container intérieur dans les sections : ajout d'un max plus contrôlé pour les sections texte */
.about .reasons,
.community .testimonials {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Section community : visuel + texte gardent un rapport élégant 1:1 sur grand écran */
.community-grid {
    max-width: 1240px;
    margin: 0 auto;
}

/* Hero : limiter légèrement la largeur du grid pour un rendu plus harmonieux */
.hero-grid {
    max-width: 1320px;
    margin: 0 auto;
}

/* Section padding plus respirant sur grands écrans pour effet "soft" */
@media (min-width: 1280px) {
    .hero        { padding-top: clamp(4rem, 8vw, 6rem); }
    .about,
    .audience,
    .services,
    .community,
    .local-chapter,
    .join { padding: clamp(6rem, 10vw, 9rem) 0; }
}

/* Section-head plus aérée */
.section-head {
    max-width: 760px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Titres : tracking légèrement resserré pour effet sophistiqué */
.hero-title,
.section-title,
.lc-title,
.join-title {
    letter-spacing: -0.025em;
    line-height: 1.05;
}

/* Lede : line-height généreux pour la lisibilité */
.section-lede,
.hero-subtitle {
    line-height: 1.6;
    max-width: 60ch;
}

/* Sur mobile : reset le padding section pour cohérence */
@media (max-width: 720px) {
    .about,
    .audience,
    .services,
    .community,
    .local-chapter,
    .join { padding: clamp(3.5rem, 8vw, 5rem) 0; }
}

/* ==============================================================
   MOBILE MENU — refinements
   ============================================================== */

@media (max-width: 720px) {
    /* Container du menu mobile : agréable, scrollable si besoin */
    .mobile-menu {
        background: var(--c-cream-100);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu .menu {
        font-size: 1.25rem;
        gap: 1rem;
    }

    .mobile-menu .menu a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--c-line-soft);
        transition: color .2s ease, padding-left .2s ease;
    }

    .mobile-menu .menu a:hover,
    .mobile-menu .menu a:focus {
        color: var(--c-orange);
        padding-left: 0.5rem;
    }

    .mobile-menu .menu li:last-child a {
        border-bottom: none;
    }

    /* Fix : forcer l'affichage du menu mobile quand body.menu-open */
    body.menu-open .mobile-menu {
        display: block !important;
    }

    /* Empêcher le scroll du body quand le menu mobile est ouvert */
    body.menu-open {
        overflow: hidden;
    }
}


/* ==============================================================
   SOUS-MENUS — Desktop (dropdown au survol) + Mobile (déroulant inline)
   ============================================================== */

/* Reset listes des sous-menus */
.primary-nav .menu .sub-menu,
.mobile-menu .menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* === DESKTOP (≥901px) — sous-menus en dropdown au survol === */
@media (min-width: 901px) {
    .primary-nav .menu li {
        position: relative;
    }
    .primary-nav .menu .sub-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        background: #ffffff;
        border: 1px solid var(--c-line-soft);
        border-radius: 12px;
        box-shadow: 0 12px 32px -8px rgba(15, 27, 61, 0.18), 0 4px 8px rgba(15, 27, 61, 0.04);
        padding: 8px 0;
        min-width: 220px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .2s var(--ease), visibility .2s var(--ease), transform .2s var(--ease);
        z-index: 200;
    }
    .primary-nav .menu li:hover > .sub-menu,
    .primary-nav .menu li:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .primary-nav .sub-menu li {
        display: block;
        margin: 0;
    }
    .primary-nav .sub-menu a {
        display: block;
        padding: 0.5rem 1.25rem;
        white-space: nowrap;
        font-size: 0.92rem;
        color: var(--c-text);
        font-family: var(--ff-body);
        font-weight: 500;
    }
    .primary-nav .sub-menu a::after { display: none; } /* pas d'underline animé sur les sous-items */
    .primary-nav .sub-menu a:hover {
        background: var(--c-cream-200);
        color: var(--c-orange);
    }
    /* Caret indicator */
    .primary-nav .menu-item-has-children > a .caret {
        font-size: 0.7em;
        margin-left: 4px;
        transition: transform .2s var(--ease);
        display: inline-block;
    }
    .primary-nav .menu-item-has-children:hover > a .caret {
        transform: rotate(180deg);
    }
}

/* === MOBILE/TABLETTE (≤900px) — sous-menus inline indentés === */
@media (max-width: 900px) {
    .mobile-menu .menu .sub-menu {
        margin: 0.5rem 0 0.5rem 1rem;
        padding: 0 0 0.5rem 1rem;
        border-left: 2px solid var(--c-orange-soft);
    }
    .mobile-menu .menu .sub-menu a {
        font-size: 1rem;
        padding: 0.5rem 0;
        font-weight: 400;
    }
    .mobile-menu .menu .sub-menu li:last-child a {
        border-bottom: none;
    }
    /* Caret indicateur inline pour mobile */
    .mobile-menu .menu-item-has-children > a .caret {
        font-size: 0.8em;
        opacity: 0.5;
    }
}

/* ==============================================================
   TABLETTE — affinements (601-900px)
   ============================================================== */

@media (min-width: 601px) and (max-width: 900px) {
    /* Hero : passer en 1 colonne sur tablette portrait */
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .hero-card-stack {
        max-height: 480px;
    }

    /* Audience cards : 1 colonne sur tablette portrait pour bonne lisibilité */
    .audience-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Services grid : 2 colonnes au lieu de 3-4 */
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.25rem !important;
    }

    /* Reasons (4 cartes "raisons") : 2 colonnes */
    .reasons {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* Community grid (texte + visualisation) : 1 colonne sur tablette */
    .community-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .community-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    /* Local chapter grid : 1 colonne */
    .lc-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* Footer : 2 colonnes */
    .footer-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 2rem !important;
    }

    /* Testimonials : 2 colonnes */
    .testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* Stats row : conserver 2x2 */
    .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.5rem !important;
    }
}

/* ==============================================================
   TABLETTE LANDSCAPE (901-1280px) — léger ajustement
   ============================================================== */

@media (min-width: 901px) and (max-width: 1280px) {
    /* Réduire un peu le gap des grandes grilles */
    .services-grid {
        gap: 1.5rem;
    }
    .audience-grid {
        gap: 1.5rem;
    }
}
