/* =========================================================
   WHAT06 — styles de marque (thème enfant Neve + Elementor)

   Mode d'emploi dans Elementor :
   - Chaque section de page = un conteneur avec la classe CSS « w06 »
     + une classe de section (w06-hero, w06-impact, w06-why…).
     (Avancé → Classes CSS)
   - Boutons : widget Bouton + classe w06-btn et une variante :
     w06-btn--primary | w06-btn--outline | w06-btn--light | w06-btn--link
   - Images en cadre angulaire : widget Image + classe w06-frame
     (variantes : w06-frame--alt, w06-frame--portrait)
   - Pastille « En construction » : <span class="w06-badge">En construction</span>
   ========================================================= */

:root {
  --w06-purple-deep: #21094e;
  --w06-purple: #5a189a;
  --w06-purple-700: #45107a;
  --w06-lilac: #c8b1f0;
  --w06-lilac-soft: #ede6fb;
  --w06-turquoise: #12e0c6;
  --w06-white: #ffffff;
  --w06-ink: #180133;
  --w06-muted: #6b5c86;

  --w06-font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --w06-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --w06-wrap: 1200px;
  --w06-gap: clamp(1.5rem, 4vw, 4rem);
  --w06-radius: 4px;
  --w06-section-y: clamp(4rem, 9vw, 7rem);
}

/* --------------------- Base (tout le site) --------------------- */
/* Polices Neve → polices de marque auto-hébergées */
:root { --bodyfontfamily: var(--w06-font-body); --headingsfontfamily: var(--w06-font-display); }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }
body {
  font-family: var(--w06-font-body);
  color: var(--w06-ink);
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 3px solid var(--w06-turquoise); outline-offset: 3px; }

/* --------------------- En-tête Neve --------------------- */
header.header { position: sticky; top: 0; z-index: 100; }
.admin-bar header.header { top: 32px; }
@media (max-width: 782px) { .admin-bar header.header { top: 0; } }
.hfg_header .header-main {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--w06-lilac-soft);
}
.hfg_header .header-main-inner { background: transparent; }
.hfg_header .site-logo img { max-height: 58px; width: auto; mix-blend-mode: multiply; }
.builder-item--primary-menu {
  --color: var(--w06-ink);
  --hovercolor: var(--w06-purple);
  --activecolor: var(--w06-purple);
}
.nav-menu-primary .primary-menu-ul > li > .wrap > a,
.header-menu-sidebar .nav-ul li > .wrap > a {
  font-family: var(--w06-font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.nav-menu-primary .primary-menu-ul > li:not(.w06-cta) > .wrap > a { position: relative; }
.nav-menu-primary .primary-menu-ul > li:not(.w06-cta) > .wrap > a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--w06-turquoise); transition: width .2s ease;
}
.nav-menu-primary .primary-menu-ul > li:not(.w06-cta) > .wrap > a:hover::after,
.nav-menu-primary .primary-menu-ul > li.current-menu-item:not(.w06-cta) > .wrap > a::after { width: 100%; }
/* Élément de menu « bouton » : ajouter la classe w06-cta à l'élément (Apparence → Menus) */
.nav-menu-primary .primary-menu-ul > li.w06-cta > .wrap > a {
  background: var(--w06-purple); color: var(--w06-white);
  padding: .55rem 1.1rem; border-radius: var(--w06-radius); font-weight: 600;
}
.nav-menu-primary .primary-menu-ul > li.w06-cta > .wrap > a:hover { background: var(--w06-purple-700); color: var(--w06-white); }

/* --------------------- Pied de page WHAT06 --------------------- */
.w06-footer {
  background: var(--w06-purple-deep); color: var(--w06-lilac);
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem 1.5rem;
  font-size: .95rem;
}
.w06-footer-grid, .w06-footer-bottom { max-width: var(--w06-wrap); margin-inline: auto; }
.w06-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--w06-gap); }
.w06-footer-logo img {
  max-height: 64px; width: auto; background: var(--w06-white);
  padding: .4rem .6rem; border-radius: var(--w06-radius);
}
.w06-footer-brand p { max-width: 36ch; margin-top: 1rem; }
.w06-footer h2 {
  font-family: var(--w06-font-body); font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--w06-turquoise); margin: 0 0 1rem;
}
.w06-footer ul { list-style: none; margin: 0; padding: 0; }
.w06-footer a { color: var(--w06-lilac); text-decoration: none; line-height: 2; }
.w06-footer a:hover { color: var(--w06-white); }
.w06-footer p { margin: 0 0 .5rem; }
.w06-footer .w06-social { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; }
.w06-footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid rgba(200, 177, 240, .2);
  margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; opacity: .8;
}

/* =========================================================
   SECTIONS ELEMENTOR (.w06)
   ========================================================= */

/* Remise à zéro des espacements Elementor dans nos sections */
.w06.e-con, .w06 .e-con {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --widgets-spacing: 0px 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px;
}
.w06.e-con { position: relative; overflow: hidden; padding-block: var(--w06-section-y); }
.w06 .elementor-widget { margin-bottom: 0; }

/* Conteneur centré */
.w06 .w06-wrap.e-con {
  width: min(100% - 2.5rem, var(--w06-wrap)); max-width: none;
  margin-inline: auto; position: relative; z-index: 1;
}

/* Typo commune */
.w06.e-con .elementor-heading-title {
  font-family: var(--w06-font-display); color: inherit; line-height: 1.04; font-weight: 800;
}
.w06.e-con .elementor-widget-text-editor {
  font-family: var(--w06-font-body); color: var(--w06-muted); line-height: 1.6;
}
.w06.e-con .elementor-widget-text-editor p { margin: 0 0 1rem; }
.w06.e-con .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

.w06.e-con .w06-kicker .elementor-heading-title {
  font-family: var(--w06-font-body); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--w06-purple); line-height: 1.4;
}
.w06.e-con .w06-kicker { margin-bottom: .75rem; }
.w06 .w06-head.e-con { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.w06.e-con .w06-title .elementor-heading-title { font-size: clamp(2rem, 5vw, 3.25rem); color: var(--w06-ink); }
.w06 .hl { color: var(--w06-purple); }
.w06 .hl-turquoise { color: var(--w06-turquoise); -webkit-text-stroke: .5px var(--w06-purple-deep); }

/* Sections sombres */
.w06--dark.e-con { color: var(--w06-white); }
.w06--dark.e-con .w06-kicker .elementor-heading-title { color: var(--w06-turquoise); }
.w06--dark.e-con .w06-title .elementor-heading-title { color: var(--w06-white); }
.w06--dark.e-con .elementor-widget-text-editor { color: var(--w06-lilac); }

/* Pastille « En construction » */
.w06-badge {
  display: inline-block; vertical-align: middle; margin-left: .5rem;
  padding: .2rem .6rem; font-family: var(--w06-font-body); font-size: .7rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.4;
  background: #ffe9a8; color: #5a3d00; -webkit-text-stroke: 0;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

/* --------------------- Boutons --------------------- */
.w06 .w06-btn .elementor-button {
  font-family: var(--w06-font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  padding: .85rem 1.6rem; border-radius: var(--w06-radius);
  border: 2px solid transparent; background: var(--w06-turquoise); color: var(--w06-purple-deep);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.w06 .w06-btn .elementor-button:hover { transform: translateY(-2px); }
.w06 .w06-btn--primary .elementor-button:hover { background: #0fc9b2; color: var(--w06-purple-deep); }
.w06 .w06-btn--outline .elementor-button { background: transparent; color: var(--w06-purple); border-color: var(--w06-purple); }
.w06 .w06-btn--outline .elementor-button:hover { background: var(--w06-purple); color: var(--w06-white); }
.w06 .w06-btn--light .elementor-button { background: transparent; color: var(--w06-white); border-color: var(--w06-white); }
.w06 .w06-btn--light .elementor-button:hover { background: var(--w06-white); color: var(--w06-purple-deep); }
/* Lien fléché */
.w06 .w06-btn--link .elementor-button {
  background: none; border: 0; padding: 0; color: var(--w06-purple); border-radius: 0;
}
.w06 .w06-btn--link .elementor-button:hover { transform: none; background: none; color: var(--w06-purple-700); }
.w06 .w06-btn--link .elementor-button-text::after { content: "→"; display: inline-block; margin-left: .45em; transition: transform .15s ease; }
.w06 .w06-btn--link .elementor-button:hover .elementor-button-text::after { transform: translateX(4px); }

.w06 .w06-btn-row.e-con { display: flex; flex-flow: row wrap; gap: 1rem; margin-top: 1.75rem; width: auto; }
.w06 .w06-link-row.e-con { display: flex; flex-flow: row wrap; gap: .5rem 1.5rem; margin-top: .5rem; width: auto; }
.w06 .w06-btn-row > .elementor-widget, .w06 .w06-link-row > .elementor-widget { width: auto; }

/* --------------------- Cadres image --------------------- */
.w06 .w06-frame img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
  background: var(--w06-lilac-soft);
}
.w06 .w06-frame--alt img { clip-path: polygon(0 6%, 94% 0, 100% 94%, 6% 100%); }
.w06 .w06-frame--portrait img { aspect-ratio: 5 / 6; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
.w06 .w06-frame--contain img { object-fit: contain; background: var(--w06-white); padding: 1.5rem; }
/* Cadre sans photo (à intégrer) */
.w06 .w06-placeholder.e-con {
  aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, var(--w06-lilac-soft) 0 12px, #e3d8f8 12px 24px);
  clip-path: polygon(0 6%, 94% 0, 100% 94%, 6% 100%);
}
.w06 .w06-placeholder--portrait.e-con { aspect-ratio: 5 / 6; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
.w06.e-con .w06-placeholder .elementor-heading-title {
  font-family: var(--w06-font-body); font-size: 1rem; font-weight: 600; color: var(--w06-purple);
}

/* --------------------- Formes géométriques (fonds SVG) --------------------- */
.w06-hero.e-con {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 100,0 100,100' fill='%2312e0c6' fill-opacity='.9'/%3E%3C/svg%3E") right 8% top -40px / 260px 260px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 100,50 50,100 0,50' fill='%23c8b1f0'/%3E%3C/svg%3E") left -40px bottom 6% / 180px 180px no-repeat,
    var(--w06-lilac-soft);
}
.w06-why.e-con {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='0,0 60,0 100,50 60,100 0,100 40,50' fill='%2312e0c6' fill-opacity='.18'/%3E%3C/svg%3E") left -60px top 10% / 220px 220px no-repeat,
    var(--w06-purple);
}
.w06-charte.e-con {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='100,0 100,100 0,100' fill='%235a189a' fill-opacity='.45'/%3E%3C/svg%3E") right -60px bottom -80px / 300px 300px no-repeat,
    var(--w06-purple-deep);
}

/* --------------------- Hero --------------------- */
.w06-hero.e-con { padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 9vw, 7rem); }
.w06 .w06-hero-grid.e-con {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--w06-gap); align-items: center;
}
.w06.e-con .w06-hero-title .elementor-heading-title {
  font-size: clamp(2.5rem, 6.5vw, 5rem); letter-spacing: -.01em; color: var(--w06-ink);
}
.w06.e-con .w06-hero-title { margin-bottom: 1.5rem; }
.w06.e-con .w06-hero-text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 42ch; }
.w06 .w06-hero-media.e-con { position: relative; }
.w06 .w06-hero-media .w06-frame img { aspect-ratio: 7 / 8; }
.w06.e-con .w06-media-tag {
  position: absolute; bottom: 12px; left: -14px; width: auto; z-index: 2;
  background: var(--w06-turquoise); padding: .4rem 1rem; transform: rotate(-3deg);
}
.w06.e-con .w06-media-tag .elementor-heading-title { font-size: 1rem; color: var(--w06-purple-deep); }

/* --------------------- Mission --------------------- */
.w06.e-con .w06-mission-statement .elementor-heading-title {
  font-weight: 700; font-size: clamp(1.8rem, 5vw, 3.5rem); line-height: 1.08; max-width: 18ch; color: var(--w06-ink);
}
.w06.e-con .w06-mission-text { max-width: 60ch; margin-top: 1.25rem; font-size: 1.1rem; color: var(--w06-ink); }

/* --------------------- Chiffres clés --------------------- */
.w06-impact.e-con { background: var(--w06-purple-deep); padding-block: clamp(3rem, 7vw, 5rem); }
.w06 .w06-figures.e-con { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--w06-gap); }
.w06 .w06-figure.e-con { border-left: 3px solid var(--w06-turquoise); padding-left: 1.25rem; }
.w06.e-con .w06-figure-num .elementor-heading-title { font-size: clamp(2.4rem, 5vw, 3.5rem); color: var(--w06-turquoise); line-height: 1; }
.w06.e-con .w06-figure-label .elementor-heading-title {
  font-family: var(--w06-font-body); font-weight: 400; font-size: .95rem; color: var(--w06-lilac); line-height: 1.5;
}

/* --------------------- Nos actions --------------------- */
.w06 .w06-action-row.e-con {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--w06-gap); align-items: center;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}
.w06 .w06-action-row--reverse > .w06-action-media { order: 2; }
.w06.e-con .w06-index .elementor-heading-title {
  font-size: 1.1rem; color: var(--w06-turquoise); -webkit-text-stroke: .4px var(--w06-purple);
}
.w06.e-con .w06-action-title { margin: .35rem 0 .75rem; }
.w06.e-con .w06-action-title .elementor-heading-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--w06-ink); }
.w06.e-con .w06-action-text .elementor-widget-text-editor { max-width: 46ch; }
/* Listes à puces losange (dates, lieux…) */
.w06.e-con .elementor-widget-text-editor ul { list-style: none; margin: 1rem 0 1.25rem; padding: 0; display: grid; gap: .4rem; font-size: .95rem; color: var(--w06-ink); }
.w06.e-con .elementor-widget-text-editor ul li { padding-left: 1.1rem; position: relative; }
.w06.e-con .elementor-widget-text-editor ul li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem;
  background: var(--w06-turquoise); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.w06 .w06-badges.e-con { display: flex; flex-flow: row wrap; gap: .6rem; margin: .5rem 0 1.25rem; width: auto; }
.w06 .w06-badges > .elementor-widget { width: auto; }
.w06 .w06-badges img { height: 40px; width: auto; }

/* --------------------- Pourquoi agir --------------------- */
.w06 .w06-stats.e-con { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--w06-gap); }
.w06.e-con .w06-stat-num .elementor-heading-title { font-size: clamp(3rem, 7vw, 5rem); color: var(--w06-turquoise); line-height: 1; }
.w06.e-con .w06-stats .elementor-widget-text-editor { margin-top: .75rem; }
.w06.e-con .w06-stats em { display: block; font-size: .8rem; opacity: .7; margin-top: .35rem; }

/* --------------------- Actualités --------------------- */
.w06-news.e-con { background: var(--w06-lilac-soft); }
.w06 .w06-news-list.e-con { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--w06-gap); }
.w06 .w06-news-item .w06-frame img {
  aspect-ratio: 3 / 2; clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
  transition: transform .3s ease;
}
.w06 .w06-news-item .w06-frame { overflow: hidden; margin-bottom: 1rem; }
.w06 .w06-news-item .w06-frame a:hover img { transform: scale(1.04); }
.w06.e-con .w06-date .elementor-heading-title {
  font-family: var(--w06-font-body); font-size: .85rem; font-weight: 600; color: var(--w06-purple);
  text-transform: uppercase; letter-spacing: .08em; line-height: 1.4;
}
.w06.e-con .w06-news-title { margin: .35rem 0 .5rem; }
.w06.e-con .w06-news-title .elementor-heading-title { font-size: 1.35rem; font-weight: 700; line-height: 1.15; color: var(--w06-ink); }
.w06.e-con .w06-news-title a { color: inherit; text-decoration: none; }
.w06.e-con .w06-news-title a:hover { color: var(--w06-purple); }
.w06.e-con .w06-news-item .elementor-widget-text-editor { font-size: .95rem; }

/* --------------------- Témoignage --------------------- */
.w06 .w06-testimonial-grid.e-con { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--w06-gap); align-items: center; }
.w06.e-con .w06-quote-mark .elementor-heading-title { font-size: 5rem; color: var(--w06-turquoise); line-height: .5; }
.w06.e-con .w06-quote { margin: 1rem 0 1.5rem; }
.w06.e-con .w06-quote .elementor-heading-title { font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.4rem); line-height: 1.2; color: var(--w06-ink); }
.w06.e-con .w06-quote-author .elementor-heading-title { font-family: var(--w06-font-body); font-size: 1rem; font-weight: 600; color: var(--w06-purple); }
.w06.e-con .w06-quote-author span { color: var(--w06-muted); font-weight: 400; }

/* --------------------- Charte --------------------- */
.w06 .w06-charte-inner.e-con { max-width: 760px; margin-inline: 0; }
.w06 .w06-charte-wrap.e-con { align-items: flex-start; }
.w06.e-con .w06-charte .elementor-widget-text-editor { font-size: 1.1rem; max-width: 52ch; }
.w06.e-con .w06-charte ol { margin: 1.25rem 0 0; padding-left: 1.4rem; display: grid; gap: .35rem; }
.w06.e-con .w06-charte ol li::marker { color: var(--w06-turquoise); font-weight: 700; }
.w06.e-con .w06-small { margin-top: 1.25rem; font-size: .9rem; opacity: .8; }
.w06.e-con .w06-small .elementor-heading-title { font-family: var(--w06-font-body); font-size: .9rem; font-weight: 400; color: var(--w06-lilac); }

/* --------------------- S'engager --------------------- */
.w06 .w06-cards.e-con { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.w06 .w06-card.e-con {
  background: var(--w06-lilac-soft); padding: 1.75rem 1.75rem 2.25rem;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  transition: transform .15s ease, background-color .15s ease;
}
.w06 .w06-card.e-con:hover { transform: translateY(-4px); background: #e3d8f8; }
.w06.e-con .w06-card-icon .elementor-heading-title { font-size: 1.2rem; color: var(--w06-turquoise); }
.w06.e-con .w06-card-title { margin: .5rem 0; }
.w06.e-con .w06-card-title .elementor-heading-title { font-size: 1.3rem; font-weight: 700; line-height: 1.15; color: var(--w06-ink); }
.w06.e-con .w06-card .elementor-widget-text-editor { font-size: .95rem; flex-grow: 1; }

/* --------------------- Partenaires --------------------- */
.w06-partners.e-con { padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 9vw, 7rem); }
.w06 .w06-logos.e-con { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.5rem; }
.w06 .w06-logo {
  display: grid; place-items: center; height: 90px; padding: 1rem;
  background: var(--w06-white); border: 1px solid var(--w06-lilac-soft); border-radius: var(--w06-radius);
}
.w06 .w06-logo .elementor-widget-container { display: grid; place-items: center; height: 100%; }
.w06 .w06-logo img { width: 100%; height: 58px; object-fit: contain; }

/* =========================================================
   RESPONSIVE (Elementor : tablette ≤ 1024px, mobile ≤ 767px)
   ========================================================= */
@media (max-width: 1024px) {
  .w06 .w06-figures.e-con { grid-template-columns: repeat(2, 1fr); }
  .w06 .w06-stats.e-con { grid-template-columns: 1fr; gap: 2rem; }
  .w06 .w06-news-list.e-con, .w06 .w06-cards.e-con { grid-template-columns: repeat(2, 1fr); }
  .w06 .w06-logos.e-con { grid-template-columns: repeat(4, 1fr); }
  .w06-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .w06 .w06-hero-grid.e-con, .w06 .w06-action-row.e-con, .w06 .w06-testimonial-grid.e-con { grid-template-columns: 1fr; }
  .w06 .w06-action-row--reverse > .w06-action-media { order: 0; }
  .w06 .w06-hero-media.e-con { order: -1; }
  .w06 .w06-hero-media .w06-frame img { aspect-ratio: 4 / 3; }
  .w06 .w06-logos.e-con { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .w06 .w06-figures.e-con, .w06 .w06-news-list.e-con, .w06 .w06-cards.e-con { grid-template-columns: 1fr; }
  .w06 .w06-logos.e-con { grid-template-columns: repeat(2, 1fr); }
  .w06 .w06-btn-row > .elementor-widget { width: 100%; }
  .w06 .w06-btn-row .elementor-button { width: 100%; text-align: center; }
  .w06-footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .w06 *, .w06-footer * { transition: none !important; }
}

/* --------------------- Actualités dynamiques [w06_actus] --------------------- */
.w06-actus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--w06-gap); }
.w06-actu-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 1rem; background: var(--w06-lilac);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%); }
.w06-actu-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.w06-actu-media:hover img { transform: scale(1.04); }
.w06-actu-fallback { display: grid; place-items: center; height: 100%; font-family: var(--w06-font-display); font-weight: 800; font-size: 2rem; color: var(--w06-purple-deep);
  background: repeating-linear-gradient(45deg, var(--w06-lilac) 0 12px, #d8c6f5 12px 24px); }
.w06-actu-meta { margin: 0; font-size: .85rem; font-weight: 600; color: var(--w06-purple); text-transform: uppercase; letter-spacing: .08em; }
.w06-actus .w06-actu-title { font-family: var(--w06-font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.15; margin: .35rem 0 .5rem; }
.w06-actus .w06-actu-title a { color: var(--w06-ink); text-decoration: none; }
.w06-actus .w06-actu-title a:hover { color: var(--w06-purple); }
.w06-actu-excerpt { color: var(--w06-muted); font-size: .95rem; margin: 0; }
@media (max-width: 1024px) { .w06-actus { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .w06-actus { grid-template-columns: 1fr; } }

/* --------------------- Infos pratiques (pages événement) --------------------- */
.w06-infos.e-con { background: var(--w06-lilac-soft); padding-block: clamp(2.5rem, 6vw, 4rem); }
.w06 .w06-infos-grid.e-con { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--w06-gap); }
.w06 .w06-info.e-con { border-left: 3px solid var(--w06-turquoise); padding-left: 1.25rem; }
.w06.e-con .w06-info .w06-kicker { margin-bottom: .35rem; }
.w06.e-con .w06-info-value .elementor-heading-title { font-size: 1.25rem; font-weight: 700; line-height: 1.2; color: var(--w06-ink); }
@media (max-width: 1024px) { .w06 .w06-infos-grid.e-con { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .w06 .w06-infos-grid.e-con { grid-template-columns: 1fr; } }

/* --------------------- Bloc texte (pages standard) --------------------- */
.w06 .w06-prose.e-con { max-width: 760px; }
.w06.e-con .w06-prose .elementor-widget-text-editor { color: var(--w06-ink); font-size: 1.05rem; }
.w06.e-con .w06-prose h2, .w06.e-con .w06-prose h3 { font-family: var(--w06-font-display); font-weight: 700; margin: 2rem 0 .75rem; color: var(--w06-ink); }
.w06.e-con .w06-prose a { color: var(--w06-purple); }
.w06-hero--simple.e-con { padding-block: clamp(3rem, 7vw, 5rem); }
.w06 .w06-hero--simple .w06-hero-title .elementor-heading-title { font-size: clamp(2.2rem, 5.5vw, 4rem); }

/* Bouton « retour en haut » de Neve */
.scroll-to-top { background: var(--w06-purple) !important; color: var(--w06-white) !important; border-radius: var(--w06-radius); }
.scroll-to-top:hover { background: var(--w06-purple-700) !important; }

/* ===================== Événements & actions (inc/contenus.php) ===================== */
.w06-empty { color: var(--w06-muted); }
.w06-arrow { display: inline-flex; gap: .4rem; font-weight: 600; color: var(--w06-purple); text-decoration: none; }
.w06-arrow::after { content: "→"; transition: transform .2s; }
.w06-arrow:hover::after { transform: translateX(4px); }
a.w06-btn { display: inline-block; padding: .8rem 1.4rem; border-radius: 999px; background: var(--w06-turquoise); color: var(--w06-purple-deep); font-weight: 700; text-decoration: none; }
a.w06-btn:hover { background: var(--w06-purple-deep); color: #fff; }
.w06-ev-lieu { font-weight: 600; color: var(--w06-ink); margin: .2rem 0; }
.w06-ev-count { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: var(--w06-lilac-soft); color: var(--w06-purple); font-size: .82rem; font-weight: 600; }

/* À venir : cartes */
.w06-event-list, .w06-past-list, .w06-timeline, .w06-year-list, .w06-hub { list-style: none; margin: 0; padding: 0; }
.w06-event { display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; padding: 1.8rem 0; border-top: 2px solid var(--w06-purple-deep); }
.w06-event-date { display: flex; align-items: baseline; gap: .5rem; margin: 0; font-family: var(--w06-font-display); color: var(--w06-purple); }
.w06-event-date .d { font-size: 3.2rem; font-weight: 800; line-height: 1; }
.w06-event-date .m { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.w06-event-tag { margin: 0 0 .3rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--w06-muted); }
.w06-live { display: inline-block; margin-left: .4rem; padding: .1rem .55rem; border-radius: 999px; background: var(--w06-turquoise); color: var(--w06-purple-deep); }
.w06-event h3 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.w06-event h3 a { color: inherit; text-decoration: none; }

/* Passés : liste compacte */
.w06-past-list li { border-top: 1px solid var(--w06-lilac); }
.w06-past-list a, .w06-past-list li > div { display: grid; grid-template-columns: 8rem 1fr; gap: .2rem 1.2rem; padding: 1rem 0; color: var(--w06-ink); text-decoration: none; }
.w06-past-list time { grid-row: span 2; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--w06-purple); }
.w06-past-list span { font-family: var(--w06-font-display); font-weight: 700; }
.w06-past-list em { font-style: normal; font-size: .9rem; color: var(--w06-muted); }
.w06-past-list a:hover span { color: var(--w06-purple); }

/* Frise (éditions d'une action) */
.w06-editions { margin-top: var(--w06-section-y); }
.w06-timeline { position: relative; margin-top: 2rem; }
.w06-timeline::before { content: ""; position: absolute; left: .4rem; top: .5rem; bottom: 0; width: 2px; background: var(--w06-lilac); }
.w06-timeline > li { position: relative; display: grid; grid-template-columns: 10rem 1fr; gap: 1.5rem; padding: 0 0 2.5rem 2.2rem; }
.w06-timeline > li::before { content: ""; position: absolute; left: 0; top: .35rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--w06-turquoise); }
.w06-tl-date { margin: 0; font-weight: 700; color: var(--w06-muted); }
.w06-timeline h3 { margin: 0 0 .4rem; }

/* Passés : par année */
.w06-year { display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr; gap: 2rem; padding: 2rem 0; border-top: 2px solid var(--w06-purple-deep); }
.w06-year-num { margin: 0; font-size: clamp(3rem, 7vw, 5rem); line-height: .9; color: var(--w06-purple); position: sticky; top: 6rem; align-self: start; }
.w06-year-list > li { display: grid; grid-template-columns: 6rem 1fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--w06-lilac-soft); }
.w06-h-date { margin: 0; font-size: .78rem; font-weight: 700; text-transform: uppercase; color: var(--w06-muted); }
.w06-year-list h3 { margin: 0 0 .3rem; font-size: 1.25rem; }

/* Accueil : deux colonnes */
.w06-agenda { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.w06-agenda-sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--w06-purple); margin: 0 0 1rem; }
.w06-agenda-col > .w06-arrow { margin-top: 1.2rem; }

/* Actions : grille */
.w06-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.w06-hub a { display: block; height: 100%; padding: 1.6rem; border-radius: 1.4rem; background: var(--w06-lilac-soft); color: var(--w06-ink); text-decoration: none; transition: background .2s, transform .2s; }
.w06-hub a:hover { background: var(--w06-lilac); transform: translateY(-3px); }
.w06-hub h3 { margin: 0 0 .4rem; }
.w06-hub p { margin: 0; color: var(--w06-muted); }
.w06-event-head { margin-bottom: 2rem; padding: 1.4rem 1.6rem; border-radius: 1.4rem; background: var(--w06-lilac-soft); }

@media (max-width: 760px) {
  .w06-agenda, .w06-year { grid-template-columns: 1fr; }
  .w06-year-num { position: static; }
  .w06-event { grid-template-columns: 1fr; gap: .5rem; }
  .w06-timeline > li, .w06-past-list a, .w06-past-list li > div { grid-template-columns: 1fr; }
}
.single-w06_action .nv-meta-list, .single-w06_evenement .nv-meta-list, .single-w06_action .nv-post-navigation, .single-w06_evenement .nv-post-navigation { display: none; }
