/* ════════════════════════════════════════════════════════════════════════
   style-acc-hub.css — Sous-ensemble de style.css pour les 5 pages hub région
   ACC (occitanie, paca, nouvelle-aquitaine, auvergne-rhone-alpes, hauts-de-
   france) et pour acc.php. Généré via PurgeCSS le 2026-08-28 à partir du HTML
   réel de ces 6 pages + js/scripts.js + js/acc-regions.js + cookie-banner.php
   (98,7 Ko -> 52,3 Ko). Ne contient QUE ce que ces pages utilisent réellement
   de style.css (navbar, footer, bandeau cookies, widget "être rappelé", etc.) ;
   les classes .acc-* restent dans acc-regions.css / acc-shared-lite.css.
   Si une de ces pages utilise une nouvelle classe/id de style.css à l'avenir,
   il faudra régénérer ce fichier (sinon l'élément n'aura plus de style ici).
   ════════════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Empêche les navigateurs mobiles d'agrandir automatiquement certains textes
   ("font boosting") au-delà de la taille déclarée en CSS, notamment dans les
   colonnes étroites comme le menu déroulant mobile. */
html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Animation de la fleche sur le menu d'accueil */

@media (max-width: 850px) { /* pour que ce soit parfaitement centrer sur smartphone */
}
@-webkit-keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


/* Titre principal */
/* Sous titre principal */

#hero {
  position: relative;
  background-color: #f1f1f1;
}

#hero video{
  height: 100vh;
  height: 100dvh; /* évite le saut visuel quand la barre d'adresse mobile se rétracte/réapparaît */
  width: 100%;
  background-position: absolute;
  z-index: 10;
  object-fit: cover;
}

#hero .content{
  background: rgba(0, 0, 0, 0.2);
  height: 100vh;
  height: 100dvh;
  width: 100%;
  z-index: 20;
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 768px){
  #hero video,
  #hero .content{
    height: 75vh;
    height: 75dvh;
  }
}

#hero .content h1{
  color: #fff;
  font-weight: 600;
}

#hero .content h3{
  color: #fff;
  font-weight: 300;
}

/* Ancrage fixe du logo/titre depuis le haut du hero (index/ACC) : évite que
   le centrage vertical déplace le logo selon la longueur du texte en dessous */
ul{
  list-style: none;
}

*{
  margin: 0;
  padding: 0;
  text-decoration: none;
  font-family: "Inter",sans-serif;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

::selection{
  background-color: #48dbfb60;
}

::-webkit-scrollbar{
  width: 10px;
  background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb{
  background-color: #efa906;
}

.navbar{
  position: fixed;
  background-color: transparent;
  width: 100%;
  padding: 30px 0;
  top: 0;
  z-index: 999;
  transition: .3s linear;
}

@media screen and (max-width: 980px){
  /* Le menu mobile déplié doit passer au-dessus du bandeau cookies (z-index 99999),
     sinon la fin de la liste (dont "Voir toutes nos solutions") reste cachée dessous. */
  body:has(.navbar-menu.active) .navbar{
    z-index: 100000;
  }
}

.inner-width{
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;
}

.navbar .inner-width{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  width: 84px;
  height: 47px;
  background-image: url(../images/logo-blanc.svg);
  background-size: cover;
}

.menu-toggler{
  background: none;
  width: 30px;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  outline: none;
  z-index: 999;
  display: none;
}

.menu-toggler span{
  display: block;
  height: 3px;
  background-color: #fff;
  margin: 6px 0;
  position: relative;
  transition: .3s linear;
}

.menu-toggler.active span {
  background-color: #111;
}

.navbar-menu a{
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 30px;
  transition: .2s linear;
}

.navbar-menu a:hover{
  color: #efa906 !important;
}

.sticky .navbar-menu a:hover{
  color: rgba(11,71,133,0.99) !important;
}

.navbar-menu a.nav-active {
  color: #efa906 !important;
}
.sticky .navbar-menu a.nav-active {
  color: #0D4584 !important;
  font-weight: 700;
}

/* ── Menu déroulant navbar "Nos solutions" ── */
.navbar-dropdown{
  position: relative;
  display: inline-block;
}

/* Pont invisible qui comble l'écart entre le titre et le menu, pour que le survol
   ne se coupe jamais en descendant la souris vers le menu déroulant */
.navbar-dropdown::before{
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
}

.navbar-dropdown-toggle{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.navbar-dropdown-arrow{
  font-size: 11px;
  transition: transform .2s ease;
}

svg.navbar-dropdown-arrow{
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-left: 2px;
}

/* Trait jaune sous le titre, pour montrer visuellement que le menu lui appartient */
.navbar-dropdown-toggle::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #efa906;
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(.4);
  transform-origin: center;
  transition: opacity .2s ease, transform .2s ease;
}

.navbar-dropdown:hover .navbar-dropdown-toggle::after,
.navbar-dropdown.is-open .navbar-dropdown-toggle::after{
  opacity: 1;
  transform: scaleX(1);
}

.navbar-dropdown-menu{
  position: absolute;
  top: calc(100% + 16px);
  left: -80px;
  transform: translateY(8px);
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(13,69,132,0.16);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  width: 900px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 50;
}

/* Petite pointe qui relie visuellement le menu à "Nos" (début du titre), même après le décalage du bloc vers la gauche */
.navbar-dropdown-menu::before{
  content: "";
  position: absolute;
  top: -8px;
  left: 100px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  filter: drop-shadow(0 -3px 5px rgba(13,69,132,0.08));
}

/* Variante liste + photo — menu "Notre entreprise" (1er item de la navbar, plus proche du bord gauche) */
.navbar-dropdown-menu.navbar-dropdown-menu-split{
  display: flex;
  grid-template-columns: none;
  width: 740px;
  left: -20px;
  padding: 14px 18px;
  gap: 14px;
}

.navbar-dropdown-menu-split::before{
  left: 40px;
}

.navbar-dropdown-split-list{
  flex: 0 0 270px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.navbar-dropdown-item{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 8px 11px 0;
  margin: 0 !important;
  border-radius: 10px;
  transition: background-color .2s ease;
}

.navbar-dropdown-item-icon{
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  color: #0D4584;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease;
}

.navbar-dropdown-item-icon svg{
  width: 30px;
  height: 30px;
}

.navbar-dropdown-item-text{
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}

.navbar-dropdown-item-title{
  font-size: 14.5px;
  font-weight: 700;
  color: #0a2540 !important;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: normal;
}

.navbar-dropdown-item-desc{
  font-size: 12.5px;
  color: #7c8a9c;
  line-height: 1.45;
  margin-top: 2px;
  text-transform: none;
  letter-spacing: normal;
}

.navbar-dropdown-item:hover,
.navbar-dropdown-item.is-active{
  background-color: #f4f7fb;
}

.navbar-dropdown-item:hover .navbar-dropdown-item-icon,
.navbar-dropdown-item.is-active .navbar-dropdown-item-icon{
  color: #efa906;
}

.navbar-dropdown-split-photo{
  position: relative;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  background-color: #eef2f9;
}

.navbar-dropdown-split-photo-layer{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .5s ease;
}

.navbar-dropdown-split-photo-layer.is-active{
  opacity: 1;
}

.navbar-dropdown-split-photo-layer[data-layer-for="menu01-2"]{
  background-position: center bottom;
}

.navbar-dropdown-split-photo-layer-logo{
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-dropdown-split-photo-logo-img{
  width: 190px;
  height: auto;
}


.navbar-dropdown:hover .navbar-dropdown-menu,
.navbar-dropdown.is-open .navbar-dropdown-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.navbar-dropdown.force-closed .navbar-dropdown-menu{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: none !important;
}

.navbar-dropdown.is-open .navbar-dropdown-arrow{
  transform: rotate(180deg);
}

/* Le survol ne doit tourner la flèche que sur un vrai pointeur souris : sur
   tactile, le tap laisse un :hover "collé" que le navigateur ne relâche
   jamais, donc la flèche restait tournée même après refermeture du menu. */
@media (hover: hover){
  .navbar-dropdown:hover .navbar-dropdown-arrow{
    transform: rotate(180deg);
  }
}

/* Cartes photo par solution */
.navbar-dropdown-card{
  position: relative;
  display: block;
  height: 118px;
  margin: 0 !important;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #eef2f9;
  transition: transform .25s ease;
}

/* Icône ajoutée pour le mobile uniquement : invisible sur desktop, où la
   carte-photo suffit. */
.navbar-dropdown-card .navbar-dropdown-item-icon{
  display: none;
}

.navbar-dropdown-card-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,32,64,0.1) 0%, rgba(9,32,64,0.8) 100%);
  transition: background .25s ease;
}

.navbar-dropdown-card-label{
  position: absolute;
  left: 14px;
  right: 34px;
  bottom: 12px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.navbar-dropdown-card-arrow{
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease;
}

.navbar-dropdown-card-arrow svg{
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.navbar-dropdown-card:hover .navbar-dropdown-card-arrow{
  color: #efa906;
}

.navbar-dropdown-card:hover .navbar-dropdown-card-arrow svg{
  transform: translateX(4px);
}

.navbar-dropdown-card-label::after{
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #efa906;
  border-radius: 2px;
  margin-top: 6px;
  transition: width .25s ease;
}

.navbar-dropdown-card:hover{
  transform: translateY(-3px);
}

.navbar-dropdown-card:hover .navbar-dropdown-card-overlay{
  background: linear-gradient(180deg, rgba(9,32,64,0.05) 0%, rgba(9,32,64,0.88) 100%);
}

.navbar-dropdown-card:hover .navbar-dropdown-card-label::after{
  width: 32px;
}

/* 8e carte "Voir toutes nos solutions" : complète la grille 4x2, style CTA plutôt que photo */

.sticky{
  background-color: #fff;
  padding: 18px 0;
}

section[id] {
  scroll-margin-top: 90px;
}

.sticky .logo{
  background-image: url(../images/logo.svg);
}

.sticky .navbar-menu a{
  color: #111;
}

.sticky .menu-toggler span{
  background-color: #111;
}

@keyframes textanim{
  25%{
    content: "A Developer";
  }
  50%{
    content: "A Designer";
  }
  75%{
    content: "A Youtuber";
  }
}

section{
  padding: 100px 0;
  background-color: #f1f1f1;
}

/* ═══ NOS ENGAGEMENTS / NOS MÉTIERS — cartes premium ═══ */
#engagements{
  padding: 80px 0;
}

/* Variante "ancre vers une section plus bas sur la même page" : flèche vers le bas au lieu de la droite */

/* ═══ NOS ENGAGEMENTS — bandeau photo plein bord ═══ */
#engagements{
  background: #fff;
}

/* Déploiement du cadre photo depuis le bord droit de l'écran, ordinateur uniquement */

/* Vignette douce sur les bords : évite que la photo paraisse délavée/étirée sur très grand écran */

@media (max-width: 1000px){
  /* Sur mobile/tablette, "Notre histoire" et "Nos engagements" s'empilent : sans ce
     resserrement, les paddings pensés pour le layout desktop (côte à côte) s'additionnent
     à la verticale et créent un grand vide blanc avant le titre. Uniquement en mobile,
     le desktop garde ses valeurs d'origine. */
  #about{
    padding-bottom: 50px;
  }
  #engagements{
    padding-top: 40px;
  }
  /* Sur mobile, les 4 cartes (01-04) sont déjà juste en dessous dans le flux :
     ce lien saute par-dessus elles pour aller direct à "Nos métiers", ce qui n'a
     de sens que sur desktop où les cartes sont affichées à côté du texte. */
}

/* ═══ NOS MÉTIERS — cartes horizontales ═══ */
#metiers{
  background-color: #f8fafc;
  padding: 80px 0;
}

/* Cartes dépliables (Nos métiers) */

.html:after{
  width: 90%;
}

.js:after{
  width: 70%;
}

/* Version mobile */


/* Ordre inversé sur mobile */

/* Card styles */

/* Responsive - grands écrans */



section.dark{
  background-color: #0D4584;
}

.services{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Anciennement des <h4> (hiérarchie de titres corrigée en <h3>), taille figée
   à l'identique du rendu par défaut précédent pour ne rien changer visuellement. */
.services h3{
  font-size: 1em;
  margin: 1.33em 0;
}

.service{
  position: relative;
  display: block;
  width: calc(25% - 20px);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  margin: 20px 0;
  padding: 0px 0px 40px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease, background-color 0.3s ease;
  opacity: 0;
}

.service .icon{
  color: #efa906;
  font-size: 30px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(239, 169, 6, 0.12);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.service svg.icon{
  width: 44px;
  height: 44px;
}

.service p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.88;
  margin-top: 12px;
}

.service:hover{
  transform: translateY(-7px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.30);
  border-color: rgba(239, 169, 6, 0.55);
  background-color: rgba(239, 169, 6, 0.07);
}

.service:hover .icon{
  color: #efa906;
  transform: scale(1.12);
  background: rgba(239, 169, 6, 0.22);
  box-shadow: 0 0 0 6px rgba(239, 169, 6, 0.10);
}

.service:hover p{
  color: #fff;
  opacity: 1;
}

/* Animation d'entrée en cascade — Nos prestations */
@keyframes service-card-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-animated .service:nth-child(1) {
  animation: service-card-in 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 0s forwards;
}
.services-animated .service:nth-child(2) {
  animation: service-card-in 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 0.25s forwards;
}
.services-animated .service:nth-child(3) {
  animation: service-card-in 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 0.50s forwards;
}
.services-animated .service:nth-child(4) {
  animation: service-card-in 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 0.75s forwards;
}
.services-animated .service:nth-child(5) {
  animation: service-card-in 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 1.00s forwards;
}
.services-animated .service:nth-child(6) {
  animation: service-card-in 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 1.25s forwards;
}
.services-animated .service:nth-child(7) {
  animation: service-card-in 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 1.50s forwards;
}
.services-animated .service:nth-child(8) {
  animation: service-card-in 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 1.75s forwards;
}

.works {
display: flex;
    gap: 20px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.works{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.block{
  width: calc(50% - 20px);
  background-color: #fff;
  border: 1px solid #ddd;
  margin: 10px 0;
  padding: 30px;
  position: relative;
}

.block::before{
  content: "";
  position: absolute;
  width: 1px;
  height: 120%;
  background-color: #ddd;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.block::after{
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: #0D4584;
  left: -28px;
  top: 30px;
  border-radius: 50%;
}

.block h3{
  font-size: 16px;
  margin: 10px 0;
}

.block p{
  font-size: 15px;
  color: #444;
}


footer{
  background: rgba(10, 60, 120, 0.99);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

/* ── Footer pro (logo + contact + réseaux + mentions) ── */
.footer-pro{
  padding: 60px 0 0;
  text-align: left;
}

.footer-top{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand{
  max-width: 340px;
}

.footer-brand .logo{
  display: block;
  width: 75px;
  height: 42px;
  margin-top: -8px;
  margin-bottom: 4px;
  background-image: url(../images/logo-blanc.svg);
}

.footer-tagline{
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-address{
  margin-top: 5px;
}

.footer-contact-rows{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 14px;
}

.footer-contact-rows-center{
  width: 100%;
}

.footer-contact-row{
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  white-space: nowrap;
  transition: color .2s ease;
}

.footer-contact-row i{
  width: 16px;
  flex-shrink: 0;
  text-align: center;
  font-size: 14px;
  color: #e8930a;
}

.footer-contact-row svg{
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #e8930a;
}

.footer-contact-row:hover{
  color: #e8930a;
}

/* ── Badge avis Google (footer) ─────────────────────── */
.footer-rating-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 4px;
  padding: 9px 16px 9px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50px;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.footer-rating-badge:hover{
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.footer-rating-badge-google{
  display: flex;
  flex-shrink: 0;
}

.footer-rating-badge-google svg{
  width: 17px;
  height: 17px;
}

.footer-rating-badge-score{
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}

.footer-rating-badge-stars{
  display: flex;
  gap: 1px;
  flex-shrink: 0;
}

.footer-rating-badge-stars svg{
  width: 13px;
  height: 13px;
  color: #FBBC05;
}

.footer-rating-badge-count{
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  white-space: nowrap;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.18);
}

.footer-nav{
  min-width: 180px;
}

.footer-nav-lead{
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 16px;
}

.footer-nav-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a{
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  transition: color .2s ease;
}

.footer-nav-links a:hover{
  color: #e8930a;
}

.footer-cta{
  min-width: 220px;
}

.footer-cta-lead{
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 16px;
}

.footer-cta-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #efa906;
  color: #1a1a2e;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 50px;
  transition: background-color .25s ease, transform .25s ease;
}

.footer-cta-btn svg{
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  vertical-align: middle;
}

.footer-cta-btn:hover{
  background-color: #c27f08;
  color: #1a1a2e;
  transform: translateY(-2px);
}

.footer-social{
  min-width: 160px;
}

.footer-social-lead{
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 16px;
}

.footer-social-icons{
  display: flex;
  gap: 14px;
}

.footer-social-icons a svg,
.footer-preferred-source-btn svg{
  width: 26px;
  height: 26px;
}

.footer-social-icons a,
.footer-preferred-source-btn{
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  padding: 0;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease, color .25s ease;
}

.footer-social-icons a:hover,
.footer-preferred-source-btn:hover{
  background: rgba(232,147,10,0.15);
  border-color: #e8930a;
  color: #e8930a;
  transform: translateY(-3px);
}

.footer-divider{
  width: 240px;
  max-width: 60%;
  height: 2px;
  margin: 0 auto;
  background: rgba(255,255,255,0.18);
}

.footer-bottom{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 0 24px;
}

.footer-copyright{
  grid-column: 1;
  text-align: left;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-legal{
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.footer-legal a{
  color: inherit;
  font-size: 14px;
  font-weight: 400;
}

.footer-legal-sep{
  color: rgba(255,255,255,0.3);
}

.footer-cookie-link{
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  color: inherit;
  cursor: pointer;
}

.footer-legal a:hover,
.footer-cookie-link:hover{
  color: #e8930a;
}

@media screen and (max-width: 700px){
  .footer-top{
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-brand{
    max-width: 100%;
  }
  .footer-brand .logo{
    margin: 0 auto 16px;
  }
  .footer-contact-rows{
    justify-content: center;
  }
  .footer-address{
    justify-content: center;
    white-space: normal;
  }
  .footer-rating-badge{
    margin-left: auto;
    margin-right: auto;
  }
  .footer-rating-badge-count{
    white-space: normal;
  }
  .footer-social{
    margin-bottom: 16px;
    width: 100%;
  }
  .footer-social-icons{
    justify-content: center;
  }
  .footer-bottom{
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer-copyright{
    grid-column: 1;
    text-align: center;
  }
  .footer-legal{
    grid-column: 1;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ═══════════════════════════════════
   MENTIONS LÉGALES
   ═══════════════════════════════════ */

.goTop{
  position: fixed;
  z-index: 10000;
  bottom: 104px;
  right: 32px;
  width: 40px;
  height: 40px;
  background-color: #efa906;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  outline: none;
  display: none;
  padding: 0;
}

.goTop svg{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
}

@media screen and (max-width: 980px){
  .menu-toggler{
    display: block;
  }

  .navbar-menu{
    position: fixed;
    height: 100vh;
    width: 84%;
    background-color: #f1f1f1;
    top: 0;
    right: -100%;
    max-width: 340px;
    padding: 120px 40px 40px;
    transition: .3s linear;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -20px 0 60px rgba(0,0,0,0.25);
    /* Empêche le double-tap-zoom du navigateur : en tapant plusieurs fois
       pour refermer "Notre entreprise", un tap qui rate sa cible peut être
       interprété comme un double-tap "zoomer ici", ce qui donnait
       l'impression que le texte grossissait tout seul sans jamais fermer. */
    touch-action: manipulation;
  }

  .navbar-menu a{
    display: block;
    font-size: 30px;
    margin: 30px 0;
    color: #111;
  }

  .navbar-dropdown{
    display: block;
    margin: 0;
  }

  .navbar-dropdown-toggle{
    margin: 0;
  }

  /* ── Menu mobile "premium" : index numéroté sur les 4 liens principaux,
     liens secondaires (Recrutement/Contact/Nos actus) réduits sous un
     séparateur. IDs partagés par toutes les pages, donc CSS seul suffit.
     L'écart est posé directement sur les 4 titres (#menu01/02/04/05), jamais
     sur le conteneur ".navbar-dropdown" : ce conteneur inclut aussi le
     sous-menu replié, dont le contenu interne diffère (photo pour "Notre
     entreprise", grille de cartes pour "Nos solutions") et faussait l'écart
     réel une fois refermé. ── */
  #menu01,
  #menu02,
  #menu04,
  #menu05{
    margin: 0 0 32px;
  }

  #menu01,
  #menu02,
  #menu04,
  #menu05{
    font-size: 18px;
  }

  #menu01::before,
  #menu02::before,
  #menu04::before,
  #menu05::before{
    display: inline-block;
    width: 34px;
    font-size: 16px;
    font-weight: 700;
    color: #efa906;
    letter-spacing: 0.02em;
    vertical-align: middle;
  }
  #menu01::before{ content: "01"; }
  #menu02::before{ content: "02"; }
  #menu04::before{ content: "03"; }
  #menu05::before{ content: "04"; }

  #menu06,
  #menu07,
  #menu08{
    display: block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a6480;
    margin: 0 0 32px;
    padding-left: 0;
  }
  #menu06{
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(0,0,0,0.1);
  }

  /* Petit chevron à droite : uniquement sur "Nos actus". */
  #menu08{
    position: relative;
    padding-right: 26px;
  }
  #menu08::after{
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0.45;
    transform: translateY(-65%) rotate(-45deg);
  }

  .navbar-dropdown-menu{
    /* Fermé : display:none, la seule garantie à 100% d'un écart identique
       après chaque lien, quel que soit le contenu du sous-menu (photo pour
       "Notre entreprise", grille de cartes pour "Nos solutions" — leurs
       tailles internes différentes faussaient l'écart avec max-height:0). */
    position: static;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100%;
    min-width: 0;
  }

  .navbar-dropdown-menu::before,
  .navbar-dropdown-menu::after,
  .navbar-dropdown-toggle::after,
  .navbar-dropdown::before{
    display: none;
  }

  .navbar-dropdown.is-open .navbar-dropdown-menu{
    display: block;
    position: static;
    pointer-events: auto;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 32px;
  }

  /* "Nos solutions" : même traitement que "Notre entreprise" (icône + texte
     sur une ligne, même police, même hauteur) au lieu des cartes-photo du
     desktop. Sans ça la couleur de fond bleu clair (prévue comme fond de
     secours derrière la photo) restait visible une fois la photo masquée. */
  .navbar-dropdown-card{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    height: auto;
    background-color: transparent !important;
    background-image: none !important;
    border-radius: 0;
    overflow: visible;
    transform: none !important;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }

  .navbar-dropdown-card-overlay{
    display: none;
  }

  .navbar-dropdown-card-arrow{
    display: none;
  }

  /* Décalage porté par une marge (pousse toute l'icône) et non un padding
     interne (qui grignotait l'espace réservé et collait l'icône au texte). */
  .navbar-dropdown-card .navbar-dropdown-item-icon{
    display: flex;
    width: 23px;
    margin-left: 15px;
    padding-left: 0;
  }

  .navbar-dropdown-card-label{
    position: static;
    display: block;
    font-size: 15.5px;
    line-height: 23px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    color: #0a2540 !important;
    padding: 0;
  }

  .navbar-dropdown-card-label::after{
    display: none;
  }

  /* Règle desktop ".navbar-dropdown-menu.navbar-dropdown-menu-split{display:flex}"
     (2 classes combinées = plus spécifique que mon ".navbar-dropdown-menu{display:none}"
     mobile à 1 classe) : elle gagnait toujours et affichait ce sous-menu en
     permanence, peu importe l'état ouvert/fermé. Il faut la reprendre ici
     avec exactement la même spécificité pour la neutraliser sur mobile. */
  .navbar-dropdown-menu.navbar-dropdown-menu-split{
    display: none;
  }
  .navbar-dropdown.is-open .navbar-dropdown-menu.navbar-dropdown-menu-split{
    display: block;
  }

  .navbar-dropdown-menu-split{
    width: 100%;
    padding: 0;
    gap: 0;
  }

  .navbar-dropdown-split-list{
    width: 100%;
  }

  .navbar-dropdown-split-photo{
    display: none;
  }

  /* Une seule ligne par item sur mobile : icône + titre côte à côte,
     description masquée (elle alourdissait inutilement le menu). Tout est
     forcé en !important pour ne plus dépendre d'un héritage flex ambigu. */
  .navbar-dropdown-item{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    border-radius: 0;
  }

  .navbar-dropdown-item-text{
    display: block !important;
  }

  .navbar-dropdown-item:last-child{
    border-bottom: none;
  }

  .navbar-dropdown-item:hover,
  .navbar-dropdown-item.is-active{
    background-color: transparent;
  }

  /* Même largeur de colonne que les numéros 01-04 des titres principaux :
     l'icône joue ici le même rôle de repère à gauche du texte. */
  .navbar-dropdown-item{
    gap: 0;
  }
  /* Icône et titre forcés à la même hauteur exacte (20px), pour ne plus
     dépendre d'un centrage flex qui ne collait pas malgré align-items. */
  .navbar-dropdown-item-icon{
    width: 34px;
    height: 23px;
    justify-content: flex-start;
    margin-top: 0;
  }
  .navbar-dropdown-item-icon svg{
    width: 23px;
    height: 23px;
    display: block;
  }

  /* Icône "Repowering" : dessinée avec très peu de marge interne (contrairement
     aux autres), donc visuellement plus grosse à taille CSS identique. */
  #menu02-5 .navbar-dropdown-item-icon svg{
    width: 17px;
    height: 17px;
  }

  .navbar-dropdown-item-text{
    padding-top: 0;
  }

  .navbar-dropdown-item-title{
    display: block;
    line-height: 23px !important;
  }

  .navbar-dropdown-item-desc{
    display: none;
  }

  .navbar-dropdown-item-title{
    font-size: 15.5px !important;
  }

  .sticky .navbar-menu{
    background-color: #f1f1f1;
  }
  
  .navbar-menu.active{
    right: 0;
  }

  #nav-backdrop{
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(9,32,64,0.55);
    cursor: pointer;
  }
  #nav-backdrop.active{
    display: block;
  }

  /* Bouton fermer : cercle orange derrière la croix quand le menu est ouvert,
     au lieu d'une simple croix nue perdue en haut de l'écran. Le cercle est un
     ::before séparé (ne touche pas au positionnement des barres qui forment
     la croix, déjà calé au pixel près). */
  .menu-toggler.active::before{
    content: "";
    position: absolute;
    /* Les barres 1 et 3 se croisent 5px au-dessus du centre géométrique du
       bouton (décalage lié aux valeurs top:4px / bottom:14px de l'animation
       croix, asymétriques par construction) : le cercle doit suivre. */
    top: calc(50% - 5px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: #efa906;
    border-radius: 50%;
    z-index: -1;
  }

  .menu-toggler.active span:nth-child(1){
    transform: rotate(-45deg);
    top: 4px;
    background-color: #1a1a2e;
  }

  .menu-toggler.active span:nth-child(2){
    opacity: 0;
  }

  .menu-toggler.active span:nth-child(3){
    transform: rotate(45deg);
    bottom: 14px;
    background-color: #1a1a2e;
  }

  .inner-width{
    max-width: 800px;
  }

  /* "Notre histoire" tronqué sur mobile : le 3e paragraphe est replié par défaut,
     déplié via le bouton "Lire la suite" (le texte reste dans le DOM, donc lisible
     par Google comme n'importe quel accordéon). */

  /* "Nos prestations" : le titre garde son margin-bottom desktop (80px) pensé pour
     une grille large ; sur mobile ça laissait un grand vide bleu avant la 1re carte. */

  .service{
    width: calc(50% - 20px);
  }

  .block{
    width: calc(100% - 20px);
    margin-left: auto;
  }
}

@media screen and (max-width: 600px){
  .inner-width{
    padding: 0 20px;
  }

  .service{
    width: 100%;
  }
}

/* ─── Alertes contact ─── */
#alert-success {
  z-index: 9999;
  background: #D4EDDA;
  font-size: 18px;
  padding: 20px 40px;
  min-width: 420px;
  position: fixed;
  left: 10px;
  bottom: 10px;
  border-right: 8px solid #3AD66E;
  border-radius: 4px;
}
#alert-error {
  z-index: 9999;
  background: #ffcdcd;
  font-size: 18px;
  padding: 20px 40px;
  min-width: 420px;
  position: fixed;
  left: 10px;
  bottom: 10px;
  border-right: 8px solid #ff0202;
  border-radius: 4px;
}
@media screen and (max-width: 480px) {
  #alert-error, #alert-success { min-width: 300px; font-size: 15px; padding: 16px 24px; }
}

/* ─── Hero CTA ─── */
@keyframes hero-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 169, 6, 0.55); }
  50%       { box-shadow: 0 0 0 14px rgba(239, 169, 6, 0); }
}

/* ═══════════════════════════════════
   TEAM CAROUSEL
   ═══════════════════════════════════ */
.team-track {
  display: flex; gap: 32px;
  transform: translateX(0);
  transition: transform 520ms cubic-bezier(.6,.05,.15,1);
}
.team-track.no-anim { transition: none; }
.team-cell {
  flex: 0 0 calc((100% - 3 * 32px) / 4);
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
  transition: opacity 240ms cubic-bezier(.5,.05,.2,1);
}
.team-bubble {
  position: relative; width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg, #0D4584, #efa906);
  padding: 4px;
  box-shadow: 0 14px 30px -14px rgba(13,69,132,.4);
  transition: transform 240ms cubic-bezier(.5,.05,.2,1), box-shadow 240ms cubic-bezier(.5,.05,.2,1);
}
.team-bubble-photo {
  width: 100%; height: 100%; border-radius: 50%;
  background-size: cover; background-position: center top;
  background-color: #E8EDF8;
  border: 3px solid white;
  transition: filter 240ms cubic-bezier(.5,.05,.2,1);
}
.team-cell:hover:not(.is-active) .team-bubble {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 22px 40px -16px rgba(13,69,132,.45), 0 0 0 8px rgba(239,169,6,.12);
}

@keyframes bubble-pulse {
  0%, 100% { box-shadow: 0 22px 40px -16px rgba(13,69,132,.45), 0 0 0 8px rgba(239,169,6,.14); }
  50%       { box-shadow: 0 22px 40px -16px rgba(13,69,132,.45), 0 0 0 18px rgba(239,169,6,.24); }
}

.team-cell.is-active .team-bubble {
  transform: scale(1.06) translateY(-4px);
  animation: bubble-pulse 2.2s ease-in-out infinite;
}
.team-member-name {
  margin-top: 18px; font-size: 17px; font-weight: 700;
  color: #0F1E40; text-align: center;
}
.team-member-role {
  margin-top: 4px; font-size: 12px; font-weight: 600;
  color: #efa906; text-transform: uppercase; letter-spacing: .1em; text-align: center;
}
.team-cell.is-dim { opacity: .35; }
.team-cell.is-dim .team-bubble-photo { filter: grayscale(.5); }

.team-detail {
  background: #0D4584; color: white; border-radius: 28px;
  display: grid; grid-template-columns: 220px 1fr; gap: 36px;
  align-items: start; overflow: hidden;
  max-height: 0; padding: 0 44px; opacity: 0;
  transition: max-height 500ms cubic-bezier(0, 0, 0.2, 1),
              padding 500ms cubic-bezier(0, 0, 0.2, 1),
              opacity 280ms ease,
              margin 500ms cubic-bezier(0, 0, 0.2, 1);
  margin: 0 24px; position: relative;
}
.team-detail::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(239,169,6,.25), transparent 60%);
  pointer-events: none;
}
.team-detail.is-open { max-height: 500px; padding: 36px 44px; opacity: 1; margin-top: 8px; }
.team-skill {
  font-size: 12px; font-weight: 600; color: white;
  background: rgba(255,255,255,.15); padding: 6px 11px; border-radius: 999px;
}

@keyframes counter-flip {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (hover: none) {
  .team-cell:hover:not(.is-active) .team-bubble {
    transform: none;
    box-shadow: 0 14px 30px -14px rgba(13,69,132,.4);
  }
}

@media (max-width: 768px) {
  /* Sur mobile, la fiche descriptive doit apparaître juste sous les bulles (avant les
     flèches précédent/suivant) : sinon elle s'ouvre hors écran et l'utilisateur doit
     deviner qu'il faut scroller pour la voir. */
  .team-detail { order: 2; scroll-margin-top: 100px; }

  .team-cell { flex: 0 0 calc((100% - 32px) / 2); }
  .team-detail { grid-template-columns: 1fr; padding: 0 24px; }
  .team-detail.is-open { padding: 28px 24px; max-height: 700px; }
  .team-bubble { width: 130px; height: 130px; }
}

/* ═══════════════════════════════════
   BANDEAU COOKIES RGPD
   ═══════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: #0F1E40;
  transform: translateY(100%);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.30);
}
#cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-bar {
  height: 4px;
  background: linear-gradient(90deg, #efa906 0%, #f5c100 50%, #0D4584 100%);
  width: 100%;
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.cookie-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}
.cookie-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.cookie-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(239,169,6,0.15);
  border: 1px solid rgba(239,169,6,0.30);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #efa906;
  flex-shrink: 0;
}
.cookie-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin: 0 0 4px;
}
.cookie-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.60);
  margin: 0;
  line-height: 1.45;
  max-width: 560px;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 22px;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.cookie-btn-accept {
  background: linear-gradient(135deg, #efa906, #f5c100);
  color: #fff;
  box-shadow: 0 4px 16px rgba(239,169,6,0.35);
}
.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(239,169,6,0.50);
}
.cookie-btn-refuse {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.15);
}
.cookie-btn-refuse:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 16px;
  }
  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

/* ═══════════════════════════════════
   WIDGET RAPPEL RAPIDE
   ═══════════════════════════════════ */
#rappel-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}
#rappel-widget.is-visible {
  opacity: 1;
  pointer-events: none;
  transform: translateY(0);
}
#rappel-widget.is-visible #rappel-toggle {
  pointer-events: all;
}

/* ── Bouton déclencheur ── */
#rappel-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0D4584 0%, #1565c0 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 22px 13px 16px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 24px rgba(13,69,132,0.40);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: rappel-pulse 2.8s ease-in-out infinite;
  outline: none;
}
#rappel-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(13,69,132,0.50);
  animation: none;
}
#rappel-toggle.is-active {
  animation: none;
  background: linear-gradient(135deg, #0a3570, #0d4a9e);
}
@keyframes rappel-pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(13,69,132,0.40), 0 0 0 0 rgba(13,69,132,0.28); }
  55%      { box-shadow: 0 6px 24px rgba(13,69,132,0.40), 0 0 0 12px rgba(13,69,132,0); }
}
.rappel-toggle-icon svg{
  width: 17px;
  height: 17px;
}

.rappel-toggle-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
#rappel-toggle:hover .rappel-toggle-icon {
  background: rgba(255,255,255,0.28);
}

/* ── Panneau ── */
#rappel-panel {
  width: 330px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.16), 0 4px 20px rgba(13,69,132,0.14);
  overflow: hidden;
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(0.34,1.42,0.64,1), opacity 0.26s ease;
  transform-origin: bottom right;
}
#rappel-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* ── Header ── */
.rappel-header {
  background: linear-gradient(135deg, #0D4584 0%, #1a5fa8 100%);
  padding: 18px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  position: relative;
}
.rappel-header-icon svg{
  width: 20px;
  height: 20px;
}

.rappel-header-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.16);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.rappel-header-text { flex: 1; }
.rappel-header-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}
.rappel-header-sub {
  font-size: 0.76rem;
  opacity: 0.72;
  margin-top: 3px;
}
.rappel-close {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  flex-shrink: 0;
}
.rappel-close:hover { background: rgba(255,255,255,0.30); }

/* ── Corps ── */
.rappel-body { padding: 20px 20px 16px; }
.rappel-intro {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.45;
}

/* Champs */
.rappel-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 10px;
  background: #fafbfc;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.rappel-field:focus-within {
  border-color: #0D4584;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13,69,132,0.08);
}
.rappel-field svg {
  color: #94a3b8;
  flex-shrink: 0;
  transition: color 0.2s;
}
.rappel-field .field-icon-phone,
.rappel-field .field-icon-user,
.rappel-field .field-icon-shield {
  width: 15px;
  height: 15px;
}
.rappel-field .field-icon-shield {
  transform: scale(1.6);
}

.rappel-field i {
  color: #94a3b8;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: color 0.2s;
  width: 14px;
  text-align: center;
}
.rappel-field:focus-within i,
.rappel-field:focus-within svg { color: #0D4584; }
.rappel-field input {
  border: none;
  outline: none;
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #1e293b;
  background: transparent;
}
.rappel-field input::placeholder { color: #b0bec5; }

/* Message d'erreur */
.rappel-error {
  background: #fff1f1;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.81rem;
  color: #dc2626;
  margin-bottom: 10px;
}

/* Bouton submit */
.rappel-submit {
  width: 100%;
  background: linear-gradient(135deg, #efa906 0%, #f5c100 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.01em;
}
.rappel-submit-text svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}
.rappel-submit-loader svg{
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
.rappel-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(239,169,6,0.42);
}
.rappel-submit:active { transform: translateY(0); }
.rappel-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* ── État succès ── */
.rappel-success {
  text-align: center;
  padding: 10px 10px 6px;
}
.rappel-success-icon {
  font-size: 3.2rem;
  color: #22c55e;
  margin-bottom: 14px;
  animation: rappel-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.rappel-success-icon svg{
  width: 48px;
  height: 48px;
}
@keyframes rappel-pop {
  from { transform: scale(0) rotate(-20deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);  opacity: 1; }
}
.rappel-success-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e293b;
  margin: 0 0 6px;
}
.rappel-success-sub {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ── Footer ── */
.rappel-footer {
  background: #f8fafc;
  border-top: 1px solid #e9edf2;
  padding: 9px 20px;
  font-size: 0.73rem;
  color: #94a3b8;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.rappel-footer svg{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  #rappel-widget { bottom: 16px; right: 16px; }
  #rappel-panel  { width: calc(100vw - 32px); }
  .rappel-toggle-label { display: none; }
  #rappel-toggle { padding: 14px; border-radius: 50%; }
}

/* ═══════════════════════════════════
   NOS MÉTIERS
   ═══════════════════════════════════ */
#metiers {
  background-color: #f8fafc;
  padding: 70px 0;
}

/* Désactive les effets hover sur écrans tactiles */
@media (hover: none) {
  /* Engagements / métiers — carte */

  /* Prestations — carte */
  .service:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.3);
    background-color: transparent;
  }
  .service:hover .icon {
    transform: none;
    background: rgba(239, 169, 6, 0.12);
    box-shadow: none;
  }

  /* Objectifs — hexagones */

  /* Projets — cartes featured */

  /* Projets — petites cartes */

  /* CTA projets */
}

/* Icône — hover et état actif */

/* ─── PROJETS — animations d'entrée ─── */

@keyframes work-card-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── PROJETS — repli/dépli des cartes supplémentaires ─── */
.works-toggle-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
}
.works-toggle-btn:hover{
  color: #efa906;
}

/* ─── PROJETS — bouton CTA ─── */

/* ── BLOC AUTOCONSOMMATION COLLECTIVE (accueil) ──────────────────────────── */

/* Lightbox générique (agrandissement schéma), ouverte/fermée par js/scripts.js */

@media (max-width: 900px){
  /* Le texte du bouton passait à la ligne sur mobile ("... chez moi" seul en dessous) */
}

/* ── SCROLL HINT (hero → première section) ──────────────────────────────── */

@keyframes scroll-hint-float {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.75; }
  50%       { transform: translateX(-50%) translateY(9px); opacity: 1;    }
}

/* ══ BLOG FAQ ══════════════════════════════════════════════════════════════ */
.blog-faq-section {
  padding: 60px 0 40px;
  background: #fff;
  border-top: 1px solid #eef1f6;
}
.blog-faq-section .acc-section-tag {
  display: inline-block;
  background: rgba(13,69,132,0.08);
  color: #0D4584;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.blog-faq-section .acc-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #0D4584;
  margin-bottom: 12px;
  line-height: 1.2;
}
.blog-faq-section .acc-separator {
  width: 55px;
  height: 4px;
  background: #EFA906;
  border-radius: 2px;
  margin: 0 auto 40px;
}
.blog-faq-section .acc-faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.blog-faq-section .acc-faq-item {
  border-bottom: 1px solid #dce4ef;
  overflow: hidden;
}
.blog-faq-section .acc-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0D4584;
  transition: color 0.25s ease;
}
.blog-faq-section .acc-faq-question:hover { color: #EFA906; }
.blog-faq-section .acc-faq-question h3 { margin: 0; font: inherit; color: inherit; }
.blog-faq-section .acc-faq-icon {
  font-size: 0.9rem;
  color: #EFA906;
  flex-shrink: 0;
}
.blog-faq-section svg.acc-faq-icon {
  width: 18px;
  height: 18px;
}
.blog-faq-section .acc-faq-icon-minus { display: none; }
.blog-faq-section .acc-faq-item.open .acc-faq-icon-plus { display: none; }
.blog-faq-section .acc-faq-item.open .acc-faq-icon-minus { display: block; }
.blog-faq-section .acc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.blog-faq-section .acc-faq-answer p {
  padding: 0 6px 20px;
  font-size: 0.95rem;
  color: #5a6480;
  line-height: 1.8;
}
.blog-faq-section .acc-faq-answer a {
  color: #0D4584;
  text-decoration: underline;
}
.blog-faq-section .acc-faq-answer a:hover {
  color: #EFA906;
}
@media (max-width: 768px) {
  .blog-faq-section .acc-section-title { font-size: 1.55rem; }
}

