/* ============================================
   HSE — Styles personnalisés (responsive + anti-overflow)
   ============================================ */

:root {
    --forest: #0F2E1F;
    --emerald: #1B5E3F;
    --sage: #7BA88E;
    --mint: #E8F5EE;
    --cream: #FAF8F3;
    --gold: #C9A961;
    --charcoal: #1A1A1A;
    --stone: #6B7280;
    --border: #E5E7EB;

    --shadow-sm: 0 1px 2px rgba(15, 46, 31, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 46, 31, 0.06);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   ANTI-OVERFLOW (obligatoire)
   ============================================ */
html {
    overflow-x: clip;   /* clip = tsy manimba sticky, hidden kosa manimba */
}

body {
    overflow-x: clip;
    overflow-y: visible;
}
/* ============================================
   CURSEUR PERSONNALISÉ
   ============================================ */

/* Curseur par défaut — croix fine vert forêt */
html, body {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><line x1='12' y1='2' x2='12' y2='22' stroke='%230F2E1F' stroke-width='1.5'/><line x1='2' y1='12' x2='22' y2='12' stroke='%230F2E1F' stroke-width='1.5'/><circle cx='12' cy='12' r='3' fill='%231B5E3F'/></svg>") 12 12, auto;
}

/* Curseur main sur éléments cliquables */
a, button, [role="button"], input[type="submit"], input[type="button"], label, select {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><circle cx='14' cy='14' r='10' fill='none' stroke='%231B5E3F' stroke-width='1.5'/><circle cx='14' cy='14' r='3' fill='%23C9A961'/></svg>") 14 14, pointer;
}

/* Curseur sur champs texte */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], input[type="date"], textarea {
    cursor: text;
}

/* Curseur désactivé */
button:disabled, .btn:disabled, [disabled] {
    cursor: not-allowed;
}

/* Sélection de texte */
::selection {
    background: var(--emerald);
    color: #fff;
}
section {
    max-width: 100%;
    overflow-x: hidden;
}

img, video, iframe, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, p, a, li, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */
.font-serif { font-family: 'Cormorant Garamond', serif; font-weight: 500; }
.font-display { font-family: 'Poppins', sans-serif; font-weight: 600; }

.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald);
    margin: 0 0 10px;
}

.eyebrow-light { color: var(--gold); }

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(1.35rem, 4vw, 2.25rem);
    line-height: 1.15;
    color: var(--forest);
    margin: 0 0 10px;
}

.section-sub {
    font-size: 14px;
    color: var(--stone);
    max-width: 560px;
    margin: 0;
}

/* ============================================
   CONTAINER & SECTIONS
   ============================================ */
.container {
    max-width: 1160px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .container { padding-left: 28px; padding-right: 28px; }
}
@media (min-width: 1024px) {
    .container { padding-left: 32px; padding-right: 32px; }
}

.section {
    padding: 64px 0;
}

@media (min-width: 768px) {
    .section { padding: 88px 0; }
}
@media (min-width: 1024px) {
    .section { padding: 96px 0; }
}

.section-tight { padding-top: 16px; }
@media (min-width: 768px) {
    .section-tight { padding-top: 32px; }
}

.section-head {
    max-width: 620px;
    margin: 0 0 32px;
}
@media (min-width: 768px) {
    .section-head { margin-bottom: 48px; }
}

.section-head-row {
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.link-arrow {
    font-size: 13px;
    color: var(--emerald);
    text-decoration: none;
    transition: color 200ms ease;
    white-space: nowrap;
    margin-top: 4px;
}
.link-arrow:hover { color: var(--forest); }

/* ============================================
   BOUTONS
   ============================================ */
.btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 13px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background: var(--emerald);
    color: #fff;
}
.btn-primary:hover { background: var(--forest); }

.btn-outline {
    background: transparent;
    color: var(--cream);
    border-color: rgba(250, 248, 243, 0.4);
}
.btn-outline:hover {
    background: var(--cream);
    color: var(--forest);
    border-color: var(--cream);
}

.btn-light {
    background: var(--cream);
    color: var(--forest);
}
.btn-light:hover {
    background: var(--gold);
    color: var(--forest);
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero-carousel {
    position: relative;
    background: var(--forest);
    color: var(--cream);
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-slides {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.hero-slide {
    display: none;
    position: relative;
    width: 100%;
    min-height: 420px;
    box-sizing: border-box;
}

.hero-slide.is-active {
    display: block;
    animation: heroFadeIn 500ms ease;
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (min-width: 768px) {
    .hero-slide { min-height: 520px; }
}
@media (min-width: 1024px) {
    .hero-slide { min-height: 600px; }
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 46, 31, 0.55) 0%,
        rgba(15, 46, 31, 0.88) 100%
    );
}

@media (min-width: 768px) {
    .hero-slide-overlay {
        background: linear-gradient(
            100deg,
            rgba(15, 46, 31, 0.92) 0%,
            rgba(15, 46, 31, 0.75) 45%,
            rgba(15, 46, 31, 0.45) 100%
        );
    }
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-inner {
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
    padding: 72px 20px;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .hero-inner { padding: 96px 28px; }
}
@media (min-width: 1024px) {
    .hero-inner { padding: 130px 32px; }
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 16px;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.75rem, 6vw, 4.25rem);
    line-height: 1.08;
    color: var(--cream);
    margin: 0 0 16px;
    max-width: 800px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    line-height: 1.6;
    color: rgba(250, 248, 243, 0.85);
    max-width: 560px;
    margin: 0 0 24px;
}
@media (min-width: 768px) {
    .hero-subtitle { margin-bottom: 36px; }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 46, 31, 0.55);
    color: var(--cream);
    border: 1px solid rgba(250, 248, 243, 0.2);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease;
    padding: 0;
}

.hero-arrow:hover {
    background: var(--forest);
    border-color: var(--forest);
}

.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

@media (min-width: 768px) {
    .hero-arrow { display: flex; }
    .hero-arrow-prev { left: 24px; }
    .hero-arrow-next { right: 24px; }
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .hero-dots { bottom: 28px; }
}

.hero-dot {
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: rgba(250, 248, 243, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 200ms ease, width 200ms ease;
}

.hero-dot.is-active {
    background: var(--gold);
    width: 36px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.is-active { animation: none; }
}

/* ============================================
   DOMAINES
   ============================================ */
.domains-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--border);
    max-width: 100%;
}

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

.domain-card {
    position: relative;
    padding: 32px 22px 28px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    transition: background-color 200ms ease;
    min-width: 0;
}

@media (min-width: 1024px) {
    .domain-card { padding: 40px 28px 32px; }
}

@media (max-width: 1023px) {
    .domain-card { border-right: none; }
}
@media (min-width: 1024px) {
    .domain-card:nth-child(4n),
    .domain-card:last-child {
        border-right: none;
    }
}

.domain-card:hover { background: var(--mint); }

.domain-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--stone);
}

.domain-icon {
    width: 24px;
    height: 24px;
    color: var(--emerald);
    margin-bottom: 16px;
}

.domain-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--forest);
    margin: 0;
}

@media (min-width: 1024px) {
    .domain-title { font-size: 16px; }
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; }
}

.stat-item {
    border-left: 2px solid var(--emerald);
    padding-left: 14px;
    min-width: 0;
}

.stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.75rem, 6vw, 2.75rem);
    line-height: 1;
    color: var(--forest);
    margin: 0 0 6px;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone);
    margin: 0;
    line-height: 1.4;
}

@media (min-width: 1024px) {
    .stat-label { font-size: 12px; }
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 100%;
}

@media (min-width: 640px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (min-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 200ms ease, border-color 200ms ease;
    min-width: 0;
}

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

.card-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--mint);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}

.card:hover .card-media img {
    transform: scale(1.03);
}

.card-body {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

@media (min-width: 768px) {
    .card-body { padding: 24px 24px 28px; }
}

.card-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald);
    margin: 0 0 8px;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    color: var(--forest);
    margin: 0 0 8px;
}

@media (min-width: 768px) {
    .card-title { font-size: 16px; }
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 200ms ease;
}
.card-title a:hover { color: var(--emerald); }

.card-meta {
    font-size: 12px;
    color: var(--stone);
    margin: 0 0 16px;
}

.card-date {
    font-size: 11px;
    font-weight: 500;
    color: var(--stone);
    margin: 0 0 8px;
    letter-spacing: 0.03em;
}

.progress {
    margin-top: auto;
    height: 3px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--emerald);
    border-radius: 999px;
}

.progress-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--stone);
    margin: 6px 0 0;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
    background: var(--emerald);
    color: #fff;
    padding: 64px 0;
}

@media (min-width: 768px) {
    .cta-final { padding: 96px 0; }
}

.cta-inner {
    max-width: 620px;
    width: 100%;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(1.35rem, 4vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 14px;
    color: #fff;
}

.cta-text {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 26px;
}

@media (min-width: 768px) {
    .cta-text { font-size: 16px; margin-bottom: 32px; }
}

/* ============================================
   NAVBAR
   ============================================ */
nav.sticky {
    backdrop-filter: saturate(180%);
    transition: box-shadow 200ms ease;
}
nav.sticky.is-scrolled {
    box-shadow: 0 1px 2px rgba(15, 46, 31, 0.06);
}

header img {
    max-height: 100%;
}

/* ============================================
   PROSE
   ============================================ */
.prose-content {
    font-size: 1rem;
    line-height: 1.75;
}
.prose-content p { margin-bottom: 1.25em; }

/* ============================================
   FOCUS / SCROLLBAR / PRINT
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--emerald);
    outline-offset: 2px;
}

::selection {
    background: var(--emerald);
    color: #fff;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--sage); }

@media print {
    header, nav, footer, aside, .hero-arrow, .hero-dots { display: none !important; }
    body { background: #fff; color: #000; }
}

/* ============================================
   TRÈS PETITS ÉCRANS
   ============================================ */
@media (max-width: 360px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-inner { padding: 60px 16px; }
    .btn { padding: 12px 18px; font-size: 13px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}
/* ============================================
   PAGE DON — DESIGN PRO
   ============================================ */

.don-hero {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 64px 0 40px;
}

@media (min-width: 768px) {
    .don-hero { padding: 80px 0 56px; }
}

/* ------------------------------
   Onglets
   ------------------------------ */
.don-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

@media (max-width: 640px) {
    .don-tabs {
        flex-direction: column;
        gap: 0;
        border: 1px solid var(--border);
        border-radius: 8px;
        overflow: hidden;
        background: #fff;
    }
}

.don-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--stone);
    cursor: pointer;
    transition: all 200ms ease;
    text-align: left;
    margin-bottom: -1px;
    font-family: inherit;
}

.don-tab i {
    color: var(--stone);
    margin-bottom: 6px;
    transition: color 200ms ease;
}

.don-tab > span {
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
    transition: color 200ms ease;
}

.don-tab > small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stone);
}

.don-tab:hover { background: var(--mint); }

.don-tab.is-active {
    border-bottom-color: var(--emerald);
}

.don-tab.is-active i,
.don-tab.is-active > span {
    color: var(--emerald);
}

@media (max-width: 640px) {
    .don-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
        margin-bottom: 0;
    }
    .don-tab.is-active {
        border-left-color: var(--emerald);
        background: var(--mint);
    }
}

/* ------------------------------
   Panels
   ------------------------------ */
.don-panel { display: none; }
.don-panel.is-active { display: block; }

.don-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ------------------------------
   Étapes (steps)
   ------------------------------ */
.don-step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
    .don-step { padding: 20px 16px; }
}

.don-step-highlight {
    background: var(--mint);
    border-color: var(--sage);
}

.don-step-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.don-step-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--emerald);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.don-step-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--forest);
    margin: 0 0 2px;
}

.don-step-sub {
    font-size: 13px;
    color: var(--stone);
    margin: 0;
}

/* ------------------------------
   Grid / Fields
   ------------------------------ */
.don-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

@media (min-width: 640px) {
    .don-grid-2 { grid-template-columns: 1fr 1fr; }
}

.don-field { margin-bottom: 14px; }
.don-field:last-child { margin-bottom: 0; }

.don-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--stone);
    margin-bottom: 6px;
}

.don-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 14px;
    background: #fff;
    color: var(--charcoal);
    font-family: inherit;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    box-sizing: border-box;
}

.don-input:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(27, 94, 63, 0.1);
}

.don-input-group {
    position: relative;
}

.don-input-group .don-input {
    padding-right: 44px;
}

.don-input-suffix {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--stone);
    font-weight: 500;
    pointer-events: none;
}

.don-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--charcoal);
    cursor: pointer;
    margin-top: 14px;
}

.don-checkbox input[type="checkbox"] {
    accent-color: var(--emerald);
    width: 16px;
    height: 16px;
}

/* ------------------------------
   Opérateurs
   ------------------------------ */
.don-operators {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

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

.don-operator { cursor: pointer; }
.don-radio { position: absolute; opacity: 0; pointer-events: none; }

.don-operator-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    transition: all 200ms ease;
}

.don-operator-box i {
    color: var(--stone);
    transition: color 200ms ease;
    flex-shrink: 0;
}

.don-operator-name {
    flex: 1;
    font-weight: 500;
}

.don-operator-check {
    display: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--emerald);
    color: #fff;
    flex-shrink: 0;
}

.don-operator-box:hover {
    border-color: var(--sage);
}

.don-radio:checked + .don-operator-box {
    border-color: var(--emerald);
    background: var(--mint);
    color: var(--forest);
}

.don-radio:checked + .don-operator-box i {
    color: var(--emerald);
}

.don-radio:checked + .don-operator-box .don-operator-check {
    display: inline-flex;
}

/* ------------------------------
   Montants
   ------------------------------ */
.don-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .don-amounts { grid-template-columns: repeat(5, 1fr); }
}

.don-amount { cursor: pointer; }

.don-amount-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
    transition: all 200ms ease;
    text-align: center;
    min-height: 60px;
}

.don-amount-box small {
    font-size: 10px;
    font-weight: 500;
    color: var(--stone);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.don-amount-box:hover {
    border-color: var(--sage);
}

.don-radio:checked + .don-amount-box {
    border-color: var(--emerald);
    background: var(--mint);
    color: var(--forest);
}

.don-radio:checked + .don-amount-box small {
    color: var(--emerald);
}

.don-custom-amount {
    margin-top: 4px;
}

/* ------------------------------
   Numéros Mobile Money
   ------------------------------ */
.don-numbers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 16px 0;
}

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

.don-number-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px;
    text-align: center;
    position: relative;
}

.don-number-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}

.don-number-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald);
}

.don-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: none;
    background: var(--mint);
    color: var(--emerald);
    cursor: pointer;
    transition: background-color 200ms ease;
    padding: 0;
}

.don-copy:hover { background: var(--sage); color: #fff; }
.don-copy.is-copied { background: var(--emerald); color: #fff; }

.don-number-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--forest);
    margin: 4px 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
    word-break: break-all;
}

.don-number-holder {
    display: block;
    font-size: 11px;
    color: var(--stone);
}

/* ------------------------------
   Note info
   ------------------------------ */
.don-note {
    display: flex;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid var(--emerald);
    border-radius: 6px;
    padding: 14px;
    margin: 16px 0;
    font-size: 13px;
    color: var(--charcoal);
    line-height: 1.55;
}

.don-note i {
    color: var(--emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.don-note-info {
    border-left-color: var(--gold);
    background: #fffdf7;
    margin-bottom: 20px;
}

.don-note-info i { color: var(--gold); }

/* ------------------------------
   Dropzone (upload)
   ------------------------------ */
.don-dropzone {
    display: block;
    border: 2px dashed var(--sage);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 200ms ease;
    overflow: hidden;
    min-height: 140px;
}

.don-dropzone:hover {
    border-color: var(--emerald);
    background: #fafefb;
}

.don-dropzone.is-dragover {
    border-color: var(--emerald);
    background: var(--mint);
    transform: scale(1.01);
}

.don-dropzone-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.don-dropzone-content {
    padding: 32px 20px;
    text-align: center;
    color: var(--stone);
}

.don-dropzone-content i {
    color: var(--emerald);
    margin: 0 auto 12px;
    display: block;
}

.don-dropzone-content p {
    font-size: 14px;
    color: var(--charcoal);
    margin: 0 0 6px;
}

.don-dropzone-content p strong {
    color: var(--emerald);
    font-weight: 600;
}

.don-dropzone-content span {
    font-size: 12px;
    color: var(--stone);
}

.don-dropzone-preview {
    padding: 12px;
    text-align: center;
}

.don-dropzone-preview img {
    max-height: 240px;
    max-width: 100%;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
}

/* ------------------------------
   Actions
   ------------------------------ */
.don-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}

.don-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
}

@media (min-width: 640px) {
    .don-submit {
        width: auto;
        min-width: 280px;
    }
}

.don-terms {
    font-size: 12px;
    color: var(--stone);
    text-align: center;
    margin: 0;
    max-width: 400px;
    line-height: 1.5;
}

/* ============================================
   PAGE MERCI
   ============================================ */
.thanks-box {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 56px 24px;
    box-shadow: var(--shadow-md);
    max-width: 640px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .thanks-box { padding: 64px 40px; }
}

.thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--emerald);
    margin-bottom: 24px;
}

.thanks-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--forest);
    margin: 0 0 12px;
}

.thanks-text {
    font-size: 15px;
    color: var(--stone);
    margin: 0 0 32px;
    line-height: 1.6;
}

.thanks-info {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    text-align: left;
    margin-bottom: 32px;
}

.thanks-ref-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stone);
    margin: 0 0 6px;
}

.thanks-ref {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--forest);
    margin: 0 0 20px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    display: inline-block;
}

.thanks-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

@media (max-width: 480px) {
    .thanks-meta { grid-template-columns: 1fr; gap: 12px; }
}

.thanks-meta > div span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stone);
    margin-bottom: 4px;
}

.thanks-meta > div strong {
    font-size: 14px;
    color: var(--charcoal);
    font-weight: 600;
}

.thanks-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-dark {
    background: transparent;
    color: var(--forest);
    border: 1px solid var(--forest);
}

.btn-outline-dark:hover {
    background: var(--forest);
    color: var(--cream);
}

/* ------------------------------
   Mobile : ajustements
   ------------------------------ */
@media (max-width: 640px) {
    .don-number-value {
        font-size: 14px;
    }
    .don-amount-box {
        font-size: 14px;
        padding: 12px 8px;
    }
    .don-step-head {
        gap: 10px;
    }
    .don-step-title {
        font-size: 15px;
    }
}
/* ============================================
   PAGE À PROPOS
   ============================================ */

/* --------------------------------------------
   Hero
   -------------------------------------------- */
.about-hero {
    position: relative;
    background: var(--forest);
    color: var(--cream);
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .about-hero { min-height: 460px; }
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 46, 31, 0.75) 0%,
        rgba(15, 46, 31, 0.92) 100%
    );
}

@media (min-width: 768px) {
    .about-hero-overlay {
        background: linear-gradient(
            100deg,
            rgba(15, 46, 31, 0.92) 0%,
            rgba(15, 46, 31, 0.75) 50%,
            rgba(15, 46, 31, 0.55) 100%
        );
    }
}

.about-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (min-width: 768px) {
    .about-hero-inner {
        padding-top: 110px;
        padding-bottom: 110px;
    }
}

.about-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--cream);
    margin: 0 0 16px;
    max-width: 700px;
    letter-spacing: -0.01em;
}

.about-hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: rgba(250, 248, 243, 0.85);
    max-width: 560px;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------
   Mission / Vision
   -------------------------------------------- */
.about-mv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .about-mv-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.about-mv-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.about-mv-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--sage);
}

.about-mv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--mint);
    color: var(--emerald);
    margin-bottom: 20px;
}

.about-mv-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald);
    margin: 0 0 8px;
}

.about-mv-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--forest);
    margin: 0 0 14px;
    line-height: 1.25;
}

.about-mv-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal);
    margin: 0;
}

@media (max-width: 640px) {
    .about-mv-card { padding: 28px 22px; }
    .about-mv-title { font-size: 18px; }
}

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

@media (min-width: 640px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}

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

.value-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: border-color 200ms ease, box-shadow 200ms ease;
    overflow: hidden;
}

.value-card:hover {
    border-color: var(--emerald);
    box-shadow: var(--shadow-md);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--emerald);
    transition: height 300ms ease;
}

.value-card:hover::before {
    height: 100%;
}

.value-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--border);
    line-height: 1;
    transition: color 200ms ease;
}

.value-card:hover .value-num {
    color: var(--gold);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--mint);
    color: var(--emerald);
    margin-bottom: 18px;
    transition: background-color 200ms ease, color 200ms ease;
}

.value-card:hover .value-icon {
    background: var(--emerald);
    color: #fff;
}

.value-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--forest);
    margin: 0 0 10px;
    line-height: 1.3;
}

.value-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--stone);
    margin: 0;
}

/* --------------------------------------------
   Histoire
   -------------------------------------------- */
.about-history {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-history {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.about-history-text {
    max-width: 560px;
}

.about-history-content {
    font-size: 15px;
    line-height: 1.75;
    color: var(--charcoal);
    margin-top: 16px;
}

.about-history-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--mint);
    box-shadow: var(--shadow-md);
}

.about-history-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 500ms ease;
}

.about-history-media:hover img {
    transform: scale(1.03);
}

.about-history-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    color: var(--stone);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.about-history-placeholder i {
    color: var(--sage);
}

/* --------------------------------------------
   Équipe
   -------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.team-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color 200ms ease, box-shadow 200ms ease;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    border-color: var(--sage);
    box-shadow: var(--shadow-md);
}

.team-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--mint);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 500ms ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-photo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 500;
    color: var(--sage);
    background: linear-gradient(135deg, var(--mint) 0%, #d9ecdf 100%);
}

.team-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--forest);
    margin: 0 0 4px;
    line-height: 1.3;
}

.team-role {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--emerald);
    margin: 0 0 12px;
}

.team-bio {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--stone);
    margin: 0 0 16px;
    flex: 1;
}

.team-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.team-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: var(--cream);
    color: var(--stone);
    transition: all 200ms ease;
}

.team-links a:hover {
    background: var(--emerald);
    color: #fff;
}

/* --------------------------------------------
   Mobile
   -------------------------------------------- */
@media (max-width: 640px) {
    .about-hero { min-height: 300px; }
    .about-mv-card { padding: 28px 22px; }
    .value-card { padding: 24px 20px; }
    .team-body { padding: 18px 18px 20px; }
    .team-photo-fallback { font-size: 44px; }
}
/* ============================================
   PAGE CONTACT
   ============================================ */

/* --------------------------------------------
   Hero
   -------------------------------------------- */
.contact-hero {
    background: var(--forest);
    color: var(--cream);
    padding: 80px 0 64px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 94, 63, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    color: var(--cream);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    position: relative;
}

.contact-hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: rgba(250, 248, 243, 0.82);
    max-width: 560px;
    line-height: 1.6;
    margin: 0;
    position: relative;
}

@media (max-width: 640px) {
    .contact-hero { padding: 56px 0 40px; }
}

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 360px 1fr;
        gap: 56px;
    }
}

/* --------------------------------------------
   Colonne info (gauche)
   -------------------------------------------- */
.contact-info {
    position: relative;
}

@media (min-width: 1024px) {
    .contact-info {
        position: sticky;
        top: 100px;
    }
}

.contact-info-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--forest);
    margin: 0 0 8px;
    line-height: 1.3;
}

.contact-info-sub {
    font-size: 14px;
    line-height: 1.6;
    color: var(--stone);
    margin: 0 0 28px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-info-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--mint);
    color: var(--emerald);
    transition: background-color 200ms ease, color 200ms ease;
}

.contact-info-item:hover .contact-info-icon {
    background: var(--emerald);
    color: #fff;
}

.contact-info-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--stone);
    margin: 0 0 3px;
}

.contact-info-value {
    font-size: 14px;
    color: var(--charcoal);
    margin: 0;
    line-height: 1.5;
    text-decoration: none;
    word-break: break-word;
}

.contact-info-link {
    transition: color 200ms ease;
}
.contact-info-link:hover {
    color: var(--emerald);
}

/* Réseaux sociaux */
.contact-socials {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.contact-socials .contact-info-label {
    margin-bottom: 12px;
}

.contact-socials-list {
    display: flex;
    gap: 10px;
}

.contact-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--stone);
    transition: all 200ms ease;
}

.contact-social:hover {
    background: var(--emerald);
    border-color: var(--emerald);
    color: #fff;
    transform: translateY(-2px);
}

/* --------------------------------------------
   Formulaire (droite)
   -------------------------------------------- */
.contact-form-wrapper {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
    .contact-form-wrapper { padding: 24px 20px; }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-head {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}

.contact-form-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--forest);
    margin: 0 0 6px;
}

.contact-form-sub {
    font-size: 13px;
    color: var(--stone);
    margin: 0;
}

.contact-form-sub .required {
    color: var(--emerald);
    font-weight: 600;
}

.contact-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .contact-grid-2 { grid-template-columns: 1fr 1fr; }
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--stone);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.contact-label .required {
    color: var(--emerald);
    font-weight: 600;
}

.contact-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--charcoal);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    box-sizing: border-box;
}

.contact-input::placeholder {
    color: #a5a8ac;
}

.contact-input:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(27, 94, 63, 0.1);
}

.contact-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 4px;
}

@media (min-width: 640px) {
    .contact-submit { width: auto; min-width: 220px; }
}

/* --------------------------------------------
   Mobile
   -------------------------------------------- */
@media (max-width: 640px) {
    .contact-hero-title { font-size: 1.75rem; }
    .contact-form-title { font-size: 17px; }
    .contact-info-title { font-size: 17px; }
}
/* ============================================
   COUNTRY SELECT
   ============================================ */
.country-select {
    position: relative;
}

.country-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    color: var(--charcoal);
    transition: border-color 200ms ease, box-shadow 200ms ease;
    box-sizing: border-box;
}

.country-trigger:hover {
    border-color: var(--sage);
}

.country-trigger:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(27, 94, 63, 0.1);
}

.country-flag {
    display: inline-block;
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.country-name {
    flex: 1;
    font-weight: 500;
    color: var(--charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-chevron {
    color: var(--stone);
    transition: transform 200ms ease;
    flex-shrink: 0;
}

.country-dropdown.is-open + .country-chevron,
.country-select:has(.country-dropdown.is-open) .country-chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.country-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 46, 31, 0.12);
    z-index: 50;
    max-height: 340px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.country-dropdown.is-open {
    display: flex;
    animation: dropdownIn 150ms ease;
}

@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Recherche */
.country-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--cream);
    flex-shrink: 0;
}

.country-search i {
    color: var(--stone);
    flex-shrink: 0;
}

.country-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--charcoal);
    outline: none;
    font-family: inherit;
}

.country-search input::placeholder {
    color: #a5a8ac;
}

/* Liste */
.country-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    max-height: 260px;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 150ms ease;
    font-size: 14px;
}

.country-option:hover {
    background: var(--mint);
}

.country-option-name {
    flex: 1;
    color: var(--charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-option-dial {
    font-size: 12px;
    color: var(--stone);
    font-weight: 500;
    flex-shrink: 0;
}

/* Scrollbar interne */
.country-list::-webkit-scrollbar {
    width: 6px;
}
.country-list::-webkit-scrollbar-track {
    background: transparent;
}
.country-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 999px;
}
.country-list::-webkit-scrollbar-thumb:hover {
    background: var(--sage);
}

/* Mobile */
@media (max-width: 480px) {
    .country-dropdown {
        max-height: 280px;
    }
    .country-list {
        max-height: 200px;
    }
}
/* ============================================
   PAGE ACTUALITÉS
   ============================================ */

/* --------------------------------------------
   Hero
   -------------------------------------------- */
.news-hero {
    background: var(--forest);
    color: var(--cream);
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 94, 63, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.news-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    color: var(--cream);
    margin: 0 0 14px;
    position: relative;
}

.news-hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: rgba(250, 248, 243, 0.82);
    max-width: 560px;
    margin: 0;
    position: relative;
}

@media (max-width: 640px) {
    .news-hero { padding: 56px 0 40px; }
}

/* --------------------------------------------
   Filtres
   -------------------------------------------- */
.news-filters {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: saturate(180%);
}

.news-filters-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 1024px) {
    .news-filters-form {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.news-filters-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.news-filters-tabs::-webkit-scrollbar {
    display: none;
}

.news-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--stone);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 200ms ease;
}

.news-filter-tab:hover {
    color: var(--emerald);
    border-color: var(--sage);
}

.news-filter-tab.is-active {
    background: var(--emerald);
    color: #fff;
    border-color: var(--emerald);
}

.news-filter-count {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
}

.news-filter-tab.is-active .news-filter-count {
    background: rgba(255, 255, 255, 0.2);
}

.news-filters-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 12px;
    min-width: 260px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.news-filters-search:focus-within {
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(27, 94, 63, 0.1);
}

.news-filters-search i {
    color: var(--stone);
    flex-shrink: 0;
}

.news-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 11px 0;
    font-size: 14px;
    font-family: inherit;
    color: var(--charcoal);
    min-width: 0;
}

.news-search-input::placeholder {
    color: #a5a8ac;
}

.news-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--border);
    color: var(--stone);
    transition: all 200ms ease;
}

.news-search-clear:hover {
    background: var(--emerald);
    color: #fff;
}

.news-results-info {
    font-size: 13px;
    color: var(--stone);
    margin: 12px 0 0;
}

.news-results-info strong {
    color: var(--charcoal);
}

/* --------------------------------------------
   Grille
   -------------------------------------------- */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

@media (min-width: 1024px) {
    .news-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* Card */
.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--sage);
    transform: translateY(-3px);
}

.news-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--mint);
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 500ms ease;
}

.news-card:hover .news-card-media img {
    transform: scale(1.05);
}

.news-card-media-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
}

.news-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.news-card-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald);
    background: var(--mint);
    padding: 3px 8px;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 200ms ease;
}

.news-card-tag:hover {
    background: var(--sage);
    color: #fff;
}

.news-card-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--stone);
    font-weight: 500;
}

.news-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    color: var(--forest);
    margin: 0 0 10px;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 200ms ease;
}

.news-card-title a:hover {
    color: var(--emerald);
}

.news-card-excerpt {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--stone);
    margin: 0 0 16px;
    flex: 1;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--emerald);
    text-decoration: none;
    transition: gap 200ms ease;
    margin-top: auto;
}

.news-card-link:hover {
    gap: 10px;
}

/* Card en vedette */
@media (min-width: 1024px) {
    .news-card-featured {
        grid-column: span 2;
        flex-direction: row;
    }

    .news-card-featured .news-card-media {
        width: 55%;
        aspect-ratio: auto;
    }

    .news-card-featured .news-card-body {
        width: 45%;
        padding: 32px;
        justify-content: center;
    }

    .news-card-featured .news-card-title {
        font-size: 22px;
    }

    .news-card-featured .news-card-excerpt {
        font-size: 14.5px;
    }
}

/* --------------------------------------------
   Empty state
   -------------------------------------------- */
.news-empty {
    text-align: center;
    padding: 72px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.news-empty i {
    color: var(--sage);
    margin: 0 auto 16px;
}

.news-empty h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: var(--forest);
    margin: 0 0 8px;
}

.news-empty p {
    font-size: 14px;
    color: var(--stone);
    margin: 0 0 24px;
}

/* --------------------------------------------
   Pagination
   -------------------------------------------- */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.news-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--stone);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 200ms ease;
}

.news-page-link:hover {
    color: var(--emerald);
    border-color: var(--emerald);
}

.news-page-link.is-active {
    background: var(--emerald);
    color: #fff;
    border-color: var(--emerald);
}

.news-page-dots {
    padding: 0 6px;
    color: var(--stone);
}

/* --------------------------------------------
   Grid 3 (pour articles liés)
   -------------------------------------------- */
.news-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

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

/* ============================================
   ARTICLE (page show)
   ============================================ */

.container-narrow {
    max-width: 780px;
}

.article-breadcrumb {
    background: var(--cream);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.article-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--stone);
    text-decoration: none;
    transition: color 200ms ease;
}

.article-breadcrumb a:hover {
    color: var(--emerald);
}

.article-header {
    background: var(--cream);
    padding: 48px 0 32px;
}

@media (min-width: 768px) {
    .article-header { padding: 64px 0 40px; }
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.article-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald);
    background: var(--mint);
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
}

.article-date,
.article-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--stone);
    font-weight: 500;
}

.article-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
    color: var(--forest);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.article-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--stone);
    margin: 0;
    max-width: 100%;
}

/* Image héro */
.article-hero-image {
    background: var(--cream);
    padding: 0 0 40px;
}

.article-hero-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: block;
}

/* Layout 2 colonnes */
.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr 320px;
        gap: 64px;
    }
}

/* Contenu */
.article-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--charcoal);
    max-width: 720px;
}

.article-content p {
    margin: 0 0 1.25em;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .article-sidebar {
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

.sidebar-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--forest);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-list li a {
    display: block;
    text-decoration: none;
    transition: color 200ms ease;
}

.sidebar-list li a:hover .sidebar-list-title {
    color: var(--emerald);
}

.sidebar-list-date {
    display: block;
    font-size: 11px;
    color: var(--stone);
    margin-bottom: 3px;
}

.sidebar-list-title {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.4;
    transition: color 200ms ease;
}

.sidebar-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-categories li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 13.5px;
    color: var(--charcoal);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color 200ms ease;
}

.sidebar-categories li:last-child a {
    border-bottom: none;
}

.sidebar-categories li a:hover {
    color: var(--emerald);
}

.sidebar-cat-count {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--mint);
    color: var(--emerald);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--forest) 100%);
    color: #fff;
    border-radius: 8px;
    padding: 24px 22px;
    text-align: center;
}

.sidebar-cta i {
    color: var(--gold);
    margin: 0 auto 12px;
}

.sidebar-cta-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 6px;
    color: #fff;
}

.sidebar-cta-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 18px;
    line-height: 1.5;
}

.sidebar-cta-btn {
    width: 100%;
    background: var(--cream) !important;
    color: var(--forest) !important;
}

.sidebar-cta-btn:hover {
    background: var(--gold) !important;
}

/* --------------------------------------------
   Mobile
   -------------------------------------------- */
@media (max-width: 640px) {
    .news-hero-title { font-size: 1.75rem; }
    .article-title { font-size: 1.5rem; }
    .news-filters-search { min-width: 0; width: 100%; }
    .news-card-body { padding: 18px 18px 20px; }
}
/* ============================================
   PAGE PROJETS
   ============================================ */

/* --------------------------------------------
   Hero
   -------------------------------------------- */
.projects-hero {
    background: var(--forest);
    color: var(--cream);
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}

.projects-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 94, 63, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.projects-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    color: var(--cream);
    margin: 0 0 14px;
    position: relative;
}

.projects-hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: rgba(250, 248, 243, 0.82);
    max-width: 560px;
    margin: 0;
    position: relative;
}

@media (max-width: 640px) {
    .projects-hero { padding: 56px 0 40px; }
}

/* Filtres : réutilise .news-filters (déjà défini) */

/* --------------------------------------------
   Grille
   -------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

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

@media (min-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* --------------------------------------------
   Card projet
   -------------------------------------------- */
.project-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.project-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--sage);
    transform: translateY(-3px);
}

.project-card-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--mint);
}

.project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 500ms ease;
}

.project-card:hover .project-card-media img {
    transform: scale(1.05);
}

.project-card-media-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
}

/* Badges */
.project-badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--forest);
}

.project-badge-category {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 46, 31, 0.85);
    color: #fff;
    backdrop-filter: blur(4px);
}

/* Corps */
.project-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    color: var(--forest);
    margin: 0 0 8px;
}

.project-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 200ms ease;
}

.project-card-title a:hover {
    color: var(--emerald);
}

.project-card-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--stone);
    margin: 0 0 12px;
}

.project-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--stone);
    margin: 0 0 18px;
    flex: 1;
}

/* Progression */
.project-progress {
    margin-bottom: 16px;
}

.project-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.project-progress-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stone);
}

.project-progress-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--emerald);
}

.project-progress-bar {
    height: 4px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.project-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald) 0%, var(--sage) 100%);
    border-radius: 999px;
    transition: width 400ms ease;
}

/* Pied */
.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.project-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--stone);
    font-weight: 500;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--emerald);
    text-decoration: none;
    transition: gap 200ms ease;
}

.project-card-link:hover {
    gap: 10px;
}

/* --------------------------------------------
   Page détail projet
   -------------------------------------------- */

/* KPIs en haut du contenu */
.project-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--mint);
    border-radius: 8px;
    border: 1px solid var(--sage);
}

.project-kpi {
    text-align: center;
    padding: 8px;
}

.project-kpi i {
    color: var(--emerald);
    margin: 0 auto 8px;
}

.project-kpi-value {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 26px;
    color: var(--forest);
    margin: 0 0 2px;
    line-height: 1;
}

.project-kpi-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stone);
    margin: 0;
    font-weight: 500;
}

/* Sidebar info */
.sidebar-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-info li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.sidebar-info li:last-child {
    border-bottom: none;
}

.sidebar-info span {
    color: var(--stone);
}

.sidebar-info strong {
    color: var(--charcoal);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.sidebar-help {
    font-size: 13px;
    color: var(--stone);
    line-height: 1.55;
    margin: 14px 0 16px;
}

.project-progress-sidebar {
    margin-bottom: 4px;
}

/* Bouton sidebar */
.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
}

/* --------------------------------------------
   Mobile
   -------------------------------------------- */
@media (max-width: 640px) {
    .projects-hero-title { font-size: 1.75rem; }
    .project-card-body { padding: 18px 18px 20px; }
    .project-kpis { gap: 12px; padding: 16px; }
    .project-kpi-value { font-size: 22px; }
}
/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--forest);
    color: rgba(250, 248, 243, 0.85);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 94, 63, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

/* Section principale */
.site-footer-main {
    padding: 72px 0 56px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .site-footer-main { padding: 56px 0 40px; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
        gap: 48px;
    }
}

/* Colonne 1 : Brand */
.footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--emerald);
    color: var(--cream);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.footer-site-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--cream);
    margin: 0 0 10px;
    line-height: 1.3;
}

.footer-slogan {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(250, 248, 243, 0.7);
    margin: 0 0 24px;
}

/* Réseaux sociaux */
.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(250, 248, 243, 0.08);
    color: rgba(250, 248, 243, 0.85);
    text-decoration: none;
    transition: all 200ms ease;
    border: 1px solid rgba(250, 248, 243, 0.1);
}

.footer-social:hover {
    background: var(--gold);
    color: var(--forest);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* Colonnes classiques */
.footer-col {
    min-width: 0;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin: 0 0 20px;
    padding-bottom: 0;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-list li a {
    font-size: 14px;
    color: rgba(250, 248, 243, 0.75);
    text-decoration: none;
    transition: color 200ms ease, padding-left 200ms ease;
    display: inline-block;
    position: relative;
}

.footer-list li a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-list li a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    transform: translateY(-50%) scale(0);
    transition: transform 200ms ease;
}

.footer-list li a:hover::before {
    transform: translateY(-50%) scale(1);
}

/* Contact */
.footer-contact {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(250, 248, 243, 0.75);
    line-height: 1.5;
}

.footer-contact li i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact li a {
    color: inherit;
    text-decoration: none;
    transition: color 200ms ease;
    word-break: break-word;
}

.footer-contact li a:hover {
    color: var(--gold);
}

/* CTA don */
.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    background: var(--emerald);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 200ms ease, transform 200ms ease;
}

.footer-cta:hover {
    background: var(--gold);
    color: var(--forest);
    transform: translateY(-1px);
}

/* --------------------------------------------
   Barre inférieure
   -------------------------------------------- */
.site-footer-bottom {
    border-top: 1px solid rgba(250, 248, 243, 0.1);
    padding: 22px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: center;
}

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

.footer-copy {
    font-size: 12.5px;
    color: rgba(250, 248, 243, 0.55);
    margin: 0;
}

.footer-legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
}

@media (min-width: 768px) {
    .footer-legal { justify-content: flex-end; }
}

.footer-legal li a {
    font-size: 12.5px;
    color: rgba(250, 248, 243, 0.55);
    text-decoration: none;
    transition: color 200ms ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-legal li a:hover {
    color: var(--gold);
}

.footer-admin {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(250, 248, 243, 0.06);
    transition: background-color 200ms ease;
}

.footer-admin:hover {
    background: rgba(201, 169, 97, 0.15);
}

/* --------------------------------------------
   Mobile
   -------------------------------------------- */
@media (max-width: 480px) {
    .footer-logo img { height: 40px; }
    .footer-logo-fallback {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    .footer-site-name { font-size: 16px; }
    .footer-title { font-size: 11px; margin-bottom: 16px; }
    .footer-list li a { font-size: 13.5px; }
}
/* ============================================
   FOOTER — AJOUTS
   ============================================ */

/* Développé par Cryzonix */
.footer-credit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 14px 0 0;
    margin-top: 14px;
    border-top: 1px solid rgba(250, 248, 243, 0.06);
    font-size: 12px;
    color: rgba(250, 248, 243, 0.4);
}

@media (min-width: 768px) {
    .footer-credit {
        padding-top: 12px;
        margin-top: 10px;
    }
}

.footer-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 12.5px;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background-color 200ms ease, color 200ms ease;
}

.footer-credit-link:hover {
    background: rgba(201, 169, 97, 0.15);
    color: var(--gold);
}

.footer-credit-link i {
    transition: transform 200ms ease;
}

.footer-credit-link:hover i {
    transform: rotate(-8deg) scale(1.15);
}

/* Logo footer — forcer la visibilité */
.footer-logo img {
    display: block;
    max-height: 56px;
    width: auto;
    object-fit: contain;
    /* Fond clair pour que le logo soit visible sur fond sombre
       si c'est un logo avec fond transparent */
    filter: brightness(1.05);
}

/* ============================================
   PAGES LÉGALES
   ============================================ */
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--stone);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 200ms ease;
}

.legal-back:hover {
    color: var(--emerald);
}

.legal-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-content {
    font-size: 15px;
    line-height: 1.75;
    color: var(--charcoal);
}

.legal-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--forest);
    margin: 32px 0 12px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 16px;
}

.legal-content ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--emerald);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: var(--forest);
}

.legal-content strong {
    color: var(--forest);
}

.legal-updated {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--stone);
    font-style: italic;
}

/* ============================================
   MOBILE — footer crédit
   ============================================ */
@media (max-width: 480px) {
    .footer-credit {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 9999;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 400ms ease, opacity 400ms ease;
    pointer-events: none;
}

.cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 900px) {
    .cookie-banner {
        left: 24px;
        right: auto;
        bottom: 24px;
        max-width: 480px;
    }
}

.cookie-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 12px 40px rgba(15, 46, 31, 0.18);
    flex-wrap: wrap;
}

.cookie-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--mint);
    color: var(--emerald);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--forest);
    margin: 0 0 4px;
}

.cookie-desc {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--stone);
    margin: 0;
}

.cookie-desc a {
    color: var(--emerald);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-desc a:hover {
    color: var(--forest);
}

.cookie-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    justify-content: flex-end;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .cookie-actions {
        width: auto;
    }
}

.cookie-btn {
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: all 200ms ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: var(--emerald);
    color: #fff;
}

.cookie-btn-primary:hover {
    background: var(--forest);
}

.cookie-btn-outline {
    background: transparent;
    color: var(--stone);
    border-color: var(--border);
}

.cookie-btn-outline:hover {
    background: var(--cream);
    color: var(--charcoal);
    border-color: var(--sage);
}

/* ============================================
   TOASTS
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: calc(100% - 32px);
    pointer-events: none;
}

@media (min-width: 480px) {
    .toast-container {
        width: 380px;
    }
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 32px rgba(15, 46, 31, 0.14);
    font-size: 13.5px;
    color: var(--charcoal);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), opacity 350ms ease;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--emerald);
}

.toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.toast.is-leaving {
    transform: translateX(120%);
    opacity: 0;
}

/* Icon */
.toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--mint);
    color: var(--emerald);
    margin-left: 4px;
}

/* Body */
.toast-body {
    flex: 1;
    line-height: 1.5;
    padding-top: 5px;
}

.toast-body strong {
    font-weight: 600;
    color: var(--forest);
}

/* Close */
.toast-close {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--stone);
    border-radius: 4px;
    transition: color 200ms ease, background-color 200ms ease;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--charcoal);
    background: var(--cream);
}

/* Types */
.toast-success::before { background: var(--emerald); }
.toast-success .toast-icon {
    background: var(--mint);
    color: var(--emerald);
}

.toast-error::before { background: #b91c1c; }
.toast-error .toast-icon {
    background: #fee2e2;
    color: #b91c1c;
}

.toast-warning::before { background: var(--gold); }
.toast-warning .toast-icon {
    background: #fef3c7;
    color: #92400e;
}

.toast-info::before { background: #2563eb; }
.toast-info .toast-icon {
    background: #dbeafe;
    color: #1e40af;
}

/* Mobile */
@media (max-width: 480px) {
    .toast-container {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }
    .toast {
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* Accessibilité : réduire les animations */
@media (prefers-reduced-motion: reduce) {
    .toast,
    .cookie-banner {
        transition: none;
    }
}
/* ============================================
   LOGOS — Header & Footer plus grands
   ============================================ */

/* Logo header */
.site-logo {
    display: block;
    height: 30px;
    width: 100px;
    max-width: 220px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 200ms ease;
}

.site-logo:hover {
    transform: scale(1.03);
}

@media (min-width: 640px) {
    .site-logo {
        height: 76px;
        max-width: 260px;
    }
}

@media (min-width: 1024px) {
    .site-logo {
        height: 84px;
        max-width: 300px;
    }
}

/* Fallback si pas de logo */
.site-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: var(--emerald);
    color: var(--cream);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 200ms ease;
}

.site-logo-fallback:hover {
    transform: scale(1.03);
}

@media (min-width: 640px) {
    .site-logo-fallback {
        width: 76px;
        height: 76px;
        font-size: 26px;
    }
}

@media (min-width: 1024px) {
    .site-logo-fallback {
        width: 84px;
        height: 84px;
        font-size: 28px;
    }
}

/* Logo footer — plus grand */
.footer-logo {
    display: inline-block;
    margin-bottom: 22px;
}

.footer-logo img {
    display: block;
    height: 72px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: transform 200ms ease;
}

.footer-logo img:hover {
    transform: scale(1.03);
}

@media (min-width: 640px) {
    .footer-logo img {
        height: 88px;
        max-width: 280px;
    }
}

@media (min-width: 1024px) {
    .footer-logo img {
        height: 96px;
        max-width: 320px;
    }
}

.footer-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: var(--emerald);
    color: var(--cream);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    transition: transform 200ms ease;
}

.footer-logo-fallback:hover {
    transform: scale(1.03);
}

@media (min-width: 640px) {
    .footer-logo-fallback {
        width: 88px;
        height: 88px;
        font-size: 28px;
    }
}

@media (min-width: 1024px) {
    .footer-logo-fallback {
        width: 96px;
        height: 96px;
        font-size: 32px;
    }
}

/* ============================================
   HERO CAROUSEL — transition rapide
   ============================================ */

.hero-slide.is-active {
    animation: heroFadeIn 350ms ease !important;
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Dots : plus réactifs */
.hero-dot {
    transition: background-color 200ms ease, width 250ms ease;
}
/* ============================================
   GALERIE — ADMIN
   ============================================ */
.dropzone {
    display: block;
    border: 2px dashed var(--sage);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 200ms ease;
    padding: 24px 16px;
    text-align: center;
}

.dropzone:hover {
    border-color: var(--emerald);
    background: #fafefb;
}

.dropzone-input {
    display: none;
}

.dropzone-content {
    color: var(--stone);
    font-size: 13px;
}

.dropzone-content i {
    color: var(--emerald);
    margin: 0 auto 10px;
    display: block;
}

.dropzone-content p {
    color: var(--charcoal);
    margin: 0 0 4px;
    font-size: 14px;
}

.dropzone-content p strong {
    color: var(--emerald);
    font-weight: 600;
}

.dropzone-content span {
    font-size: 12px;
    color: var(--stone);
}

/* Grille admin */
.gallery-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

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

.gallery-admin-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--mint);
    cursor: grab;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.gallery-admin-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.gallery-admin-item.is-dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.gallery-admin-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.gallery-admin-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 46, 31, 0.7) 0%, transparent 40%, transparent 60%, rgba(15, 46, 31, 0.7) 100%);
    opacity: 0;
    transition: opacity 200ms ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
    pointer-events: none;
}

.gallery-admin-item:hover .gallery-admin-item-overlay {
    opacity: 1;
    pointer-events: auto;
}

.gallery-admin-drag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: rgba(255,255,255,0.9);
    color: var(--forest);
    align-self: flex-start;
    cursor: grab;
}

.gallery-admin-delete {
    align-self: flex-end;
    margin-top: auto;
}

.gallery-admin-delete button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: rgba(185, 28, 28, 0.9);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease;
}

.gallery-admin-delete button:hover {
    background: #7f1d1d;
    transform: scale(1.05);
}

/* ============================================
   GALERIE — FRONT
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 200px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--mint);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 600ms ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Image principale plus grande */
@media (min-width: 768px) {
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: auto;
    }
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 46, 31, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 200ms ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    transform: scale(0.8);
    transition: transform 200ms ease;
}

.gallery-item:hover .gallery-item-overlay i {
    transform: scale(1);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 46, 31, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 92vw;
    max-height: 88vh;
    position: relative;
    transform: scale(0.95);
    transition: transform 300ms ease;
}

.lightbox.is-open .lightbox-content {
    transform: scale(1);
}

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 200ms ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 200ms ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

@media (max-width: 768px) {
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

.lightbox-counter {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}
/* Flèches : plus réactives */
.hero-arrow {
    transition: background-color 200ms ease, border-color 200ms ease, transform 150ms ease;
}

.hero-arrow:active {
    transform: translateY(-50%) scale(0.92);
}

/* ============================================
   MOBILE — logos adaptés
   ============================================ */
@media (max-width: 480px) {
    .site-logo {
        height: 40px;
        max-width: 80px;
    }
    .site-logo-fallback {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }
    .footer-logo img {
        height: 64px;
        max-width: 200px;
    }
    .footer-logo-fallback {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }
}
.footer-newsletter {
    padding: 40px 0;
    border-top: 1px solid rgba(250, 248, 243, 0.1);
    border-bottom: 1px solid rgba(250, 248, 243, 0.1);
}

.footer-newsletter-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

@media (min-width: 1024px) {
    .footer-newsletter-inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

.footer-newsletter-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--cream);
    margin: 0 0 8px;
}

.footer-newsletter-sub {
    font-size: 13.5px;
    color: rgba(250, 248, 243, 0.65);
    margin: 0;
    line-height: 1.6;
}

.footer-newsletter-form-wrap {
    display: flex;
    justify-content: flex-start;
}

@media (min-width: 1024px) {
    .footer-newsletter-form-wrap {
        justify-content: flex-end;
    }
}
/* ============================================
   SHARE BUTTONS — intégration article
   ============================================ */
.article-content .share-buttons {
    margin: 40px 0;
}

.article-share-top {
    margin-top: 20px;
    margin-bottom: 40px;
}
/* ============================================
   CHATBOT
   ============================================ */

.chatbot-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--emerald);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(15, 46, 31, 0.25);
    transition: all 250ms ease;
    padding: 0;
}

.chatbot-toggle:hover {
    background: var(--forest);
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(15, 46, 31, 0.35);
}

.chatbot-toggle:active {
    transform: scale(0.95);
}

.chatbot-icon-close {
    display: none;
}

.chatbot-toggle.is-open .chatbot-icon-open {
    display: none;
}

.chatbot-toggle.is-open .chatbot-icon-close {
    display: block;
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2px solid var(--cream);
}

.chatbot-window {
    position: fixed;
    bottom: 96px;
    right: 24px;
    z-index: 9001;
    width: 380px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 140px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 46, 31, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.chatbot-window.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--forest) 100%);
    color: #fff;
}

.chatbot-header-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.chatbot-header-info {
    flex: 1;
    min-width: 0;
}

.chatbot-header-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 2px;
    color: #fff;
    line-height: 1.2;
}

.chatbot-header-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.chatbot-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

.chatbot-header-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 200ms ease;
    padding: 0;
    flex-shrink: 0;
}

.chatbot-header-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 240px;
    max-height: 400px;
}

.chatbot-msg {
    display: flex;
    max-width: 85%;
}

.chatbot-msg-bot {
    align-self: flex-start;
}

.chatbot-msg-user {
    align-self: flex-end;
}

.chatbot-msg-bubble {
    padding: 10px 14px;
    font-size: 13.5px;
    line-height: 1.55;
    border-radius: 14px;
    word-wrap: break-word;
}

.chatbot-msg-bot .chatbot-msg-bubble {
    background: #fff;
    color: var(--charcoal);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(15, 46, 31, 0.06);
}

.chatbot-msg-user .chatbot-msg-bubble {
    background: var(--emerald);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chatbot-typing {
    display: inline-flex;
    gap: 3px;
    padding: 12px 16px;
}

.chatbot-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--stone);
    animation: chatbotTyping 1.4s infinite;
    opacity: 0.4;
}

.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatbotTyping {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

.chatbot-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.chatbot-quick-btn {
    padding: 7px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 200ms ease;
}

.chatbot-quick-btn:hover {
    border-color: var(--emerald);
    color: var(--emerald);
    background: var(--mint);
}

.chatbot-suggestions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.chatbot-suggestion-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--emerald);
    text-decoration: none;
    transition: all 200ms ease;
}

.chatbot-suggestion-link:hover {
    border-color: var(--emerald);
    background: var(--mint);
}

.chatbot-input-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #fff;
    border-top: 1px solid var(--border);
}

.chatbot-input-form input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 8px 4px;
    font-size: 13.5px;
    color: var(--charcoal);
    font-family: inherit;
    min-width: 0;
}

.chatbot-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--emerald);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 200ms ease;
    padding: 0;
    flex-shrink: 0;
}

.chatbot-send:hover {
    background: var(--forest);
}

.chatbot-footer {
    padding: 8px 14px;
    background: var(--cream);
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 10.5px;
    color: var(--stone);
}

@media (max-width: 640px) {
    .chatbot-toggle {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }

    .chatbot-window {
        bottom: 84px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 120px);
    }

    .chatbot-messages {
        max-height: 320px;
    }
}