/* =====================================================
   PAGE SECTEUR — BÂTIMENTS TERTIAIRES
   Référentiel Energywell — version finale production
===================================================== */

/* ===============================
   HEADER
=============================== */
.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
}

/* =====================================================
   HERO — TERTIAIRE
===================================================== */
.hero-enterprise {
  position: relative;
  min-height: var(--hero-min-height, 85vh);
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero-enterprise--sector {
  padding-top: 110px;
}

.hero-enterprise--tertiary {
  background: url("../../images/batiment-tertiaire.jpg") center / cover no-repeat;
}

.hero-enterprise--tertiary .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.35) 0%,
    rgba(2, 6, 23, 0.60) 100%
  );
}

.hero-product-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.hero-enterprise h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  opacity: 0.95;
}

/* =====================================================
   INTRO TEXTE / IMAGE
===================================================== */
.sector-intro {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #eef3f8 0%, #ffffff 100%);
}

.sector-intro-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.sector-intro-text {
  max-width: 560px;
}

.sector-intro-text .lead {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.sector-intro-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1f2937;
  margin-bottom: 1.1rem;
}

.sector-intro-media {
  display: flex;
  justify-content: flex-end;
}

.sector-intro-media img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.15);
}

/* =====================================================
   PREUVE / SOCIAL PROOF
===================================================== */
.sector-proof {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, #f1f6fb 0%, #ffffff 100%);
  text-align: center;
}

.proof-text {
  font-size: 1.45rem;
  line-height: 1.45;
  font-weight: 600;
  max-width: 880px;
  margin: 0 auto 1.25rem;
  color: #0f172a;
}

.proof-text strong {
  color: var(--color-primary);
}

.proof-connector {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
}

.sector-proof::before {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 0 auto 2.5rem;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border-radius: 2px;
}

/* =====================================================
   ENJEUX — CARTES
===================================================== */
.sector-focus {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #f3f7fc 0%, #ffffff 100%);
  text-align: center;
}

.sector-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.sector-focus-intro {
  max-width: 760px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
}

.sector-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.sector-card {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

.sector-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.sector-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
}

/* =====================================================
   COMMENT ÇA FONCTIONNE — CASCADE
===================================================== */
.sector-how {
  padding: 6rem 1.5rem;
  background: #ffffff;
  text-align: center;
}

.sector-how-steps {
  max-width: 1100px;
  margin: 3.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.sector-how-step {
  opacity: 0;
  transform: translateY(24px);
  background: #ffffff;
  padding: 2.75rem 2.25rem;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transition-delay: var(--delay);
}

.reveal.is-visible .sector-how-step {
  opacity: 1;
  transform: translateY(0);
}

.sector-how-step:nth-child(1) { --delay: 0s; }
.sector-how-step:nth-child(2) { --delay: .15s; }
.sector-how-step:nth-child(3) { --delay: .30s; }

.step-index {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

/* =====================================================
   CTA FINAL
===================================================== */
.hotel-cta-final {
  position: relative;
  padding: 7rem 1.5rem;
  background: linear-gradient(
    135deg,
    #020617 0%,
    #020617 100%
  );
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.hotel-cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 25% 35%,
      rgba(34, 197, 94, 0.25),
      transparent 55%
    ),
    radial-gradient(
      circle at 75% 65%,
      rgba(56, 189, 248, 0.25),
      transparent 55%
    );
  pointer-events: none;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

.hotel-cta-final h2 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hotel-cta-final .cta-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 760px;
  margin: 0 auto 3rem;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .sector-intro-grid,
  .sector-cards,
  .sector-how-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sector-intro-media {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-enterprise--sector {
    padding-top: 90px;
  }
}

@media (max-width: 640px) {
  .sector-intro,
  .sector-focus,
  .sector-proof,
  .sector-how {
    padding: 4rem 1.5rem;
  }

  .sector-card,
  .sector-how-step {
    padding: 2rem 1.5rem;
  }
}


/* =====================================================
   COMMENT ÇA FONCTIONNE — TERTIAIRE
===================================================== */

.sector-how {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
  text-align: center;
}

.sector-how h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.sector-how-intro {
  max-width: 760px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
}

.sector-how-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* === Carte === */
.sector-how-step {
  background: #ffffff;
  padding: 3rem 2.5rem 2.75rem;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sector-how-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

/* === Numéro === */
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: #020617;
}

/* === Titres === */
.sector-how-step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

/* === Texte === */
.sector-how-step p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
}

/* =====================================================
   Animation cascade
===================================================== */
.sector-how-step {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.sector-how.reveal.is-visible .sector-how-step {
  opacity: 1;
  transform: translateY(0);
}

.sector-how-step:nth-child(1) { transition-delay: 0s; }
.sector-how-step:nth-child(2) { transition-delay: .15s; }
.sector-how-step:nth-child(3) { transition-delay: .3s; }

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 1024px) {
  .sector-how-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* ===============================
   CARTES — ALIGNEMENT ICONES
=============================== */

.sector-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Zone icône normalisée */
.sector-icon {
  height: 96px;              /* réserve l’espace */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* SVG icônes */
.sector-icon svg {
  width: 56px;
  height: 56px;
  stroke-width: 1.8;
}

/* Carte sans icône → espace conservé */
.sector-card:not(:has(.sector-icon svg)) .sector-icon {
  visibility: hidden;
}


.sector-icon{
  width:44px;
  height:44px;
  margin:0 auto 1.5rem;
  display:flex;
  align-items:center;
  justify-content:center;
}

.sector-icon svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:#0f172a;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}


/* ===============================
   CONFORMITÉ DÉCRET BACS
=============================== */
.tertiary-regulation {
  padding: 6rem 1.5rem;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6f9fc 100%
  );
}

.regulation-title {
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.regulation-lead {
  max-width: 720px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 3.5rem;
}

/* Liste des bénéfices */
.regulation-features {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.regulation-feature {
  padding-left: 1.75rem;
  border-left: 3px solid transparent;
  position: relative;
}

.regulation-feature::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
}

.regulation-feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #020617;
}

.regulation-feature p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
}


/* ===============================
   CONFORMITÉ DÉCRET BACS — CENTRÉ
=============================== */
.tertiary-regulation {
  padding: 6rem 1.5rem;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6f9fc 100%
  );
  text-align: center; /* ← clé du centrage global */
}

.tertiary-regulation .container-narrow {
  display: flex;
  flex-direction: column;
  align-items: center; /* centre le contenu */
}

/* Titres */
.regulation-title {
  text-align: center;
}

.regulation-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Liste des bénéfices */
.regulation-features {
  align-items: center;
  margin: 0 auto;
}

/* Chaque item */
.regulation-feature {
  max-width: 640px;
  padding-left: 0;           /* on enlève le décalage gauche */
  border-left: none;         /* on supprime la ligne verticale */
  text-align: center;
}

/* Point décoratif centré */
.regulation-feature::before {
  left: 50%;
  transform: translateX(-50%);
  top: -1.25rem;
}


/* ===============================
   CONFORMITÉ BACS — FEATURES
=============================== */

.bacs-features {
  padding: 6rem 1.5rem;
  background: #ffffff;
  text-align: center;
}

.bacs-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.bacs-intro {
  max-width: 720px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
}

.bacs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.bacs-item {
  background: #f8fafc;
  padding: 2.75rem 2.25rem;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.bacs-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.bacs-item p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 900px) {
  .bacs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* ===============================
   BACS – SECTION FEATURES
=============================== */

.bacs-features {
  padding: 7rem 1.5rem;
  background: linear-gradient(
    180deg,
    #f4f8fc 0%,
    #ffffff 100%
  );
  text-align: center;
}

.bacs-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.bacs-intro {
  max-width: 740px;
  margin: 0 auto 4.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
}

/* GRID */
.bacs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* CARTES */
.bacs-item {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* HOVER */
.bacs-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

/* ICÔNES */
.bacs-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bacs-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-primary);
  stroke-width: 1.8;
  fill: none;
}

/* TEXTE */
.bacs-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: .75rem;
  color: #0f172a;
}

.bacs-item p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
}

/* ===============================
   ANIMATION EN CASCADE
=============================== */
.bacs-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .6s ease,
    transform .6s ease;
}

.reveal.is-visible .bacs-item {
  opacity: 1;
  transform: translateY(0);
}

.bacs-item:nth-child(1) { transition-delay: 0s; }
.bacs-item:nth-child(2) { transition-delay: .15s; }
.bacs-item:nth-child(3) { transition-delay: .3s; }

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 900px) {
  .bacs-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
 FAQ — TERTIAIRE
===================================================== */

.hotel-faq--tertiary {
  padding: 6rem 1.5rem;
  background: linear-gradient(
    180deg,
    #f6f9fc 0%,
    #ffffff 100%
  );
}

.faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.faq-lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #475569;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* animation ouverture */
.faq-item[open] summary {
  color: var(--color-primary);
}

.faq-item[open] p {
  animation: faqFade 0.3s ease;
}

@keyframes faqFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.bacs-features {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
  text-align: center;
}

.bacs-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.bacs-intro {
  max-width: 720px;
  margin: 0 auto 4rem;
  color: #475569;
  font-size: 1.1rem;
}

.bacs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.bacs-item {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.bacs-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #e9f8ee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bacs-icon svg {
  width: 26px;
  height: 26px;
  stroke: #16a34a;
  stroke-width: 2;
  fill: none;
}

.bacs-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.bacs-item p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
}

/* Responsive */
@media (max-width: 1024px) {
  .bacs-grid {
    grid-template-columns: 1fr;
  }
}
.reveal-cascade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible .reveal-cascade {
  opacity: 1;
  transform: translateY(0);
}

.reveal-cascade:nth-child(1) { transition-delay: 0s; }
.reveal-cascade:nth-child(2) { transition-delay: .15s; }
.reveal-cascade:nth-child(3) { transition-delay: .3s; }


.sector-card {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

/* Icône */
.sector-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12); /* vert Energywell */
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-icon svg {
  width: 26px;
  height: 26px;
  stroke: #16a34a;
  stroke-width: 2;
  fill: none;
}

/* Titre */
.sector-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #020617;
}

/* Texte */
.sector-card p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
}



.sector-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-icon svg {
  width: 26px;
  height: 26px;
  stroke: #16a34a;
  stroke-width: 2.2;
  fill: none;
}
.sector-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.sector-card-highlight {
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 20px 48px rgba(34, 197, 94, 0.18);
}


.sector-icon svg {
  width: 26px;
  height: 26px;
  stroke: #16a34a;        /* vert Energy / performance */
  stroke-width: 2.2;
  fill: none;
}



.sector-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12); /* vert doux Energywell */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.sector-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #16a34a; /* vert lisible */
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sector-icon svg circle {
  display: none; /* le fond est géré en CSS */
}


.sector-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.sector-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #16a34a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.sector-focus .sector-intro {
  margin-bottom: 2.5rem; /* avant ~3.5–4rem */
}
.sector-focus .sector-cards {
  margin-top: 0;         /* supprime un margin implicite */
  padding-top: 0;
}
.sector-card {
  padding: 2.5rem 2.25rem; /* léger resserrement vertical */
}
.sector-card {
  padding: 2.2rem 2rem;
}
.sector-focus {
  padding-top: 4.5rem;   /* avant ~6rem */
}


.sector-focus .sector-intro {
  margin-bottom: 1.6rem; /* avant 2.5rem */
}
.sector-focus .sector-cards {
  margin-top: 0;
  padding-top: 0;
}
.sector-focus {
  padding-top: 3.5rem;  /* avant 4.5–6rem */
  padding-bottom: 5rem;
}
.sector-card {
  padding: 2rem 2rem;
}
@media (min-width: 1024px) {
  .sector-card {
    padding: 1.9rem 1.9rem;
  }
}
.sector-card h3 {
  margin-bottom: 0.5rem;
}



/* ===============================
   BOUTON REMONTER EN HAUT
=============================== */

#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: #5fa132; /* vert proche de ton visuel */
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
}

/* Triangle blanc */
#backToTop::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 14px solid #ffffff;
}

/* Visible */
#backToTop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover */
#backToTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

/* =====================================================
   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;
    }
}
