/* ==========================================================================
   Consul-TIX — Feuille de style principale
   Les couleurs, polices et espacements viennent de charte.css, généré
   automatiquement à partir de src/data/charte.json. Ne pas écrire de valeur
   de couleur en dur dans ce fichier.
   ========================================================================== */

/* --- Remise à zéro ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:root { --h-entete: 158px; }
body { padding-top: var(--h-entete); }
@media (max-width: 480px) { :root { --h-entete: 118px; } }
:target { scroll-margin-top: calc(var(--h-entete) + 1.5rem); }
[id] { scroll-margin-top: calc(var(--h-entete) + 1.5rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body { margin: 0; background: var(--c-blanc-ivoire); color: var(--c-anthracite);
  font-family: var(--f-courant); font-weight: var(--fw-courant); font-size: var(--t-courant);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* --- Titres ------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: var(--fw-titre);
  color: var(--c-bleu-petrole); margin: 0 0 var(--e-sm); line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-family: var(--f-soustitre); font-weight: var(--fw-soustitre);
  font-size: var(--t-h3); line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 var(--e-sm); max-width: var(--l-texte); }
:where(h1,h2,h3,p,li) { text-wrap: pretty; }
:where(h1,h2) { text-wrap: balance; }

/* --- Accessibilité ------------------------------------------------------ */
:focus-visible { outline: 3px solid var(--c-cyan-signature); outline-offset: 3px; border-radius: var(--r-sm); }
.section-sombre :focus-visible { outline-color: var(--c-or-champagne); }
/* Ancre sur la fenetre, pas sur le flux : l'en-tete etant fixe, le corps porte un
   padding-top de la hauteur de l'en-tete. Un lien en `absolute` partait donc de sous
   l'en-tete, et -140% de sa propre hauteur ne suffisait pas a le sortir de l'ecran :
   il restait visible par-dessus la navigation. `fixed; top: 0` le place au bord haut
   de la fenetre, d'ou -200% le masque completement. */
.lien-evitement { position: fixed; top: 0; left: 50%; transform: translate(-50%, -200%);
  z-index: 200; background: var(--c-or-champagne); color: var(--c-bleu-petrole);
  padding: .85rem 1.5rem; border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: var(--fw-bouton); font-size: var(--t-bouton); text-decoration: none; transition: transform .2s ease; }
.lien-evitement:focus { transform: translate(-50%, 0); }
.seul-lecteur { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Utilitaires d'espacement -------------------------------------------
   La politique de securite du site interdit les attributs `style` en ligne
   (`style-src 'self'`, sans `unsafe-inline`) : le navigateur les ignore en
   silence, sans rien signaler. Tout reglage ponctuel passe donc par une classe.
   -------------------------------------------------------------------------- */
.marge-haut-md    { margin-top: var(--e-md); }
.marge-haut-lg    { margin-top: var(--e-lg); }
.marge-haut-liste { margin-top: 1.25rem; }
.ecart-md         { gap: var(--e-md); }
.centre-inline    { margin-inline: auto; }
.pile-xl          { display: grid; gap: var(--e-xl); }
.texte-or         { color: var(--c-or-champagne); }

/* --- Trame -------------------------------------------------------------- */
.contenant { width: min(100% - 2.5rem, var(--l-contenu)); margin-inline: auto; }
.contenant-etroit { width: min(100% - 2.5rem, var(--l-etroit)); margin-inline: auto; }
.section { padding-block: var(--e-section-mobile); position: relative; }
@media (min-width: 900px) { .section { padding-block: var(--e-section); } }
.section-claire  { background: var(--c-blanc-ivoire); }
/* Liseré d'or à la jonction des sections foncées et claires : une couture nette
   plutôt qu'une rupture brutale. */
.section-sombre + .section-claire, .section-sombre + .section-blanche,
.section-carbone + .section-claire, .section-carbone + .section-blanche,
.heros + .section-claire, .heros + .section-blanche, .banniere + .section-blanche,
.banniere + .section-claire {
  border-top: 1px solid color-mix(in srgb, var(--c-or-champagne) 30%, transparent);
}
.section-blanche { background: var(--c-blanc-pur); }
.section-sombre  { background: var(--c-bleu-petrole); color: var(--c-blanc-ivoire); }
.section-carbone { background: var(--c-noir-carbone); color: var(--c-blanc-ivoire); }
.section-sombre :where(h1,h2,h3,h4), .section-carbone :where(h1,h2,h3,h4) { color: var(--c-blanc-pur); }
.section-sombre .surtitre, .section-carbone .surtitre { color: var(--c-or-champagne); }
.section-sombre .texte-doux, .section-carbone .texte-doux { color: var(--c-ivoire-doux); }
.texte-doux { color: var(--c-anthracite-doux); }

/* Texture discrète inspirée du cercle du logo */
.texture-cercle::before {
  content: ""; position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background-image:
    radial-gradient(circle at 88% 12%, transparent 0 17.6rem, currentColor 17.6rem 17.65rem, transparent 17.65rem),
    radial-gradient(circle at 4% 92%, transparent 0 13.4rem, currentColor 13.4rem 13.45rem, transparent 13.45rem);
  opacity: .14; }
.section-claire.texture-cercle::before, .section-blanche.texture-cercle::before { opacity: .3; color: var(--c-cyan-profond); }
.section > .contenant, .section > .contenant-etroit { position: relative; z-index: 1; }

/* --- Composants normalisés ---------------------------------------------- */
.surtitre { display: block; font-family: var(--f-soustitre); font-weight: var(--fw-soustitre);
  font-size: var(--t-petit); letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-or-texte); margin-bottom: var(--e-sm); }
.filet { width: 64px; height: 2px; background: var(--c-or-champagne); border: 0; margin: 0 0 var(--e-md); }
.plomb { font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); line-height: 1.65; }

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--f-bouton); font-weight: var(--fw-bouton); font-size: var(--t-bouton);
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 1.05rem 2rem; border-radius: var(--r-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: background var(--m-duree) var(--m-courbe), color var(--m-duree) var(--m-courbe),
    border-color var(--m-duree) var(--m-courbe), transform var(--m-duree) var(--m-courbe); }
.bouton:hover { transform: translateY(-1px); }
.bouton--or { background: var(--c-or-champagne); color: var(--c-bleu-petrole); border-color: var(--c-or-champagne); }
.bouton--or:hover { background: var(--c-blanc-pur); border-color: var(--c-blanc-pur); }
.bouton--contour { background: transparent; color: var(--c-or-champagne); border-color: var(--c-or-champagne); }
.bouton--contour:hover { background: var(--c-or-champagne); color: var(--c-bleu-petrole); }
.section-claire .bouton--contour, .section-blanche .bouton--contour { color: var(--c-or-texte); border-color: var(--c-or-texte); }
.section-claire .bouton--contour:hover, .section-blanche .bouton--contour:hover { background: var(--c-bleu-petrole); color: var(--c-blanc-pur); border-color: var(--c-bleu-petrole); }
.bouton--petrole { background: var(--c-bleu-petrole); color: var(--c-blanc-pur); border-color: var(--c-bleu-petrole); }
.bouton--petrole:hover { background: var(--c-noir-carbone); border-color: var(--c-noir-carbone); }

.lien-fleche { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
  font-family: var(--f-soustitre); font-weight: var(--fw-soustitre); font-size: var(--t-bouton);
  letter-spacing: .06em; text-transform: uppercase; color: var(--c-cyan-texte);
  border-bottom: 1.5px solid currentColor; padding-bottom: .2rem; transition: gap var(--m-duree) var(--m-courbe), color var(--m-duree) var(--m-courbe); }
.lien-fleche:hover { gap: .9rem; color: var(--c-bleu-petrole); }
.section-sombre .lien-fleche, .section-carbone .lien-fleche { color: var(--c-cyan-signature); }
.section-sombre .lien-fleche:hover, .section-carbone .lien-fleche:hover { color: var(--c-or-champagne); }
.lien-fleche .fleche { transition: transform var(--m-duree) var(--m-courbe); }
.lien-fleche:hover .fleche { transform: translateX(3px); }

.pastille { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-soustitre);
  font-weight: var(--fw-soustitre); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .85rem; border-radius: var(--r-rond); border: 1.5px solid; }
.pastille::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.pastille--disponible { color: var(--c-cyan-texte); border-color: color-mix(in srgb, var(--c-cyan-texte) 40%, transparent); background: color-mix(in srgb, var(--c-cyan-texte) 8%, transparent); }
.pastille--a-venir { color: var(--c-or-texte); border-color: color-mix(in srgb, var(--c-or-texte) 40%, transparent); background: color-mix(in srgb, var(--c-or-texte) 8%, transparent); }
.pastille--en-developpement { color: var(--c-anthracite-doux); border-color: color-mix(in srgb, var(--c-anthracite-doux) 35%, transparent); background: color-mix(in srgb, var(--c-anthracite-doux) 7%, transparent); }
.section-sombre .pastille--disponible, .section-carbone .pastille--disponible { color: var(--c-cyan-signature); border-color: color-mix(in srgb, var(--c-cyan-signature) 45%, transparent); background: color-mix(in srgb, var(--c-cyan-signature) 12%, transparent); }
.section-sombre .pastille--a-venir, .section-carbone .pastille--a-venir { color: var(--c-or-champagne); border-color: color-mix(in srgb, var(--c-or-champagne) 45%, transparent); background: color-mix(in srgb, var(--c-or-champagne) 12%, transparent); }
.section-sombre .pastille--en-developpement, .section-carbone .pastille--en-developpement { color: var(--c-ivoire-doux); border-color: color-mix(in srgb, var(--c-ivoire-doux) 35%, transparent); background: color-mix(in srgb, var(--c-ivoire-doux) 10%, transparent); }

.carte--liee { text-decoration: none; }
.carte--liee :where(h3,p,span) { text-decoration: none; }
.carte { background: var(--c-blanc-pur); border: 1px solid color-mix(in srgb, var(--c-bleu-petrole) 14%, transparent);
  border-radius: var(--r-lg); padding: var(--e-md); display: flex; flex-direction: column; gap: .85rem;
  box-shadow: 0 1px 2px rgba(16,20,23,.04), 0 12px 32px -18px rgba(16,20,23,.28);
  transition: transform var(--m-duree) var(--m-courbe), box-shadow var(--m-duree) var(--m-courbe), border-color var(--m-duree) var(--m-courbe); }
.carte h3 { margin: 0; }
.carte p { margin: 0; }
.carte--liee:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c-or-champagne) 55%, transparent);
  box-shadow: 0 1px 2px rgba(16,20,23,.05), 0 26px 50px -24px rgba(16,20,23,.4); }
.section-sombre .carte, .section-carbone .carte { background: color-mix(in srgb, var(--c-blanc-pur) 6%, transparent);
  border-color: color-mix(in srgb, var(--c-blanc-pur) 14%, transparent); box-shadow: none; color: var(--c-blanc-ivoire); }
.section-sombre .carte--liee:hover, .section-carbone .carte--liee:hover { background: color-mix(in srgb, var(--c-blanc-pur) 10%, transparent); border-color: color-mix(in srgb, var(--c-or-champagne) 50%, transparent); }
.carte__pied { margin-top: auto; padding-top: .4rem; }

.grille { display: grid; gap: var(--e-md); }
@media (min-width: 680px) { .grille--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 680px) { .grille--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grille--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 680px) { .grille--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grille--4 { grid-template-columns: repeat(4, 1fr); } }
.entete-section { margin-bottom: var(--e-md); max-width: var(--l-texte); }
.section-marques { padding-block-start: calc(var(--e-section-mobile) - 1rem); }
@media (min-width: 900px) { .section-marques { padding-block-start: calc(var(--e-section) - 2rem); } }
.entete-section p { margin-bottom: 0; }

/* Numéro décoratif des domaines d'activité */
.domaine { position: relative; padding-top: .35rem; padding-left: var(--e-sm);
  border-left: 1px solid color-mix(in srgb, var(--c-or-champagne) 24%, transparent);
  transition: border-color var(--m-duree) var(--m-courbe); }
.domaine:hover { border-left-color: color-mix(in srgb, var(--c-or-champagne) 70%, transparent); }
.domaine__num { font-family: var(--f-titre); font-weight: var(--fw-titre); font-size: 2.6rem;
  line-height: 1; color: var(--c-or-champagne); opacity: .55; display: block; margin-bottom: .6rem; }
.domaine h3 { margin-bottom: .35rem; }

/* --- En-tête et navigation ---------------------------------------------- */
/* En-tête fixe, et non collante. En « sticky », l'en-tête occupe de la place dans le
   flux : en se compactant elle raccourcissait le document, le contenu remontait d'un coup
   et le navigateur corrigeait la position de défilement vers l'arrière. La page sursautait
   et pouvait rester coincée entre les deux états. Fixe, elle est hors du flux : l'espace
   réservé en haut du document ne change jamais, quelle que soit sa hauteur réelle. */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--c-bleu-petrole);
  border-bottom: 1px solid color-mix(in srgb, var(--c-blanc-pur) 10%, transparent);
  transition: min-height var(--m-duree) var(--m-courbe); }
/* Au défilement, l'en-tête se compacte : le logo reste imposant à l'arrivée sur la page,
   sans occuper le tiers de l'écran pendant la lecture. */
.entete[data-compacte="true"] .entete__barre { min-height: 92px; }
.entete[data-compacte="true"] .entete__logo img { height: 72px; }
@media (max-width: 480px) {
  .entete[data-compacte="true"] .entete__barre { min-height: 78px; }
  .entete[data-compacte="true"] .entete__logo img { height: 58px; }
}
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: var(--e-sm);
  min-height: var(--h-entete); }
.entete__logo { display: inline-flex; align-items: center; text-decoration: none; padding: .4rem 0; }
.entete__logo img { height: 107px; width: auto; transition: height var(--m-duree) var(--m-courbe); }
@media (max-width: 480px) { .entete__logo img { height: 86px; } }
.nav { display: none; }
@media (min-width: 1040px) { .nav { display: flex; align-items: center; gap: .35rem; } }
.nav__lien { display: inline-flex; align-items: center; gap: .4rem; position: relative;
  font-family: var(--f-navigation); font-weight: var(--fw-navigation); font-size: var(--t-navigation);
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--c-blanc-ivoire);
  padding: .85rem 1rem; border-radius: var(--r-sm); background: none; border: 0; cursor: pointer;
  transition: color var(--m-duree) var(--m-courbe); }
.nav__lien::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .45rem; height: 1.5px;
  background: var(--c-or-champagne); transform: scaleX(0); transform-origin: left;
  transition: transform var(--m-duree) var(--m-courbe); }
.nav__lien:hover, .nav__lien[aria-expanded="true"] { color: var(--c-or-champagne); }
.nav__lien:hover::after, .nav__lien[aria-current="page"]::after, .nav__lien[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__lien[aria-current="page"] { color: var(--c-or-champagne); }
.nav__chevron { width: .55rem; height: .55rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--m-duree) var(--m-courbe); }
.nav__lien[aria-expanded="true"] .nav__chevron { transform: rotate(-135deg) translate(-2px, -2px); }

/* « Nos solutions » : le texte est un lien vers la page des solutions, la fleche est
   un bouton distinct qui deplie le menu. Les deux vivent dans un meme conteneur qui
   porte l'habillage de .nav__lien, pour que le trait dore passe sous l'ensemble et
   que rien ne bouge a l'oeil : les rembourrages ci-dessous redonnent exactement
   1rem a gauche, 0,4rem entre les deux, 1rem a droite, comme l'ancien bouton. */
.nav__groupe { padding: 0; gap: 0; }
.nav__groupe__texte,
.nav__groupe__fleche { display: inline-flex; align-items: center; color: inherit;
  background: none; border: 0; font: inherit; cursor: pointer; }
.nav__groupe__texte { text-decoration: none; padding: .85rem .2rem .85rem 1rem; }
.nav__groupe__fleche { padding: .85rem 1rem .85rem .2rem; }
.nav__groupe[data-ouvert="true"],
.nav__groupe[data-actuel="true"] { color: var(--c-or-champagne); }
.nav__groupe[data-ouvert="true"]::after,
.nav__groupe[data-actuel="true"]::after { transform: scaleX(1); }
.nav__groupe[data-ouvert="true"] .nav__chevron { transform: rotate(-135deg) translate(-2px, -2px); }

/* Méga-menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-blanc-pur);
  border-top: 2px solid var(--c-or-champagne); box-shadow: 0 28px 48px -24px rgba(16,20,23,.45);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--m-duree) var(--m-courbe), transform var(--m-duree) var(--m-courbe), visibility var(--m-duree); }
.mega[data-ouvert="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__grille { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e-lg); padding-block: var(--e-md) var(--e-md); }
.mega__colonne { display: flex; flex-direction: column; gap: .75rem; }
.mega__colonne + .mega__colonne { border-left: 1px solid color-mix(in srgb, var(--c-bleu-petrole) 12%, transparent); padding-left: var(--e-lg); }
.mega__titre { font-family: var(--f-soustitre); font-weight: var(--fw-soustitre); font-size: var(--t-petit);
  letter-spacing: .16em; text-transform: uppercase; color: var(--c-or-texte); margin-bottom: .35rem; }
.mega__entree { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: start;
  text-decoration: none; padding: .85rem 1rem; border-radius: var(--r-md); border: 1px solid transparent;
  transition: background var(--m-duree) var(--m-courbe), border-color var(--m-duree) var(--m-courbe); }
.mega__entree:hover { background: var(--c-blanc-ivoire); border-color: color-mix(in srgb, var(--c-or-champagne) 45%, transparent); }
.mega__nom { grid-column: 1; font-family: var(--f-soustitre); font-weight: var(--fw-soustitre);
  font-size: 1.05rem; color: var(--c-bleu-petrole); }
.mega__entree .pastille { grid-column: 2; justify-self: end; }
.mega__desc { grid-column: 1 / -1; font-size: .92rem; color: var(--c-anthracite-doux); line-height: 1.5; }

/* Bascule de langue */
.langue { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none;
  font-family: var(--f-navigation); font-weight: var(--fw-navigation); font-size: var(--t-navigation);
  letter-spacing: .1em; text-transform: uppercase; color: var(--c-blanc-ivoire);
  border: 1.5px solid color-mix(in srgb, var(--c-blanc-pur) 28%, transparent);
  padding: .55rem 1rem; border-radius: var(--r-rond); margin-left: .6rem;
  transition: border-color var(--m-duree) var(--m-courbe), color var(--m-duree) var(--m-courbe); }
.langue:hover { border-color: var(--c-or-champagne); color: var(--c-or-champagne); }

/* Bouton du menu mobile */
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 11px; background: none; border: 0; cursor: pointer; }
@media (min-width: 1040px) { .burger { display: none; } }
.burger span { display: block; height: 1.5px; background: var(--c-blanc-ivoire); border-radius: 2px;
  transition: transform var(--m-duree) var(--m-courbe), opacity var(--m-duree) var(--m-courbe); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu mobile */
.menu-mobile { display: block; position: fixed; inset: 0; background: var(--c-bleu-petrole);
  padding: calc(var(--h-entete) + var(--e-md)) 0 var(--e-xl); overflow-y: auto; z-index: 99;
  transform: translateX(100%); visibility: hidden; transition: transform var(--m-duree) var(--m-courbe), visibility var(--m-duree); }
.menu-mobile[data-ouvert="true"] { transform: translateX(0); visibility: visible; }
@media (min-width: 1040px) { .menu-mobile { display: none; } }
.menu-mobile a { display: block; text-decoration: none; color: var(--c-blanc-ivoire);
  font-family: var(--f-navigation); font-weight: var(--fw-navigation); font-size: 1.05rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--c-blanc-pur) 12%, transparent); }
.menu-mobile a[aria-current="page"] { color: var(--c-or-champagne); }
.menu-mobile .mega__titre { margin-top: var(--e-md); color: var(--c-or-champagne); }
.menu-mobile .menu-mobile__sous { font-size: .95rem; text-transform: none; letter-spacing: 0;
  font-weight: 400; color: var(--c-ivoire-doux); display: block; padding-top: .2rem; }
.menu-mobile .menu-mobile__marque { padding: .9rem 0; }
body[data-menu-ouvert="true"] { overflow: hidden; }

/* --- Bandeau d'accueil -------------------------------------------------- */
.heros { background: var(--c-bleu-petrole); color: var(--c-blanc-ivoire); position: relative; overflow: hidden;
  padding-block: calc(var(--e-section-mobile) + 1rem) var(--e-section-mobile); }
@media (min-width: 900px) { .heros { padding-block: calc(var(--e-section) - 1.5rem) calc(var(--e-section) - 2.5rem); } }
.heros::before { content: ""; position: absolute; top: 50%; right: -14rem; width: 46rem; height: 46rem;
  transform: translateY(-50%); border: 1px solid color-mix(in srgb, var(--c-cyan-signature) 34%, transparent);
  border-radius: 50%; clip-path: inset(0 0 0 14%); pointer-events: none; }
.heros::after { content: ""; position: absolute; bottom: -22rem; left: -16rem; width: 38rem; height: 38rem;
  border: 1px solid color-mix(in srgb, var(--c-or-champagne) 26%, transparent); border-radius: 50%; pointer-events: none; }
.heros__contenu { position: relative; z-index: 1; max-width: 50rem; }
.heros h1 { color: var(--c-blanc-pur); margin-bottom: var(--e-md); }
.heros h1 .seconde-ligne { display: block; color: var(--c-or-champagne); }
.heros__description { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); color: var(--c-blanc-ivoire);
  max-width: 44rem; margin-bottom: var(--e-md); }
.heros__boutons { display: grid; gap: var(--e-sm); margin-top: var(--e-md); max-width: 38rem; }
@media (min-width: 560px) { .heros__boutons { grid-template-columns: 1fr 1fr; } }
/* Les deux portes d'entrée ont exactement le même poids : même fond, même bordure,
   même largeur, même hauteur. Aucune des deux clientèles n'est mise en avant. */
.heros__boutons .bouton { width: 100%; }
.heros__slogan { margin-top: var(--e-lg); padding-top: var(--e-md);
  border-top: 1px solid color-mix(in srgb, var(--c-blanc-pur) 16%, transparent);
  font-family: var(--f-titre); font-weight: var(--fw-titre); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem);
  color: var(--c-or-champagne); letter-spacing: .01em; }

/* Bandeau des pages intérieures */
.banniere { background: var(--c-bleu-petrole); color: var(--c-blanc-ivoire); position: relative; overflow: hidden;
  padding-block: calc(var(--e-xl) - .5rem) var(--e-xl); }
.banniere::before { content: ""; position: absolute; top: -10rem; right: -10rem; width: 34rem; height: 34rem;
  border: 1px solid color-mix(in srgb, var(--c-cyan-signature) 30%, transparent); border-radius: 50%; pointer-events: none; }
.banniere h1 { color: var(--c-blanc-pur); margin-bottom: var(--e-sm); }
.banniere__contenu { position: relative; z-index: 1; }
.banniere p { color: var(--c-blanc-ivoire); max-width: 46rem; margin-bottom: 0; }

/* Fil d'Ariane */
.ariane { font-size: .85rem; color: var(--c-ivoire-doux); margin-bottom: var(--e-sm); }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.ariane li + li::before { content: "›"; margin-right: .5rem; opacity: .6; }
.ariane a { color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.ariane a:hover { color: var(--c-or-champagne); }

/* --- Blocs de marque ---------------------------------------------------- */
.marque-entete { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-sm); margin-bottom: var(--e-sm); }
.bloc-clientele { padding: var(--e-lg) var(--e-md); border-radius: var(--r-lg); background: var(--c-blanc-pur);
  border: 1px solid color-mix(in srgb, var(--c-bleu-petrole) 14%, transparent);
  box-shadow: 0 1px 2px rgba(16,20,23,.04), 0 18px 44px -28px rgba(16,20,23,.3); display: flex; flex-direction: column; gap: var(--e-sm); }
.bloc-clientele h2 { font-size: clamp(1.7rem, 1.4rem + 1.1vw, 2.2rem); margin-bottom: .25rem; }
.liste-atouts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-sm); }
.liste-atouts li { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; }
.liste-atouts .puce { grid-row: span 2; width: 2.1rem; height: 2.1rem; border-radius: 50%; margin-top: .15rem;
  border: 1.5px solid var(--c-or-champagne); display: grid; place-items: center;
  font-family: var(--f-titre); font-weight: var(--fw-titre); color: var(--c-or-texte); font-size: 1rem; }
.section-sombre .liste-atouts .puce, .section-carbone .liste-atouts .puce { color: var(--c-or-champagne); }
.liste-atouts strong { font-family: var(--f-soustitre); font-weight: var(--fw-soustitre); color: var(--c-bleu-petrole); }
.section-sombre .liste-atouts strong, .section-carbone .liste-atouts strong { color: var(--c-blanc-pur); }
.liste-atouts p { margin: 0; }
.note-statut { font-size: .92rem; color: var(--c-anthracite-doux); border-left: 2px solid var(--c-or-champagne);
  padding-left: var(--e-sm); margin-top: var(--e-sm); }
.section-sombre .note-statut, .section-carbone .note-statut { color: var(--c-ivoire-doux); }

/* --- Contact ------------------------------------------------------------ */
.contact-grille { display: grid; gap: var(--e-lg); align-items: start; }
@media (min-width: 940px) { .contact-grille { grid-template-columns: minmax(0,1fr) 20rem; gap: var(--e-xl); } }
.coordonnees { display: grid; gap: var(--e-md); }
.coordonnees dt { font-family: var(--f-soustitre); font-weight: var(--fw-soustitre); font-size: var(--t-petit);
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-or-texte); margin-bottom: .35rem; }
.coordonnees dd { margin: 0; font-size: 1.05rem; }
.coordonnees a { text-decoration: none; border-bottom: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.coordonnees a:hover { color: var(--c-cyan-texte); }

.formulaire { display: grid; gap: var(--e-sm); background: var(--c-blanc-pur); padding: var(--e-md);
  border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--c-bleu-petrole) 10%, transparent); }
.champ { display: grid; gap: .4rem; }
.champ label { font-family: var(--f-soustitre); font-weight: var(--fw-soustitre); font-size: .9rem; color: var(--c-bleu-petrole); }
.champ .aide { font-size: .82rem; color: var(--c-anthracite-doux); font-weight: 400; }
.champ input, .champ select, .champ textarea { width: 100%; font: inherit; color: var(--c-anthracite);
  background: var(--c-blanc-ivoire); border: 1.5px solid color-mix(in srgb, var(--c-bleu-petrole) 20%, transparent);
  border-radius: var(--r-sm); padding: .85rem 1rem; transition: border-color var(--m-duree) var(--m-courbe); }
.champ textarea { min-height: 9.5rem; resize: vertical; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: color-mix(in srgb, var(--c-bleu-petrole) 40%, transparent); }
.champ input[aria-invalid="true"], .champ select[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-color: #A32B2B; }
.champ .erreur { font-size: .85rem; color: #8F2222; }
.champ--case { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.champ--case input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--c-cyan-profond); }
.champ--case label { font-weight: 400; font-family: var(--f-courant); font-size: .95rem; color: var(--c-anthracite); line-height: 1.5; }
.champ--case .erreur { grid-column: 1 / -1; }
.obligatoire-marque { color: #8F2222; }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message-formulaire { border-radius: var(--r-md); padding: var(--e-sm) var(--e-md); font-size: .95rem; }
.message-formulaire--erreur { background: #FBEDED; border: 1.5px solid #D9A3A3; color: #7A1E1E; }
.message-formulaire--succes { background: color-mix(in srgb, var(--c-cyan-signature) 14%, var(--c-blanc-pur));
  border: 1.5px solid var(--c-cyan-profond); color: var(--c-bleu-petrole); }
.message-formulaire ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.message-formulaire a { color: inherit; }
.note-confidentialite { font-size: .85rem; color: var(--c-anthracite-doux); }

/* --- Pied de page ------------------------------------------------------- */
.pied { background: var(--c-noir-carbone); color: var(--c-ivoire-doux); padding-block: var(--e-xl) var(--e-md); }
.pied__grille { display: grid; gap: var(--e-lg); }
@media (min-width: 760px) { .pied__grille { grid-template-columns: 1fr 1fr; gap: var(--e-lg) var(--e-md); } }
@media (min-width: 1100px) { .pied__grille--5 { grid-template-columns: 1.6fr 1fr 1.3fr 1.1fr .9fr; gap: var(--e-md); } }
.pied__mentions { font-size: .82rem; opacity: .75; }
.pied__logo img { height: 96px; width: auto; margin-bottom: var(--e-sm); }
.pied__slogan { font-family: var(--f-titre); font-weight: var(--fw-titre); font-size: 1.3rem;
  color: var(--c-or-champagne); margin-bottom: .6rem; }
.pied h2 { font-family: var(--f-soustitre); font-weight: var(--fw-soustitre); font-size: var(--t-petit);
  letter-spacing: .16em; text-transform: uppercase; color: var(--c-or-champagne); margin-bottom: var(--e-sm); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.pied a { color: var(--c-ivoire-doux); text-decoration: none; transition: color var(--m-duree) var(--m-courbe); }
.pied a:hover { color: var(--c-or-champagne); }
.pied__bas { margin-top: var(--e-lg); padding-top: var(--e-md);
  border-top: 1px solid color-mix(in srgb, var(--c-blanc-pur) 12%, transparent);
  display: flex; flex-wrap: wrap; gap: var(--e-sm) var(--e-md); align-items: center; justify-content: space-between;
  font-size: .85rem; }
.pied__bas p { margin: 0; max-width: none; }
.reseaux { display: flex; gap: .75rem; }
.reseaux a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--c-blanc-pur) 20%, transparent);
  transition: border-color var(--m-duree) var(--m-courbe), color var(--m-duree) var(--m-courbe); }
.reseaux a:hover { border-color: var(--c-or-champagne); }
.reseaux svg { width: 18px; height: 18px; fill: currentColor; }

/* --- Page 404 ----------------------------------------------------------- */
.page-404 { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.page-404 .contenant-etroit { display: grid; justify-items: center; gap: var(--e-sm); }
.page-404 p { margin-inline: auto; }
.page-404 .boutons { display: flex; flex-wrap: wrap; gap: var(--e-sm); justify-content: center; margin-top: var(--e-sm); }

/* --- Apparition discrète ------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .apparait { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--m-courbe), transform 620ms var(--m-courbe); }
  .apparait.est-visible { opacity: 1; transform: none; }
  html.sans-js .apparait { opacity: 1; transform: none; }
}

/* --- Impression --------------------------------------------------------- */
@media print {
  .entete, .menu-mobile, .pied, .lien-evitement, .heros::before, .heros::after { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
}

/* --- Trame technologique ------------------------------------------------
   Placée en fin de feuille : les règles de fond plus haut utilisent la forme
   raccourcie `background`, qui remet l'image à zéro. Une grille de points très
   fine, dans le cyan de la marque, à 9 % d'opacité. Elle donne de la matière au
   fond sans toucher à la direction artistique.
   -------------------------------------------------------------------------- */
/* Trame reservee au heros : repetee sur chaque section sombre, elle devenait du bruit. */
.heros {
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--c-cyan-signature) 9%, transparent) 1px, transparent 0);
  background-size: 42px 42px;
}
@media print { .heros { background-image: none; } }

/* --- Écrans de faible hauteur -------------------------------------------
   Placé en fin de feuille pour passer après la taille de logo par défaut.
   Sur un portable dont l'écran est bas, un en-tête de 142 px mangerait trop
   de place : on le réduit plutôt que de sacrifier le contenu.
   ----------------------------------------------------------------------- */
@media (min-width: 1040px) and (max-height: 820px) {
  :root { --h-entete: 118px; }
  .entete__logo img { height: 88px; }
  .entete[data-compacte="true"] .entete__logo img { height: 66px; }
}
@media (min-width: 1040px) and (max-height: 700px) {
  :root { --h-entete: 100px; }
  .entete__logo img { height: 74px; }
  .entete[data-compacte="true"] .entete__logo img { height: 60px; }
}

/* --- Bloc de vérification de sécurité du formulaire --- */
.champ--verification { display: grid; gap: var(--e-xs); }
.etiquette-verification {
  font-family: var(--f-titre-alt, inherit);
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-anthracite-doux);
}
.champ--verification .cf-turnstile { min-height: 65px; }
@media (max-width: 400px) { .champ--verification .cf-turnstile { transform: scale(.88); transform-origin: left top; } }

/* ================================================================
   Identité visuelle des trois branches
   ================================================================ */
.carte-marque { --accent: var(--c-cyan-profond); position: relative; padding-top: calc(var(--e-md) + 4px); }
.carte-marque::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--accent);
}
.carte-marque--consul-tix-pro { --accent: var(--c-or-champagne); }
.carte-marque--c-tix          { --accent: var(--c-cyan-profond); }
.carte-marque--sereino        { --accent: var(--c-bleu-petrole); }

.marque-entete { display: flex; align-items: center; justify-content: space-between; gap: var(--e-sm); }
.marque-soustitre {
  font-family: var(--f-soustitre); font-size: .78rem; letter-spacing: .10em;
  text-transform: uppercase; color: var(--accent); margin-top: calc(var(--e-xs) * -1);
}
.signe-marque {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: 0 0 auto; color: var(--accent);
}
.signe-marque svg { width: 100%; height: 100%; fill: currentColor; }
.signe-marque img { width: auto; height: 46px; opacity: .92; }
/* Plus de filtre : la carte claire reçoit la variante foncée officielle du logo,
   la carte vedette la variante blanche. Aucune recoloration. */

/* La branche réellement disponible domine visuellement les deux autres. */
.carte-marque--vedette {
  background: var(--c-bleu-petrole); color: var(--c-blanc-ivoire);
  border-color: color-mix(in srgb, var(--c-or-champagne) 40%, transparent);
  box-shadow: 0 18px 40px -24px rgba(16, 20, 23, .55);
}
.carte-marque--vedette::before { background: var(--c-or-champagne); }
.carte-marque--vedette { --accent: var(--c-or-champagne); }
.carte-marque--vedette h3 { color: var(--c-blanc-pur); }
.carte-marque--vedette p { color: var(--c-ivoire-doux); }
.carte-marque--vedette .signe-marque { color: var(--c-cyan-signature); }

.carte-marque--vedette .lien-fleche { color: var(--c-or-champagne); }

/* ================================================================
   Statuts : le disponible doit se lire d'un coup d'œil
   ================================================================ */
.pastille--disponible {
  color: var(--c-blanc-pur);
  background: var(--c-cyan-profond-texte);
  border-color: var(--c-cyan-profond-texte);
}
.section-sombre .pastille--disponible,
.section-carbone .pastille--disponible,
.carte-marque--vedette .pastille--disponible {
  color: var(--c-noir-carbone);
  background: var(--c-cyan-signature);
  border-color: var(--c-cyan-signature);
}
/* « En développement » était gris sur gris : on lui donne une couleur de la charte. */
.pastille--en-developpement {
  color: var(--c-cyan-profond-texte);
  border-color: color-mix(in srgb, var(--c-cyan-profond-texte) 45%, transparent);
  background: color-mix(in srgb, var(--c-cyan-profond-texte) 8%, transparent);
}

/* ================================================================
   Présence du logo — taille et lisibilité uniquement.
   Le fichier n'est ni redessiné, ni déformé, ni recoloré.
   ================================================================ */
.entete__logo img { height: 124px; }
.entete[data-compacte="true"] .entete__logo img { height: 82px; }
@media (max-width: 480px) { .entete__logo img { height: 92px; } }
.pied__logo img { height: 118px; }

/* Le tracé du logo est fin : un halo très discret le décolle du fond foncé
   sans toucher au dessin lui-même. */
.entete__logo img, .pied__logo img {
  filter: drop-shadow(0 0 14px rgba(101, 207, 224, .20));
}
@media (prefers-reduced-motion: no-preference) {
  .entete__logo img { transition: height var(--m-duree) var(--m-courbe); }
}

/* Écrans de faible hauteur : on garde la proportion revue. */
@media (min-width: 1040px) and (max-height: 820px) {
  :root { --h-entete: 126px; }
  .entete__logo img { height: 100px; }
  .entete[data-compacte="true"] .entete__logo img { height: 74px; }
}
@media (min-width: 1040px) and (max-height: 700px) {
  :root { --h-entete: 106px; }
  .entete__logo img { height: 84px; }
  .entete[data-compacte="true"] .entete__logo img { height: 66px; }
}

/* ================================================================
   Photographies — cadrage en arc, profondeur, voile de lisibilité
   ================================================================ */
.photo { display: block; position: relative; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Arc : reprend la courbe du logo et des filets du site. */
.photo--arc {
  border-radius: 240px 18px 18px 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(16, 20, 23, .85);
}
.photo--arc-inverse {
  border-radius: 18px 240px 18px 18px;
  overflow: hidden;
  box-shadow: 0 24px 56px -34px rgba(16, 20, 23, .45);
}

/* Le héros reste lisible par-dessus la photo : voile dégradé vers la gauche. */
.heros__visuel { position: relative; display: none; }
.heros__visuel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(100deg,
    var(--c-bleu-petrole) 0%,
    color-mix(in srgb, var(--c-bleu-petrole) 55%, transparent) 26%,
    transparent 62%);
}
.heros__visuel .photo { border-radius: 240px 18px 18px 18px; }
@media (min-width: 1040px) {
  .heros__visuel { display: block; aspect-ratio: 4 / 3.4; }
  .heros__visuel .photo, .heros__visuel img { height: 100%; }
}

/* Bloc texte + photographie */
.bloc-photo { display: grid; gap: var(--e-xl); align-items: center; }
@media (min-width: 980px) {
  .bloc-photo { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: var(--e-2xl); }
  .bloc-photo .photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 979px) {
  .bloc-photo .photo { aspect-ratio: 16 / 10; }
  .photo--arc-inverse { border-radius: 18px 120px 18px 18px; }
}

/* ================================================================
   Trois branches : les cartes et la composition de l'écosystème
   ================================================================ */
.marques-disposition { display: grid; gap: var(--e-xl); }
@media (min-width: 1200px) {
  .marques-disposition { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1040px) {
  }

/* ================================================================
   Réglages de composition — version visuelle Prestige
   ================================================================ */

/* Le héros donne plus de place à la photographie et un arc moins appuyé. */
@media (min-width: 1040px) {
  .heros__grille { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
  .heros__visuel { aspect-ratio: 4 / 3.15; }
}
.photo--arc { border-radius: 170px 20px 20px 20px; }
.photo--arc-inverse { border-radius: 20px 170px 20px 20px; }
.heros__visuel .photo { border-radius: 170px 20px 20px 20px; }

.marques-disposition { margin-top: var(--e-xl); }


/* Le signe de marque garde ses proportions quelle que soit la variante utilisée. */
.signe-marque picture, .signe-marque picture img { display: block; height: 46px; width: auto; }

/* ================================================================
   Écosystème Consul-TIX — noyau, branches, orbites
   Bande pleine largeur : elle fait partie de la section, ce n'est pas
   un panneau posé par-dessus.
   ================================================================ */
.eco-bande {
  margin: var(--e-2xl) 0;
  width: 100%;
  background:
    radial-gradient(120% 140% at 50% 32%, color-mix(in srgb, var(--c-bleu-petrole) 92%, var(--c-cyan-profond)) 0%, var(--c-bleu-petrole) 58%, var(--c-noir-carbone) 100%);
  padding: var(--e-2xl) var(--e-lg);
  position: relative;
  overflow: hidden;
}

.eco {
  position: relative; margin: 0 auto; max-width: 1060px;
  aspect-ratio: 1000 / 420;
}
.eco__trace { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Noyau : l'entreprise mère */
.eco-noyau {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: clamp(124px, 14.5vw, 162px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%,
    color-mix(in srgb, var(--c-cyan-profond) 36%, var(--c-bleu-petrole)) 0%,
    var(--c-bleu-petrole) 72%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--c-cyan-signature) 28%, transparent),
    0 0 0 1px color-mix(in srgb, var(--c-or-champagne) 32%, transparent),
    0 22px 48px -18px rgba(0, 0, 0, .75);
}
/* Centrage optique. Le cercle du logo est ouvert : son centre d'encre est
   2,5 % plus haut et plus à gauche que le centre du fichier. Mesuré, pas estimé.
   On décale l'image d'autant, sans la redessiner ni la déformer. */
/* Le logo livre est un recadrage : son cercle deborde de sa propre image a droite
   (diametre 509 px pour une toile de 458 px de large), et son centre se trouve a
   +5,7 % de la largeur par rapport au centre du fichier. Sans correction, l'anneau
   du logo n'est pas concentrique au disque. Valeur obtenue par ajustement de cercle
   sur logo-blanc.png (ecart median 0,67 px), recoupee avec la position du mot mesuree
   au rendu. L'ancien reglage (+2,6 %, +2,2 %) poussait l'ensemble de 5 % du diametre
   vers la droite et de 2 % vers le bas. */
.eco-noyau img { width: 70%; height: auto; transform: translate(-5.7%, 0.2%); }

/* Branches */
.eco-branche {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: .7rem;
  padding: .72rem .95rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c-noir-carbone) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-accent) 34%, transparent);
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .8),
              inset 0 1px 0 color-mix(in srgb, var(--c-accent) 18%, transparent);
  backdrop-filter: blur(2px);
  white-space: nowrap;
}
.eco-branche--or   { --c-accent: var(--c-or-champagne); }
.eco-branche--cyan { --c-accent: var(--c-cyan-signature); }

.eco-branche__signe {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 34px; height: 34px; color: var(--c-accent);
}
.eco-branche__signe svg { width: 100%; height: 100%; fill: currentColor; }
.eco-branche__signe img, .eco-branche__signe picture { display: block; height: 34px; width: auto; }
.eco-branche__texte { display: grid; gap: .1rem; }
.eco-branche__nom {
  font-family: var(--f-soustitre); font-weight: var(--fw-soustitre);
  font-size: .95rem; color: var(--c-blanc-pur); letter-spacing: .01em;
}
.eco-branche__domaine {
  font-family: var(--f-soustitre); font-size: .68rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--c-accent);
}

/* Sur téléphone et petite tablette, la représentation ferait double emploi avec les
   cartes commerciales qui la suivent immédiatement : on la retire entièrement,
   marges comprises, pour ne laisser aucun espace vide. */
@media (max-width: 1039px) {
  .eco-bande { display: none; }
}

/* ================================================================
   Icônes des domaines d'activité
   ================================================================ */
.icone-domaine { display: block; width: 40px; height: 40px; color: var(--c-or-champagne); margin-bottom: var(--e-sm); }
.icone-domaine svg { width: 100%; height: 100%; }
.section-claire .icone-domaine, .section-blanche .icone-domaine { color: var(--c-or-champagne-texte); }

/* ================================================================
   Logo : contraste apparent, sans contour ni néon
   ================================================================ */
.entete__logo img, .pied__logo img {
  /* Deux ombres très douces : elles décollent le tracé fin du fond foncé
     sans ajouter de contour ni d'effet lumineux marqué. */
  filter:
    drop-shadow(0 0 1px color-mix(in srgb, var(--c-cyan-signature) 55%, transparent))
    drop-shadow(0 0 10px color-mix(in srgb, var(--c-cyan-signature) 22%, transparent));
}

/* ================================================================
   Héros : la photographie se fond dans le bleu pétrole
   ================================================================ */
.heros__visuel { --arc: 190px; }
.heros__visuel .photo, .photo--arc { border-radius: var(--arc) 22px 22px 22px; }

/* Fondu sur deux axes : vers le texte à gauche, vers le bas de la section.
   Plus de photographie rectangulaire simplement posée à côté du texte. */
.heros__visuel::after {
  background:
    linear-gradient(100deg, var(--c-bleu-petrole) 0%,
      color-mix(in srgb, var(--c-bleu-petrole) 72%, transparent) 20%,
      color-mix(in srgb, var(--c-bleu-petrole) 18%, transparent) 46%,
      transparent 68%),
    linear-gradient(to top, var(--c-bleu-petrole) 0%,
      color-mix(in srgb, var(--c-bleu-petrole) 30%, transparent) 16%,
      transparent 42%);
}
/* Fin arc cyan qui suit la courbure, et accent champagne discret. */
.heros__visuel::before {
  content: ""; position: absolute; inset: -9px -9px auto auto;
  width: 62%; aspect-ratio: 1; pointer-events: none; z-index: 1;
  border-top: 1px solid color-mix(in srgb, var(--c-cyan-signature) 55%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--c-cyan-signature) 30%, transparent);
  border-radius: calc(var(--arc) + 9px) 0 0 0;
}
.heros__visuel { position: relative; isolation: isolate; }

/* ================================================================
   Photographie secondaire : même signature, composition différente
   ================================================================ */
@media (min-width: 980px) {
  .bloc-photo { gap: calc(var(--e-2xl) * 1.5); }
}
.section-photo .bloc-photo .photo { position: relative; }
.photo--arc-inverse { border-radius: 22px 190px 22px 22px; }
/* Arc champagne en écho à l'arc cyan du héros, posé du côté opposé. */
.bloc-photo .photo::after {
  content: ""; position: absolute; inset: -9px auto auto -9px;
  width: 46%; aspect-ratio: 1; pointer-events: none;
  border-top: 1px solid color-mix(in srgb, var(--c-or-champagne) 50%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--c-or-champagne) 26%, transparent);
  border-radius: 22px 0 0 0;
}

/* ================================================================
   Grille du héros — texte à gauche, photographie à droite
   (rétablie : supprimée par erreur lors du nettoyage de l'ancienne composition)
   ================================================================ */
.heros__grille { display: grid; gap: var(--e-xl); align-items: center; }
.heros__visuel { display: none; }
@media (min-width: 1040px) {
  .heros__grille { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: var(--e-2xl); }
  .heros__visuel { display: block; aspect-ratio: 4 / 3.15; }
}

/* ================================================================
   Héros — adoucissement des limites et photographie sur mobile
   ================================================================ */

/* Les bords haut et droit de la photographie étaient encore nets. Un masque
   dégradé les fond dans le bleu pétrole, sans toucher à l'image elle-même
   ni à la courbe reprise du logo. */
.heros__visuel .photo {
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 13%),
    linear-gradient(to left,   transparent 0%, #000 11%),
    linear-gradient(to top,    transparent 0%, #000 10%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 13%),
    linear-gradient(to left,   transparent 0%, #000 11%),
    linear-gradient(to top,    transparent 0%, #000 10%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Sur téléphone et tablette, la photographie prend place sous l'accroche et les
   boutons. Aucun texte par-dessus : la lisibilité reste entière. */
@media (max-width: 1039px) {
  .heros__visuel { display: block; aspect-ratio: 16 / 10; margin-top: var(--e-md); }
  .heros__visuel .photo { border-radius: 110px 18px 18px 18px; }
  .heros__visuel::before { width: 48%; border-radius: 119px 0 0 0; }
  .heros__visuel::after {
    background: linear-gradient(to top, var(--c-bleu-petrole) 0%,
      color-mix(in srgb, var(--c-bleu-petrole) 24%, transparent) 14%, transparent 36%);
  }
}

/* Le vrai logo sur la carte commerciale : il a besoin d'un peu plus de place
   que les signes de trait pour rester lisible. */
.signe-marque--logo { width: 54px; height: 54px; }
.signe-marque__logo { width: auto; height: 54px; }

/* La photographie ajoutée sous les boutons occupe déjà le bas du héros :
   on réduit la marge basse pour ne pas laisser de vide sur téléphone. */
@media (max-width: 1039px) {
  .heros { padding-bottom: var(--e-lg); }
  .heros__grille { gap: var(--e-lg); }
  .heros__visuel { aspect-ratio: 16 / 9.5; margin-top: var(--e-sm); }
}

/* Sécurité : une pastille ne doit jamais pouvoir sortir de la composition,
   quelle que soit la longueur du libellé ou la largeur de l'écran. */
.eco-branche { max-width: min(40%, 420px); }
.eco-branche--consul-tix-pro { max-width: min(52%, 480px); }
@media (max-width: 1199px) {
  .eco-branche { white-space: normal; max-width: 34%; }
  .eco-branche--consul-tix-pro { max-width: 44%; }
  .eco-branche__domaine { white-space: normal; }
}

/* ================================================================
   Finitions — espacement de la bande, logo des cartes blanches
   ================================================================ */

/* Respiration demandée entre la bande de l'écosystème et les cartes. */
.eco-bande { margin-bottom: 36px; }

/* Le tracé du logo est fin : sur carte blanche il faut davantage de taille,
   et un contraste raffermi. Le dessin n'est pas modifié — seules la taille
   et la densité apparente du trait changent. */
/* Le logo officiel mesure 7,2:1 de contraste sur blanc : il n'est pas pâle,
   il était simplement bridé à 46 px par une règle plus spécifique. On lui donne
   sa taille, sans filtre ni retouche. */
.signe-marque--logo { width: 78px; height: 78px; }
.signe-marque img.signe-marque__logo {
  width: auto; height: 78px; opacity: 1; filter: none;
}

/* Icône officielle Sereino, reprise telle quelle du site de la marque.
   Elle porte son propre fond : un léger arrondi suffit à l'intégrer. */
.signe-marque img.signe-marque__icone { width: 78px; height: 78px; border-radius: 11px; display: block; opacity: 1; }
.eco-branche__signe img { width: 34px; height: 34px; border-radius: 6px; }
.signe-marque:has(.signe-marque__icone) { width: 78px; height: 78px; }

/* Les trois signes de carte occupent la même boîte : sans cela, les en-têtes
   des trois cartes n'ont pas la même hauteur. Le dessin n'est pas modifié. */
.carte-marque .signe-marque { width: 78px; height: 78px; }
.carte-marque .signe-marque svg { width: 62px; height: 62px; margin: auto; }

/* --- Position des branches (genere depuis BRANCHES) --------------------- */
.eco-branche--consul-tix-pro { --x: 50%; --y: 11%; }
.eco-branche--c-tix { --x: 83%; --y: 83.5%; }
.eco-branche--sereino { --x: 17%; --y: 83.5%; }
