/* ===========================
   VISUEL TECHNOLOGIE – BACKGROUND
=========================== */

.technology-hero-visual {
    position: relative;
    min-height: var(--hero-min-height, 85vh);
    background-image: url("../../images/energywell-integration.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.technology-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 18, 32, 0.88) 0%,
        rgba(6, 18, 32, 0.65) 45%,
        rgba(6, 18, 32, 0.25) 100%
    );
    z-index: 1;
}

.technology-hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 80px 60px;
    color: #ffffff;
}

.technology-hero-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.technology-hero-content p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
}

.technology-hero-sub {
    margin-top: 16px;
    font-weight: 500;
    opacity: 0.85;
}
@media (max-width: 768px) {
    .technology-hero-visual {
        min-height: var(--hero-min-height, 85vh);
        background-position: center;
    }

    .technology-hero-content {
        padding: 60px 24px;
    }

    .technology-hero-content h2 {
        font-size: 30px;
    }
}

/* ===========================
   INTEROPÉRABILITÉ – BACKGROUND
=========================== */

.interoperabilite-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(
        120deg,
        #0b1f33 0%,
        #0f2b46 60%,
        #123a5f 100%
    );
    overflow: hidden;
}

.interoperabilite-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at 80% 20%,
        rgba(80, 170, 255, 0.18),
        transparent 55%
    );
}

.interoperabilite-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.interoperabilite-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 28px;
}

.interoperabilite-content .lead {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.interoperabilite-content p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.85;
}
@media (max-width: 768px) {
    .interoperabilite-section {
        padding: 80px 0;
    }

    .interoperabilite-content h2 {
        font-size: 30px;
    }

    .interoperabilite-content .lead {
        font-size: 18px;
    }
}

/* ===========================
   INTEROPÉRABILITÉ – TEXTE CENTRÉ
=========================== */

.interoperabilite-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;          /* ← centrage du texte */
    max-width: 800px;            /* largeur maîtrisée */
    margin: 0 auto;              /* centrage du bloc */
}

.interoperabilite-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 28px;
}

.interoperabilite-content .lead {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.interoperabilite-content p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.85;
}
@media (max-width: 768px) {
    .interoperabilite-content {
        padding: 0 20px;
    }

    .interoperabilite-content h2 {
        font-size: 30px;
    }

    .interoperabilite-content .lead {
        font-size: 18px;
    }
}


/* ===========================
   VISUEL + TEXTE INTÉGRATIONS
=========================== */

.integration-split {
    padding: 120px 0;
    background-color: #ffffff;
}

.integration-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center; /* ALIGNEMENT VERTICAL CLÉ */
}

/* TEXTE */
.integration-text h2 {
    font-size: 40px;
    line-height: 1.25;
    margin-bottom: 28px;
}

.integration-text p {
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 18px;
    color: #2b2b2b;
}

/* VISUEL */
.integration-media {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.integration-image {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* LÉGENDE */
.integration-caption {
    margin-top: 16px;
    font-size: 14px;
    color: #555;
    text-align: center;
    max-width: 520px;
}
@media (max-width: 992px) {
    .integration-split-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .integration-text {
        text-align: center;
    }

    .integration-text h2 {
        font-size: 32px;
    }
}

/* ===========================
   INTEGRATIONS HIGHLIGHTS
=========================== */

.integration-highlights {
    padding: 120px 0;
    background-color: #f6f8fb;
}

.integration-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* CARTE */
.integration-card {
    background-color: #ffffff;
    padding: 40px 36px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
}

/* TITRES */
.integration-card h3 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #0b1f33;
}

/* TEXTE */
.integration-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* CARTE LARGE (VRF / VRV) */
.integration-card--wide {
    grid-column: span 2;
    background: linear-gradient(
        135deg,
        #0b1f33 0%,
        #123a5f 100%
    );
}

.integration-card--wide h3,
.integration-card--wide p {
    color: #ffffff;
}

.integration-card--wide strong {
    font-weight: 600;
    color: #ffffff;
}
@media (max-width: 992px) {
    .integration-cards {
        grid-template-columns: 1fr;
    }

    .integration-card--wide {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .integration-highlights {
        padding: 80px 0;
    }

    .integration-card {
        padding: 32px 24px;
    }

    .integration-card h3 {
        font-size: 20px;
    }
}

/* ===========================
   ÉCONOMIES PROUVÉES
=========================== */

.savings-visual {
    padding: 120px 0;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f6f8fb 100%
    );
}

/* TITRE */
.savings-title {
    text-align: center;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 60px;
    color: #0b1f33;
}

/* CONTENEUR IMAGE */
.savings-figure {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* IMAGE */
.savings-image {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    display: block;
}

/* LÉGENDE INTÉGRÉE */
.savings-caption {
    margin-top: 24px;
    text-align: center;
    font-size: 15px;
    color: #555;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.savings-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(11, 31, 51, 0.85);
    color: #ffffff;
    padding: 18px 22px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    backdrop-filter: blur(6px);
}
@media (max-width: 768px) {
    .savings-title {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .savings-caption {
        position: static;
        background: none;
        color: #444;
        padding: 16px 0 0;
        backdrop-filter: none;
    }
}
/* ===========================
   KPI COMPARE (AVANT / APRÈS)
=========================== */

.savings-visual {
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.savings-title {
  text-align: center;
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 60px;
  color: #0b1f33;
}

/* ===========================
   CONTENEUR COMPARATIF
=========================== */

.kpi-compare {
  --pos: 55%;
  position: relative;
  height: 520px;                 /* hauteur explicite */
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  background: #000;              /* fallback neutre */
}

/* ===========================
   IMAGES
=========================== */

/* Image de base (Sans) */
.kpi-compare__img--base {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Image overlay (Avec) */
.kpi-compare__overlay {
  position: absolute;
  inset: 0;
  width: var(--pos);
  overflow: hidden;
  z-index: 2;
}

.kpi-compare__img--top {
  position: absolute;
  inset: 0;
}

/* Règle commune images */
.kpi-compare__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ===========================
   DIVIDER
=========================== */

.kpi-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: rgba(255,255,255,0.7);
  transform: translateX(-1px);
  z-index: 3;
}

/* ===========================
   SLIDER
=========================== */

.kpi-compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

/* ===========================
   LABELS
=========================== */

.kpi-compare__labels {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.kpi-compare__label {
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(11, 31, 51, 0.70);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

/* ===========================
   CAPTION
=========================== */

.kpi-compare__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(11, 31, 51, 0.80);
  color: #ffffff;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  backdrop-filter: blur(6px);
  z-index: 5;
}

/* ===========================
   BADGE KPI
=========================== */

.kpi-badge {
  position: absolute;
  right: 18px;
  bottom: 86px;
  z-index: 6;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  color: #0b1f33;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

.kpi-badge__value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.kpi-badge__label {
  font-size: 12px;
  opacity: 0.75;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 768px) {
  .savings-visual {
    padding: 80px 0;
  }

  .savings-title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .kpi-compare {
    height: 340px;
  }

  .kpi-compare__caption {
    position: static;
    border-radius: 0;
    margin-top: 12px;
  }

  .kpi-badge {
    right: 12px;
    bottom: 12px;
  }
}


/* =====================================================
   ÉCONOMIES PROUVÉES – SECTION
===================================================== */
/* ===========================
   ÉCONOMIES PROUVÉES
=========================== */

.savings-visual {
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.savings-title {
  text-align: center;
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 60px;
  color: #0b1f33;
}

.savings-figure {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.savings-image {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}

/* Légende intégrée */
.savings-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: rgba(11, 31, 51, 0.85);
  color: #ffffff;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  backdrop-filter: blur(6px);
}

/* Responsive */
@media (max-width: 768px) {
  .savings-visual {
    padding: 80px 0;
  }

  .savings-title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .savings-caption {
    position: static;
    background: none;
    color: #444;
    padding: 16px 0 0;
    backdrop-filter: none;
  }
}
/* ===========================
   ÉCONOMIES PROUVÉES — DARK
=========================== */

.savings-visual--dark {
  padding: 120px 0;
  background: linear-gradient(180deg, #050b12 0%, #0b1f33 100%);
}

/* Titre */
.savings-title--dark {
  text-align: center;
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 60px;
  color: #ffffff;
}

.savings-bg {
  max-width: 1100px;
  height: 520px;
  margin: 0 auto;
  border-radius: 22px;
  position: relative;
  overflow: hidden;

  /* IMAGE */
  background-image: url("assets/images/Energywell-economie.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* FOND NOIR RÉEL */
  background-color: #000;

  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
}
.savings-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.65) 100%
  );
  z-index: 1;
}
.savings-bg__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;

  background: rgba(11, 31, 51, 0.85);
  color: #fff;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  backdrop-filter: blur(6px);
}
@media (max-width: 768px) {
  .savings-bg {
    height: 340px;
    background-size: contain;
  }

  .savings-bg__caption {
    position: static;
    background: none;
    color: #d0d6dc;
    padding: 16px 0 0;
    backdrop-filter: none;
  }
}


.savings-bg {
  max-width: 1100px;
  height: 520px;
  margin: 0 auto;
  border-radius: 22px;
  position: relative;
  overflow: hidden;

  background-image: url("../../images/Energywell-economie.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* 🔥 clé ici */

  background-color: #000;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
}

.savings-bg__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;

  background: rgba(11, 31, 51, 0.85);
  color: #ffffff;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  backdrop-filter: blur(6px);
}
@media (max-width: 768px) {
  .savings-bg {
    height: 340px;
    background-size: cover;
  }

  .savings-bg__caption {
    position: static;
    background: none;
    color: #d0d6dc;
    padding: 16px 0 0;
    backdrop-filter: none;
  }
}


/* ===========================
   DÉPLOIEMENT – SECTION
=========================== */

.deployment-section{
  padding: 120px 0;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  overflow: hidden;
}

/* Halo discret (effet premium) */
.deployment-section::before{
  content:"";
  position:absolute;
  inset:-200px -200px auto -200px;
  height: 520px;
  background: radial-gradient(circle at 20% 30%, rgba(80,170,255,0.18), transparent 55%);
  pointer-events:none;
}

/* Entête */
.deployment-head{
  max-width: 820px;
  margin: 0 auto 60px;
  text-align: left;
  position: relative;
}

.deployment-head h2{
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 18px;
  color: #0b1f33;
}

.deployment-lead{
  font-size: 18px;
  line-height: 1.65;
  color: #3f4a55;
  margin: 0;
}

/* Grille étapes */
.deployment-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

/* Cards */
.deployment-card{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(11,31,51,0.08);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.deployment-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.10);
}

.deployment-step{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #0b1f33;
  background: rgba(80,170,255,0.18);
  margin-bottom: 14px;
}

.deployment-card h3{
  margin: 0 0 10px;
  font-size: 20px;
  color: #0b1f33;
  line-height: 1.3;
}

.deployment-card p{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #3f4a55;
}

/* Responsive */
@media (max-width: 992px){
  .deployment-grid{
    grid-template-columns: 1fr;
  }
  .deployment-head{
    text-align: center;
  }
  .deployment-head h2{
    font-size: 32px;
  }
}

.deployment-section--dark{
  background: linear-gradient(180deg, #071423 0%, #0b1f33 100%);
}

.deployment-section--dark .deployment-head h2,
.deployment-section--dark .deployment-card h3{
  color:#fff;
}

.deployment-section--dark .deployment-lead,
.deployment-section--dark .deployment-card p{
  color: rgba(255,255,255,0.78);
}

.deployment-section--dark .deployment-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 28px 80px rgba(0,0,0,0.35);
}

.deployment-section--dark .deployment-step{
  color:#fff;
  background: rgba(80,170,255,0.18);
}

#backToTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4f8a2f;
  color: #fff;
  font-size: 22px;
  border: none;
  cursor: pointer;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease;
}

#backToTop.is-visible {
  opacity: 1;
  visibility: visible;
}


/* ===========================
   HERO – TEXTE CENTRÉ
=========================== */

.technology-hero-visual {
  position: relative;
  min-height: var(--hero-min-height, 85vh);
  display: flex;
  align-items: center;        /* centrage vertical */
  justify-content: center;    /* centrage horizontal */
  text-align: center;
}

.technology-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  color: #ffffff;
}

.technology-hero-content h2 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.technology-hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.technology-hero-sub {
  font-size: 16px;
  opacity: 0.85;
}
.technology-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11,31,51,0.75) 0%,
    rgba(11,31,51,0.55) 40%,
    rgba(11,31,51,0.35) 100%
  );
  z-index: 1;
}
@media (max-width: 768px) {
  .technology-hero-content h2 {
    font-size: 32px;
  }

  .technology-hero-content p {
    font-size: 16px;
  }
}

.contact-icon{
    width:56px;
    height:56px;
    margin:0 auto 1rem auto;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    display:flex;
    align-items:center;
    justify-content:center;
}

.contact-icon svg{
    width:28px;
    height:28px;
    stroke:#ffffff;
    stroke-width:1.8;
    fill:none;
    opacity:0.9;
}



/* =====================================================
   PATCH FINAL — STABILISATION PAGE INTÉGRATIONS
   (ne modifie pas les données existantes)
===================================================== */

/* ---------- ARCHITECTURE : TITRES VISIBLES ---------- */

.architecture-section h2 {
    color: #ffffff !important;
    opacity: 1 !important;
}

.architecture-section .architecture-eyebrow {
    color: #7fe3a1 !important;
    opacity: 1;
}

/* ---------- ARCHITECTURE : ICÔNES CENTRÉES ---------- */

.architecture-item h3::before {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;

    font-size: 1.6rem;
    border-radius: 16px;
    background: rgba(127, 227, 161, 0.14);
}

/* ---------- SÉCURITÉ : AUCUN IMPACT AUTRES SECTIONS ---------- */

.architecture-item h3 {
    text-align: center;
}

/* ---------- FIX OVERLAY HERO (lisibilité H1) ---------- */

.technology-hero-content h1 {
    color: #ffffff;
    opacity: 1;
}

.technology-hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(6, 18, 32, 0.85) 0%,
        rgba(6, 18, 32, 0.65) 45%,
        rgba(6, 18, 32, 0.35) 100%
    );
}

/* ---------- FIX Z-INDEX GLOBAL ---------- */

.interoperabilite-overlay,
.technology-hero-overlay {
    pointer-events: none;
}


/* =====================================================
   PATCH — ÉCONOMIES PROUVÉES
   Suppression doublon + resserrage vertical
===================================================== */

/* 1️⃣ On garde UN seul titre visible (celui du haut) */
.savings-visual .savings-figure h2,
.savings-visual .savings-bg h2 {
    display: none !important;
}

/* 2️⃣ Réduction de l’espace vertical de la section */
.savings-visual {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* 3️⃣ On resserre l’espace sous le titre */
.savings-title {
    margin-bottom: 40px;
}

/* 4️⃣ On remonte légèrement le visuel */
.savings-figure,
.savings-bg {
    margin-top: 0;
}


/* =====================================================
   FIX ESPACES ENTRE SECTIONS (INTÉGRATIONS → ÉCONOMIES)
===================================================== */

/* Réduction du padding bas des intégrations */
.integration-highlights {
    padding-bottom: 70px; /* au lieu de 120px */
}

/* Réduction du padding haut des économies */
.savings-visual {
    padding-top: 70px; /* au lieu de 120px */
}

/* Option premium : légère continuité visuelle */
.integration-highlights + .savings-visual {
    margin-top: -20px;
}

.integration-highlights {
    padding: 90px 0 60px;
}

.savings-visual {
    padding: 60px 0 120px;
}


/* =====================================================
   TRANSITION VISUELLE DOUCE ENTRE SECTIONS
===================================================== */

.section-transition-gradient {
    height: 120px;
    margin-top: -60px;
    background: linear-gradient(
        180deg,
        rgba(246,248,251,0) 0%,
        rgba(246,248,251,0.6) 40%,
        rgba(246,248,251,1) 100%
    );
    pointer-events: none;
}


.section-transition-gradient {
    height: 140px;
    margin-top: -70px;
    background: linear-gradient(
        180deg,
        rgba(246,248,251,0) 0%,
        rgba(246,248,251,0.85) 45%,
        rgba(255,255,255,1) 100%
    );
}


/* =====================================================
   TRANSITION VISUELLE — OPTIMISATION MOBILE
===================================================== */

@media (max-width: 768px) {
    .section-transition-gradient {
        height: 56px;              /* ↓ beaucoup plus compact */
        margin-top: -28px;

        background: linear-gradient(
            180deg,
            rgba(246,248,251,0) 0%,
            rgba(246,248,251,0.85) 55%,
            rgba(246,248,251,1) 100%
        );
    }
}

/* =====================================================
   HEADER — STRUCTURE BLOQUÉE (FINAL)
===================================================== */
.header-main {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    height: 72px;
    min-height: 72px;
}

.header-container {
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
}

.header-nav a {
    flex-shrink: 0;
}

@media (min-width: 1600px) {
    .header-container {
        padding-left: 48px;
        padding-right: 48px;
    }
}


/* === FIX HERO MOBILE VISIBILITY === */
@media (max-width: 768px) {
  .hero p,
  .hero h1 + p,
  .hero .subtitle,
  .hero-description {
    color: #0b1c2d !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
