/* ============================================================
   SERGEANT OF THE OCEAN — Design System
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   1. VARIABLES
   ──────────────────────────────────────────────────────────── */
:root {
    /* Couleurs */
    --c-primary:        #003d53;    /* bleu océan profond — titres, header */
    --c-primary-dark:   #002a3a;
    --c-primary-light:  #004f6b;
    --c-text:           #3d4446;    /* texte courant */
    --c-text-light:     #6e7a7e;
    --c-secondary:      #ebbd4d;    /* or sable — accents, hover */
    --c-secondary-dark: #d4a73a;
    --c-accent:         #297a97;    /* bleu clair — liens, highlights */
    --c-accent-dark:    #1e5f77;
    --c-white:          #ffffff;
    --c-off-white:      #f8f7f4;    /* fond sections claires */
    --c-border:         #e5e1d8;
    --c-success:        #2e7d5f;
    --c-error:          #c0392b;

    /* Typographie */
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body:    'Questrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Échelle typographique */
    --text-xs:   0.75rem;     /* 12px */
    --text-sm:   0.875rem;    /* 14px */
    --text-base: 1rem;        /* 16px */
    --text-lg:   1.125rem;    /* 18px */
    --text-xl:   1.25rem;     /* 20px */
    --text-2xl:  1.5rem;      /* 24px */
    --text-3xl:  2rem;        /* 32px */
    --text-4xl:  2.75rem;     /* 44px */
    --text-5xl:  3.5rem;      /* 56px */
    --text-6xl:  4.5rem;      /* 72px */
    --text-hero: clamp(3.5rem, 8vw, 6.5rem);

    /* Espacement */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Layout */
    --max-width:    1440px;
    --container:    1200px;
    --container-sm: 780px;
    --gutter:       clamp(1.25rem, 4vw, 2.5rem);

    /* Effets */
    --radius-sm:   2px;
    --radius:      4px;
    --radius-lg:   10px;
    --radius-full: 9999px;
    --shadow-sm:   0 1px 4px rgba(0, 61, 83, 0.07);
    --shadow:      0 4px 20px rgba(0, 61, 83, 0.11);
    --shadow-lg:   0 12px 40px rgba(0, 61, 83, 0.16);
    --transition:  240ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Header */
    --header-height: 100px;
}


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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--c-text);
    background-color: var(--c-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

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


/* ────────────────────────────────────────────────────────────
   3. TYPOGRAPHIE
   ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    color: var(--c-primary);
    letter-spacing: -0.01em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
em { font-style: italic; }

a:not([class]) {
    color: var(--c-accent);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color var(--transition);
}
a:not([class]):hover { text-decoration-color: currentColor; }

/* Label / eyebrow */
.label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: var(--space-3);
}

/* Entry content */
.entry-content > * + * { margin-top: 1em; }
.entry-content a { color: var(--c-accent); text-decoration: underline; }


/* ────────────────────────────────────────────────────────────
   4. LAYOUT
   ──────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container-wide {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container-sm {
    width: 100%;
    max-width: var(--container-sm);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: clamp(4rem, 8vw, 7rem);
}

.section--light { background-color: var(--c-off-white); }
.section--primary { background-color: var(--c-primary); color: var(--c-white); }

.section__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__title {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    color: var(--c-primary);
}

.section--primary .section__title { color: var(--c-white); }

.section__footer {
    text-align: center;
    margin-top: clamp(2rem, 4vw, 3rem);
}

/* Grille produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .products-grid { grid-template-columns: 1fr; } }


/* ────────────────────────────────────────────────────────────
   5. BOUTONS
   ──────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.75em 1.75em;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    transition: background-color var(--transition), color var(--transition),
                border-color var(--transition), transform var(--transition),
                box-shadow var(--transition);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary — bleu océan */
.btn--primary {
    background-color: var(--c-primary);
    color: var(--c-white);
    border-color: var(--c-primary);
}
.btn--primary:hover {
    background-color: var(--c-primary-dark);
    border-color: var(--c-primary-dark);
    box-shadow: var(--shadow);
}

/* Secondary — or */
.btn--secondary {
    background-color: var(--c-secondary);
    color: var(--c-primary);
    border-color: var(--c-secondary);
}
.btn--secondary:hover {
    background-color: var(--c-secondary-dark);
    border-color: var(--c-secondary-dark);
    box-shadow: var(--shadow);
}

/* Outline */
.btn--outline {
    background-color: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary);
}
.btn--outline:hover {
    background-color: var(--c-primary);
    color: var(--c-white);
}

/* Ghost — pour fonds sombres */
.btn--ghost {
    background-color: transparent;
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--c-white);
}

/* Tailles */
.btn--sm  { padding: 0.55em 1.2em; font-size: var(--text-xs); }
.btn--lg  { padding: 0.95em 2.5em; font-size: var(--text-base); }
.btn--full { width: 100%; }

/* Btn icône (header) */
.btn-icon {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius);
    color: var(--c-primary);
    transition: color var(--transition), background-color var(--transition);
}
.btn-icon:hover { background-color: var(--c-off-white); color: var(--c-accent); }


/* ────────────────────────────────────────────────────────────
   6. HEADER
   ──────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: var(--c-white);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
    border-color: var(--c-border);
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "nav logo actions";
    align-items: center;
    height: 100%;
}

/* Logo — centré dans la grille */
.header__logo {
    grid-area: logo;
    display: flex;
    justify-content: center;
}
.header__logo a { display: flex; align-items: center; }
.header__logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--c-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.header__logo img,
.header__logo svg,
.header__logo .custom-logo { height: 78px; width: auto; }

/* Nav principale — colonne gauche */
.header__nav {
    grid-area: nav;
    display: flex;
    justify-content: flex-start;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav__list li a {
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--c-text);
    position: relative;
    padding-bottom: 2px;
    transition: color var(--transition);
}

.nav__list li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--c-secondary);
    transition: width var(--transition);
}

.nav__list li a:hover,
.nav__list li.current-menu-item a {
    color: var(--c-primary);
}
.nav__list li a:hover::after,
.nav__list li.current-menu-item a::after { width: 100%; }

/* Actions — colonne droite */
.header__actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-1);
}

/* Language switcher */
.lang-switcher .lang-item { display: inline; }
.lang-switcher .lang-item a {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-text-light);
    padding: 0 var(--space-2);
    transition: color var(--transition);
}
.lang-switcher .lang-item a:hover,
.lang-switcher .lang-item.current-lang a { color: var(--c-primary); font-weight: 500; }
.lang-switcher .lang-item + .lang-item::before { content: '|'; color: var(--c-border); }

/* Panier */
.header__cart { position: relative; }
.cart-count {
    position: absolute;
    top: 4px; right: 4px;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    background-color: var(--c-secondary);
    color: var(--c-primary);
    font-size: 10px;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity var(--transition), transform var(--transition);
}
.cart-count.has-items { opacity: 1; transform: scale(1); }

/* Burger mobile */
.header__burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; }
.burger__line {
    display: block;
    width: 22px; height: 1.5px;
    background-color: var(--c-primary);
    transition: transform var(--transition), opacity var(--transition);
    border-radius: 2px;
}
.header__burger.is-active .burger__line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__burger.is-active .burger__line:nth-child(2) { opacity: 0; }
.header__burger.is-active .burger__line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Barre de recherche */
.header__search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    padding: var(--space-4) 0;
    box-shadow: var(--shadow);
}
.header__search-bar .container { display: flex; gap: var(--space-3); }

.search-form { flex: 1; display: flex; }
.search-field {
    flex: 1;
    padding: 0.6em 1em;
    border: 1.5px solid var(--c-border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: var(--text-sm);
    transition: border-color var(--transition);
}
.search-field:focus { outline: none; border-color: var(--c-accent); }
.search-submit {
    padding: 0 1.2em;
    background-color: var(--c-primary);
    color: var(--c-white);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: background-color var(--transition);
}
.search-submit:hover { background-color: var(--c-primary-dark); }


/* ────────────────────────────────────────────────────────────
   7. MENU MOBILE
   ──────────────────────────────────────────────────────────── */
.mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(380px, 90vw);
    height: 100%;
    background-color: var(--c-white);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 61, 83, 0.5);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 350ms ease;
    backdrop-filter: blur(2px);
}

.mobile-menu.is-open ~ .mobile-menu__overlay {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__inner {
    padding: var(--space-6) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.mobile-menu__close {
    align-self: flex-end;
    color: var(--c-text);
}

.mobile-nav__list { display: flex; flex-direction: column; gap: 0; }
.mobile-nav__list li a {
    display: block;
    padding: var(--space-4) 0;
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--c-primary);
    border-bottom: 1px solid var(--c-border);
    transition: color var(--transition), padding-left var(--transition);
}
.mobile-nav__list li a:hover {
    color: var(--c-accent);
    padding-left: var(--space-3);
}

.mobile-menu__lang .lang-item { display: block; margin-bottom: var(--space-2); }
.mobile-menu__lang .lang-item a { font-size: var(--text-sm); }


/* ────────────────────────────────────────────────────────────
   8. HERO
   ──────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--c-white);
}

.hero__bg {
    position: absolute;
    inset: 0;
}
.hero__img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 61, 83, 0.85) 0%,
        rgba(0, 61, 83, 0.55) 50%,
        rgba(0, 61, 83, 0.20) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-block: clamp(5rem, 12vh, 8rem);
}

.hero__text-wrap { max-width: 680px; }

.hero__eyebrow {
    display: block;
    font-size: var(--text-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-secondary);
    margin-bottom: var(--space-5);
    opacity: 0.9;
}

.hero__title {
    font-size: var(--text-hero);
    font-weight: 300;
    color: var(--c-white);
    line-height: 1;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: clamp(var(--text-base), 2vw, var(--text-lg));
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-10);
    max-width: 480px;
    font-weight: 300;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.6);
    z-index: 2;
}
.hero__scroll span {
    font-size: var(--text-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.hero__scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.7); }
}


/* ────────────────────────────────────────────────────────────
   9. SECTION MANIFESTE
   ──────────────────────────────────────────────────────────── */
.manifesto {
    position: relative;
    background-color: var(--c-primary);
    color: var(--c-white);
    overflow: hidden;
    padding-block: clamp(5rem, 12vh, 8rem);
}

/* Image de fond — même technique que l'ancien hero */
.manifesto__bg {
    position: absolute;
    inset: 0;
}
.manifesto__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay — couleur par défaut #003d53, overridable via style inline */
.manifesto__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 61, 83, 0.85) 0%,
        rgba(0, 61, 83, 0.55) 50%,
        rgba(0, 61, 83, 0.20) 100%
    );
    pointer-events: none;
}

/* Crédit photo — coin bas droit */
.manifesto__photo-credit {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-5);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.08em;
    z-index: 5;
    pointer-events: none;
}

/* Tout le contenu passe au-dessus de l'overlay */
.manifesto .container-sm,
.manifesto .turtle-wrap,
.manifesto .hero__scroll {
    position: relative;
    z-index: 1;
}

/* Container élargi pour l'ouverture */
.manifesto .container-sm {
    max-width: 1140px;
    text-align: center;
}

/* Accroche */
.manifesto__eyebrow {
    display: block;
    font-size: var(--text-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-secondary);
    margin-bottom: var(--space-5);
    opacity: 0.9;
}

/* Titre — même style que l'ancien hero, sans italique */
.manifesto__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--c-white);
    line-height: 1;
    letter-spacing: -0.02em;
    font-style: normal;
    margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}

.manifesto__body p {
    font-size: clamp(var(--text-base), 1.8vw, var(--text-lg));
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.85;
    margin-bottom: var(--space-6);
    text-align: center;
}

.manifesto__highlight {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-xl), 2.2vw, var(--text-2xl)) !important;
    font-style: italic;
    color: var(--c-white) !important;
    line-height: 1.6 !important;
    padding: var(--space-8) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    margin-block: var(--space-8) !important;
}

.manifesto__closing {
    font-size: var(--text-base) !important;
    color: rgba(255, 255, 255, 0.65) !important;
}

/* CTA buttons */
.manifesto__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-top: clamp(var(--space-10), 4vw, var(--space-16));
}

/* ── Tortue flottante ── */
.turtle-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: clamp(3rem, 6vw, 5rem);
    /* Fondu vers le bas */
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 90%);
    mask-image: linear-gradient(to bottom, black 40%, transparent 90%);
}

.turtle-illustration {
    display: block;
    width: clamp(220px, 32vw, 460px);
    max-width: 80%;          /* jamais plus large que la section */
    height: auto;
    animation: turtle-swim 7s ease-in-out infinite;
    transform-origin: center center;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
}

@keyframes turtle-swim {
    0%   { transform: translateY(0);     }
    50%  { transform: translateY(-30px); }
    100% { transform: translateY(0);     }
}


/* ────────────────────────────────────────────────────────────
   10. ANCIENNE SECTION MISSION (conservée si réutilisée)
   ──────────────────────────────────────────────────────────── */
.mission__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.mission__image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.mission__image-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(160deg, var(--c-accent) 0%, var(--c-primary) 100%);
    border-radius: inherit;
}

.mission__title {
    font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
    margin-bottom: var(--space-5);
}

.mission__text {
    font-size: var(--text-lg);
    color: var(--c-text-light);
    line-height: 1.75;
    margin-bottom: var(--space-8);
}

.mission__stats {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    padding-block: var(--space-6);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat__number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 300;
    color: var(--c-primary);
    line-height: 1;
}
.stat__label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text-light);
    margin-top: var(--space-1);
}


/* ────────────────────────────────────────────────────────────
   10. PRODUCT CARD
   ──────────────────────────────────────────────────────────── */
.product-card {
    background-color: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card__link { display: block; }

.product-card__image-wrap {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: var(--c-off-white);
}

.product-card__image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card__image { transform: scale(1.04); }

.product-card__image--placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(160deg, var(--c-off-white) 0%, var(--c-border) 100%);
}

/* Badge promo */
.product-card__badge {
    position: absolute;
    top: var(--space-3); left: var(--space-3);
    padding: 0.3em 0.8em;
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    z-index: 1;
}
.badge--sale { background-color: var(--c-secondary); color: var(--c-primary); }
.badge--new  { background-color: var(--c-primary);   color: var(--c-white); }

/* Overlay hover */
.product-card__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 61, 83, 0.3);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.product-card:hover .product-card__overlay { opacity: 1; }
.product-card__cta {
    color: var(--c-white);
    font-size: var(--text-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6em 1.5em;
    border: 1.5px solid rgba(255,255,255,0.8);
    border-radius: var(--radius);
}

/* Infos */
.product-card__info {
    padding: var(--space-4) var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-3);
}

.product-card__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--c-primary);
    line-height: 1.25;
}

.product-card__price {
    font-size: var(--text-base);
    color: var(--c-text);
    white-space: nowrap;
    margin: 0;
}

/* Bouton Ajouter */
.product-card__add-to-cart {
    width: 100%;
    margin: 0 var(--space-5) var(--space-5);
    width: calc(100% - 2.5rem);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--transition), transform var(--transition);
}
.product-card:hover .product-card__add-to-cart {
    opacity: 1;
    transform: translateY(0);
}


/* ────────────────────────────────────────────────────────────
   11. SECTION FEATURED PRODUCTS (Homepage — immersif)
   ──────────────────────────────────────────────────────────── */
.featured-products {
    padding-block: clamp(4rem, 8vw, 7rem);
}

/* En-tête de section dans son container */
.featured-products__header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ── Grille plein écran ── */
.products-grid--full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    width: 100%;
}

/* ── Carte immersive ── */
.product-card--immersive {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: visible; /* annule le overflow:hidden de .product-card — l'illustration doit déborder */
    background-color: var(--c-primary-dark);
    cursor: pointer;
    border-radius: 0;
}

/* Annuler le lift de la carte de base — pas de soulèvement en grille bord-à-bord */
.product-card--immersive:hover {
    transform: none;
    box-shadow: none;
}

/* Lien = contenant de tous les layers */
.product-card--immersive .product-card__link {
    display: block;
    position: absolute;
    inset: 0;
    color: inherit;
    /* overflow: visible — l'illustration doit pouvoir déborder la carte */
}

/* Photo de fond — overflow: hidden ici uniquement pour clipper le scale */
.product-card__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.product-card__bg-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, var(--c-accent) 0%, var(--c-primary) 100%);
}

.product-card__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 1;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1),
                opacity  450ms ease;
}

/* Au hover : la photo s'efface (crossfade vers l'illustration) */
.product-card--immersive:hover .product-card__bg-img {
    transform: scale(1.04);
    opacity: 0;
}

/* Illustration hover — fond crème + débordement gauche ou droite */
.product-card__illus-wrap {
    position: absolute;
    inset: 0;
    overflow: visible;
    background-color: #f8f7f4;  /* fond crème quand la photo s'efface */
    opacity: 0;
    transition: opacity 380ms ease;
    z-index: 2;
    pointer-events: none;
}

.product-card--immersive:hover .product-card__illus-wrap {
    opacity: 1;
}

/* Illustration — taille en hauteur, centre vertical par défaut, déborde à droite */
.product-card__illus-img {
    position: absolute;
    height: 450px;
    max-height: 450px;
    width: auto;
    top: 50%;                               /* centre par défaut */
    right: -10%;                            /* déborde à droite par défaut */
    animation: product-float-center 5s ease-in-out infinite;
    filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.25));
}

/* ── Sens horizontal ── */
[data-illus-dir="left"] .product-card__illus-img {
    right: auto;
    left: -10%;
}

/* ── Centré horizontalement ──
   La propriété CSS `translate` est indépendante de `transform`,
   elle se compose avec l'animation sans conflit. */
[data-illus-dir="center"] .product-card__illus-img {
    right: auto;
    left: 50%;
    translate: -50% 0;
}

/* ── Position verticale — haut ── */
[data-illus-pos="top"] .product-card__illus-img {
    top: 5%;
    animation: product-float-simple 5s ease-in-out infinite;
}

/* ── Position verticale — bas ── */
[data-illus-pos="bottom"] .product-card__illus-img {
    top: auto;
    bottom: 5%;
    animation: product-float-simple 5s ease-in-out infinite;
}

/* Animation centre — translateY(-50%) baked pour le centrage vertical */
@keyframes product-float-center {
    0%   { transform: translateY(-50%);              }
    50%  { transform: translateY(calc(-50% - 20px)); }
    100% { transform: translateY(-50%);              }
}

/* Animation haut/bas — simple translateY sans offset de centrage */
@keyframes product-float-simple {
    0%   { transform: translateY(0);     }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0);     }
}

/* Gradient de lisibilité (bas) */
.product-card__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 25, 38, 0.92) 0%,
        rgba(0, 25, 38, 0.35) 42%,
        transparent 64%
    );
    z-index: 1;
    pointer-events: none;
    transition: opacity var(--transition);
}

.product-card--immersive:hover .product-card__gradient {
    opacity: 0.85;
}

/* Infos produit en bas */
.product-card--immersive .product-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4) var(--space-5) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    z-index: 3;
    /* pas de padding/flex du style de base */
    justify-content: unset;
    align-items: unset;
}

.product-card--immersive .product-card__name {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-lg), 1.8vw, var(--text-2xl));
    font-weight: 400;
    color: var(--c-white);
    line-height: 1.2;
    margin: 0;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.product-card--immersive .product-card__price {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

/* "Voir →" qui glisse à l'hover */
.product-card__cta-text {
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-secondary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 280ms ease, transform 280ms ease;
}

.product-card--immersive:hover .product-card__cta-text {
    opacity: 1;
    transform: translateX(0);
}

/* Badge repositionné pour les cartes immersives */
.product-card--immersive .product-card__badge {
    z-index: 4;
    top: var(--space-4);
    left: var(--space-4);
}

/* Responsive grille immersive */
@media (max-width: 1100px) {
    .products-grid--full { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .products-grid--full { grid-template-columns: repeat(2, 1fr); gap: 2px; }
}
@media (max-width: 420px) {
    .products-grid--full { grid-template-columns: 1fr; gap: 2px; }
}


/* ────────────────────────────────────────────────────────────
   12. SECTION ENGAGEMENT
   ──────────────────────────────────────────────────────────── */
.engagement {
    background-color: var(--c-off-white);
}

.engagement .section__header {
    padding-block: clamp(3.5rem, 7vw, 6rem);
    text-align: center;
}

.engagement .section__title {
    max-width: 680px;
    margin-inline: auto;
}

/* ── Bloc split-screen ── */
.engagement__block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
}

/* Colonne texte */
.engagement__text {
    background-color: var(--c-white);
    padding: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.engagement__title {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    font-weight: 400;
    color: var(--c-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-top: var(--space-3);
    margin-bottom: var(--space-4);
}

.engagement__subtitle {
    font-size: var(--text-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: var(--space-6);
    font-weight: 400;
}

.engagement__text p {
    font-size: var(--text-base);
    color: var(--c-text);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

/* Citation (bloc 1) */
.engagement__quote {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-lg), 2vw, var(--text-2xl));
    font-style: italic;
    color: var(--c-primary);
    padding-left: var(--space-6);
    border-left: 3px solid var(--c-secondary);
    margin-top: var(--space-2);
    line-height: 1.5;
}

/* Liste (bloc 2) */
.engagement__list {
    margin: var(--space-2) 0 var(--space-5);
}

.engagement__list li {
    padding: var(--space-3) 0 var(--space-3) var(--space-6);
    position: relative;
    font-size: var(--text-base);
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border);
    line-height: 1.5;
}

.engagement__list li:first-child { border-top: 1px solid var(--c-border); }

.engagement__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--c-secondary);
    font-weight: 600;
}

/* Tags certifications */
.engagement__tags {
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text-light);
    line-height: 2.2;
}

/* Liens externes (bloc 4) */
.engagement__links {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--c-border);
    font-size: var(--text-sm);
    color: var(--c-text-light);
    line-height: 1.7;
}

.engagement__links a {
    color: var(--c-accent);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color var(--transition);
}
.engagement__links a:hover { text-decoration-color: currentColor; }

/* Colonne image */
.engagement__media {
    position: relative;
    overflow: hidden;
}

.engagement__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.engagement__block:hover .engagement__media img {
    transform: scale(1.03);
}

.engagement__photo-credit {
    position: absolute;
    bottom: var(--space-3);
    right: var(--space-4);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.08em;
    pointer-events: none;
    z-index: 2;
}

.engagement__media-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(160deg, var(--c-accent) 0%, var(--c-primary) 100%);
}

/* Responsive */
@media (max-width: 860px) {
    .engagement__block {
        grid-template-columns: 1fr;
        min-height: unset;
    }
    /* Image toujours en premier sur mobile */
    .engagement__block--text-left .engagement__media,
    .engagement__block--text-right .engagement__media {
        order: -1;
        min-height: 320px;
    }
    .engagement__text {
        padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
    }
}


/* ────────────────────────────────────────────────────────────
   13. SECTION FONDATEUR
   ──────────────────────────────────────────────────────────── */
.founder {
    background-color: var(--c-white);
    padding-block: clamp(4rem, 8vw, 7rem);
}

.founder__inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 0;
    max-width: var(--max-width);
    margin-inline: auto;
}

/* Photo — colle le bord gauche, plein écran en hauteur */
.founder__photo {
    position: relative;
    overflow: hidden;
}

.founder__photo img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: var(--about-img-size, 100%);
    width: auto;
}

.founder__photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(160deg, var(--c-accent) 0%, var(--c-primary) 100%);
}

/* Contenu texte */
.founder__content {
    padding-inline: clamp(2.5rem, 6vw, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--c-border);
}

.founder__name {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
    font-weight: 300;
    color: var(--c-primary);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-top: var(--space-3);
    margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}

.founder__body p {
    font-size: clamp(var(--text-base), 1.6vw, var(--text-lg));
    color: var(--c-text);
    line-height: 1.85;
    margin-bottom: var(--space-5);
}

/* Citation mise en avant */
.founder__quote {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-xl), 2.2vw, var(--text-2xl));
    font-style: italic;
    color: var(--c-primary);
    line-height: 1.55;
    padding: var(--space-6) var(--space-6) var(--space-6) var(--space-8);
    border-left: 3px solid var(--c-secondary);
    background-color: var(--c-off-white);
    margin-block: var(--space-8);
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Dernière phrase */
.founder__closing {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-lg), 1.8vw, var(--text-xl));
    font-style: italic;
    color: var(--c-accent);
    margin-top: var(--space-2);
}

/* Responsive */
@media (max-width: 860px) {
    .founder__inner {
        grid-template-columns: 1fr;
        min-height: unset;
    }
    .founder__photo {
        min-height: 420px;
        max-height: 520px;
    }
    .founder__content {
        border-left: none;
        border-top: 1px solid var(--c-border);
    }
}


/* ────────────────────────────────────────────────────────────
   14. SECTION IMPACT
   ──────────────────────────────────────────────────────────── */
.impact__grid {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    justify-content: center;
    flex-wrap: wrap;
}

.impact__item {
    text-align: center;
    flex: 1;
    min-width: 180px;
}

.impact__number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
    font-weight: 300;
    color: var(--c-secondary);
    line-height: 1;
    margin-bottom: var(--space-3);
}

.impact__label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
}

.impact__divider {
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.15);
}


/* ────────────────────────────────────────────────────────────
   12. GALERIE PHOTOS
   ──────────────────────────────────────────────────────────── */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-3);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.gallery__item { overflow: hidden; border-radius: var(--radius-lg); }
.gallery__item--1 { grid-column: span 5; grid-row: span 2; }
.gallery__item--2 { grid-column: span 4; }
.gallery__item--3 { grid-column: span 3; }
.gallery__item--4 { grid-column: span 4; }
.gallery__item--5 { grid-column: span 3; }

.gallery__img-wrap { height: 100%; min-height: 220px; }
.gallery__placeholder {
    width: 100%; height: 100%; min-height: inherit;
    background: linear-gradient(160deg, var(--c-accent) 0%, var(--c-primary) 100%);
}

.gallery__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery__item:hover img { transform: scale(1.05); }


/* ────────────────────────────────────────────────────────────
   13. CTA BANDE NEWSLETTER
   ──────────────────────────────────────────────────────────── */
.cta-band { background-color: var(--c-off-white); }

.cta-band__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-band__title {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    margin-bottom: var(--space-4);
}

.cta-band__text {
    color: var(--c-text-light);
    margin-bottom: var(--space-8);
}

.cta-band__input-wrap,
.newsletter__input-wrap {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
}

.cta-band__input-wrap input,
.newsletter__input-wrap input {
    flex: 1;
    padding: 0.75em 1.1em;
    border: 1.5px solid var(--c-border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: var(--text-sm);
    background-color: var(--c-white);
    transition: border-color var(--transition);
}
.cta-band__input-wrap input:focus,
.newsletter__input-wrap input:focus {
    outline: none;
    border-color: var(--c-accent);
}
.cta-band__input-wrap .btn,
.newsletter__input-wrap .btn {
    border-radius: 0 var(--radius) var(--radius) 0;
}


/* ────────────────────────────────────────────────────────────
   14. FOOTER
   ──────────────────────────────────────────────────────────── */
.site-footer { background-color: var(--c-primary); color: var(--c-white); }

/* Bande mission */
.footer__mission {
    background-color: var(--c-secondary);
    padding: var(--space-5) 0;
}
.footer__mission-text {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--c-primary);
    margin: 0;
    letter-spacing: 0.03em;
}
.footer__mission-link {
    color: var(--c-primary);
    font-weight: 500;
    margin-left: var(--space-4);
    text-decoration: underline;
    transition: opacity var(--transition);
}
.footer__mission-link:hover { opacity: 0.7; }

/* Main footer */
.footer__main { padding-block: clamp(3rem, 6vw, 5rem); }

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.footer__logo img,
.footer__logo > span { height: 36px; display: block; }
.footer__logo span {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 300;
    color: var(--c-white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 36px;
}

.footer__tagline {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.55);
    margin-top: var(--space-3);
    margin-bottom: var(--space-5);
}

.footer__social { display: flex; gap: var(--space-3); }
.social-link {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    color: rgba(255,255,255,0.65);
    transition: color var(--transition), border-color var(--transition);
}
.social-link:hover { color: var(--c-secondary); border-color: var(--c-secondary); }

.footer__heading {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-secondary);
    margin-bottom: var(--space-5);
}

.footer__nav { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__nav a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer__nav a:hover { color: var(--c-white); }

/* Newsletter footer */
.footer__col--newsletter p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.55);
    margin-bottom: var(--space-5);
}
.footer__col--newsletter .newsletter__input-wrap input {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: var(--c-white);
}
.footer__col--newsletter .newsletter__input-wrap input::placeholder {
    color: rgba(255,255,255,0.35);
}

/* Footer bottom */
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-block: var(--space-5);
}
.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    flex-wrap: wrap;
}
.footer__copy {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer__payments { display: flex; gap: var(--space-2); align-items: center; }
.payment-badge {
    padding: 0.25em 0.65em;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
}

.footer__lang .lang-item a { color: rgba(255,255,255,0.45); }
.footer__lang .lang-item a:hover,
.footer__lang .lang-item.current-lang a { color: var(--c-white); }
.footer__lang .lang-item + .lang-item::before { color: rgba(255,255,255,0.2); }


/* ────────────────────────────────────────────────────────────
   15. PAGES INTÉRIEURES
   ──────────────────────────────────────────────────────────── */
.page-header {
    padding-block: clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid var(--c-border);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.page-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
}


/* ────────────────────────────────────────────────────────────
   16. ANIMATIONS (simples, sans lib)
   ──────────────────────────────────────────────────────────── */
[data-anim] {
    opacity: 0;
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-anim="fade-up"]    { transform: translateY(30px); }
[data-anim="fade-right"] { transform: translateX(-30px); }
[data-anim="fade-left"]  { transform: translateX(30px); }

[data-anim].is-visible {
    opacity: 1;
    transform: none;
}

[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }


/* ────────────────────────────────────────────────────────────
   17. RESPONSIVE
   ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
}

@media (max-width: 900px) {
    :root { --header-height: 80px; }

    /* Mobile : burger à gauche, logo centré, panier à droite */
    .header__inner {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "burger logo actions";
    }
    .header__nav { display: none; }
    .header__burger {
        grid-area: burger;
        display: flex;
    }
    .header__logo { justify-content: center; }
    .header__logo img,
    .header__logo svg,
    .header__logo .custom-logo { height: 52px; }
    /* Cacher search sur mobile, garder panier + burger */
    .header__search-btn { display: none; }

    .mission__grid { grid-template-columns: 1fr; }
    .mission__image-wrap { aspect-ratio: 16/9; max-height: 400px; }

    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .gallery__item { grid-column: span 1 !important; grid-row: span 1 !important; }
}

@media (max-width: 640px) {
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }

    .hero__cta { flex-direction: column; align-items: flex-start; }

    .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
    .footer__bottom-inner { flex-direction: column; align-items: flex-start; }

    .impact__grid { flex-direction: column; gap: var(--space-8); }
    .impact__divider { display: none; }

    .mission__stats { gap: var(--space-5); }

    .gallery__grid { grid-template-columns: 1fr; }
}
