/* Hub « Organiser un événement ».
   Tout est préfixé .oev pour ne rien heurter du thème. Les couleurs et les
   polices viennent des variables existantes (--color, --ink, --font-display
   Unbounded, --font-body DM Sans) : aucune fonte n'est rechargée ici. */

.oev { --oev-vert: var(--color, #86bd4a); --oev-encre: var(--ink, #0a0a0a);
       --oev-creme: #f7f5ef; --oev-sombre: #0d1410; --oev-sombre2: #142018;
       --oev-trait: rgba(10,10,10,.1); --oev-gris: #5d6660;
       font-family: var(--font-body, "DM Sans", sans-serif); color: var(--oev-encre); }
.oev *, .oev *::before, .oev *::after { box-sizing: border-box; }
.oev-wrap { width: min(1240px, 100% - 44px); margin-inline: auto; }

.oev h1, .oev h2, .oev h3, .oev h4 { font-family: var(--font-display, "Unbounded", sans-serif); font-weight: 600; letter-spacing: -.02em; margin: 0; }
.oev p { margin: 0; }

.oev-kicker { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--oev-vert); margin-bottom: 18px; }
.oev-label { font-family: var(--font-body, "DM Sans", sans-serif); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--oev-vert); margin-bottom: 14px; }
.oev-label::before { content: "— "; opacity: .55; }

.oev-h1 { font-size: clamp(38px, 5.4vw, 70px); line-height: 1.04; color: #fff; }
.oev-h1__accent { color: var(--oev-vert); }
.oev-h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; margin-bottom: 18px; }
.oev-h2--clair { color: #fff; }
/* Le H1 est composé en Unbounded très serré (interligne 1.04) : sa dernière
   ligne descend bas, et 22 px ne suffisaient pas à détacher le paragraphe. */
.oev-chapo { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.72); max-width: 56ch; margin-top: 34px; }
.oev-intro { font-size: 16px; line-height: 1.75; color: var(--oev-gris); max-width: 68ch; margin-bottom: 40px; }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.oev-btn { display: inline-flex; align-items: center; gap: 9px; padding: 15px 27px; border-radius: 999px;
           font-family: var(--font-body, "DM Sans", sans-serif); font-size: 15px; font-weight: 600;
           text-decoration: none; transition: transform .16s, background .16s; white-space: nowrap; }
.oev-btn:hover { transform: translateY(-2px); }
.oev-btn--g { background: var(--oev-vert); color: #0a0a0a; }
.oev-btn--g:hover { background: #9ad459; }
.oev-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); }
.oev-btn--ghost:hover { border-color: var(--oev-vert); color: var(--oev-vert); }
.oev-btn--lg { padding: 18px 34px; font-size: 16px; }
.oev-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.oev-hero { background: var(--oev-sombre); padding: clamp(64px, 9vw, 116px) 0 clamp(56px, 7vw, 92px); overflow: hidden; }
.oev-hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.oev-hero__img { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 14px; height: clamp(320px, 38vw, 460px); }
.oev-hero__fig { margin: 0; border-radius: 16px; overflow: hidden; background: var(--oev-sombre2); }
.oev-hero__fig--1 { grid-row: span 2; }
.oev-hero__fig img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }

.oev-stats { display: flex; flex-wrap: wrap; gap: clamp(26px, 4vw, 54px); margin: 44px 0 0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.oev-stat dt { font-family: var(--font-display, "Unbounded", sans-serif); font-size: clamp(24px, 2.6vw, 33px); font-weight: 600; color: #fff; }
.oev-stat dd { margin: 5px 0 0; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.55); max-width: 19ch; }


/* ── Sections ────────────────────────────────────────────────────────────── */
.oev-sec { padding: clamp(60px, 7.5vw, 104px) 0; background: #fff; }
.oev-sec--pale { background: var(--oev-creme); }

.oev-preuves { display: grid; grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); gap: 18px; margin-top: 38px; }
.oev-preuve { position: relative; background: var(--oev-sombre); color: #fff; border-radius: 18px; padding: 34px 28px 30px; }
.oev-preuve__n { font-family: var(--font-display, "Unbounded", sans-serif); font-size: 13px; font-weight: 600; color: var(--oev-vert); letter-spacing: .06em; }
.oev-preuve h3 { font-size: 19px; line-height: 1.3; margin: 14px 0 12px; }
.oev-preuve p { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.66); }

/* ── Familles de prestations ─────────────────────────────────────────────── */
.oev-fam { margin-top: 58px; }
/* Spécificité volontairement portée à .oev : la remise à zéro des titres en
   tête de fichier (.oev h3) l'emportait sur une simple classe et écrasait la
   marge, si bien que le titre de famille touchait la grille. */
.oev .oev-fam__t { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 18px;
                   margin: 0 0 28px; padding-bottom: 16px; border-bottom: 1px solid var(--oev-trait); }
.oev-fam__ico { width: 9px; height: 9px; border-radius: 3px; background: var(--oev-vert); flex: 0 0 auto; }
.oev-fam__tag { font-family: var(--font-body, "DM Sans", sans-serif); font-size: 11.5px; font-weight: 600; letter-spacing: .09em;
                text-transform: uppercase; color: var(--oev-gris); background: rgba(10,10,10,.05); border-radius: 999px; padding: 5px 12px; }

/* Toutes les prestations partagent la MÊME carte : visuel en fond, voile
   sombre, pictogramme, titre et résumé. La plus demandée ne change pas de
   forme, elle gagne seulement un bandeau et une colonne de plus. */
.oev-cartes { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
              grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); }
.oev-cartes > li { display: flex; }

.oev-carte { position: relative; display: flex; flex-direction: column; justify-content: flex-end;
             width: 100%; min-height: 262px; padding: 22px; border-radius: 18px; overflow: hidden;
             text-decoration: none; color: #fff; background: var(--oev-sombre);
             transition: transform .18s var(--ease, ease), box-shadow .18s; isolation: isolate; }
.oev-carte:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(10,10,10,.22); }
.oev-carte:focus-visible { outline: 3px solid var(--oev-vert); outline-offset: 3px; }

.oev-carte__fond { position: absolute; inset: 0; z-index: -2; background: var(--oev-sombre2); }
.oev-carte__fond img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none;
                       transition: transform .5s var(--ease, ease); }
.oev-carte:hover .oev-carte__fond img { transform: scale(1.045); }
/* Voile : le texte doit rester lisible quelle que soit la photo. */
.oev-carte::after { content: ""; position: absolute; inset: 0; z-index: -1;
                    background: linear-gradient(180deg, rgba(8,14,10,.12) 0%, rgba(8,14,10,.62) 52%, rgba(8,14,10,.92) 100%); }

.oev-carte__ico { position: absolute; top: 20px; left: 20px; width: 34px; height: 34px; border-radius: 10px;
                  display: flex; align-items: center; justify-content: center;
                  background: rgba(134,189,74,.92); color: #08120b; }
.oev-carte__ico svg { width: 18px; height: 18px; }

.oev-carte__corps { display: flex; flex-direction: column; gap: 8px; }
.oev-carte__badge { align-self: flex-start; font-family: var(--font-body, "DM Sans", sans-serif); font-size: 10.5px;
                    font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #08120b;
                    background: var(--oev-vert); border-radius: 999px; padding: 4px 11px; margin-bottom: 2px; }
.oev-carte__t { font-family: var(--font-display, "Unbounded", sans-serif); font-size: 17px; font-weight: 600; line-height: 1.26; }
.oev-carte__p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.76); }
.oev-carte .oev-lien { margin-top: 4px; }

/* La plus demandée : deux colonnes sur grand écran, même traitement visuel. */
.oev-carte--phare { min-height: 330px; }
@media (min-width: 900px) {
    .oev-cartes > li.oev-li--phare, .oev-cartes > li:has(.oev-carte--phare) { grid-column: span 2; }
    .oev-carte--phare .oev-carte__t { font-size: 22px; }
    .oev-carte--phare .oev-carte__p { font-size: 14.5px; max-width: 52ch; }
}

/* ── Méthode ─────────────────────────────────────────────────────────────── */
.oev-etapes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0;
              grid-template-columns: repeat(auto-fit, minmax(214px, 1fr)); border-top: 1px solid var(--oev-trait); }
/* Chaque colonne respire des DEUX côtés : sans marge à gauche, le texte venait
   coller le filet de la colonne précédente. La première s'aligne sur le titre
   de section, la dernière sur le bord droit. */
.oev-etape { display: flex; flex-direction: column; padding: 42px 26px 36px; border-right: 1px solid var(--oev-trait); }
.oev-etape:first-child { padding-left: 0; }
.oev-etape:last-child { border-right: 0; padding-right: 0; }
/* Le chiffre est composé en Unbounded, dont les capitales montent haut dans
   la ligne : sans interligne supplémentaire, il semble coller au filet. */
.oev-etape__n { font-family: var(--font-display, "Unbounded", sans-serif); font-size: 26px; font-weight: 700; color: var(--oev-vert); line-height: 1.16; }
/* Les titres tiennent sur deux lignes : sans hauteur commune, les paragraphes
   de la rangée partaient à des hauteurs différentes et se collaient au titre. */
.oev-etape h3 { font-size: 16px; line-height: 1.34; margin: 16px 0 0; min-height: 2.68em; }
.oev-etape p { font-size: 14px; line-height: 1.68; color: var(--oev-gris); margin-top: 12px; }
.oev-etapes__pied { margin-top: 38px; }

/* ── Bureaux ─────────────────────────────────────────────────────────────── */
.oev-villes { display: grid; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); gap: 18px; }
@media (min-width: 880px) { .oev-villes { grid-template-columns: repeat(4, 1fr); } }

.oev-ville { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--oev-trait);
             border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--oev-encre);
             transition: border-color .16s, transform .16s, box-shadow .16s; }
.oev-ville:hover { border-color: var(--oev-vert); transform: translateY(-4px); box-shadow: 0 14px 32px rgba(10,10,10,.1); }
.oev-ville__media { position: relative; display: block; aspect-ratio: 16 / 10; background: #e9ece8; overflow: hidden; }
.oev-ville__media img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none;
                        transition: transform .5s var(--ease, ease); }
.oev-ville:hover .oev-ville__media img { transform: scale(1.05); }
/* Voile bas : la pastille de ville reste lisible sur une photo claire. */
.oev-ville__media::after { content: ""; position: absolute; inset: 0;
                           background: linear-gradient(180deg, rgba(8,14,10,.34) 0%, rgba(8,14,10,0) 46%); }
.oev-ville__loc { position: absolute; top: 11px; left: 11px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
                  background: rgba(8,14,10,.72); color: #fff; border-radius: 999px; padding: 5px 11px 5px 9px;
                  font-family: var(--font-body, "DM Sans", sans-serif); font-size: 11.5px; font-weight: 600; }
.oev-ville__loc svg { width: 12px; height: 12px; flex: 0 0 auto; }
.oev-ville__corps { display: flex; flex-direction: column; gap: 9px; padding: 18px 18px 20px; flex: 1; }
.oev-ville__t { font-family: var(--font-display, "Unbounded", sans-serif); font-size: 15.5px; font-weight: 600; line-height: 1.28; }
.oev-ville__p { font-size: 13.5px; line-height: 1.62; color: var(--oev-gris); flex: 1; }

/* ── Appel final ─────────────────────────────────────────────────────────── */
.oev-final { background: var(--oev-sombre); padding: clamp(56px, 7vw, 96px) 0; }
.oev-final__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.oev-final__p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.68); max-width: 58ch; margin-top: 14px; }
.oev-final__tel { font-size: 14.5px; color: rgba(255,255,255,.5); margin-top: 18px; }
.oev-final__tel a { color: var(--oev-vert); text-decoration: none; font-weight: 600; }

/* ── Adaptations ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .oev-hero__in { grid-template-columns: 1fr; }
    .oev-hero__img { height: clamp(250px, 52vw, 380px); }
    .oev-phare { grid-template-columns: 1fr; }
    .oev-phare__img { min-height: 190px; order: -1; }
    /* Sans filet vertical, c'est l'écart de grille qui sépare les colonnes :
       sinon deux titres voisins se touchent. */
    .oev-etapes { column-gap: 30px; }
    .oev-etape { border-right: 0; border-bottom: 1px solid var(--oev-trait); padding-inline: 0; }
    .oev-etape:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
    .oev-wrap { width: min(1240px, 100% - 28px); }
    .oev-hero__img { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: 210px; }
    .oev-hero__fig--1 { grid-row: span 1; }
    .oev-hero__fig--3 { display: none; }
    .oev-actions .oev-btn { width: 100%; justify-content: center; }
    .oev-tuiles { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .oev-btn, .oev-tuile, .oev-ville, .oev-phare { transition: none; }
    .oev-btn:hover, .oev-tuile:hover, .oev-ville:hover, .oev-phare:hover { transform: none; }
}
