@import url("../fonts/fonts.css");
@import url("variables.css");

/* ───────────────────────── Reset ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: hidden; }
body { margin: 0; font-family: var(--f-body); color: var(--c-ink); background: var(--c-bg); line-height: 1.6; max-width: 100vw; overflow-x: hidden; }
img, svg { max-width: 147%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

/* ───────────────────────── Layout ───────────────────────── */
.container_solution { width: 100vw; max-width: var(--container); /* margin: 0 auto; padding: 0 var(--gutter); */ }
.container { width: 100%; max-width: var(--container); margin: 0 auto; /* padding: 0 var(--gutter); */ }
.section { padding: clamp(56px, 7vw, 120px) 0; background: var(--c-bg-alt)}
.section_solution {}
.section--alt { background: var(--c-white); }
.section--dark { background: var(--c-ink); color: var(--c-white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--c-white); }

.section-head { max-width: 820px; margin: 0 auto clamp(32px, 5vw, 64px); text-align: center; }
.section-head .eyebrow { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-blue); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-transform: uppercase; }
.section-head p { color: var(--c-ink-soft); font-size: 1.05rem; }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.grid--5-centered { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 3vw, 32px); }
.grid--5-centered .solution-card { flex: 0 1 calc(20% - 10px); }
@media (max-width: 960px) {
  .grid--5 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .grid--5-centered { display: flex; }
  .grid--5-centered .solution-card { flex: 0 1 calc(25% - 10px); }
}

@media (max-width: 960px) {
  .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
}

/* Style pour la liste d'engagements */
.commitment-list {
  max-width: 1000px; /* Centre et limite la largeur pour une lisibilité optimale */
  margin: 0;
  text-align: left;
}
.commitment-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--c-line);
}
.commitment-item:first-child {
  padding-top: 0;
}
.commitment-item:last-child {
  border-bottom: none;
}
.commitment-item h3 {
  font-size: 1.5rem;
  color: var(--c-blue-deep);
  margin-bottom: 12px;
  text-align: left;
}
.commitment-item p {
  color: var(--c-ink-soft);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

@media (max-width: 600px) {
  .commitment-list {
    padding: 0 var(--gutter); /* Garantit une marge sur les côtés sur mobile */
  }
  .commitment-item {
    padding: 28px 0; /* Espacement légèrement réduit sur mobile */
  }
  .commitment-item h3 {
    font-size: 1.25rem; /* Titre un peu plus compact pour éviter les césures gênantes */
  }
  .commitment-item p {
    font-size: 1rem; /* Taille de police standard pour une meilleure lisibilité mobile */
    line-height: 1.6;
  }
}
/* ───────────────────────── Buttons ───────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn--primary { background: var(--c-blue); color: var(--c-white); }
.btn--primary:hover { background: var(--c-blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--c-white); border: 2px solid rgba(255,255,255,.6); }
.btn--ghost:hover { background: var(--c-white); color: var(--c-ink); border-color: var(--c-white); }
.btn--dark { background: var(--c-ink); color: var(--c-white); }
.btn--dark:hover { background: #0f1828; }

/* ───────────────────────── Header / nav ───────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--c-line); }
.site-header__inner { display: flex; align-items: center; justify-content: center; gap: 24px; height: var(--header-h); padding: 0 clamp(12px, 2vw, 24px); }
.site-header__logo { flex-shrink: 0; }
.site-header__logo img { height: 44px; width: auto; }
.site-header__right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: var(--c-ink); border-radius: 8px; transition: color .15s, background .15s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--c-blue); background: rgba(30,151,212,.06); }
.nav__link--cta { background: var(--c-blue); color: var(--c-white); padding: 12px 22px; border-radius: 999px; margin-left: 12px; white-space: nowrap; }
.nav__link--cta:hover { background: var(--c-blue-dark); color: var(--c-white); }

.nav__caret { width: 12px; height: 12px; flex-shrink: 0; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--c-ink); }
.dropdown a:hover { background: var(--c-bg-alt); color: var(--c-blue); }

.lang-select { padding: 6px 10px; border: 1px solid var(--c-line); border-radius: 8px; font-family: var(--f-display); font-weight: 600; font-size: .85rem; color: var(--c-ink); background: var(--c-white); cursor: pointer; }
.lang-select:focus { outline: 2px solid var(--c-blue); outline-offset: 1px; }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--c-ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--c-ink); }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

@media (max-width: 1100px) {
  .nav { gap: 2px; }
  .nav__link { padding: 10px 12px; font-size: .85rem; }
  .nav__link--cta { padding: 10px 16px; margin-left: 8px; }
}

@media (max-width: 1024px) {
  .burger { display: inline-flex; }
  .lang-select { padding: 8px 12px; font-size: .9rem; border-radius: 6px; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); z-index: 40; flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter); background: var(--c-white); border-top: 1px solid var(--c-line); transform: translateX(100%); transition: transform .25s; overflow-y: auto; }
  .nav.is-open { transform: translateX(0); }
  .nav__link { padding: 14px 12px; font-size: 1rem; }
  .nav__link--cta { margin: 12px 0 0; justify-content: center; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 16px; min-width: 0; }
  .nav__caret { display: none; }
}

/* ───────────────────────── Hero (Accueil) ───────────────────────── */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: var(--c-white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: url("../img/cover.webp") center/cover no-repeat; z-index: 0; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,82,120,.15) 0%, rgba(14,82,120,.55) 65%, rgba(14,82,120,.85) 100%); }
.hero__content { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(40px, 6vw, 80px); padding-top: clamp(120px, 16vw, 200px); }
.hero__brand { display: inline-flex; align-items: center; gap: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); padding: 8px 16px; border-radius: 999px; font-family: var(--f-display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 28px; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 4.2rem); text-transform: uppercase; max-width: 16ch; margin-bottom: 28px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero h1 .accent { color: var(--c-green); }
.hero__desc { color: rgba(255,255,255); font-size: 1.05rem; line-height: 1.6; max-width: 640px; margin-top: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ───────────────────────── Cards / feature grid ───────────────────────── */
.feature-card { background: var(--c-white); border-radius: var(--radius); padding: 28px; border: 1.5px solid var(--c-line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card__icon { width: 74px; height: 74px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.feature-card__icon img { width: 50px; height: 50px; }
.feature-card h3 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: 8px; }
.feature-card p { color: var(--c-ink-soft); font-size: .95rem; margin: 0; }
.feature-card__icon--blue       { background: color-mix(in srgb, var(--c-blue) 45%, transparent); }
.feature-card__icon--orange     { background: color-mix(in srgb, var(--c-orange) 45%, transparent); }
.feature-card__icon--green      { background: color-mix(in srgb, var(--c-green) 45%, transparent); }
.feature-card__icon--blue-light { background: color-mix(in srgb, var(--c-blue) 45%, transparent); }
.feature-card__img__fabrication { background: url('/assets/img/pictogrammes/svg/pictogrammes-catalogue-GCEI-09.svg'); }
.feature-card__img__reduction { background: url('/assets/img/pictogrammes/svg/pictogrammes-catalogue-GCEI-10.svg'); }
.feature-card__img__durabilite { background: url('/assets/img/pictogrammes/svg/pictogrammes-catalogue-GCEI-11.svg'); }
.feature-card__img__ecoconception { background: url('/assets/img/pictogrammes/svg/pictogrammes-catalogue-GCEI-12.svg'); }
.feature-card__img__souverainete { background: url('/assets/img/pictogrammes/svg/pictogrammes-catalogue-GCEI-13.svg'); }
.feature-card__img__hebergement { background: url('/assets/img/pictogrammes/svg/pictogrammes-catalogue-GCEI-17.svg'); }
.feature-card-superivison { 
  background-image: url('/assets/img/pictogrammes/SVG/pictogrammes-catalogue-GCEI-23.svg');
  background-size: contain;      /* Important : fait tenir l'image dans le cadre */
  background-repeat: no-repeat;
  background-position: center;
}
.feature-card-utilisateurs {
  background-image: url('/assets/img/pictogrammes/SVG/pictogrammes-catalogue-GCEI-20.svg');
  background-size: contain;      /* Important : fait tenir l'image dans le cadre */
  background-repeat: no-repeat;
  background-position: center;
}
.feature-card-automatisation {
  background-image: url('/assets/img/pictogrammes/SVG/pictogrammes-catalogue-GCEI-25.svg');
  background-size: contain;      /* Important : fait tenir l'image dans le cadre */
  background-repeat: no-repeat;
  background-position: center;
}
.feature-card-equipements {
  background-image: url('/assets/img/pictogrammes/SVG/pictogrammes-catalogue-GCEI-21.svg');
  background-size: contain;      /* Important : fait tenir l'image dans le cadre */
  background-repeat: no-repeat;
  background-position: center;
}
.feature-card-historique {
  background-image: url('/assets/img/pictogrammes/SVG/pictogrammes-catalogue-GCEI-28.svg');
  background-size: contain;      /* Important : fait tenir l'image dans le cadre */
  background-repeat: no-repeat;
  background-position: center;
}
.feature-card-analyse {
  background-image: url('/assets/img/pictogrammes/SVG/pictogrammes-catalogue-GCEI-24.svg');
  background-size: contain;      /* Important : fait tenir l'image dans le cadre */
  background-repeat: no-repeat;
  background-position: center;
}
.central-card {
  background-color: color-mix(in srgb, var(--c-line) 100%, transparent);border-radius:10px;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:auto
}





.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: visible;
  padding: 6px 12px;
  background-color: var(--c-blue);
  color: var(--c-white);
  text-align: center;
  border-radius: var(--radius-sm);
  position: absolute;
  z-index: 1;
  bottom: 125%;
  margin-left: -25px;
  opacity: 1;
  transition: opacity 0.3s;
  white-space: nowrap;
  font-family: var(--f-body);
  font-size: 0.9rem;
}

.tooltip .tooltiptext::after {
  display: none;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.synoptique-wrapper { position: relative; display: block; width: 100%; max-width: 1278px; margin: 0 auto; }
.synoptique-wrapper img { width: 100%; height: auto; display: block; border-radius: 8px; }
.syn-dot { position: absolute; width: 14px; height: 14px; background: var(--c-ink); border-radius: 50%; transform: translate(-50%, -50%); }

@media (max-width: 768px) {
  /* 1. Réduction de l'image synoptique pour qu'elle respire sur l'écran */
  .synoptique-wrapper {
    width: 99% !important;       
    max-width: 800px !important;  
    margin: 0 auto !important;   
    overflow: visible !important; 
  }
  /* 2. Rendre les petits points (cercles noirs) plus petits */
  .syn-dot {
    transform: translate(-50%, -50%) scale(0.71) !important;
  }
  /* 3. Rendre les bulles de texte (tooltips) miniatures et très serrées */
  .tooltip .tooltiptext {
    font-size: 0.63rem !important;   
    padding: 4px 6px !important;     
    max-width: 105px !important;     
    border-radius: 4px !important;   
    line-height: 1.1 !important;     
    
    /* Centrage automatique parfait juste au-dessus du mini-point */
    white-space: normal !important;
    width: max-content !important;
    left: 130% !important;
    transform: translateX(-45%) !important;
    margin-left: 0 !important;
    bottom: 100% !important;
    z-index: 999 !important;
  }
}

/* ───────────────────────── Synoptique: numbered dots (mobile) ───────────────────────── */
.syn-dot__num {
  display: none;
}
.syn-capacities-list {
  display: none;
}

@media (max-width: 768px) {
  /* Hide tooltips on mobile — replaced by the ordered list */
  .tooltip .tooltiptext {
    display: none !important;
  }
  /* Show numbered dots on the image */
  .syn-dot {
    width: 22px !important;
    height: 22px !important;
    background: var(--c-blue) !important;
    border: 2px solid var(--c-white) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.3) !important;
  }
  .syn-dot__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 11px;
    color: var(--c-white);
    line-height: 1;
  }
  /* Show the ordered list below the image */
  .syn-capacities-list {
    display: block;
    list-style: none;
    counter-reset: sol-capacities;
    margin: 24px 0 0;
    padding: 0;
  }
  .syn-capacities-list li {
    counter-increment: sol-capacities;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line);
  }
  .syn-capacities-list li:last-child {
    border-bottom: none;
  }
  .syn-capacities-list li::before {
    content: counter(sol-capacities);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--c-blue);
    color: var(--c-white);
    border-radius: 50%;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
  }
  .syn-capacities-list li strong {
    display: block;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: .95rem;
    color: var(--c-ink);
    margin-bottom: 4px;
  }
  .syn-capacities-list li span {
    font-size: .88rem;
    color: var(--c-ink-soft);
    line-height: 1.5;
  }
}

/* ───────────────────────── Hydracom block ───────────────────────── */
.hydracom-block { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hydracom-block__media { display: flex; align-items: center; justify-content: center; min-height: 360px; }
@media (max-width: 860px) { .hydracom-block { grid-template-columns: 1fr; } }
/* Container flexible pour centrer les éléments */
.flex-grid-centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
/* On définit la taille des cartes pour qu'elles s'alignent sur 3 colonnes */
.flex-grid-centered > div {
    flex: 1 1 calc(33.33% - 14px); /* grow, shrink, basis */
    max-width: 320px; /* Limite la largeur pour éviter que ce soit trop étiré */
}
/* Responsivité : 2 colonnes sur tablette */
@media (max-width: 860px) {
    .flex-grid-centered > div {
        flex: 1 1 calc(50% - 14px);
    }
}
/* Responsivité : 1 colonne sur mobile */
@media (max-width: 600px) {
    .flex-grid-centered > div {
        flex: 1 1 100%;
    }
}

/* ───────────────────────── Solutions cards (verticals) ───────────────────────── */
.solution-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: var(--c-white); transition: transform .2s, box-shadow .2s; }
.solution-card__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; }
.solution-card__overlay { position: absolute; inset: 0; z-index: 1; }
/* Overlay sombre pour améliorer la lisibilité du texte */
.solution-card__overlay.solution-card__overlay--sm { background: rgba(0, 0, 0, 0.4); }
.solution-card__body { position: relative; z-index: 2; padding: 24px; background: rgba(0,0,0,.45); }
/* Variante pour enlever l'opacité noir sur le texte */
.solution-card__body.solution-card__body--sm { background: rgba(0, 0, 0, 0); }
.solution-card h3 { font-size: 1.15rem; text-transform: uppercase; margin-bottom: 6px; }
.solution-card p { margin: 0 0 12px; font-size: .9rem; opacity: .9; }
.solution-card .arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: .85rem; text-transform: uppercase; }
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

@media (max-width: 600px) {
  .solution-card__overlay { background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.7) 100%); }
  .solution-card__body { background: transparent; }
}
.solution-card--collectivites .solution-card__bg { background-image: url('/assets/img/photo-collectivites.webp'); }
.solution-card--ports         .solution-card__bg { background-image: url('/assets/img/photo-ports.webp'); }
.solution-card--campings      .solution-card__bg { background-image: url('/assets/img/photo-campings.webp'); }
.solution-card--agricultures  .solution-card__bg { background-image: url('/assets/img/photo-agricultures.webp'); }
.solution-card--industries    .solution-card__bg { background-image: url('/assets/img/photo-industries.webp'); }
.solution-card--besoins-specifiques .solution-card__bg { background-image: url('/assets/img/engagements-rse.webp'); }
/* ───────────────────────── Engagements (green panel) ───────────────────────── */
.panel-green { background: var(--c-green); color: var(--c-ink); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.panel-green h2, .panel-green h3 { color: var(--c-ink); }
.panel-green ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.panel-green li { padding-left: 22px; position: relative; font-weight: 500; }
.panel-green li::before { content: "■"; position: absolute; left: 0; top: 0; color: var(--c-ink); }

.panel-blue2 { background: var(--c-blue); color: black; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.panel-blue2 h2, .panel-blue2 h3 { color: var(--c-white); }
/* Variante plus claire du bleu pour les autres sections j'sais pas faire autrement */
.panel-blue { background: var(--c-blue); color: rgb(255, 255, 255); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.central-card2 { background: rgba(255,255,255,.2); border-radius: 10px; padding: 16px 20px; }

.panel-orange { background: var(--c-orange); color: black; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.panel-orange h2, .panel-orange h3 { color: var(--c-white); }

/* Stats */
.stats { display: grid; justify-content: center; flex-wrap: wrap; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-right: auto; width: 90%; }
.stat { text-align: center; padding: 24px; background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow-sm); flex: 0 0 220px; }
.stat__value { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; color: var(--c-blue); }
.stat__label { font-size: 0.8rem; color: var(--c-ink-soft); margin-top: 4px; }

/* Stats cercle des chiffres clés de GCEI */
.stat--circle { position: relative; background: rgba(255, 255, 255, 0.9); box-shadow: none; padding: 40px 24px; display: flex; align-items: center; justify-content: center; min-height: auto; border-radius: 50%; width: 200px; height: 200px; margin: 0 auto; border: 5px solid #A5CD3A; }
.stat--circle-impact { position: relative; background: rgba(255, 255, 255, 0.9); box-shadow: none; padding: 40px 24px; display: flex; align-items: center; justify-content: center; min-height: auto; border-radius: 50%; width: 153px; height: 153px; margin: 0 auto; border: 5px solid #A5CD3A; }
.stat__circle { display: none; }
.stat__content { position: relative; z-index: 2; text-align: center; }
.stat--circle .stat__value { color: #A5CD3A; font-size: 3rem; margin-bottom: -4px; }
.stat--circle .stat__label { color: #A5CD3A; font-size: .98rem; margin-top: 0; font-weight: 600; }

/* Pour regrouper stat et grid*/
.bloc2-content { width: 95%; margin-left: auto; }

/* ── Ring progress animation ── */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* Common ring pseudo-element */
.stat--energie::after,
.stat--eau::after,
.stat--roi::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  z-index: 0;
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
  opacity: 0;
}

/* Énergie — ring from top */
.stat--energie::after {
  background: conic-gradient(from -90deg, #82A82A var(--angle), transparent var(--angle));
}
.stat--energie.is-visible::after {
  opacity: 1;
  animation: ring-fill 1.5s ease-out forwards;
}

/* Eau — ring from bottom */
.stat--eau::after {
  background: conic-gradient(from 90deg, #82A82A var(--angle), transparent var(--angle));
}
.stat--eau.is-visible::after {
  opacity: 1;
  animation: ring-fill 1.5s ease-out forwards;
}

/* ROI — ring from right */
.stat--roi::after {
  background: conic-gradient(from 0deg, #82A82A var(--angle), transparent var(--angle));
}
.stat--roi.is-visible::after {
  opacity: 1;
  animation: ring-fill 1.5s ease-out forwards;
}

@keyframes ring-fill {
  from { --angle: 0deg; }
  to   { --angle: 108deg; }
}

/* ── Ring bleu (eco-responsable) ── */
.stat--energie2::after,
.stat--eau2::after,
.stat--roi2::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  z-index: 0;
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
  opacity: 0;
}

.stat--energie2::after {
  background: conic-gradient(from -90deg, var(--c-blue-dark) var(--angle), transparent var(--angle));
}
.stat--energie2.is-visible::after {
  opacity: 1;
  animation: ring-fill 1.5s ease-out forwards;
}

.stat--eau2::after {
  background: conic-gradient(from 90deg, var(--c-blue-dark) var(--angle), transparent var(--angle));
}
.stat--eau2.is-visible::after {
  opacity: 1;
  animation: ring-fill 1.5s ease-out forwards;
}

.stat--roi2::after {
  background: conic-gradient(from 0deg, var(--c-blue-dark) var(--angle), transparent var(--angle));
}
.stat--roi2.is-visible::after {
  opacity: 1;
  animation: ring-fill 1.5s ease-out forwards;
}

.stat__value2 {
  font-family: var(--f-display); 
  font-weight: 800; 
  font-size: 2.4rem; 
  color: var(--c-blue); 
}
.stat__label2 { 
  font-size: 0.8rem; /* Correction de 80rem -> 0.8rem */
  color: var(--c-ink-soft); 
  margin-top: 4px; 
}

/* Stats cercle des chiffres clés de GCEI */
.stat--circle2 { 
  position: relative; 
  background: rgba(255, 255, 255, 0.9); 
  box-shadow: none; 
  padding: 40px 24px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  min-height: auto; 
  border-radius: 50%; 
  margin: 0 auto; 
  border: 5px solid var(--c-blue); /* Remplacement du vert par le bleu */
  width: 189px;
  height: 185px;
}
.stat__circle2 { display: none; }
.stat__content2 { position: relative; z-index: 2; text-align: center; }

.stat--circle2 .stat__value2 { 
  color: var(--c-blue); /* Remplacement du vert par le bleu */
  font-size: 2rem; 
  margin-bottom: 4px; 
}
.stat--circle2 .stat__label2 { 
  color: var(--c-blue); /* Remplacement du vert par le bleu */
  font-size: .98rem; 
  margin-top: 0; 
  font-weight: 600; 
}

/* Pour regrouper stat et grid*/
.bloc2-content2 { width: 95%; margin-left: auto; }

@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* ───────────────────────── Team ───────────────────────── */
.team-banner { background: var(--c-orange); color: var(--c-white); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); }
.team-banner h2 { color: var(--c-white); text-transform: uppercase; font-size: clamp(1.6rem, 3.2vw, 2.2rem); }

/* Grid de cartes équipe */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: clamp(24px, 4vw, 40px); }
.team-card { background: var(--c-white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--c-line); text-align: center; flex: 0 0 calc(25% - 15px); }
.team-card__avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--c-bg-alt); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 1rem; margin: 0 0 4px; }
.team-card p { font-size: .85rem; color: var(--c-muted); margin: 0; }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ───────────────────────── Trust / partners ───────────────────────── */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; align-items: center; }
.logo-strip img { max-height: 88px; width: auto; margin: 0 auto; }
.logo-strip__transparent { background: #fff; padding: 6px 10px; border-radius: 6px; }

/* ───────────────────────── Contact form ───────────────────────── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-info { background: linear-gradient(150deg, var(--c-blue) 0%, var(--c-blue) 100%); color: var(--c-white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); border-top: 4px solid var(--c-blue); position: relative; overflow: hidden; }
.contact-info::after { content: ''; position: absolute; bottom: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--c-blue); opacity: .1; pointer-events: none; }
.contact-info h2 { color: var(--c-white); text-transform: uppercase; }
.contact-info ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-info li { display: flex; gap: 14px; align-items: center; }
.contact-info .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--c-blue); border: 1px solid var(--c-blue); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; line-height: 1; }
.form { display: grid; gap: 16px; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); border-top: 4px solid var(--c-green); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-family: var(--f-display); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; color: var(--c-ink-soft); }
.form input, .form textarea, .form select { width: 100%; padding: 14px 16px; border: 2px solid var(--c-line); border-radius: 10px; background: var(--c-white); transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(30,151,212,.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form__notice { padding: 14px 18px; border-radius: 10px; font-size: .92rem; }
.form__notice--ok { background: #E6F6E5; color: #1F6E2A; border: 1px solid #BBE5BB; }
.form__notice--err { background: #FBE6E6; color: #8B1F1F; border: 1px solid #F5BFBF; }

/* ───────────────────────── Footer ───────────────────────── */
.site-footer { background: #0E1A2A; color: #B5C2D6; padding: 64px var(--gutter) 28px; }
.site-footer h4 { color: var(--c-white); font-size: 1rem; text-transform: uppercase; margin-bottom: 16px; letter-spacing: .04em; }
.site-footer a { color: #B5C2D6; }
.site-footer a:hover { color: var(--c-white); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__logo img { height: 44px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: #7E8DA6; }

/* ───────────────────────── Page hero (interior pages) ───────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--c-blue-deep), var(--c-blue));
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--c-white);
  /*padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 80px); */
}
.page-hero .eyebrow { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; margin-bottom: 14px; color: var(--c-white); }
.page-hero p { max-width: 720px; font-size: 1.05rem; opacity: .92; }
.page-hero .breadcrumb { font-size: .85rem; opacity: .75; margin-bottom: 24px; }
.page-hero .breadcrumb a { color: inherit; }

.page-hero .container {
  position: relative;
  z-index: 10;
  padding: 57px;
}

.page-hero::before {
  background: linear-gradient(to right, var(--c-ink) 0%, rgba(14,52,82,.15) 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border: 0;
  bottom: 0;
  content: ' ';
}
.page-hero--engagements { background-image: url('/assets/img/photo-besoins-specifiques.webp'); background-position: center bottom 36px; }
.page-hero--eco { background-image: url('/assets/img/eco-responsable.webp'); background-position: bottom; background-size: cover; }
.page-hero--rgpd { background-image: url('/assets/img/rgpd.webp'); background-position: bottom; background-size: cover; }
.page-hero-industries { background-image: url('/assets/img/photo-industries.jpg'); }
.page-hero-hydracom { background-image: url('/assets/img/photo-hydracom.webp'); }
.page-hero-collectivites  { background-image: url('/assets/img/photo-collectivites.jpg');}
.page-hero-ports          { background-image: url('/assets/img/photo-ports.jpg'); }
.page-hero-campings       { background-image: url('/assets/img/photo-campings.jpg'); background-position: bottom; }
.page-hero-agricultures   { background-image: url('/assets/img/photo-agricultures.jpg'); }
.page-hero--a-propos    { background-image: url('/assets/img/perpignan.jpg'); background-position: top; }
.page-hero--made-in-france { background-image: url('/assets/img/perpignan.jpg'); background-position: center bottom 85px; }
.page-hero--impact-score { background-image: url('/assets/img/photo-impact-score.webp'); background-position: center; background-size: cover; }
.page-hero--tall { padding-top: clamp(80px, 14vw, 160px); padding-bottom: clamp(60px, 10vw, 120px); }

/* ───────────────────────── Hydracom hero page ───────────────────────── */
.page-hero--hydracom .hydracom-block { gap: clamp(24px, 4vw, 56px); }
.page-hero--hydracom .hydracom-block h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 14px; }
.page-hero--hydracom .hydracom-block__media img { width: 900px; max-width: 140%; height: auto; margin-top: 5px; margin-left: 37px; }
.hydracom-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }

/* ─── 1600px ─── */
@media screen and (max-width: 1600px) {
  .page-hero--hydracom .hydracom-block__media img { max-width: 120%; margin-left: 20px; }
}

/* ─── 1440px ─── */
@media screen and (max-width: 1440px) {
  .page-hero--hydracom .hydracom-block__media img { max-width: 110%; margin-left: 10px; width: 800px; }
  .page-hero--hydracom .hydracom-block h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
}

/* ─── 1280px ─── */
@media screen and (max-width: 1280px) {
  .page-hero--hydracom .hydracom-block__media img { max-width: 100%; margin-left: 0; width: 100%; }
}

/* ─── 1024px ─── */
@media screen and (max-width: 1024px) {
  .page-hero--hydracom .hydracom-block h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
  .page-hero--hydracom .hydracom-block__media img { width: 100%; }
}

/* ─── 840px ─── */
@media screen and (max-width: 840px) {
  .page-hero--hydracom .hydracom-block { grid-template-columns: 1fr; }
  .page-hero--hydracom .hydracom-block__media { min-height: auto; }
  .page-hero--hydracom .hydracom-block__media img { max-width: 100%; margin-left: 0; margin-top: 24px; }
}

/* ─── 640px ─── */
@media screen and (max-width: 640px) {
  .page-hero--tall { padding-top: clamp(60px, 12vw, 100px); padding-bottom: clamp(40px, 8vw, 80px); }
  .page-hero--hydracom .hydracom-block h2 { font-size: clamp(1.2rem, 5vw, 1.7rem); }
  .page-hero--hydracom .hydracom-block__media img { width: 100%; margin-left: 0; }
}

/* ─── 480px ─── */
@media screen and (max-width: 480px) {
  .page-hero--tall { padding-top: clamp(48px, 10vw, 80px); padding-bottom: clamp(32px, 6vw, 60px); }
  .page-hero--hydracom .hydracom-block h2 { font-size: clamp(1.1rem, 5.5vw, 1.5rem); }
  .page-hero--hydracom .hydracom-block p { font-size: .88rem; }
  .hydracom-list { gap: 8px; margin: 16px 0; }
  .hydracom-list li { font-size: .9rem; }
}

/* ─── Orientation landscape mobile ─── */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .page-hero--tall { padding-top: clamp(40px, 8vw, 60px); padding-bottom: clamp(24px, 5vw, 40px); }
  .page-hero--hydracom .hydracom-block { grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
  .page-hero--hydracom .hydracom-block__media { min-height: auto; }
  .page-hero--hydracom .hydracom-block__media img { max-width: 100%; margin-left: 0; margin-top: 0; }
  .page-hero--hydracom .hydracom-block h2 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
  .page-hero--hydracom .hydracom-block p { font-size: .85rem; }
  .hydracom-list { gap: 6px; margin: 12px 0; }
  .hydracom-list li { font-size: .82rem; }
}

@media (max-width: 600px) {
  .page-hero { background-attachment: scroll; }
  .page-hero--engagements,
  .page-hero--made-in-france { background-size: cover; background-repeat: no-repeat; background-position: center center; }
}

/* ───────────────────────── Utility ───────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-md { margin-top: clamp(24px, 4vw, 40px); }
.mt-lg { margin-top: clamp(40px, 6vw, 64px); margin-left: 19px; }
.mt-lg2 { margin-top: clamp(40px, 6vw, 64px); margin-left: 6px; }
.mb-0 { margin-bottom: 0; }
.eyebrow { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow--blue { color: var(--c-blue); }
.eyebrow--light { color: #fff; opacity: .85; }
.card-img-sm { max-width: 38px; width: 100%; height: auto; }
.card-img-md { max-width: 64px; width: 100%; height: auto; }
.card-label { font-size: 0.95rem; }
.link-ink { color: var(--c-ink); font-weight: 600; }
.ttu { text-transform: uppercase; }

/* ───────────────────────── Scroll to top (mobile only) ───────────────────────── */
.scroll-top {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--c-blue);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  padding: 0;
  line-height: 1;
}
.scroll-top svg { width: 22px; height: 22px; display: block; margin: auto; }
.scroll-top.is-visible { display: block; }
@media (min-width: 1025px) {
  .scroll-top { display: none !important; }
}

/* ═══════════════════════════ Responsive breakpoints ═══════════════════════════ */

/* ─── 1600px ─── */
@media screen and (max-width: 1600px) {
  .hero h1 { font-size: clamp(2rem, 4.8vw, 3.8rem); }
  .hero__content { padding-bottom: clamp(36px, 5vw, 70px); }
  .hydracom-block__media img { max-width: 110% !important; margin-left: 20px !important; }
  .solution-card { min-height: 310px; }
}

/* ─── 1440px ─── */
@media screen and (max-width: 1440px) {
  :root { --container: 1200px; }
  .hero h1 { font-size: clamp(1.8rem, 4.2vw, 3.4rem); }
  .hero__desc { max-width: 560px; }
  .hydracom-block__media img { max-width: 100% !important; margin-left: 10px !important; }
  .section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
  .feature-card { padding: 24px; }
  .solution-card { min-height: 290px; }
  .stat--circle, .stat--circle2 { width: 170px; height: 168px; }
}

/* ─── 1280px ─── */
@media screen and (max-width: 1280px) {
  :root { --container: 1100px; --header-h: 76px; }
  .hero h1 { font-size: clamp(1.6rem, 3.8vw, 3rem); }
  .hero__brand { font-size: .72rem; padding: 6px 14px; }
  .nav__link { padding: 10px 12px; font-size: .88rem; }
  .nav__link--cta { padding: 10px 18px; margin-left: 8px; }
  .section { padding: clamp(48px, 6vw, 100px) 0; }
  .hydracom-block { gap: clamp(24px, 4vw, 48px); }
  .hydracom-block__media img { max-width: 90% !important; margin-left: 0 !important; }
  .solution-card { min-height: 270px; }
  .site-footer__grid { gap: 32px; }
}

/* ─── 840px ─── (ajuste les grilles 2 col + blocks empilés) ─── */
@media screen and (max-width: 840px) {
  .hydracom-block { grid-template-columns: 1fr; }
  .hydracom-block__media { min-height: 260px; }
  .hydracom-block__media img { max-width: 100% !important; margin-left: 0 !important; }
  .team-card { flex: 0 0 calc(50% - 10px); }
  .team-grid { gap: 16px; }
  .contact { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .flex-grid-centered > div { flex: 1 1 calc(50% - 14px); }
}

/* ─── 640px ─── (grands mobiles) ─── */
@media screen and (max-width: 640px) {
  :root { --header-h: 68px; }
  .hero { min-height: 80vh; }
  .hero h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .hero__brand { font-size: .65rem; gap: 10px; padding: 5px 12px; margin-bottom: 20px; }
  .hero__desc { font-size: .95rem; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding: 12px 22px; font-size: .85rem; }
  .section { padding: clamp(40px, 5vw, 72px) 0; }
  .section-head h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .section-head p { font-size: .95rem; }
  .feature-card { padding: 20px; }
  .feature-card__icon { overflow: hidden; }
  .feature-card__icon img { max-width: 81%; max-height: 77%; }
  .feature-card h3 { font-size: .95rem; }
  .feature-card p { font-size: .88rem; }
  .solution-card { min-height: 220px; }
  .solution-card__body { padding: 18px; }
  .solution-card h3 { font-size: 1rem; }
  .panel-green, .panel-blue, .panel-blue2, .panel-orange { padding: clamp(20px, 3vw, 32px); }
  .contact-info, .form { padding: clamp(20px, 3vw, 32px); }
  .logo-strip img { max-height: 60px; }
  .stat--circle, .stat--circle2 { width: 140px; height: 138px; }
  .stat--circle .stat__value, .stat--circle2 .stat__value2 { font-size: 1.6rem; }
  .stat--circle .stat__label, .stat--circle2 .stat__label2 { font-size: .82rem; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2.4rem); }
  .page-hero p { font-size: .92rem; }
  .team-card { flex: 0 0 calc(50% - 8px); padding: 16px; }
  .team-card__avatar { width: 64px; height: 64px; }
}

/* ─── 480px ─── (petits mobiles) ─── */
@media screen and (max-width: 480px) {
  :root { --gutter: 12px; --header-h: 60px; }
  .hero { min-height: 75vh; }
  .hero h1 { font-size: clamp(1.3rem, 8vw, 1.9rem); letter-spacing: -.02em; }
  .hero__brand { display: none; }
  .hero__desc { font-size: .88rem; line-height: 1.5; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .section { padding: clamp(32px, 4vw, 56px) 0; }
  .section-head { margin-bottom: clamp(20px, 3vw, 32px); }
  .section-head h2 { font-size: clamp(1.2rem, 6vw, 1.7rem); }
  .section-head p { font-size: .88rem; }
  .feature-card { padding: 16px; }
  .feature-card__icon { width: 44px; height: 44px; }
  .feature-card h3 { font-size: .88rem; }
  .feature-card p { font-size: .82rem; }
  .solution-card { min-height: 180px; }
  .solution-card__body { padding: 14px; }
  .solution-card h3 { font-size: .88rem; }
  .solution-card p { font-size: .8rem; margin-bottom: 8px; }
  .panel-green, .panel-blue, .panel-blue2, .panel-orange { padding: 16px; border-radius: 14px; }
  .btn { padding: 12px 20px; font-size: .82rem; }
  .contact-info, .form { padding: 16px; border-radius: 14px; }
  .form .row { gap: 10px; }
  .form input, .form textarea, .form select { padding: 12px 14px; font-size: .9rem; }
  .site-footer { padding: 40px 0 20px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bar { flex-direction: column; gap: 8px; text-align: center; }
  .team-card { flex: 0 0 100%; }
  .logo-strip { gap: 16px; }
  .logo-strip img { max-height: 48px; }
  .stat--circle, .stat--circle2 { width: 120px; height: 118px; border-width: 4px; }
  .stat--circle .stat__value, .stat--circle2 .stat__value2 { font-size: 1.3rem; }
  .stat--circle .stat__label, .stat--circle2 .stat__label2 { font-size: .72rem; }
  .bloc2-content, .bloc2-content2 { width: 100%; }
  .stats { width: 100%; gap: 16px; }
  .page-hero h1 { font-size: clamp(1.3rem, 7vw, 2rem); }
  .page-hero p { font-size: .85rem; }
  .page-hero .breadcrumb { font-size: .78rem; }
}

/* ══════════════════════════════════════════════════════════════
   COLLECTIVITES — Layout sidebar + synoptique
   ══════════════════════════════════════════════════════════════ */

/* --- Conteneur flex principal --- */
.sol-layout-section {
  padding: 0;
}

.sol-layout {
  display: grid;
  gap: 0;
  width: 100vw;
  margin: 0 auto;
  min-height: calc(100vh - var(--header-h));
  grid-template-columns: 25% 1fr;
}

/* --- Sidebar gauche (vert) --- */
.sol-sidebar {
  flex: 0 0 21%;
  background: #C4DF7E;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Variante sidebar marron */
.sol-sidebar--marron {
  flex: 0 0 21%;
  background: #C9B759;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Variante sidebar bleue */
.sol-sidebar--blue {
  background: var(--c-blue-deep);
}

.sol-sidebar--blue .sol-sidebar__title,
.sol-sidebar--blue .sol-sidebar__text {
  color: var(--c-white);
}

.sol-sidebar--blue .sol-sidebar__text {
  opacity: .9;
}

/* Variante sidebar orange */
.sol-sidebar--orange {
  background: var(--c-orange);
}

.sol-sidebar--orange .sol-sidebar__title,
.sol-sidebar--orange .sol-sidebar__text {
  color: var(--c-white);
}

.sol-sidebar--orange .sol-sidebar__text {
  opacity: .9;
}

.sol-sidebar__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--c-ink);
  text-transform: uppercase;
  margin: 0 0 16px;
  line-height: 1.2;
}

.sol-sidebar__text {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--c-ink);
  margin: 0;
  opacity: .88;
}

/* --- Encadre "Le saviez-vous ?" --- */
.sol-factoid {
  background: var(--c-orange);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  color: var(--c-white);
  margin-top: 32px;
}

.sol-factoid-green {
  background: var(--c-green);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  color: var(--c-white);
  margin-top: 32px;
}

.sol-factoid__eyebrow {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 10px;
  display: block;
}

.sol-factoid__text {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

/* --- Partie droite (synoptique) --- */
.sol-synoptique {
  flex: 1;
  position: relative;
  overflow: visible;
  background: var(--sol-bg) center/cover no-repeat;
  /* max-height: calc(100vh - var(--header-h)); */
  /* Ratio de référence : taille du synoptique en 1920x1080 (1516.8 x 996).
     Tous les % (cartes, points, image) sont relatifs au frame qui garde ce ratio. */
  --syn-ratio: 1516.8 / 996;
  container-type: size;
}

/* Cadre à ratio fixe, ajusté en "contain" dans le synoptique :
   l'illustration et les points vivent dedans, leurs % restent donc
   valables à toutes les tailles d'écran. */
.sol-synoptique__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100cqw, calc(100cqh * var(--syn-ratio)));
  aspect-ratio: var(--syn-ratio);
  container-type: inline-size;
}

.sol-synoptique::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--c-ink) 45%, transparent);
  z-index: 0;
  pointer-events: none;
}

.sol-synoptique__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  height: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.25));
}

/* --- Calque dots --- */
.sol-dots-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.sol-dots-layer .sol-card { pointer-events: auto; }

/* --- Cartes tooltip --- */
.sol-card {
  position: absolute;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(26,38,56,.12);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  /* transition: transform .2s, box-shadow .2s; */
}

/* .sol-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,38,56,.18);
} */

/* Ligne en pointilles reliant chaque carte au synoptique */
.sol-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--line-length, 60px);
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, .85) 0,
    rgba(255, 255, 255, .85) 4px,
    transparent 4px,
    transparent var(--line-gap, 10px)
  );
  transform-origin: 0 0;
  transform: rotate(var(--line-angle, 0deg));
  pointer-events: none;
  z-index: -1;
}

.sol-card__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue);
  color: var(--c-white);
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .75rem;
  line-height: 1;
}

.sol-card__label {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .8rem;
  color: var(--c-ink);
  line-height: 1.35;
  text-transform: uppercase;
}

/* On place un carré invisible pile sur la croix de l'hôpital */
/* La pastille centrale : SOLIDE, NETTE et INCONTOURNABLE */
.hospital-light {
    position: absolute;
    width: 2cqi;  /* 33px à 1516.8 de large, scale avec le frame */
    height: 1.6cqi;
    top: 31.5%;
    left: 23%;
    border-radius: 50%;
    
    /* Une ombre noire bien foncée en dessous pour donner du relief */
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); 
    
    pointer-events: none;
    z-index: 99; /* Passe au-dessus de tout pour être bien visible */
    
    /* Animation d'onde nette */
    animation: pulse-high-visibility 2s infinite ease-out;
}

/* L'onde externe qui s'élargit de manière très distincte */
@keyframes pulse-high-visibility {
    0% {
        /* L'onde part du bord de la pastille, bien opaque (0.8) */
        box-shadow: 0 0 0 0 rgba(165, 205, 58, 0.8), 0 3px 6px rgba(0, 0, 0, 0.4);
    }
    70% {
        /* Elle grandit jusqu'à 15px de large en devenant transparente */
        box-shadow: 0 0 0 15px rgba(0, 208, 255, 0), 0 3px 6px rgba(0, 0, 0, 0.4);
    }
    100% {
        /* Reset pour la boucle */
        box-shadow: 0 0 0 0 rgba(165, 205, 58, 0), 0 3px 6px rgba(0, 0, 0, 0.4);
    }
}

/* ════════════════════ 1. LES FEUX DE SIGNALISATION ════════════════════ */
.traffic-light {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    z-index: 10;
    pointer-events: none;
}

/* --- FEU ROUGE : Brille puis disparaît --- */
.traffic-light.red {
    animation: traffic-red-phase 5s infinite steps(1);
}

@keyframes traffic-red-phase {
    0%, 45% { 
        background-color: #ff3b30;
        box-shadow: 0 0 8px 2px #ff3b30;
        opacity: 1; /* Totalement visible */
    }
    50%, 100% { 
        opacity: 0; /* Disparition complète (bordure incluse) */
    }
}

/* --- FEU VERT : Invisible puis apparaît --- */
.traffic-light.green {
    animation: traffic-green-phase 5s infinite steps(1);
}

@keyframes traffic-green-phase {
    0%, 45% { 
        opacity: 0; /* Invisible pendant que le rouge est allumé */
    }
    50%, 100% { 
        background-color: #4cd964;
        box-shadow: 0 0 8px 2px #4cd964;
        opacity: 1; /* Totalement visible */
    }
}
/* ════════════════════ 2. LES LAMPADAIRES ════════════════════ */
.street-lamp {
    position: absolute;
    width: 5px;
    height: 5px;
    top: 39.7%;
    left: 25.504%;
    background-color: #fffbe0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    /* Petit effet de grésillement (flicker) de la lumière de nuit */
    animation: lamp-flicker 6s infinite ease-in-out;
}

@keyframes lamp-flicker {
    0%, 100%, 20%, 40%, 70%, 80% { 
        box-shadow: 0 0 8px 3px rgba(255, 235, 59, 0.7);
        opacity: 0.9;
    }
    30%, 75% { 
        box-shadow: 0 0 12px 5px rgba(255, 235, 59, 0.9);
        opacity: 1;
    }
    32% { /* Micro coupure réaliste */
        box-shadow: 0 0 2px 0px rgba(255, 235, 59, 0.2);
        opacity: 0.4;
    }
}

/* ════════════════════ 3. L'ÉCLAIRAGE BÂTIMENTS ════════════════════ */
.building-window {
    position: absolute;
    background-color: #ffe564;
    z-index: 5;
    pointer-events: none;
    filter: blur(0.5px); /* Adoucit la forme de la fenêtre */
    animation: window-glow 8s infinite ease-in-out;
}

@keyframes window-glow {
    0%, 100%, 90% { 
        opacity: 0.3; 
        box-shadow: none;
    }
    20%, 70% { 
        opacity: 0.95; 
        box-shadow: 0 0 6px rgba(255, 229, 100, 0.6);
    }
}

/* ════════════════════ 4. L'EAU ANIMÉE (ISO) ════════════════════ */
.water-bassin {
    position: absolute;
    width: 50px;  /* À ajuster selon la taille réelle de la mare sur ton écran */
    height: 25px; 
    /* On écrase le conteneur à 50% sur l'axe vertical pour la perspective iso */
    transform: scaleY(0.5); 
    pointer-events: none;
    z-index: 4;
}

.water-ripple {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1.5px solid #ffffff; 
    border-radius: 50%;
    opacity: 0;
    animation: water-wave 3s infinite linear;
}

@keyframes water-wave {
    0% {
        transform: scale(0.1);
        opacity: 0.8;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Positionnement des cartes (%) + angle des pointilles */
/* Collectivites */

.sol-layout--collectivites .sol-card--1 { top: 2%;   left: 19%;  --line-angle: 63deg; --line-length: 12.1cqi; }
.sol-layout--collectivites .sol-card--2 { top: 14%;  left: 45%;  --line-angle: 90deg; --line-length: 13cqi; }
.sol-layout--collectivites .sol-card--3 { top: 30%;  left: 60%;  --line-angle: 118deg; --line-length: 10cqi; }
.sol-layout--collectivites .sol-card--4 { top: 53%;  left: 82%;  --line-angle: 160deg; --line-length: 13cqi; }
.sol-layout--collectivites .sol-card--5 { top: 80%;  left: 74%;  --line-angle: 212deg; --line-length: 14cqi; }
.sol-layout--collectivites .sol-card--6 { top: 85%;  left: 45%;  --line-angle: 300deg; --line-length: 11.7cqi; }
.sol-layout--collectivites .sol-card--7 { top: 67%;  left: 25%;  --line-angle: 325deg; --line-length: 16.4cqi; }
.sol-layout--collectivites .sol-card--8 { top:51%;  left:7%;   --line-angle: -18deg; --line-length: 18.6cqi; }
.sol-layout--collectivites .sol-card--9 { top: 21%;  left: 2%;   --line-angle: 20deg; --line-length: 13.4cqi; }

/* Ports */
.sol-layout--ports .sol-card--1  { top: 10%;   left: 24%;  --line-angle: 66deg; --line-length: 7.25cqi; }
.sol-layout--ports .sol-card--2  { top: 15%;  left: 48%;  --line-angle: 125deg; --line-length: 13.85cqi; }
.sol-layout--ports .sol-card--3  { top: 30%;  left: 61%;  --line-angle: 120deg; --line-length: 10.55cqi; }
.sol-layout--ports .sol-card--4  { top: 29%;  left: 81%;  --line-angle: 180deg; --line-length: 12.53cqi; }
.sol-layout--ports .sol-card--5  { top: 47%;  left: 75%;  --line-angle: 135deg; --line-length: 9.89cqi; }
.sol-layout--ports .sol-card--6  { top: 79%;  left: 71%;  --line-angle: 230deg; --line-length: 10.81cqi; }
.sol-layout--ports .sol-card--7  { top: 74%;  left: 36%;  --line-angle: 280deg; --line-length: 13.19cqi; }
.sol-layout--ports .sol-card--8  { top: 61%;  left: 15%;  --line-angle: 325deg; --line-length: 17cqi; }
.sol-layout--ports .sol-card--9  { top: 46%;  left: 3%;   --line-angle: 331deg; --line-length: 16.09cqi; }
.sol-layout--ports .sol-card--10 { top: 21%;  left: 4%;   --line-angle: 29deg;  --line-length: 12.53cqi; }

/* Campings */
.sol-layout--campings .sol-card--1  { top: 9%;   left: 22.4%;  --line-angle: 90deg; --line-length: 8.24cqi; }
.sol-layout--campings .sol-card--2  { top: 15%;  left: 44%;   --line-angle: 90deg; --line-length: 11.8cqi; }
.sol-layout--campings .sol-card--3  { top:   5%;  left: 65%;  --line-angle:   165deg; --line-length: 13.19cqi; }
.sol-layout--campings .sol-card--4  { top: 35%;  left: 66%;  --line-angle: 120deg; --line-length: 9.23cqi; }
.sol-layout--campings .sol-card--5  { top: 24%;  left: 80%;  --line-angle: 137deg; --line-length: 11.87cqi; }
.sol-layout--campings .sol-card--6  { top: 74%;  left: 77%;  --line-angle: 210deg; --line-length: 13cqi; }
.sol-layout--campings .sol-card--7  { top:   89%;  left: 54%;  --line-angle:   280deg; --line-length: 10.55cqi;}
.sol-layout--campings .sol-card--8  { top:   78%;  left: 37%;  --line-angle:   303deg; --line-length: 15.85cqi;}
.sol-layout--campings .sol-card--9  { top: 65%;  left:   26%;  --line-angle:   315deg; --line-length: 13.85cqi; }
.sol-layout--campings .sol-card--10 { top:   65%;  left: 5%;  --line-angle:   -2deg; --line-length: 12.88cqi; }
.sol-layout--campings .sol-card--11 { top: 45%;  left: 7%;  --line-angle: 234deg; --line-length: 9.23cqi; }
.sol-layout--campings .sol-card--12 { top: 29%;  left: 1%;  --line-angle: 0deg; --line-length: 10.48cqi; }

/* Agricultures */
.sol-layout--agricultures .sol-card--1  { top: 5%;   left: 22%;  --line-angle: 66deg; --line-length: 9.25cqi; }
.sol-layout--agricultures .sol-card--2  { top: 13%;  left: 45%;  --line-angle: 125deg; --line-length: 13.85cqi; }
.sol-layout--agricultures .sol-card--3  { top: 30%;  left: 62%;  --line-angle: 120deg; --line-length: 10.55cqi; }
.sol-layout--agricultures .sol-card--4  { top: 28%;  left: 85%;  --line-angle: 180deg; --line-length: 13.53cqi; }
.sol-layout--agricultures .sol-card--5  { top: 47%;  left: 75%;  --line-angle: 135deg; --line-length: 9.89cqi; }
.sol-layout--agricultures .sol-card--6  { top: 80%;  left: 70%;  --line-angle: 230deg; --line-length: 10.81cqi; }
.sol-layout--agricultures .sol-card--7  { top: 77%;  left: 41%;  --line-angle: 305deg; --line-length: 15.19cqi; }
.sol-layout--agricultures .sol-card--8  { top: 63%;  left: 15%;  --line-angle: 317deg; --line-length: 17.80cqi; }
.sol-layout--agricultures .sol-card--9  { top: 46%;  left: 5%;   --line-angle: 338deg; --line-length: 18.06cqi; }
.sol-layout--agricultures .sol-card--10 { top: 16%;  left: 6%;   --line-angle: 29deg; --line-length: 12.53cqi; }

/* Industries */
.sol-layout--industries .sol-card--1  { top: 3%;   left: 26%;  --line-angle: 95deg; --line-length: 10.2cqi; }
.sol-layout--industries .sol-card--2  { top: 15%;  left: 52.6%;  --line-angle: 125deg; --line-length: 18.85cqi; }
.sol-layout--industries .sol-card--3  { top: 40%;  left: 70%;  --line-angle: 135deg; --line-length: 15.85cqi; }
.sol-layout--industries .sol-card--4  { top: 78%;  left: 73%;  --line-angle: 216deg; --line-length: 11.75cqi; }
.sol-layout--industries .sol-card--5  { top: 75%;  left: 35%;  --line-angle: 290deg; --line-length: 10.57cqi; }
.sol-layout--industries .sol-card--6  { top: 63%;  left: 19%;  --line-angle: 318deg; --line-length: 14.82cqi; }
.sol-layout--industries .sol-card--7  { top: 49%;  left: 7%;   --line-angle: -30deg; --line-length: 10.55cqi; }
.sol-layout--industries .sol-card--8  { top: 28%;  left: 2%;   --line-angle: 29deg; --line-length: 12.5cqi; }
.sol-layout--industries .sol-card--9  { top: 11%;  left: 7%;   --line-angle: 90deg; --line-length: 8.2cqi; }


/* --- CTA bloc (centré, sans grid 2 col) --- */
.sol-cta-panel {
  text-align: center;
  margin: 0 auto;
}

.sol-cta-panel h3 {
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* --- Solution cards grid --- */
.sol-card-link {
  min-height: 180px;
}

.sol-card-link h3 {
  font-size: 1rem;
}

/* --- Liste des capacites (mobile only) --- */
.sol-capacities-list {
  display: none;
  list-style: none;
  padding: clamp(20px, 5vw, 40px);
  margin: 0;
  background: var(--c-bg-alt);
  counter-reset: sol-cap;
}

.sol-capacities-list li {
  counter-increment: sol-cap;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--c-ink);
}

.sol-capacities-list li:last-child {
  border-bottom: none;
}

.sol-capacities-list__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue);
  color: var(--c-white);
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .75rem;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════════
   SYNOPTIQUE — Responsive
   ══════════════════════════════════════════════════════════════ */

/* --- 1280px --- */
@media screen and (max-width: 1280px) {
  .sol-sidebar {
    flex: 0 0 24%;
  }
  .sol-sidebar__title {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
  }
}

/* --- 1024px : row → col, dots, liste --- */
@media screen and (max-width: 1024px) {
  .hospital-light { display: none; }

  .sol-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sol-sidebar {
    flex: none;
    padding: clamp(24px, 4vw, 48px);
    border-radius: 0;
  }

  .sol-sidebar__title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }

  .sol-factoid {
    margin-top: 24px;
  }

  .sol-synoptique {
    flex: none;
    width: 100%;
    aspect-ratio: var(--syn-ratio);
  }

  /* Les points se placent au point d'arrivée des pointillés (positions
     par layout plus bas), translate(-50%,-50%) centre le point dessus */
  .sol-card {
    transform: translate(-50%, -50%);
    background: var(--c-blue);
    width: 28px;
    height: 28px;
    min-width: 28px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    max-width: none;
    justify-content: center;
  }

  .sol-card__label { display: none; }
  .sol-card::after { display: none; }

  .sol-card__num {
    width: 100%;
    height: 100%;
    background: transparent;
    color: var(--c-white);
    border-radius: 50%;
    font-size: .8rem;
  }

    /* Hover inutile mais je laisse touche pas
  .sol-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
  }
  */
  .sol-capacities-list { display: block; }

  /* Position des points = point d'arrivée du pointillé desktop
     (centre de carte + longueur x angle, mesuré en % du frame) */
  .sol-layout--collectivites .sol-card--1 { top: 22.63%; left: 33.19%; }
  .sol-layout--collectivites .sol-card--2 { top: 38.56%; left: 52.25%; }
  .sol-layout--collectivites .sol-card--3 { top: 50.98%; left: 62.56%; }
  .sol-layout--collectivites .sol-card--4 { top: 63.5%; left: 76.5%; }
  .sol-layout--collectivites .sol-card--5 { top: 71.21%; left: 70.91%; }
  .sol-layout--collectivites .sol-card--6 { top: 66.37%; left: 58.10%; }
  .sol-layout--collectivites .sol-card--7 { top: 56.48%; left: 45.69%; }
  .sol-layout--collectivites .sol-card--8 { top: 44.24%; left: 33.84%; }
  .sol-layout--collectivites .sol-card--9 { top: 33.35%; left: 24.5%; }

  .sol-layout--ports .sol-card--1  { top: 23.02%; left: 34.20%; }
  .sol-layout--ports .sol-card--2  { top: 36.22%; left: 48.8%; }
  .sol-layout--ports .sol-card--3  { top: 47.85%; left: 62.98%; }
  .sol-layout--ports .sol-card--4  { top: 54.80%; left: 70.72%; }
  .sol-layout--ports .sol-card--5  { top: 60.16%; left: 74.67%; }
  .sol-layout--ports .sol-card--6  { top: 68.19%; left: 70.30%; }
  .sol-layout--ports .sol-card--7  { top: 56.02%; left: 45.54%; }
  .sol-layout--ports .sol-card--8  { top: 50.24%; left: 37.91%; }
  .sol-layout--ports .sol-card--9  { top: 39.55%; left: 26.19%; }
  .sol-layout--ports .sol-card--10 { top: 29.05%; left: 27.21%; }

  .sol-layout--campings .sol-card--1  { top: 27.35%; left: 31.2%; }
  .sol-layout--campings .sol-card--2  { top: 40.73%; left: 49.25%; }
  .sol-layout--campings .sol-card--3  { top: 40.74%; left: 53.51%; }
  .sol-layout--campings .sol-card--4  { top: 54.98%; left: 68.64%; }
  .sol-layout--campings .sol-card--5  { top: 63.27%; left: 77.57%; }
  .sol-layout--campings .sol-card--6  { top: 68%; left: 72.10%; }
  .sol-layout--campings .sol-card--7  { top: 72.12%; left: 65.08%; }
  .sol-layout--campings .sol-card--8  { top: 58.29%; left: 54.35%; }
  .sol-layout--campings .sol-card--9  { top: 54.54%; left: 44.46%; }
  .sol-layout--campings .sol-card--10 { top: 39%; left: 25.5%; }
  .sol-layout--campings .sol-card--11 { top: 35.43%; left: 21.83%; }
  .sol-layout--campings .sol-card--12 { top: 31.80%; left: 26.46%; }

  .sol-layout--agricultures .sol-card--1  { top: 24%; left: 34.20%; }
  .sol-layout--agricultures .sol-card--2  { top: 37.08%; left: 49.31%; }
  .sol-layout--agricultures .sol-card--3  { top: 48.72%; left: 62.98%; }
  .sol-layout--agricultures .sol-card--4  { top: 52.80%; left: 68.5%; }
  .sol-layout--agricultures .sol-card--5  { top: 60.16%; left: 74.3%; }
  .sol-layout--agricultures .sol-card--6  { top: 68.33%; left: 66.30%; }
  .sol-layout--agricultures .sol-card--7  { top: 64.15%; left: 58.73%; }
  .sol-layout--agricultures .sol-card--8  { top: 48.39%; left: 36.83%; }
  .sol-layout--agricultures .sol-card--9  { top: 38.63%; left: 31.00%; }
  .sol-layout--agricultures .sol-card--10 { top: 34.19%; left: 25.21%; }

  .sol-layout--industries .sol-card--1 { top: 28.93%; left: 33.71%; }
  .sol-layout--industries .sol-card--2 { top: 40.08%; left: 49.31%; }
  .sol-layout--industries .sol-card--3 { top: 57.67%; left: 67.76%; }
  .sol-layout--industries .sol-card--4 { top: 71.31%; left: 71.55%; }
  .sol-layout--industries .sol-card--5 { top: 61.64%; left: 47%; }
  .sol-layout--industries .sol-card--6 { top: 52.12%; left: 39.21%; }
  .sol-layout--industries .sol-card--7 { top: 43.90%; left: 28.39%; }
  .sol-layout--industries .sol-card--8 { top: 39.82%; left: 21.48%; }
  .sol-layout--industries .sol-card--9 { top: 35.34%; left: 26.25%; }
}

/* --- 840px --- */
@media screen and (max-width: 840px) {
  .sol-card {
    width: 26px;
    height: 26px;
    min-width: 26px;
  }
  .sol-card__num { font-size: .7rem; }
}

/* --- 640px --- */
@media screen and (max-width: 640px) {
  .sol-layout { width: 100%; }

  .sol-sidebar { padding: 20px; }
  .sol-sidebar__title { font-size: 1.2rem; }
  .sol-sidebar__text { font-size: .88rem; }

  .sol-factoid {
    padding: clamp(16px, 4vw, 24px);
    margin-top: 16px;
  }
  .sol-factoid__eyebrow { font-size: .7rem; }
  .sol-factoid__text { font-size: .95rem; }

  .sol-card {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }
  .sol-card__num { font-size: .65rem; }

  .sol-capacities-list li { font-size: .88rem; padding: 12px 0; gap: 10px; }
  .sol-capacities-list__num { width: 24px; height: 24px; font-size: .7rem; }
}

/* --- 480px --- */
@media screen and (max-width: 480px) {
  .sol-card {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }
  .sol-card__num { font-size: .6rem; }

  .sol-capacities-list li { font-size: .82rem; }
  .sol-capacities-list__num { width: 22px; height: 22px; font-size: .65rem; }
}

/* ══════════════════════════════════════════════════════════════
   ENGAGEMENTS — Layout sidebar + hero + stats + panneau vert
   ══════════════════════════════════════════════════════════════ */

/* --- Sidebar gauche (bleu fonce) --- */
.eng-sidebar {
  background: var(--c-blue-deep);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.eng-sidebar__content { max-width: 481px; }

.eng-sidebar__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: var(--c-white);
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.15;
}

.eng-sidebar__subtitle {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--c-green);
  text-transform: uppercase;
  margin: 0 0 20px;
  line-height: 1.2;
}

.eng-sidebar__text {
  font-size: .92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 12px;
}

/* --- Badges --- */
.eng-badges {
  display: flex;
  gap: clamp(-7px, 2vw, 5px);
  flex-wrap: wrap;
}

.eng-badge {
  width: clamp(48px, 8vw, 88px);
  height: clamp(48px, 8vw, 88px);
  object-fit: contain;
  border-radius: 50%;
}

/* --- Hero droit (container query) --- */
.eng-hero {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--eng-bg) center/cover no-repeat;
  container-type: inline-size;
}

.eng-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 38, 56, 0.25);
  z-index: 0;
  pointer-events: none;
}

/* --- Phone mockup (dans le hero) --- */
.eng-phone {
  position: absolute;
  top: 4cqi;
  left: 3cqi;
  width: clamp(130px, 18cqi, 260px);
  max-width: 260px;
  transform: rotate(3deg);
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, .4));
  z-index: 5;
}

.eng-phone img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, .3));
}

/* --- 3 cercles de stats (triangle) --- */
.eng-stats {
  position: absolute;
  top: 74%;
  left: 57%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: auto;
  height: auto;
  z-index: 1;
}

.eng-stats .stat--circle {
  position: absolute;
  width: 125px;
  height: 125px;
  flex: none;
  padding: clamp(12px, 2.4cqi, 36px) clamp(6px, 1.2cqi, 20px);
  border: 5px solid var(--c-green);
  margin: 0;
}

.eng-stats .stat--circle:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.eng-stats .stat--circle:nth-child(2) { bottom: 0; left: 0; }
.eng-stats .stat--circle:nth-child(3) { bottom: 0; right: 0; }

.eng-stats .stat--circle .stat__value { font-size: 1.9rem; margin: -4px 0 0; }
.eng-stats .stat--circle .stat__label { font-size: clamp(.78rem, 1.1cqi, 1rem); margin-top: 0; }


/* --- Panneau vert Engagements & RSE --- */
.eng-panel {
  position: absolute;
  bottom: 3cqi;
  right: 3cqi;
  background: var(--c-green);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3cqi, 40px);
  max-width: clamp(280px, 28cqi, 400px);
  z-index: 2;
}

.eng-panel__eyebrow {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink);
  opacity: .7;
  display: block;
  margin-bottom: 8px;
}

.eng-panel__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.6cqi, 1.6rem);
  color: var(--c-ink);
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1.2;
}

.eng-panel__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.eng-panel__list li {
  font-size: clamp(.82rem, .9cqi, .95rem);
  line-height: 1.5;
  color: var(--c-ink);
  padding-left: 18px;
  position: relative;
}

.eng-panel__list li::before {
  content: "\25CB";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-ink);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   ENGAGEMENTS — Responsive
   ══════════════════════════════════════════════════════════════ */

/* --- 1024px : Bascule colonne --- */
@media screen and (max-width: 1024px) {
  .sol-layout--engagements {
    display: flex;
    flex-direction: column;
  }
  .eng-sidebar {
    flex: none;
    padding: clamp(24px, 5vw, 48px);
    align-items: center;
    text-align: center;
  }
  .eng-sidebar__title { font-size: clamp(1.4rem, 3vw, 2rem); }
  .eng-hero { min-height: 800px; }
  .eng-phone {
    left: 4%;
    width: 160px;
    max-width: 200px;
    transform: rotate(2deg);
  }
  .eng-stats {
    width: auto;
    height: auto;
    top: 23%;
  }
  .eng-stats .stat--circle {
    width: 125px;
    height: 125px;
    padding: 18px 12px;
  }
  .eng-stats .stat--circle .stat__value { font-size: 2rem; margin: -4px 0 0; }
  .eng-stats .stat--circle .stat__label { font-size: .85rem; }
  .eng-panel {
    bottom: 20px;
    left: 50%;
    right: auto;
    max-width: 90%;
    transform: translateX(-50%);
  }
}

/* --- 640px : Mobile, stats en stack --- */
@media screen and (max-width: 640px) {
  .eng-sidebar { padding: clamp(20px, 5vw, 32px); }
  .eng-sidebar__title { font-size: 1.3rem; }
  .eng-sidebar__subtitle { font-size: 1rem; }
  .eng-sidebar__text { font-size: .85rem; }
  .eng-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }
  .eng-phone {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 130px;
    margin: 0;
  }
  .eng-stats {
    width: 100%;
    height: auto;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0;
  }
  .eng-stats .stat--circle {
    position: relative;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    right: auto !important;
    transform: none !important;
    width: 120px;
    height: 120px;
    padding: 18px 8px;
  }
  .eng-stats .stat--circle .stat__value { font-size: 1.6rem; margin: -4px 0 0; }
  .eng-stats .stat--circle .stat__label { font-size: .88rem; }
  .eng-panel {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    max-width: 100%;
    margin: 0;
  }
  .eng-badges { gap: 10px; }
  .eng-badge { width: clamp(40px, 10vw, 56px); height: clamp(40px, 10vw, 56px); }
}

/* ══════════════════════════════════════════════════════════════
   IMPACT SCORE — Full-page layout (sans scroll)
   ══════════════════════════════════════════════════════════════
   Scaling fluide via clamp() — pas de redéfinition de variables.
   ══════════════════════════════════════════════════════════════ */

/* --- Variables (scaling continu) --- */
.impact-page {
  --card-w: clamp(140px, 14vw, 260px);
  --card-h: clamp(100px, 8vw, 155px);
  --card-icon: clamp(40px, 4vw, 75px);
  --card-font: clamp(.6rem, .7vw, .8rem);
  --card-gap: clamp(8px, 1.2vw, 20px);

  --souv-card-w: clamp(120px, 10vw, 193px);
  --souv-card-h: clamp(100px, 7vw, 140px);
  --souv-card-icon: clamp(32px, 2.6vw, 50px);
  --souv-card-font: clamp(.6rem, .6vw, .8rem);

  --badge-circle: clamp(55px, 5.7vw, 110px);
  --badge-logo: clamp(42px, 4.2vw, 80px);
  --badge-font: 14px;

  --logo-hydracom: clamp(110px, 12.8vw, 245px);
  --logo-mif: clamp(60px, 6.3vw, 120px);
}

/* --- Page full-screen --- */
.impact-page {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 85px);
  background: url('/assets/img/photo-impact-score.webp') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.impact-page__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 38, 56, .85) 0%, rgba(26, 38, 56, .45) 50%, transparent 100%);
  z-index: 0;
}

/* --- Badge (haut droit) --- */
.impact-badge-area {
  position: absolute;
  top: clamp(12px, 2vw, 32px);
  right: clamp(12px, 2vw, 32px);
  width: clamp(150px, 16vw, 300px);
  height: clamp(100px, 10vw, 200px);
  z-index: 3;
}

.impact-badge-area__circle {
  position: absolute;
  top: 0;
  left: -4%;
  width: var(--badge-circle);
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .3));
}

.impact-badge-area__text {
  position: absolute;
  top: 8px;
  left: clamp(60px, 6.2vw, 119px);
  text-align: left;
}

.impact-badge-area__logo {
  width: var(--badge-logo);
  height: auto;
  margin-bottom: 2px;
}

.impact-badge-area__desc {
  font-size: var(--badge-font);
  color: rgba(255, 255, 255, .8);
  margin: 0;
  max-width: 160px;
  line-height: 1.3;
}

/* --- Zone haute : titre + 5 cartes --- */
.impact-top {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 40px) clamp(16px, 4vw, 48px);
  padding-right: clamp(140px, 18vw, 280px);
}

.impact-top__header {
  margin-bottom: clamp(12px, 2vw, 24px);
}

.impact-top__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--c-white);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 6px;
}

.impact-top__subtitle {
  font-size: clamp(.7rem, .9vw, .85rem);
  color: rgba(255, 255, 255, .8);
  margin: 0;
}

/* --- 5 cartes domaines (auto-fill) --- */
.impact-domains {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-w), 0fr));
  gap: var(--card-gap);
}

/* --- Carte transparente --- */
.impact-card {
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 0;
  padding: clamp(4px, 1vw, 8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(6px, 1vw, 12px);
  transition: background .2s, transform .2s;
  width: var(--card-w);
  min-height: var(--card-h);
}

.impact-card__icon {
  width: var(--card-icon);
  height: var(--card-icon);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.impact-card__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--card-font);
  color: var(--c-white);
  text-transform: uppercase;
  line-height: 1.3;
  display: block;
}

/* --- Section Accompagnement (vert) --- */
.impact-accomp {
  position: relative;
  z-index: 1;
  background: #C4DF7E;
  margin: 0;
  padding: clamp(10px, 2.5vw, 22px) clamp(20px, 3vw, 40px);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  max-width: clamp(280px, 48%, 920px);
}

.impact-accomp__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  color: var(--c-ink);
  text-transform: uppercase;
  margin: 0 0 4px;
  line-height: 1.2;
}

.impact-accomp__subtitle {
  font-size: clamp(.6rem, .8vw, .78rem);
  color: var(--c-ink);
  margin: 0 0 clamp(12px, 2vw, 20px);
  opacity: .85;
}

/* --- 4 cercles stats (grid au lieu de absolute) --- */
.impact-accomp__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 16px);
  justify-items: center;
}

/* --- Copies des cercles stat --- */
.stat--impact-copy {
  position: relative;
  background: transparent;
  border-color: var(--c-green-dark);
  width: clamp(80px, 8vw, 153px);
  height: clamp(80px, 8vw, 153px);
}

.stat--impact-copy .stat__value,
.stat--impact-copy .stat__label {
  color: #000000;
  font-weight: 900;
}

.stat--install   { border-bottom-color: var(--c-white); border-right-color: var(--c-white); }
.stat--formation { border-top-color: var(--c-white); border-right-color: var(--c-white); }
.stat--hotline   { border-left-color: var(--c-white); border-bottom-color: var(--c-white); }
.stat--sav       { border-left-color: var(--c-white); border-top-color: var(--c-white); }

/* --- Section Souverainete (vert fonce) --- */
.impact-souv {
  position: relative;
  z-index: 1;
  background: var(--c-green-dark);
  padding: clamp(14px, 2vw, 25px) clamp(20px, 3vw, 40px);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  max-width: clamp(350px, 69.2%, 1330px);
}

.impact-souv__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  color: var(--c-white);
  text-transform: uppercase;
  margin: 0 0 clamp(10px, 1.5vw, 18px);
  line-height: 1.2;
}

.impact-souv__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--souv-card-w), 1fr));
  gap: var(--card-gap);
}

.impact-souv .impact-card {
  width: var(--souv-card-w);
  min-height: var(--souv-card-h);
}

.impact-souv .impact-card__icon {
  width: var(--souv-card-icon);
  height: var(--souv-card-icon);
}

.impact-souv .impact-card__title {
  font-size: var(--souv-card-font);
}

/* --- Logos bas droit --- */
.impact-bottom-logos {
  position: absolute;
  bottom: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 32px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
}

.impact-bottom-logos__hydracom {
  width: var(--logo-hydracom);
  height: auto;
}

.impact-bottom-logos__mif {
  width: var(--logo-mif);
  height: auto;
}

/* ══════════════════════════════════════════════════════════════
   IMPACT SCORE — Responsive (2 breakpoints)
   ══════════════════════════════════════════════════════════════ */

/* --- 768px : layout change (badge inline, blocs full-width, stats grid 2col, logos centrés) --- */
@media (max-width: 768px) {
  .impact-page { min-height: auto; }
  .impact-card__title { overflow: visible; }
  .impact-top {
    padding: clamp(16px, 3vw, 32px) clamp(14px, 3vw, 32px);
    padding-right: clamp(14px, 3vw, 32px);
  }

  .impact-badge-area {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: clamp(8px, 1.5vw, 14px) clamp(14px, 3vw, 32px);
  }

  .impact-badge-area__circle {
    position: relative;
    top: auto;
    left: auto;
    flex-shrink: 0;
  }

  .impact-badge-area__text {
    position: relative;
    top: auto;
    left: auto;
    text-align: left;
  }

  .impact-accomp,
  .impact-souv {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

  .impact-accomp__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat--circle-impact {
    width: clamp(100px, 15vw, 120px);
    height: clamp(100px, 15vw, 120px);
  }

  .impact-bottom-logos {
    position: relative;
    bottom: auto;
    right: auto;
    justify-content: center;
    padding: clamp(12px, 2vw, 20px);
  }
}

/* --- 480px : mobile serré --- */
@media (max-width: 480px) {
  .impact-top__title {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .impact-top__subtitle {
    font-size: .65rem;
  }

  .impact-accomp__title,
  .impact-souv__title {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }

  .impact-accomp__subtitle {
    font-size: .6rem;
  }

  .impact-card {
    width: 100%;
    height: auto;
    min-height: clamp(80px, 20vw, 100px);
  }

  .impact-souv .impact-card {
    width: 100%;
    height: auto;
    min-height: clamp(80px, 20vw, 100px);
  }

  .impact-accomp__stats {
    gap: 8px;
  }

  .stat--circle-impact {
    width: clamp(80px, 18vw, 100px);
    height: clamp(80px, 18vw, 100px);
    border-width: 4px;
  }

  .stat--circle-impact .stat__label {
    font-size: clamp(.5rem, 1.5vw, .6rem);
  }

  .impact-bottom-logos {
    flex-direction: column;
    gap: 10px;
  }
}

/* ══════════════════════════════════════════════════════════════
   404 — Page d'erreur personnalisee
   ══════════════════════════════════════════════════════════════ */

.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  background: var(--c-blue-deep);
  text-align: center;
  padding: clamp(24px, 5vw, 60px);
}

.error-404__inner {
  max-width: 500px;
}

.error-404__code {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(5rem, 15vw, 10rem);
  color: var(--c-white);
  line-height: 1;
  opacity: .15;
  margin-bottom: -20px;
}

.error-404__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--c-white);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.error-404__text {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, .75);
  margin: 0 0 32px;
  line-height: 1.6;
}

.error-404__btn {
  display: inline-block;
}

/* ══════════════════════════════════════════════════════════════
   A PROPOS — Hero orange + mockups + team + panneau vert
   ══════════════════════════════════════════════════════════════ */

/* --- Hero orange compact --- */
.apropos-hero {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  background: var(--c-orange);
  padding: clamp(44px, 2vw, 57px) clamp(20px, 4vw, 60px);
}

.apropos-hero__content {
  flex: 0 0 55%;
}

.apropos-hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--c-white);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 8px;
}

.apropos-hero__intro {
  font-size: clamp(.78rem, .85vw, .88rem);
  color: rgba(255, 255, 255, .9);
  line-height: 1.45;
  margin: 0;
}

.apropos-hero__mockups {
  flex: 1;
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apropos-hero__macbook {
  width: clamp(143px, 23vw, 282px);
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, .3));
  position: absolute;
  z-index: 2;
  top: -28px;
  right: 486px;
}

.apropos-hero__van {
  width: clamp(258px, 36vw, 424px);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .3));
  position: absolute;
  right: -2px;
  bottom: -209px;
  z-index: 1;
}

/* --- Panneau vert + Photo equipe side by side --- */
.apropos-team {
  display: flex;
  min-height: clamp(320px, calc(100vh - 160px), 500px);
}

.apropos-team__panel {
  flex: 0 0 22%;
  background: var(--c-green);
  padding: clamp(20px, 3vw, 66px);
  display: flex;
  flex-direction: column;
}

.apropos-team__panel-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: var(--c-ink);
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1.2;
}

.apropos-team__panel-text {
  font-size: clamp(.78rem, .85vw, .88rem);
  color: var(--c-ink);
  line-height: 1.55;
  margin: 0;
  opacity: .9;
}

.apropos-team__photo {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
}

.apropos-team__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.apropos-team__legend {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
  color: rgba(255, 255, 255, .8);
  font-size: clamp(.55rem, .7vw, .7rem);
  line-height: 1.4;
  padding: clamp(20px, 2.5vw, 32px) clamp(12px, 2vw, 24px) clamp(10px, 1.5vw, 16px);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Hotspot dirigeant + bulle citation --- */
.apropos-team__hotspot {
  position: absolute;
  top: 37%;
  right: 12%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 5;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apropos-team__hotspot-dot {
  width: 16px;
  height: 16px;
  background: var(--c-blue);
  border-radius: 50%;
  display: block;
  position: relative;
  box-shadow: 0 0 0 0 rgba(30, 151, 212, .5);
  animation: hotspot-pulse 2s ease-in-out infinite;
  transition: transform .25s ease;
}

.apropos-team__hotspot:hover .apropos-team__hotspot-dot {
  transform: scale(1.3);
  animation: none;
}

.apropos-team__hotspot-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .6rem;
  font-weight: 600;
  color: var(--c-white);
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity .25s ease;
}

.apropos-team__hotspot:hover .apropos-team__hotspot-label {
  opacity: 1;
}

@keyframes hotspot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(30, 151, 212, .55); }
  70%  { box-shadow: 0 0 0 14px rgba(30, 151, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 151, 212, 0); }
}

/* Bulle citation */
.apropos-team__bubble {
  position: absolute;
  bottom: calc(68% + -289px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(.92);
  width: clamp(280px, 30vw, 380px);
  background: var(--c-white);
  color: var(--c-ink);
  border-radius: 10px;
  padding: clamp(14px, 2vw, 22px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  text-align: left;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 10;
}

.apropos-team__hotspot:hover .apropos-team__bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.apropos-team__bubble-name {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(.85rem, 1vw, 1rem);
  color: var(--c-blue-deep);
  margin-bottom: 2px;
}

.apropos-team__bubble-role {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-orange);
  margin-bottom: 10px;
}

.apropos-team__bubble-text {
  display: block;
  font-size: clamp(.75rem, .82vw, .85rem);
  line-height: 1.55;
  color: var(--c-ink);
  font-style: italic;
}

.apropos-team__bubble-source {
  display: block;
  font-size: .65rem;
  color: var(--c-ink-soft, #6b7a8d);
  margin-top: 10px;
  font-style: normal;
}

/* --- Caption citation mobile (hidden desktop) --- */
.apropos-team__quote-mobile {
  display: none;
}

/* --- Section compacte --- */
.section--compact {
  padding: clamp(24px, 3vw, 48px) 0;
}

/* ══════════════════════════════════════════════════════════════
   A PROPOS — Responsive
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .apropos-hero {
    flex-direction: column;
    text-align: left;
    padding: clamp(14px, 2vw, 20px) clamp(16px, 3vw, 24px);
  }

  .apropos-hero__content {
    flex: none;
    max-width: 100%;
  }

  .apropos-hero__mockups {
    display: none;
  }

  .apropos-team {
    flex-direction: column;
    min-height: auto;
  }

  .apropos-team__panel {
    flex: none;
  }

  .apropos-team__photo {
    min-height: clamp(250px, 50vw, 350px);
  }

  .apropos-team__hotspot {
    top: 12%;
    right: 14%;
  }

  .apropos-team__bubble {
    width: clamp(240px, 55vw, 320px);
    bottom: auto;
    top: calc(100% + 8px);
  }
}

@media (max-width: 640px) {
  .apropos-hero__title {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .apropos-hero__intro {
    font-size: .8rem;
  }

  .apropos-team__photo {
    min-height: 200px;
  }

  .apropos-team__legend {
    font-size: .5rem;
    -webkit-line-clamp: 2;
  }

  .apropos-team__panel {
    padding: clamp(14px, 3vw, 20px);
  }

  .apropos-team__panel-title {
    font-size: clamp(.9rem, 3.5vw, 1.1rem);
  }

  .apropos-team__panel-text {
    font-size: .78rem;
  }

  .apropos-team__hotspot {
    display: none;
  }

  .apropos-team__quote-mobile {
    display: block;
    padding: clamp(14px, 3vw, 20px) clamp(16px, 4vw, 24px);
    background: var(--c-ink);
    color: var(--c-white);
  }

  .apropos-team__quote-mobile-text {
    font-size: clamp(.8rem, 2.8vw, .92rem);
    line-height: 1.55;
    font-style: italic;
    margin: 0 0 8px;
    opacity: .9;
  }

  .apropos-team__quote-mobile-source {
    font-size: .68rem;
    font-style: normal;
    color: var(--c-orange);
    margin: 0;
  }

  .apropos-team__bubble {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    top: auto;
    width: auto;
    transform: translateY(12px);
    border-radius: 12px;
    padding: 16px;
  }

  .apropos-team__hotspot:hover .apropos-team__bubble {
    transform: translateY(0);
  }

  .section--compact {
    padding: clamp(20px, 4vw, 36px) 0;
  }

  .grid--3 {
    gap: 16px;
  }
}
