/* =====================================================================
   Agentique Québec — page d'accueil (FR et EN), refonte complète du 15 octobre 2026.
   Se charge APRÈS /assets/premium/aq-premium.css. Les couleurs viennent des jetons de l'ensemble commun.
   Corrections du 15 octobre : photo du héro à marges symétriques, panneau ancré au coin haut gauche de la photo,
   entrée de service du schéma au bas du héro, masques du titre sans coupure, cartes de prix revues.
   ===================================================================== */

/* =====================================================================
   HÉRO : la photo tenue (caméra au défilement) et la plaque de verre qui monte
   ===================================================================== */
.hero { position: relative; margin-left: calc(var(--lane) * -1); padding: calc(var(--nav-h) + 12px) var(--marge-photo) 0; }
.hero-scene { position: relative; }
.hero-stage {
  position: -webkit-sticky; position: sticky; top: calc(var(--nav-h) + 12px); z-index: 0;
  height: calc(100vh - var(--nav-h) - 12px - var(--marge-photo)); height: calc(100svh - var(--nav-h) - 12px - var(--marge-photo));
  overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  background: #c7b394;
  box-shadow: 0 30px 60px -40px rgba(10, 22, 40, .55);
}
.hero-cam, .hero-lens { position: absolute; inset: 0; will-change: transform; }
.hero-cam { transform-origin: 0 0; }
.hero-lens { transform-origin: 50% 50%; }
.hero-cam picture, .hero-cam img { width: 100%; height: 100%; }
.hero-cam img { object-fit: cover; object-position: 50% 42%; }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, .26) 0%, rgba(10, 22, 40, 0) 22%),
    radial-gradient(120% 95% at 80% 34%, rgba(10, 22, 40, 0) 50%, rgba(10, 22, 40, .26) 100%);
}
.hero-dim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10, 22, 40, .34), rgba(10, 22, 40, .05) 60%); opacity: 0; }
.hero-layer { position: relative; z-index: 1; margin-top: calc(-100vh + var(--nav-h) + 12px + var(--marge-photo)); margin-top: calc(-100svh + var(--nav-h) + 12px + var(--marge-photo)); }
/* Le panneau est ancré au coin haut gauche de la photo : même écart à gauche et en haut (--marge-panneau) */
.hero-top-inner {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 12px - var(--marge-photo)); min-height: calc(100svh - var(--nav-h) - 12px - var(--marge-photo));
  display: flex; align-items: flex-start;
  padding: var(--marge-panneau);
}
.hero-card--titre {
  width: min(900px, 100%);   /* un peu plus grand que la version 1 (860 px) : le titre respire */
  padding: clamp(30px, 3.4vw, 54px) clamp(28px, 3.8vw, 60px) clamp(32px, 3.5vw, 56px);
  border-radius: 32px;
  /* Verre clair (demande du 15 octobre) : le Château Frontenac se voit à travers le panneau */
  background: linear-gradient(140deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .18) 55%, rgba(244, 248, 250, .26) 100%);
  box-shadow: var(--reflet-interne), 0 50px 90px -46px rgba(10, 22, 40, .55), 0 14px 28px -20px rgba(10, 22, 40, .3);
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; }
.hero-tagline { max-width: 36em; font-size: clamp(1.04rem, .94rem + .4vw, 1.24rem); font-weight: 400; line-height: 1.6; color: #26354a; }
.hero-tagline em {
  display: block; margin-bottom: 8px;
  font-family: var(--font-text); font-style: normal; font-weight: 760;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.3; letter-spacing: -.02em;
  color: var(--cyan-900);
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-defiler { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); pointer-events: none; }

/* Plaque de verre : description et statistiques, qui montent sur la photo tenue (alignées sur le panneau) */
.hero-plate {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 18px;
  max-width: calc(1360px + 2 * var(--marge-panneau));
  padding: 0 var(--marge-panneau) clamp(90px, 20vh, 220px);
}
.hero-card--texte {
  padding: clamp(24px, 3vw, 40px) clamp(22px, 3.2vw, 44px);
  border-radius: 30px;
  background: var(--verre-fond-dense);
  box-shadow: var(--reflet-interne), 0 46px 84px -40px rgba(10, 22, 40, .5), 0 12px 24px -18px rgba(10, 22, 40, .25);
}
.hero-quebec { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 680; color: var(--marine-900); }
.hero-quebec::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--cyan-500); flex: none; }
.hero-desc { max-width: 68ch; font-size: 1.04rem; line-height: 1.75; color: var(--ardoise-700); }
.hero-stats { display: grid; gap: 14px; }
.stat-item-hero {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: 16px;
  padding: 22px 24px; border-radius: 24px;
  font-size: .96rem; line-height: 1.55; color: var(--ardoise-700);
  background: linear-gradient(140deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .86) 60%, rgba(247, 250, 251, .9) 100%);
  box-shadow: var(--reflet-interne), 0 34px 64px -34px rgba(10, 22, 40, .48);
}
.stat-item-hero strong { color: var(--marine-900); font-weight: 700; }
.stat-ico {
  width: 46px; height: 46px; border-radius: 15px;
  display: grid; place-items: center; color: var(--cyan-700);
  background: linear-gradient(145deg, #ffffff, rgba(228, 246, 251, .95));
  box-shadow: inset 0 0 0 1px rgba(0, 122, 153, .2), 0 10px 20px -14px rgba(0, 122, 153, .7);
}
.stat-source { display: block; margin-top: 10px; font-size: .82rem; line-height: 1.4; }
.stat-source a { color: var(--cyan-850); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.stat-source sup { font-size: .7em; line-height: 0; }
/* Chiffre 9,2 % mis en vedette par le script (le texte source reste identique) */
.chiffre { display: block; margin: 2px 0 6px; font-family: var(--font-text); font-weight: 900; letter-spacing: -.035em; font-size: clamp(3rem, 2.1rem + 2.4vw, 4.4rem); line-height: .95; color: var(--cyan-850); font-variant-numeric: tabular-nums; }
/* Verre liquide sur la photo */
.hero-card, .stat-item-hero, .pain-card, .cta-box { -webkit-backdrop-filter: var(--verre-flou); backdrop-filter: var(--verre-flou); }
/* Panneau du titre : presque sans flou, pour que la photo reste nette derrière. La lisibilité tient à un halo discret
   autour du titre et de l'accroche, et à une bande givrée sous le texte courant qui commence au ras de l'accroche
   (sous le Château). Contraste AA mesuré au bord des lettres, de 390 à 1920 px. */
.hero-card--titre { -webkit-backdrop-filter: blur(1px) saturate(115%); backdrop-filter: blur(1px) saturate(115%); }
.hero-card--titre h1 { text-shadow: 0 0 1px rgba(255, 255, 255, .5), 0 0 14px rgba(255, 255, 255, .5); }
.hero-tagline { position: relative; z-index: 0; }
.hero-tagline em { text-shadow: 0 0 1px rgba(255, 255, 255, .8), 0 0 10px rgba(255, 255, 255, .6); }
.hero-tagline::before {
  content: ""; position: absolute; z-index: -1; inset: -12px -30px -22px -30px; border-radius: 0 0 30px 30px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .42) 22px, rgba(255, 255, 255, .6) 58px, rgba(255, 255, 255, .66) 100%);
  filter: blur(9px);
}

/* =====================================================================
   BANDEAU DE CONFIANCE
   ===================================================================== */
.trust { padding-top: var(--ecart); }
.trust-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); align-items: center; gap: 22px 40px;
  padding: 20px 26px 20px 30px; border-radius: 26px;
}
.trust-inner.calque { box-shadow: var(--panneau-ombre); }
.trust-inner p { max-width: 28ch; font-size: .92rem; font-weight: 600; line-height: 1.45; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 620; line-height: 1.3; color: var(--marine-900); }
.trust-item .ico { width: 40px; height: 40px; padding: 8px; border-radius: 13px; }
.calque .trust-item { color: var(--panneau-titre); }
.calque .trust-item .ico { color: var(--panneau-icone); background: var(--panneau-icone-fond); box-shadow: inset 0 0 0 1px var(--panneau-puce-bord); }

/* =====================================================================
   LE PROBLÈME : îlot de nuit (photo), la dérivation y entre en blanc et reste ouverte
   ===================================================================== */
.pain-points { padding: var(--ecart) var(--inset) 0; }
.pain-island {
  --schema-dedans: clair;
  position: relative; isolation: isolate;
  border-radius: var(--r-xl);
  padding: clamp(64px, 8vw, 116px) 0 clamp(28px, 4vw, 52px);
  background: var(--marine-900); color: #fff;
}
.pain-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; }
.pain-media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 50%; will-change: transform; }
.pain-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, .82) 0%, rgba(10, 22, 40, .5) 34%, rgba(10, 22, 40, .12) 62%, rgba(10, 22, 40, .3) 100%),
    linear-gradient(0deg, rgba(10, 22, 40, .94) 0%, rgba(10, 22, 40, .42) 32%, rgba(10, 22, 40, 0) 56%);
}
.pain-content .section-header { max-width: 820px; margin-bottom: clamp(170px, 21vw, 300px); }
.pain-island .section-header::before { display: none; }
.pain-island .eyebrow { background: rgba(0, 180, 216, .14); border-color: rgba(0, 212, 255, .3); color: var(--cyan-400); }
.pain-island h2 { color: #fff; }
.pain-island :focus-visible { outline-color: var(--cyan-400); }
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pain-card { padding: 28px 28px 30px; border-radius: 26px; }
.pain-card.glass--sombre { background: linear-gradient(150deg, rgba(20, 38, 62, .64) 0%, rgba(10, 22, 40, .54) 100%); }
.pain-icon {
  width: 48px; height: 48px; margin-bottom: 22px; border-radius: 15px;
  display: grid; place-items: center; color: var(--cyan-400);
  background: rgba(0, 212, 255, .1); box-shadow: inset 0 0 0 1px rgba(0, 212, 255, .28);
}
.pain-headline { margin-bottom: 10px; font-size: 1.2rem; color: #fff; }
.pain-desc { font-size: .98rem; line-height: 1.65; color: rgba(255, 255, 255, .82); }

/* =====================================================================
   SERVICES : bandeau photo, puis 4 cartes de même taille en 2 × 2
   ===================================================================== */
.services { padding-top: var(--ecart); }
.services-photo {
  position: relative; overflow: hidden;
  height: clamp(190px, 21vw, 300px); margin-bottom: 18px;
  border-radius: 32px; background: #8d7a62; box-shadow: var(--ombre-2);
}
.services-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.bento-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; }
.service-card { position: relative; min-width: 0; }
.service-card--verre { padding: 30px 32px 32px; border-radius: 30px; transition: transform .5s var(--ease-sortie), box-shadow .5s var(--ease-std); }
.service-card--verre:hover { transform: translateY(-4px); box-shadow: var(--reflet-interne), var(--ombre-3); }
.service-icon {
  width: 52px; height: 52px; margin-bottom: 20px; border-radius: 17px;
  display: grid; place-items: center; color: var(--cyan-700);
  background: linear-gradient(145deg, #ffffff, rgba(226, 245, 250, .95));
  box-shadow: inset 0 0 0 1px rgba(0, 122, 153, .2), 0 12px 22px -14px rgba(0, 122, 153, .7);
}
.service-icon .ico { width: 26px; height: 26px; }
.calque .service-icon { color: var(--panneau-icone); background: var(--panneau-icone-fond); box-shadow: inset 0 0 0 1px var(--panneau-puce-bord); }
.service-card h3 { margin-bottom: 12px; font-weight: 760; font-size: clamp(1.18rem, 1rem + .45vw, 1.4rem); line-height: 1.25; letter-spacing: -.01em; }
.service-link {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; padding-bottom: 6px;
  font-weight: 650; color: var(--marine-900); text-decoration: none;
  background: linear-gradient(var(--cyan-500), var(--cyan-500)) left 100% / 100% 2px no-repeat;
  transition: background-size var(--t-moyen) var(--ease-sortie), color var(--t-moyen) var(--ease-std);
}
.service-link:hover { background-size: 40% 2px; }
.calque .service-link { color: var(--panneau-titre); }
.calque .service-link:hover { color: var(--panneau-accent); }

/* =====================================================================
   PROCESSUS : l'intro et la photo restent collées pendant que les quatre étapes défilent
   ===================================================================== */
.process { padding-top: var(--ecart); }
.process-grid { display: grid; grid-template-columns: minmax(0, 5.6fr) minmax(0, 6.4fr); column-gap: clamp(32px, 3.6vw, 56px); align-items: start; }
.process-intro { position: sticky; top: calc(var(--nav-h) + 26px); isolation: isolate; }
.process-intro::before {
  content: ""; position: absolute; z-index: -1; inset: -24px -30px auto; height: 58%; border-radius: 40px;
  background: rgba(248, 247, 243, .9); filter: blur(16px); pointer-events: none;
}
.process-intro > p { margin-top: 16px; max-width: 48ch; font-size: 1.06rem; line-height: 1.6; color: var(--ardoise-600); }
.viseur {
  position: relative; margin-top: clamp(20px, 3vh, 30px);
  aspect-ratio: 1672 / 941; overflow: hidden;
  border-radius: 24px; background: #6d6455;
  box-shadow: 0 36px 70px -42px rgba(10, 22, 40, .7), inset 0 0 0 1px rgba(10, 22, 40, .08);
}
.viseur-photo { position: absolute; inset: 0; }
.viseur-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.viseur::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 120% at 50% 50%, rgba(10, 22, 40, 0) 58%, rgba(10, 22, 40, .38) 100%); }
.viseur-coin { position: absolute; z-index: 1; width: 18px; height: 18px; border: 0 solid #fff; opacity: .9; }
.viseur-coin--hg { top: 12px; left: 12px; border-top-width: 1.5px; border-left-width: 1.5px; }
.viseur-coin--hd { top: 12px; right: 12px; border-top-width: 1.5px; border-right-width: 1.5px; }
.viseur-coin--bg { bottom: 12px; left: 12px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.viseur-coin--bd { bottom: 12px; right: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.process-steps { position: relative; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 16px; }
.timeline-step { position: relative; z-index: 2; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; align-items: start; }
.step-circle {
  position: relative; z-index: 2;
  width: 52px; height: 52px; margin-top: 12px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-text); font-weight: 800; font-size: 1.3rem; line-height: 1; color: var(--marine-900);
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #eef8fb 46%, #d6f0f6 100%);
  box-shadow: inset 0 -3px 8px rgba(0, 122, 153, .16), inset 0 2px 2px rgba(255, 255, 255, .9), 0 0 0 6px var(--papier), 0 0 0 7px rgba(10, 22, 40, .12), 0 12px 22px -12px rgba(0, 122, 153, .6);
  transition: background .4s var(--ease-std), color .4s var(--ease-std), box-shadow .4s var(--ease-std);
}
.timeline-step.is-lit .step-circle {
  background: radial-gradient(circle at 32% 28%, #e9fbff 0%, #8fe6f7 52%, #2cc4e3 100%);
  box-shadow: inset 0 -3px 8px rgba(0, 98, 124, .25), inset 0 2px 2px rgba(255, 255, 255, .9), 0 0 0 6px var(--papier), 0 0 0 7.5px rgba(0, 180, 216, .6), 0 12px 26px -10px rgba(0, 180, 216, .8);
}
.step-body { padding: 20px 24px 22px; border-radius: 24px; }
.step-body::after { opacity: .4; }
.step-body h3 { margin-bottom: 8px; font-size: 1.12rem; font-weight: 750; }
.step-body p { font-size: .95rem; line-height: 1.6; }
.steps-rail { position: absolute; z-index: 1; top: 38px; bottom: 40px; left: 25.5px; width: 1.5px; background: rgba(10, 22, 40, .12); }
.steps-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan-500), var(--cyan-700)); box-shadow: 0 0 10px rgba(0, 180, 216, .5); transform-origin: 50% 0; }
.aq-process-context {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 36px;
  padding: 22px 30px; border-radius: 24px;
}
.aq-process-context.calque { box-shadow: var(--panneau-ombre); }
.aq-process-context p { max-width: 74ch; }
.aq-process-context a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-decoration: none; }
.aq-process-context a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* =====================================================================
   RÉALISATIONS
   ===================================================================== */
.showcase { padding-top: var(--ecart); }
.showcase-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.showcase-project { min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: 32px; }
.showcase-project--plateforme { grid-column: 1 / span 7; }
.showcase-project--veille { grid-column: 8 / span 5; }
.showcase-header h3 { margin: 16px 0 10px; font-weight: 760; font-size: clamp(1.3rem, 1.05rem + .7vw, 1.65rem); line-height: 1.2; letter-spacing: -.01em; }
.showcase-gallery { position: relative; min-width: 0; }
.showcase-images {
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 18px;
}
.showcase-images::-webkit-scrollbar { display: none; }
.showcase-img {
  position: relative; overflow: hidden; cursor: zoom-in;
  border-radius: 18px; background: #e6ebef;
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .08);
  outline-offset: -3px;
}
.calque .showcase-img { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.showcase-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1s var(--ease-sortie); }
.showcase-img:hover img { transform: scale(1.03); }
.showcase-img::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .6);
}
#gallery-1 .showcase-img { flex: 0 0 86%; aspect-ratio: 1265 / 720; scroll-snap-align: start; }
@media (min-width: 1101px) {
  .showcase-project--plateforme .showcase-gallery { flex: 1; display: flex; min-height: 320px; }
  .showcase-project--plateforme #gallery-1 { flex: 1; min-width: 0; }
  #gallery-1 .showcase-img { aspect-ratio: auto; min-height: 0; }
}
#gallery-2 .showcase-img { flex: 1 1 100%; aspect-ratio: 5 / 4; }
#gallery-2 .showcase-img img { object-position: 62% 50%; }
/* 14 novembre 2026 (audit, SITE-12) : la plateforme de gestion de projet est retirée de l'accueil anglais; la veille des
   appels d'offres, seule sur sa rangée, prend toute la largeur avec l'image panoramique, comme sous 1100 px. */
.showcase-grid > .showcase-project--veille:first-child { grid-column: 1 / -1; }
.showcase-grid > .showcase-project--veille:first-child #gallery-2 .showcase-img { aspect-ratio: 1600 / 649; }
.showcase-grid > .showcase-project--veille:first-child #gallery-2 .showcase-img img { object-position: center; }
.gallery-arrow {
  position: absolute; z-index: 3; top: 50%;
  width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--marine-900); background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .1), 0 12px 24px -14px rgba(10, 22, 40, .6);
  transition: transform var(--t-rapide) var(--ease-std), background-color var(--t-rapide) var(--ease-std);
}
.gallery-arrow:hover { background: #fff; transform: scale(1.06); }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.showcase-features { display: flex; flex-wrap: wrap; gap: 8px; }
.showcase-features span {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px;
  border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; color: var(--marine-900);
  background: rgba(255, 255, 255, .86); box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .09);
}
.calque .showcase-features span { color: var(--panneau-texte); background: var(--panneau-puce-fond); box-shadow: inset 0 0 0 1px var(--panneau-filet); }
.showcase-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: -6px; font-weight: 650; text-decoration: none; }
.showcase-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Portail exécutif : pleine largeur, galerie native à défilement horizontal */
.portal-project {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "tete galerie" "controles galerie" "atouts galerie";
  align-items: start; gap: 20px 40px;
  padding: 34px;
  scroll-margin-top: 112px;
}
.portal-project .showcase-header { grid-area: tete; }
.portal-project .portal-controls { grid-area: controles; }
.portal-project .showcase-gallery { grid-area: galerie; align-self: center; padding-bottom: 62px; }
.portal-project .showcase-features { grid-area: atouts; }
.portal-demo-notice { margin-top: 16px; padding: 12px 15px; border-radius: 15px; font-size: .86rem; line-height: 1.55; }
.calque .portal-demo-notice { color: var(--panneau-texte); background: var(--panneau-icone-fond); box-shadow: inset 0 0 0 1px var(--panneau-puce-bord); }
.portal-controls { display: flex; flex-direction: column; gap: 10px; }
.portal-controls label { font-size: .76rem; font-weight: 680; letter-spacing: .14em; text-transform: uppercase; }
.calque .portal-controls label { color: var(--panneau-accent); }
.select-wrap { display: flex; align-items: center; gap: 10px; }
.portal-controls select {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 44px 0 16px;
  border: 0; border-radius: 15px; cursor: pointer;
  font: 600 .95rem var(--font-text); color: var(--marine-900);
  -webkit-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007a99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
#portal-position {
  min-width: 70px; padding: 12px 12px; border-radius: var(--r-pill); text-align: center;
  font-size: .9rem; font-weight: 680; font-variant-numeric: tabular-nums;
}
.calque #portal-position { color: var(--panneau-puce-texte); background: var(--panneau-puce-fond); box-shadow: inset 0 0 0 1px var(--panneau-puce-bord); }
.portal-hint { font-size: .86rem; }
.calque .portal-hint { color: var(--panneau-texte-2); }
.portal-project .showcase-images { gap: 18px; }
.portal-figure { flex: 0 0 min(560px, 80%); min-width: 0; margin: 0; display: flex; flex-direction: column; scroll-snap-align: start; }
.portal-figure .showcase-img { aspect-ratio: 16 / 11; }
.portal-figure figcaption { padding: 14px 4px 0; font-size: .9rem; line-height: 1.55; }
.portal-figure figcaption strong { display: block; margin-bottom: 4px; font-size: .96rem; }
.portal-figure figcaption p { margin: 0; max-width: 46ch; }
.portal-project .gallery-arrow { top: auto; bottom: 0; margin-top: 0; }
.portal-project .gallery-arrow.prev { left: auto; right: 58px; }
.portal-project .gallery-arrow.next { right: 0; }

/* =====================================================================
   FORFAITS
   ===================================================================== */
.pricing { padding-top: var(--ecart); }
.pricing-entry { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border-radius: 34px; overflow: hidden; }
.entry-copy { padding: clamp(28px, 4.2vw, 56px); }
.entry-deliverables { padding: clamp(28px, 4.2vw, 56px); }
.calque .entry-deliverables { background: rgba(255, 255, 255, .035); box-shadow: inset 1px 0 0 var(--panneau-filet); }
.entry-badge, .flexible-badge, .partner-callout-kicker, .aq-category {
  display: inline-flex; align-items: center; align-self: flex-start;
  min-height: 30px; padding: 0 13px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
}
.calque .entry-badge, .calque .partner-callout-kicker, .calque .aq-category { color: var(--panneau-puce-texte); background: var(--panneau-puce-fond); box-shadow: inset 0 0 0 1px var(--panneau-puce-bord); }
.calque .flexible-badge { color: var(--panneau-btn-texte); background: var(--panneau-btn-fond); box-shadow: none; }
.pricing-entry h3 { margin: 18px 0 14px; font-weight: 760; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.15rem); line-height: 1.12; letter-spacing: -.02em; }
.entry-lead { max-width: 54ch; font-size: 1.08rem; line-height: 1.62; }
.calque .entry-lead { color: var(--panneau-texte); }
.entry-price {
  margin: 28px 0 12px; white-space: nowrap;
  font-family: var(--font-text); font-weight: 900; letter-spacing: -.03em; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calque .entry-price { color: var(--panneau-titre); }
.entry-price span { margin-left: 6px; font-family: var(--font-text); font-size: .95rem; font-weight: 600; letter-spacing: 0; }
.calque .entry-price span { color: var(--panneau-texte-2); }
.entry-note { max-width: 54ch; font-size: .95rem; }
.entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.entry-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-decoration: none; }
.entry-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.entry-deliverables h4 { margin-bottom: 20px; font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.calque .entry-deliverables h4 { color: var(--panneau-accent); }

.implementation-label {
  display: flex; align-items: center; gap: 20px;
  font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-750);
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; padding-top: 18px; }
/* Scène photo : les trois forfaits chevauchent la cour de matériaux */
.pricing-stage { position: relative; isolation: isolate; margin-top: clamp(60px, 7vw, 92px); padding: 36px clamp(14px, 2.4vw, 34px) 0; }
.pricing-stage-photo {
  position: absolute; z-index: -1; top: 0; left: 0; right: 0;
  height: clamp(320px, 34vw, 480px);
  border-radius: 34px; overflow: hidden;
  background: #8a6d52; box-shadow: var(--ombre-2);
}
.pricing-stage-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.pricing-stage-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 40, .14) 0%, rgba(10, 22, 40, 0) 40%, rgba(10, 22, 40, .26) 100%); }
.pricing-stage .implementation-label {
  width: max-content; max-width: 100%; margin: 0 auto 46px; padding: 10px 20px;
  border-radius: var(--r-pill); color: var(--cyan-750);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -18px rgba(10, 22, 40, .7);
}
.pricing-card { display: flex; flex-direction: column; padding: 38px 30px 30px; border-radius: 32px; }
.pricing-card h3 { font-weight: 760; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.01em; }
.pricing-card .price {
  margin: 18px 0 8px; white-space: nowrap;
  font-family: var(--font-text); font-weight: 900; letter-spacing: -.03em; font-size: clamp(2.3rem, 1.8rem + 1.2vw, 2.7rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calque .price { color: var(--panneau-titre); }
.pricing-card .price span { font-family: var(--font-text); font-size: .92rem; font-weight: 600; letter-spacing: 0; }
.calque .price span { color: var(--panneau-texte-2); }
/* Lignes de configuration sous le prix (« + Frais de configuration unique… », « Frais de configuration unique ») */
.setup-fee { margin-bottom: 22px; font-size: .9rem; line-height: 1.5; }
.calque .setup-fee { color: var(--panneau-texte-2); }
.setup-fee + .setup-fee { margin-top: -14px; }
.setup-fee a { font-weight: 650; text-underline-offset: 3px; }
/* « Ce que comprend l'offre : » au-dessus des points, même style dans les trois cartes */
.pricing-card .includes { margin: -6px 0 14px; font-size: .84rem; font-weight: 680; }
.calque .includes { color: var(--panneau-titre); }
.pricing-card .features-list { flex: 1; align-content: start; margin-bottom: 30px; }
.btn-pricing { width: 100%; margin-top: auto; }
.pricing-card.featured {
  translate: 0 -16px;
  box-shadow: var(--reflet-interne), 0 56px 96px -44px rgba(0, 122, 153, .6), 0 22px 44px -26px rgba(10, 22, 40, .4);
}
.pricing-card.featured.calque { background: var(--panneau-fond-fort); }
.pricing-card.featured::before {
  padding: 1.6px;
  background: conic-gradient(from var(--angle), var(--cyan-400), rgba(255, 255, 255, .95) 22%, var(--cyan-700) 48%, rgba(255, 255, 255, .95) 74%, var(--cyan-400));
  animation: tourner 12s linear infinite;
}
.popular-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 16px;
  border-radius: var(--r-pill); white-space: nowrap;
  font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--marine-900);
  background: linear-gradient(180deg, var(--cyan-400), var(--cyan-500));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 12px 26px -12px rgba(0, 180, 216, .95);
}
.pricing-card.premium {
  color: #fff;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(0, 212, 255, .2), rgba(0, 212, 255, 0) 56%),
    linear-gradient(168deg, #16304f 0%, var(--marine-900) 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 46px 84px -40px rgba(10, 22, 40, .8);
}
.pricing-card.premium h3, .pricing-card.premium .price, .pricing-card.premium .includes { color: #fff; }
.pricing-card.premium .price { margin-bottom: 26px; }
.pricing-card.premium .features-list li { color: rgba(255, 255, 255, .86); }
.pricing-card.premium .features-list li::before { background: rgba(0, 212, 255, .14); box-shadow: inset 0 0 0 1px rgba(0, 212, 255, .38); }
.pricing-card.premium .features-list li::after { background: var(--cyan-400); }
.pricing-card.premium :focus-visible { outline-color: var(--cyan-400); }

/* ---------- Forfaits (18 octobre, 3e série) ----------
   Essentiel : carte blanche et simple, comme sur le site officiel (contour fin, prix marine, bouton à contour).
   Transformation IA : la carte haut de gamme (marine profond, trame de plan, liseré lumineux, reflet qui passe,
   prix en dégradé argenté). Professionnel reste la vedette marine (« Le plus populaire »). */
.pricing-card--simple {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .1), 0 2px 6px rgba(10, 22, 40, .05), 0 34px 64px -40px rgba(10, 22, 40, .5);
  transition: transform .5s var(--ease-sortie), box-shadow .5s var(--ease-std);
}
.pricing-card--simple:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(0, 122, 153, .3), 0 2px 6px rgba(10, 22, 40, .05), 0 42px 72px -40px rgba(10, 22, 40, .55); }
.pricing-card--simple h3, .pricing-card--simple .price, .pricing-card--simple .includes { color: var(--marine-900); }
.pricing-card--simple .setup-fee { margin-bottom: 20px; padding-bottom: 20px; color: var(--ardoise-600); border-bottom: 1px solid rgba(10, 22, 40, .08); }
.pricing-card--simple .includes { margin-top: 0; }
.pricing-card--simple .features-list li { color: var(--ardoise-700); }
.btn-contour { color: var(--marine-900); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(10, 22, 40, .24); }
.btn-contour::after { background: linear-gradient(105deg, rgba(0, 180, 216, 0) 30%, rgba(0, 180, 216, .14) 50%, rgba(0, 180, 216, 0) 70%); }
.btn-contour:hover { color: var(--cyan-750); background: rgba(0, 180, 216, .04); box-shadow: inset 0 0 0 1.5px var(--cyan-700), 0 12px 28px -14px rgba(0, 180, 216, .45); }

.pricing-card.premium {
  background:
    radial-gradient(85% 50% at 100% 0%, rgba(0, 212, 255, .36), rgba(0, 212, 255, 0) 62%),
    radial-gradient(80% 45% at 0% 100%, rgba(0, 150, 200, .18), rgba(0, 150, 200, 0) 66%),
    linear-gradient(170deg, #0f2d4d 0%, #071426 48%, #030912 100%);
  box-shadow: inset 0 2px 0 rgba(127, 233, 255, .62), 0 0 0 1px rgba(127, 233, 255, .38), 0 0 56px -10px rgba(0, 212, 255, .55), 0 52px 96px -42px rgba(0, 0, 0, .9);
}
.pricing-card.premium::before {
  padding: 1.4px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .85) 0%, rgba(127, 233, 255, .2) 30%, rgba(0, 212, 255, .75) 62%, rgba(255, 255, 255, .4) 100%);
}
.pricing-card.premium > :not(.premium-reflet):not(.dispo) { position: relative; z-index: 1; }
/* Trame de plan (estompée vers le bas) et reflet qui traverse la carte de temps en temps */
.premium-reflet {
  position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(127, 233, 255, .11) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(127, 233, 255, .11) 0 1px, transparent 1px 26px);
  -webkit-mask-image: radial-gradient(120% 70% at 100% 0%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
  mask-image: radial-gradient(120% 70% at 100% 0%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
}
.premium-reflet::before {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 40%;
  background: linear-gradient(100deg, rgba(127, 233, 255, 0) 0%, rgba(127, 233, 255, .16) 42%, rgba(255, 255, 255, .22) 50%, rgba(127, 233, 255, .16) 58%, rgba(127, 233, 255, 0) 100%);
  transform: translateX(-160%) skewX(-16deg);
}
.pricing-card.premium h3 { display: flex; align-items: center; gap: 11px; }
.pricing-card.premium h3::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg);
  background: linear-gradient(135deg, #ffffff, var(--cyan-400)); box-shadow: 0 0 12px rgba(0, 212, 255, .85);
}
.pricing-card.premium .price {
  padding-bottom: 22px; border-bottom: 1px solid rgba(127, 233, 255, .22);
  color: #ffffff;
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 34%, #9af1ff 52%, #ffffff 70%, #ffffff 100%);
  background-size: 240% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pricing-card.premium .features-list li { color: rgba(255, 255, 255, .92); }
.pricing-card.premium .features-list li::before { background: radial-gradient(circle, rgba(0, 212, 255, .34), rgba(0, 212, 255, .1)); box-shadow: inset 0 0 0 1px rgba(127, 233, 255, .62), 0 0 10px rgba(0, 212, 255, .35); }
@media (prefers-reduced-motion: no-preference) {
  .premium-reflet::before { animation: premium-balayage 7.5s cubic-bezier(.65, 0, .35, 1) 1.4s infinite; }
  .pricing-card.premium .price { animation: premium-eclat 7.5s ease-in-out 1.4s infinite; }
}
@keyframes premium-balayage { 0% { transform: translateX(-160%) skewX(-16deg); } 36%, 100% { transform: translateX(380%) skewX(-16deg); } }
@keyframes premium-eclat { 0%, 12% { background-position: 100% 0; } 40%, 100% { background-position: 0 0; } }

/* Renvois sous les cartes : niveaux d'automatisation et prix des applications sur mesure (FAQ) */
.pricing-refs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px;
  width: fit-content; max-width: 100%; margin: 34px auto 0; padding: 12px 26px; border-radius: 22px; text-align: center;
  font-size: .94rem; line-height: 1.5; color: var(--ardoise-600);
  background: rgba(248, 247, 243, .92); box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .07), 0 14px 30px -24px rgba(10, 22, 40, .45);
}
.pricing-refs p { display: block; }
.pricing-refs p::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--cyan-500); vertical-align: middle; transform: translateY(-1px); }
@media (max-width: 700px) { .pricing-refs { padding: 12px 18px; text-align: left; } }
.pricing-refs a { color: var(--cyan-750); font-weight: 650; text-underline-offset: 3px; }
.pricing-refs a:hover { color: var(--marine-900); }
.pricing-refs + .choose-plan { margin-top: 26px; }

/* Bulle « Disponibilités » */
.dispo { position: absolute; z-index: 6; top: -18px; left: 50%; transform: translateX(-50%); }
.dispo-btn {
  list-style: none;
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 38px; padding: 0 16px; border-radius: var(--r-pill); cursor: pointer;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; color: var(--marine-900);
  background: linear-gradient(180deg, #ffffff, #e9f8fc);
  box-shadow: inset 0 0 0 1px rgba(0, 122, 153, .3), 0 12px 26px -12px rgba(0, 0, 0, .55);
}
.dispo-btn::-webkit-details-marker { display: none; }
.dispo-btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-500); box-shadow: 0 0 0 3px rgba(0, 180, 216, .22); }
.dispo-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: 236px; padding: 16px 18px; border-radius: 18px;
  font-size: .9rem; line-height: 1.5; color: var(--marine-900);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .08), 0 28px 54px -22px rgba(0, 0, 0, .6);
}
.dispo-panel strong { color: var(--marine-900); }
.dispo-panel p + p { color: var(--ardoise-600); }
.places-dots { display: flex; gap: 6px; margin-bottom: 10px; }
.places-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(0, 180, 216, .2); box-shadow: inset 0 0 0 1.5px var(--cyan-700); }
.places-dots span.is-taken { background: var(--marine-900); box-shadow: none; }

.choose-plan { display: flex; justify-content: center; margin-top: 44px; }
.choose-plan-btn { color: var(--bouton-texte); background: var(--bouton-fond); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 28px -16px rgba(10, 22, 40, .8); }
.choose-plan-btn:hover { background: var(--bouton-fond); color: var(--bouton-texte); }
.choose-plan-btn span { display: inline-block; transition: transform var(--t-moyen) var(--ease-sortie); }
.choose-plan-btn:hover span { transform: translateX(4px); }
.pricing-note {
  display: grid; gap: 8px;
  max-width: 880px; margin: 26px auto 0; padding: 20px 26px; border-radius: 22px;
  font-size: .93rem; line-height: 1.6;
}
.pricing-note.calque { box-shadow: var(--panneau-ombre); }
.pricing-flexible {
  margin-top: 44px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(0, .8fr); align-items: start; gap: 28px 44px;
  padding: clamp(28px, 4vw, 50px); border-radius: 34px;
}
.pricing-flexible h3 { margin: 16px 0 12px; font-weight: 760; font-size: clamp(1.5rem, 1.15rem + 1vw, 1.95rem); line-height: 1.15; letter-spacing: -.015em; }
.flexible-lead { line-height: 1.62; }
.calque .flexible-lead { color: var(--panneau-texte); }
.flexible-value { margin-top: 16px; font-size: .9rem; font-weight: 680; }
.calque .flexible-value { color: var(--panneau-accent); }
.flexible-features { padding-top: 6px; }
.flexible-action .btn { justify-self: start; }
.flexible-action { display: grid; gap: 20px; padding-left: 30px; font-size: .94rem; line-height: 1.6; }
.calque .flexible-action { color: var(--panneau-texte-2); box-shadow: inset 1px 0 0 var(--panneau-filet); }

/* =====================================================================
   PROGRAMME PARTENAIRES
   ===================================================================== */
.partner-callout { padding-top: var(--ecart); }
.partner-callout-box {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas: "texte photo" "action photo";
  grid-template-rows: auto 1fr;
  gap: 26px 40px;
  padding: clamp(16px, 1.6vw, 20px) clamp(16px, 1.6vw, 20px) clamp(16px, 1.6vw, 20px) clamp(28px, 4.4vw, 60px);
  border-radius: 36px;
}
.partner-copy { grid-area: texte; padding-top: clamp(14px, 3vw, 44px); }
.partner-callout-box > .btn { grid-area: action; align-self: start; justify-self: start; margin-bottom: clamp(14px, 3vw, 44px); }
.partner-photo { grid-area: photo; position: relative; min-height: 380px; border-radius: 26px; overflow: hidden; background: #a59a8a; box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .06); }
.partner-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% 40%; }
.partner-callout-box h2 { max-width: 22ch; margin: 18px 0 14px; }
.partner-callout-box p { max-width: 54ch; font-size: 1.05rem; line-height: 1.62; }
.calque .partner-copy p { color: var(--panneau-texte); }

/* =====================================================================
   GUIDES
   ===================================================================== */
.aq-reading { padding-top: var(--ecart); }
.aq-reading .section-header--split { align-items: end; }
.aq-reading-intro { font-size: 1.1rem; color: var(--ardoise-600); }
.aq-reading-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.aq-reading-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 28px 24px; border-radius: 28px;
  text-decoration: none; color: inherit;
  transition: transform .5s var(--ease-sortie), box-shadow .5s var(--ease-std);
}
.aq-reading-card:hover { transform: translateY(-4px); box-shadow: var(--reflet-interne), var(--ombre-3); }
.aq-reading-card h3 { font-weight: 750; font-size: 1.18rem; line-height: 1.3; letter-spacing: -.01em; }
.aq-reading-card p { flex: 1; font-size: .95rem; }
.aq-read { display: inline-flex; align-items: center; min-height: 32px; font-weight: 650; }
.calque .aq-read { color: var(--panneau-accent); }
.aq-reading-card:hover .aq-read { text-decoration: underline; text-underline-offset: 4px; }
.aq-reading-more {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 26px; padding: 0 14px;
  border-radius: 14px; background: var(--halo-fond);
  font-weight: 650; color: var(--lien-fond); text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(10, 22, 40, .3);
}
.aq-reading-more:hover { box-shadow: inset 0 -2px 0 var(--cyan-500); }

/* =====================================================================
   APPEL À L'ACTION : le bâtiment livré à l'heure bleue ; la lampe du schéma s'allume dans la marge
   ===================================================================== */
.cta { padding: var(--ecart) var(--inset) 0; }
.cta-stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(580px, 58vw, 760px);
  border-radius: var(--r-xl);
  background: #1d2a44;
}
.cta-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 62% 46%; will-change: transform; }
.cta-stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 22, 40, .32) 0%, rgba(10, 22, 40, 0) 52%), linear-gradient(0deg, rgba(10, 22, 40, .24), rgba(10, 22, 40, 0) 40%);
}
/* Panneau ancré au coin bas gauche de la photo (même écart à gauche et en bas), en verre transparent comme au héro.
   La photo est à l'heure bleue (sombre) : le verre est teinté marine et le texte est blanc, sinon il serait illisible. */
.cta-stage { align-items: flex-end; }
.cta-inner { max-width: none; margin: 0; padding: var(--marge-panneau); }
.cta-box {
  max-width: 720px; padding: clamp(28px, 4vw, 52px); border-radius: 32px;
  -webkit-backdrop-filter: blur(1px) saturate(115%); backdrop-filter: blur(1px) saturate(115%);
  background: linear-gradient(140deg, rgba(10, 22, 40, .34) 0%, rgba(10, 22, 40, .24) 55%, rgba(14, 44, 74, .3) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .16), 0 56px 100px -48px rgba(10, 22, 40, .6);
}
.cta-box h2 { margin-bottom: 18px; color: #fff; text-shadow: 0 0 1px rgba(10, 22, 40, .45), 0 0 18px rgba(10, 22, 40, .55); }
.cta-box p { position: relative; z-index: 0; margin-bottom: 30px; font-size: 1.05rem; line-height: 1.62; color: rgba(255, 255, 255, .94); text-shadow: 0 0 1px rgba(10, 22, 40, .5), 0 0 10px rgba(10, 22, 40, .55); }
/* Bande teintée sous le texte courant (les reflets du fleuve restent visibles autour) */
.cta-box p::before {
  content: ""; position: absolute; z-index: -1; inset: -14px -26px -14px -26px; border-radius: 26px; pointer-events: none;
  background: rgba(10, 22, 40, .38); filter: blur(12px);
}
.cta-box .btn-primary { background: #fff; color: var(--marine-900); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6); }
.cta-box .btn-primary:hover { background: #eaf9fd; }
.cta-box :focus-visible { outline-color: var(--cyan-400); }

/* =====================================================================
   VISIONNEUSE
   ===================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-visionneuse);
  display: flex; align-items: center; justify-content: center;
  padding: 76px 88px;
  background: rgba(6, 14, 26, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-moyen) var(--ease-std), visibility 0s linear var(--t-moyen);
}
.lightbox.active { opacity: 1; visibility: visible; transition: opacity var(--t-moyen) var(--ease-std); }
.lightbox :focus-visible { outline-color: var(--cyan-400); }
.lightbox-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 16px;
  background: #fff; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .85);
  transform: scale(.97); transition: transform .45s var(--ease-sortie);
}
.lightbox.active .lightbox-img { transform: none; }
.lightbox-close, .lightbox-nav {
  position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
  transition: background-color var(--t-rapide) var(--ease-std);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav { top: 50%; margin-top: -26px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-counter {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: .86rem; font-variant-numeric: tabular-nums; color: #fff;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.lightbox.portal-lightbox { padding-bottom: 150px; }
.lightbox.portal-lightbox .lightbox-counter { top: 24px; bottom: auto; }
.portal-lightbox-caption {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: min(920px, calc(100vw - 32px)); padding: 14px 20px; border-radius: 18px;
  text-align: center; font-size: .88rem; line-height: 1.55; color: rgba(255, 255, 255, .9);
  background: rgba(17, 37, 63, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.portal-lightbox-caption strong { display: block; margin-bottom: 3px; color: var(--cyan-400); }

/* =====================================================================
   SECTIONS ÉLARGIES (demande du 18 octobre) : services, processus, réalisations, forfaits et appel aux partenaires
   prennent la largeur de l'îlot « Le problème » (marge des photos pleine largeur de chaque côté). Les paragraphes
   gardent une longueur de ligne confortable.
   ===================================================================== */
.services > .container, .process .container, .showcase > .container, .pricing > .container, .partner-callout > .container {
  max-width: none; padding-inline: var(--inset);
}
.service-card p, .step-body p { max-width: 70ch; }

/* Processus (18 octobre) : le bas de la photo s'aligne sur le bas de la dernière étape, à toutes les largeurs à deux
   colonnes. Étapes plus courtes que l'intro (grands écrans) : elles descendent. Étapes plus hautes (1024 à 1536 px) :
   la photo s'allonge pour remplir, cadrée sur l'arpenteur et le Château. L'intro n'est plus collante. */
@media (min-width: 1024px) {
  .process-grid { align-items: stretch; }
  .process-intro { position: relative; top: auto; display: flex; flex-direction: column; align-items: flex-start; }
  .process-intro > .viseur { align-self: stretch; flex: 1 0 auto; }
  .process-intro .viseur-photo img { object-position: 30% 55%; }
  .process-steps { align-self: end; }
}

/* Forfaits (18 octobre) : les trois cartes reprennent leur ancien format (largeur de contenu de 1280 px), centrées ;
   la photo de la cour garde toute la largeur de la section. */
@media (min-width: 961px) {
  .pricing-stage .pricing-grid { max-width: calc(var(--contenu-max) - 2 * clamp(14px, 2.4vw, 34px)); margin-inline: auto; }
}

/* =====================================================================
   REPLIS : sans flou, transparence réduite
   ===================================================================== */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero-card, .hero-card--titre, .stat-item-hero { background: rgba(252, 252, 251, .95); }
  .cta-box { background: rgba(17, 37, 63, .92); }
  .pain-card.glass--sombre { background: rgba(17, 37, 63, .92); }
}
@media (prefers-reduced-transparency: reduce) {
  .hero-card, .hero-card--titre, .stat-item-hero { background: #fbfbfa; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cta-box { background: #11253f; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cta-box p::before { display: none; }
  .pain-card.glass--sombre { background: #11253f; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* =====================================================================
   ADAPTATIF
   ===================================================================== */
@media (max-width: 1100px) {
  .showcase-project--plateforme, .showcase-project--veille { grid-column: 1 / -1; }
  #gallery-2 .showcase-img { aspect-ratio: 1600 / 649; }
  #gallery-2 .showcase-img img { object-position: center; }
  .portal-project { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "tete" "controles" "galerie" "atouts"; }
  .pain-media::after {
    background: linear-gradient(180deg, rgba(10, 22, 40, .9) 0%, rgba(10, 22, 40, .55) 26%, rgba(10, 22, 40, .16) 46%, rgba(10, 22, 40, .66) 66%, rgba(10, 22, 40, .95) 100%);
  }
  .pain-content .section-header { max-width: 640px; margin-bottom: clamp(200px, 30vw, 300px); }
  .pricing-flexible { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .flexible-action { grid-column: 1 / -1; padding-left: 0; padding-top: 22px; }
  .calque .flexible-action { box-shadow: inset 0 1px 0 var(--panneau-filet); }
}
@media (max-width: 1023px) {
  .process-grid { grid-template-columns: minmax(0, 1fr); row-gap: clamp(32px, 5vh, 52px); }
  .process-intro { position: relative; top: auto; }
}
@media (max-width: 960px) {
  .hero-plate { grid-template-columns: minmax(0, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-inner { grid-template-columns: minmax(0, 1fr); }
  .trust-inner p { max-width: none; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-entry { grid-template-columns: minmax(0, 1fr); }
  .calque .entry-deliverables { box-shadow: inset 0 1px 0 var(--panneau-filet); }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 580px; margin-inline: auto; gap: 34px; }
  .pricing-card.featured { translate: none; }
  .partner-callout-box { grid-template-columns: minmax(0, 1fr); grid-template-areas: "texte" "action" "photo"; grid-template-rows: none; padding: 26px 16px 16px 26px; }
  .partner-copy { padding-top: 6px; }
  .partner-callout-box > .btn { margin-bottom: 4px; }
  .partner-photo { min-height: 300px; }
  .aq-reading-grid { grid-template-columns: minmax(0, 1fr); }
  .pain-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .cta-stage { min-height: 0; align-items: flex-end; padding-top: clamp(300px, 52vw, 470px); }
  .cta-photo img { object-position: 64% 40%; }
  .cta-inner { padding-bottom: 14px; }
}
@media (max-width: 700px) {
  .hero-stage { border-radius: 28px; }
  .hero-top-inner { align-items: flex-end; padding: min(30vh, 250px) 12px 18px; }
  .hero-card--titre { width: 100%; padding: 22px 20px; border-radius: 26px; }
  .hero-defiler { display: none; }
  .label { margin-bottom: 18px; padding: 7px 12px 7px 9px; font-size: .72rem; letter-spacing: .1em; gap: 8px; }
  .hero h1 { margin-bottom: 18px; }
  .hero-tagline { font-size: 1rem; }
  .hero-buttons { margin-top: 22px; gap: 10px; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .hero-cam img { object-position: 50% 30%; }
  .hero-card--texte { border-radius: 26px; }
  .hero-plate { gap: 12px; padding: 0 12px 28px; }
  .hero-stats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stat-item-hero { padding: 20px; border-radius: 22px; }
  .trust-list { grid-template-columns: minmax(0, 1fr); }
  .trust-inner { padding: 20px; }
  .pain-media img { object-position: 40% 50%; }
  .pain-media::after {
    background: linear-gradient(180deg, rgba(10, 22, 40, .9) 0%, rgba(10, 22, 40, .5) 30%, rgba(10, 22, 40, .15) 46%, rgba(10, 22, 40, .7) 66%, rgba(10, 22, 40, .94) 100%);
  }
  .pain-content .section-header { margin-bottom: 220px; }
  .pain-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pain-card { padding: 24px 22px; }
  .pain-card, .stat-item-hero { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .calque { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--panneau-fond-plein); }
  .pricing-card.featured.calque { background: var(--panneau-fond-plein); }
  .pain-card.glass--sombre { background: linear-gradient(150deg, rgba(20, 38, 62, .86) 0%, rgba(10, 22, 40, .82) 100%); }
  .bento-services { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; }
  .services-photo { height: 200px; border-radius: 24px; }
  .service-card--verre { padding: 26px 24px; border-radius: 26px; }
  .process-intro::before { inset: -16px -12px auto; }
  .timeline-step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; }
  .step-circle { width: 44px; height: 44px; font-size: 1.15rem; }
  .steps-rail { left: 21.5px; }
  .step-body { padding: 20px 18px 22px; }
  .aq-process-context { padding: 20px 22px; }
  .showcase-project { padding: 18px; border-radius: 28px; gap: 18px; }
  .portal-project { padding: 18px; }
  .gallery-arrow { width: 44px; height: 44px; margin-top: -22px; }
  .portal-figure { flex-basis: 100%; }
  .pricing-card { padding: 34px 22px 24px; }
  .pricing-flexible { grid-template-columns: minmax(0, 1fr); }
  .flexible-action { grid-column: auto; }
  .choose-plan-btn { white-space: normal; padding: 12px 22px; }
  .dispo-btn { min-height: 44px; }
  .entry-badge, .flexible-badge, .partner-callout-kicker, .aq-category { border-radius: 12px; padding-block: 5px; }
  .partner-callout-box h2 { font-size: min(var(--taille-h2), 6.6vw); }
  .cta-stage { min-height: 0; align-items: flex-end; padding-top: min(58vh, 460px); }
  .cta-photo img { object-position: 66% 40%; }
  .cta-inner { padding-inline: 10px; padding-bottom: 10px; }
  .cta-box { padding: 26px 22px; border-radius: 26px; }
  .cta-box h2 { font-size: min(var(--taille-h2), 7vw); }
  .cta-box .btn { width: 100%; }
  .lightbox { padding: 64px 8px 96px; }
  .lightbox-nav { top: auto; bottom: 18px; margin-top: 0; width: 48px; height: 48px; }
  .lightbox-counter { bottom: 30px; }
  .lightbox.portal-lightbox { padding-bottom: 210px; }
  .lightbox.portal-lightbox .lightbox-nav { bottom: 140px; }
  .portal-lightbox-caption { bottom: 16px; font-size: .78rem; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-images { scroll-behavior: auto; }
  .service-card--verre:hover, .aq-reading-card:hover { transform: none; }
}
/* Téléphone sans mouvement : même cadrage fixe que l'arrivée de la caméra (Château au-dessus du panneau) */
@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .hero-cam { transform: translate(0, -12%) scale(1.12); }
}

/* =====================================================================
   FORMATION IA : carte « sur demande » (19 octobre 2026), même gabarit que le Diagnostic
   ===================================================================== */
.pricing-entry--formation { margin-top: 44px; }
.entry-price--texte { font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -.02em; }

/* =====================================================================
   PROGRAMMES D'AIDE : note sous les prix (29 octobre 2026), même gabarit que l'offre flexible
   ===================================================================== */
.pricing-flexible--aide { scroll-margin-top: 110px; }
.aide-details { display: grid; gap: 14px; padding-top: 6px; font-size: .97rem; line-height: 1.62; }
.calque .aide-details { color: var(--panneau-texte); }
/* Colonnes du centre et de droite alignées sur le titre (pastille + marge du titre : 46 px), 30 octobre 2026 */
@media (min-width: 701px) { .pricing-flexible--aide .aide-details { padding-top: 46px; } }
@media (min-width: 1101px) { .pricing-flexible--aide .flexible-action { padding-top: 46px; } }

/* Bandeau « Pour quelles PME ? » à deux voies et bande du fondateur (1er novembre 2026) */
.trust--voies .trust-inner { grid-template-columns: minmax(0, .7fr) minmax(0, 2fr) minmax(0, 1.3fr); align-items: start; gap: 22px 36px; padding: 24px 28px; }
.trust--voies .trust-titre { margin: 0; font-size: 1.12rem; font-weight: 720; line-height: 1.3; color: var(--panneau-titre); }
.trust--voies .trust-voie-titre { max-width: none; margin-bottom: 12px; font-size: .74rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--panneau-accent); }
.trust--voies .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust--voies .trust-voie-texte { max-width: 44ch; font-size: .95rem; font-weight: 500; line-height: 1.5; }
.trust--voies .service-link { margin-top: 8px; }
.fondateur-bande { padding-top: var(--ecart); }
.fondateur-carte { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 26px 34px; max-width: 1060px; margin-inline: auto; padding: 28px 34px; border-radius: 28px; }
.fondateur-photo { width: 150px; height: 200px; object-fit: cover; object-position: 50% 18%; border-radius: 20px; }
.fondateur-texte .eyebrow { margin-bottom: 12px; }
.fondateur-texte h2 { margin: 0 0 12px; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); line-height: 1.22; }
.fondateur-texte p { max-width: 70ch; line-height: 1.62; }
.fondateur-texte .fondateur-note { margin-top: 10px; font-size: .86rem; }
@media (max-width: 1100px) {
  .trust--voies .trust-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trust--voies .trust-titre { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .trust--voies .trust-inner { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .trust--voies .trust-list { grid-template-columns: minmax(0, 1fr); }
  .fondateur-carte { grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 14px 18px; padding: 22px 20px; }
  .fondateur-photo { width: 92px; height: 124px; border-radius: 16px; }
}

/* Premier écran mobile de l'accueil et compteur 9,2 % (1er novembre 2026) */
@media (max-width: 700px) {
  .hero-top-inner { align-items: flex-start; padding-top: min(16vh, 125px); }
  .hero-card--titre { padding: 20px 18px; }
  .hero-card--titre .label { margin-bottom: 12px; letter-spacing: .06em; }
  .hero h1 { margin-bottom: 10px; line-height: 1.1; }
  .hero-tagline { font-size: .95rem; line-height: 1.5; }
  .hero-buttons { margin-top: 14px; }
}
.chiffre-num--anime { position: relative; color: transparent; }
.chiffre-num--anime::after { content: attr(data-anime); content: attr(data-anime) / ""; position: absolute; left: 0; top: 0; color: var(--cyan-850); }
