/* ========================================================
   GLOBAL STYLESHEET — DE KONINCK TP
   ======================================================== */

/* ---------- 1. Variables de thème ---------- */
/* ============================================
   Effet bandeau léger derrière chaque titre h2
   ============================================ */

/* 0. Fontes & variables — toujours en tout début */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Lato:wght@400;600;700&display=swap');

:root {
  --clr-red:          #d2222a;
  --clr-dark:         #1a1a1a;
  --clr-grey:         #333;
  --clr-white:        #fff;
  --clr-accent-grey:  #a6a6a6;

  --font-heading: "Montserrat", sans-serif;
  --font-body:    "Lato",      sans-serif;
}


h2 {
  position: relative;
  display: inline-block;         /* pour que le pseudo-élément suive la largeur du texte */
  padding-bottom: 0.5rem;        /* espace pour l’underline et le bandeau */
  margin-bottom: 1.5rem;         /* espace sous le titre */
}

h2::before {
  content: "";
  position: absolute;
  bottom: -0.2rem;               /* juste sous le texte */
  left: -0.5rem;                 /* déborde un peu à gauche */
  width: calc(100% + 1rem);      /* déborde un peu à droite */
  height: 0.5rem;                /* épaisseur du bandeau */
  background: rgba(210, 34, 42, 0.1); /* rouge très transparent */
  z-index: -1;                   /* derrière le texte */
  transform: skewX(-5deg);        /* léger effet en diagonale */
}

/* ============================================
   Petit soulignement rouge animé au hover
   ============================================ */
h2::after {
  content: "";
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  width: 100px;                   /* longueur initiale */
  height: 4px;
  background: var(--clr-red);
  border-radius: 2px;
  transition: width 0.3s ease;
}

h2:hover::after {
  width: 15%;
}




html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family:  var(--font-body);
  color: var(--clr-dark);
  background: var(--clr-white);
}
/* ---------- 2. Base ---------- */

h2,h3 { font-family: var(--font-heading); }
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* ---------- top bar ---------- */
.top-bar{
  position: relative;
  height: 40px;
  background: var(--clr-grey);
}
/* 2. Style du bouton discret */
.top-bar__cta {
  position: absolute;
  top: 50%;
  right: 1.12rem;               /* écarte du bord droit */
  transform: translateY(-50%);
  font-size: 0.8rem;        /* petit texte */
  font-weight: 600;
  color: var(--clr-white);
  background: rgba(255,255,255,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* 3. Animation au hover */
.top-bar__cta:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.1);
}

/* ---------- 3. Header ---------- */
.dk-header {
  position: sticky;  /* ← le point clé  */
  top: 0;          /* colle dès que le scroll ≥ 25 px                          */
  left: 0;
  right: 0;
  z-index: 2000;     /* reste au-dessus du contenu                               */

  /*  — tout le reste de vos règles conservé —  */
  justify-content: space-between;
  display:flex;
  align-items:center;
  background:var(--clr-white);
  border-bottom:1px solid rgba(0,0,0,.06);
  min-height:60px;
  padding:0 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.08); /* léger relief */
}
/* État « sticky » activé par JS */
.dk-header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* facultatif : ombre pour le détacher */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo img {
  position: relative;
  height: 90px;
  left: 25%;
  flex: 0 0 auto;      /* logo ne grossit pas */
  margin: 0 auto;      /* centre horizontalement si les menus sont plus petits */
}
.nav-group.nav-left {
  margin-right: auto;   /* pousse le menu gauche vers la gauche */
}

.nav-group.nav-right {
  margin-left: auto;
  left: 10%;  /* pousse le menu droit vers la droite */
}

.nav-group {
  flex: 1;
  display: flex;
  align-items: center;
}
.nav-group ul {
  list-style: none;
  display: flex;
  gap: 4rem;
  justify-content: center;
  width: 100%;
}
.nav-group a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-weight: 700;
   font-size: 1.4rem;            /* taille du texte plus grande */
  color: var(--clr-dark);
  text-decoration: none;
  transition: 0.3s;
  left: 25%;
}
.nav-group a:hover {
  transform: scale(1.25);
}
.nav-group a::before {
  content: "";
  position: absolute;
  width: 0px;
  height: 4px;
  bottom: 0;
  left: 50%;
  background-color: #A6A6A6;
  transition: all 0.4s;
}
.nav-group a:hover::before {
  width: 100%;
  left: 0;
}

.scrolled .dk-header {
  padding: 0 .5rem;
  min-height: 60px;
}

/* ---------- 4. Search bloc ---------- */
/* -----------------------------------------------------------------
   BOUTON « Contact » (ex-Recherche) – version améliorée
   ----------------------------------------------------------------- */
.search {
  background: var(--clr-red); 
  color: var(--clr-dark);     /* on garde le rouge d’accent */
  flex: 0 5 110px;                 /* largeur mini, mais extensible au besoin */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* esthétique */
  color: var(--clr-white);

  box-shadow: 0 2px 6px rgba(0,0,0,.15);

  /* élimine les 1 px parasites haut/bas que tu corrigeais avec margin -1 px */
  padding: 1rem 0;
}

.search-btn {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;

    text-decoration: none;
  /* étirer le bouton pour cliquer partout */
  width: 100%;
  height: 100%;

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

  transition: filter .25s ease, transform .25s ease;
}
.search-icon {
  width: 30px;                    
}

.search-btn svg {
  width: 36px;                    /* un peu plus grand pour l’accessibilité */
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.search-label {
  color: var(--clr-dark);
  margin-top: 8px;
  font-size: 0.8rem;              /* + lisible */
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* Effet hover : éclaircir + légère élévation */
.search-btn:hover,
.search-btn:focus-visible {
  filter: brightness(1.15);
  transform: translateY(-4px);
  outline: none;                  /* on enlève le contour bleu par défaut */
}

/* ---------------------------------------------------------------
   Responsive : sur téléphone, on rétrécit un peu pour gagner de l’espace
---------------------------------------------------------------- */
@media (max-width: 576px) {
  .search {
    flex: 0 0 90px;
  }
  .search-label {
    font-size: 0.7rem;
  }
}


/* ---------- 5. Responsive ---------- */
@media (max-width: 992px) {
  .nav-group ul {
    gap: 1.2rem;
  }
}
@media (max-width: 768px) {
  .nav-group {
    display: none;
  }

}



.hero-content {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

.hero-content h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* ── SECTION “Centrale à béton” ───────────────────────────────── */
/* ── CARTE “Centrale à béton” ───────────────────────────────── */
.beton-info__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 2.5rem 0;
  background: #fff;
}

/* effet “halo lumineux” sous forme de gradient oblique */
.beton-info__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 160%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(221, 46, 46, 0.075), transparent 50%);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 1;
}

/* COLONNE IMAGE */
.beton-info__media {
  position: relative;
  overflow: hidden;
}
.beton-info__media::after {
  /* overlay sombre pour lisibilité */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(0,0,0,0.4), transparent);
  z-index: 2;
}
.beton-info__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  transform: scale(1.1);
  z-index: 1;
}
.beton-info__card:hover .beton-info__media img {
  transform: scale(1);
}

/* COLONNE TEXTE */
.beton-info__body {
  position: relative;
  z-index: 3;
  padding: 1.5rem;
  background: rgba(255,255,255,0.9);
}
.beton-info__body h1 {
  font-size: 2.5rem;
  color: var(--clr-main);
  margin-bottom: 0.75rem;
}
.beton-info__body p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
  color: #333;
}

/* BOUTON “En savoir plus” */
.btn-cta--secondary {
  background: transparent;
  color: var(--clr-main);
  border: 2px solid var(--clr-main);
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .3s, color .3s;
}
.btn-cta--secondary:hover {
  background: var(--clr-main);
  color: #fff;
}

/* ── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .beton-info__card {
    display: block;
  }
  .beton-info__media {
    height: 200px;
  }
  .beton-info__body {
    margin-top: -4rem;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 1rem;
  }
}



.btn-cta--secondary {
  background: #fff;
  color: var(--clr-main);
  border: 2px solid var(--clr-main);
}

.btn-cta--secondary:hover {
  background: var(--clr-main);
  color: #0f0f0f;
}


/* 2) Wrapper en hauteur responsive */
/* ====== HERO =================================================== */


/* ========= HERO commun ========================================= */
.hero{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  height:86vh;             /* valeur par défaut */
  min-height:400px;
}

/* --- Vidéo ------------------------------------------------------ */
.bg-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index: 0;               /* au fond du fond */
}

/* --- Dégradé de lisibilité ------------------------------------- */

/* --- Texte ------------------------------------------------------ */
.hero-content{
  position:relative;        /* crée un contexte  */
  z-index: 1;               /* passe devant overlay & vidéo */
  text-align:center;
  padding:0 1rem;
  animation:fade-in-up .8s ease-out both;
  margin-top: -15rem;
  text-shadow:0 4px 16px rgba(0,0,0,.45);
}
.hero-content h1{
  font:800 clamp(1.8rem,4vw,3.6rem)/1.15 "Montserrat",sans-serif;
  color:#fff;
  text-shadow:0 4px 16px rgba(0,0,0,.45);
}
.hero-content .accent{ color:var(--clr-red); }

/* petite anim */
@keyframes fade-in-up{
  from{opacity:0;transform:translateY(25px);}
  to  {opacity:1;transform:translateY(0);}
}





.page-qui  .hero { background-image: url("/img/qui.JPG");
  background-size: cover;           /* rempli le bloc sans déformer */
  background-position: center 80%;  /* haut de l’image centré */
  background-repeat: no-repeat; }
.page-qui .hero h1 {
  margin-top: -15rem;
  margin-right: 55rem;
  color: var(--clr-white);
  font-size: clamp(3rem, 7vw, 4rem);
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(0,0,0,.4);
}

.page-travaux-publics  .hero { background-image: url("/img/tp.jpg");
  background-size: cover;           /* rempli le bloc sans déformer */
  background-position: center 50%;  /* haut de l’image centré */
  background-repeat: no-repeat; }F

.page-travaux-publics .hero h1 {
      margin-top: -10rem;
      margin-right: -2rem;
      color: var(--clr-white);
      font-size: clamp(3rem, 7vw, 4rem);
      font-family: var(--font-heading);
      letter-spacing: 0.03em;
      font-weight: 700;
      text-shadow: 0 3px 8px rgba(0,0,0,.4);

}

.page-transport .hero { background-image: url("/img/transport.JPG");
  background-size: cover;           /* rempli le bloc sans déformer */
  background-position: center 50%;  /* haut de l’image centré */
  background-repeat: no-repeat; }

.page-transport .hero h1 {
  margin-top: -10rem;
  margin-right: 0rem;
  color: var(--clr-white);
  font-size: clamp(3rem, 7vw, 4rem);
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(0,0,0,.4);
}

.page-beton .hero { background-image: url("/img/beton.JPG");
  background-size: cover;           /* rempli le bloc sans déformer */
  background-position: center 50%;  /* haut de l’image centré */
  background-repeat: no-repeat; }

.page-beton .hero h1 {
  margin-top: -15rem;
  margin-right: 45rem;
  color: var(--clr-white);
  font-size: clamp(3rem, 7vw, 4rem);
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(0,0,0,.4);
}


.page-carriere .hero { background-image: url("/img/depot.JPG");
    height: 40vh;    
  background-size: cover;           /* rempli le bloc sans déformer */
  background-position: center 50%;  /* haut de l’image centré */
  background-repeat: no-repeat; }

.page-carriere .hero h1 {
  margin-top: -0rem;
  margin-right: 55rem;
  color: var(--clr-white);
  font-size: clamp(3rem, 7vw, 4rem);
  letter-spacing: 0.03em;
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(0,0,0,.4);
}


/* =========================================
   MENU HAMBURGER — VERSION FINALE
========================================= */

/* cache la nav desktop en mobile */
@media (max-width:992px){
  .nav-group{display:none!important;}
}

/* bouton burger */
.burger {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  z-index: 1101;
  width: 26px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: none;
  background: none;
  cursor: pointer;
}

.burger span{height:2px;background:var(--clr-dark);transition:.35s;}
/* croix */
.menu-open .burger {
  display: none;
}
.side-logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.side-logo img {
  height: 40px; /* ajuste à ta convenance */
}
/* panneau */
.side-menu{
  position:fixed;top: 0px;left:0;width:300px;height:100vh;overflow-y:auto;
  background:var(--clr-dark);color:#fff;padding: 7.5em 1.75rem 2rem;
  transform:translateX(-100%);transition:transform .35s ease;z-index:2100;
}
.menu-open .side-menu{transform:translateX(0);}
.side-close{
  position:absolute;top:1.25rem;right:1.25rem;border:0;background:none;
  font-size:2rem;color:#fff;cursor:pointer;line-height:1;
}
.side-menu ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1.5rem;}
.side-menu a{color:#fff;text-decoration:none;font-weight:600;font-size:1.1rem;}
.side-menu a:hover{color:var(--clr-red);}

/* voile */
.backdrop{
  position:fixed;inset:0;background:rgba(0,0,0,.55);opacity:0;pointer-events:none;
  transition:opacity .35s ease;z-index:2099;
}
.menu-open .backdrop{opacity:1;pointer-events:auto;}

/* empêche le scroll du body pendant menu ouvert */
.menu-open{overflow:hidden;}


/*bouton emplois------------------------------------------------------------------------*/


@import url('https://fonts.googleapis.com/css?family=Poppins:900i');

/* 1. Conteneur du bouton */
.wrapper {
  display: flex;
  justify-content: center;
}

/* 2. Bouton principal */
.cta {
  display: flex;
  padding: 10px 45px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 24px;
  color: white;
  background: #333;
  transition: 1s;
  box-shadow: 6px 6px 0 black;
  transform: skewX(-15deg);
  align-items: center;
}

/* 3. État focus */
.cta:focus {
  outline: none;
}

/* 4. Hover : ombre + effet flèche */
.cta:hover {
  transition: 0.5s;
  box-shadow: 10px 10px 0 #d2222a;
}

/* 5. Textes internes */
.cta span {
  transform: skewX(15deg);
}

/* 6. Flèche SVG */
.cta span:last-child {
  width: 20px;
  margin-left: 30px;
  position: relative;
  top: 12%;
  transition: 0.5s;
}
.cta:hover span:last-child {
  margin-right: 45px;
}

/************** SVG PATHS **************/
.cta path.one {
  transition: 0.4s;
  transform: translateX(-60%);
}
.cta path.two {
  transition: 0.5s;
  transform: translateX(-30%);
}
.cta:hover path.three {
  animation: color_anim 1s infinite 0.2s;
}
.cta:hover path.one {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.6s;
}
.cta:hover path.two {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.4s;
}

/************** SVG animation **************/
@keyframes color_anim {
  0%   { fill: white; }
  50%  { fill: #d2222a; }
  100% { fill: white; }
}

/*bouton emplois------------------------------------------------------------------------*/




/* FOOTER */

/* logo dans le footer */
.footer-logo img {
  max-height: 60px;
  width: auto;
  margin-bottom: 1rem;
  /* plus de filter ! */
}


.site-footer {
  background: var(--clr-dark);
  color: var(--clr-white);
  padding: 3rem 1rem 1rem;
  font-family: "Lato", sans-serif;
}
/* … autres règles … */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 2rem;
  text-align: left;
}
.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col p,
.footer-col ul {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0.25rem 0;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a {
  color: var(--clr-white);
  text-decoration: none;
  transition: opacity .25s;
}
.footer-col ul li a:hover {
  opacity: 0.7;
}
.socials a {
  display: inline-block;
  margin-right: 0.75rem;
}
.socials img {
  width: 24px;
  opacity: 0.8;
  transition: opacity .25s;
}
.socials img:hover {
  opacity: 1;
}
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
}



/* === Bloc “Chantiers en cours” =================================== */


.home-chantiers { padding: 4rem 1rem; text-align: center; }
.section-title  { font: 700 2rem/1 var(--font-heading); letter-spacing: .5px; }

.card-list {
  --card-w: 340px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-w), 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  list-style: none;
  padding: 0;
}

.card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,.16);
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-4px); }

.card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.card-img   { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(70%); transition: transform .4s ease; }
.card:hover .card-img { transform: scale(1.06); }

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: #fff;
}
.card-meta   { font: 600 .75rem/1 var(--font-heading); text-transform: uppercase; opacity: .9; }
.card-title  { font: 700 1.4rem/1.2 var(--font-heading); margin: .4rem 0 0; }

.cta-wrapper   { margin: 0; }
.btn-see-more  {
  display: inline-flex; align-items: center; gap: .4rem;
  font: 700 .95rem/1 var(--font-heading);
  color: var(--clr-red); text-decoration: none;
  transition: opacity .25s;
}
.btn-see-more:hover { opacity: .75; }










/* quisommes nous */
.chiffres-cles {
  padding: 4rem 1rem;
  background: #f9f9f9;
  text-align: center;
  font-family: var(--font-heading);
}
.chiffres-cles .container {
  max-width: 1200px;
  margin: 0 auto;
}
.chiffres-cles h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--clr-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 colonnes fixes */
  gap: 2rem;
}
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
.stat {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-red);
}
.stat-label {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--clr-grey);
}




/* === Section “Nos services” === */
.services {
  padding: 4rem 1rem;
  background: #f7f7f7;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--clr-dark);
}

/* ---- 1) On fixe 3 colonnes pour large écrans ---- */
.services-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  /* Par défaut (desktop), 3 colonnes de largeur égale */
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  justify-content: center;    /* centre les cartes si moins de 3 sur une rangée */
}

/* ---- 2) Responsive : sur mobile, on bascule en 1 ou 2 colonnes ---- */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- 3) Styles des cartes ---- */
.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1rem;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: default;
  /* Pour forcer la même taille minimale (facultatif) */
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
    text-decoration: none;
}

.service-card img {
  width: 60px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--clr-red);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--clr-grey);
  line-height: 1.4;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}




/* ==== Pourquoi nous choisir =================================== */
.why-us        { background:#fff; padding:4rem 1rem; }
.why-title     {   font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 1rem;}
.why-title::after{content:"";display:block;width:60px;height:4px;background:var(--clr-red);
                  margin:.6rem auto 0;border-radius:2px;}

.why-grid      { display:grid; gap:2rem;
                 grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
                 max-width:1100px; margin:auto; }

.why-card      { background:#f7f7f7; border-radius:12px; padding:2.2rem 1.5rem;
                 text-align:center; box-shadow:0 6px 18px rgba(0,0,0,.06);
                 transition:transform .35s ease, box-shadow .35s ease;
                 opacity:0; transform:translateY(40px); }     /* anim. départ */
.why-card.appear{ opacity:1; transform:none; }                 /* anim. arrivée */
.why-card:hover{ transform:translateY(-6px) scale(1.02);
                 box-shadow:0 12px 28px rgba(0,0,0,.10); }

.why-icon      { width:80px; height:80px; margin:0 auto 1rem; border-radius:50%;
                 display:flex; align-items:center; justify-content:center;
                 background:linear-gradient(145deg,#e92b34 0%,#ba1920 100%);
                 box-shadow:0 4px 10px rgba(0,0,0,.15); }
.why-icon img  { width:40px; height:40px; filter:invert(1); }  /* icônes blanches */

/* Titres & textes */
.why-card h3   { font:600 1.15rem "Poppins",sans-serif; color:var(--clr-dark); margin-bottom:.5rem; }
.why-card p    { font:.95rem/1.5 "Lato",sans-serif; color:var(--clr-grey); }

/* ----- Animation d’apparition au scroll (JS) ------------------ */
@keyframes fadeUp {0%{opacity:0;transform:translateY(40px);}100%{opacity:1;transform:none;}}
.why-card.appear{animation:fadeUp .7s cubic-bezier(.25,.8,.25,1) forwards;}




/* ==========================================
   Styles pour la section “Qui sommes-nous ?” (intro)
   ========================================== */

/* Conteneur général de l’intro */
.intro-qui {
  position: relative;    /* <-- indispensable pour que ::before s’attache ici */
  overflow: hidden;      /* masque bien le débordement de l’ombre */
  isolation: isolate;    /* isole le stacking-context pour les mix-blend, si tu en utilises */
  background: #fff;
  padding: 4rem 1rem;
}


/* Halo diffus animé (pseudo-avant) */
.intro-qui::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(210,34,42,.05) 0%, rgba(210,34,42,.15) 60%, transparent 80%);
  transform: skewY(-3deg);
  transform-origin: top left;
  z-index: -1;
}

/* Bande diagonale subtile (pseudo-après) */


/* Animation du voile */
@keyframes veilMove {
  0%   { transform: translate(-6%,-4%) scale(1); }
  50%  { transform: translate(5%,4%)   scale(1.15); }
  100% { transform: translate(12%,-2%) scale(1.28); }
}

.intro-qui .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Flex container pour aligner texte & logo */
.intro-qui-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;       /* Passe en colonne sur mobile */
}

/* Bloc texte (titre + description) */
.intro-qui-text {
  flex: 1 1 500px;       /* Peut rétrécir à 500px min et s’agrandir */
  max-width: 700px;      /* Ne dépassera pas 700px de large */
}

.intro-qui-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 1rem;
}

.intro-qui-text p {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-grey);
}

/* Bloc logo / visuel */
.intro-qui-logo {
  position: relative;   
  flex: 0 1 250px;       /* Largeur fixe de 250px, peut rétrécir */
  text-align: center;
}


.intro-qui-logo img {
  
  max-width: 125%;
  height: auto;
  display: inline-block;
  /* Si tu as besoin d’inverser le logo sur fond sombre, décommente : */
  /* filter: brightness(0) invert(1); */
}

.intro-qui-logo::after {
  content: "";
  position: absolute;
  inset: -1rem;           /* laisse un halo autour du logo */
  border-radius: 50%;     /* cercle doux */
  background: radial-gradient(
    circle at center,
    rgba(210,34,42,.25) 0%,
    transparent 60%
  );
  filter: blur(40px);
  z-index: -1;
}

/* Responsive – sur petits écrans, on passe en colonne verticale */
@media (max-width: 768px) {
  .intro-qui-content {
    flex-direction: column;  /* Texte au-dessus, logo en-dessous */
    text-align: center;
  }
  .intro-qui-text {
    max-width: 100%;
  }
  .intro-qui-logo {
    margin-top: 2rem;
  }
}

/* ==========================================
   Styles pour la section “Notre histoire”
   ========================================== */
.presentation .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;     /* Ajuste si tu veux plus ou moins d’espace */
}

.presentation h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--clr-dark);
  margin-bottom: 1rem;
}

.presentation p {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-grey);
  margin-bottom: 1rem;
}

/* ==========================================
   Styles pour la section “Nos chiffres clés”
   ========================================== */
.chiffres-cles {
  background: #f9f9f9;
  padding: 4rem 1rem;
  text-align: center;
}

.chiffres-cles h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--clr-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-red);
}

.stat-label {
  margin-top: 0.5rem;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: var(--clr-grey);
}

/* ==========================================
   Styles pour la section “Pourquoi nous choisir ?”
   ========================================== */
.pourquoi-nous {
  background: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.pourquoi-nous h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--clr-dark);
}

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.point-icon {
  font-size: 2rem;
  color: var(--clr-red);
  flex-shrink: 0;
}

.point h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-dark);
}

.point p {
  margin: 0.25rem 0 0;
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: var(--clr-grey);
  line-height: 1.4;
}

/* ==========================================
   Styles pour la section “Zones d’intervention”
   ========================================== */
/* === Section “Zones d’intervention” plus attractive === */
.attractive-section {
  background: #f7f7f7;       /* fond légèrement gris */
  padding: 4rem 1rem;
}
.attractive-section .section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--clr-dark);
}

/* Deux colonnes : carte à gauche, liste à droite */
.zones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
/* Sur mobile, une seule colonne */
@media (max-width: 768px) {
  .zones-grid {
    grid-template-columns: 1fr;
  }
}

/* Carte stylisée en “card” */
.zones-map-card {
  background: #202020;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: fadeInUp 0.6s ease both;
}
.zones-map-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Liste des départements avec icônes */
.zones-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem 2rem;
}
.zones-list li {
  position: relative;
  padding-left: 1.8rem;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: var(--clr-dark);
  line-height: 1.4;
  animation: fadeInUp 0.6s ease both;
  animation-delay: calc(0.1s * var(--i));  /* var(--i) : délai par item */
}
/* Puce personnalisée */
.zones-list li::before {
  content: "📍";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* Note sous la grille */
.zone-note {
  text-align: center;
  margin-top: 2rem;
  font-family: "Lato", sans-serif;
  color: var(--clr-grey);
  font-size: 0.95rem;
  animation: fadeIn 0.6s ease both;
  animation-delay: 0.5s;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}








/* ---------- HERO ------------ */
.hero-travaux{
  height:50vh;display:flex;align-items:center;justify-content:center;
  background:url("/img/tp.jpg") center/cover;
  position:relative;isolation:isolate;
}
.hero-travaux::after{content:"";position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(0,0,0,.6),rgba(0,0,0,.2));}

.hero-title {
  position: relative;
  color: #fff;
  font: 1000 clamp(6.6rem, 18vw, 10.5rem);
  text-shadow: 0 3px 8px rgba(0,0,0,.4);
}

/* ---------- INTRO ------------ */
.tp-intro{background:#fff;padding:4rem 1rem;}
.tp-intro .container{max-width:1100px;margin:auto;display:flex;gap:3rem;}
.tp-text{flex:1;min-width:260px;}
.tp-text h2{  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--clr-dark);}
.tp-text p{font:1rem/1.6 Lato;color:var(--clr-grey);}
.tp-logo{flex:0 0 150px;align-self:center;position:relative;}
.tp-logo img{width:140px;height:auto;border-radius:8px;box-shadow:0 4px 10px rgba(0,0,0,.15);}
@media(max-width:768px){.tp-intro .container{flex-direction:column;text-align:center;}
  .tp-logo{margin:auto;}}

/* ---------- DOMAINES --------- */
.tp-activites{background:#f7f7f7;padding:4rem 1rem;text-align:center;}
.tp-activites h2{  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--clr-dark);}
.act-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;max-width:1000px;margin:auto;}
.act-card{background:#fff;border-radius:8px;padding:2rem 1.2rem;box-shadow:0 3px 10px rgba(0,0,0,.05);transition:.3s;}
.act-card:hover{transform:translateY(-6px);box-shadow:0 6px 20px rgba(0,0,0,.12);}
.act-card img{width:56px;margin-bottom:1rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1));}
.act-card h3{color:var(--clr-red);font:600 1.2rem ;margin-bottom:.5rem;}
.act-card p{font:.95rem/1.5 Lato;color:var(--clr-grey);}

/* ---------- MACHINES ---------- */
/* === Section “Nos machines phares” === */
.tp-machines {
  background: #fff;
  padding: 4rem 1rem;
}
.tp-machines .container {
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}
.tp-machines h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--clr-dark);
}

/* Carousel / track */
.machines-track {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

/* Hide scrollbar in Webkit */
.machines-track::-webkit-scrollbar { display: none; }
.machines-track { -ms-overflow-style:none; scrollbar-width:none; }

/* Chaque carte */
.machine-item {
  flex: 0 0 400px;               /* largeur fixe de chaque carte */
  background: #ebebeb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1rem;
  scroll-snap-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Zoom léger au hover */
.machine-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Image 100% largeur */
.machine-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Légende en dessous */
.machine-item figcaption {
  margin-top: 0.75rem;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-dark);
}

/* Responsive : sur écran étroit, réduire la largeur des cartes */
@media (max-width: 768px) {
  .machine-item {
    flex: 0 0 240px;
  }
}
@media (max-width: 576px) {
  .machine-item {
    flex: 0 0 200px;
  }
}


/* ---------- CA TABLE ---------- */
.tp-ca{background:#f7f7f7;padding:4rem 1rem;text-align:center;}
.tp-ca h2{font:700 2rem var(--font-heading);margin-bottom:2rem;}
.tp-ca table{margin:auto;border-collapse:collapse;font:1rem var(--font-body);}
.tp-ca th,.tp-ca td{padding:.75rem 1.5rem;border:1px solid #ddd;}
.tp-ca th{background:var(--clr-red);color:#fff;font-weight:600;}
.tp-ca tr:nth-child(even){background:#fafafa;}

/* ---------- Animations ---------- */
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:none;}}
.animate-fade-in-up{opacity:0;animation:fadeInUp .6s ease forwards;}


/* Espacements globaux */
.py-section { padding: 4rem 1rem; }
.bg-white { background: var(--clr-white); }
.bg-gray-50 { background: #f7f7f7; }

/* Grilles responsives */
@media (min-width: 768px) {
  .container.grid { display: grid; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2,1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4,1fr); }
}


/* ===== TRANSPORT ===== */


/* 0. Conteneur réutilisable
--------------------------------------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 1. Section INTRO Transport
--------------------------------------------------------------*/
.tr-intro {
  background: #fff;
  padding: 4rem 1rem;
}
.tr-intro .container {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;                  /* empile sur mobile */
}
.tr-text {
  flex: 1 1 340px;                  /* min 340, s’étend sinon */
}
.tr-text h2 {
  font: 700 2rem/1.3 "Montserrat", sans-serif;
  margin-bottom: 1rem;
  color: var(--clr-dark);
}
.tr-text p {
  font: 1rem/1.6 "Lato", sans-serif;
  color: var(--clr-grey);
  margin-bottom: 1rem;
}
.tr-text ul { list-style:none;padding:0;margin:0; }
.tr-text li { margin-bottom:.6rem;font:.95rem "Lato"; }

.tr-logo {
  flex: 0 0 220px;                 /* largeur fixe */
  text-align: center;
}
.tr-logo img {
  width: 100%;
  max-width: 220px;                /* limite maxi */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

/* Empile tout & centre sur écran < 768 px */
@media (max-width: 768px) {
  .tr-intro .container { text-align: center; }
  .tr-logo { margin: 2rem auto 0; }
}

/* 2. Grille flotte de camions
--------------------------------------------------------------*/
.tr-flotte {
  background: #f7f7f7;
  padding: 4rem 1rem;
  text-align: center;
}
.tr-flotte h2 {
  position: relative;
  display: inline-block;
  font: 700 2rem/1.3 "lato", sans-serif;
  margin-bottom: 2.5rem;
}
.tr-flotte h2::after {            /* petit trait rouge */
  content: "";
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--clr-red);
}

.tr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.flotte-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.25rem;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
  transition: .3s;
}
.flotte-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.flotte-card img {
  width: 64px;                     /* icône plus lisible */
  margin-bottom: 1rem;
}
.flotte-card h3   { color: var(--clr-red); font: 600 1.1rem "Montserrat"; }
.flotte-card p    { font: .9rem/1.45 "Lato"; color: var(--clr-grey); }

/* 3. CTA bande rouge
--------------------------------------------------------------*/
.tr-cta {
  position: relative;
  background: var(--clr-red);
  color: #fff;
  padding: 4rem 1rem;
  overflow: hidden;
}
.tr-cta::before {                 /* bande diagonale claire */
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: rgba(255,255,255,.1);
  transform: rotate(-3deg);
}
.cta-inner { position: relative; max-width: 900px; margin: auto; }
.cta-inner h2 { font: 700 2rem "Montserrat"; margin-bottom: 1rem; }
.btn-cta {
  display: inline-block;
  padding: .85rem 2.4rem;
  background: #fff;
  color: var(--clr-red);
  border-radius: 30px;
  font: 600 1rem "Montserrat";
  text-decoration: none;
  transition: .3s;
}
.btn-cta:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }

/* 4. Animation (si pas déjà présente en fin de fichier)
--------------------------------------------------------------*/
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp .7s ease forwards;
}




/* ===== HERO béton ===== */



/* ========================================================
   PAGE TRANSPORT — styles à placer en fin de style.css
   ======================================================== */

/* 1. Container générique (s’il n’existe pas déjà) */
.page-transport .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 2. Hero Transport */
.hero-transport {
  height: 55vh;
  background: url("/img/transport-hero.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-transport::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.6), rgba(0,0,0,.25));
}
.page-transport .hero-title {
  position: relative;
  color: #fff;
  text-shadow: 0 3px 8px rgba(0,0,0,.4);
  font: 700 clamp(2.4rem,6vw,3.6rem) var(--font-heading);
}

/* 3. Introduction (texte + logo) */
.tr-intro {
  background: #fff;
  padding: 4rem 1rem;
}
.tr-intro .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.tr-text {
  flex: 1 1 320px;
}
.tr-text h2 {
  font: 700 2rem/1.3 var(--font-heading);
  margin-bottom: 1rem;
  color: var(--clr-dark);
}
.tr-text p {
  font: 1rem/1.6 "Lato", sans-serif;
  color: var(--clr-grey);
  margin-bottom: 1rem;
}
.tr-text ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tr-text ul li {
  font: .95rem "Lato", sans-serif;
  color: var(--clr-dark);
  margin-bottom: .6rem;
  padding-left: 1.2rem;
  position: relative;
}
.tr-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--clr-red);
}
.tr-logo {
  flex: 0 0 200px;
  text-align: center;
}
.tr-logo img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
@media (max-width: 768px) {
  .tr-intro .container {
    flex-direction: column;
    text-align: center;
  }
  .tr-logo {
    margin-top: 2rem;
  }
}

/* 4. Flotte de camions */
.tr-flotte {
  background: #f7f7f7;
  padding: 4rem 1rem;
  text-align: center;
}
.tr-flotte h2 {
  position: relative;
  display: inline-block;
  font: 700 2rem/1.3 var(--font-heading);
  margin-bottom: 2.5rem;
  color: var(--clr-dark);
}
.tr-flotte h2::after {
  content:"";
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--clr-red);
  border-radius: 2px;
}

.tr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.flotte-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.2rem;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.flotte-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.flotte-card img {
  width: 56px;
  margin-bottom: 1rem;
}
.flotte-card h3 {
  color: var(--clr-red);
  font: 600 1.1rem var(--font-heading);
  margin-bottom: .4rem;
}
.flotte-card p {
  font: .9rem/1.5 "Lato", sans-serif;
  color: var(--clr-grey);
}

/* 5. CTA final */
.tr-cta {
  position: relative;
  background: var(--clr-red);
  color: #fff;
  padding: 4rem 1rem;
  overflow: hidden;
}
.tr-cta::before {
  content:"";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: rgba(255,255,255,.1);
  transform: rotate(-3deg);
}
.cta-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cta-inner h2 {
  font: 700 2rem/1.3 var(--font-heading);
  margin-bottom: 1rem;
}
.btn-cta {
  display: inline-block;
  padding: .9rem 2.4rem;
  background: #fff;
  color: var(--clr-red);
  font: 600 1rem/1 var(--font-heading);
  border-radius: 30px;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.btn-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}



/* ========================================================
   PAGE “Centrale à béton” (uniquement pour .page-beton)
   ======================================================== */

/* ==============================================================
   1. Section Intro Béton
   ============================================================== */

.page-beton .cb-intro {
  background: #fff;
  padding: 4rem 1rem;
}

/* Container flex, items centrés, gap fluide */
.page-beton .cb-intro .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: clamp(1.5rem, 5vw, 3rem);
}

/* Texte : prend tout l’espace restant, largeur maxi */
.page-beton .cb-text {
  flex: 1 1 0;
  max-width: 600px;
  text-align: left;
}

/* Logos : taille fixe max, ne grossissent pas */
.page-beton .cb-logo--green,
.page-beton .cb-logo {
  flex: 0 0 auto;
  text-align: center;
}

/* Logo vert (petit) */
.page-beton .cb-logo--green img {
  width: 100%;
  max-width: 120px;
  height: auto;
  transition: transform .3s ease, opacity .3s ease;
}
.page-beton .cb-logo--green img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Logo principal */
.page-beton .cb-logo img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ==============================================================
   2. Titres & paragraphes
   ============================================================== */

.page-beton .cb-text h2 {
  font: 700 2rem "Montserrat", sans-serif;
  margin-bottom: 1rem;
  color: var(--clr-dark);
}

.page-beton .cb-text p {
  font: 1rem/1.6 "Lato", sans-serif;
  color: var(--clr-grey);
}

/* ==============================================================
   3. Responsive
   ============================================================== */

@media (max-width: 1024px) {
  .page-beton .cb-intro .container {
    gap: clamp(1rem, 6vw, 2rem);
  }
}

@media (max-width: 768px) {
  .page-beton .cb-intro .container {
    flex-direction: column;
    text-align: center;
  }
  .page-beton .cb-text {
    max-width: none;
  }
  /* centre les logos et remonte légèrement le vert */
  .page-beton .cb-logo--green {
    order: -1;               /* vert en premier */
    margin-bottom: 1.5rem;
  }
  .page-beton .cb-logo {
    margin-top: 1.5rem;
  }
}


/* ==============================
   Section “Pourquoi cette centrale change tout ?”
   (pour .page-beton .cb-atouts)
   ============================== */
.page-beton .cb-atouts {
  background: #f7f7f7;
  padding: 4rem 1rem;
  text-align: center;
  overflow: hidden;
}

.page-beton .cb-atouts h2 {
  position: relative;
  display: inline-block;
  font: 700 2.5rem "Montserrat", sans-serif;
  margin-bottom: 3rem;
  color: var(--clr-dark);
  cursor: default;
}
.page-beton .cb-atouts h2::after {
  content: "";
  position: absolute;
  bottom: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--clr-red);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.page-beton .cb-atouts h2:hover::after {
  width: 120px;
}

/* on passe en flex pour plus de contrôle */
.page-beton .cb-atouts .atouts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* chaque “carte” */
.page-beton .cb-atouts .atout-card {
  background: #fff;
  flex: 1 1 220px;
  max-width: 260px;
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease forwards;
}

/* petit décalage entre les animations */
.page-beton .cb-atouts .atout-card:nth-child(1) { animation-delay: 0.2s; }
.page-beton .cb-atouts .atout-card:nth-child(2) { animation-delay: 0.4s; }
.page-beton .cb-atouts .atout-card:nth-child(3) { animation-delay: 0.6s; }
.page-beton .cb-atouts .atout-card:nth-child(4) { animation-delay: 0.8s; }

/* hover pour relever la carte */
.page-beton .cb-atouts .atout-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* icône bien calibrée au-dessus du titre */
.page-beton .cb-atouts .atout-card img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  transition: transform 0.4s ease;
}

/* léger zoom sur l’icône */
.page-beton .cb-atouts .atout-card:hover img {
  transform: scale(1.1);
}

.page-beton .cb-atouts .atout-card h3 {
  font: 600 1.2rem "Montserrat", sans-serif;
  margin-bottom: 0.75rem;
  color: var(--clr-red);
}

.page-beton .cb-atouts .atout-card p {
  font: .95rem/1.5 "Lato", sans-serif;
  color: var(--clr-grey);
  margin: 0;
}

/* remise à zéro des icônes qui débordent */
@media (max-width: 768px) {
  .page-beton .cb-atouts .atout-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* animation “fade in up” */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 3. Visuel / citation */
.page-beton .cb-visuel {
  position: relative;
  background: url("/img/vect_beton.png") no-repeat;
  background-size: cover ;         /* largeur personnalisée, hauteur auto */
  background-position: center 58%;      /* centre horizontalement, décale verticalement (30% = tu vois une "tranche" différente) */
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* tu peux ajuster background-size et background-position selon la "tranche" que tu veux afficher */
}
.page-beton .cb-visuel .overlay h2 {
  color: #fff;
  font: 700 clamp(3rem,8vw,2.4rem) "Montserrat", sans-serif;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  padding: 0 1rem;
}

/* 4. CTA final */
.page-beton .cb-cta {
  background: var(--clr-red);
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-beton .cb-cta .cta-inner h2 {
  font: 700 2rem "Montserrat", sans-serif;
  color: #fff;
  margin-bottom: 1rem;
}
.page-beton .cb-cta .btn-cta {
  display: inline-block;
  padding: .8rem 2rem;
  background: #fff;
  color: var(--clr-red);
  border-radius: 30px;
  text-decoration: none;
  font: 600 1rem "Montserrat", sans-serif;
  transition: transform .3s, box-shadow .3s;
}
.page-beton .cb-cta .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* 5. Réactivité */
@media (max-width: 768px) {
  .page-beton .cb-intro .container,
  .page-beton .cb-atouts .container {
    flex-direction: column;
    text-align: center;
  }
}




/* ===== Liste des dernières réalisations ===== */

/* ─── SLIDER ───────────────────────────────────────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 60vh;
  max-height: 400px;
  margin-bottom: 2rem;
}
.hero-slider .slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .6s ease;
}
.hero-slider .slide {
  min-width: 100%;
  position: relative;
}
.hero-slider .slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero-slider .slide-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: #fff;
  font-size: clamp(1.2rem,2vw,1.8rem);
  background: rgba(0,0,0,0.4);
  padding: .5rem 1rem;
  border-radius: .3rem;
}

/* Navigation */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}
.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }

/* ─── SCROLL ANIMATIONS ────────────────────────────────────── */
/* on cible toutes les cartes/champs qu’on veut animer */
.scroll-animate { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.scroll-animate.visible { opacity: 1; transform: translateY(0); }

.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.chantier-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.chantier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.chantier-card__img-link {
  display: block;
  overflow: hidden;
}

.chantier-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .4s ease;
}

.chantier-card__img-link:hover .chantier-card__img {
  transform: scale(1.05);
}

.chantier-card__body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chantier-card__title {
  margin: 0 0 .5rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.chantier-card__title a {
  color: var(--clr-dark);
  text-decoration: none;
}

.chantier-card__title a:hover {
  text-decoration: underline;
}

.chantier-card__excerpt {
  font-size: .95rem;
  color: var(--clr-grey);
  flex: 1;
  margin-bottom: .75rem;
}

.chantier-card__meta {
  margin-bottom: .75rem;
}

.chantier-card__info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .9rem;
  color: var(--clr-grey);
}

.chantier-card__info li {
  margin-bottom: .25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.badge--sm {
  font-size: .75rem;
  padding: .2rem .5rem;
  vertical-align: middle;
}

.btn {
  display: inline-block;
  padding: .7rem 1.4rem;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background .2s ease;
}

.btn:hover {
  background: darken(var(--primary),5%);
}

.realisations-group {
  margin-bottom: 4rem;
}

.realisations-group h2 {
  font-size: 1.75rem;
  color: var(--clr-dark);
}

.mt-12 {
  margin-top: 3rem;
}

/* Vous gardez les classes .card-grid, .chantier-card, .badge, .chantier-card__info, etc., 
   définies précédemment */



   /* === Page Contact === */
.page-contact .contact-info h2,
.page-contact .contact-form h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  position: relative;
}
.page-contact .contact-info p,
.page-contact .contact-form p {
  margin-bottom: 1rem;
}

/* 1. Mettre .container en flex pour répartir texte et logos */
.contact-info .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* ou center si tu veux centré verticalement */
  flex-wrap: wrap;         /* pour mobile */
}

/* 2. Le wrapper logos : ligne, gap, alignement */
.logos-row {
  display: flex;
  gap: 1rem;        /* espace entre chaque logo */
  align-items: center;
}

/* 3. Les figures ne doivent plus être positionnées */
.logos-row .logo {
  margin: 0;        /* annule tout margin top/left existant */
  flex: 0 0 auto;   /* taille automatique, pas de flex grow/shrink */
  display: inline-block;    /* pour que le lien épouse la taille de l’image */
  text-decoration: none;    /* supprime le soulignement par défaut */
}

.logos-row .logo a img {
  cursor: pointer;
}

.logos-row .logo a:hover {
  opacity: 0.8;             /* léger effet visuel au survol */
}

/* 4. Les images à l’intérieur */
.logos-row .logo img {
  display: block;
  max-width: 110px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.logos-row .logo:nth-child(3) img {
  max-width: 200px;   /* ou ta taille idéale */
}

/* 5. Responsive : logos sous le texte sur petit écran */
@media (max-width: 768px) {
  .contact-info .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logos-row {
    margin-top: 1.5rem;
  }
}


/* Formulaire */
.form-contact {
  display: grid;
  gap: 1.5rem;
  max-width: 600px;
  margin: auto;
}
.form-contact label {
  display: flex;
  flex-direction: column;
  font-size: .95rem;
}
.form-contact input,
.form-contact select,
.form-contact textarea {
  margin-top: .4rem;
  padding: .6rem .8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}
.form-contact .btn-cta {
  justify-self: start;
  background: var(--clr-red);
  color: #fff;
  border: none;
  padding: .8rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.form-contact .btn-cta:hover {
  background: #a00;
  transform: translateY(-2px);
}

.success {
  text-align: center;
  padding: 1rem;
  background: #e0f8e9;
  color: #046738;
  border-radius: 4px;
  margin-bottom: 2rem;
}
.errors {
  list-style: none;
  padding: .5rem 1rem;
  background: #fdecea;
  color: #611a15;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}










/* ===== BURGER : CONTRASTE MOBILE ===== */
.burger-icon {
  background: transparent;      /* on enlève le blanc semi-transp. */
  padding: .4rem;
}

/* traits foncés pour ressortir sur fond clair */
.burger-icon span {
  background-color: #222 !important;   /* noir presque pur */
}

/* si tu veux une petite pastille pour la touche tactile */
@media (max-width: 768px) {
  .burger-icon {
    background: rgba(0,0,0,.08);   /* gris très léger */
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
  }
}








/* =====================================================
   A) Scroll doux pour tous les liens internes
   ===================================================== */
html { scroll-behavior: smooth; }

/* =====================================================
   B) Révélation progressive
   ===================================================== */
.reveal {               /* état initial (caché)           */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {       /* quand l’élément est vu         */
  opacity: 1;
  transform: none;
}

/* possibilité de jouer sur data-delay=""                */
.reveal[data-delay] {
  transition-delay: var(--delay, 0ms);
}

/* =====================================================
   C) Barre de progression de scroll
   ===================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;                       /* épaisseur      */
  width: 0;
  background: var(--clr-red,#d2222a);
  z-index: 2000;
  pointer-events: none;
}





























