/* ==========================================================================
   Com For Good Agency — feuille de style unique
   Reconstruction statique a l'identique du site comforgoodagency.com
   Palette et typographie relevees sur le site d'origine (01/09/2026)
   ========================================================================== */

@font-face {
  font-family: "DK Knucklebones";
  src: url("assets/fonts/DK-Knucklebones.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --jaune: #ffdd00;
  --noir: #000000;
  --blanc: #ffffff;
  --gris: #707070;
  --gris-clair: #f4f2ee;
  --vert: #4f7136;
  --vert-clair: #799366;

  --titre: "DK Knucklebones", "Comic Sans MS", cursive;
  --corps: Verdana, Geneva, "DejaVu Sans", sans-serif;

  --max: 1200px;
  --header-h: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 15px;
  line-height: 1.6;
  color: var(--noir);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* --- Titres --------------------------------------------------------------- */

h1, h2, h3, .dk {
  font-family: var(--titre);
  font-weight: 400;
  letter-spacing: .02em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.15; }
h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; }
h3 { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.25; }

/* --- Badge de section (etiquette noire ou jaune) -------------------------- */

.badge {
  display: inline-block;
  font-family: var(--titre);
  font-size: clamp(20px, 2.2vw, 30px);
  padding: 6px 18px 8px;
  background: var(--noir);
  color: var(--blanc);
  letter-spacing: .04em;
}
.badge--jaune { background: var(--jaune); color: var(--noir); }

/* --- Header --------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanc);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { flex: 0 0 auto; }
.logo img { height: 78px; width: auto; margin-top: 6px; }

.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  font-family: var(--corps);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 12px;
  border: 2px solid transparent;
  transition: background .15s, border-color .15s;
}
.nav a:hover, .nav a:focus-visible { background: var(--jaune); border-color: var(--noir); outline: none; }

.socials { display: flex; gap: 8px; }
.socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--noir);
  color: var(--blanc);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.socials a:hover, .socials a:focus-visible { background: var(--jaune); color: var(--noir); outline: none; }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 3px; background: var(--noir); margin: 5px 0; }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  aspect-ratio: 2000 / 696;
  background: url("assets/img/hero.webp") center/cover no-repeat, var(--noir);
  display: flex;
  align-items: center;
  padding: 40px 0 70px;
}
.hero .wrap { width: 100%; }
.hero h1 {
  color: var(--blanc);
  max-width: 22ch;
  text-transform: uppercase;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.2;
}
.hero .rule { width: 380px; max-width: 46%; height: 5px; background: var(--noir); margin-top: 56px; }

.hero-bottom {
  position: relative;
  margin-top: -132px;
  z-index: 3;
}
.hero-bottom .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.pastilles { display: flex; gap: 22px; }
.pastille {
  width: 148px; height: 148px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--titre);
  font-size: 17px;
  letter-spacing: .06em;
  background: var(--noir);
  color: var(--blanc);
  transition: transform .18s;
}
.pastille--jaune { background: var(--jaune); color: var(--noir); }
.pastille:hover { transform: translateY(-6px); }
.pastille .chev { font-size: 26px; line-height: 1; }

.accroche {
  background: var(--noir);
  padding: 40px 44px;
  max-width: 420px;
}
.accroche h2 { color: var(--jaune); font-family: var(--corps); font-weight: 700; font-size: 27px; line-height: 1.25; }
.accroche p { color: var(--blanc); font-size: 25px; line-height: 1.35; margin: 6px 0 0; }

/* --- Fond texture --------------------------------------------------------- */

.texture { background: url("assets/img/texture-fond.webp") center/cover; }

/* --- Bandeau valeurs ------------------------------------------------------ */

.bandeau-jaune {
  background: var(--jaune);
  text-align: center;
  padding: 14px 24px;
  font-size: clamp(16px, 1.6vw, 21px);
}
.bandeau-jaune strong { font-weight: 700; }

.valeurs { padding: 70px 0 40px; }
.valeurs .grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  text-align: center;
}
.valeur img { height: 74px; width: auto; margin: 0 auto 18px; }
.valeur h3 { margin-bottom: 14px; }
.valeur p { color: var(--noir); font-size: 13.5px; margin: 0; }

/* --- Blocs d'appel -------------------------------------------------------- */

.cta {
  background: var(--jaune);
  text-align: center;
  padding: 26px 24px 30px;
  max-width: 620px;
  margin: 40px auto 0;
}
.cta--noir { background: var(--noir); }
.cta p { font-weight: 700; font-size: 20px; margin: 0 0 16px; }
.cta--noir p { color: var(--blanc); }
.cta .ronds { display: flex; gap: 14px; justify-content: center; }
.cta .ronds a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--noir);
  color: var(--blanc);
  display: grid; place-items: center;
  text-decoration: none;
  transition: transform .15s;
}
.cta--noir .ronds a { background: var(--jaune); color: var(--noir); }
.cta .ronds a:hover { transform: scale(1.12); }
.cta .ronds svg { width: 18px; height: 18px; fill: currentColor; }

/* --- Confiance (logos defilants) ------------------------------------------ */

.confiance { background: var(--noir); padding: 46px 0 54px; overflow: hidden; }
.confiance h2 { color: var(--blanc); text-align: center; margin-bottom: 34px; letter-spacing: .06em; }

.piste { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.piste-inner { display: flex; gap: 54px; padding-right: 54px; animation: defile 46s linear infinite; }
.piste:hover .piste-inner { animation-play-state: paused; }
.piste img { height: 46px; width: auto; flex: 0 0 auto; filter: brightness(0) invert(1); opacity: .9; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .piste-inner { animation: none; flex-wrap: wrap; justify-content: center; }
  .piste { mask-image: none; }
}

/* --- Conseil -------------------------------------------------------------- */

.conseil { background: var(--jaune); padding: 34px 0 74px; }
.conseil .haut {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
  margin: 40px 0 54px;
}
.portrait { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; }
.conseil .intro { font-size: 17px; max-width: 52ch; }

.trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; margin-top: 40px; }
.trois img { width: clamp(200px, 22vw, 300px); height: auto; aspect-ratio: 1; margin: 0 auto 34px; }
.trois h3 { margin-bottom: 20px; text-transform: uppercase; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.15; }
.trois p { font-size: 17px; line-height: 1.55; margin: 0 auto; max-width: 30ch; }

/* --- Contenus ------------------------------------------------------------- */

.contenus { padding: 34px 0 70px; }
.contenus .grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 40px;
  margin-top: 48px;
  text-align: center;
}
.contenus h3 { margin-bottom: 16px; text-transform: uppercase; }
.contenus .barre { width: 54px; height: 3px; background: var(--noir); margin: 0 auto 16px; }
.contenus p { font-size: 13.5px; margin: 0; }
.contenus .illu { display: grid; place-items: center; }
.contenus .illu img { max-height: 190px; width: auto; }

/* --- Evenementiel --------------------------------------------------------- */

.event-head {
  background: url("assets/img/evenementiel.webp") center/cover no-repeat, var(--noir);
  min-height: 340px;
  padding: 30px 0 0;
}
.event-corps { padding: 0 0 70px; }
.event-corps .grille {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 46px;
  align-items: start;
  margin-top: -60px;
}
.event-intro { background: var(--jaune); padding: 40px 34px; }
.event-intro h2 { font-family: var(--corps); font-size: 25px; line-height: 1.3; }
.event-intro h2 strong { font-weight: 700; }
.event-intro .barre { width: 74px; height: 2px; background: var(--noir); margin: 26px 0; }
.event-intro p { font-size: 13.5px; margin: 0; }

.event-droite { padding-top: 84px; }
.event-droite > p { font-size: 14px; margin: 0 0 26px; }

.accordeon { border: 0; margin-bottom: 14px; background: var(--jaune); }
.accordeon summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 22px;
  font-family: var(--titre);
  font-size: 20px;
  letter-spacing: .03em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary::after { content: "⌄"; font-family: var(--corps); font-size: 22px; line-height: 1; transition: transform .2s; }
.accordeon[open] summary::after { transform: rotate(180deg); }
.accordeon .contenu { padding: 0 22px 20px; font-size: 13.5px; }

/* --- Nos creations (onglets) ---------------------------------------------- */

.creations { background: var(--noir); color: var(--blanc); padding: 34px 0 80px; }
.creations .badge { background: var(--jaune); color: var(--noir); }

.onglets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 48px 0 46px;
}
.onglets button {
  font-family: var(--titre);
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: .03em;
  background: none;
  border: 2px solid transparent;
  color: var(--blanc);
  padding: 10px 16px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.onglets button:hover { color: var(--jaune); }
.onglets button[aria-selected="true"] { color: var(--jaune); border-color: var(--jaune); }

.panneau { display: none; }
.panneau[data-actif] { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.panneau .visuel { display: grid; gap: 18px; justify-items: center; }
.panneau .visuel img { max-height: 420px; width: auto; }
.panneau h3 { color: var(--jaune); font-size: clamp(28px, 3.2vw, 42px); text-align: center; margin-bottom: 18px; }
.panneau .sous { color: var(--jaune); text-transform: uppercase; font-size: 13px; letter-spacing: .05em; text-align: center; margin: 0 0 20px; }
.panneau p { font-size: 13.5px; text-align: center; margin: 0 0 12px; }

/* --- Equipe --------------------------------------------------------------- */

.equipe { background: var(--jaune); padding: 34px 0 70px; }
.equipe .grille { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 40px; }
.equipe .intro { font-size: 14px; max-width: 32ch; margin: 0 0 34px; }
.membres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
.membre { text-align: center; }
.membre img { width: 100%; max-width: 148px; margin: 0 auto 12px; border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.membre span { font-family: var(--titre); font-size: 16px; line-height: 1.2; display: block; }
.equipe .arbre img { width: 100%; }

/* --- Preuve par l'exemple ------------------------------------------------- */

.preuve { padding: 34px 0 76px; position: relative; overflow: hidden; }
.feuille { position: absolute; width: 300px; opacity: .95; pointer-events: none; z-index: 0; }
.feuille--g { left: -110px; bottom: 40px; transform: rotate(-14deg); }
.feuille--d { right: -120px; top: 30px; transform: scaleX(-1) rotate(-8deg); }
.preuve .wrap { position: relative; z-index: 1; }
.preuve .grille { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 40px; }
.preuve .chapeau { font-size: 15px; margin: 0 0 22px; }
.preuve p { font-size: 13.5px; }
.preuve .gd-titre {
  font-family: var(--titre);
  font-size: clamp(46px, 6.4vw, 88px);
  color: var(--vert-clair);
  line-height: .95;
  text-align: right;
}
.preuve .illu { display: grid; place-items: center; }
.preuve .illu img { max-height: 210px; width: auto; }

.liens-gd { display: grid; gap: 14px; margin-top: 34px; }
.liens-gd a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 26px;
  font-family: var(--titre);
  font-size: 20px;
  letter-spacing: .04em;
  color: var(--blanc);
  text-decoration: none;
  background: var(--vert);
  transition: transform .15s;
}
.liens-gd a + a { background: var(--noir); }
.liens-gd a:hover { transform: translateX(6px); }

/* --- Contact -------------------------------------------------------------- */

.contact { background: var(--jaune); padding: 34px 0 70px; }
.contact .grille { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; margin-top: 40px; }

.formulaire { display: grid; gap: 14px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.formulaire input[type="text"],
.formulaire input[type="email"],
.formulaire textarea {
  font-family: var(--corps);
  font-size: 14px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 2px solid var(--noir);
  background: transparent;
  width: 100%;
}
.formulaire textarea { min-height: 118px; resize: vertical; }
.formulaire input::placeholder, .formulaire textarea::placeholder { color: var(--noir); opacity: .75; }
.formulaire input:focus-visible, .formulaire textarea:focus-visible { outline: 2px solid var(--noir); outline-offset: 2px; }

.rgpd { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; }
.rgpd input { margin-top: 3px; flex: 0 0 auto; }

.envoyer {
  justify-self: center;
  font-family: var(--titre);
  font-size: 19px;
  letter-spacing: .04em;
  background: var(--noir);
  color: var(--blanc);
  border: 0;
  padding: 14px 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform .15s;
}
.envoyer:hover { transform: translateY(-2px); }

.contact .illu { background: var(--jaune); display: grid; place-items: center; padding: 40px; }
.contact .illu img { max-height: 260px; width: auto; }

/* --- Footer --------------------------------------------------------------- */

.footer { background: var(--noir); color: var(--blanc); padding: 44px 0 34px; }
.footer .haut { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.footer .logo img { height: 92px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.footer nav a:hover { color: var(--jaune); }
.footer .suivez { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.footer .suivez a { width: 30px; height: 30px; border-radius: 50%; background: var(--blanc); color: var(--noir); display: grid; place-items: center; }
.footer .suivez svg { width: 15px; height: 15px; fill: currentColor; }
.footer .bas {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #333;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer .bas a { text-decoration: none; }
.footer .bas a:hover { color: var(--jaune); }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1080px) {
  .valeurs .grille { grid-template-columns: repeat(2, 1fr); }
  .contenus .grille { grid-template-columns: repeat(2, 1fr); }
  .conseil .haut { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .event-corps .grille { grid-template-columns: 1fr; margin-top: -40px; }
  .event-droite { padding-top: 0; }
  .panneau[data-actif] { grid-template-columns: 1fr; }
  .equipe .grille, .preuve .grille, .contact .grille { grid-template-columns: 1fr; }
  .preuve .gd-titre { text-align: left; }
}

@media (max-width: 860px) {
  :root { --header-h: 78px; }
  .logo img { height: 58px; }
  .nav { display: none; }
  .nav[data-ouvert] {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--blanc);
    padding: 14px 24px 22px;
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
  }
  .burger { display: block; }
  .socials { display: none; }
  .hero { aspect-ratio: auto; min-height: 500px; }
  .hero-bottom .wrap { grid-template-columns: 1fr; }
  .accroche { max-width: none; }
  .pastilles { justify-content: center; flex-wrap: wrap; }
  .trois { grid-template-columns: 1fr; }
  .membres { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .valeurs .grille, .contenus .grille { grid-template-columns: 1fr; }
  .pastille { width: 120px; height: 120px; font-size: 15px; }
  .hero-bottom { margin-top: -80px; }
}

/* --- EcoIndex ------------------------------------------------------------- */

.ecoindex {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 18px 22px;
  border: 1px solid #333;
  border-radius: 4px;
  background: #0d0d0d;
}
.eco-note {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 4px;
  display: grid; place-items: center;
  font-family: var(--corps);
  font-weight: 700;
  font-size: 26px;
  background: #444; color: var(--blanc);
}
.eco-note[data-note="A"] { background: #1f8a4c; }
.eco-note[data-note="B"] { background: #5fb14e; color: #0d0d0d; }
.eco-note[data-note="C"] { background: #a8c53a; color: #0d0d0d; }
.eco-note[data-note="D"] { background: var(--jaune); color: #0d0d0d; }
.eco-note[data-note="E"] { background: #f0a028; color: #0d0d0d; }
.eco-note[data-note="F"] { background: #e2632a; }
.eco-note[data-note="G"] { background: #c8322a; }

.eco-txt { color: var(--blanc); }
.eco-titre { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 4px; }
.eco-detail { font-size: 13px; margin: 0 0 4px; }
.eco-src { font-size: 11.5px; color: #999; margin: 0; max-width: 60ch; }

@media (max-width: 560px) {
  .ecoindex { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* --- Notre méthode -------------------------------------------------------- */

.methode { padding: 34px 0 74px; }
.methode-chapeau {
  font-size: 17px;
  max-width: 58ch;
  margin: 32px 0 46px;
}
.etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.etape { position: relative; padding-top: 22px; border-top: 3px solid var(--noir); }
.etape .num {
  font-family: var(--titre);
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--noir);
  background: var(--jaune);
  padding: 3px 9px;
  position: absolute;
  top: -14px;
  left: 0;
}
.etape h3 { margin: 10px 0 8px; text-transform: uppercase; }
.etape .quoi { font-size: 13.5px; font-weight: 700; margin: 0 0 12px; }
.etape p { font-size: 13.5px; margin: 0; }

.methode-pied {
  margin: 46px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 13.5px;
  background: var(--jaune);
  padding: 20px 26px;
}

@media (max-width: 1080px) { .etapes { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; } }
@media (max-width: 560px)  { .etapes { grid-template-columns: 1fr; gap: 38px; } }


/* ==========================================================================
   Version alternative (v2) — preuve, deux publics, un seul appel a l'action
   ========================================================================== */

/* --- Menu : bouton d'action ---------------------------------------------- */
.nav .nav-cta { background: var(--noir); color: var(--blanc); border-color: var(--noir); margin-left: 6px; }
.nav .nav-cta:hover, .nav .nav-cta:focus-visible { background: var(--jaune); color: var(--noir); }

/* --- Bande de chiffres ---------------------------------------------------- */
.chiffres { background: var(--blanc); padding: 46px 0 40px; }
.chiffres ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center;
}
.chiffres strong {
  display: inline-block;
  font-family: var(--titre); font-weight: 400; letter-spacing: .02em;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1;
  background: linear-gradient(transparent 62%, var(--jaune) 62%);
  padding: 0 6px;
}
.chiffres li > span { display: block; margin: 10px auto 0; max-width: 24ch; font-size: 14px; line-height: 1.45; }

/* --- Pour qui ------------------------------------------------------------- */
.pourqui { background: var(--blanc); padding: 40px 0 74px; }
.pourqui .deux { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 34px; }
.carte { padding: 40px 44px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.carte h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; text-transform: uppercase; margin-bottom: 18px; }
.carte p { font-size: 17px; line-height: 1.55; margin: 0 0 26px; max-width: 38ch; }
.carte--jaune { background: var(--jaune); color: var(--noir); }
.carte--noire { background: var(--noir); color: var(--blanc); }
.carte--noire h3 { color: var(--jaune); }
.lien-carte {
  margin-top: auto;
  font-family: var(--titre); font-size: 19px; letter-spacing: .04em;
  text-decoration: none; display: inline-flex; gap: 10px; align-items: center;
  border-bottom: 3px solid currentColor; padding-bottom: 2px;
}
.lien-carte:hover { transform: translateX(4px); }

/* --- Bande d'appel a l'action -------------------------------------------- */
.bande-cta { background: var(--jaune); padding: 30px 0; }
.bande-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bande-cta p { margin: 0; font-size: clamp(17px, 1.9vw, 24px); line-height: 1.3; }
.bouton {
  font-family: var(--titre); font-size: 19px; letter-spacing: .04em;
  background: var(--noir); color: var(--blanc); text-decoration: none;
  padding: 14px 30px; display: inline-flex; align-items: center; gap: 12px;
  transition: transform .15s;
}
.bouton:hover, .bouton:focus-visible { transform: translateY(-2px); outline: none; }

/* --- Creations : type de structure et resultat --------------------------- */
.puce {
  display: inline-block; margin-bottom: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--jaune); color: var(--noir); padding: 3px 10px;
}
.resultat { margin: 18px 0 0; padding: 12px 16px; border-left: 5px solid var(--jaune); background: var(--gris-clair); font-weight: 700; }
.resultat span { font-family: var(--titre); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; margin-right: 10px; }
.resultat--vide { border-left-color: var(--gris); border-style: dashed; border-width: 2px 2px 2px 5px; border-color: var(--gris); color: var(--gris); font-weight: 400; background: transparent; }

/* --- Coulisses ------------------------------------------------------------ */
.coulisses { background: var(--gris-clair); border-top: 4px dashed var(--gris); padding: 18px 0; font-size: 14px; }
.coulisses summary { cursor: pointer; font-weight: 700; padding: 0 24px; max-width: var(--max); margin: 0 auto; }
.coulisses h2 { font-size: 22px; margin: 22px 0 8px; }
.coulisses ul { margin: 0 0 8px; padding-left: 20px; }
.coulisses li { margin-bottom: 6px; }

@media (max-width: 900px) {
  .chiffres ul { grid-template-columns: repeat(2, 1fr); }
  .pourqui .deux { grid-template-columns: 1fr; }
  .carte { padding: 32px 26px 28px; }
  .bande-cta .wrap { flex-direction: column; align-items: flex-start; }
  .nav .nav-cta { margin-left: 0; text-align: center; }
}

@media (min-width: 901px) {
  .nav { gap: 4px; }
  .nav a { padding: 8px 9px; }
  .nav .nav-cta { margin-left: 0; }
}
@media (min-width: 1100px) {
  .nav { flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
}

.bande-cta--noire { background: var(--noir); color: var(--blanc); }
.bande-cta--noire strong { color: var(--jaune); }
.bande-cta--noire .bouton { background: var(--jaune); color: var(--noir); }

/* --- Equipe v2 : deux rangs, section moins haute -------------------------- */
.equipe { padding: 34px 0 48px; }
.equipe .grille { margin-top: 28px; gap: 40px; }
.equipe .intro { margin-bottom: 24px; }
.membres { display: flex; flex-direction: column; gap: 22px; }
.rang { display: flex; justify-content: center; gap: 36px; }
.membre { flex: 0 1 132px; }
.membre img { max-width: 120px; margin-bottom: 8px; }
.equipe .arbre img { width: min(100%, 400px); height: 480px; margin: 0 auto; object-fit: cover; object-position: center 52%; }

@media (max-width: 560px) {
  .rang { gap: 18px; }
  .membre { flex-basis: 30%; }
  .equipe .arbre img { width: min(100%, 320px); height: 384px; }
}

/* --- La preuve par l'exemple v2 : plus compacte ---------------------------- */
.preuve { padding: 28px 0 44px; }
.preuve .grille { grid-template-columns: 1.3fr .7fr; gap: 40px; margin-top: 24px; }
.preuve .chapeau { margin-bottom: 12px; }
.liens-gd { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.liens-gd a { padding: 12px 18px; font-size: 17px; }
.preuve .gd-titre { font-size: clamp(40px, 4.8vw, 68px); text-align: center; margin-bottom: 6px; }
.preuve .gd-titre br { display: none; }
.preuve .illu img { max-height: 140px; }
.feuille { width: 240px; }
.feuille--g { bottom: 10px; }
.feuille--d { top: 10px; }

@media (max-width: 900px) {
  .preuve .grille { grid-template-columns: 1fr; }
  .preuve .gd-titre { text-align: left; }
}
@media (max-width: 560px) {
  .liens-gd { grid-template-columns: 1fr; }
}

.bande-cta.texture { background: url("assets/img/texture-fond.webp") center/cover; }

/* --- Valeurs v2 : titre de section, sans bandeau de contact ---------------- */
.valeurs { padding: 34px 0 56px; }
.valeurs .badge { margin-bottom: 40px; }

/* --- Video So Local Fest -------------------------------------------------- */
.film { margin: 22px 0 14px; }
.film iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--noir); }
.film figcaption { margin-top: 8px; font-size: 12px; text-align: center; color: var(--gris-clair); }

/* ==========================================================================
   v2 — lisibilite (texte courant a 16 px minimum), longueur, coordonnees
   ========================================================================== */

/* --- Lisibilite ----------------------------------------------------------- */
body { font-size: 16px; }
.valeur p, .contenus p, .event-intro p, .event-droite > p, .accordeon .contenu,
.panneau p, .equipe .intro, .preuve p { font-size: 16px; }
.preuve .chapeau { font-size: 17px; }
.panneau .sous { font-size: 14px; }

.formulaire textarea, .formulaire input[type="text"], .formulaire input[type="email"] { font-size: 16px; }
.rgpd, .footer nav a, .footer .suivez { font-size: 14px; }
.footer .bas { font-size: 13px; }
.eco-titre, .eco-detail { font-size: 14px; }
.eco-src, .puce, .film figcaption { font-size: 13px; }

/* --- Longueur : on resserre sans toucher au contenu ------------------------ */
.pourqui { padding: 30px 0 46px; }
.pourqui .deux { margin-top: 24px; }
.conseil { padding: 28px 0 50px; }
.trois { margin-top: 28px; }
.trois img { width: clamp(180px, 18vw, 250px); margin-bottom: 24px; }
.trois h3 { margin-bottom: 14px; }
.event-corps { padding-bottom: 44px; }
.event-droite { padding-top: 40px; }
.contact { padding: 30px 0 48px; }
.contact .grille { margin-top: 28px; }

/* --- Coordonnees dans le contact ------------------------------------------ */
.coordonnees { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.coordonnees li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; font-size: 16px; line-height: 1.45; }
.coordonnees strong { font-family: var(--titre); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; font-size: 15px; }
.coordonnees a { font-weight: 700; }
.contact .illu { padding: 22px; }
.contact .illu img { max-height: 150px; }

@media (max-width: 560px) {
  .coordonnees li { grid-template-columns: 1fr; gap: 2px; }
}

/* --- Titre principal = bandeau jaune (meme apparence qu'avant) ------------- */
h1.bandeau-jaune { font-family: var(--corps); font-weight: 400; letter-spacing: 0; line-height: 1.6; margin: 0; text-wrap: wrap; }

@media (max-width: 900px) {
  .hero { min-height: 340px; }
}

/* ==========================================================================
   v2 — cercles du bandeau plus grands, effets de mouvement
   ========================================================================== */

/* --- Pastilles Conseil / Contenu / Event ------------------------------------ */
.pastilles { gap: 26px; }
.pastille { width: 184px; height: 184px; font-size: 27px; gap: 14px; }
.pastille .chev { font-size: 36px; }
.hero-bottom { margin-top: -150px; }
@media (max-width: 900px) { .hero-bottom { margin-top: -110px; } }
@media (max-width: 560px) {
  .pastilles { gap: 10px; flex-wrap: nowrap; }
  .pastille { width: min(31vw, 132px); height: min(31vw, 132px); font-size: 19px; gap: 8px; }
  .pastille .chev { font-size: 26px; }
  .hero-bottom { margin-top: -70px; }
}

/* --- Lecteurs d'ecran uniquement ------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chiffres .num { font-variant-numeric: tabular-nums; }

/* --- 1. Apparition douce au defilement ------------------------------------- */
.js [data-reveal]:not([data-reveal="arbre"]) { opacity: 0; translate: 0 26px; transition: opacity .8s ease, translate .8s ease; }
.js [data-reveal].vu:not([data-reveal="arbre"]) { opacity: 1; translate: 0 0; }

/* --- 3. Le bandeau respire : zoom tres lent sur la plage ------------------- */
.hero { background: var(--noir); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/img/hero.webp") center/cover no-repeat;
  transform-origin: 40% 60%;
  animation: respire 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes respire { from { transform: scale(1); } to { transform: scale(1.09); } }

/* --- 4. Survol : cercles, cartes, portraits se soulevent -------------------- */
.trois img, .membre img { transition: transform .3s ease; }
.trois article:hover img { transform: translateY(-8px) scale(1.03); }
.membre:hover img { transform: translateY(-6px) scale(1.04); }
.carte { transition: transform .3s ease, box-shadow .3s ease; }
.carte:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0, 0, 0, .22); }

/* --- 5. L'arbre verdit quand on arrive sur l'equipe ------------------------- */
.js .equipe .arbre[data-reveal="arbre"] img { filter: grayscale(.9) sepia(.85) saturate(.75); transition: filter 2.8s ease .2s; }
.js .equipe .arbre[data-reveal="arbre"].vu img { filter: none; }

/* --- Visiteurs qui demandent moins d'animations ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; translate: 0 0 !important; transition: none !important; }
  .hero::before { animation: none; }
  .js .equipe .arbre img { filter: none !important; transition: none !important; }
  .trois img, .membre img, .carte, .pastille { transition: none; }
  .trois article:hover img, .membre:hover img, .carte:hover, .pastille:hover { transform: none; }
}
@media print { .js [data-reveal] { opacity: 1 !important; translate: 0 0 !important; } }

/* ==========================================================================
   v2 — une seule echelle typographique pour toute la page
   Section 20-30 | Annonce 26 | Titre de carte 22-30 | Petit titre 19 | Texte 16 | Chapeau 18
   ========================================================================== */
:root {
  --t-section: clamp(22px, 2.3vw, 30px);
  --t-annonce: 26px;
  --t-carte: clamp(22px, 2.2vw, 30px);
  --t-petit: 19px;
  --t-chapeau: 18px;
}

/* Titres de section */
.badge { font-size: var(--t-section); }

/* Annonces (phrases fortes en police du corps ou en brush) */
.accroche h2, .event-intro h2, .confiance h2, .contact .dk { font-size: var(--t-annonce); }
.accroche p { font-size: 22px; }
.bande-cta p { font-size: clamp(18px, 1.9vw, 22px); }

/* Titres de cartes : memes taille, casse et interligne partout */
.valeur h3, .contenus h3, .trois h3, .carte h3, .panneau h3 {
  font-size: var(--t-carte); line-height: 1.15; text-transform: uppercase;
}

/* Petits titres */
.accordeon summary, [role="tab"], .membre span, .lien-carte, .envoyer, .bouton { font-size: var(--t-petit); }

/* Textes : 16 px partout, chapeaux a 18 px */
.carte p, .trois p, .valeur p, .contenus p, .accordeon .contenu, .panneau p, .preuve p,
.coordonnees li, .chiffres li > span { font-size: 16px; }
.preuve .chapeau, .equipe .intro, .event-droite > p { font-size: var(--t-chapeau); }

/* Bande de chiffres : les quatre titres identiques, compteur compris */
.chiffres strong { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.chiffres strong .num, .chiffres strong .sr-only + .num { display: inline; margin: 0; max-width: none; font-size: inherit; line-height: inherit; }
@media (min-width: 901px) { .chiffres strong { white-space: nowrap; } }
.onglets button { font-size: var(--t-petit); }

/* --- Cercles Conseil / Contenu / Event : centres sur le bord du bandeau, un peu au-dessus --- */
.pastilles { align-self: start; margin-top: 38px; }
@media (max-width: 900px) { .pastilles { margin-top: 0; } }

/* ==========================================================================
   v2 — mot qui change, soulignes dessines, bande defilante, bords dechires
   ========================================================================== */

/* --- Mot qui change dans l'accroche ---------------------------------------- */
.accroche p { min-height: 4.1em; }
.accroche .mot { display: inline-block; color: var(--jaune); font-weight: 700; transition: opacity .3s ease, transform .3s ease; }
.accroche .mot.sort { opacity: 0; transform: translateY(-7px); }

/* --- Soulignes dessines a la main ------------------------------------------ */
.souligne { position: relative; display: inline-block; white-space: nowrap; }
.souligne::after {
  content: ""; position: absolute; left: -3%; right: -3%; bottom: -.34em; height: .5em;
  background: var(--trait, currentColor);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 28 4 52 18 80 9 S 130 3 156 11 S 188 15 197 6' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M12 17 C 60 12 120 18 188 12' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 28 4 52 18 80 9 S 130 3 156 11 S 188 15 197 6' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M12 17 C 60 12 120 18 188 12' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.souligne--blanc { --trait: var(--blanc); }
@keyframes trace { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.accroche .souligne::after, h1 .souligne::after { animation: trace .8s ease-out .6s both; }

/* --- Bande defilante en brush ---------------------------------------------- */
.defile { background: var(--jaune); color: var(--noir); overflow: hidden; padding: 12px 0 14px; }
.defile-piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.defile-groupe { display: flex; align-items: center; flex: none; }
.defile-groupe span { font-family: var(--titre); font-size: clamp(30px, 4vw, 54px); line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; }
.defile-groupe i { display: inline-block; flex: none; width: .5em; height: .5em; margin: 0 .9em; border-radius: 50%; background: var(--noir); font-size: clamp(30px, 4vw, 54px); }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Bords en papier dechire ------------------------------------------------ */
:root { --dechire: polygon(0 0, 100% 0, 100.00% calc(100% - 10px), 97.73% calc(100% - 20px), 95.45% calc(100% - 10px), 93.18% calc(100% - 9px), 90.91% calc(100% - 4px), 88.64% calc(100% - 20px), 86.36% calc(100% - 16px), 84.09% calc(100% - 7px), 81.82% calc(100% - 2px), 79.55% calc(100% - 20px), 77.27% calc(100% - 6px), 75.00% calc(100% - 7px), 72.73% calc(100% - 2px), 70.45% calc(100% - 3px), 68.18% calc(100% - 13px), 65.91% calc(100% - 17px), 63.64% calc(100% - 10px), 61.36% calc(100% - 7px), 59.09% calc(100% - 13px), 56.82% calc(100% - 3px), 54.55% calc(100% - 13px), 52.27% calc(100% - 5px), 50.00% calc(100% - 2px), 47.73% calc(100% - 3px), 45.45% calc(100% - 4px), 43.18% calc(100% - 9px), 40.91% calc(100% - 13px), 38.64% calc(100% - 3px), 36.36% calc(100% - 10px), 34.09% calc(100% - 14px), 31.82% calc(100% - 10px), 29.55% calc(100% - 9px), 27.27% calc(100% - 13px), 25.00% calc(100% - 9px), 22.73% calc(100% - 16px), 20.45% calc(100% - 12px), 18.18% calc(100% - 10px), 15.91% calc(100% - 3px), 13.64% calc(100% - 16px), 11.36% calc(100% - 5px), 9.09% calc(100% - 10px), 6.82% calc(100% - 12px), 4.55% calc(100% - 10px), 2.27% calc(100% - 5px), 0.00% calc(100% - 16px)); --dec: 22px; }
.dechire { position: relative; clip-path: var(--dechire); }
.sous-dechire { margin-top: calc(-1 * var(--dec)); border-top: var(--dec) solid transparent; }
#valeurs.dechire { margin-top: calc(-1 * var(--dec)); }
#valeurs .valeurs { border-top: var(--dec) solid transparent; }
.conseil.dechire { z-index: 10; }
.bande-cta.dechire { z-index: 9; }
#valeurs.dechire { z-index: 8; }
.equipe.dechire { z-index: 7; }
.preuve.dechire { z-index: 6; }

/* --- Moins d'animations ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .accroche .mot { transition: none; }
  .accroche .souligne::after, h1 .souligne::after { animation: none; }
  .defile-piste { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }
  .defile-piste .defile-groupe + .defile-groupe { display: none; }
}

/* --- Accroche : de l'air entre le titre et la phrase ------------------------ */
.accroche h2 { margin-bottom: 20px; }
.accroche p { margin-top: 0; }

/* --- Notre eau, notre avenir : deux visuels de meme format, au-dessus du texte -------- */
.panneau--haut[data-actif] { grid-template-columns: 1fr; gap: 30px; }
.panneau--haut .visuel { grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; }
.panneau--haut .visuel img { width: 100%; max-height: none; aspect-ratio: 4 / 3; object-fit: cover; }
.panneau--haut .visuel img:nth-child(2) { object-position: center 68%; }
.panneau--haut > div:last-child { max-width: 780px; margin: 0 auto; }
@media (max-width: 560px) { .panneau--haut .visuel { grid-template-columns: 1fr; } }

/* --- Nos creations : etiquette jaune centree comme les titres -------------------------- */
.panneau .puce { display: table; margin: 0 auto 12px; }

/* --- Green Days Pro : le film remplace l'affiche -------------------------------------- */
.panneau .visuel .film { width: 100%; margin: 0; }

/* ==========================================================================
   v2 — bouton d'appel flottant (glisse a l'ecran, s'ouvre sur deux numeros)
   ========================================================================== */
.appel-flottant {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
.js .appel-flottant:not(.visible) { transform: translateX(calc(100% + 36px)); opacity: 0; pointer-events: none; }
.appel-bouton {
  width: 62px; height: 62px; border-radius: 50%; border: 3px solid var(--noir);
  background: var(--jaune); color: var(--noir); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 22px rgba(0, 0, 0, .3);
  transition: transform .2s ease;
}
.appel-bouton:hover, .appel-bouton:focus-visible { transform: scale(1.08); outline: none; }
.appel-bouton svg { width: 28px; height: 28px; fill: currentColor; }
.appel-flottant.visible:not(.ouvert) .appel-bouton { animation: sonne 2.4s ease-out 1.2s 3; }
@keyframes sonne { 0% { box-shadow: 0 10px 22px rgba(0,0,0,.3), 0 0 0 0 rgba(255,221,0,.75); } 70%, 100% { box-shadow: 0 10px 22px rgba(0,0,0,.3), 0 0 0 22px rgba(255,221,0,0); } }
.appel-panneau {
  background: var(--noir); color: var(--blanc); padding: 16px 20px; display: grid; gap: 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .3);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(26px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
}
.appel-flottant.ouvert .appel-panneau { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.appel-panneau a { color: var(--jaune); text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.25; white-space: nowrap; }
.appel-panneau a span { display: block; color: var(--blanc); font-family: var(--titre); font-weight: 400; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.appel-panneau a:hover, .appel-panneau a:focus-visible { text-decoration: underline; outline: none; }
@media (prefers-reduced-motion: reduce) {
  .appel-flottant, .appel-panneau, .appel-bouton { transition: none; }
  .appel-flottant.visible:not(.ouvert) .appel-bouton { animation: none; }
}
@media print { .appel-flottant { display: none; } }

/* --- Notre eau, notre avenir : le texte passe au-dessus des visuels ----------------- */
.panneau--haut > div:last-child { order: -1; }

/* --- Operation SGDE : texte en haut, deux supports a la meme hauteur ------------------ */
.panneau--sgde[data-actif] { grid-template-columns: 1fr; gap: 30px; }
.panneau--sgde > div:last-child { order: -1; max-width: 780px; margin: 0 auto; }
.sgde-visuels { display: flex; justify-content: center; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.sgde-visuels figure { margin: 0; text-align: center; max-width: 100%; }
.sgde-visuels img { height: clamp(240px, 34vw, 440px); width: auto; max-width: 100%; max-height: none; margin: 0 auto; }
.sgde-visuels figcaption { margin-top: 10px; font-size: 13px; color: var(--gris-clair); }

/* ==========================================================================
   v2 — optimisation telephone : ronds dans le cadre, textes alignes a gauche
   ========================================================================== */
@media (max-width: 700px) {
  /* Les trois ronds : centres, toujours dans les marges de 24 px */
  .pastilles { width: 100%; justify-content: center; gap: 10px; flex-wrap: nowrap; }
  .pastille { flex: 1 1 0; min-width: 0; width: auto; height: auto; aspect-ratio: 1; max-width: 132px; font-size: clamp(14px, 4.7vw, 19px); gap: 6px; }
  .pastille .chev { font-size: clamp(20px, 6vw, 26px); }

  /* Boite d'accroche : moins de vide, texte a la meme marge que le reste */
  .accroche { max-width: none; padding: 28px 24px 26px; }
  .accroche h2 { font-size: 22px; margin-bottom: 14px; }
  .accroche p { font-size: 19px; min-height: 4.1em; }

  /* Textes sous les visuels : centres sur le meme axe que les ronds et les images */
  .valeur, .trois article, .contenus article { text-align: center; }
  .valeur img, .trois img { margin-left: auto; margin-right: auto; }
  .valeur h3, .trois h3, .contenus h3 { text-align: center; }
  .contenus .barre { margin-left: auto; margin-right: auto; }
  .panneau h3, .panneau .sous, .panneau p, .panneau figcaption { text-align: center; }
  .panneau .puce { margin: 0 auto 12px; }
  .panneau--haut > div:last-child, .panneau--sgde > div:last-child { margin: 0 auto; }
  .sgde-visuels figcaption { text-align: center; }
  .equipe .intro { max-width: none; }

  /* Lisibilite : lignes courtes, interligne un peu plus large */
  .valeur p, .trois p, .contenus p, .accordeon .contenu, .panneau p, .carte p, .equipe .intro, .preuve p { line-height: 1.6; }
  .trois p { max-width: none; }
}

/* --- Pas de defilement lateral : la page ne bouge que de haut en bas ------------------ */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html { overscroll-behavior-x: none; }
img, iframe, video, svg { max-width: 100%; }

/* --- Titres de cartes sur une seule ligne ------------------------------------------- */
.trois h3 { white-space: nowrap; }
.valeur h3 { white-space: nowrap; font-size: clamp(17px, 1.8vw, 24px); }
@media (min-width: 701px) { .carte h3 { font-size: clamp(17px, 1.75vw, 22px); } }
@media (max-width: 400px) { .trois h3 { font-size: 20px; } .valeur h3 { font-size: 19px; } }

/* --- Nos creations : toujours le texte avant la video ou les visuels ------------------ */
.panneau > div:last-child { order: -1; }

/* --- Telephone : « Com For Good Agency, » d'un bloc, le reste en dessous ------------------ */
@media (max-width: 700px) {
  h1.bandeau-jaune { padding: 16px 24px 20px; line-height: 1.5; }
  h1.bandeau-jaune strong { display: block; white-space: nowrap; margin-bottom: 2px; }
}

/* --- Titres de section (Contenus, Conseil, Nos creations...) : tous centres ---------------- */
section .badge { display: table; margin-left: auto; margin-right: auto; text-align: center; }

/* --- Bandeau : illustration ComForGood en superposition sur la photo (TEST) --------------- */
.hero .hero-illus { position: absolute; top: 0; bottom: 0; left: 50%; width: min(100%, var(--max)); transform: translateX(-50%); pointer-events: none; z-index: 1; }
.hi-plante {
  position: absolute; right: 145px; bottom: 150px; height: min(64%, 330px); width: auto;
  transform-origin: 50% 100%; animation: balance 7s ease-in-out infinite alternate;
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 10px 14px rgba(0, 0, 0, .35));
}
@keyframes balance { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
@media (max-width: 900px) { .hi-plante { right: 24px; bottom: 125px; height: min(52%, 200px); } }
@media (prefers-reduced-motion: reduce) { .hi-plante { animation: none; } }
/* --- Illustration du bandeau : tournee vers la gauche (miroir) ------------------------------ */
.hi-plante { scale: -1 1; }

/* --- Illustration du bandeau : posee sur le dernier rond (Event), tournee vers la gauche ----- */
@media (min-width: 901px) { .hi-plante { left: 536px; right: auto; bottom: 108px; translate: -50% 0; } }
@media (min-width: 701px) and (max-width: 900px) { .hi-plante { left: calc(50% + 210px); right: auto; bottom: 106px; translate: -50% 0; height: min(52%, 220px); } }
@media (max-width: 700px) { .hi-plante { left: auto; right: calc(24px + (100% - 68px) / 6); bottom: 66px; translate: 50% 0; height: min(52%, 190px); } }

/* --- TEST 2 : illustration tournee vers la droite, posee sur le premier rond (Conseil) ----------- */
.hi-plante { scale: 1 1; }
@media (min-width: 1101px) { .hi-plante { left: 116px; right: auto; bottom: 108px; translate: -50% 0; } }
@media (min-width: 701px) and (max-width: 1100px) { .hi-plante { left: calc(50% - 210px); right: auto; bottom: 106px; translate: -50% 0; height: min(60%, 220px); } }
@media (max-width: 700px) { .hi-plante { left: calc(24px + (100% - 68px) / 6); right: auto; bottom: 66px; translate: -50% 0; height: min(52%, 190px); } }

/* --- Accueil : une colonne jusqu'a 1100 px (la boite noire n'est plus ecrasee) ------------------- */
@media (max-width: 1100px) {
  .hero-bottom { margin-top: -110px; }
  .hero-bottom .wrap { grid-template-columns: 1fr; }
  .accroche { max-width: none; }
  .pastilles { margin-top: 0; justify-content: center; flex-wrap: wrap; }
}

/* --- Petits ecrans : recalage apres l'elargissement de la colonne unique ------------------- */
@media (max-width: 560px) { .hero-bottom { margin-top: -70px; } }
@media (min-width: 561px) and (max-width: 700px) { .hi-plante { bottom: 106px; } }
/* Entre 465 et 700 px : les ronds sont plafonnes a 132 px et centres, l'illustration suit le premier */
@media (min-width: 465px) and (max-width: 700px) { .hi-plante { left: calc(50% - 142px); } }

/* --- La preuve par l'exemple : seule la feuille reste, le texte occupe la largeur ------------- */
.preuve .grille { grid-template-columns: 1fr; max-width: 860px; margin-left: auto; margin-right: auto; }

/* --- La preuve par l'exemple : bandeau reduit ---------------------------------------------- */
.preuve { padding: 14px 0 26px; }
.preuve .grille { margin-top: 16px; }
.preuve .chapeau { margin-bottom: 8px; }
.liens-gd { margin-top: 14px; }
.feuille { width: 200px; }

/* --- Bande de chiffres : chiffres plus epais (la police brush est trop fine sur les chiffres) --- */
.chiffres strong { -webkit-text-stroke: .5px currentColor; paint-order: stroke fill; }
.chiffres strong .num { -webkit-text-stroke: 1.1px currentColor; }
@media (max-width: 700px) {
  .chiffres strong { font-size: clamp(28px, 8vw, 34px); }
  .chiffres strong .num { -webkit-text-stroke: 1.2px currentColor; }
}

/* --- Cayenne Ville Propre : texte en haut, flyer A5 (4 pages) a la meme hauteur ---------------- */
.panneau--supports[data-actif] { grid-template-columns: 1fr; gap: 30px; }
.panneau--supports > div:last-child { order: -1; max-width: 780px; margin: 0 auto; }
.supports-visuels { margin: 0; text-align: center; }
.supports-rang { display: flex; justify-content: center; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.supports-rang img { height: clamp(220px, 27vw, 380px); width: auto; max-width: 100%; max-height: none; }
.supports-visuels figcaption { margin-top: 12px; font-size: 13px; color: var(--gris-clair); }
@media (max-width: 700px) {
  .supports-rang { gap: 12px; }
  .supports-rang img { width: calc(50% - 6px); height: auto; }
}

/* --- Nos creations : une seule rangee d'onglets, a faire glisser du doigt --------------------- */
.onglets {
  flex-wrap: nowrap; justify-content: flex-start; gap: 8px;
  overflow-x: auto; overflow-y: hidden; margin-left: -24px; margin-right: -24px; padding: 0 24px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
}
.onglets::-webkit-scrollbar { display: none; }
.onglets::before, .onglets::after { content: ""; margin: auto; }
.onglets button { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: center; }
