/*
 * Yetim Eli France — façade publique, d'après la maquette
 * « yetim-eli-strategie-et-prototypes » (index, à propos, actions, contact).
 *
 * Calque chargé EN DERNIER par front/layouts/styles.blade.php. Il ne modifie
 * aucune autre feuille ; l'administration ne le charge pas.
 *
 * Palette de la maquette (PLAN.md § 5), contrastes mesurés :
 *   pétrole   #263F49   titres, aplats sombres      10,43:1 sur sauge
 *   nuit      #17362D   texte, pied de page
 *   vert      #175944   boutons de don, liens        6,74:1 texte blanc
 *   vert fort #124832   survol                       9,75:1
 *   or        #E6BD62   accents, focus ; jamais du texte sur fond clair
 *                       (7,44:1 sur la nuit, il y est lisible)
 *   sauge     #F7F7F2   sections alternées
 *   gris      #5F6E66   textes secondaires           5,46:1 blanc · 4,97:1 sauge
 *   filet     #E1E7DF   bordures décoratives
 *   champ     #7D8F85   bordure des champs           3,42:1 (seuil 3:1)
 *
 * Écarts volontaires avec la maquette :
 *   - aucun texte sous 12 px (la maquette descend à 8-10 px sur téléphone) ;
 *   - cibles tactiles ≥ 44 px, champs à 16 px (PRODUCT.md) ;
 *   - la photo du slider garde son format 3:2 et n'est jamais recadrée.
 *
 * Toutes les classes sont préfixées « ye- ».
 */

:root {
    --ye-petrole: #263F49;
    --ye-nuit: #17362D;
    --ye-vert: #175944;
    --ye-vert-fort: #124832;
    --ye-vert-voile: #EAF2EC;
    --ye-or: #E6BD62;
    --ye-or-clair: #F1CC84;
    --ye-sauge: #FFFFFF;
    --ye-sauge-clair: #FFFFFF;
    --ye-gris: #5F6E66;
    --ye-texte-2: #3C574A;
    --ye-filet: #E1E7DF;
    --ye-filet-fort: #BED0C4;
    --ye-champ: #7D8F85;
    --ye-blanc: #FFFFFF;

    --ye-titres: "Manrope", "DM Sans", ui-sans-serif, system-ui, sans-serif;
    --ye-corps: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

    --ye-r-btn: 5px;
    --ye-r: 8px;
    --ye-r-lg: 10px;
    --ye-ombre: 0 20px 60px rgba(18, 63, 73, 0.08);
    --ye-ombre-douce: 0 8px 25px rgba(16, 47, 55, 0.07);

    --ye-duree: 200ms;
    --ye-duree-lente: 400ms;
    --ye-courbe: cubic-bezier(0.2, 0.7, 0.2, 1);

    --ye-max: 1180px;
    --ye-header-h: 82px;
}

/* ===================================================================
   BASE
   =================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ye-header-h) + 12px); }

body.ye-v4 {
    margin: 0;
    background: var(--ye-blanc);
    color: var(--ye-nuit);
    font-family: var(--ye-corps);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
/* dist-front/css/custom-fonts.css pose Inter sur « * » et réduit la taille
   de base à 15 puis 14 px sur petit écran. Ce calque est donc écrit en px,
   et reprend la police du corps sur tous les éléments sans toucher aux
   icônes (Font Awesome passe par des classes, plus spécifiques). */
:where(body.ye-v4) * { font-family: var(--ye-corps); }
body.ye-v4 :where(h1, h2, h3, h4, h5, h6) { font-family: var(--ye-titres); }
body.ye-v4 :where(button, input, select, textarea) { font-family: var(--ye-corps); }

#contenu:focus { outline: none; }

.ye-v4 :focus-visible {
    outline: 3px solid var(--ye-or);
    outline-offset: 3px;
}

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

.ye-skip {
    position: absolute;
    left: 16px; top: -100px;
    z-index: 2000;
    padding: 12px 16px;
    background: var(--ye-nuit);
    color: #fff;
    font-weight: 700;
    border-radius: var(--ye-r-btn);
    text-decoration: none;
}
.ye-skip:focus { top: 12px; color: #fff; }

.ye-wrap {
    width: min(var(--ye-max), calc(100% - 48px));
    margin-inline: auto;
}
@media (max-width: 760px) { .ye-wrap { width: calc(100% - 32px); } }

.ye-centre { text-align: center; margin-top: 40px; }

/* ===================================================================
   TYPOGRAPHIE
   =================================================================== */
body.ye-v4 .ye-h1,
body.ye-v4 .ye-h2,
body.ye-v4 .ye-h3 {
    margin: 0;
    color: var(--ye-petrole);
    font-family: var(--ye-titres);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.12;
    text-transform: none;
}
body.ye-v4 .ye-h1 { font-size: clamp(38.4px, 6vw, 64px); }
body.ye-v4 .ye-h2 { font-size: clamp(29.6px, 4vw, 45.6px); }
body.ye-v4 .ye-h3 { font-size: 20.8px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; }

.ye-surtitre {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 13.6px;
    color: var(--ye-vert);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.ye-surtitre::before {
    content: "";
    flex: none;
    width: 20px; height: 2px;
    background: var(--ye-or);
}
.ye-surtitre--clair { color: var(--ye-or-clair); }

.ye-lead {
    margin: 14.4px 0 0;
    max-width: 61ch;
    color: var(--ye-gris);
    font-size: 17.1px;
    line-height: 1.8;
}

.ye-prose { color: var(--ye-gris); font-size: 16.8px; line-height: 1.8; }
.ye-prose p { margin: 0 0 16px; }
/* Citation dans un texte de l'admin (page À propos…). */
.ye-prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ye-petrole); color: var(--ye-petrole); font-style: italic; }
.ye-prose blockquote p { margin: 0 0 6px; }
.ye-prose blockquote footer { font-style: normal; font-size: 14.4px; font-weight: 600; }
.ye-prose blockquote footer::before { content: '— '; }
.ye-prose strong { color: var(--ye-petrole); }
.ye-prose--court p:nth-of-type(n+3) { display: none; }

/* Texte saisi en capitales dans l'admin : remis en casse de phrase. */
.ye-casse { text-transform: lowercase; display: inline-block; }
.ye-casse::first-letter { text-transform: uppercase; }

/* ===================================================================
   BOUTONS
   =================================================================== */
.ye-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--ye-r-btn);
    font-family: var(--ye-corps);
    font-size: 15.2px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--ye-duree), border-color var(--ye-duree),
                color var(--ye-duree), transform var(--ye-duree);
}
.ye-btn:hover { transform: translateY(-2px); text-decoration: none; }
.ye-btn:active { transform: none; }
.ye-btn .ye-fl { transition: transform var(--ye-duree); }
.ye-btn:hover .ye-fl { transform: translateX(3px); }

.ye-btn--don,
.ye-btn--bleu { background: var(--ye-vert); color: #fff; }
.ye-btn--don:hover,
.ye-btn--bleu:hover { background: var(--ye-vert-fort); color: #fff; }

.ye-btn--contour { background: transparent; color: var(--ye-petrole); border-color: var(--ye-filet-fort); }
.ye-btn--contour:hover { background: var(--ye-vert-voile); color: var(--ye-petrole); border-color: var(--ye-vert); }

.ye-btn--clair { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.ye-btn--clair:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.ye-btn--sm { min-height: 44px; padding: 0 16px; }
.ye-btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.ye-btn--plein { width: 100%; }

.ye-lien-fleche {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px;
    color: var(--ye-vert);
    font-weight: 700;
    text-decoration: none;
}
.ye-lien-fleche:hover { color: var(--ye-vert-fort); text-decoration: underline; text-underline-offset: 4px; }

/* ===================================================================
   BANDEAU DU HAUT + EN-TÊTE
   =================================================================== */
.ye-topbar { background: var(--ye-nuit); color: #D9E4DF; font-size: 12.8px; }
.ye-topbar-in {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    min-height: 36px;
}
.ye-topbar p { margin: 0; color: inherit; font-size: 13px; }
.ye-topbar a { color: var(--ye-or-clair); text-decoration: none; }
.ye-topbar a:hover { color: #fff; text-decoration: underline; }
.ye-topbar-sep { margin-inline: 6.4px; opacity: 0.6; }
.ye-topbar-langues a { display: inline-block; padding: 8px 5px; color: #D9E4DF; font-weight: 700; letter-spacing: 0.05em; }
.ye-topbar-langues a.is-active { color: var(--ye-or-clair); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1280px) { .ye-topbar-langues { display: none; } }
@media (max-width: 760px) {
    .ye-topbar-in { justify-content: center; text-align: center; }
    .ye-topbar-liens { display: none; }
}

.ye-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid #E8EEE9;
    transition: box-shadow var(--ye-duree);
}
.ye-header.scrolled { box-shadow: var(--ye-ombre-douce); }

.ye-header-in {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    width: min(1280px, calc(100% - 48px));
    height: var(--ye-header-h);
    margin-inline: auto;
    transition: height var(--ye-duree);
}
@media (max-width: 760px) { .ye-header-in { width: calc(100% - 32px); height: 68px; gap: 8px; } }
.ye-header.scrolled .ye-header-in { height: 68px; }
@media (max-width: 760px) { .ye-header.scrolled .ye-header-in { height: 60px; } }

.ye-logo { flex: none; display: inline-flex; align-items: center; }
.ye-logo img { display: block; width: auto; height: 46px; transition: height var(--ye-duree); }
.ye-header.scrolled .ye-logo img { height: 40px; }
@media (max-width: 760px) { .ye-logo img, .ye-header.scrolled .ye-logo img { height: 36px; } }

.ye-nav { display: none; flex: 1; }
.ye-nav-liste {
    display: flex; align-items: center; justify-content: center;
    gap: 4px;
    margin: 0; padding: 0;
    list-style: none;
}
.ye-nav-liste > li { position: static; }

body.ye-v4 .ye-nav-lien {
    position: relative;
    display: inline-flex; align-items: center; gap: 5.6px;
    min-height: 44px;
    padding: 8px 11.2px;
    color: var(--ye-texte-2);
    font-size: 14.9px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--ye-duree);
}
.ye-nav-lien::after {
    content: "";
    position: absolute;
    left: 11.2px; right: 11.2px; bottom: 4px;
    height: 2px;
    background: var(--ye-or);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ye-duree) var(--ye-courbe);
}
body.ye-v4 .ye-nav-lien:hover,
body.ye-v4 .ye-nav-lien.is-active { color: var(--ye-vert); }
.ye-nav-lien:hover::after,
.ye-nav-lien.is-active::after { transform: scaleX(1); }
.ye-nav-lien .mm-chevron { font-size: 9.9px; transition: transform var(--ye-duree); }
.ye-nav-lien .mm-chevron.mm-retourne { transform: rotate(180deg); }

.ye-actions { display: flex; align-items: center; gap: 6.4px; margin-left: auto; }

.ye-langues {
    display: none;
    padding: 3px;
    border: 1px solid var(--ye-filet);
    border-radius: 999px;
}
.ye-langue {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 32px;
    padding: 0 6.4px;
    border-radius: 999px;
    color: var(--ye-gris);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background-color var(--ye-duree), color var(--ye-duree);
}
.ye-langue:hover { color: var(--ye-vert); background: var(--ye-sauge); }
.ye-langue.is-active { background: var(--ye-petrole); color: #fff; }

.ye-icone {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 999px;
    color: var(--ye-petrole);
    font-size: 16.8px;
    text-decoration: none;
    transition: background-color var(--ye-duree), color var(--ye-duree);
}
.ye-icone:hover { background: var(--ye-sauge); color: var(--ye-vert); }
.ye-icone--bureau { display: none; }

.ye-header .cart-icon-badge {
    top: 4px; right: 2px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--ye-or);
    color: var(--ye-nuit);
    font-size: 11.2px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

/* Bouton de don de l'en-tête : garde la largeur de son libellé (PLAN.md § 8). */
.ye-actions .ye-btn--don { min-height: 44px; padding: 0 16px; }
@media (max-width: 400px) {
    .ye-actions .ye-btn--don { padding: 0 12px; font-size: 13.6px; }
    .ye-actions .ye-btn--don .ye-fl { display: none; }
}

.ye-burger {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px;
    border: 1px solid var(--ye-filet);
    border-radius: var(--ye-r-btn);
    background: #fff;
    cursor: pointer;
}
.ye-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ye-petrole); }
.ye-burger:hover { background: var(--ye-sauge); }

/* 992 px : même seuil que js/shared/menu-mobile.js. */
@media (min-width: 992px) {
    .ye-nav { display: block; }
    .ye-burger { display: none; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .ye-header-in { gap: 8px; width: calc(100% - 32px); }
    .ye-logo img, .ye-header.scrolled .ye-logo img { height: 38px; }
    body.ye-v4 .ye-nav-lien { padding-inline: 7.2px; font-size: 13.8px; }
    .ye-nav-lien::after { left: 7.2px; right: 7.2px; }
}
@media (min-width: 1200px) { .ye-icone--bureau { display: inline-flex; } }
@media (min-width: 1280px) { .ye-langues { display: inline-flex; } }

/* Mega-menus : centrés sous la barre. */
@media (min-width: 992px) {
    .ye-header .mm-panel {
        top: calc(100% - 2px);
        left: 50%;
        border-radius: var(--ye-r);
        border: 1px solid var(--ye-filet);
        box-shadow: var(--ye-ombre);
    }
}

/* ===================================================================
   SECTIONS
   =================================================================== */
.ye-section { padding-block: 96px; }
@media (max-width: 760px) { .ye-section { padding-block: 64px; } }
.ye-section--sauge,
.ye-section--creme { background: var(--ye-sauge); }
.ye-section--clair { background: var(--ye-sauge-clair); }
.ye-section--nuit { background: var(--ye-petrole); color: #fff; }
body.ye-v4 .ye-section--nuit .ye-h2,
body.ye-v4 .ye-section--nuit .ye-h3 { color: #fff; }
.ye-section--nuit .ye-lead,
.ye-section--nuit p { color: #C8D8D0; }

.ye-entete { max-width: 690px; margin-bottom: 36px; }
.ye-entete .ye-h2 { margin-top: 1.6px; }
.ye-entete--ligne {
    max-width: none;
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 20px 32px;
}
.ye-entete--ligne > div { max-width: 690px; }
@media (max-width: 760px) { .ye-entete { margin-bottom: 26px; } }

.ye-grille-2, .ye-grille-3, .ye-grille-4 { display: grid; gap: 16px; }
@media (min-width: 761px) {
    .ye-grille-2 { grid-template-columns: repeat(2, 1fr); }
    .ye-grille-3 { grid-template-columns: repeat(3, 1fr); }
    .ye-grille-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) { .ye-grille-4 { grid-template-columns: repeat(4, 1fr); } }

.ye-carte {
    padding: 26px;
    border: 1px solid var(--ye-filet);
    border-radius: var(--ye-r);
    background: #fff;
    transition: transform var(--ye-duree), box-shadow var(--ye-duree);
}
.ye-carte p { margin: 9.6px 0 0; color: var(--ye-gris); }

/* ===================================================================
   SLIDER D'ACCUEIL
   =================================================================== */
.ye-hero { padding-top: 35px; background: linear-gradient(180deg, var(--ye-sauge) 0%, #fff 92%); }
@media (max-width: 760px) { .ye-hero { padding-top: 14px; } }

.ye-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--ye-r-lg);
    background: var(--ye-nuit);
    box-shadow: var(--ye-ombre);
}
.ye-slide {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: stretch;
    min-height: 470px;
}
.ye-slide[hidden] { display: none; }
.ye-anime .ye-slide:not([hidden]) { animation: ye-fondu 0.35s ease both; }
@keyframes ye-fondu { from { opacity: 0; } to { opacity: 1; } }

.ye-slide-texte {
    position: relative;
    z-index: 2;
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(34px, 5.8vw, 74px);
    padding-bottom: clamp(84px, 7vw, 96px);
    color: #fff;
}
.ye-slide-texte .ye-surtitre { color: var(--ye-or-clair); }
body.ye-v4 .ye-slide-titre {
    margin: 5.6px 0 17.6px;
    color: #fff;
    font-family: var(--ye-titres);
    font-size: clamp(36.8px, 4.4vw, 57.6px);
    text-wrap: balance;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
}
.ye-slide-texte p.ye-slide-lead { max-width: 47ch; margin: 0 0 27.2px; color: #E3ECE7; font-size: 16.3px; line-height: 1.7; }
.ye-slide-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ye-slide-sous { color: #C8D8D0; font-size: 13.6px; }

/* Sur téléphone, la photo garde son format 3:2 et n'est pas recadrée. */
.ye-slide-photo { position: relative; min-height: 100%; background: var(--ye-petrole); }
.ye-slide-photo::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(16, 47, 55, 0.38) 0%, transparent 35%);
    pointer-events: none;
}
.ye-slide-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.ye-slider-cmd {
    position: absolute;
    z-index: 3;
    left: clamp(34px, 5.8vw, 74px);
    bottom: 26px;
    display: flex; align-items: center; gap: 9px;
}
.ye-slider-fleche {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background-color var(--ye-duree);
}
.ye-slider-fleche:hover { background: rgba(255, 255, 255, 0.18); }
.ye-slider-points { display: flex; gap: 2px; margin-left: 4px; }
/* Le point visible fait 7 px ; la zone cliquable, elle, fait 24 × 44. */
.ye-slider-point {
    position: relative;
    width: 24px; height: 44px;
    padding: 0; border: 0;
    background: transparent;
    cursor: pointer;
}
.ye-slider-point::before {
    content: "";
    position: absolute; top: 50%; left: 50%;
    width: 7px; height: 7px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.55);
    transform: translate(-50%, -50%);
    transition: width var(--ye-duree), background-color var(--ye-duree);
}
.ye-slider-point[aria-current="true"]::before { width: 22px; background: var(--ye-or); }
.ye-slider-compte { margin-left: 6px; color: #fff; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ye-slider-compte span { color: rgba(255, 255, 255, 0.7); }

@media (max-width: 760px) {
    .ye-slider { border-radius: 7px; }
    .ye-slide { display: flex; flex-direction: column-reverse; min-height: 0; }
    .ye-slide-photo { min-height: 0; aspect-ratio: 3 / 2; }
    .ye-slide-photo::after { background: linear-gradient(0deg, rgba(16, 47, 55, 0.38), transparent 65%); }
    .ye-slide-texte { padding: 26px 22px 80px; }
    body.ye-v4 .ye-slide-titre { margin: 3.2px 0 12px; font-size: clamp(32px, 9vw, 44.8px); }
    .ye-slide-texte p.ye-slide-lead { margin-bottom: 19.2px; font-size: 15.2px; line-height: 1.6; }
    .ye-slider-cmd { left: 22px; bottom: 16px; }
}

/* Réassurance sous le slider */
.ye-confiance {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(940px, calc(100% - 48px));
    margin: -1px auto 0;
    padding: 20px 25px;
    border: 1px solid var(--ye-filet);
    border-top: 0;
    border-radius: 0 0 7px 7px;
    background: #fff;
}
.ye-confiance-item { display: flex; align-items: center; gap: 12px; }
.ye-confiance-item strong { display: block; color: var(--ye-petrole); font-family: var(--ye-titres); font-size: 13.6px; font-weight: 700; line-height: 1.3; }
.ye-confiance-item small { display: block; color: var(--ye-gris); font-size: 12.8px; line-height: 1.4; }
.ye-rond {
    flex: none;
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--ye-vert-voile);
    color: var(--ye-vert);
}
.ye-rond svg { width: 21px; height: 21px; }
@media (max-width: 760px) {
    .ye-confiance { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 12px; padding: 14px 16px; border-radius: 0 0 6px 6px; }
    .ye-rond { width: 36px; height: 36px; }
}

/* ===================================================================
   DON RAPIDE — bloc d'origine (home.css), habillé aux couleurs de la
   maquette. Aucune règle de mise en page n'est touchée.
   =================================================================== */
.ye-ancre:focus { outline: none; }
.ye-v4 .quick-donate { padding: 74px 0 82px; background: #fff; }
@media (max-width: 760px) { .ye-v4 .quick-donate { padding: 58px 0; } }
.ye-v4 .quick-donate-inner { width: min(var(--ye-max), calc(100% - 48px)); max-width: none; padding: 0; }
@media (max-width: 760px) { .ye-v4 .quick-donate-inner { width: calc(100% - 32px); } }

.ye-v4 .qd-presentation-surtitre,
.ye-v4 .qd-label {
    display: inline-flex; align-items: center; gap: 9px;
    color: var(--ye-vert);
    letter-spacing: 0.13em;
}
.ye-v4 .qd-presentation-surtitre::before,
.ye-v4 .qd-label::before { content: ""; width: 20px; height: 2px; background: var(--ye-or); }
.ye-v4 .qd-presentation-titre,
.ye-v4 .qd-title {
    color: var(--ye-petrole);
    font-family: var(--ye-titres);
    font-weight: 800;
    letter-spacing: -0.045em;
}
.ye-v4 .qd-presentation-texte { color: var(--ye-gris); }
.ye-v4 .qd-arguments li { color: var(--ye-texte-2); }
.ye-v4 .qd-coche { background: var(--ye-vert-voile); color: var(--ye-vert); }
.ye-v4 .qd-presentation-btn { border: 1px solid var(--ye-filet-fort); border-radius: var(--ye-r-btn); color: var(--ye-petrole); box-shadow: none; }
.ye-v4 .qd-presentation-btn:hover { border-color: var(--ye-vert); background: var(--ye-vert-voile); color: var(--ye-petrole); }

.ye-v4 .qd-card { border: 1px solid var(--ye-filet); border-radius: var(--ye-r); box-shadow: var(--ye-ombre); }
.ye-v4 .qd-field-label, .ye-v4 .qd-total-l, .ye-v4 .qd-note { color: var(--ye-gris); }
.ye-v4 .qd-num { background: var(--ye-vert-voile); color: var(--ye-vert-fort); }
.ye-v4 .qd-choisi, .ye-v4 .qd-total-v, .ye-v4 .qd-qte-v { color: var(--ye-petrole); }
.ye-v4 .qd-total-d { color: var(--ye-vert); }
.ye-v4 .qd-note i { color: var(--ye-vert); }

.ye-v4 .qd-fleche, .ye-v4 .qd-retour, .ye-v4 .qd-pill, .ye-v4 .qd-select, .ye-v4 .qd-input, .ye-v4 .qd-qte, .ye-v4 .qd-btn-2 {
    border-color: var(--ye-champ);
    border-radius: var(--ye-r-btn);
    color: var(--ye-petrole);
}
.ye-v4 .qd-fleche { border-radius: 50%; }
.ye-v4 .qd-fleche:hover, .ye-v4 .qd-retour:hover, .ye-v4 .qd-pill:hover:not(:disabled), .ye-v4 .qd-btn-2:hover:not(:disabled) {
    border-color: var(--ye-vert);
    background: var(--ye-vert-voile);
}
.ye-v4 .qd-pill.is-on { border-color: var(--ye-vert); background: var(--ye-vert); color: #fff; }
.ye-v4 .qd-select:focus, .ye-v4 .qd-input:focus { border-color: var(--ye-vert); }
.ye-v4 .qd-qte-b { background: var(--ye-sauge); color: var(--ye-petrole); }
.ye-v4 .qd-qte-b:hover:not(:disabled) { background: var(--ye-vert); color: #fff; }
.ye-v4 .qd-btn { border-radius: var(--ye-r-btn); }
.ye-v4 .qd-btn-1 { background: var(--ye-vert); color: #fff; }
.ye-v4 .qd-btn-1:hover:not(:disabled) { background: var(--ye-vert-fort); color: #fff; }

.ye-v4 .qd-tuile { border-radius: 6px; background: var(--ye-nuit); }
.ye-v4 .qd-tuile-voile { background: linear-gradient(180deg, rgba(16, 47, 55, 0) 15%, rgba(16, 47, 55, 0.88) 100%); }
.ye-v4 .qd-tuile-prix { color: var(--ye-or-clair); }
.ye-v4 .qd-tuile-rond { background: var(--ye-vert); }
.ye-v4 .qd-tuile:hover .qd-tuile-rond { background: var(--ye-vert-fort); }

/* ===================================================================
   L'ASSOCIATION (accueil) et DUO texte + média
   =================================================================== */
.ye-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
@media (max-width: 980px) { .ye-duo { gap: 38px; } }
@media (max-width: 760px) { .ye-duo { grid-template-columns: 1fr; gap: 24px; } }
.ye-duo-texte .ye-h2 { margin-bottom: 17.6px; }
.ye-duo-texte .ye-prose { max-width: 60ch; }

.ye-photo-arrondie {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border-radius: 8px 8px 50px 8px;
    background: #E1E8E1;
}
.ye-photo-arrondie img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .ye-photo-arrondie { min-height: 0; aspect-ratio: 4 / 3; } }

.ye-video {
    position: relative;
    display: block;
    width: 100%;
    padding: 0; border: 0;
    overflow: hidden;
    border-radius: 8px 8px 50px 8px;
    aspect-ratio: 16 / 10;
    background: var(--ye-nuit);
    cursor: pointer;
}
.ye-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform var(--ye-duree-lente), opacity var(--ye-duree); }
.ye-video:hover img { opacity: 1; transform: scale(1.03); }
.ye-video-play {
    position: absolute; top: 50%; left: 50%;
    display: grid; place-items: center;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: #fff;
    color: var(--ye-vert);
    font-size: 22.4px;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform var(--ye-duree);
}
.ye-video-play i { margin-left: 4px; }
.ye-video:hover .ye-video-play { transform: translate(-50%, -50%) scale(1.07); }
.ye-duo-media iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px 8px 50px 8px; }

.ye-coches { display: grid; gap: 12px; margin: 25px 0 28px; padding: 0; list-style: none; }
.ye-coches li { display: flex; align-items: flex-start; gap: 11px; color: var(--ye-texte-2); font-size: 15.5px; line-height: 1.55; }
.ye-coche {
    flex: none;
    display: grid; place-items: center;
    width: 24px; height: 24px;
    margin-top: 1px;
    border-radius: 50%;
    background: #EAF0E8;
    color: var(--ye-vert);
    font-size: 11.2px;
}
.ye-coches strong { color: var(--ye-petrole); font-weight: 700; }

.ye-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px 8px 50px 8px;
    background: repeating-linear-gradient(135deg, var(--ye-sauge), var(--ye-sauge) 12px, var(--ye-sauge-clair) 12px, var(--ye-sauge-clair) 24px);
    border: 1px dashed var(--ye-filet-fort);
}

/* ===================================================================
   MOSAÏQUE DES CAUSES (projets)
   =================================================================== */
.ye-causes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 980px) { .ye-causes { gap: 12px; } }
@media (max-width: 760px) { .ye-causes { grid-template-columns: 1fr; } }

.ye-cause {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 380px;
    border-radius: var(--ye-r);
    background: var(--ye-nuit);
    color: #fff;
    text-decoration: none;
}
@media (max-width: 980px) { .ye-cause { min-height: 350px; } }
@media (max-width: 760px) { .ye-cause { min-height: 320px; } }
.ye-cause:hover { color: #fff; text-decoration: none; }
.ye-cause img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ye-courbe); }
.ye-cause:hover img { transform: scale(1.035); }
.ye-cause::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(16, 47, 55, 0) 12%, rgba(16, 47, 55, 0.9) 100%);
}
.ye-cause-sans { position: absolute; inset: 0; display: grid; place-items: center; font-size: 48px; color: rgba(255, 255, 255, 0.25); }
.ye-cause-corps { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 25px; }
.ye-cause-corps .ye-surtitre { margin-bottom: 8px; color: var(--ye-or-clair); font-size: 11.5px; }
body.ye-v4 .ye-cause-titre { margin: 0 0 9.6px; color: #fff; font-size: 24px; }
.ye-cause-texte { margin: 0 0 16px; color: #E4ECE7; font-size: 14.4px; line-height: 1.6; }
.ye-cause-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.ye-cause-lien { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: #fff; font-size: 14.1px; font-weight: 700; }
.ye-cause:hover .ye-cause-lien { color: var(--ye-or-clair); }
.ye-cause-prix {
    display: inline-block;
    padding: 4px 10.4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 12.8px;
    font-weight: 700;
}

/* ===================================================================
   BÉNÉFICES (fond pétrole)
   =================================================================== */
.ye-benefices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .ye-benefices { grid-template-columns: 1fr; gap: 10px; } }
.ye-benefice {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.035);
}
.ye-benefice-icone {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    margin-bottom: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--ye-or-clair);
}
.ye-benefice-icone svg { width: 22px; height: 22px; }
body.ye-v4 .ye-benefice .ye-h3 { margin-bottom: 9.6px; color: #fff; font-size: 17.9px; }
.ye-benefice p { margin: 0; color: #C8D8D0; font-size: 15.2px; line-height: 1.65; }

/* Variante claire (pages internes) */
.ye-tuile { padding: 24px; border: 1px solid var(--ye-filet); border-radius: 7px; background: #fff; }
.ye-section--nuit .ye-tuile { border-color: rgba(255, 255, 255, 0.19); background: transparent; }
.ye-tuile i { display: block; margin-bottom: 16px; color: var(--ye-vert); font-size: 20.8px; }
.ye-section--nuit .ye-tuile i { color: var(--ye-or-clair); }
.ye-tuile p { margin: 8px 0 0; color: var(--ye-gris); font-size: 15.2px; }
.ye-section--nuit .ye-tuile p { color: #D3DFD8; }
.ye-tuile-num { display: block; margin-bottom: 9.6px; color: var(--ye-or-clair); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; }

/* ===================================================================
   TÉMOIGNAGES (seulement s'ils existent)
   =================================================================== */
.ye-temoins { display: grid; gap: 16px; }
.ye-temoin {
    display: grid;
    grid-template-columns: 0.25fr 1fr;
    gap: 32px;
    align-items: center;
    margin: 0;
    padding: clamp(28px, 5vw, 58px);
    border-radius: var(--ye-r);
    background: var(--ye-sauge);
}
.ye-temoin-guillemet { color: var(--ye-or); font: 800 90px/0.75 Georgia, serif; }
.ye-temoin blockquote { margin: 0; color: var(--ye-petrole); font-family: var(--ye-titres); font-size: clamp(18.4px, 2.4vw, 25.6px); font-weight: 600; line-height: 1.45; letter-spacing: -0.03em; }
.ye-temoin blockquote p { margin: 0; color: inherit; }
.ye-temoin figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.ye-temoin figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ye-temoin figcaption strong { display: block; color: var(--ye-petrole); font-size: 14.7px; }
.ye-temoin figcaption span span { color: var(--ye-gris); font-size: 13.6px; }
@media (max-width: 760px) {
    .ye-temoin { grid-template-columns: 1fr; gap: 12px; padding: 26px; }
    .ye-temoin-guillemet { font-size: 64px; }
}

/* ===================================================================
   ÉVÉNEMENTS
   =================================================================== */
.ye-event { display: flex; flex-direction: column; }
.ye-event-date {
    display: inline-flex; flex-direction: column; align-items: center; align-self: flex-start;
    min-width: 58px;
    margin-bottom: 16px;
    padding: 7.2px 9.6px;
    border-radius: var(--ye-r-btn);
    background: var(--ye-petrole);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
}
.ye-event-date strong { font-size: 22.4px; line-height: 1; }
.ye-event .ye-h3 a { color: inherit; text-decoration: none; }
.ye-event .ye-h3 a:hover { color: var(--ye-vert); text-decoration: underline; }

/* ===================================================================
   ACTUALITÉS
   =================================================================== */
.ye-actus { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 16px; }
@media (max-width: 980px) { .ye-actus { grid-template-columns: 1fr 1fr; } .ye-actus > :first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ye-actus { grid-template-columns: 1fr; } }
.ye-actu {
    display: flex; flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ye-filet);
    border-radius: 7px;
    background: #fff;
    transition: transform var(--ye-duree), box-shadow var(--ye-duree);
}
.ye-actu:hover { transform: translateY(-3px); box-shadow: var(--ye-ombre-douce); }
.ye-actu-photo { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ye-sauge); }
.ye-actu-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ye-duree-lente); }
.ye-actu:hover .ye-actu-photo img { transform: scale(1.03); }
.ye-actus > :first-child .ye-actu-photo { aspect-ratio: 16 / 11; }
.ye-actu-corps { padding: 20px; }
.ye-actu-date { color: var(--ye-vert); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
body.ye-v4 .ye-actu-titre { margin: 8px 0; font-size: 17.6px; line-height: 1.35; letter-spacing: -0.02em; }
.ye-actu-titre a { color: var(--ye-petrole); text-decoration: none; }
.ye-actu-titre a::after { content: ""; position: absolute; inset: 0; }
.ye-actu { position: relative; }
.ye-actu-titre a:hover { color: var(--ye-vert); }
.ye-actu-corps p { margin: 0; color: var(--ye-gris); font-size: 14.7px; line-height: 1.6; }

/* ===================================================================
   CONTACT
   =================================================================== */
.ye-contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
@media (max-width: 980px) { .ye-contact { gap: 35px; } }
@media (max-width: 760px) { .ye-contact { grid-template-columns: 1fr; gap: 24px; } }
.ye-contact-info .ye-h2 { margin-bottom: 3.2px; }

.ye-coord { display: grid; gap: 13px; margin: 26px 0 0; padding: 0; list-style: none; }
.ye-coord li { display: flex; align-items: center; gap: 12px; color: var(--ye-texte-2); }
.ye-coord small { display: block; color: var(--ye-gris); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ye-coord a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ye-petrole); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.ye-coord a:hover { color: var(--ye-vert); text-decoration: underline; }
.ye-coord-ico {
    flex: none;
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--ye-vert-voile);
    color: var(--ye-vert);
}
.ye-coord-ico--vert { background: var(--ye-vert); color: #fff; }
/* Page Contact : chaque coordonnée dans un cadre, comme la maquette. */
.ye-coord--cadres li { padding: 10px 15px; border: 1px solid var(--ye-filet); border-radius: 6px; }
.ye-note { margin-top: 16px; padding: 14.4px 16px; border-left: 3px solid var(--ye-or); background: var(--ye-sauge); color: var(--ye-texte-2); font-size: 14.9px; }

.ye-form {
    padding: 28px;
    border: 1px solid var(--ye-filet);
    border-radius: var(--ye-r);
    background: #fff;
    box-shadow: var(--ye-ombre);
}
@media (max-width: 760px) { .ye-form { padding: 20px; } }
.ye-form-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.ye-form-grille .ye-champ--plein { grid-column: 1 / -1; }
@media (max-width: 760px) { .ye-form-grille { grid-template-columns: 1fr; } }
.ye-champ { display: grid; gap: 6px; margin-bottom: 15px; }
.ye-champ label { color: var(--ye-petrole); font-size: 14.1px; font-weight: 700; }
.ye-champ input,
.ye-champ textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid var(--ye-champ);
    border-radius: var(--ye-r-btn);
    background: #fff;
    color: var(--ye-nuit);
    font-size: 16px;
    transition: border-color var(--ye-duree), box-shadow var(--ye-duree);
}
.ye-champ textarea { min-height: 130px; resize: vertical; }
.ye-champ input:focus,
.ye-champ textarea:focus { outline: none; border-color: var(--ye-vert); box-shadow: 0 0 0 3px rgba(230, 180, 91, 0.45); }
.ye-aide { color: var(--ye-gris); font-size: 13.1px; }
.ye-accord { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; color: var(--ye-gris); font-size: 13.8px; line-height: 1.5; cursor: pointer; }
.ye-accord input { flex: none; width: 20px; height: 20px; margin-top: 1px; -webkit-appearance: checkbox; appearance: auto; accent-color: var(--ye-vert); }
.ye-accord a { color: var(--ye-vert); text-decoration: underline; }

.ye-carte-plan { margin-top: 40px; overflow: hidden; border-radius: var(--ye-r); border: 1px solid var(--ye-filet); }
.ye-carte-plan iframe { display: block; width: 100%; height: 360px; border: 0; }

.ye-bandeau-faq { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

/* ===================================================================
   EN-TÊTE DE PAGE (À propos, Nos actions, Contact)
   =================================================================== */
.ye-pagehead { padding-block: 72px; background: var(--ye-sauge); }
@media (max-width: 760px) { .ye-pagehead { padding-block: 50px; } }
body.ye-v4 .ye-pagehead .ye-h1 { max-width: 14ch; margin-bottom: 3.2px; }
.ye-pagehead .ye-lead { margin-bottom: 0; }
.ye-pagehead .ye-btn { margin-top: 25.6px; }

.ye-fil ol { display: flex; flex-wrap: wrap; gap: 6.4px; margin: 0 0 22.4px; padding: 0; list-style: none; font-size: 14.1px; color: var(--ye-gris); }
.ye-fil li + li::before { content: "/"; margin-right: 6.4px; }
.ye-fil a { color: var(--ye-vert); font-weight: 600; text-decoration: none; }
.ye-fil a:hover { text-decoration: underline; }

/* Cartes « Nos actions » */
.ye-cartes-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .ye-cartes-cat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ye-cartes-cat { grid-template-columns: 1fr; gap: 13px; } }
.ye-cat {
    display: flex; flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ye-filet);
    border-radius: var(--ye-r);
    background: #fff;
    transition: transform var(--ye-duree), box-shadow var(--ye-duree);
}
.ye-cat:hover { transform: translateY(-3px); box-shadow: var(--ye-ombre-douce); }
.ye-cat-photo { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ye-sauge); color: var(--ye-vert); font-size: 32px; }
.ye-cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ye-duree-lente); }
.ye-cat:hover .ye-cat-photo img { transform: scale(1.03); }
.ye-cat-corps { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 21px; }
.ye-cat-corps .ye-surtitre { margin-bottom: 8px; font-size: 11.5px; }
body.ye-v4 .ye-cat-corps .ye-h3 { margin-bottom: 8px; }
.ye-cat-corps p { margin: 0 0 19.2px; color: var(--ye-gris); font-size: 15.2px; }
.ye-cat-corps .ye-btn { margin-top: auto; }

/* Encart d'appel (fin des pages) */
.ye-final { padding-block: 0 96px; }
@media (max-width: 760px) { .ye-final { padding-block: 0 64px; } }
.ye-final-in {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px;
    padding: clamp(25px, 5vw, 45px);
    border-radius: var(--ye-r);
    background: var(--ye-sauge);
}
.ye-final-in .ye-h2 { max-width: 22ch; }
.ye-final-in p { margin: 9.6px 0 0; color: var(--ye-gris); max-width: 52ch; }
.ye-final-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Repères chiffrés (À propos, s'ils sont renseignés) */
.ye-reperes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 32px 0 0; }
@media (max-width: 760px) { .ye-reperes { grid-template-columns: 1fr 1fr; } }
.ye-repere { display: flex; flex-direction: column-reverse; padding: 20px 16px 20px 0; border-top: 1px solid var(--ye-filet); }
.ye-repere dd { margin: 0; color: var(--ye-petrole); font-family: var(--ye-titres); font-size: clamp(28.8px, 3.4vw, 38.4px); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ye-repere dt { color: var(--ye-gris); font-size: 14.7px; font-weight: 600; }

/* ===================================================================
   BANDEAU DES PAGES INTERNES (x-ui.page-hero, css/shared/page-hero.css)
   Habillé aux couleurs de la maquette : voile pétrole sur l'image réglée
   en administration, titre en Manrope, boutons verts.
   =================================================================== */
.ye-v4 .ph { background-image: none; background-color: var(--ye-nuit); }
.ye-v4 .ph-voile { background: linear-gradient(90deg, var(--ye-nuit) 0%, rgba(16, 47, 55, 0.86) 45%, rgba(16, 47, 55, 0.55) 100%); opacity: 1; }
.ye-v4 .ph h1.ph-titre,
.ye-v4 .ph-accroche { background: transparent; color: #fff; padding: 0; border-left: 0; box-shadow: none; border-radius: 0; }
.ye-v4 .ph h1.ph-titre { display: block; margin: 18px 0 16px; font-family: var(--ye-titres); font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; }
.ye-v4 .ph-accroche { color: #E3ECE7; }
.ye-v4 .ph-fil { background: rgba(255, 255, 255, 0.08); }
.ye-v4 .ph-fil a { color: var(--ye-or-clair); }
.ye-v4 .ph-btn { border-radius: var(--ye-r-btn); font-family: var(--ye-corps); }
.ye-v4 .ph-btn-plein { background: var(--ye-vert); border-color: var(--ye-vert); color: #fff; }
.ye-v4 .ph-btn-plein:hover { background: var(--ye-vert-fort); color: #fff; }
.ye-v4 .ph-btn-vide { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.ye-v4 .ph-btn-vide:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.ye-v4 .ph-panneau { border-radius: var(--ye-r); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: none; }
.ye-v4 .ph h2.ph-panneau-titre { font-family: var(--ye-titres); }
.ye-v4 .ph-liste i, .ye-v4 .ph-liste svg,
.ye-v4 .ph-liste li:nth-child(n) i { color: var(--ye-or-clair); }

/* Bande d'appel du gabarit (réglée dans l'admin) */
.ye-v4 .cta-band { background: var(--ye-petrole); }
.ye-v4 .cta-band h2.cta-band-titre { font-family: var(--ye-titres); text-transform: none; letter-spacing: -0.03em; font-weight: 800; }
.ye-v4 .cta-band-texte { color: #C8D8D0; }

/* Citations intercalées (css/shared/citation.css), dans la voix de la maquette */
.ye-v4 .cit { background: #fff; }
.ye-v4 .cit::before, .ye-v4 .cit::after { background: linear-gradient(to right, transparent, var(--ye-filet-fort), transparent); }
.ye-v4 .cit-txt { color: var(--ye-petrole); font-family: var(--ye-titres); font-style: normal; font-weight: 600; letter-spacing: -0.03em; }
.ye-v4 .cit-txt::before { content: "“"; display: block; margin-bottom: 6.4px; color: var(--ye-or); font: 800 56px/0.7 Georgia, serif; }
.ye-v4 .cit-src { color: var(--ye-vert); }

/* ===================================================================
   PIED DE PAGE
   =================================================================== */
.ye-footer { background: var(--ye-nuit); color: #BFCEC7; }
.ye-footer-in { width: min(var(--ye-max), calc(100% - 48px)); margin-inline: auto; padding: 48px 0 22px; }
@media (max-width: 760px) { .ye-footer-in { width: calc(100% - 32px); padding-top: 38px; } }

.ye-footer-grille { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 35px; }
@media (max-width: 980px) { .ye-footer-grille { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .ye-footer-marque { grid-column: 1 / -1; } }
@media (max-width: 420px) { .ye-footer-grille { grid-template-columns: 1fr; } }

.ye-footer-logo { display: inline-flex; padding: 8.8px 12.8px; border-radius: var(--ye-r); background: #fff; }
.ye-footer-logo img { height: 40px; width: auto; display: block; }
body.ye-v4 .ye-footer-desc { max-width: 42ch; margin: 17px 0 20px; color: #BFCEC7; font-size: 14.9px; line-height: 1.7; }

body.ye-v4 .ye-footer-titre { margin: 3px 0 15px; color: #fff; font-family: var(--ye-titres); font-size: 15.2px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.ye-footer-liste { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ye-footer-liste a { display: inline-flex; align-items: center; min-height: 44px; color: #BFCEC7; font-size: 14.7px; text-decoration: none; transition: color var(--ye-duree); }
.ye-footer-liste a:hover { color: var(--ye-or-clair); }
.ye-footer-coord li { display: flex; gap: 11.2px; align-items: flex-start; padding: 4.8px 0; font-size: 14.7px; }
.ye-footer-coord i { margin-top: 5.6px; color: var(--ye-or-clair); width: 16px; }
.ye-footer-coord a { min-height: 44px; overflow-wrap: anywhere; }

.ye-footer-reseaux { display: flex; flex-wrap: wrap; gap: 8px; margin: 17.6px 0 0; padding: 0; list-style: none; }
.ye-footer-reseaux a {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    text-decoration: none;
    transition: background-color var(--ye-duree), color var(--ye-duree);
}
.ye-footer-reseaux a:hover { background: var(--ye-or); border-color: var(--ye-or); color: var(--ye-nuit); }

.ye-footer-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13.1px; }
.ye-footer-bas p { margin: 0; color: #BFCEC7; }

.ye-haut {
    position: fixed;
    right: 20px; bottom: 88px;
    z-index: 1020;
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border: 0; border-radius: 50%;
    background: var(--ye-vert);
    color: #fff;
    box-shadow: 0 6px 18px rgba(18, 63, 73, 0.19);
    opacity: 0; visibility: hidden;
    transition: opacity var(--ye-duree), visibility var(--ye-duree);
}
.ye-haut.is-visible { opacity: 1; visibility: visible; }
.ye-haut:hover { background: var(--ye-vert-fort); }

/* Menu téléphone (partials/_menu_mobile) */
.ye-v4 .mnu-pied a { background: var(--ye-vert); color: #fff; border-color: var(--ye-vert); border-radius: var(--ye-r-btn); }
.ye-v4 .mnu-pied a:hover { background: var(--ye-vert-fort); color: #fff; }

/* ===================================================================
   MOUVEMENT — tout sous 0,4 s.
   « ye-anime » n'est posée par js/front-v4.js que si le visiteur n'a PAS
   demandé moins d'animations. Sans elle, tout est visible d'emblée.
   =================================================================== */
.ye-anime [data-reveal],
.ye-anime [data-aos] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--ye-duree-lente) ease, transform var(--ye-duree-lente) ease;
}
.ye-anime [data-reveal].is-in,
.ye-anime [data-aos].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ye-v4 *, .ye-v4 *::before, .ye-v4 *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .ye-btn:hover, .ye-actu:hover, .ye-cat:hover { transform: none; }
    .ye-cause:hover img, .ye-actu:hover .ye-actu-photo img { transform: none; }
    [data-reveal], [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media print {
    .ye-topbar, .ye-header, .ye-footer, .ye-haut, .cta-band, .ye-slider-cmd { display: none !important; }
    .ye-slide[hidden] { display: none !important; }
    [data-reveal], [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* Aucune diapositive active : le texte seul, sur toute la largeur. */
.ye-slide--seule { grid-template-columns: 1fr; }
.ye-slide--seule .ye-slide-photo { display: none; }

/* ===================================================================
   PAGES RESTÉES DANS LEUR BALISAGE D'ORIGINE
   Les couleurs, polices et arrondis viennent de yetimeli-pages.css
   (généré). Ici, seulement les retouches qui ne se déduisent pas d'une
   simple correspondance de couleurs.
   =================================================================== */

/* Bandeau des pages internes : moins haut, pour que le contenu (fiche,
   panier, formulaire) arrive plus tôt à l'écran. */
.ye-v4 .ph-inner { padding: 56px 16px; }
@media (min-width: 768px) { .ye-v4 .ph-inner { padding: 72px 16px; } }
.ye-v4 .ph-avec-vague .ph-inner { padding-bottom: 112px; }
.ye-v4 .ph h1.ph-titre { font-size: clamp(34px, 4.4vw, 52px); }

/* Catalogue : les filtres étaient dessinés pour un fond sombre et se
   retrouvaient en clair sur fond blanc. */
.ye-v4 .donation-list-page:not(.dl-hero) .dl-filters-wrap .donation-filter-btn {
    background: #fff;
    border-color: var(--ye-filet-fort);
    color: var(--ye-texte-2);
}
.ye-v4 .donation-list-page:not(.dl-hero) .dl-filters-wrap .donation-filter-btn:hover { border-color: var(--ye-vert); color: var(--ye-vert); }
.ye-v4 .donation-list-page:not(.dl-hero) .dl-filters-wrap .donation-filter-btn.active { background: var(--ye-vert); border-color: var(--ye-vert); color: #fff; }
.ye-v4 .donation-list-page:not(.dl-hero) .dl-filters-wrap .donation-filter-count { background: var(--ye-sauge); color: var(--ye-texte-2); }
.ye-v4 .donation-list-page:not(.dl-hero) .dl-filters-wrap .donation-filter-btn.active .donation-filter-count { background: rgba(255, 255, 255, 0.2); color: #fff; }
.ye-v4 .donation-list-page:not(.dl-hero) .dl-empty { color: var(--ye-gris); }
.ye-v4 .donation-list-page:not(.dl-hero) .dl-empty h3 { color: var(--ye-petrole); }

/* Sur téléphone, le panneau « Pourquoi nous choisir ? » du bandeau repoussait
   la fiche, le panier ou le formulaire d'un écran entier : il n'est montré
   qu'à partir de 768 px. */
@media (max-width: 767px) {
    .ye-v4 .ph-droite { display: none; }
    .ye-v4 .ph-gauche { margin-bottom: 0; }
}

/* Cases et boutons radio du navigateur aux couleurs de la charte. */
.ye-v4 input[type="radio"], .ye-v4 input[type="checkbox"] { accent-color: var(--ye-vert); }

/* Pied des méga-menus : lien doré sur fond nuit (l'ocre d'origine y était
   lisible ; le vert de la charte ne l'est pas sur ce fond). */
.ye-v4 .mm-pied a { color: var(--ye-or-clair); }
.ye-v4 .mm-pied a:hover { color: #fff; }
