/* ==========================================================================
   Styles des widgets de sections : bandeau de logos, présentation
   (les prochains widgets de sections s'ajouteront ici)
   ========================================================================== */

/* --- Bandeau de logos ------------------------------------------------------ */

.ag-logos {
  padding: 28px 0;
  border-bottom: 1px solid var(--ag-trait);
  background: var(--ag-nuit);
  font-family: var(--ag-police-texte);
}
.ag-logos__interieur { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 48px; }
.ag-logos__libelle { margin: 0; font-size: 14px; font-weight: 600; color: var(--ag-doux); }
.ag-logos__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.ag-logos__liste li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ag-doux);
  transition: color 0.3s var(--ag-ease);
}
.ag-logos__liste li:hover { color: var(--ag-texte); }
.ag-logos__liste img { width: 22px; height: 22px; opacity: 0.85; }

/* --- Présentation ------------------------------------------------------------ */

.ag-presentation__grille {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* Cadre rond. Le voile (::after) adoucit le bleu et la photo pour qu'ils
   n'éblouissent pas sur le fond sombre, et fond les bords dans la section. */
.ag-presentation__panneau {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(160deg, #4F98FF 0%, var(--ag-bleu) 45%, #1F5FCC 100%);
  clip-path: inset(0 round 50%);
}
.ag-presentation__panneau::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(12, 22, 41, 0) 45%, rgba(12, 22, 41, 0.5) 100%),
    rgba(12, 22, 41, 0.2);
  pointer-events: none;
}
.ag-presentation__lettre {
  position: absolute;
  inset: auto 0 -6% 0;
  text-align: center;
  font-family: var(--ag-police-titre);
  font-weight: 800;
  font-size: clamp(260px, 34vw, 520px);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.ag-presentation__panneau img {
  position: absolute;
  top: 12%;
  left: 50%;
  /* Dans la photo, le visage est à 44 % de la largeur (les épaules à 50 %) :
     on centre le rond sur le visage, avec un léger compromis pour les épaules. */
  translate: -45% 0;
  height: 118%;
  width: auto;
  max-width: none;
  /* Filtre doux : moins de lumière, de contraste et de saturation, et un très
     léger flou qui lisse la peau sans rendre la photo floue. */
  filter: brightness(0.9) contrast(0.88) saturate(0.85) blur(0.35px);
}

.ag-presentation__titre { margin-bottom: 28px; }
.ag-presentation__salut {
  margin: 0 0 14px;
  font-family: var(--ag-police-titre);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ag-texte);
}
.ag-presentation__salut em { font-style: normal; color: var(--ag-accent); }

.ag-presentation__eclaire {
  margin: 0 0 36px;
  max-width: 52ch;
  font-family: var(--ag-police-texte);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(234, 241, 255, 0.88);
}
.ag-presentation__eclaire strong { font-weight: 800; color: var(--ag-accent); }
.ag-presentation__car { opacity: 0.18; }

/* Points forts : 3 colonnes, un trait bleu au-dessus de chacun */
.ag-presentation__engagements {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.ag-presentation__engagements li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 18px;
  border-top: 2px solid rgba(61, 139, 255, 0.4);
}
.ag-presentation__icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(61, 139, 255, 0.16);
  color: var(--ag-accent);
  font-size: 20px;
}
.ag-presentation__icone svg { width: 20px; height: 20px; fill: var(--ag-accent); }
.ag-presentation__engagements strong { display: block; margin-bottom: 4px; font-family: var(--ag-police-titre); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ag-texte); }
.ag-presentation__engagements span:not(.ag-presentation__icone) { display: block; font-size: 15px; line-height: 1.45; color: var(--ag-doux); }

@media (max-width: 1023px) {
  .ag-presentation__engagements { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ag-presentation__engagements li { flex-direction: row; align-items: center; padding-top: 0; border-top: 0; }
}

/* --- Offres : cartes à bordure lumineuse --------------------------------------- */

.ag-offres { background: var(--ag-nuit); }
.ag-offres__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ag-offres__grille--bento { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
.ag-offres__grille--bento > :first-child { grid-row: 1 / 3; }

.ag-carte-lumiere {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: 1px;
  overflow: hidden;
  border-radius: var(--ag-rayon);
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(142, 193, 255, 0.55), transparent 45%),
    var(--ag-trait);
}
.ag-carte-lumiere__contenu {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: calc(var(--ag-rayon) - 1px);
  background:
    radial-gradient(500px circle at var(--mx) var(--my), rgba(61, 139, 255, 0.10), transparent 50%),
    var(--ag-carte);
}
.ag-carte-lumiere__contenu--degrade {
  background:
    radial-gradient(500px circle at var(--mx) var(--my), rgba(61, 139, 255, 0.12), transparent 50%),
    linear-gradient(160deg, #13284D 0%, var(--ag-carte) 60%);
}
.ag-carte-lumiere__contenu--motif {
  background:
    radial-gradient(500px circle at var(--mx) var(--my), rgba(61, 139, 255, 0.10), transparent 50%),
    radial-gradient(rgba(142, 193, 255, 0.10) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--ag-carte);
}
.ag-offres__grille--bento > :first-child .ag-carte-lumiere__contenu { min-height: 460px; }
.ag-offres__grille--bento > :first-child h3 { font-size: clamp(26px, 3vw, 40px); }
.ag-offres__grille--bento > :first-child .ag-carte-lumiere__contenu > p { font-size: 18px; }

.ag-carte-lumiere__icone {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: rgba(61, 139, 255, 0.16);
  color: var(--ag-bleu-pale);
  font-size: 26px;
}
.ag-carte-lumiere__icone svg { width: 26px; height: 26px; fill: var(--ag-bleu-pale); }
.ag-carte-lumiere h3 {
  margin: 0 0 12px;
  font-family: var(--ag-police-titre);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ag-texte);
}
.ag-carte-lumiere__contenu > p { margin: 0; max-width: 42ch; color: var(--ag-doux); }

.ag-carte-lumiere__filigrane {
  position: absolute;
  right: -30px;
  bottom: -50px;
  font-size: 300px;
  line-height: 1;
  color: var(--ag-accent);
  opacity: 0.16;
  rotate: -10deg;
  pointer-events: none;
  transition: rotate 0.6s var(--ag-ease), opacity 0.6s var(--ag-ease);
}
.ag-carte-lumiere:hover .ag-carte-lumiere__filigrane { rotate: -4deg; opacity: 0.24; }

.ag-puces { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ag-puces li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--ag-trait);
  font-size: 14px;
  font-weight: 600;
  color: var(--ag-texte);
}

/* Conversation d'exemple */
.ag-bulles { position: relative; display: grid; gap: 8px; margin-top: 24px; }
.ag-bulles__note {
  position: absolute;
  top: -18px;
  right: 0;
  font-family: var(--ag-police-texte);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ag-doux);
}
.ag-bulle { max-width: 85%; margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; color: var(--ag-texte); }
.ag-bulle--client { justify-self: end; background: rgba(157, 176, 207, 0.14); border-bottom-right-radius: 4px; }
.ag-bulle--ia { justify-self: start; background: rgba(61, 139, 255, 0.22); border-bottom-left-radius: 4px; }
.ag-bulle--ia i { margin-right: 6px; color: var(--ag-accent); }
.ag-js .ag-bulles > [data-apparition] { transition-delay: calc(var(--ag-rang, 0) * 500ms + 300ms); }

.ag-carte-lumiere__contenu > .ag-carte-lumiere__detail { margin-top: 16px; max-width: 46ch; font-size: 16px; color: var(--ag-texte); }

/* Carte pleine largeur */
.ag-carte-lumiere--large { grid-column: 1 / -1; }

/* --- Carte avec démo : un site qui convertit, en 3 onglets ----------------------- */

.ag-carte-lumiere--demo .ag-carte-lumiere__contenu { display: flex; flex-direction: column; }
.ag-offres__grille--bento > .ag-carte-lumiere--demo:first-child .ag-carte-lumiere__contenu { min-height: 0; }
.ag-demo { margin-top: auto; padding-top: 28px; }
.ag-demo__onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ag-demo__onglets button {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: rgba(61, 139, 255, 0.14);
  color: var(--ag-bleu-pale);
  font: 700 14px/1.2 var(--ag-police-texte);
  cursor: pointer;
  transition: background-color 0.3s var(--ag-ease), color 0.3s var(--ag-ease);
}
.ag-demo__onglets button:hover,
.ag-demo__onglets button:focus { background: rgba(61, 139, 255, 0.26); color: var(--ag-bleu-pale); }
.ag-demo__onglets button[aria-pressed="true"] { background: var(--ag-action); color: #fff; }

.ag-demo__fenetre {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: #0A1427;
  border: 1px solid rgba(142, 193, 255, 0.22);
  color: var(--ag-texte);
}
.ag-demo__barre { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #10203D; }
.ag-demo__barre span { width: 8px; height: 8px; border-radius: 50%; background: rgba(169, 203, 255, 0.45); }
.ag-demo__barre em { margin: 0 auto; padding: 2px 14px; border-radius: 999px; background: #0A1427; font-style: normal; font-size: 11px; color: var(--ag-doux); }

.ag-demo__vue {
  position: absolute;
  inset: 30px 0 0;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ag-ease), transform 0.4s var(--ag-ease);
  pointer-events: none;
}
.ag-demo__vue.is-actif { opacity: 1; transform: none; }
.ag-demo__vue p { margin: 0; }
.ag-demo__titre { display: flex; align-items: center; gap: 8px; width: 100%; font-family: var(--ag-police-titre); font-weight: 700; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.15; }
.ag-demo__titre i { margin-left: auto; color: var(--ag-accent); }
.ag-demo__texte { font-size: 13px; color: var(--ag-doux); }
.ag-demo__btn {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ag-action);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.ag-demo__btn.is-clic { transform: scale(0.9); background: var(--ag-action-2); }
.ag-demo__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: auto; }
.ag-demo__photos span { aspect-ratio: 4 / 3; border-radius: 8px; background: #1F4E99; }
.ag-demo__photos span:nth-child(2) { background: #2F6FDB; }
.ag-demo__photos span:nth-child(3) { background: #13284D; }
.ag-demo__produits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.ag-demo__produits > div { display: flex; flex-direction: column; gap: 3px; padding: 8px; border-radius: 10px; background: #13284D; font-size: 11px; }
.ag-demo__produits b { font-size: 12px; }
.ag-demo__produits small { color: var(--ag-doux); }
.ag-demo__produits .ag-demo__btn { margin-top: 4px; padding: 4px 10px; font-size: 11px; align-self: flex-start; }
.ag-demo__image { aspect-ratio: 16 / 10; margin-bottom: 4px; border-radius: 6px; background: #2F6FDB; }
.ag-demo__produits > div:nth-child(2) .ag-demo__image { background: #8EC1FF; }
.ag-demo__produits > div:nth-child(3) .ag-demo__image { background: #1F4E99; }
.ag-demo__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--ag-doux); }
.ag-demo__points li::before { content: "✓ "; color: var(--ag-accent); font-weight: 800; }

.ag-demo__curseur {
  position: absolute;
  z-index: 2;
  left: 92%;
  top: 92%;
  width: 22px;
  height: 22px;
  pointer-events: none;
  transition: left 1s cubic-bezier(0.65, 0, 0.35, 1), top 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.ag-demo__curseur svg { display: block; width: 100%; height: 100%; fill: #fff; stroke: #0A1427; stroke-width: 1.5; }
.ag-demo__notif {
  position: absolute;
  z-index: 3;
  right: 12px;
  top: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border-radius: 12px;
  background: #EAF1FF;
  color: var(--ag-nuit);
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.35s var(--ag-ease), transform 0.35s var(--ag-ease);
}
.ag-demo__notif.is-montre { opacity: 1; transform: none; }
.ag-demo__notif i { font-size: 20px; color: var(--ag-action); }
.ag-demo__notif b { display: block; font-size: 13px; }
.ag-demo__notif small { display: block; font-size: 12px; font-weight: 600; color: #3B4F70; }

/* --- Carte avec scène 3D (Three.js, voir scene-3d.js) ---------------------------- */

.ag-carte-lumiere--3d .ag-carte-lumiere__contenu {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 24px;
}
.ag-carte-lumiere--3d .ag-carte-lumiere__contenu--degrade {
  background:
    radial-gradient(500px circle at var(--mx) var(--my), rgba(61, 139, 255, 0.12), transparent 50%),
    linear-gradient(200deg, #13284D 0%, var(--ag-carte) 65%);
}
.ag-carte-lumiere__texte > p { margin: 0; max-width: 42ch; color: var(--ag-doux); }
.ag-scene-3d {
  position: relative;
  height: 400px;
  margin: -24px -24px -24px 0;
  perspective: 900px;
}
.ag-scene-3d__sol {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -10px;
  height: 70%;
  background:
    linear-gradient(rgba(142, 193, 255, 0.22) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(142, 193, 255, 0.22) 1px, transparent 1px) 0 0 / 36px 36px;
  transform: rotateX(72deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 100%, #000 20%, transparent 70%);
}
.ag-scene-3d__toile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.8s var(--ag-ease);
}
.ag-scene-3d__toile:active { cursor: grabbing; }
.ag-scene-3d.is-pret .ag-scene-3d__toile { opacity: 1; }
.ag-scene-3d.is-pret .ag-scene-3d__repli { display: none; }
.ag-scene-3d__indice {
  position: absolute;
  left: 50%;
  bottom: 6px;
  translate: -50% 0;
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(7, 13, 26, 0.7);
  color: var(--ag-texte);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  transition: opacity 0.4s var(--ag-ease);
}
.ag-scene-3d__indice i { color: var(--ag-accent); font-size: 16px; }
.ag-scene-3d.is-pret .ag-scene-3d__indice { display: inline-flex; }
.ag-scene-3d.is-touche .ag-scene-3d__indice { opacity: 0; }

/* Version de secours sans WebGL : les couches d'un site, en CSS */
.ag-scene-3d__repli { position: absolute; inset: 12% 14%; transform-style: preserve-3d; transform: rotateX(18deg) rotateY(-28deg); }
.ag-scene-3d__repli span { position: absolute; border-radius: 12px; border: 1px solid rgba(142, 193, 255, 0.5); }
.ag-scene-3d__repli span:nth-child(1) { inset: 0; background: var(--ag-nuit); }
.ag-scene-3d__repli span:nth-child(2) { inset: 12% 8% 48% 8%; background: #13284D; transform: translateZ(40px); }
.ag-scene-3d__repli span:nth-child(3) { inset: 58% 8% 10% 50%; background: var(--ag-action); transform: translateZ(80px); }

/* --- Liste de services (suivi) --------------------------------------------------- */

.ag-suivi { background: var(--ag-nuit); }
.ag-suivi__grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }

/* Titre en pleine largeur, texte et bouton dessous, côte à côte */
.ag-suivi__tete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 48px;
  align-items: end;
}
.ag-suivi__tete .ag-titre-section { grid-column: 1 / -1; max-width: none; margin-bottom: 0; }
.ag-suivi__tete p { max-width: 40ch; margin: 0; font-size: 17px; color: var(--ag-doux); }
.ag-suivi__tete .ag-bouton { justify-self: start; }

/* Chaque service dans sa case, toutes de la même hauteur */
.ag-suivi__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}
.ag-suivi__liste li {
  height: 100%;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--ag-rayon);
  background: var(--ag-carte);
  border: 1px solid var(--ag-trait);
  transition: translate 0.4s var(--ag-ease), border-color 0.4s var(--ag-ease), opacity 0.8s var(--ag-ease), transform 0.8s var(--ag-ease);
}
.ag-suivi__liste li > * { min-width: 0; }
.ag-suivi__liste li:hover { translate: 0 -4px; border-color: rgba(61, 139, 255, 0.45); }
.ag-suivi__icone {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(61, 139, 255, 0.16);
  color: var(--ag-accent);
  font-size: 20px;
  transition: transform 0.4s var(--ag-ease);
}
.ag-suivi__icone svg { width: 20px; height: 20px; fill: var(--ag-accent); }
.ag-suivi__liste li:hover .ag-suivi__icone { transform: translateY(-3px) rotate(-6deg); }
.ag-suivi__liste h3 {
  margin: 0 0 4px;
  font-family: var(--ag-police-titre);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ag-texte);
}
.ag-suivi__liste p { margin: 0; font-size: 15px; color: var(--ag-doux); }

@media (max-width: 1023px) {
  .ag-suivi__tete { grid-template-columns: minmax(0, 1fr); }
  .ag-suivi__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Réalisations (défilement horizontal) --------------------------------------- */

.ag-realisations { overflow: hidden; background: var(--ag-nuit-2); font-family: var(--ag-police-texte); }

.ag-realisations__piste {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  height: 100svh;
  min-height: 640px;
  padding: 72px var(--ag-marge) 72px max(var(--ag-marge), calc((100vw - 1240px) / 2)); /* contenu centré dans l'écran épinglé */
}

.ag-realisations__intro { flex: 0 0 min(420px, 80vw); padding-right: 40px; }
.ag-realisations__intro .ag-titre-section { margin-bottom: 20px; }
.ag-realisations__intro p { margin: 0; font-size: 17px; color: var(--ag-doux); }

a.ag-projet, div.ag-projet {
  flex: 0 0 min(620px, 78vw);
  border-radius: var(--ag-rayon);
  text-decoration: none;
  color: var(--ag-texte);
}
a.ag-projet:focus-visible { outline: 2px solid var(--ag-accent); outline-offset: 6px; }
.ag-projet__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--ag-rayon);
  border: 1px solid var(--ag-trait);
  background: var(--ag-carte);
}
.ag-projet__image img,
.ag-projet__attente {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ag-ease);
}
a.ag-projet:hover .ag-projet__image img,
a.ag-projet:hover .ag-projet__attente { transform: scale(1.04); }
.ag-projet__attente {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  font-family: var(--ag-police-mono);
  font-size: 13px;
  color: var(--ag-doux);
  background:
    radial-gradient(circle at 30% 20%, rgba(61, 139, 255, 0.18), transparent 55%),
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(157, 176, 207, 0.05) 16px 17px),
    var(--ag-carte);
}
.ag-projet__attente i { font-size: 30px; }

.ag-projet__legende { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px 0; }
.ag-projet__legende h3 {
  margin: 0;
  font-family: var(--ag-police-titre);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ag-texte);
}
.ag-projet__legende p { margin: 4px 0 0; color: var(--ag-doux); }
.ag-projet__fleche {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--ag-trait);
  font-size: 18px;
  transition: background-color 0.3s var(--ag-ease), color 0.3s var(--ag-ease), border-color 0.3s var(--ag-ease), rotate 0.4s var(--ag-ease);
}
a.ag-projet:hover .ag-projet__fleche { background: var(--ag-action); color: #fff; border-color: var(--ag-action); rotate: 45deg; }

.ag-etiquettes { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ag-etiquettes li {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ag-accent);
  background: rgba(61, 139, 255, 0.12);
}

a.ag-realisations__fin,
a.ag-realisations__fin:visited {
  flex: 0 0 min(360px, 70vw);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4F98FF, var(--ag-action) 70%);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: var(--ag-police-titre);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  transition: rotate 0.6s var(--ag-ease);
}
a.ag-realisations__fin:hover { rotate: -6deg; color: #fff; }
a.ag-realisations__fin:focus-visible { outline: 2px solid var(--ag-accent); outline-offset: 6px; }
.ag-realisations__fin-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ag-police-texte); font-size: 16px; font-weight: 700; }
.ag-realisations__fin-cta i { font-size: 18px; transition: translate 0.4s var(--ag-ease); }
a.ag-realisations__fin:hover .ag-realisations__fin-cta i { translate: 8px 0; }

/* Sans épinglage (éditeur, mouvement réduit) : glissement horizontal simple */
.ag-realisations.is-statique .ag-realisations__piste {
  width: auto;
  height: auto;
  min-height: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--ag-marge), calc((100vw - 1240px) / 2));
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}
.ag-realisations.is-statique .ag-realisations__piste > * { scroll-snap-align: start; }

/* --- Étapes (compteur épinglé) ---------------------------------------------------- */

.ag-etapes { background: var(--ag-nuit); font-family: var(--ag-police-texte); }
.ag-etapes__scene { min-height: 100svh; display: flex; align-items: center; padding: 72px 0; } /* contenu centré dans l'écran épinglé */
.ag-etapes__grille {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.ag-etapes__compteur { display: flex; align-items: flex-start; font-family: var(--ag-police-titre); font-weight: 800; line-height: 1; }
.ag-etapes__piste {
  display: flex;
  flex-direction: column;
  height: 1em;
  overflow: hidden;
  font-size: clamp(140px, 17vw, 240px);
  letter-spacing: -0.05em;
  color: var(--ag-accent);
}
.ag-etapes__piste span { display: block; height: 1em; line-height: 1; transition: transform 0.7s var(--ag-ease); }
.ag-etapes__total { margin: 0.4em 0 0 6px; font-size: clamp(28px, 3vw, 44px); color: var(--ag-doux); }
.ag-etapes__barre { max-width: 360px; height: 3px; margin-top: 28px; overflow: hidden; border-radius: 3px; background: var(--ag-trait); }
.ag-etapes__barre span {
  display: block;
  height: 100%;
  background: var(--ag-accent);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.6s var(--ag-ease);
}

.ag-etapes__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ag-etape {
  padding: 22px 26px;
  border-radius: var(--ag-rayon);
  border: 1px solid var(--ag-trait);
  opacity: 0.5;
  transition: opacity 0.5s var(--ag-ease), background-color 0.5s var(--ag-ease), border-color 0.5s var(--ag-ease), transform 0.5s var(--ag-ease);
}
.ag-etape h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--ag-police-titre);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ag-texte);
}
.ag-etape h3 i { font-size: 22px; color: var(--ag-accent); }
.ag-etape h3 svg { width: 22px; height: 22px; fill: var(--ag-accent); }
.ag-etape p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--ag-doux);
  transition: max-height 0.6s var(--ag-ease), opacity 0.4s var(--ag-ease), margin 0.6s var(--ag-ease);
}
.ag-etape__recu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-height: 0;
  margin-top: 0;
  padding: 0 12px;
  overflow: hidden;
  opacity: 0;
  border-radius: 999px;
  background: rgba(61, 139, 255, 0.14);
  font-size: 14px;
  font-weight: 700;
  color: var(--ag-accent);
  transition: max-height 0.6s var(--ag-ease), opacity 0.4s var(--ag-ease), margin 0.6s var(--ag-ease), padding 0.6s var(--ag-ease);
}
.ag-etape.is-active { opacity: 1; background: var(--ag-carte); border-color: rgba(142, 193, 255, 0.45); transform: translateX(-8px); }
.ag-etape.is-active p { max-height: 8em; opacity: 1; margin-top: 10px; }
.ag-etape.is-active .ag-etape__recu { max-height: 3em; opacity: 1; margin-top: 14px; padding: 6px 12px; }
.ag-etape.is-vue { opacity: 0.6; }

/* Sans épinglage : toutes les étapes ouvertes, sans compteur */
.ag-etapes.is-statique .ag-etapes__scene { min-height: 0; padding: clamp(64px, 9vw, 112px) 0; }
.ag-etapes.is-statique .ag-etapes__compteur,
.ag-etapes.is-statique .ag-etapes__barre { display: none; }
.ag-etapes.is-statique .ag-etape { opacity: 1; background: var(--ag-carte); transform: none; }
.ag-etapes.is-statique .ag-etape p { max-height: none; opacity: 1; margin-top: 10px; }
.ag-etapes.is-statique .ag-etape__recu { max-height: none; opacity: 1; margin-top: 12px; padding: 6px 12px; }

/* --- FAQ ---------------------------------------------------------------------- */

/* Titre et texte à gauche, qui restent visibles ; questions compactes à droite */
.ag-faq__grille {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.ag-faq__tete { position: sticky; top: 104px; }
.ag-faq__tete .ag-titre-section { margin-bottom: 20px; }
.ag-faq__tete p { max-width: 32ch; margin: 0; font-size: 17px; color: var(--ag-doux); }
.ag-faq__tete a { color: var(--ag-accent); font-weight: 700; }

.ag-faq__liste { display: grid; gap: 8px; }
.ag-faq__liste:not(.is-tout) .ag-question--en-plus { display: none; }

.ag-question {
  border-radius: var(--ag-rayon);
  border: 1px solid var(--ag-trait);
  background: var(--ag-carte);
  transition: border-color 0.3s var(--ag-ease);
}
.ag-question[open] { border-color: rgba(61, 139, 255, 0.55); }
.ag-question summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  list-style: none;
  cursor: pointer;
  font-family: var(--ag-police-titre);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 600;
  color: var(--ag-texte);
}
.ag-question summary::-webkit-details-marker { display: none; }
.ag-question summary:focus-visible { outline: 2px solid var(--ag-accent); outline-offset: 4px; border-radius: var(--ag-rayon); }
.ag-question__texte { flex: 1; }
.ag-question summary:hover .ag-question__texte { color: var(--ag-bleu-pale); }
.ag-question summary i {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(61, 139, 255, 0.16);
  color: var(--ag-bleu-pale);
  font-size: 14px;
  transition: rotate 0.4s var(--ag-ease), background-color 0.3s var(--ag-ease), color 0.3s var(--ag-ease);
}
.ag-question[open] summary i { rotate: 135deg; background: var(--ag-action); color: #fff; }
.ag-question__reponse { overflow: hidden; }
.ag-question__reponse p { max-width: 70ch; margin: 0; padding: 0 18px 18px; font-size: 16px; color: var(--ag-doux); }

/* Bouton « Voir les autres questions » : bouton fantôme */
button.ag-faq__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(157, 176, 207, 0.32);
  color: var(--ag-texte);
  font: 700 15px/1.2 var(--ag-police-texte);
  cursor: pointer;
  transition: box-shadow 0.3s var(--ag-ease), color 0.3s var(--ag-ease);
}
button.ag-faq__plus:hover,
button.ag-faq__plus:focus { background: transparent; color: var(--ag-bleu-pale); box-shadow: inset 0 0 0 1.5px var(--ag-bleu); }
button.ag-faq__plus:focus-visible { outline: 2px solid var(--ag-accent); outline-offset: 3px; }
.ag-faq__plus i { transition: rotate 0.4s var(--ag-ease); }
.ag-faq__plus[aria-expanded="true"] i { rotate: 180deg; }

/* --- Contact (bloc bleu + formulaire Formidable) ------------------------------- */

.ag-contact { background: var(--ag-nuit); }
.ag-contact__bloc {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 72px);
  border-radius: 28px;
  border: 1px solid rgba(142, 193, 255, 0.35);
  background:
    radial-gradient(700px circle at 100% 0%, rgba(142, 193, 255, 0.28), transparent 60%),
    linear-gradient(135deg, #0F2A62 0%, #17428F 55%, #1D4FA6 100%);
  color: #fff;
}
.ag-contact__tete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.ag-contact__tete h2 {
  margin: 0;
  font-family: var(--ag-police-titre);
  font-size: clamp(38px, 6.4vw, 92px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}
.ag-contact__tete p { margin: 0; font-size: 18px; font-weight: 600; color: #fff; }
.ag-contact__garanties { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 40ch; }
.ag-contact__garanties li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.45; color: #fff; }
.ag-contact__garanties i { flex: none; margin-top: 3px; font-size: 16px; }
.ag-contact__garanties strong { font-weight: 800; }
.ag-contact__grille { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ag-contact h3 {
  margin: 0 0 20px;
  font-family: var(--ag-police-titre);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}

/* Formidable Forms : ses styles sont désactivés, on l'habille ici */
.ag-contact .frm_forms fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ag-contact .frm_screen_reader,
.ag-contact .frm_none_container > .frm_primary_label,
.ag-contact .frm_verify,
.ag-contact .frm_hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ag-contact .frm_fields_container { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ag-contact .frm_form_field { grid-column: 1 / -1; display: grid; gap: 8px; align-content: start; min-width: 0; }
.ag-contact .frm_form_field.frm_half { grid-column: span 1; }
.ag-contact .frm_primary_label { font-size: 15px; font-weight: 700; color: #fff; }
.ag-contact .frm_required { display: none; }
.ag-contact .frm_form_field input[type="text"],
.ag-contact .frm_form_field input[type="email"],
.ag-contact .frm_form_field input[type="tel"],
.ag-contact .frm_form_field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  background: rgba(7, 13, 26, 0.28);
  color: #fff;
  font-family: var(--ag-police-texte);
  font-size: 16px;
  font-weight: 500;
  box-shadow: none;
  transition: border-color 0.2s var(--ag-ease), background-color 0.2s var(--ag-ease);
}
.ag-contact .frm_form_field textarea { min-height: 130px; resize: vertical; }
.ag-contact .frm_form_field input:focus,
.ag-contact .frm_form_field textarea:focus {
  outline: none;
  border-color: var(--ag-accent);
  background: rgba(7, 13, 26, 0.45);
  box-shadow: 0 0 0 3px rgba(142, 193, 255, 0.3);
}

/* Type de projet : boutons pilules */
.ag-contact .frm_radio { display: inline-flex; }
.ag-contact .frm_form_field .frm_opt_container { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-contact .frm_radio label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ag-ease), color 0.2s var(--ag-ease), border-color 0.2s var(--ag-ease);
}
.ag-contact .frm_radio input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ag-contact .frm_radio label:hover { border-color: #fff; }
.ag-contact .frm_radio label:has(input:checked) { background: #F4F8FF; border-color: #F4F8FF; color: var(--ag-nuit); }
.ag-contact .frm_radio label:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }

/* Consentement */
/* Libellé en bloc et case positionnée à gauche : le texte et le lien restent sur la même ligne */
.ag-contact .frm_checkbox label { position: relative; display: block; padding-left: 34px; font-size: 15px; font-weight: 500; line-height: 1.45; color: #fff; cursor: pointer; }
.ag-contact .frm_checkbox input { position: absolute; top: 1px; left: 0; width: 22px; height: 22px; margin: 0; accent-color: var(--ag-accent); cursor: pointer; }
.ag-contact .frm_checkbox a { font-weight: 700; color: #fff; text-decoration: underline; }

/* Mention d'information RGPD sous le formulaire (champ HTML de Formidable) */
.ag-contact .frm_html_container { font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.ag-contact .frm_html_container p { margin: 0; }
.ag-contact .frm_html_container a { font-weight: 700; color: #fff; text-decoration: underline; }

/* Erreurs et messages */
.ag-contact .frm_error,
.ag-contact .frm_error_style { font-size: 14px; font-weight: 700; color: #FFD3CC; }
.ag-contact .frm_error_style { margin-bottom: 16px; }
.ag-contact .frm_blank_field input,
.ag-contact .frm_blank_field textarea,
.ag-contact .frm_blank_field .frm_radio label { border-color: #FFD3CC; }
.ag-contact .frm_message {
  display: flex;
  gap: 14px;
  padding: 24px;
  border-radius: var(--ag-rayon);
  background: var(--ag-nuit);
  font-size: 18px;
  font-weight: 600;
  color: var(--ag-texte);
}
.ag-contact .frm_message p { margin: 0; }

/* Bouton d'envoi : blanc */
.ag-contact .frm_submit { margin-top: 4px; }
.ag-contact .frm_button_submit,
.ag-contact .frm_button_submit:hover,
.ag-contact .frm_button_submit:focus {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #F4F8FF;
  color: var(--ag-nuit);
  font-family: var(--ag-police-texte);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.ag-contact .frm_button_submit:hover { background: #fff; }
.ag-contact .frm_button_submit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Carte « Réserver un appel » */
.ag-contact__appel { padding: 32px; border-radius: var(--ag-rayon); background: var(--ag-nuit); color: var(--ag-texte); }
.ag-contact__appel-icone { display: block; margin-bottom: 20px; font-size: 34px; color: var(--ag-accent); }
.ag-contact__appel h3 { margin-bottom: 10px; }
.ag-contact__appel p { margin: 0 0 26px; color: var(--ag-doux); }
.ag-contact__appel .ag-bouton { white-space: normal; text-align: center; }

/* --- Pied de page ----------------------------------------------------------------- */

.ag-pied { padding: 40px 0 32px; overflow: hidden; background: var(--ag-nuit); font-family: var(--ag-police-texte); color: var(--ag-doux); }
.ag-pied__geant {
  margin: 0 0 32px;
  white-space: nowrap;
  font-family: var(--ag-police-titre);
  font-size: clamp(80px, 21vw, 300px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(61, 139, 255, 0.35);
}
.ag-pied__colonnes {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--ag-trait);
  font-size: 15px;
}
.ag-pied__titre { margin: 0 0 14px; font-family: var(--ag-police-titre); font-size: 14px; font-weight: 600; color: var(--ag-texte); }
.ag-pied__colonnes p:not(.ag-pied__titre) { max-width: 34ch; margin: 0; }
.ag-pied ul { list-style: none; margin: 0; padding: 0; }
.ag-pied a,
.ag-pied a:visited { color: var(--ag-doux); text-decoration: none; }
.ag-pied li a { display: inline-flex; align-items: center; min-height: 44px; }
.ag-pied a:hover { color: var(--ag-accent); }
a.ag-pied__haut,
a.ag-pied__haut:visited {
  align-self: start;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--ag-trait);
  font-size: 20px;
  color: var(--ag-texte);
  transition: background-color 0.3s var(--ag-ease), border-color 0.3s var(--ag-ease), translate 0.3s var(--ag-ease);
}
a.ag-pied__haut:hover { background: var(--ag-action); border-color: var(--ag-action); color: #fff; translate: 0 -4px; }
.ag-pied__bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ag-trait);
  font-size: 15px;
}
.ag-pied__bas p { margin: 0; }
a.ag-pied__marque,
a.ag-pied__marque:visited { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--ag-police-titre); font-size: 15px; font-weight: 700; color: var(--ag-texte); }
.ag-pied__marque img { width: 40px; height: auto; }
.ag-pied__marque b { margin-left: 4px; color: var(--ag-bleu); }
.ag-pied__bas nav { margin-left: auto; }
.ag-pied__bas nav ul { display: flex; gap: 20px; }

/* --- Tablette ------------------------------------------------------------------ */

/* La carte « Réserver un appel » passe sous le formulaire : à côté, elle l'écrasait
   (champ Email réduit à quelques pixels en 768 px). */
@media (max-width: 1023px) {
  .ag-contact__grille { grid-template-columns: minmax(0, 1fr); }
}

/* --- Mobile -------------------------------------------------------------------- */

@media (max-width: 767px) {
  .ag-logos__interieur { gap: 16px; }
  .ag-logos__liste { gap: 14px 24px; }
  .ag-presentation__grille { grid-template-columns: 1fr; }
  .ag-presentation__panneau { max-width: 240px; margin-inline: 0; }

  .ag-offres__grille,
  .ag-offres__grille--bento { grid-template-columns: 1fr; }
  .ag-offres__grille--bento > :first-child { grid-row: auto; }
  .ag-offres__grille--bento > :first-child .ag-carte-lumiere__contenu { min-height: 0; }
  .ag-carte-lumiere__filigrane { display: none; }
  .ag-carte-lumiere--3d .ag-carte-lumiere__contenu { grid-template-columns: 1fr; gap: 8px; }
  .ag-scene-3d { height: 300px; margin: 0 -12px; }
  .ag-demo__fenetre { aspect-ratio: 4 / 3.4; }
  .ag-demo__vue { padding: 14px; }
  .ag-demo__notif { top: auto; right: 8px; bottom: 8px; left: 8px; }

  .ag-suivi__liste { grid-auto-rows: auto; gap: 10px; }
  .ag-suivi__liste li { padding: 16px 14px; }
  .ag-suivi__liste h3 { font-size: 15px; }
  .ag-suivi__liste p { font-size: 14px; }
  .ag-suivi__icone { width: 34px; height: 34px; margin-bottom: 10px; font-size: 18px; }

  .ag-question summary { gap: 12px; padding: 14px 16px; }
  .ag-question__reponse p { padding-left: 16px; padding-right: 16px; }
  .ag-faq__grille { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ag-faq__tete { position: static; }
  button.ag-faq__plus { width: 100%; }

  .ag-contact__bloc { border-radius: 24px; }
  .ag-contact__grille { grid-template-columns: 1fr; }
  .ag-contact .frm_fields_container { grid-template-columns: 1fr; }
  .ag-contact .frm_form_field.frm_half { grid-column: 1 / -1; }
  .ag-contact .frm_button_submit { width: 100%; justify-content: center; }

  .ag-pied__colonnes { grid-template-columns: 1fr; gap: 24px; }
  a.ag-pied__haut { position: absolute; top: 32px; right: 0; }
  .ag-pied__bas { flex-direction: column; align-items: flex-start; }
  .ag-pied__bas nav { margin-left: 0; }

  /* Réalisations : glissement au doigt avec aimantation */
  .ag-realisations__piste {
    width: auto;
    height: auto;
    min-height: 0;
    align-items: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--ag-marge);
    padding: clamp(64px, 9vw, 112px) var(--ag-marge);
    scrollbar-width: none;
  }
  .ag-realisations__piste::-webkit-scrollbar { display: none; }
  .ag-realisations__intro { flex: 0 0 82vw; padding-right: 0; scroll-snap-align: start; }
  a.ag-projet, div.ag-projet { flex: 0 0 82vw; scroll-snap-align: start; }
  a.ag-realisations__fin { flex: 0 0 64vw; padding: 24px; scroll-snap-align: start; }

  /* Étapes : en liste, toutes ouvertes */
  .ag-etapes__scene { min-height: 0; padding: clamp(64px, 9vw, 112px) 0; }
  .ag-etapes__grille { grid-template-columns: 1fr; gap: 8px; }
  .ag-etapes__compteur, .ag-etapes__barre { display: none; }
  .ag-etape { opacity: 1; background: var(--ag-carte); transition: none; }
  .ag-etape p { max-height: none; opacity: 1; margin-top: 10px; }
  .ag-etape__recu { max-height: none; opacity: 1; margin-top: 12px; padding: 6px 12px; }
  .ag-etape.is-active { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ag-presentation__car { opacity: 1; }
}
.elementor-editor-active .ag-presentation__car { opacity: 1; }
