/* =========================================================
   OPTIMUM ASSUR' — style.css
   Ajustements ponctuels au-dessus du design system (main.css)
   ========================================================= */

/* ============ HERO BANNIÈRE ACCUEIL ============ */
.hero-banner {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-swiper,
.hero-static-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: 100%;
}

.hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-static-bg {
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(11,26,51,.92) 0%, rgba(11,26,51,.78) 55%, rgba(11,26,51,.6) 100%);
}

.slogan {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--step-5) 0;
}

.titre1 {
  color: #fff;
  /* max-width: 16ch; */
  margin: 0;
}

.sous-titre {
  color: rgba(255, 255, 255, .82);
  /* max-width: 52ch; */
  margin: 0;
}

/* ============ CARTES SERVICES / ACTUALITÉS (swiper) ============ */
.service-card {
  display: block;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(11,26,51,.12);
}
.service-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.service-card .service-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
}
.service-card h3 {
  font-size: 1.05rem;
  margin: 0 0 .5rem;
}
.service-card p {
  color: var(--steel-dark);
  font-size: .88rem;
  margin: 0;
}
.service-card .meta {
  color: var(--orange);
  font-size: .78rem;
  font-weight: 600;
  margin: 0 0 .4rem;
}

.services-swiper,
.actus-swiper {
  padding-bottom: 2.5rem !important;
}
.services-swiper .swiper-pagination-bullet,
.actus-swiper .swiper-pagination-bullet {
  background: var(--steel);
  opacity: 1;
}
.services-swiper .swiper-pagination-bullet-active,
.actus-swiper .swiper-pagination-bullet-active {
  background: var(--orange);
}

@media (max-width: 640px) {
  .hero-banner { min-height: 60vh; }
}
/* ============================================================
   SECTION HEADER — bloc titre centré réutilisable
   ============================================================ */
.container-narrow {
    max-width: fit-content;
    margin-inline: auto;
    padding-inline: 1.75rem;
    margin: 0 auto;
    padding: 4.5em 15%;
}
.bg-light { background: var(--concrete); }
.bg-dark  { background: var(--navy); color: #fff; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.bg-dark .section-title { color: #fff; }
.section-desc {
  color: var(--steel-dark);
  font-size: 1.0625rem;
  max-width: 560px;
  margin-inline: auto;
}
.bg-dark .section-desc { color: rgba(255,255,255,.75); }
.section-footer { text-align: center; margin-top: 2.5rem; }

section#presentation .container {
    width: 100%;
    max-width: 100%;
    padding: 0 13%;
}


section#services .container {
    width: 100%;
    max-width: 100%;
    padding: 0 13%;
}



section.section-divided.section-tight .container {
    width: 100%;
    max-width: 100%;
    padding: 0 13%;
}
/* ============================================================
   BLOC ATOUTS — panneau intro sombre + liste de points forts
   ============================================================ */
.section-atouts {
  position: relative;
  padding-block: 5rem;
  background: var(--concrete-white);
}

.atouts-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: stretch;
}

.atouts-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-left: 4px solid var(--orange);
  overflow: hidden;
}
.atouts-intro::after {
  content: '';
  position: absolute;
  inset: auto -18% -28% auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,122,0,.28);
  border-radius: 50%;
  pointer-events: none;
}
.atouts-intro .section-label { color: var(--orange); }
.atouts-intro .section-title,
.atouts-intro .section-desc { color: #fff; }
.atouts-intro .section-desc { opacity: .78; margin-inline: 0; }
.atouts-cta {
  align-self: flex-start;
  margin-top: clamp(22px, 4vw, 42px);
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.section-atouts .container {
    max-width: 100%;
    padding: 0 10%;
}
.atouts-grid {
  display: block;
  border-top: 1px solid var(--steel);
}
.atout-card {
  display: grid;
  grid-template-columns: minmax(58px, 82px) minmax(0, 1fr);
  column-gap: clamp(18px, 3vw, 36px);
  align-items: start;
  padding: clamp(24px, 3.4vw, 38px) 0;
  border-bottom: 1px solid var(--steel);
  transition: transform .26s ease, border-color .26s ease;
}
.atout-card:hover {
  transform: translateX(8px);
  border-color: var(--orange);
}
.atout-number {
  grid-row: 1 / span 3;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.atout-card h3 {
  margin: 0 0 .62rem;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}
.atout-card p {
  max-width: 680px;
  margin: 0;
  color: var(--steel-dark);
  font-size: .92rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .atouts-layout { grid-template-columns: 1fr; }
  .atouts-intro  { min-height: auto; text-align: center; align-items: center; }
}

/* ============================================================
   TÉMOIGNAGES — carrousel (Swiper)
   ============================================================ */
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  text-align: left;
  margin-bottom: 2.5rem;
}
.testimonials-header .section-desc { margin-inline: 0; max-width: 52ch; }
.testimonials-header .btn { flex-shrink: 0; }

.testimonial-card {
  background: var(--white);
  border: var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11,26,51,.10);
}
.testimonial-stars { display: flex; gap: .2rem; color: var(--orange); font-size: .9rem; }
.testimonial-content {
  font-size: .93rem;
  color: var(--charcoal);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding-top: 1rem;
  border-top: var(--border);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .88rem; color: var(--navy); }
.testimonial-company { font-size: .78rem; color: var(--steel-dark); margin-top: .1rem; }

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: var(--border);
  color: var(--steel-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.carousel-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.carousel-btn.swiper-button-disabled { opacity: .35; cursor: default; }

.testimonials-pagination {
  position: static !important;
  display: flex;
  gap: .5rem;
  width: auto !important;
}
.testimonials-pagination .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: var(--steel);
  opacity: 1;
  margin: 0 !important;
}
.testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--orange);
  transform: scale(1.3);
}

@media (max-width: 780px) {
  .testimonials-header { flex-direction: column; align-items: flex-start; }
}
/* ============================================================
   PRÉSENTATION — grille 2 colonnes + stats
   ============================================================ */
.presentation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.presentation-content { display: flex; flex-direction: column; gap: 1.1rem; }
.presentation-content .section-label,
.presentation-content .section-title { text-align: left; }
.presentation-body {
  font-size: 1rem;
  color: var(--steel-dark);
  line-height: 1.8;
}
.presentation-body p:first-child { margin-top: 0; }

.presentation-image-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11,26,51,.16);
}
.presentation-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat-card {
  background: var(--white);
  border: var(--border);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-suffix { color: var(--orange); }
.stat-label {
  font-size: .8rem;
  color: var(--steel-dark);
  font-weight: 500;
}

@media (max-width: 780px) {
  .presentation-grid { grid-template-columns: 1fr; }
  .presentation-content .section-label,
  .presentation-content .section-title { text-align: center; }
}
/* ============================================================
   SERVICES — swiper cartes plein format avec overlay
   ============================================================ */
.svc-swiper-wrap {
  position: relative;
  padding: 0 52px;
}
.svc-swiper {
  overflow: hidden;
  padding-bottom: 2.75rem;
}
.svc-btn-prev,
.svc-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 1.4rem));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: var(--border);
  cursor: pointer;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(11,26,51,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy);
  transition: background-color .2s, color .2s;
  z-index: 10;
  padding: 0;
}
.svc-btn-prev:hover,
.svc-btn-next:hover {
  background: var(--navy);
  color: #fff;
}
.svc-btn-prev { left: -8px; }
.svc-btn-next { right: -8px; }
.svc-btn-prev.swiper-button-disabled,
.svc-btn-next.swiper-button-disabled {
  opacity: .35;
  cursor: default;
}
.svc-swiper .swiper-pagination-bullet {
  background: var(--steel);
  opacity: 1;
}
.svc-swiper .swiper-pagination-bullet-active {
  background: var(--orange);
  transform: scale(1.3);
}

.svc-slide {
  display: flex;
  align-items: flex-end;
  height: 100%;
  min-height: 400px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 20px rgba(11,26,51,.10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11,26,51,.18);
}
.svc-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,26,51,.05) 0%, rgba(11,26,51,.55) 55%, rgba(11,26,51,.92) 100%);
  z-index: 1;
}
.svc-slide-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.svc-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.svc-slide:hover .svc-slide-img img { transform: scale(1.05); }

.svc-slide-body {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
}
.svc-slide-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .6rem;
  line-height: 1.25;
}
.svc-slide-excerpt {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.svc-slide .service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--orange);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
}
.svc-slide .service-link svg { transition: transform .15s ease; }
.svc-slide:hover .service-link svg { transform: translateX(3px); }

@media (max-width: 639px) {
  .svc-swiper-wrap { padding: 0 8px; }
  .svc-btn-prev, .svc-btn-next { display: none; }
  .svc-slide { min-height: 320px; }
}
/* ============================================================
   PARTENAIRES — bande de logos en défilement (Swiper)
   ============================================================ */
.section-partners {
  padding-block: 4rem;
  border-top: var(--border);
}
.section-partners .section-header { margin-bottom: 2.5rem; }

.partners-swiper { padding: 0 8px; }
.partner-logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}
.partner-logo-slide img,
.partner-logo-slide a {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(.55);
  transition: filter .2s ease, transform .2s ease;
}
.partner-logo-slide:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}
.partner-logo-slide a { display: block; }

/* ============================================================
   GALERIE PHOTOS — mosaïque (1 grande + petites vignettes)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.gallery-item.is-large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%);
  transition: transform .5s ease, filter .5s ease;
}
.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,26,51,0) 40%, rgba(11,26,51,.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  transition: background .3s ease;
}
.gallery-item:hover .gallery-overlay {
  background: linear-gradient(180deg, rgba(11,26,51,0) 20%, rgba(11,26,51,.55) 100%);
}
.gallery-label {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}
.gallery-caption {
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  margin: .2rem 0 0;
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.is-large { grid-column: span 2; grid-row: span 1; height: 100%; }
}
/* ============================================================
   SOUS-MENUS DE NAVIGATION
   ============================================================ */
.nav-item-row {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.submenu-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  padding: 0;
 /* display: none;  affiché uniquement en mobile, voir media query */
}
.nav-chevron {
  display: inline-block;
  transition: transform .2s ease;
  font-size: 1.0475rem;
}

/* ---------- Desktop : dropdown au survol ---------- */
@media (min-width: 781px) {
  .nav-links > li.has-children { position: relative; }
  .nav-links .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
    list-style: none;
    margin: .5rem 0 0;
    padding: .5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 30;
  }
  .nav-links > li.has-children:hover .submenu,
  .nav-links > li.has-children:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links .submenu li a {
    display: block;
    padding: .6rem 1.2rem;
    font-size: .88rem;
    color: rgba(255,255,255,.8);
  }
  .nav-links .submenu li a:hover { color: var(--orange); background: rgba(255,255,255,.04); }
  .nav-links .submenu li a::after { display: none; } /* pas de soulignement animé dans le dropdown */
}

/* ---------- Mobile : accordéon intégré au menu déroulant ---------- */
@media (max-width: 780px) {
  .submenu-toggle { display: block; }
  .nav-links .submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-links li.has-children.open-submenu .submenu {
    max-height: 500px;
  }
  .nav-links li.has-children.open-submenu .nav-chevron {
    transform: rotate(180deg);
  }
  .nav-links .submenu li a {
    display: block;
    padding: .7rem 0;
    font-size: .88rem;
    color: rgba(255,255,255,.7);
  }
}
/* ============================================================
   MÉGA-MENU — 3 niveaux (Métiers BTP / Bureau d'études)
   ============================================================ */
.nav-link-static {
  color: rgba(255,255,255,.85);
  font-size: .93rem;
  font-weight: 500;
  cursor: default;
}

section#presentation .container { width: 100%; max-width: 100%; padding: 0 13%; }
section#services .container { width: 100%; max-width: 100%; padding: 0 10%; }
section.section-divided.section-tight .container { width: 100%; max-width: 100%; padding: 0px 13%; }
.section-atouts .container { max-width: 100%; padding: 0 10%; }

/* ---------- Desktop : ouverture latérale (le niveau 2 est déjà vertical,
   ouvrir le niveau 3 vers le bas recouvrirait les autres catégories) ---------- */
@media (min-width: 781px) {
  .mega-submenu { min-width: 260px; }
  .mega-submenu > li { position: relative; }

  .mega-submenu .submenu-level3 {
    position: absolute;
    top: -1px;
    left: 100%;
    margin-left: 1px;
    min-width: 240px;
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
    list-style: none;
    padding: .5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 40;
  }
  .mega-submenu > li:hover > .submenu-level3,
  .mega-submenu > li:focus-within > .submenu-level3 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .submenu-level3 li a {
    display: block;
    padding: .55rem 1.1rem;
    font-size: .85rem;
    color: rgba(255,255,255,.75);
  }
  .submenu-level3 li a:hover { color: var(--orange); background: rgba(255,255,255,.04); }
  .submenu-level3 li a::after { display: none; }

  .mega-submenu > li.has-children > .nav-item-row .submenu-toggle { display: none; }
}
/* .hero-banner .swiper {
    height: 90vh;
    width: 100vw !important;
    position: relative;
    top: 0;
    left: 0;
    z-index:1;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

/* ============================================================
   FAQ — accordéons
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}
.faq-question:hover { color: var(--orange); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--orange);
  transition: transform .25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer-inner {
  padding: 0 0 1.5rem;
  color: var(--steel-dark);
  font-size: .95rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 600px;
}

/* ============================================================
   CASQUE 3D — hero (Three.js)
   ============================================================ */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.hero-inner > .hero-text { flex: 1 1 480px; min-width: 0; }
.helmet-3d-canvas {
  flex: 0 0 340px;
  width: 340px;
  height: 340px;
  cursor: grab;
  display: none;
}
.helmet-3d-canvas:active { cursor: grabbing; }
.helmet-3d-canvas canvas { display: block; }

@media (max-width: 900px) {
  .helmet-3d-canvas { display: none; } /* décoratif, retiré sur mobile pour la perf */
}

/* ============================================================
   ACTUALITÉS — cartes éditoriales avec pastille date
   ============================================================ */
.news-card {
  display: block;
  background: var(--white);
  border: var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11,26,51,.12);
}
.news-image-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.news-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.news-card:hover .news-image-wrap img { transform: scale(1.06); }

.news-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  border-radius: 4px;
  padding: .4rem .6rem;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.news-date-badge .day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.news-date-badge .month {
  display: block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .9;
}

.news-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.news-card-body h3 {
  font-size: 1.1rem;
  margin: 0 0 .5rem;
}
.news-card-body p.excerpt {
  color: var(--steel-dark);
  font-size: .88rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.news-card .service-link { color: var(--orange); }

/* ============================================================
   BANNIÈRE DE PAGE (À propos, FAQ...) — fond photo plein cadre
   ============================================================ */
.page-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(11,26,51,.88) 0%, rgba(11,26,51,.7) 60%, rgba(11,26,51,.55) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (max-width: 640px) {
  .page-banner { min-height: 240px; }
}

/* ============================================================
   IMAGE FLOTTANTE (pages institutionnelles)
   ============================================================ */
.floated-image {
  float: left;
  width: 340px;
  max-width: 45%;
  margin: 0 2rem 1.5rem 0;
  border-radius: 8px;
}
.floated-content::after {
  content: '';
  display: block;
  clear: both;
}

@media (max-width: 640px) {
  .floated-image { float: none; width: 100%; max-width: 100%; margin: 0 0 1.5rem; }
}

/* ============================================================
   FORMULAIRE DE DEVIS SIMPLE (widget réutilisable)
   ============================================================ */
.simple-quote-form {
  clear: both;
  background: var(--concrete);
  border: var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2.5rem;
}
.simple-quote-form h3 { margin-top: 0; }
.simple-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}
.simple-quote-grid .full-width { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .simple-quote-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   PAGE SOLUTIONS — grille de cartes immersives
   ============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.solutions-grid .svc-slide { min-height: 280px; }

@media (max-width: 980px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .solutions-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FIL D'ARIANE
   ============================================================ */
.breadcrumb {
  font-size: .82rem;
  color: var(--steel-dark);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--steel-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { margin: 0 .4rem; opacity: .5; }

/* ============================================================
   AUTRES SOLUTIONS (bloc bas de page détail)
   ============================================================ */
.related-solutions {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: var(--border);
}
.related-solutions h3 { margin-bottom: 1.25rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.related-grid .svc-slide { min-height: 200px; }
@media (max-width: 780px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE ACTUALITÉS — grille de cartes éditoriales
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 980px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

.related-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 780px) {
  .related-news-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGES CATÉGORIE (Métiers BTP / Bureau d'études) — sommaire d'ancres
   ============================================================ */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.5rem 0 0;
}
.anchor-nav a {
  display: inline-block;
  padding: .5rem 1.1rem;
  border: var(--border);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--navy);
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.anchor-nav a:hover { border-color: var(--orange); color: var(--orange); }

/* ============================================================
   FOOTER — colonne de marque + retour en haut
   ============================================================ */
.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.footer-brand img { height: 32px; width: auto; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem; }
.footer-brand span .brand-accent { color: var(--orange); }
.footer-tagline { color: rgba(255,255,255,.6); font-size: .85rem; line-height: 1.6; margin: 0 0 1.25rem; }
.footer-social { display: flex; gap: .9rem; }
.footer-social a {
  color: rgba(255,255,255,.6);
  transition: color .15s ease, transform .15s ease;
  display: inline-flex;
}
.footer-social a:hover { color: var(--orange); transform: translateY(-1px); }

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  text-decoration: none;
  transition: color .15s ease;
}
.back-to-top:hover { color: var(--orange); }