/* =============================================
   ISPIRA GROUPE 
   Surface : 1280px
   ============================================= */

/* La police utilisée est Roboto, déclarée dans le header. */

/* ---- Variables ---- */
:root {
  --pink : #a5b3ee;
  --navy-extra-light: #cfd7e3;
  --navy-light :#44547b;
  --navy:       #243765;
  --navy-dark:  #14285a;
  --blue-light : #DFE5FF;
  --green:      #acf197;
  --green-dark: #3fa644;
  --white:      #ffffff;
  --gray-light: #f4f5f7;
  --gray-mid:   #e2e5ea;
  --gray :      #6b7fa3;
  --text:       #1b2d4f;
  --text-light: #6b7a90;
  --max-w:      1280px;
  --transition: .3s ease;
  --hover-text: rgba(255,255,255,.7);
}

.prestation-item-2 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.prestation-item-2::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: var(--navy, #1b2d4f);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 10px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { /* list-style: none; */  }

.navbar ul { list-style: none; }
footer ul {list-style: none !important;}

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  /* padding: 0 40px; */
}

h1 {
  font-size: clamp(36px, 4vw, 56px) !important;
  color:var(--white) !important;
}

h3 {
  font-family: 'Roboto', sans-serif;
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 8px;
}

.h3-white {
  color: var(--white);
  font-size: 33px;
  font-weight: 500;
  padding-bottom: 8px;
  margin-top: 20px;
}

.h4-white {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(23px, 1.1vw, 15px);
  font-weight: 400;
  color: #fff;
  line-height: 1.35;
}

p {
  color: var(--navy);
  font-size:16px;
  /* font-weight: 400; */
  font-weight: 500;
}



/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* background: rgba(255,255,255,0.97); */
  /* backdrop-filter: blur(8px); */
  height: 100px;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 0;
  margin-top:15px;/* ajout pour drapeaux lang*/
}

.translate-trigger[hidden] { display: none !important; }

.nav-logo {
  display: inline-block;
  color: #ffffff;
  transition: transform 300ms ease;
}

.nav-logo:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  height:50px;
  margin-bottom: 0px;
}

.nav-links li {
  height:100%;
  
}

.nav-links li:not(:last-child) a {
  height: 100%;
  padding: 0 8px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .03em;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-links > :not(:last-child) > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 4px;
  background: var(--green);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links > li:not(:last-child) > a:hover {
  color: var(--hover-text);
}
.nav-links .mega-section .mega-items li a:hover {
  color:var(--pink) !important;
}
.btn-contact-nav {
    display: block;
    margin-left: 2px;
    padding: 9px 22px;
    /* border: 2px solid var(--navy); */
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    background-color: white;
    border-radius: 20px;
    padding-bottom: 15px !important;
    padding-top: 15px;
    padding-left: 30px;
    padding-right: 30px;
    color: var(--navy) !important;
    transform: scale(1.0);
    transition: 300ms ease !important;
}


/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  background-color: transparent;
  text-decoration: inherit;
  border: none;
}
.nav-toggle span {
  display: block;
  width: auto;
  font-size: 12px;
  background-color: var(--navy) !important;
  color: white;
  margin-top: 10px;
  height: 18px;
  /* background: var(--white); */
  transition: var(--transition);
}

/* .cta-inner {
  display: flex;
  transition: transform 300ms ease;
}

.hero-circular-cta:hover .cta-inner {
  transform: scale(1.1);
} */

 /* =============================================
   MEGA MENU — ajouts uniquement
   ============================================= */

/* Le li reste statique : le mega se positionne
   par rapport au .navbar (position:fixed) */
.has-mega {
  position: static;
}

.mega-menu {
  position: absolute;
  max-width: 1280px;
  margin: auto;
  border-radius: 20px;
  /* top: 100%; */
  left: 0;
  right: 0;
  background: rgba(230, 237, 252, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(17, 30, 53, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  z-index: 999;
}

/* Ouverture pilotée par JS (.mega-open) */
.has-mega.mega-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Garde le soulignement vert sur "Métiers" */
.has-mega.mega-open > a::after {
  width: 100%;
}

/* Layout interne */
.mega-menu-inner {
  display: flex;
  min-height: 420px;
  /* margin-left:100px; */
}

/* ---- Colonne gauche ---- */
.mega-left {
  width: 380px;
  flex-shrink: 0;
  border-right: 1px solid white;
  padding: 20px 0;
}

.mega-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 20px 0px 18px;
    cursor: pointer;
    transition: background 0.18s ease;
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-left: 3px solid transparent;
    user-select: none;
    font-family: "Roboto";
    font-weight: bold;
}

/* .mega-cat:hover,
.mega-cat.active {
  background: rgba(17, 30, 53, 0.07);
  border-left-color: var(--green);
} */

.mega-cat-icon {
  width: 40px;
  height: 30px;
  flex-shrink: 0;
  color: var(--pink);
  opacity: 0.6;
  transition: opacity 0.18s;
}

.mega-cat:hover .mega-cat-icon,
.mega-cat.active .mega-cat-icon {
  color: var(--navy-dark);
}

.mega-cat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mega-cat > span:not(.mega-cat-icon) {
  flex: 1;
}

.mega-cat-arrow {
  width: 30px;
  height: 20px;
  flex-shrink: 0;
  color: var(--pink);
  /* opacity: 0.8; */
  /* transform: translateX(-5px); */
  transition: opacity 0.18s, transform 0.18s;
}

.mega-cat:hover .mega-cat-arrow,
.mega-cat.active .mega-cat-arrow {
  /* opacity: 1; */
  transform: translateX(0);
  color: var(--navy);
}

/* ---- Colonne droite ---- */
.mega-right {
  flex: 1;
  padding: 28px 38px;
  overflow: hidden;
}

.mega-panel {
  display: none;
}

.mega-panel.active {
  display: block;
  animation: megaFadeIn 0.2s ease;
}

.category-metiers-link {
  flex: 1 !important;
  justify-content: start !important;
  color: var(--color-navy) !important;
}

.category-metiers-link span:hover {
  color:var(--pink);
}

@keyframes megaFadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.mega-section-title {
  font-family: "Roboto";
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 14px 0;
  padding: 0;
}

.mega-items {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 0;
  gap: 16px;
}

.mega-items li {
  display: flex;
  align-items: center;
  gap: 2px;
}

.mega-items li::before {
  content: '';
  display: block;
  width: 35px;
  height: 1px;
  background: rgba(17, 30, 53, 0.35);
  flex-shrink: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

/* .mega-items li:hover::before {
  width: 14px;
  background: var(--green);
} */

.mega-items a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  padding: 6px 0;
  display: block;
  transition: color 0.18s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Roboto";
}

/* .mega-items a:hover {
  color: var(--green);
} */

.mega-divider {
  width: 100%;
  height: 1px;
  background: white;
  margin: 8px 0 22px;
}



/* ---- Masqué sur mobile ---- */
/* @media (max-width: 1200px) {
  .mega-menu {
    display: none !important;
  }
} */

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* ou la hauteur que vous avez définie */
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* ← force le cadrage vers le haut */
  transition: opacity 1.5s ease-in-out;
}
/* Dark overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17,30,53,.75) 40%, rgba(17,30,53,.3) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-inner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.hero-content {
  max-width: 680px;
  /* max-width: 560px; */
  padding: 60px 0;
}
.hero-content h1 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: .01em;
}
.hero-content .hero-sub {
  font-size: 22px;
  color: white;
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: .05em;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 28px;
  background: var(--navy);
  border-radius: 25px;
  color: var(--white);
  font-size: 15px;
  justify-content: space-around;
  font-weight: 500;
  letter-spacing: .05em;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  width: 290px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}
.btn-hero img {
  display: inline-block;
  transition: transform 0.5s ease;
  will-change: transform;
}

.btn-hero:hover img {
  transform: translateX(30px);
  transition: transform 0.5s ease;
}
.btn-hero .arrow-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.btn-hero .arrow-circle svg { width: 16px; height: 16px; fill: white; }

/* Cities list */
.hero-cities {
    display: block;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    padding: 60px 0;
    position: absolute;
    bottom: -30px;
    right: 0;
    width:250px;
}
.hero-cities li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color var(--transition);
  cursor: pointer;
  padding:10px 0px;
}
.hero-cities li:hover { color: var(--white); }
.hero-cities li::before {
  content: '';
  display: block;
  width: 55px;
  height: 1px;
  background: rgb(255 255 255);
  transition: width var(--transition), background var(--transition);
}

.hero-cities li.active {
  color: var(--white);
  font-weight: 600;
}
.hero-cities li.active::before {
  width: 55px;
  background: var(--green);
}

/* Circular CTA */
.hero-circular-cta {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 140px;
  height:140px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* color: var(--navy) !important; */
  text-align: center;
  gap: 25px;
  z-index: 3;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
  box-shadow: 0 8px 24px rgba(90,191,94,.4);
}
.hero-circular-cta:hover {
  transform: scale(1.06);
  /* background: var(--green-dark); */
}
.hero-circular-cta svg {
  width: 14px; height: 14px;
  fill: white;
  margin-bottom: 2px;
}
.hero-circular-cta span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.2;
}

/* Scroll arrow */
.hero-scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,.6);
    animation: bounce 2s infinite;
    cursor: pointer;
    background-color: var(--navy-light);
    padding: 25px 42px 10px 42px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}
.hero-scroll img { width: 24px; height: 24px; stroke: currentColor; fill: none; }

.hero-bg-img.img1 {
  opacity: 1;
  animation: fadeImg1 10s infinite;
}

.hero-bg-img.img2 {
  opacity: 0;
  animation: fadeImg2 10s infinite;
}

@keyframes fadeImg1 {
  0%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { opacity: 0; }
  95%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeImg2 {
  0%   { opacity: 0; }
  45%  { opacity: 0; }
  50%  { opacity: 1; }
  95%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   SECTION INTRO
   ============================================= */
.section-intro {
  position: relative;
  overflow: hidden;
}

/* .section-intro img {
  max-width: 100%;
  height:auto;
} */

.section-intro-container {
  background-image: url('/media/img/accueil/graphisme-bulles.png');
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: -130px;
  padding-top: 160px ;
  padding-bottom: 60px;
}

.intro-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-bottom: 60px;
  gap: 40px;
}
.intro-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(28px, 3vw, 33px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: .01em;
  padding-top:20px;
}

.dots-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(27,45,79,.18) 2px, transparent 2px);
  background-size: 18px 18px;
  border-radius: 50%;
  clip-path: ellipse(50% 50% at 50% 50%);
}

/* Photo grid */
.intro-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.intro-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 6px;
}
.intro-photos .photo {
  overflow: hidden;
  border-radius: 3px;
 /*  background: var(--gray-mid); */
}
.intro-photos .photo img {
  width: 100%; 
  object-fit: cover;
  transition: transform .4s ease;
}
.intro-photos .photo:hover img { transform: scale(1.04); }
.intro-photos .photo-wide {
  grid-column: span 2;
}
.intro-photos .photo-wide img { height: 200px; }

.intro-photos-1 {
  margin-top: 28px;
}

.intro-photos-3 {
  margin-top: 60px;
}

.intro-photos-4 {
  margin-top: 30px;
}

.intro-text p {
  font-size: 16px;
  color: var(--navy);
  line-height: 1.75;
  margin-bottom: 16px;
  /* font-weight:500; */
}
.intro-text-2 {
  margin-bottom:40px !important;
}
.intro-text-2 h2 {
  color:var(--navy) !important;
  padding:2% 0;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  margin-top: 12px;
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.link-more:hover { color: var(--green-dark); border-color: var(--green-dark); }
.link-more svg { width: 14px; height: 14px; fill: currentColor; }

.intro-text--full {
    width: 100%;
    max-width: 100%;
}

/* =============================================
   FLAGS
   ============================================= */

.topbar-lang {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    opacity: 1;
    z-index: 1001;
    width: 100%;
    max-width: 1280px;
    margin: auto;
}

.topbar-lang-container {
  display: flex;
  justify-content: flex-end;
  gap:10px;
  padding:0px;
}

.nav-flag {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-flag:hover {
    opacity: 1;
}

.translate-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  line-height: 1;
  cursor: pointer;
}
.translate-trigger:focus-visible,
.nav-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.topbar-lang, #navbar { top: var(--translation-offset, 0px); }
.nav-toggle { border: 0; background: transparent; }
.nav-toggle-icon { color: white; margin-top: 20px; }
.menu-close, .navbar.open .menu-bars { display: none; }
.navbar.open .menu-close { display: initial; }

/* Ces images remplacent les fonds CSS, avec le même cadrage et un chargement natif différé. */
.section-grid .card-item > .card-background,
.section-grid .card-item-4 > .card-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: left top;
  transform: none;
  opacity: 1;
  transition: none;
  will-change: auto;
}

@media screen and (max-width:767px) {
  .topbar-lang-container {
    padding:0px !important;
  }
}

/* =============================================
   STATS
   ============================================= */
.section-stats {
  padding: 70px 0;
 /*  border-top: 1px solid var(--gray-mid); */
  /* border-bottom: 1px solid var(--gray-mid); */
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
}
.stat-icon {
 /*  width: 48px; height: 48px; */
  display: flex; align-items: center; justify-content: center;
}
.stat-icon svg {
  width: 40px; height: 40px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.5;
}
.stat-number {
  font-family: 'Roboto', sans-serif;
  font-size: 68px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.01em;
}
.stat-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.4;
}

/* =============================================
   GRID CARDS
   ============================================= */
.section-grid {
  padding: 0;
}
.cards-grid {
  max-width:1280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 350px);
  gap: 15px;
}
.card-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy);
}

.section-grid .card-item::after,
.section-grid .card-item-4::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(36, 55, 101, 0);
  transition: background-color 0.3s ease;
}

.section-grid .card-item:hover::after,
.section-grid .card-item-4:hover::after {
  background-color: rgba(36, 55, 101, 0.35);
}

.card-item:first-child {
  grid-column: span 1;
  grid-row: span 2;
}
.card-item-4 {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy);
  grid-column: span 2;
  grid-row: span 1;
}

.card-item img {
  max-width: 100%;
  display: block;
  padding-bottom: 40px;
}

.card-item-4 img {
  max-width: 100%;
  display: block;
  padding-bottom: 40px;
}

.card-item:hover img {
  opacity: .5;
  transform: scale(1.04);
}

.card-item-4:hover img {
  opacity: .5;
  transform: scale(1.04);
}

.card-label {
  position: absolute;
  bottom: 20px;
  right: 55px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  gap: 45px;
  z-index: 2;
  /* margin-right: 10px; */
}
.card-label span {
  font-family: 'Roboto', sans-serif;
  font-size: 33px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: .02em;
}
.card-label .card-arrow {
  width: 28px; height: 28px;
  border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.card-item:hover .card-arrow {
  background: var(--green);
  border-color: var(--green);
}
.card-label .card-arrow svg {
  width: 12px; height: 12px;
  stroke: white; fill: none;
  stroke-width: 2;
}
/* Overlay gradient */
.card-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,30,53,.7) 0%, transparent 60%);
  z-index: 1;
}

.card-item img, .card-item-4 img {
  transition: transform 0.5s ease;
  will-change: transform;
}

.card-item:hover img, .card-item-4:hover img {
  transform: translate(21px,-21px);
  transition: transform 0.5s ease;
}

/* =============================================
   CERTIFICATIONS
   ============================================= */
.section-certifs {
  padding: 20px 0px 50px 0px;
}
.container-section-certifs {
  background-color: var(--navy-extra-light);
  max-width: 1256px;
}
.certifs-grid {
  display: grid;
  text-align: center;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.certif-panel {
  background: var(--white);
  padding: 40px 48px;
  background-color: var(--navy-extra-light);
}
.certif-panel:first-child {
  border-right: 2px solid var(--gray-light);
}
.certif-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 28px;
}
.certif-logos {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.certif-logo {
  height: 44px;
  display: flex; align-items: center;
  filter: grayscale(100%);
  opacity: .7;
  transition: filter var(--transition), opacity var(--transition);
}
.certif-logo:hover { filter: none; opacity: 1; }
.certif-logo img { height: 100%; width: auto; object-fit: contain; }

/* Logo placeholders */
.logo-placeholder {
  height: 40px;
  padding: 6px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 4px;
  display: flex; align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--text-light);
  white-space: nowrap;
}

/* =============================================
   SOCIAL
   ============================================= */
.section-social {
  padding: 50px 0 80px 0;
  text-align: center;
}
.social-label {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
}
.social-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 300px;
  margin: auto;
}
.social-icon {
  width: 44px; height: 44px;
  /* border: 1.5px solid var(--gray-mid); */
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.social-icon:hover {
/*   background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px); */
}

.social-icon img {
  transform: scale(1.0);
  transition: 300ms ease;
}

.social-icon img:hover {
  transform: scale(1.2);
  transition: 300ms ease;
}

.social-icon svg { width: 18px; height: 18px; fill: currentColor; }


 /* =============================================
     SCROLLED HEADER
     ============================================= */
  #navbar.scrolled {
    background-color: var(--navy);
    transition: background-color .3s ease;
  }

  /* =============================================
     SIMPLE DROP — Desktop
     ============================================= */
  .has-simple-drop {
    position: relative;
  }

  .simple-drop {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 240px;
    background: rgba(230, 237, 252, 0.98);
    backdrop-filter: blur(16px);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(17, 30, 53, 0.14);
    padding: 20px 12px 12px 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    z-index: 999;
  }

  /* Petite flèche décorative en haut */
  .simple-drop::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(230, 237, 252, 0.98);
  }

  .has-simple-drop.drop-open .simple-drop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  /* Soulignement vert quand ouvert */
  .has-simple-drop.drop-open > a::after {
    width: 100%;
  }

  .simple-drop-items {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .simple-drop-items li {
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 8px;
  }

  .simple-drop-items li::before {
    content: '';
    display: block;
    width: 35px;
    height: 1px;
    background: rgba(17, 30, 53, 0.3);
    flex-shrink: 0;
    margin-right: 10px;
    transition: width 0.2s ease, background 0.2s ease;
  }

  .simple-drop-items li:hover::before {
    /* width: 14px; */
    background: var(--pink);
  }

  .simple-drop-items a {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy) !important;
    padding: 9px 0;
    display: block;
    white-space: nowrap;
    transition: color 0.18s ease;
    letter-spacing: 0.01em;
  }

  .simple-drop-items a:hover {
    color: var(--pink) !important;
  }

  .simple-drop-items a::after {
    display: none !important;
  }

  /* Flèche sur le lien parent */
  .drop-arrow {
    display: inline-block;
    margin-left: 4px;
    font-size: 14px;
    transition: transform 0.22s ease;
    line-height: 1;
  }

  .has-simple-drop.drop-open > a .drop-arrow {
    transform: rotate(90deg);
  }

  /* =============================================
     SIMPLE DROP — Mobile
     ============================================= */
  @media (max-width: 1200px) {

    .simple-drop-items li a {
      font-size:13px;
    }

    .simple-drop-items li {
      margin-bottom:0px;
    }

    .drop-arrow {
      display: inline-block;
      transition: transform 0.25s ease;
      font-style: normal;
      /* margin-left: auto; */
    }

    .simple-drop {
      position: static;
      transform: none !important;
      opacity: 1;
      visibility: visible;
      background: rgba(17, 30, 53, 0.06);
      backdrop-filter: none;
      box-shadow: none;
      border-radius: 10px;
      padding: 0px 0;
      /* Caché par défaut via max-height */
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      pointer-events: none;
    }

    .simple-drop::before {
      display: none;
    }

    .has-simple-drop.drop-open .simple-drop {
      max-height: 500px;
      padding: 6px 0;
      pointer-events: auto;
    }

    .simple-drop-items a {
      font-size: 14px;
      padding: 10px 0;
      color: var(--white) !important;
    }

    .simple-drop-items li::before {
      background: rgba(255,255,255,0.4);
    }

    .drop-arrow {
      color: var(--white);
      font-size:33px;
      margin-bottom: 5px;
    }

    .metiers-arrow {
      font-size:33px;
    }
  }

/* =============================================
   TPL PAGE
   ============================================= */

   .lien-pdf:hover {
    color:#a5b3ee !important;
   }

      .lien-pdf i:hover {
    color:#a5b3ee !important;
   }

#tpl-page-header {
    position: relative;
    min-height: 400px; /* IMPORTANT au lieu de height */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Overlay bleu foncé en haut */
#tpl-page-header::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 30, 80, 0.8) 0%,
            rgba(0, 30, 80, 0.4) 40%,
            rgba(0, 30, 80, 0) 70%
        ),
        rgba(0, 30, 80, 0.2); /* teinte globale */

    z-index: 1;
}

.titre-tpl-page {
  min-height:135px;
  /* width: 60%; */
  text-shadow: 0 5px 4px rgba(0, 0, 0, 0.7);
}

/* Pour que ton contenu passe au-dessus */
.header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 20px;
}



/* INTRO */

.section-intro-tpl.section-intro {
  position: relative;
  overflow: hidden;
}

.section-intro-tpl .section-intro-container {
  background-image: url('/media/img/accueil/graphisme-bulles.png');
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: -240px;
  padding-top: 160px;
  padding-bottom: 60px;
}

.section-intro-tpl .intro-header {
    display: block;
    margin-bottom: 30px;
    max-width: 440px;
}

.section-intro-tpl .intro-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(28px, 3vw, 33px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: .01em;
  padding-top: 20px;
}

.section-intro-tpl .dots-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(27,45,79,.18) 2px, transparent 2px);
  background-size: 18px 18px;
  border-radius: 50%;
  clip-path: ellipse(50% 50% at 50% 50%);
}

/* Photo grid */
.section-intro-tpl .intro-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.section-intro-tpl .intro-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 6px;
}

.section-intro-tpl .intro-photos .photo {
  overflow: hidden;
  border-radius: 3px;
}

.section-intro-tpl .intro-photos .photo img {
  width: 100%;
  height:430px;
  object-fit: cover;
  transition: transform .4s ease;
}

.section-intro-tpl .intro-photos .photo:hover img {
  transform: scale(1.04);
}

.section-intro-tpl .intro-photos .photo-wide {
  grid-column: span 2;
}

.section-intro-tpl .intro-photos .photo-wide img {
  height: 200px;
}

.section-intro-tpl .intro-photos-1 {
  margin-top: 28px;
}

.section-intro-tpl .intro-photos-3 {
  margin-top: 60px;
}

.section-intro-tpl .intro-photos-4 {
  margin-top: 30px;
}

/* SECTEURS AGROALIMENTAIRES */
#secteurs-agroalimentaires {
    padding: 0px 0 60px 0;
}

.secteurs-grid {
    display: flex;
    flex-direction: row;
    gap: 15px;
    max-width: 1280px;
    margin: 0 auto;
    height: 360px;
}

/* Carte titre */
.secteur-titre-card {
    flex: 0 0 calc(33.333% - 3px);
    background-color: #14285A;
    background-image: url('/media/img/accueil/gallerie-img2.png');
    /* background-size: cover; */
    /* background-position: center bottom; */
    background-repeat: no-repeat;
    padding: 40px 36px 30px;
    background-position: center calc(100% + 43px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.secteur-titre-bulles {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 320px;
    height: 320px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.5;
    pointer-events: none;
}

.secteur-titre-card h2 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0;
    position: relative;
    z-index: 1;
}

.secteur-titre-arrow {
    align-self: flex-end;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.secteur-titre-arrow:hover {
    transform: translate(3px, -3px);
}

/* Colonne des tuiles */
.secteurs-tuiles {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.secteurs-tuiles-row {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex: 1;
}

/* Tuiles secteurs */
.secteur-card {
    flex: 1;
    background-color:var(--gray);
    padding: 18px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.secteur-card:hover {
    background-color: #5a6e92;
}

.secteur-plus {
    font-size: 40px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
}

.secteur-card p {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(14px, 1.1vw, 15px);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.secteur-card .h4-white {
  width:80%;
}

.btn-hero-page-realisation {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 4px 28px;
    background: var(--navy) !important;
    border-radius: 40px;
    color: var(--white);
    font-size: 15px;
    justify-content: space-around;
    font-weight: 400;
    letter-spacing: .05em;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
    /* width: 200px; */
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

.btn-hero-page-realisation img {
  display: inline-block;
  transition: transform 0.5s ease;
  will-change: transform;
}

.btn-hero-page-realisation:hover img {
  transform: translateX(24px);
  transition: transform 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .section-intro-tpl .intro-photos .photo img {
      height:300px;
    }

    .secteurs-grid {
        flex-direction: column;
        height: auto;
    }

    .secteur-titre-card {
        flex: none;
        min-height: 180px;
    }

    .secteurs-tuiles-row {
        flex-direction: column;
    }

    .secteur-card {
        min-height: 100px;
    }
}

.tpl-page-navigation-metiers {
    text-align: center;
    margin-bottom:50px;

}

/* =============================================
   BOUTONS COMMUNS
   ============================================= */

.btn-hero-page-contact {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 4px 28px;
    background: var(--navy) !important;
    border-radius: 40px;
    color: var(--white);
    font-size: 15px;
    justify-content: space-around;
    font-weight: 400;
    letter-spacing: .05em;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
    width: 200px;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

.btn-hero-page-contact img {
  display: inline-block;
  transition: transform 0.5s ease;
  will-change: transform;
}

.btn-hero-page-contact:hover img {
  transform: translateX(24px);
  transition: transform 0.5s ease;
}
.btn-hero-page-contact .arrow-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.cta-envoyer {
    border:0;
    background-color: inherit;
}

/* =============================================
   ENJEUX QUALITÉ DE L'AIR
   ============================================= */
#enjeux-qualite {
    padding: 80px 0 60px;
    text-align: center;
}

@media screen and (max-width:767px) {

  #enjeux-qualite {
      padding: 40px 0 30px;
      text-align: center;
  }

  #enjeux-qualite .row  {
    flex-direction: column;
  }

  #enjeux-qualite .row div {
    max-width: inherit !important;
    width: 100%;
    min-height: inherit !important;
  }

}



.enjeux-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.enjeux-bulles-icon {
    width: 60px;
    margin-bottom: 20px;
}

.enjeux-title /*, .prestations-title */ {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(22px, 2.5vw, 33px);
    font-weight: 500;
    color: var(--navy, #1b2d4f);
    text-align: center;
    /* max-width: 500px; */
}


/* =============================================
   CARTES À BORDURE (1/3)
   Toutes les rangées "bloc 3" (bouton TinyMCE "+ Ajouter Row bloc 3") du template page
   ============================================= */
.enjeux-contenu .col,
#tpl-page .row > .col-sm-4 {
    border: solid 1px var(--navy);
    padding: 30px 24px;
    min-height: 350px;
}

#tpl-page .row > .col-sm-4 {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    flex-direction: column; /* empile le contenu là où la colonne est en display:flex */
}

/* Espacement entre cartes, uniquement sur les rangées de cartes 1/3 */
#tpl-page .row:has(> .col-sm-4) {
    justify-content: center;
    gap: 20px;
    padding: 12px;
}

/* Masque les colonnes vides (sans titre ni image) */
#tpl-page .row > .col-sm-4:not(:has(h3, img)) {
    display: none;
}


/* =============================================
   PRESTATIONS MESURE
   ============================================= */
#prestations-mesure {
    padding: 60px 0;
}

@media screen and (max-width:767px) { 

  #prestations-mesure {
      padding: 30px 0;
  }

}


.prestations-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    text-align: center;
}

/* Égalisation de la hauteur des blocs sur une même rangée */
.prestations-grid .row {
    align-items: stretch;
    margin-bottom: 3%;
    justify-content: center;
}

.prestations-grid .col-12 {
    display: flex;
}

.prestation-item {
    display: flex;
    flex-direction: row;
    gap: 25px;
    padding: 30px 40px 30px 30px;
    background-color: var(--blue-light);
    width: 100%;
    height: 100%;
}

.prestation-ligne {
    width: 50px;
    height: 3px;
    background-color: var(--navy, #1b2d4f);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 5px;
}

.prestation-content {
    flex: 1;
}

.prestation-content h3 {
    color: var(--navy, #1b2d4f);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 10px;
    font-weight: 900;
}

.prestation-content p {
    margin: 0;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .enjeux-contenu .col-sm-4,
    .prestations-grid .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* =============================================
   NON UTILISÉ DANS tpl-page
   À vérifier dans les autres templates (métiers, accueil…) avant suppression définitive
   ============================================= */

/*
.prestations-icon {
    width: 50px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.enjeux-cards {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.enjeux-card {
    flex: 1;
    background-color: #fff;
    border: 1px solid var(--navy);
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.enjeux-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.enjeux-card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.enjeux-card-title {
    font-family: 'Roboto', sans-serif;
    color: var(--navy, #1b2d4f);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 900;
}

.enjeux-card-title small {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    margin-top: 4px;
}

.enjeux-card p {
    color: var(--navy);
    line-height: 1.6;
    margin: 0;
}
*/

/* =============================================
   MÉTHODES + DE LA MESURE
   ============================================= */
#methodes-mesure {
    padding: 60px 0;
}

 @media (max-width: 767.98px) {
    #methodes-mesure {
      padding: 30px 0;
    }

    #methodes-mesure .row {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
    }

    #methodes-mesure .col-12 {
        min-width: 0;
        max-width: 100%;
    }
}

.methodes-colonnes {
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.methodes-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.methodes-col-header {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    /* border-bottom: 2px solid var(--navy, #1b2d4f); */
}

.methodes-col-header img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.methodes-mesure-h2  {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(22px, 2.5vw, 33px);
    font-weight: 500;
    color: var(--navy, #1b2d4f);
    /* line-height: 1.3; */
    /* text-align: center; */
}

.methodes-mesure-h3 {
    font-family: 'Roboto', sans-serif;
    color: var(--navy);
    font-size: clamp(16px, 2.5vw, 23px);
    font-weight: 600;
    padding-bottom: 8px;
}

.methodes-col-header h3 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 700;
    color: var(--navy, #1b2d4f);
    margin: 0;
    line-height: 1.2;
}

.methodes-bloc {
    padding: 20px 0 20px 20px; /* ← padding-left pour l'espace après la barre */
    position: relative;
}

.methodes-bloc::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(to bottom, #acf197, #ffffff);
}

.methodes-bloc h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy, #1b2d4f);
    margin: 0 0 10px;
    line-height: 1.4;
}


/* =============================================
   POURQUOI NOUS CHOISIR
   ============================================= */
#pourquoi-nous {
    background-color: var(--navy, #1b2d4f);
    padding: 50px 0;
    text-align: center;
    margin-bottom: 15px;;
}

.pourquoi-nous-h3 {
  font-size:30px;
  font-weight:500;
  color:white;
}

.pourquoi-surtitre {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: white;
    text-transform: uppercase;
    margin: 0 0 36px;
}

.pourquoi-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* gap: 60px; */
}

.pourquoi-card {
    display: flex;
    flex-direction: row;
    /* align-items: center; */
    gap: 13px;
    text-align: left;
}

.pourquoi-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

.pourquoi-card img  {
    width: 55px;
    /* height: 47px; */
    object-fit: contain;
    flex-shrink: 0;
}

.pourquoi-card strong {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(16px, 2.4vw, 28px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-transform: lowercase;
}

.pourquoi-card span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: white;
    text-transform: uppercase;
    margin-top: 4px;
}

/* =============================================
   UN DEVIS / AUDIT
   ============================================= */
#devis-audit {
    position: relative;
    overflow: hidden;
}

.devis-audit-inner {
    display: flex;
    flex-direction: row;
    min-height: 430px;
}

.devis-audit-img {
    position: relative;
    flex: 0 0 40%;
    background-image: url('/media/img/bg-devis-f.png');
    background-size: cover;
    background-position: center;
}


.devis-audit-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #acf197;
    opacity: 0.4;
    pointer-events: none;
}

.devis-audit-content {
    flex: 1;
    background-color: var(--green);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    gap: 10px;
}

.devis-audit-content-img {
  width:30px;
  padding-bottom: 40px;
}

.devis-audit-content h2 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 700;
    color: var(--navy, #1b2d4f);
    line-height: 1.2;
    margin: 0;
}

.devis-audit-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
    font-weight: 500;
}


.btn-hero-page {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 28px;
  background: var(--navy);
  border-radius: 40px;
  color: var(--white);
  font-size: 15px;
  justify-content: space-around;
  font-weight: 400;
  letter-spacing: .05em;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  width: 350px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

.btn-hero-page-agence {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 28px;
  background: var(--navy);
  border-radius: 40px;
  color: var(--white);
  font-size: 15px;
  justify-content: space-around;
  font-weight: 400;
  letter-spacing: .05em;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  width: 200px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

.btn-hero-page-devis {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 28px;
  background: var(--navy);
  border-radius: 40px;
  color: var(--white);
  font-size: 15px;
  justify-content: space-around;
  font-weight: 400;
  letter-spacing: .05em;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  width: 300px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

.btn-hero-page-agence:hover img {
  transform: translateX(24px);
  transition: transform 0.5s ease;
}

.btn-hero-page-devis:hover img {
  transform: translateX(24px);
  transition: transform 0.5s ease;
}

.btn-hero-page-agence img {
  display: inline-block;
  transition: transform 0.5s ease;
  will-change: transform;
}

.btn-hero-page-devis img {
  display: inline-block;
  transition: transform 0.5s ease;
  will-change: transform;
}

.btn-hero-page-societe {
  margin-top:20px;
}

.btn-hero-page img {
  display: inline-block;
  transition: transform 0.5s ease;
  will-change: transform;
}

.btn-hero-page:hover img {
  transform: translateX(24px);
  transition: transform 0.5s ease;
}
.btn-hero-page .arrow-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.btn-devis span {
    font-size: 18px;
}

   /* =============================================
   SOCIETE
   ============================================= */

#tpl-societe {
    padding-bottom: 80px;
}

#tpl-societe .row {
  padding-top:50px;
}

/* --- Intro --- */
.tpl-societe-intro {
    padding: 60px 0 50px;
}

.tpl-societe-intro-inner {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 40px;
}

.tpl-societe-nom {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tpl-societe-titre {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy) !important;
    margin: 0;
}

/* Lien site web */
.tpl-societe-site-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: var(--navy);
    color: #fff;
    padding: 12px 22px;
    margin-top:20px;
    border-radius: 50px;
    width: fit-content;
    transition: background 0.2s ease;
}

.tpl-societe-site-link:hover {
    background: var(--pink);
    color: #fff;
}

.tpl-societe-site-label {
   /* color:white; */
    font-size: 15px;
    font-weight: 600;
    /* text-transform: uppercase; */
    letter-spacing: 0.08em;
    /* opacity: 0.7; */
}

.tpl-societe-site-url {
    font-size: 13px;
    font-weight: 500;
}

.tpl-societe-site-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Logo */
.tpl-societe-logo {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #f5f7fb; */
    border-radius: 16px;
   /*  padding: 30px; */
}

.tpl-societe-logo img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

/* --- Contenu --- */
.tpl-societe-content {
    padding: 40px 0 40px;
    border-top: 1px solid rgba(17, 30, 53, 0.08);
}

.tpl-page-societe-logo {
    margin-bottom:80px;
    height: 100px;
    width: auto;
    max-width: 300px; /* optionnel */
    object-fit: contain;
    display: block;
}
/* --- Responsive --- */
@media (max-width: 768px) {
    .tpl-societe-intro-inner {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .tpl-societe-logo {
        width: 140px;
        /* padding: 20px; */
    }

    .tpl-societe-site-url {
        display: none;
    }

    .tpl-page-societe-logo {
      margin-bottom:0px;
    }
}

/* =============================================
   ACTUALITES
   ============================================= */
.actualites-filtres {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.filtre-btn {
    padding: 8px 20px;
    border: solid 1px var(--navy);
    border-radius: 25px;
    text-decoration: none;
    color: white;
    transition: all 0.2s;
    background-color: var(--navy);
}
.filtre-btn:hover,
.filtre-btn.active {
    background-color: white;
    color: var(--navy);
}

/* --- Grille --- */
.section-grid-actualites .container-actualites {
    padding: 60px 0 80px;
    background-image: url('/media/img/accueil/graphisme-bulles.png');
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: -240px;
    padding-top: 160px;
    padding-bottom: 60px;
}

#tpl-actualite img {
    max-width: 100%;
    height: auto;
}

.actualites-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

/* --- Vignette --- */
.actualite-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
    max-width: calc(33.333% - 20px);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    background-color: #fff;
    box-shadow: 0 4px 18px rgba(36, 55, 101, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.actualite-card:hover {
    box-shadow: 0 10px 30px rgba(36, 55, 101, 0.20);
}

/* Image */
.actualite-card-img {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #e0e6f0;
}
.actualite-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.actualite-card:hover .actualite-card-img img {
    transform: scale(1.05);
}
.actualite-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(36, 55, 101, 0);
    transition: background 0.3s ease;
}
.actualite-card:hover .actualite-card-overlay {
    background: rgba(36, 55, 101, 0.15);
}
.actualite-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #243765 0%, #3d5a9e 100%);
}

/* Corps */
.actualite-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.actualite-card-categorie {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.actualite-card-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: #9aaac5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.actualite-card-titre {
    font-size: 1.05rem;
    font-weight: 700;
    color: #243765;
    margin: 0;
    line-height: 1.3;
}
.actualite-card-cta {
    margin-top: auto;
    padding-top: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #243765;
    border-top: 1px solid #e0e6f0;
    transition: letter-spacing 0.2s ease;
}
.actualite-card:hover .actualite-card-cta {
    letter-spacing: 0.03em;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .actualite-card {
        max-width: calc(50% - 14px);
    }
}
@media (max-width: 640px) {
    .actualite-card {
        max-width: 100%;
        flex: 1 1 100%;
        padding: 12px;
        box-shadow: 0 9px 11px rgb(36 55 101 / 36%);
    }
    .section-grid-actualites {
        padding: 40px 0 60px;
    }
}

/* --- Pagination --- */
.pagination-actualites {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #243765;
    background-color: #fff;
    border: 2px solid #243765;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.pagination-btn:hover {
    background-color: #243765;
    color: #fff;
}
.pagination-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}
.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #243765;
    background-color: #fff;
    border: 2px solid #e0e6f0;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pagination-num:hover {
    border-color: #243765;
    background-color: rgba(36, 55, 101, 0.07);
}
.pagination-num.active {
    background-color: #243765;
    border-color: #243765;
    color: #fff;
    pointer-events: none;
}
.pagination-infos {
    text-align: center;
    margin-top: 14px;
    font-size: 0.82rem;
    color: #9aaac5;
}
@media (max-width: 640px) {
    .pagination-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

/* =============================================
   TPL-ACTUALITE
   ============================================= */

.container-tpl-actualite {
    display: flex;
}

.container-tpl-actualite-col1 img {
    padding-top: 10px;
}

.container-tpl-actualite-col2 {
    background-image: url("/media/img/accueil/graphisme-bulles.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: -220px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.bloc-bleu-intro {
    width: 100%;
    margin: 0 40px;
    padding-bottom: 30px;
}

.bloc-bleu-intro-text {
    display: flex;
    gap: 40px;
    padding: 10px 35px;
    background-color: var(--navy-extra-light);
    margin-bottom: 1px;
}

.bloc-bleu-intro-span {
    min-width: 150px;
    text-transform: uppercase;
    font-weight: 600;
    color: #99adcc;
}

.bloc-bleu-intro-span-value {
    text-transform: capitalize;
    font-weight: 500;
}

.bloc-bleu-intro-span-value-email {
    font-weight: 500;
}

.tpl-actualite-content,
.tpl-actualite-iframe {
    padding: 0px 12px;
    max-width: 1280px;
    margin: auto;
    margin-top: 40px;
}

.tpl-actualite-content-title {
    padding: 0 12px;
}

.tpl-actualite-content h2 {
    max-width: 80%;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .container-tpl-actualite {
        flex-direction: column;
    }

    .container-tpl-actualite-col1,
    .container-tpl-actualite-col2 {
        width: 100%;
    }

    .bloc-bleu-intro {
        margin: 20px 0;
    }

    .container-tpl-actualite-col2 {
        background-position-y: 0;
        align-items: flex-start;
    }

    .bloc-bleu-intro-text {
        gap: 20px;
        padding: 10px 15px;
    }

    .bloc-bleu-intro-span {
        min-width: 120px;
    }
}

/* --- Navigation bas de page --- */
.tpl-actualite-navigation {
    margin-top: 60px;
    /* border-top: 2px solid var(--navy-extra-light); */
    padding: 30px 12px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.nav-actualite-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.nav-actualite-item {
    flex: 1;
    max-width: 280px;
}

.nav-actualite-item .filtre-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.nav-actualite-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.nav-actualite-home {
    flex: 0 0 auto;
    text-align: center;
}

.nav-actualite-label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-actualite-titre {
    font-weight: 500;
    font-size: 0.85rem;
    max-width: 240px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-actualite-disabled {
    opacity: 1;
    cursor: default;
    pointer-events: none;
    color:white;
    background-color: #cfd7e3 !important;
    border-color: #7e8aa7 !important;
}

.nav-actualite-disabled .nav-actualite-label {
    color: #7e8aa7 !important;
}

@media (max-width: 768px) {
    .nav-actualite-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 100%;
    }

    .nav-actualite-item {
        max-width: 100%;
    }

    .nav-actualite-home {
        order: -1;
    }

    .nav-actualite-titre {
        max-width: 100%;
        white-space: normal;
    }
}



/* =============================================
   REALISATIONS
   ============================================= */

.tpl-realisation-gallery {
  margin-top: 50px;
}
.tpl-realisation-gallery-legende {
  text-align: center;
  padding: 10px;
}
.tpl-realisation-gallery-item-inner {
  overflow: hidden;
  display: block;
}
.tpl-realisation-gallery-item-inner img {
  transition: transform 0.4s ease;
  width: 100%;
  display: block;
}
.tpl-realisation-gallery-item-inner:hover img {
  transform: scale(1.08);
}
   
  /*  #tpl-realisation .row {
    margin-top: 50px;
   } */

   #tpl-realisation .row-sur-mesure {
    margin-top: 0px !important;
   }

/* .texte-deux-colonnes {
    column-count: 2;
    column-gap: 2rem;
}
@media (max-width: 768px) {
    .texte-deux-colonnes {
        column-count: 1;
    }
} */

/* --- Grille --- */
.section-grid-realisations .container-realisations {
    padding: 60px 0 80px;
    background-image: url('/media/img/accueil/graphisme-bulles.png');
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: -240px;
    padding-top: 100px;
    padding-bottom: 60px;
}

/* #tpl-realisation .row {
  margin-top:100px;
} */

#tpl-realisation img {
  max-width:100%;
  height:auto;
}

.realisations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

/* --- Vignette --- */
.realisation-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
    max-width: calc(33.333% - 20px);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    background-color: #fff;
    box-shadow: 0 4px 18px rgba(36, 55, 101, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realisation-card:hover {
   /*  transform: translateY(-5px); */
    box-shadow: 0 10px 30px rgba(36, 55, 101, 0.20);
}

/* Image */
.realisation-card-img {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #e0e6f0;
}

.realisation-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.realisation-card:hover .realisation-card-img img {
    transform: scale(1.05);
}

.realisation-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(36, 55, 101, 0);
    transition: background 0.3s ease;
}

.realisation-card:hover .realisation-card-overlay {
    background: rgba(36, 55, 101, 0.15);
}

.realisation-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #243765 0%, #3d5a9e 100%);
}

/* Corps */
.realisation-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.realisation-card-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: #9aaac5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.realisation-card-titre {
    font-size: 1.05rem;
    font-weight: 700;
    color: #243765;
    margin: 0;
    line-height: 1.3;
}

.realisation-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.realisation-card-client,
.realisation-card-ville {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.83rem;
    color: #243765;
    opacity: 0.75;
}

.realisation-card-cta {
    margin-top: auto;
    padding-top: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #243765;
    border-top: 1px solid #e0e6f0;
    transition: letter-spacing 0.2s ease;
}

.realisation-card:hover .realisation-card-cta {
    letter-spacing: 0.03em;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .realisation-card {
        max-width: calc(50% - 14px);
    }
}

@media (max-width: 640px) {
    .realisation-card {
        max-width: 100%;
        flex: 1 1 100%;
        padding:12px;
        box-shadow: 0 9px 11px rgb(36 55 101 / 36%);
    }

    .sommaire-item {
        font-size: 0.88rem;
    }

    .section-grid-realisations {
        padding: 40px 0 60px;
    }
}

/* --- Pagination --- */
.pagination-realisations {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #243765;
    background-color: #fff;
    border: 2px solid #243765;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination-btn:hover {
    background-color: #243765;
    color: #fff;
}

.pagination-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #243765;
    background-color: #fff;
    border: 2px solid #e0e6f0;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pagination-num:hover {
    border-color: #243765;
    background-color: rgba(36, 55, 101, 0.07);
}

.pagination-num.active {
    background-color: #243765;
    border-color: #243765;
    color: #fff;
    pointer-events: none;
}

.pagination-infos {
    text-align: center;
    margin-top: 14px;
    font-size: 0.82rem;
    color: #9aaac5;
}

@media (max-width: 640px) {
    .pagination-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}



/* =============================================
   TPL-REALISATIONS
   ============================================= */

.tpl-realisation-navigation {
  margin-top:40px;
}
   
/* .section-intro-realisations .section-intro-realisations-container {
  background-image: url('/media/img/accueil/graphisme-bulles.png');
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: -240px;
  padding-top: 160px;
  padding-bottom: 60px;
} */

.container-tpl-realisation {
  /* margin-top:10px; */
  display: flex;
}

.container-tpl-realisation-col1 img {
  padding-top:10px;
}

.container-tpl-realisation-col2 {
    background-image: url("/media/img/accueil/graphisme-bulles.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: -220px;
    /* padding: 160px 0px 60px; */
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.bloc-bleu-intro {
    width: 100%;
    margin: 0 40px;
    padding-bottom:30px;
}

.bloc-bleu-intro-text {
    display: flex;
    gap: 40px;
    padding: 10px 35px;
    background-color: var(--navy-extra-light);
    margin-bottom: 1px;
}

.bloc-bleu-intro-span {
    min-width: 150px;
    text-transform: uppercase;
    /* opacity: 0.35; */
    font-weight: 600;
    color: #99adcc;

}

.bloc-bleu-intro-span-value {
  text-transform: capitalize;
  font-weight:500;
}

.tpl-realisation-content, .tpl-realisation-iframe {
  padding:0px 12px;
  max-width:1280px;
  margin: auto;
  margin-top:40px;
}


.tpl-realisation-content-title {
  padding: 0 12px;
}

.tpl-realisation-content h2 {
  max-width:80%;
  margin-bottom:40px;
}

/* .tpl-realisation-intro .container-tpl-realisation {
    background-image: url("/media/img/accueil/graphisme-bulles.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: -240px;
    padding: 160px 0px 60px;
} */

@media (max-width: 768px) {
    .container-tpl-realisation {
        flex-direction: column;
    }

    .container-tpl-realisation-col1,
    .container-tpl-realisation-col2 {
        width: 100%;
    }

    .bloc-bleu-intro {
        margin: 20px 0;
    }

    .container-tpl-realisation-col2 {
        background-position-y: 0;
        align-items: flex-start;
    }

    .bloc-bleu-intro-text {
        gap: 20px;
        padding: 10px 15px;
    }

    .bloc-bleu-intro-span {
        min-width: 120px;
    }
    
}


/* =============================================
   TPL-IMPLANTATIONS
   ============================================= */

.container-tpl-implantations {
  display: flex;
  gap: 30px;
}

.container-tpl-implantations-col1 {
  flex: 1;
  min-width: 0;
}

.container-tpl-implantations-col1 img {
  padding-top: 10px;
}

.container-tpl-implantations-col1 iframe {
  padding-top: 10px;
  width: 100%;
  height: 450px;
  display: block;
}

.container-tpl-implantations-col2 {
    flex: 1;
    min-width: 0;
    background-image: url("/media/img/accueil/graphisme-bulles.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: -220px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.tpl-implantations-content, .tpl-implantations-iframe {
  padding: 0px 12px;
  max-width: 1280px;
  margin: auto;
  margin-top: 40px;
}

.tpl-implantations-content-title {
  padding: 0 12px;
}

.tpl-implantations-content h2 {
  max-width: 80%;
  margin-bottom: 40px;
}

.tpl-realisation-content-title {
  padding: 0 12px;
}

.tpl-implantation-content h2 {
  max-width: 80%;
  margin-bottom: 40px;
}

.tpl-implantation-content {
    padding: 0px 12px;
    max-width: 1280px;
    margin: auto;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .container-tpl-implantations {
        flex-direction: column;
        gap: 0;
    }

    .container-tpl-implantations-col1,
    .container-tpl-implantations-col2 {
        width: 100%;
    }

    .container-tpl-implantations-col1 iframe {
        height: 300px;
    }

    .container-tpl-implantations-col2 {
        background-position-y: 0;
        align-items: flex-start;
    }
}

/* =============================================
   FAQ
   ============================================= */


#faq {
    padding: 80px 0 100px;
    background: #fff;
}

.faq-lien:hover {
  color: var(--navy-light);
  font-weight: 500;
}
 
.faq-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.faq-reponse-inner p {
  font-weight:400 !important;
}

.faq-point-interrogation {
  width:50px;
  height:50px;
}
 
/* ── Colonne gauche ── */
.faq-titre {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
 
.faq-icone {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--green);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
 
.faq-titre h2 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--navy, #1b2d4f);
    line-height: 1.25;
    margin: 0;
}
 
/* ── Colonne droite ── */
.faq-liste {
    flex: 1;
    display: flex;
    flex-direction: column;
}
 
/* ── Item ── */
.faq-item {
    border-top: 1.5px solid var(--navy, #1b2d4f);
}
 
.faq-item:last-child {
    border-bottom: 1.5px solid var(--navy, #1b2d4f);
}
 
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}
 
.faq-question span {
    font-family: 'Roboto', sans-serif;
/*     font-size: 40px;
    font-weight: 400; */
    font-size:18px;
    font-weight:600;
    color: var(--navy, #1b2d4f);
    line-height: 1.4;
    flex: 1;
}
 
/* ── Icône +/− ── */
.faq-btn-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 300;
    color: var(--navy, #1b2d4f);
    line-height: 1;
}
 
.icon-moins { display: none; }
.icon-plus  { display: block; }
 
.faq-item.open .icon-moins { display: block; }
.faq-item.open .icon-plus  { display: none; }
 
/* ── Contenu dépliable ── */
.faq-reponse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}
 
.faq-item.open .faq-reponse {
    grid-template-rows: 1fr;
}
 
.faq-reponse-inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 0;
    transition: padding-bottom 0.35s ease;
}
 
.faq-item.open .faq-reponse-inner {
    padding-bottom: 24px;
}
 
.faq-reponse-inner p {
  line-height: 1.1;
}

.faq-question h3 {
  margin-bottom: 0px;
  padding-bottom:0px;
}
 
/* ── Responsive ── */
@media (max-width: 768px) {
    .faq-wrapper {
        flex-direction: column;
        gap: 36px;
    }
    .faq-titre {
        flex: none;
    }
}

/* =============================================
   TPL FAQ
   ============================================= */

.faq-bloc-question {
  border: solid 0.2px #24376566;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 20px;
  margin-bottom: 17px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.faq-bloc-question:hover {
  transform: translateY(-2px);
  box-shadow: 5px 6px 5px #243765a1;
}

.faq-bloc-question-span {
  font-size: 20px;
  font-weight: 500;
}

.faq-bloc-question p {
  font-weight:400;
}

.retour-sommaire-faq {
  display: block;
  margin-top:30px;
  color:var(--navy);
}

.retour-sommaire-faq:hover {
  text-decoration: underline;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .enjeux-cards {
        flex-wrap: wrap;
    }
    .enjeux-card {
        flex: 0 0 calc(50% - 12px);
    }
    .methodes-colonnes {
        flex-direction: column;
        gap: 40px;
    }
    .pourquoi-cards {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    #faq {
      padding: 40px 0 40px;
    }

    .enjeux-card {
        flex: 0 0 100%;
    }
    .prestation-item {
        flex: 0 0 100%;
        padding: 15px 15px;
        border-left: none !important;
    }

    .prestation-ligne {
      width: 20px;
    }

    .prestation-item:nth-child(even) {
      padding-left:15px;
    }

    .devis-audit-inner {
        flex-direction: column;
    }
    .devis-audit-img {
        flex: none;
        height: 220px;
    }
    .devis-audit-content {
        padding: 40px 30px;
    }
}


/*------------------------------*/
/*  Bloc badges eco-conception  */
/*------------------------------*/

.eco-badges-section {
  padding: 40px;
  /* background: linear-gradient(135deg, #f4fbf7 0%, #f7f7fb 100%); */
}

.eco-badges-section,
.eco-badges-section * {
  box-sizing: border-box;
}

.eco-badges-label {
  text-align: center;
  margin-bottom: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #123;
}

.eco-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.eco-badge {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  color: #122033;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.eco-badge::before {
  content: "";
  display: block;
  width: 48px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #a5b3ee;
}

.eco-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(0,0,0,.12);
}

.eco-badge strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.eco-badge span {
  display: block;
  margin: 8px 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
}

.eco-badge small {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  opacity: .7;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .eco-badges-section {
    padding: 30px 15px;
  }

  .eco-badges-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 100%;
  }

  .eco-badge {
    padding: 18px 12px;
    width: 100%;
  }

  .eco-badge span {
    font-size: 22px;
  }

  .eco-badge small {
    font-size: 12px;
  }

  .eco-badge:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .eco-badges-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .eco-badge:hover {
    transform: none;
  }
}

#footer-eco-badges {
  clear: both;
}

.eco-badge {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eco-badge strong {
  min-height: 22px;
}

.eco-badge span {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-badge small {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-badge-image-wrap {
  margin: 8px 0;
}

.eco-badge-image-wrap img {
  display: block;
	width: 200px;
	margin: -10px;
  height: auto;
  filter: none;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,.7);
    padding: 60px 0 0 0;

    display: flow-root;
}
.footer-top {
  display: grid;
  /* grid-template-columns: 220px 1fr; */
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .nav-logo {
  margin-bottom: 20px;
  margin-right: 0;
}
.footer-brand .nav-logo .logo-text { color: var(--white); }
.footer-brand .nav-logo .logo-icon { border-color: rgba(255,255,255,.4); }
.footer-brand .nav-logo .logo-icon::before { border-color: rgba(255,255,255,.4); }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.footer-col ul {
  padding-left: inherit;
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  height:35px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 13px;
  color: white;
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-col ul li a:hover { color: var(--hover-text); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom a, .footer-bottom span {
  font-size: 12px;
  color: white;
  transition: color var(--transition);
}
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-bottom .sep {     
    color: white;
    font-size: 30px;
    line-height: 1;
    vertical-align: middle; 
}

.logo-ispira-footer {
  margin-top:5px;
  height:55px;
}

.logo-ispira-footer img {
    transform: scale(1.0);
    transition: 300ms ease;
}

.logo-ispira-footer img:hover {
  transform: scale(1.1);
  transition: 300ms ease;
}



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

@media (min-width: 1200px) {
  .mobile-mega {
    display: none;
  }

  .metiers-arrow {
    display: none;
  }

  .btn-contact-nav:hover {
    /* background: inherit; */
    /* color: var(--white) !important; */
    transform: scale(1.1);
    transition: 300ms ease;
}

.hero-cities li:hover::before {
  width: 40px;
  background: var(--green);
}



}

@media (max-width: 1200px) {

  #tpl-page-header {
    margin-top: 100px;
  }

  .hero-cities li::before {
    width: 20px;  
  }

  #home {
    margin-top:85px;
  }

  /* ---- Existant intact ---- */
  .nav-links li:not(:last-child) a {
    height: auto;
  }

  .card-label span {
    font-size: 27px;
  }

  .card-label {
    gap: 20px !important;
    right: 30px;
  }

  .hero-circular-cta span {
    font-size: 8.5px;
  }

  .hero-circular-cta {
    gap: 10px;
  }

  .nav-toggle { display: flex; align-items: center; }

  .nav-links, .btn-contact-nav { display: none; }

  .navbar {
    background-color: var(--navy);
    backdrop-filter: inherit;
  }

  .nav-links a {
    height: auto;
  }

  .navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    /* top: 85px; */
    top: 90px;
    left: 0;
    right: 0;
    background: var(--navy);
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding-left: 0px;
    height: calc(100vh - 85px);
    overflow-y: auto;
    align-items: flex-start;
    padding-bottom: 40px;
  }

  .navbar.open .btn-contact-nav {
    display: flex;
    /* margin: 20px 24px 0 !important; */
    /* width: calc(100% - 48px) !important; */
    /* text-align: center; */
    justify-content: center;
    padding: 14px 20px !important;
    background-color: inherit;
    color: white !important;
    border-radius: inherit;
  }

  /* ---- Liens du menu mobile ---- */
  .nav-links li {
    width: 100%;
    height: auto;
  }

  .nav-links li a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 24px !important;
    font-size: 16px;
    color: white !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    justify-content: flex-start;
    gap:10px;
  }

  .nav-links > :not(:last-child) > a::after {
    display: none;
  }

  /* ---- Cacher le mega menu desktop ---- */
  .mega-menu {
    display: none !important;
  }

  /* ---- Flèche sur "Métiers" ---- */
/*   .has-mega > a {
    justify-content: space-between !important;
  } */

  .has-simple-drop > a:first-of-type, #drop-nav-implantations a, #drop-nav-realisations a, #drop-nav-actualites a, .btn-contact-nav, #metiers-nav > a:first-of-type {
      height: 67px !important;
  }

#navLinks > li > a:first-of-type {
    display: flex;
    justify-content: center;
}

  .metiers-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
    font-style: normal;
    /* margin-left: auto; */
  }

  .has-mega.mob-open > a .metiers-arrow {
    transform: rotate(90deg);
  }

  /* ---- Wrapper du menu mobile Métiers ---- */
  .mobile-mega {
    display: none;
    background: rgba(255,255,255,0.05);
    width: 100%;
  }

  .has-mega.mob-open .mobile-mega {
    display: block;
  }

  /* ---- Catégories ---- */
  .mob-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px 13px 32px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 600;
    font-family: "Roboto";
    transition: background 0.18s;
    user-select: none;
  }

  .mob-cat.open {
    color: white;
    background: rgba(255,255,255,0.07);
    border-left: 3px solid var(--green);
  }

  .mob-cat-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--pink);
    opacity: 0.7;
  }

  .mob-cat-icon svg {
    width: 100%;
    height: 100%;
  }

  .mob-cat-label {
    flex: 1;
  }

  .mob-cat-chevron {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.4);
    transition: transform 0.22s ease;
    flex-shrink: 0;
  }

  .mob-cat.open .mob-cat-chevron {
    transform: rotate(90deg);
    color: var(--green);
  }

  /* ---- Panel sous la catégorie ---- */
  .mob-panel {
    display: none;
    background: rgba(0,0,0,0.2);
    padding: 16px 24px 16px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    animation: mobFadeIn 0.2s ease;
  }

  .mob-panel.open {
    display: block;
  }

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

  .mob-section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pink);
    margin: 0 0 10px;
    padding: 0;
  }

  .mob-section + .mob-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .mob-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .mob-items li a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.75) !important;
    padding: 7px 0 !important;
    border-bottom: none !important;
    display: block;
    width: 100%;
    transition: color 0.18s;
  }

  .mob-items li a:hover {
    color: white !important;
  }

  .mob-items li a::before {
    content: '— ';
    color: rgba(255,255,255,0.25);
    font-size: 11px;
  }
}
   
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .cards-grid { grid-template-rows: repeat(3, 180px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {

  .nav-toggle-icon {
    margin-top: 5px !important;
  }

  .nav-toggle span {
    margin-top : 0px !important
  }

  .navbar .container {
    align-items: flex-start !important;
  }

  .section-intro-tpl .section-intro-container {
    padding-top: 50px;
  }

  #tpl-page-header {
    background-size:auto;
  }

  .btn-hero-page {
    width:auto;
  }

       .section-intro-tpl .intro-body {
        grid-template-columns: 1fr;
    }

    .section-intro-tpl .intro-body .intro-photos {
        order: 2;
    }

    .section-intro-tpl .intro-body .intro-text {
        order: 1;
    }

  #tpl-page-header {
    overflow: initial;
  }

  .hero-content {
    max-width: 560px;
    padding: 30px 0;
  }

.hero-cities {
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* align-items: flex-end; */
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 0 40px 0;
    position: relative;
    flex-direction: row;
    bottom: 0;
    right: 0;
    /* width: 250px; */
}

.hero-cities li {
    font-size: 12px;
}

  .footer-bottom {
    gap:10px;
  }

  .container { padding: 0 12px; }

  /* Nav mobile */

  /* Hero */
  .hero { height: auto; min-height: 500px; max-height: none; }
  .hero-inner .container { flex-direction: column; gap: 0; }
  /* .hero-cities { display: none; } */
  .hero-content { max-width: 100%; }
  .hero-circular-cta {    
    width: 100px;
    height: 100px;
    bottom: 16px;
    left: 16px; 
  }
  .hero-circular-cta span { font-size: 9.5px; }

  /* Intro */
  .intro-header { grid-template-columns: 1fr; }
  .intro-dots { display: none; }
  .intro-body { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { display:inherit; }

  /* Cards */

  .cards-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  /* Réinitialise le span de card-item-4 pour qu'elle soit identique aux autres */
  .card-item-4 {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Hauteur fixe identique pour toutes les cartes */
  .card-item,
  .card-item-4 {
    height: 160px;
  }

  .card-item:first-child { grid-row: span 1; }

  /* Certifs */
  .certifs-grid { grid-template-columns: 1fr; }
  .certif-panel:first-child { border-right: none; border-bottom: 2px solid var(--gray-light); }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .card-item:first-child { grid-column: span 1; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 40px; }
}
