/*
Theme Name: Divi 5 Child Theme
Theme URI: https://etcinfo.fr/
Description: Custom child theme for Divi 5
Author: ETC Info
Author URI: https://etcinfo.fr/
Version: 1.0.0
Template: Divi
*/

/* bloc:gb-polices */
/* Barlow hébergée localement (licence OFL : fonts/OFL.txt) */
@font-face{font-family:"Barlow";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/barlow-400.woff2") format("woff2");}
@font-face{font-family:"Barlow";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/barlow-500.woff2") format("woff2");}
@font-face{font-family:"Barlow";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/barlow-600.woff2") format("woff2");}
@font-face{font-family:"Barlow";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/barlow-700.woff2") format("woff2");}
@font-face{font-family:"Barlow";font-style:normal;font-weight:800;font-display:swap;src:url("fonts/barlow-800.woff2") format("woff2");}
/* fin:gb-polices */

/* bloc:gb-variables */
/* Design system de la maquette Figma « Accueil » */
:root{
  --gb-police:"Barlow",Arial,sans-serif;
  /* Couleurs */
  --gb-bleu:#23488F;
  --gb-bleu-fonce:#17336B;
  --gb-orange:#F89524;
  --gb-texte:#0B1220;
  --gb-creme:#FFFBF6;
  --gb-blanc:#FFFFFF;
  --gb-teinte-bleu:#EEF2FB;
  --gb-teinte-orange:#FFF4E6;
  --gb-teinte-orange-2:#FFEBD6;
  --gb-teinte-vert:#E7F8EE;
  --gb-vert:#15803D;
  --gb-filet:#EDF1F8;
  --gb-filet-2:#EEF1F7;
  /* Mise en page */
  --gb-largeur:1200px;
  --gb-section-marge:100px;
  /* Rayons */
  --gb-rayon-carte:20px;
  --gb-rayon-petite-carte:16px;
  --gb-rayon-photo:14px;
  --gb-rayon-bouton:10px;
  --gb-rayon-bouton-hero:12px;
  /* Ombres */
  --gb-ombre-carte:0 14px 36px rgba(11,18,32,.08);
  --gb-ombre-petite-carte:0 12px 32px rgba(11,18,32,.10);
  --gb-ombre-ecran:0 24px 60px rgba(35,72,143,.16);
}
/* fin:gb-variables */

/* bloc:gb-base */
/* Police et couleur de texte de base du site (Barlow, maquette) */
body,
body .et_pb_module,
body .et_pb_text,
body .et_pb_button,
body input,
body select,
body textarea {
  font-family: var(--gb-police);
}
body { color: var(--gb-texte); font-size: 16px; line-height: 23.2px; }
/* fin:gb-base */

/* bloc:gb-boutons */
/* Boutons du design system (maquette). Au survol : couleur seulement, même taille.
   Spécificité renforcée (#page-container .et_pb_section) pour passer devant les styles Divi par défaut des modules Bouton ;
   !important seulement là où Divi l'impose lui-même (line-height et taille de l'icône). */
body #page-container .et_pb_section .et_pb_button.gb-btn,
body #page-container .et_pb_section .et_pb_button.gb-btn:hover {
  display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--gb-police); font-weight: 700; font-size: 17px; line-height: 19.2px !important;
  color: #fff; background: var(--gb-orange);
  border: 1px solid var(--gb-orange); border-radius: var(--gb-rayon-bouton);
  padding: 14.4px 28px; min-height: 50px; letter-spacing: 0;
  white-space: nowrap; text-decoration: none; box-shadow: none;
  transition: background-color .2s ease, border-color .2s ease;
}
body #page-container .et_pb_section .et_pb_button.gb-btn:hover { background: #E9861A; border-color: #E9861A; }
/* Flèche après le texte (remplace l'icône de Divi) */
body #page-container .et_pb_section .et_pb_button.gb-btn::after,
body #page-container .et_pb_section .et_pb_button.gb-btn:hover::after {
  content: ""; position: static; display: inline-block; flex: 0 0 11px;
  width: 11px; height: 9px; margin: 0; opacity: 1;
  font-size: 0 !important; line-height: 0 !important;
  transform: none !important; top: auto; /* Divi décale son icône de -50 % : la flèche remontait de 4,5 px */
  background: url("icons/fleche.svg") center / contain no-repeat;
}
body #page-container .et_pb_section .et_pb_button.gb-btn--sans-fleche::after,
body #page-container .et_pb_section .et_pb_button.gb-btn--sans-fleche:hover::after { display: none; }
/* Bouton du hero : 54 px, rayon 12, lueur orange */
body #page-container .et_pb_section .et_pb_button.gb-btn--hero,
body #page-container .et_pb_section .et_pb_button.gb-btn--hero:hover {
  min-height: 54px; padding: 16.4px 28px; border-radius: var(--gb-rayon-bouton-hero);
  box-shadow: 0 10px 24px rgba(248,149,36,.45);
}
/* Bouton secondaire (fond bleu foncé, bordure blanche translucide, sans flèche) */
body #page-container .et_pb_section .et_pb_button.gb-btn--secondaire,
body #page-container .et_pb_section .et_pb_button.gb-btn--secondaire:hover {
  min-height: 54px; padding: 16.4px 28px; border-radius: var(--gb-rayon-bouton-hero);
  font-weight: 600; background: var(--gb-bleu-fonce); border-color: rgba(255,255,255,.35);
}
body #page-container .et_pb_section .et_pb_button.gb-btn--secondaire:hover { background: #10264F; border-color: rgba(255,255,255,.5); }
body #page-container .et_pb_section .et_pb_button.gb-btn--secondaire::after,
body #page-container .et_pb_section .et_pb_button.gb-btn--secondaire:hover::after { display: none; }
/* Lien de carte « En savoir plus → » : pilule 35 px, bordure orange */
body #page-container .et_pb_section .et_pb_button.gb-btn-lien,
body #page-container .et_pb_section .et_pb_button.gb-btn-lien:hover {
  display: inline-flex; flex-direction: row; align-items: center; justify-content: center; height: 35px; min-height: 35px; padding: 1px 15px 0; box-sizing: border-box; /* 1 px en haut : majuscules centrées à l'œil (Barlow a une descente plus grande que sa montée) */
  font-family: var(--gb-police); font-weight: 700; font-size: 15px; line-height: 16.8px !important;
  color: var(--gb-orange); background: #fff; border: 1px solid var(--gb-orange); border-radius: 17.5px;
  white-space: nowrap; text-decoration: none; box-shadow: none; letter-spacing: 0;
  transition: background-color .2s ease, color .2s ease;
}
body #page-container .et_pb_section .et_pb_button.gb-btn-lien:hover { background: var(--gb-orange); color: #fff; }
/* Boutons-liens ajoutés sur les pages intérieures : Divi leur applique ses réglages par défaut (texte blanc, 16 px, marges) ;
   on impose le style du composant sans avoir à nettoyer chaque module. */
body #page-container .et_pb_section .et_pb_button.gb-btn-lien { color: var(--gb-orange) !important; background-color: #fff !important; font-size: 15px !important; padding: 1px 15px 0 !important; border-width: 1px !important; border-color: var(--gb-orange) !important; border-radius: 17.5px !important; letter-spacing: 0 !important; }
body #page-container .et_pb_section .et_pb_button.gb-btn-lien:hover { color: #fff !important; background-color: var(--gb-orange) !important; }
body #page-container .et_pb_section .et_pb_button.gb-btn-lien::after,
body #page-container .et_pb_section .et_pb_button.gb-btn-lien:hover::after { display: none; }
body #page-container .et_pb_button.gb-btn:focus-visible,
body #page-container .et_pb_button.gb-btn-lien:focus-visible { outline: 3px solid var(--gb-bleu); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  body #page-container .et_pb_button.gb-btn, body #page-container .et_pb_button.gb-btn-lien { transition: none; }
}
/* fin:gb-boutons */

/* bloc:gb-hero */
/* Hero de l'accueil (maquette : 1920 × 839, contenu sur 1200 px) */
.gb-hero.et_pb_section {
  position: relative; overflow-x: clip;
  min-height: 839px; padding: 252px 0 0;
  background-color: var(--gb-bleu);
  background-image:
    linear-gradient(180deg, rgba(11,18,32,0) 60%, rgba(11,18,32,.35) 100%),
    linear-gradient(90deg, rgba(35,72,143,.94) 0%, rgba(35,72,143,.72) 42%, rgba(35,72,143,.18) 70%, rgba(35,72,143,0) 100%),
    url("/wp-content/uploads/2026/12/gb-hero-batiment.webp");
  background-size: cover; background-position: center;
  margin-bottom: 39px; /* place des cartes atouts qui débordent */
  gap: 0; row-gap: 0; /* Divi 5 espace les lignes d'une section Flex : la maquette fixe les écarts */
}
.gb-hero .et_pb_row.gb-hero__ligne,
.gb-hero .et_pb_row.gb-atouts {
  width: min(var(--gb-largeur), calc(100% - 40px)); max-width: none; padding: 0; margin: 0 auto;
}
.gb-hero .et_pb_row.gb-hero__ligne { display: flex; gap: 38px; align-items: flex-start; }

/* Colonne texte : 650 px, boutons côte à côte */
.gb-hero .et_pb_column.gb-hero__texte {
  flex: 0 0 650px; width: 650px; margin: 0;
  flex-direction: row; flex-wrap: wrap; align-content: flex-start; column-gap: 14px; row-gap: 0;
}
.gb-hero .gb-hero__texte > .et_pb_module:not(.et_pb_button_module_wrapper) { flex: 0 0 100%; margin: 0; }
.gb-hero .gb-hero__texte > .et_pb_button_module_wrapper { flex: 0 0 auto; margin: 0; }

body .gb-hero .gb-hero__surtitre p {
  font-family: var(--gb-police); font-weight: 500; font-size: 14px; line-height: 15.6px; color: #fff; padding: 0;
}
body .gb-hero .gb-hero__titre { margin-top: 29px !important; }
body .gb-hero .gb-hero__titre h1 {
  font-family: var(--gb-police); font-weight: 800; font-size: 54px; line-height: 58px;
  letter-spacing: -.6px; color: #fff; padding: 0; margin: 0;
}
.gb-hero .gb-accent { color: var(--gb-orange); }
body .gb-hero .gb-hero__chapo { margin-top: 20px !important; max-width: 520px; }
body .gb-hero .gb-hero__chapo p {
  font-family: var(--gb-police); font-weight: 400; font-size: 19px; line-height: 29.4px; color: #fff; padding: 0;
}
.gb-hero .gb-hero__texte > .et_pb_button_module_wrapper { margin-top: 32px; }

/* Colonne visuel : l'image (halo compris) déborde à droite, coupée par overflow-x */
.gb-hero .et_pb_column.gb-hero__visuel { flex: 1 1 auto; margin: 0; position: relative; }
/* Position de la maquette : 648 px après le bord gauche du contenu, 41 px au-dessus du surtitre ;
   la marge basse négative empêche l'image d'agrandir la ligne (les atouts restent calés sur le texte). */
/* !important : Divi 5 remet à 0 la marge basse des modules de colonne Flex avec un sélecteur plus fort */
body .gb-hero .et_pb_column .et_pb_module.gb-hero__ecran { margin: -41px 0 -96px -40px !important; width: 641px; max-width: none; }
.gb-hero .gb-hero__ecran img { width: 641px; height: auto; display: block; }

/* Cartes atouts : 4 × 288 px, 16 px d'écart, débordent de 39 px sous le hero */
.gb-hero .et_pb_row.gb-atouts {
  display: flex; gap: 16px; margin-top: 134px; margin-bottom: -39px; position: relative; z-index: 2;
}
.gb-hero .et_pb_column.gb-atout { flex: 1 1 0; width: auto; min-width: 0; margin: 0; }
/* Même marge à gauche et à droite (16 px) dans les 4 cartes, largeurs égales */
.gb-hero .gb-atout__carte {
  height: 108px; background: #fff; border-radius: 18px;
  box-shadow: 0 16px 40px rgba(11,18,32,.12);
  padding: 0 16px; margin: 0; display: flex; flex-direction: row; align-items: center; justify-content: flex-start;
}
.gb-hero .gb-atout__carte .et_pb_blurb_content {
  display: flex; flex-direction: row; align-items: center; gap: 13px; flex: 1 1 auto; min-width: 0; width: 100%; max-width: none; margin: 0; text-align: left;
}
.gb-hero .gb-atout__carte .et_pb_main_blurb_image {
  flex: 0 0 46px; width: 46px; height: 46px; margin: 0 !important; /* Divi centre l'icône (marges auto) quand le texte est court */
  background: var(--gb-teinte-orange); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.gb-hero .gb-atout__carte .et_pb_main_blurb_image .et_pb_image_wrap { display: flex; }
.gb-hero .gb-atout__carte .et_pb_main_blurb_image img { width: auto; max-width: 23px; height: auto; }
.gb-hero .gb-atout__carte .et_pb_blurb_container { padding: 0; }
body .gb-hero .gb-atout__carte .et_pb_module_header {
  font-family: var(--gb-police); font-weight: 700; font-size: 18px; line-height: 20.4px;
  color: var(--gb-texte); padding: 0; margin: 0 0 4px; white-space: nowrap;
}
body .gb-hero .gb-atout__carte .et_pb_blurb_description p {
  font-family: var(--gb-police); font-weight: 400; font-size: 16px; line-height: 18px; color: var(--gb-texte); padding: 0;
}

/* Tablette */
@media (max-width: 1240px) {
  .gb-hero .et_pb_column.gb-hero__texte { flex-basis: 560px; width: 560px; }
  body .gb-hero .gb-hero__titre h1 { font-size: 48px; line-height: 52px; }
  .gb-hero .et_pb_column.gb-atout { min-width: 0; }
  body .gb-hero .gb-atout__carte .et_pb_module_header { white-space: normal; } /* « Facturation électronique » passe sur 2 lignes au lieu de sortir de la carte */
}
@media (max-width: 980px) {
  .gb-hero.et_pb_section { min-height: 0; padding-top: 160px; }
  .gb-hero .et_pb_row.gb-hero__ligne { flex-direction: column; gap: 32px; }
  .gb-hero .et_pb_column.gb-hero__texte { flex: 0 0 auto; width: 100%; }
  .gb-hero .et_pb_column.gb-hero__visuel { width: 100%; display: flex; justify-content: center; }
  body .gb-hero .et_pb_column .et_pb_module.gb-hero__ecran { width: 100%; max-width: 560px; margin: 0 auto !important; }
  .gb-hero .gb-hero__ecran img { width: 100%; max-width: 560px; }
  .gb-hero .et_pb_row.gb-atouts { flex-wrap: wrap; margin-top: 24px; }
  .gb-hero .et_pb_column.gb-atout { flex: 0 0 calc(50% - 8px); }
}
/* Mobile */
@media (max-width: 767px) {
  .gb-hero.et_pb_section { padding-top: 120px; }
  body .gb-hero .gb-hero__titre { margin-top: 18px !important; }
  body .gb-hero .gb-hero__titre h1 { font-size: 36px; line-height: 40px; }
  body .gb-hero .gb-hero__chapo p { font-size: 17px; line-height: 26px; }
  .gb-hero .gb-hero__texte > .et_pb_button_module_wrapper { flex: 0 0 100%; margin-top: 12px; }
  .gb-hero .gb-hero__texte > .et_pb_button_module_wrapper:first-of-type { margin-top: 28px; }
  body #page-container .et_pb_section.gb-hero .et_pb_button.gb-btn { width: auto; max-width: 100%; white-space: normal; } /* largeur du texte, pas de bouton pleine largeur */
  body .gb-hero .gb-atout__carte .et_pb_main_blurb_image { align-self: flex-start; width: 46px; max-width: 46px; height: 46px; flex: 0 0 auto; margin: 0; }
  .gb-hero .gb-atout__carte { height: 100%; align-items: flex-start; }
  .gb-hero .et_pb_column.gb-atout { min-width: 0; }
  body .gb-hero .gb-atout__carte .et_pb_module_header { white-space: normal; }
  .gb-hero .et_pb_row.gb-atouts { gap: 12px; }
  .gb-hero .et_pb_column.gb-atout { flex: 0 0 calc(50% - 6px); }
  .gb-hero .gb-atout__carte { height: auto; min-height: 96px; padding: 14px; }
  .gb-hero .gb-atout__carte .et_pb_blurb_content { flex-direction: column; align-items: flex-start; gap: 10px; }
  body .gb-hero .gb-atout__carte .et_pb_module_header { font-size: 16px; line-height: 19px; }
  body .gb-hero .gb-atout__carte .et_pb_blurb_description p { font-size: 14px; line-height: 17px; }
}
/* Entre 981 et 1 240 px : l'écran d'exemple suit la place restante (il débordait de 120 à 180 px).
   Limité à 981 px et plus : en dessous, la ligne passe en colonne et flex: 1 1 0 écrasait sa hauteur. */
@media (min-width: 981px) and (max-width: 1240px) {
  .gb-hero .et_pb_column.gb-hero__visuel { flex: 1 1 0; min-width: 0; }
  body .gb-hero .et_pb_column .et_pb_module.gb-hero__ecran { width: calc(100% + 40px); max-width: 641px; }
  .gb-hero .gb-hero__ecran img { width: 100%; }
}
/* (mouvement réduit : géré dans gb-boutons) */
/* fin:gb-hero */

/* bloc:gb-composants */
/* Composants de texte réutilisés sur tout le site (maquette) */
/* Lignes : contenu sur 1200 px */
.et_pb_section[class*="gb-"] > .et_pb_row[class*="gb-"] {
  width: min(var(--gb-largeur), calc(100% - 40px)); max-width: none; padding: 0; margin-left: auto; margin-right: auto;
}
/* Divi 5 espace de 30 px les modules d'une colonne Flex : les écarts viennent de la maquette */
.et_pb_section[class*="gb-"] .et_pb_column { row-gap: 0; }
/* Surtitre orange en majuscules */
body .gb-surtitre p {
  font-family: var(--gb-police); font-weight: 700; font-size: 12px; line-height: 15px;
  letter-spacing: .7px; text-transform: uppercase; color: var(--gb-orange); padding: 0;
}
/* Titre de section H2 */
body .gb-titre-section h2 {
  font-family: var(--gb-police); font-weight: 800; font-size: 40px; line-height: 44px;
  letter-spacing: -.6px; color: var(--gb-texte); padding: 0; margin: 0;
}
/* Chapô de section */
body .gb-chapo p {
  font-family: var(--gb-police); font-weight: 400; font-size: 18px; line-height: 27.2px; color: var(--gb-texte); padding: 0;
}
/* Liste à coches orange (pastille #FFEBD6) */
body .gb-liste-coches ul { list-style: none; margin: 0; padding: 0; }
body .gb-liste-coches li {
  position: relative; padding: 3px 0 3px 40px; margin: 0 0 14px;
  font-family: var(--gb-police); font-weight: 500; font-size: 17px; line-height: 20px; color: var(--gb-texte);
}
body .gb-liste-coches li:last-child { margin-bottom: 0; }
body .gb-liste-coches li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 13px;
  background: var(--gb-teinte-orange-2) url("icons/coche-orange.svg") center / 10px 9px no-repeat;
}
/* Carte chiffre clé (ex. 26 ans) */
body .gb-carte-chiffre {
  background: #fff; border-radius: var(--gb-rayon-carte); box-shadow: 0 14px 36px rgba(11,18,32,.16);
  padding: 31px 25px 31px; width: 250px;
}
body .gb-carte-chiffre .gb-carte-chiffre__valeur {
  font-family: var(--gb-police); font-weight: 800; font-size: 36px; line-height: 40px; color: var(--gb-orange); padding: 0 0 8px; white-space: nowrap;
}
body .gb-carte-chiffre .gb-carte-chiffre__texte {
  font-family: var(--gb-police); font-weight: 400; font-size: 15px; line-height: 20px; color: var(--gb-texte); padding: 0; max-width: 200px;
}
@media (max-width: 767px) {
  body .gb-titre-section h2 { font-size: 30px; line-height: 34px; }
  body .gb-chapo p { font-size: 17px; line-height: 26px; }
}
/* fin:gb-composants */

/* bloc:gb-terrain */
/* Section « Pensé pour le terrain » (maquette : y 898, texte à y 996) */
.gb-terrain.et_pb_section { background: #fff; padding: 118px 0 122px; overflow-x: clip; gap: 0; row-gap: 0; }
.gb-terrain .et_pb_row.gb-terrain__ligne { display: flex; gap: 60px; align-items: flex-start; }
.gb-terrain .et_pb_column.gb-terrain__visuel { flex: 0 0 600px; width: 600px; margin: 0; position: relative; }
.gb-terrain .et_pb_column.gb-terrain__texte { flex: 0 0 540px; width: 540px; margin: 0; }
/* Image exportée avec halo et ombres : 735 × 672, décalée de -45 / -94 px */
body .gb-terrain .et_pb_column .et_pb_module.gb-terrain__image { margin: -94px 0 -76px -45px !important; width: 735px; max-width: none; }
.gb-terrain .gb-terrain__image img { width: 735px; height: auto; display: block; }
/* Carte 26 ans posée sur le visuel (maquette : x 710, y 1374) */
body .gb-terrain .et_pb_column .et_pb_module.gb-carte-chiffre { position: absolute; left: 350px; top: 378px; margin: 0 !important; z-index: 2; }
/* Rythme vertical de la colonne texte */
body .gb-terrain .gb-terrain__texte > .et_pb_module { margin: 0 !important; }
body .gb-terrain .gb-terrain__texte > .gb-titre-section { margin-top: 25px !important; }
body .gb-terrain .gb-terrain__texte > .gb-chapo { margin-top: 18px !important; }
body .gb-terrain .gb-terrain__texte > .gb-liste-coches { margin-top: 53px !important; }
body .gb-terrain .gb-terrain__texte > .et_pb_button_module_wrapper { margin-top: 36px !important; }
@media (max-width: 1240px) {
  .gb-terrain .et_pb_row.gb-terrain__ligne { gap: 40px; }
  .gb-terrain .et_pb_column.gb-terrain__visuel { flex: 1 1 50%; width: auto; }
  .gb-terrain .et_pb_column.gb-terrain__texte { flex: 1 1 50%; width: auto; }
  body .gb-terrain .et_pb_column .et_pb_module.gb-terrain__image { width: 100%; margin: -60px 0 0 -30px !important; }
  .gb-terrain .gb-terrain__image img { width: 100%; }
  body .gb-terrain .et_pb_column .et_pb_module.gb-carte-chiffre { left: auto; right: 0; top: auto; bottom: 0; }
}
@media (max-width: 980px) {
  .gb-terrain.et_pb_section { padding: 72px 0; }
  .gb-terrain .et_pb_row.gb-terrain__ligne { flex-direction: column-reverse; gap: 32px; }
  .gb-terrain .et_pb_column.gb-terrain__visuel, .gb-terrain .et_pb_column.gb-terrain__texte { flex: 0 0 auto; width: 100%; }
  body .gb-terrain .et_pb_column .et_pb_module.gb-terrain__image { margin: 0 auto !important; max-width: 560px; }
  body .gb-terrain .et_pb_column .et_pb_module.gb-carte-chiffre { position: relative; left: auto; right: auto; bottom: auto; margin: -40px 0 0 auto !important; }
}
@media (max-width: 767px) {
  .gb-terrain.et_pb_section { padding: 56px 0; }
  body .gb-terrain .gb-terrain__texte > .gb-liste-coches { margin-top: 28px !important; }
  body .gb-terrain .gb-terrain__texte > .et_pb_button_module_wrapper { margin-top: 28px !important; }
  body .gb-carte-chiffre { width: 210px; padding: 20px; }
}
/* fin:gb-terrain */

/* bloc:gb-sections */
/* Sections 3 à 9 de l'accueil (mesures de la maquette, contenu sur 1200 px) */
.et_pb_section.gb-fonctions, .et_pb_section.gb-productivite, .et_pb_section.gb-situations,
.et_pb_section.gb-soustraitance, .et_pb_section.gb-integre, .et_pb_section.gb-faq, .et_pb_section.gb-demo { gap: 0; row-gap: 0; overflow-x: clip; }
.et_pb_section[class*="gb-"] .et_pb_column > .et_pb_module { margin-bottom: 0; }

/* En-tête centré (surtitre + H2) */
.gb-entete .et_pb_column { align-items: center; text-align: center; }
body .gb-entete .et_pb_text_inner, body .gb-entete h2, body .gb-entete p,
body .gb-demo .et_pb_text_inner, body .gb-demo h2, body .gb-demo p { text-align: center; }
body .gb-entete .gb-titre-section { margin-top: 21px !important; max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
body .gb-entete .gb-titre-section:first-child { margin-top: 0 !important; }
body .gb-sur-fonce.gb-titre-section h2, body .gb-sur-fonce.gb-chapo p { color: #fff; }

/* ---------- 3. Fonctionnalités ---------- */
.et_pb_section.gb-fonctions { background: var(--gb-creme); padding: 103px 0 96px; }
.gb-fonctions .et_pb_row.gb-cartes-fonction { display: flex; gap: 24px; margin-top: 24px; }
.gb-fonctions .gb-entete + .et_pb_row.gb-cartes-fonction { margin-top: 48px; }
.gb-fonctions .et_pb_column.gb-carte-fonction {
  flex: 1 1 0; width: auto; margin: 0; min-height: 438.8px;
  display: flex; flex-direction: column; background: #fff; border-radius: var(--gb-rayon-carte);
  box-shadow: var(--gb-ombre-carte); padding: 10px 10px 26px;
}
.gb-carte-fonction .gb-carte-fonction__photo, .gb-carte-fonction .gb-carte-fonction__photo .et_pb_image_wrap { width: 100%; display: block; }
.gb-carte-fonction .gb-carte-fonction__photo img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--gb-rayon-photo); display: block; }
body .gb-carte-fonction .gb-carte-fonction__titre { position: relative; margin: 40px 16px 0 !important; }
body .gb-carte-fonction .gb-carte-fonction__titre h3 {
  font-family: var(--gb-police); font-weight: 700; font-size: 21px; line-height: 25.2px; color: var(--gb-texte); padding: 0;
}
/* Pastille d'icône à cheval sur la photo (maquette : 26 px au-dessus du bas de la photo) */
.gb-carte-fonction .gb-carte-fonction__titre::before {
  content: ""; position: absolute; left: 0; top: -66px; width: 52px; height: 52px; border-radius: 14px;
  background: #fff center / auto 22px no-repeat; box-shadow: 0 8px 20px rgba(11,18,32,.16);
}
.gb-icone--pointage::before { background-image: url("icons/carte-pointage.svg") !important; }
.gb-icone--productivite::before { background-image: url("icons/carte-productivite.svg") !important; background-size: auto 20px !important; }
.gb-icone--budget::before { background-image: url("icons/carte-budget.svg") !important; background-size: auto 20px !important; }
.gb-icone--situations::before { background-image: url("icons/carte-situations.svg") !important; }
.gb-icone--sous-traitance::before { background-image: url("icons/carte-sous-traitance.svg") !important; background-size: auto 20px !important; }
.gb-icone--qsse::before { background-image: url("icons/carte-qsse.svg") !important; background-size: auto 20px !important; }
body .gb-carte-fonction .gb-carte-fonction__texte { margin: 12.8px 16px 0 !important; }
body .gb-carte-fonction .gb-carte-fonction__texte p { font-family: var(--gb-police); font-size: 16px; line-height: 23.2px; color: var(--gb-texte); padding: 0; }
body .gb-carte-fonction > .et_pb_button_module_wrapper { margin: auto 16px 0 !important; padding-top: 10px; }

/* ---------- 4. Productivité (bandeau photo) ---------- */
.et_pb_section.gb-productivite {
  padding: 96px 0; background-color: var(--gb-bleu);
  background-image:
    linear-gradient(90deg, rgba(35,72,143,.93) 0%, rgba(35,72,143,.82) 55%, rgba(35,72,143,.6) 100%),
    url("/wp-content/uploads/2026/12/gb-bandeau-chantiers.webp");
  background-size: cover; background-position: center;
}
.gb-productivite .et_pb_row.gb-productivite__ligne { display: flex; gap: 0; align-items: flex-start; }
.gb-productivite .et_pb_column.gb-productivite__texte { flex: 0 0 494px; width: 494px; margin: 0; align-items: flex-start; }
.gb-productivite .et_pb_column.gb-productivite__visuel { flex: 1 1 auto; margin: 0; }
body .gb-productivite .et_pb_column .et_pb_module.gb-productivite__image { margin: 10px 0 -37px !important; width: 766px; max-width: none; }
.gb-productivite .gb-productivite__image img { width: 766px; height: auto; display: block; }
body .gb-badge { display: inline-flex; width: auto; align-self: flex-start; }
body .gb-badge .et_pb_text_inner p,
body .gb-badge .et_pb_text_inner p:last-of-type {
  display: inline-block; font-family: var(--gb-police); font-weight: 700; font-size: 12px; line-height: 14.4px;
  letter-spacing: .7px; text-transform: uppercase; color: #fff;
  background: rgba(227,232,242,.38); border-radius: 14.5px; padding: 7px 14px;
}
body .gb-productivite .gb-titre-section { margin-top: 20px !important; max-width: 444px; }
body .gb-productivite .gb-chapo { margin-top: 23px !important; max-width: 500px; }
body .gb-productivite .gb-productivite__texte > .et_pb_button_module_wrapper { margin-top: 17px !important; }

/* ---------- 5. Situations de travaux (étapes) ---------- */
.et_pb_section.gb-situations { background: var(--gb-creme); padding: 103px 0 97px; }
body .gb-situations .gb-titre-section h2 { max-width: 640px; margin-left: auto; margin-right: auto; } /* coupure de la maquette : « …général, / sans tableur à côté » */
.gb-situations .et_pb_row.gb-etapes { display: flex; gap: 20px; margin-top: 48px; }
.gb-situations .et_pb_column.gb-etape {
  flex: 1 1 0; width: auto; margin: 0; min-height: 202.5px; background: #fff;
  border-radius: var(--gb-rayon-petite-carte); box-shadow: var(--gb-ombre-petite-carte); padding: 30px 24px 28px;
}
.gb-etape .gb-etape__contenu .et_pb_text_inner { text-align: center; }
body .gb-etape .gb-etape__num {
  width: 52px; height: 52px; margin: 0 auto; border-radius: 26px; background: var(--gb-orange);
  display: flex; align-items: center; justify-content: center; padding: 0;
  font-family: var(--gb-police); font-weight: 700; font-size: 20px; line-height: 24px; color: #fff;
}
body .gb-etape h3 { font-family: var(--gb-police); font-weight: 700; font-size: 18px; line-height: 21.6px; color: var(--gb-texte); padding: 0; margin: 11px 0 0; }
body .gb-etape h3 + p { font-family: var(--gb-police); font-size: 16px; line-height: 23.2px; color: var(--gb-texte); padding: 0; margin-top: 13.4px; }

/* ---------- 6. Sous-traitance ---------- */
.et_pb_section.gb-soustraitance { background: #fff; padding: 106px 0 40px; }
.gb-soustraitance .et_pb_row.gb-soustraitance__ligne { display: flex; gap: 0; align-items: flex-start; }
.gb-soustraitance .et_pb_column.gb-soustraitance__visuel { flex: 0 0 702px; width: 702px; margin: 0; }
.gb-soustraitance .et_pb_column.gb-soustraitance__texte { flex: 0 0 498px; width: 498px; margin: 0; }
body .gb-soustraitance .et_pb_column .et_pb_module.gb-soustraitance__image { margin: -62px 0 0 -28px !important; width: 720px; max-width: none; }
.gb-soustraitance .gb-soustraitance__image img { width: 720px; height: auto; display: block; }
body .gb-soustraitance .gb-titre-section { margin-top: 18.6px !important; max-width: 400px; }
body .gb-soustraitance .gb-chapo { margin-top: 18px !important; max-width: 494px; }
body .gb-soustraitance .gb-etiquettes { margin-top: 24px !important; }
body .gb-etiquettes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
body .gb-etiquettes li {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px 0 34px; margin: 0; border-radius: 17px;
  background: var(--gb-teinte-bleu) url("icons/coche-bleue.svg") 16px center / 10px 8px no-repeat;
  font-family: var(--gb-police); font-weight: 600; font-size: 14px; line-height: 17px; color: var(--gb-bleu);
}

/* ---------- 7. Gestion intégrée (5 blocs) ---------- */
.et_pb_section.gb-integre { background: #fff; padding: 103px 0 96px; }
.gb-integre .et_pb_row.gb-blocs { display: flex; gap: 16px; margin-top: 40px; }
.gb-integre .et_pb_column.gb-bloc {
  flex: 1 1 0; width: auto; margin: 0; min-height: 115px; background: #fff;
  border-radius: var(--gb-rayon-petite-carte); box-shadow: 0 10px 28px rgba(11,18,32,.09); padding: 21px 22px;
}
.gb-integre .et_pb_column.gb-bloc--accent { background: transparent; box-shadow: none; border: 2px solid var(--gb-orange); padding: 19px 20px 18px; } /* bordure comprise : texte à 21 px du bord, comme les autres blocs */
body .gb-bloc h3 { font-family: var(--gb-police); font-weight: 700; font-size: 18px; line-height: 21.6px; color: var(--gb-texte); padding: 0; margin: 0; }
body .gb-bloc--accent h3 { max-width: 120px; }
body .gb-bloc .et_pb_text_inner > :last-child { padding-bottom: 0; margin-bottom: 0; }
body .gb-bloc h3 + p { font-family: var(--gb-police); font-size: 15px; line-height: 21px; color: var(--gb-texte); padding: 0; margin-top: 9.4px; }

/* ---------- 8. FAQ (accordéon natif) ---------- */
.et_pb_section.gb-faq { background: #F8FAFF; padding: 95px 0 97px; }
.et_pb_section.gb-faq > .et_pb_row.gb-faq__ligne { width: min(880px, calc(100% - 40px)); margin-top: 55px; }
body .gb-accordeon.et_pb_accordion { gap: 0; row-gap: 0; }
body .gb-accordeon .et_pb_toggle {
  background: transparent; border: 0; border-bottom: 1px solid #CEE5FF; border-radius: 0;
  padding: 23px 40px 22.4px 0; margin: 0;
}
body .gb-accordeon .et_pb_toggle:first-child { padding-top: 0; }
body .gb-accordeon .et_pb_toggle_title {
  font-family: var(--gb-police); font-weight: 700; font-size: 18px; line-height: 21.6px; color: var(--gb-texte); padding: 0; position: relative;
}
body .gb-accordeon .et_pb_toggle_title::before {
  content: ""; font-size: 0 !important; position: absolute; right: -40px; left: auto; top: -1px; margin: 0;
  width: 24px; height: 24px; background: url("icons/faq-plus.svg") center / contain no-repeat;
}
body .gb-accordeon .et_pb_toggle_open .et_pb_toggle_title::before { display: block !important; background-image: url("icons/faq-moins.svg"); } /* Divi masque l'icône de la question ouverte */
body .gb-accordeon .et_pb_toggle_content { padding: 11.4px 0 0; }
body .gb-accordeon .et_pb_toggle_content p { font-family: var(--gb-police); font-size: 16px; line-height: 24px; color: var(--gb-texte); padding: 0; }

/* ---------- 9. Démo ---------- */
.et_pb_section.gb-demo { background: var(--gb-bleu); padding: 80px 0; }
.gb-demo .et_pb_column.gb-demo__col { align-items: center; text-align: center; }
body .gb-demo .gb-titre-section { max-width: 710px; margin: 0 auto !important; }
body .gb-demo .gb-chapo { max-width: 705px; margin: 23px auto 0 !important; }
body .gb-demo .gb-coordonnees { margin-top: 26px !important; }
body .gb-coordonnees p { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 36px; padding: 0; }
body .gb-coordonnees a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px;
  font-family: var(--gb-police); font-size: 17px; line-height: 19.2px; color: #fff; text-decoration: none;
}
body .gb-coordonnees a::before { content: ""; flex: 0 0 34px; width: 34px; height: 34px; background: center / contain no-repeat; }
body .gb-coordonnees .gb-coordonnees__tel { font-weight: 600; }
body .gb-coordonnees .gb-coordonnees__tel::before { background-image: url("icons/demo-telephone.svg"); }
body .gb-coordonnees .gb-coordonnees__mail::before { background-image: url("icons/demo-email.svg"); }
body .gb-coordonnees a:hover { text-decoration: underline; }
body .gb-demo .gb-demo__col > .et_pb_button_module_wrapper { margin-top: 33px !important; align-self: center; }
body #page-container .et_pb_section.gb-demo .et_pb_button.gb-btn { min-width: 320px; }

/* ---------- Tablette ---------- */
@media (max-width: 1240px) {
  .gb-productivite .et_pb_column.gb-productivite__texte { flex-basis: 440px; width: 440px; }
  body .gb-productivite .et_pb_column .et_pb_module.gb-productivite__image,
  .gb-productivite .gb-productivite__image img { width: 100%; }
  body .gb-productivite .et_pb_column .et_pb_module.gb-productivite__image { margin: 0 !important; }
  .gb-soustraitance .et_pb_column.gb-soustraitance__visuel { flex: 1 1 55%; width: auto; }
  .gb-soustraitance .et_pb_column.gb-soustraitance__texte { flex: 1 1 45%; width: auto; }
  body .gb-soustraitance .et_pb_column .et_pb_module.gb-soustraitance__image,
  .gb-soustraitance .gb-soustraitance__image img { width: 100%; }
  body .gb-soustraitance .et_pb_column .et_pb_module.gb-soustraitance__image { margin: -40px 0 0 -20px !important; }
  .gb-integre .et_pb_row.gb-blocs { flex-wrap: wrap; }
  .gb-integre .et_pb_column.gb-bloc { flex: 1 1 calc(33.333% - 11px); }
}
@media (max-width: 980px) {
  .et_pb_section.gb-fonctions, .et_pb_section.gb-situations, .et_pb_section.gb-integre { padding: 72px 0; }
  .et_pb_section.gb-faq, .et_pb_section.gb-demo, .et_pb_section.gb-productivite { padding: 64px 0; }
  .et_pb_section.gb-soustraitance { padding: 64px 0; }
  .gb-fonctions .et_pb_row.gb-cartes-fonction { flex-wrap: wrap; }
  .gb-fonctions .et_pb_column.gb-carte-fonction { flex: 1 1 calc(50% - 12px); }
  .gb-productivite .et_pb_row.gb-productivite__ligne, .gb-soustraitance .et_pb_row.gb-soustraitance__ligne { flex-direction: column; gap: 32px; }
  .gb-productivite .et_pb_column.gb-productivite__texte, .gb-productivite .et_pb_column.gb-productivite__visuel,
  .gb-soustraitance .et_pb_column.gb-soustraitance__visuel, .gb-soustraitance .et_pb_column.gb-soustraitance__texte { flex: 0 0 auto; width: 100%; }
  .gb-soustraitance .et_pb_column.gb-soustraitance__visuel { order: 2; }
  body .gb-soustraitance .et_pb_column .et_pb_module.gb-soustraitance__image { margin: 0 !important; }
  .gb-situations .et_pb_row.gb-etapes { flex-wrap: wrap; }
  .gb-situations .et_pb_column.gb-etape { flex: 1 1 calc(50% - 10px); }
}
/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .gb-fonctions .et_pb_column.gb-carte-fonction { flex: 1 1 100%; min-height: 0; }
  .gb-carte-fonction .gb-carte-fonction__photo img { height: 170px; }
  .gb-fonctions .gb-entete + .et_pb_row.gb-cartes-fonction { margin-top: 32px; }
  .gb-fonctions .et_pb_row.gb-cartes-fonction { gap: 16px; margin-top: 16px; }
  .gb-situations .et_pb_row.gb-etapes { gap: 12px; margin-top: 32px; }
  .gb-situations .et_pb_column.gb-etape { flex: 1 1 calc(50% - 6px); min-height: 0; padding: 20px 14px; }
  body .gb-etape h3 + p { font-size: 14px; line-height: 20px; }
  .gb-integre .et_pb_row.gb-blocs { gap: 12px; margin-top: 32px; }
  .gb-integre .et_pb_column.gb-bloc { flex: 1 1 calc(50% - 6px); padding: 16px; min-height: 0; }
  .gb-integre .et_pb_column.gb-bloc--accent { flex-basis: 100%; }
  body .gb-bloc--accent h3 { max-width: none; }
  .gb-faq .et_pb_row.gb-faq__ligne { margin-top: 32px; }
  body .gb-accordeon .et_pb_toggle_title { font-size: 17px; line-height: 21px; }
  body #page-container .et_pb_section.gb-demo .et_pb_button.gb-btn { min-width: 0; width: auto; max-width: 100%; white-space: normal; }
  body .gb-demo .gb-demo__col > .et_pb_button_module_wrapper { width: auto; max-width: 100%; align-self: center; }
}
/* fin:gb-sections */

/* bloc:gb-entete-pied */
/* En-tête et pied de page (Theme Builder, maquette) */

/* ---------- En-tête : superposé au haut de page ---------- */
.et-l--header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background-color .25s ease, box-shadow .25s ease; }
html { scroll-padding-top: 84px; } /* ancres (/#fonctionnalites…) non masquées par l'en-tête collé */
body.admin-bar .et-l--header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .et-l--header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar:not(.gb-entete-colle) .et-l--header { top: 46px; } body.admin-bar.gb-entete-colle .et-l--header { top: 0; } } /* la barre d'admin défile sous 600 px */
/* En-tête collé (classe posée par js/gb-entete.js au défilement) : fond bleu, barre du haut repliée */
body.gb-entete-colle .et-l--header { background: rgba(23,51,107,.97); box-shadow: 0 8px 24px rgba(11,18,32,.18); }
.et_pb_section.gb-entete-site > .et_pb_row.gb-barre-haut { transition: height .25s ease, padding .25s ease, opacity .2s ease; }
body.gb-entete-colle .et_pb_section.gb-entete-site > .et_pb_row.gb-barre-haut { height: 0; padding-top: 0; opacity: 0; overflow: hidden; }
body.gb-entete-colle .et_pb_section.gb-entete-site > .et_pb_row.gb-barre-nav { margin-top: 12px; margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .et-l--header, .et_pb_section.gb-entete-site > .et_pb_row.gb-barre-haut { transition: none; } }
.et-l--header .et_pb_section.gb-entete-site { background: transparent; padding: 0; gap: 0; row-gap: 0; }
.et_pb_section.gb-entete-site > .et_pb_row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; column-gap: 0; }
.gb-entete-site .et_pb_column { width: auto; flex: 0 0 auto; margin: 0; }
.gb-entete-site .et_pb_module { margin: 0 !important; }

/* Barre du haut : texte à 30 px, filet blanc translucide pleine largeur à 56 px */
.et_pb_section.gb-entete-site > .et_pb_row.gb-barre-haut { position: relative; height: 41px; padding: 13px 0 0; align-items: flex-start; } /* première ligne resserrée (demande client, maquette : 30 px) */
.gb-barre-haut::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; height: 1px;
  transform: translateX(-50%); background: rgba(255,255,255,.25);
}
body .gb-barre-haut .et_pb_text p { padding: 0; font-weight: 500; font-size: 15px; line-height: 15.6px; color: #fff; }
body .gb-barre-haut .et_pb_text a { color: #fff; text-decoration: none; }
body .gb-barre-haut .et_pb_text a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gb-barre-haut__contact p { display: flex; gap: 24px; }

/* Barre de navigation : logo, menu en pilule translucide, bouton démo */
.et_pb_section.gb-entete-site > .et_pb_row.gb-barre-nav { position: relative; margin-top: 17px; height: 46px; }
.gb-logo img { display: block; width: 137px; height: auto; }
.gb-nav.et_pb_menu, .gb-nav .et_pb_menu__wrap { background: transparent !important; }
.gb-nav .et_pb_menu__menu > nav > ul.et-menu {
  display: flex; align-items: center; justify-content: space-between;
  box-sizing: border-box; width: 775.5px; height: 46px; padding: 0 24px !important; margin: 0; /* Divi impose padding: 0 !important */
  background: rgba(35,72,143,.55); border: 1px solid rgba(255,255,255,.25); border-radius: 23px;
}
.gb-nav .et-menu > li { padding: 0 !important; margin: 0 !important; } /* Divi ajoute 8 px en haut */
.gb-nav .et-menu > li > a {
  padding: 0 !important; font-family: var(--gb-police); font-weight: 500; font-size: 16px; line-height: 18px;
  color: #fff !important; opacity: 1 !important; transition: color .2s ease;
}
.gb-nav .et-menu > li > a:hover { color: var(--gb-orange) !important; }
/* Les liens d'ancre de l'accueil (/#…) sont marqués « page courante » par WordPress : pas de couleur active pour eux */
.gb-nav a:focus-visible, .gb-logo a:focus-visible, .gb-barre-haut a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Bouton « Demander une démo » de l'en-tête : 186 × 44, rayon 10, 16 px gras */
body #page-container .et_pb_section .et_pb_button.gb-btn.gb-btn--nav,
body #page-container .et_pb_section .et_pb_button.gb-btn.gb-btn--nav:hover {
  min-height: 44px; height: 44px; padding: 0 19px; font-size: 16px; line-height: 18px !important; border-radius: 10px;
}

/* Menu mobile (Divi : moins de 981 px) */
/* Icône hamburger blanche (Divi impose sa couleur d'accent bleue) */
body .et-l--header .gb-nav .mobile_nav .mobile_menu_bar::before,
body .et-l--header .gb-nav .mobile_nav.opened .mobile_menu_bar::before { color: #fff !important; font-size: 32px; }
body .et-l--header .gb-nav .mobile_menu_bar { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; } /* zone tactile 44 px */
/* Le menu déroulant prend la largeur de la ligne de navigation (positionnée) */
.gb-entete-site .et_pb_column.gb-barre-nav__menu, .gb-nav, .gb-nav .et_pb_menu__wrap, .gb-nav .et_pb_menu__menu, .gb-nav .et_pb_menu_inner_container, .gb-nav .mobile_nav { position: static !important; }
.gb-nav .et_mobile_menu {
  left: 0; right: 0; width: auto; top: calc(100% + 12px); padding: 8px 0;
  border: 0; border-radius: var(--gb-rayon-petite-carte, 16px); background: #fff; box-shadow: 0 20px 50px rgba(11,18,32,.18);
}
.gb-nav .et_mobile_menu li a {
  padding: 14px 24px; border: 0; font-family: var(--gb-police); font-weight: 600; font-size: 17px; line-height: 20px; color: var(--gb-texte);
}
.gb-nav .et_mobile_menu li a:hover { background: var(--gb-creme); color: var(--gb-bleu); opacity: 1; }

/* Sous 1 200 px, logo + menu (775 px) + bouton ne tiennent plus sur une ligne :
   menu « hamburger » dès 1 199 px (Divi ne le fait qu'à 980 px). */
@media (max-width: 1199px) {
  .gb-nav .et_pb_menu__menu { display: none !important; }
  .gb-nav .et_mobile_nav_menu { display: flex !important; align-items: center; }
  .gb-barre-nav__menu { order: 3; }
  .gb-barre-nav__cta { order: 2; margin-left: auto !important; }
  .et_pb_section.gb-entete-site > .et_pb_row.gb-barre-nav { column-gap: 20px; }
}
@media (max-width: 767px) {
  .et_pb_section.gb-entete-site > .et_pb_row.gb-barre-haut { display: none; }
  .et_pb_section.gb-entete-site > .et_pb_row.gb-barre-nav { margin-top: 16px; }
  .gb-logo img { width: 112px; }
  body #page-container .et_pb_section .et_pb_button.gb-btn.gb-btn--nav,
  body #page-container .et_pb_section .et_pb_button.gb-btn.gb-btn--nav:hover { min-height: 40px; height: 40px; padding: 0 14px; font-size: 14px; }
  .et_pb_section.gb-entete-site > .et_pb_row.gb-barre-nav { column-gap: 12px; }
}
@media (max-width: 340px) { /* sous 340 px seulement : logo, bouton et menu ne tiennent plus ensemble */
  .gb-barre-nav__cta { display: none; }
}

/* ---------- Pied de page : fond blanc, 4 colonnes, filet et mentions ---------- */
.et-l--footer .et_pb_section.gb-pied { background: #fff; padding: 55px 0 24px; gap: 0; row-gap: 0; }
.et_pb_section.gb-pied > .et_pb_row.gb-pied__ligne {
  /* Colonnes proportionnelles à la maquette ; la dernière s'adapte à l'adresse e-mail (plus longue que celle de la maquette) */
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr) minmax(0, .66fr) max-content; column-gap: 0; align-items: start;
}
@media (min-width: 1360px) { /* grand écran : colonnes exactes de la maquette (l'e-mail déborde à droite sans rien couper) */
  .et_pb_section.gb-pied > .et_pb_row.gb-pied__ligne { grid-template-columns: 466px 288.6px 306.7px auto; }
}
.gb-pied .et_pb_column { width: auto; margin: 0; }
.gb-pied .et_pb_module { margin: 0 !important; }
body .gb-pied .et_pb_text p, body .gb-pied .et_pb_text li {
  font-family: var(--gb-police); font-weight: 400; font-size: 15px; line-height: 22.4px; color: var(--gb-texte); padding: 0;
}
body .gb-pied__presentation p:first-child { max-width: 302px; }
.gb-pied .et_pb_module.gb-logo--fonce { margin-bottom: 18px !important; } /* respiration sous le logo (demande client) */
body .gb-pied__presentation p + p { margin-top: 6.7px; }
body .gb-pied .et_pb_text p.gb-pied__titre { font-weight: 700; }
.et-l--footer .gb-pied__liens ul { list-style: none; margin: 0; padding: 0; }
.gb-pied__liens li { margin-top: 8px; padding: 0; }
body .gb-pied a { color: var(--gb-texte); text-decoration: none; transition: color .2s ease; }
body .gb-pied a:hover { color: var(--gb-bleu); text-decoration: underline; text-underline-offset: 3px; }
body .gb-pied a:focus-visible { outline: 2px solid var(--gb-bleu); outline-offset: 2px; }

.et_pb_section.gb-pied > .et_pb_row.gb-pied__bas {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 41px; padding-top: 20.5px; border-top: 1px solid rgba(11,18,32,.25);
}
.gb-pied__bas .et_pb_column { width: auto; flex: 0 0 auto; }
body .gb-pied .gb-pied__mentions p { font-size: 14px; line-height: 20.8px; }
.gb-pied__mentions--liens p { display: flex; gap: 22px; }
body .gb-pied .gb-pied__mentions--liens a { text-decoration: underline; text-underline-offset: 3px; } /* liens légaux soulignés (maquette) */

@media (max-width: 980px) {
  .et_pb_section.gb-pied > .et_pb_row.gb-pied__ligne { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 767px) {
  .et-l--footer .et_pb_section.gb-pied { padding-top: 40px; }
  .et_pb_section.gb-pied > .et_pb_row.gb-pied__ligne { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; }
  body .gb-pied .et_pb_text a { overflow-wrap: anywhere; } /* l'adresse e-mail ne force plus la largeur sur petit écran */
  .gb-pied__marque { grid-column: 1 / -1; }
  .gb-pied__liens li { margin-top: 0; }
  .gb-pied__liens li a { display: inline-block; padding: 6px 0; } /* cible tactile */
  .et_pb_section.gb-pied > .et_pb_row.gb-pied__bas { flex-direction: column; align-items: flex-start; gap: 8px; }
}
/* fin:gb-entete-pied */

/* bloc:gb-mobile */
/* Finitions mobile (moins de 768 px) : visuels à pleine largeur sans leur halo vide,
   cartes Fonctionnalités compactes, hauteurs alignées, titres équilibrés.
   Recadrage des illustrations : marges négatives calculées sur la zone opaque de chaque image
   (en % de la largeur du conteneur, donc valables de 320 à 767 px). */
@media (max-width: 767px) {
  .et_pb_section.gb-hero, .et_pb_section.gb-terrain, .et_pb_section.gb-productivite, .et_pb_section.gb-soustraitance { overflow-x: clip; }

  /* Titres de section : lignes équilibrées, pas de mot orphelin */
  body .gb-titre-section h2, body .gb-hero h1 { text-wrap: balance; }

  /* Boutons : jamais plus larges que l'écran (texte sur 2 lignes si besoin, ex. 320 px) */
  body #page-container .et_pb_section .et_pb_button.gb-btn { max-width: 100%; white-space: normal; text-align: center; }
  /* Boutons plus compacts : largeur du texte, sur une seule ligne jusqu'à 320 px */
  body #page-container .et_pb_section .et_pb_button.gb-btn:not(.gb-btn--nav),
  body #page-container .et_pb_section .et_pb_button.gb-btn:not(.gb-btn--nav):hover { font-size: 16px; padding-left: 22px; padding-right: 22px; gap: 10px; min-height: 50px; }
  body .et_pb_section [class*="gb-"] > .et_pb_button_module_wrapper { max-width: 100%; }

  /* Hero : l'écran d'exemple occupe toute la largeur */
  body .gb-hero .et_pb_column .et_pb_module.gb-hero__ecran { width: 125.8% !important; max-width: none; margin: -4.6% 0 calc(-21% + 16px) -8.1% !important; }
  .gb-hero .gb-hero__ecran img { width: 100%; height: auto; }
  /* Cartes atouts : même hauteur sur une même ligne */
  .gb-hero .gb-atouts .et_pb_column.gb-atout { display: flex; }
  .gb-hero .gb-atouts .gb-atout__carte { flex: 1 1 auto; }

  /* Terrain : feuille de temps pleine largeur, carte « 26 ans » posée en bas à droite */
  body .gb-terrain .et_pb_column .et_pb_module.gb-terrain__image { width: 135% !important; max-width: none; margin: -27.5% 0 -18.7% -5.5% !important; }
  .gb-terrain .gb-terrain__image img { width: 100%; }
  body .gb-terrain .et_pb_column .et_pb_module.gb-carte-chiffre { position: relative; z-index: 2; width: 190px; margin: -28px 0 0 auto !important; padding: 16px 18px; }

  /* Fonctionnalités : cartes horizontales (photo à gauche), 6 cartes en ~1 100 px au lieu de ~1 750 px */
  .gb-fonctions .et_pb_column.gb-carte-fonction {
    display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px;
    padding: 10px 14px 14px 10px;
  }
  .gb-carte-fonction .gb-carte-fonction__photo { grid-column: 1; grid-row: 1 / span 3; height: 100%; }
  .gb-carte-fonction .gb-carte-fonction__photo .et_pb_image_wrap { height: 100%; }
  .gb-carte-fonction .gb-carte-fonction__photo img { height: 100%; min-height: 150px; border-radius: 10px; }
  .gb-carte-fonction > .et_pb_module:not(.gb-carte-fonction__photo), .gb-carte-fonction > .et_pb_button_module_wrapper { grid-column: 2; }
  body .gb-carte-fonction .gb-carte-fonction__titre { margin: 6px 0 0 !important; }
  .gb-carte-fonction .gb-carte-fonction__titre::before { display: none; } /* pastille réservée à la photo pleine largeur */
  body .gb-carte-fonction .gb-carte-fonction__titre h3 { font-size: 18px; line-height: 22px; }
  body .gb-carte-fonction .gb-carte-fonction__texte { margin: 6px 0 0 !important; }
  body .gb-carte-fonction .gb-carte-fonction__texte p { font-size: 15px; line-height: 21px; }
  body .gb-carte-fonction > .et_pb_button_module_wrapper { margin: 0 !important; padding-top: 10px; align-self: end; }

  /* Liens « En savoir plus » : pilule de 35 px, zone tactile de 44 px */
  body #page-container .et_pb_section .et_pb_button.gb-btn-lien { position: relative; }
  body #page-container .et_pb_section .et_pb_button.gb-btn-lien::before {
    content: ""; display: block !important; position: absolute; inset: -5px 0; opacity: 0; background: none; margin: 0;
  }

  /* Productivité : tableau pleine largeur, moins de vide sous le visuel */
  body .gb-productivite .et_pb_column .et_pb_module.gb-productivite__image { width: 118.7% !important; max-width: none; margin: -5.7% 0 -13.2% -9.3% !important; }
  .gb-productivite .gb-productivite__image img { width: 100%; }

  /* Sous-traitance : suivi des documents pleine largeur */
  body .gb-soustraitance .et_pb_column .et_pb_module.gb-soustraitance__image { width: 107.6% !important; max-width: none; margin: -2.7% 0 -4.6% -4.2% !important; }
  .gb-soustraitance .gb-soustraitance__image img { width: 100%; }

  /* Pied de page : liens légaux sur 2 lignes si besoin */
  .gb-pied__mentions--liens p { flex-wrap: wrap; row-gap: 6px; }
}
/* Très petits écrans (320 px) : carte « 26 ans » un peu plus étroite, boutons resserrés */
@media (max-width: 360px) {
  body #page-container .et_pb_section .et_pb_button.gb-btn:not(.gb-btn--nav),
  body #page-container .et_pb_section .et_pb_button.gb-btn:not(.gb-btn--nav):hover { font-size: 15px; padding-left: 16px; padding-right: 16px; }
  body .gb-terrain .et_pb_column .et_pb_module.gb-carte-chiffre { width: 170px; }
}
/* fin:gb-mobile */

/* bloc:gb-animations */
/* Animations légères, 100 % CSS (aucun script, aucune bibliothèque) :
   - seulement transform et opacity (calculés par la carte graphique, pas de recalcul de mise en page) ;
   - apparition au défilement via animation-timeline: view() ; les navigateurs qui ne la gèrent pas
     affichent simplement le contenu, sans animation ;
   - le titre H1 n'est jamais masqué (aucun effet sur le LCP) ;
   - tout est désactivé si le visiteur a demandé « réduire les animations » dans son système. */
@media (prefers-reduced-motion: no-preference) {

  /* ---------- 1. Entrée du hero (au chargement, sans toucher à l'opacité) ---------- */
  @keyframes gb-monte { from { transform: translateY(28px); } to { transform: none; } }
  .gb-hero .et_pb_column.gb-hero__visuel { animation: gb-monte .9s cubic-bezier(.2,.7,.2,1) both; }
  .gb-hero .et_pb_column.gb-atout { animation: gb-monte .7s cubic-bezier(.2,.7,.2,1) both; }
  .gb-hero .et_pb_column.gb-atout:nth-child(2) { animation-delay: .06s; }
  .gb-hero .et_pb_column.gb-atout:nth-child(3) { animation-delay: .12s; }
  .gb-hero .et_pb_column.gb-atout:nth-child(4) { animation-delay: .18s; }

  /* ---------- 2. Apparition au défilement ---------- */
  @supports (animation-timeline: view()) {
    @keyframes gb-apparait { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
    .et_pb_section[class*="gb-"]:not(.gb-hero) .et_pb_row.gb-entete,
    .gb-terrain .et_pb_column, .gb-productivite .et_pb_column, .gb-soustraitance .et_pb_column,
    .gb-fonctions .et_pb_column.gb-carte-fonction, .gb-situations .et_pb_column.gb-etape,
    .gb-integre .et_pb_column.gb-bloc, .gb-faq .gb-accordeon .et_pb_toggle, .gb-demo .et_pb_row {
      animation: gb-apparait linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 45%;
    }
    /* Décalage léger des cartes d'une même ligne */
    .gb-cartes-fonction .et_pb_column:nth-child(2), .gb-etapes .et_pb_column:nth-child(2), .gb-blocs .et_pb_column:nth-child(2),
    .gb-terrain .et_pb_column:nth-child(2), .gb-productivite .et_pb_column:nth-child(2), .gb-soustraitance .et_pb_column:nth-child(2) { animation-range: entry 10% entry 50%; }
    .gb-cartes-fonction .et_pb_column:nth-child(3), .gb-etapes .et_pb_column:nth-child(3), .gb-blocs .et_pb_column:nth-child(3) { animation-range: entry 15% entry 55%; }
    .gb-etapes .et_pb_column:nth-child(4), .gb-blocs .et_pb_column:nth-child(4) { animation-range: entry 20% entry 60%; }
    .gb-blocs .et_pb_column:nth-child(5) { animation-range: entry 25% entry 65%; }
  }

  /* ---------- 3. Survol (souris uniquement : rien ne reste « collé » sur mobile) ---------- */
  @media (hover: hover) and (pointer: fine) {
    /* Cartes : légère élévation */
    .gb-fonctions .et_pb_column.gb-carte-fonction, .gb-situations .et_pb_column.gb-etape,
    .gb-integre .et_pb_column.gb-bloc, .gb-hero .gb-atout__carte {
      transition: translate .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
    }
    .gb-fonctions .et_pb_column.gb-carte-fonction:hover, .gb-situations .et_pb_column.gb-etape:hover,
    .gb-integre .et_pb_column.gb-bloc:hover, .gb-hero .gb-atout__carte:hover {
      translate: 0 -6px; box-shadow: 0 22px 48px rgba(11,18,32,.14);
    }
    .gb-integre .et_pb_column.gb-bloc--accent:hover { box-shadow: 0 22px 48px rgba(248,149,36,.18); }

    /* Photo des cartes Fonctionnalités : zoom doux dans son cadre */
    .gb-carte-fonction .gb-carte-fonction__photo .et_pb_image_wrap { overflow: hidden; border-radius: var(--gb-rayon-photo); }
    .gb-carte-fonction .gb-carte-fonction__photo img { transition: scale .6s cubic-bezier(.2,.7,.2,1); }
    .gb-carte-fonction:hover .gb-carte-fonction__photo img { scale: 1.05; }

    /* Pastilles d'icônes et numéros d'étapes : petit rebond */
    .gb-hero .gb-atout__carte .et_pb_main_blurb_image, .gb-carte-fonction .gb-carte-fonction__titre::before { transition: scale .3s cubic-bezier(.3,1.6,.5,1); }
    .gb-hero .gb-atout__carte:hover .et_pb_main_blurb_image, .gb-carte-fonction:hover .gb-carte-fonction__titre::before { scale: 1.08; }

    /* Boutons : la flèche avance (propriété translate, indépendante du transform imposé par Divi) */
    body #page-container .et_pb_section .et_pb_button.gb-btn::after { transition: translate .25s ease; }
    body #page-container .et_pb_section .et_pb_button.gb-btn:hover::after { translate: 4px 0; }
    body #page-container .et_pb_section .et_pb_button.gb-btn, body #page-container .et_pb_section .et_pb_button.gb-btn-lien {
      transition: background-color .2s ease, border-color .2s ease, color .2s ease, translate .2s ease, box-shadow .2s ease;
    }
    body #page-container .et_pb_section .et_pb_button.gb-btn:hover { translate: 0 -2px; }
    body #page-container .et_pb_section .et_pb_button.gb-btn:active { translate: 0; }

    /* Liens du menu : soulignement qui se dessine */
    .gb-nav .et-menu > li > a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: color .2s ease, background-size .25s ease; }
    .gb-nav .et-menu > li > a:hover { background-size: 100% 1.5px; }

    /* FAQ : la question survolée passe en bleu */
    body .gb-accordeon .et_pb_toggle_title { transition: color .2s ease; }
    body .gb-accordeon .et_pb_toggle_title:hover { color: var(--gb-bleu); }
  }
}
/* fin:gb-animations */

/* bloc:gb-pied-mobile */
/* Pied de page : sur ordinateur, colonnes ouvertes ; sur mobile, accordéon + / − (sans JS), comme logicieltourisme.fr.
   Case à cocher masquée mais accessible au clavier ; « Fonctionnalités » ouvert par défaut. */
.gb-pied__toggle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; }
.gb-pied__titre label { cursor: default; }
@media (max-width: 767px) {
  .et_pb_section.gb-pied > .et_pb_row.gb-pied__ligne { display: flex; flex-direction: column; gap: 0; }
  .gb-pied .et_pb_column.gb-pied__marque { margin-bottom: 28px; }
  .gb-pied .gb-pied__ligne > .et_pb_column:not(.gb-pied__marque) { width: 100%; border-bottom: 1px solid rgba(11,18,32,.14); }
  .gb-pied .gb-pied__marque + .et_pb_column { border-top: 1px solid rgba(11,18,32,.14); }
  body .gb-pied .et_pb_text p.gb-pied__titre { margin: 0; }
  .gb-pied .gb-pied__titre label {
    display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0; cursor: pointer;
    font-size: 16px; font-weight: 700; color: var(--gb-texte);
  }
  .gb-pied .gb-pied__titre label::after {
    content: ""; flex: 0 0 14px; width: 14px; height: 14px; transition: transform .25s ease;
    background: linear-gradient(var(--gb-bleu), var(--gb-bleu)) center / 14px 1.6px no-repeat,
                linear-gradient(var(--gb-bleu), var(--gb-bleu)) center / 1.6px 14px no-repeat;
  }
  .gb-pied__liens:has(.gb-pied__toggle:checked) .gb-pied__titre label::after {
    background: linear-gradient(var(--gb-bleu), var(--gb-bleu)) center / 14px 1.6px no-repeat; transform: rotate(180deg);
  }
  .gb-pied__liens:has(.gb-pied__toggle:focus-visible) .gb-pied__titre label { outline: 2px solid var(--gb-bleu); outline-offset: 2px; border-radius: 4px; }
  .et-l--footer .gb-pied__liens ul { display: none; padding: 0 0 14px !important; }
  .et-l--footer .gb-pied__liens:has(.gb-pied__toggle:checked) ul { display: block; }
  .gb-pied__liens li { margin: 0; }
  .gb-pied__liens li a { display: inline-block; padding: 8px 0; } /* cible tactile ~38 px + espacement */
  body .gb-pied .et_pb_text a { overflow-wrap: normal; }
  /* Bas de page : liens légaux puis copyright */
  .et_pb_section.gb-pied > .et_pb_row.gb-pied__bas { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; padding-top: 0; border-top: 0; }
  .gb-pied__bas .gb-pied__legal { order: 1; }
  .gb-pied__bas .gb-pied__copyright { order: 2; }
}
@media (prefers-reduced-motion: reduce) { .gb-pied .gb-pied__titre label::after { transition: none; } }
/* fin:gb-pied-mobile */

/* bloc:gb-retour-haut */
/* Bouton « retour en haut » de Divi aux couleurs du site (gris par défaut, collé au bord) */
body .et_pb_scroll_top.et-pb-icon {
  right: 16px; bottom: 16px; width: 44px; height: 44px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gb-bleu); color: #fff; border-radius: 12px; font-size: 26px;
  box-shadow: 0 10px 24px rgba(11,18,32,.22); transition: background-color .2s ease, opacity .3s ease;
}
body .et_pb_scroll_top.et-pb-icon:hover { background: var(--gb-bleu-fonce); }
body .et_pb_scroll_top.et-pb-icon:focus-visible { outline: 2px solid var(--gb-orange); outline-offset: 3px; }
/* fin:gb-retour-haut */

/* bloc:gb-pages */
/* Pages intérieures : composants partagés, dérivés de l'accueil (mêmes couleurs, police, rayons, ombres, boutons).
   Préfixe gb-p… ; chaque page combine ces blocs dans un ordre propre à son sujet. */

/* ---------- En-tête de page (fond bleu : l'en-tête du site reste lisible) ---------- */
.et_pb_section.gb-phero {
  position: relative; overflow: clip; padding: 188px 0 96px; gap: 0; row-gap: 0;
  background-color: var(--gb-bleu-fonce);
  background-image:
    radial-gradient(520px 360px at 86% 30%, rgba(248,149,36,.22), rgba(248,149,36,0) 70%),
    linear-gradient(135deg, #17336B 0%, #23488F 58%, #2E5BAE 100%);
}
.gb-phero.gb-phero--court { padding-bottom: 72px; }
.gb-phero .et_pb_row.gb-phero__ligne { display: flex; align-items: center; gap: 56px; }
.gb-phero .et_pb_column.gb-phero__texte { flex: 1 1 0; min-width: 0; }
.gb-phero .et_pb_column.gb-phero__visuel { flex: 0 0 480px; width: 480px; }
body .gb-ariane p { font-size: 14px; line-height: 18px; color: rgba(255,255,255,.72); padding: 0; margin-bottom: 22px; }
body .gb-ariane a { color: rgba(255,255,255,.88); text-decoration: none; }
body .gb-ariane a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body .gb-ariane .gb-ariane__sep { margin: 0 8px; opacity: .6; }
body .gb-phero .gb-surtitre p { margin-bottom: 14px; }
body .gb-phero h1 {
  font-family: var(--gb-police); font-weight: 800; font-size: 50px; line-height: 54px; letter-spacing: -.6px;
  color: #fff; padding: 0; margin: 0; text-wrap: balance;
}
body .gb-phero h1 .gb-accent { color: var(--gb-orange); }
body .gb-phero .gb-phero__chapo p { font-size: 19px; line-height: 29.4px; color: rgba(255,255,255,.9); padding: 0; margin-top: 20px; max-width: 640px; }
/* Boutons côte à côte : la colonne passe en ligne avec retour, les textes prennent toute la largeur */
.gb-phero .et_pb_column.gb-phero__texte { flex-direction: row; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; }
.gb-phero .gb-phero__texte > .et_pb_module, .gb-phero .gb-phero__texte > nav { flex: 0 0 100%; }
.gb-phero .gb-phero__texte > .et_pb_button_module_wrapper { flex: 0 0 auto; margin-top: 32px; }
.gb-phero .gb-phero__texte > .et_pb_button_module_wrapper + .et_pb_button_module_wrapper { margin-left: 14px; }
/* Bouton secondaire sur fond bleu : contour blanc */
body #page-container .et_pb_section.gb-phero .et_pb_button.gb-btn--secondaire,
body #page-container .et_pb_section.gb-phero .et_pb_button.gb-btn--secondaire:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.6); }
body #page-container .et_pb_section.gb-phero .et_pb_button.gb-btn--secondaire:hover { background: rgba(255,255,255,.14); border-color: #fff; }
@media (min-width: 768px) { body #page-container .et_pb_section .et_pb_button.gb-btn:not(.gb-btn--nav) { font-size: 17px !important; } }
@media (max-width: 767px) { body #page-container .et_pb_section .et_pb_button.gb-btn:not(.gb-btn--nav) { font-size: 16px !important; } }
@media (max-width: 360px) { body #page-container .et_pb_section .et_pb_button.gb-btn:not(.gb-btn--nav) { font-size: 15px !important; } }
.gb-phero .gb-phero__photo img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--gb-rayon-carte); box-shadow: 0 24px 60px rgba(0,0,0,.28); display: block; }
.gb-phero .gb-phero__illus img { width: 100%; height: auto; display: block; }

/* ---------- Sections génériques ---------- */
.et_pb_section.gb-psection { padding: 100px 0; gap: 0; row-gap: 0; background: #fff; }
.et_pb_section.gb-psection--creme { background: var(--gb-creme); }
.et_pb_section.gb-psection--bleu { background: #F8FAFF; }
.et_pb_section.gb-psection--serree { padding: 72px 0; }
.gb-psection .et_pb_row.gb-pentete .et_pb_column { max-width: 780px; }
.gb-psection .et_pb_row.gb-pentete--centre { justify-content: center; }
.gb-psection .et_pb_row.gb-pentete--centre .et_pb_column { margin: 0 auto; align-items: center; text-align: center; }
body .gb-pentete--centre .et_pb_text_inner, body .gb-pentete--centre h2, body .gb-pentete--centre p { text-align: center; }
body .gb-pentete .gb-titre-section { margin-top: 14px !important; }
body .gb-pentete .gb-titre-section:first-child { margin-top: 0 !important; }
body .gb-pentete .gb-chapo { margin-top: 18px !important; }
.gb-psection .et_pb_row.gb-pentete + .et_pb_row { margin-top: 48px; }

/* Texte courant des pages (paragraphes, intertitres, listes) */
body .gb-prose p, body .gb-prose li { font-size: 17px; line-height: 27px; color: var(--gb-texte); }
body .gb-prose p { padding: 0 0 16px; }
body .gb-prose p:last-child { padding-bottom: 0; }
body .gb-prose h3 { font-family: var(--gb-police); font-weight: 700; font-size: 22px; line-height: 27px; color: var(--gb-texte); padding: 12px 0 10px; }
body .gb-prose ul { padding: 0 0 16px 22px; }
body .gb-prose li { margin-bottom: 6px; }
body .gb-prose a { color: var(--gb-bleu); text-decoration: underline; text-underline-offset: 3px; }
body .gb-prose strong { font-weight: 700; }

/* ---------- Deux colonnes : texte + visuel / liste ---------- */
.gb-psection .et_pb_row.gb-pduo { display: flex; align-items: center; gap: 64px; }
.gb-psection .et_pb_row.gb-pduo > .et_pb_column { flex: 1 1 0; min-width: 0; width: auto; margin: 0; }
.gb-psection .et_pb_row.gb-pduo--haut { align-items: flex-start; }
body .gb-pduo .gb-titre-section { margin-top: 14px !important; }
body .gb-pduo .gb-titre-section:first-child { margin-top: 0 !important; }
body .gb-pduo .gb-chapo, body .gb-pduo .gb-prose { margin-top: 18px !important; }
body .gb-pduo .gb-liste-coches { margin-top: 26px !important; }
.gb-pduo > .et_pb_column > .et_pb_button_module_wrapper { margin-top: 30px; }
.gb-pduo .gb-pvisuel img { width: 100%; height: auto; display: block; }
.gb-pduo .gb-pphoto img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--gb-rayon-carte); box-shadow: var(--gb-ombre-carte); display: block; }

/* ---------- Cartes numérotées (En pratique, étapes) ---------- */
.gb-psection .et_pb_row.gb-pcartes { display: flex; flex-wrap: wrap; gap: 24px; }
.gb-psection .et_pb_row.gb-pcartes > .et_pb_column {
  flex: 1 1 0; min-width: 220px; width: auto; margin: 0; background: #fff; border-radius: var(--gb-rayon-carte);
  box-shadow: var(--gb-ombre-carte); padding: 30px 28px 32px;
}
.gb-psection--creme .et_pb_row.gb-pcartes > .et_pb_column, .gb-psection--bleu .et_pb_row.gb-pcartes > .et_pb_column { background: #fff; }
body .gb-pcarte .gb-pcarte__num { font-family: var(--gb-police); font-weight: 800; font-size: 15px; line-height: 18px; letter-spacing: .6px; color: var(--gb-orange); padding: 0 0 12px; }
body .gb-pcarte h3 { font-family: var(--gb-police); font-weight: 700; font-size: 21px; line-height: 25.2px; color: var(--gb-texte); padding: 0 0 10px; }
body .gb-pcarte p { font-size: 16px; line-height: 23.2px; color: var(--gb-texte); padding: 0; }
body .gb-pcarte p + p { padding-top: 10px; }
body .gb-pcarte ul { padding: 8px 0 0 18px; }
body .gb-pcarte li { font-size: 15.5px; line-height: 22px; margin-bottom: 4px; }
/* Carte « constat » : filet orange en tête */
.gb-psection .et_pb_row.gb-pcartes--constat > .et_pb_column { border-top: 4px solid var(--gb-orange); }

/* ---------- Bloc mis en avant (règle métier, encadré) ---------- */
body .gb-pencadre { background: var(--gb-teinte-bleu); border-radius: var(--gb-rayon-petite-carte); padding: 26px 28px; }
body .gb-pencadre p { font-size: 16.5px; line-height: 25px; color: var(--gb-texte); padding: 0; }
body .gb-pencadre p + p { padding-top: 10px; }
body .gb-pencadre strong { color: var(--gb-bleu); }
body .gb-pencadre--orange { background: var(--gb-teinte-orange); }
body .et_pb_module.gb-pencadre + .et_pb_module.gb-pencadre { margin-top: 16px !important; }
body .gb-pduo .gb-prose + .et_pb_module.gb-pencadre { margin-top: 24px !important; }
body .gb-pencadre a { color: var(--gb-bleu); text-decoration: underline; text-underline-offset: 3px; }
body .gb-pencadre--orange strong { color: #B4610A; }

/* ---------- Chiffres clés ---------- */
.gb-psection .et_pb_row.gb-pchiffres { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.gb-pchiffres > .et_pb_column { width: auto; margin: 0; border-top: 3px solid var(--gb-bleu); padding-top: 22px; }
body .gb-pchiffre .gb-pchiffre__valeur { font-weight: 800; font-size: 40px; line-height: 44px; color: var(--gb-texte); padding: 0 0 8px; }
body .gb-pchiffre p { font-size: 15.5px; line-height: 22px; padding: 0; color: var(--gb-texte); }

/* ---------- Tableau (calendrier, comparatif) ---------- */
body .gb-ptableau table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--gb-rayon-petite-carte); overflow: hidden; box-shadow: var(--gb-ombre-carte); }
body .gb-ptableau th, body .gb-ptableau td { padding: 16px 20px; text-align: left; font-size: 16px; line-height: 23px; color: var(--gb-texte); border-bottom: 1px solid var(--gb-filet); vertical-align: top; }
body .gb-ptableau thead th { background: var(--gb-bleu); color: #fff; font-weight: 700; }
body .gb-ptableau tbody tr:last-child td { border-bottom: 0; }
body .gb-ptableau td:first-child { font-weight: 700; white-space: nowrap; }
body .gb-ptableau .gb-ptableau__note { font-size: 14px; line-height: 20px; color: #4A5468; padding: 12px 0 0; }

/* ---------- À voir aussi (liens vers les pages proches) ---------- */
.gb-psection .et_pb_row.gb-pliens { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.gb-pliens > .et_pb_column { width: auto; margin: 0; }
body .gb-plien { position: relative; height: 100%; background: #fff; border-radius: var(--gb-rayon-petite-carte); box-shadow: var(--gb-ombre-petite-carte); padding: 24px 26px; }
body .gb-plien p { padding: 0; font-size: 15.5px; line-height: 22px; color: #3A4458; }
body .gb-plien p.gb-plien__titre { font-weight: 700; font-size: 19px; line-height: 23px; color: var(--gb-texte); padding-bottom: 8px; }
body .gb-plien a { color: var(--gb-texte); text-decoration: none; }
body .gb-plien a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* carte entièrement cliquable */
body .gb-plien p.gb-plien__fleche { padding-top: 12px; font-weight: 700; color: var(--gb-orange); }
body .gb-plien:hover p.gb-plien__titre { color: var(--gb-bleu); }
body .gb-plien a:focus-visible { outline: none; }
body .gb-plien:focus-within { outline: 2px solid var(--gb-bleu); outline-offset: 3px; }

/* ---------- Fonctionnalités (hub) : cartes réutilisées de l'accueil, rangées sur 3 colonnes ---------- */
.gb-psection .et_pb_row.gb-cartes-fonction { display: flex; gap: 24px; }
.gb-psection .gb-cartes-fonction + .gb-cartes-fonction { margin-top: 24px; }

/* ---------- FAQ ouverte des pages intérieures (questions en H3, réponses visibles) ---------- */
/* Ligne à 2 colonnes, chaque question est un module Texte (carte) */
.gb-psection .et_pb_row.gb-pfaq { display: flex; gap: 20px; align-items: flex-start; }
.gb-psection .et_pb_row.gb-pfaq > .et_pb_column { flex: 1 1 0; min-width: 0; width: auto; margin: 0; row-gap: 20px !important; }
body .gb-pfaq .et_pb_module.gb-pfaq__item { background: #fff; border-radius: var(--gb-rayon-petite-carte); box-shadow: var(--gb-ombre-petite-carte); padding: 24px 26px; margin: 0 !important; }
body .gb-pfaq h3 { font-family: var(--gb-police); font-weight: 700; font-size: 18px; line-height: 23px; color: var(--gb-texte); padding: 0 0 10px; }
body .gb-pfaq p { font-size: 16px; line-height: 24px; color: #2B3446; padding: 0; }
body .gb-pfaq p + p { padding-top: 8px; }
body .gb-pfaq a { color: var(--gb-bleu); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .gb-psection .et_pb_row.gb-pfaq { flex-direction: column; gap: 12px; }
  .gb-psection .et_pb_row.gb-pfaq > .et_pb_column { width: 100%; row-gap: 12px !important; }
  body .gb-pfaq .et_pb_module.gb-pfaq__item { padding: 18px 20px; }
}

/* ---------- Pages légales ---------- */
.gb-psection .et_pb_row.gb-plegal .et_pb_column { max-width: 820px; }
body .gb-plegal h2 { font-family: var(--gb-police); font-weight: 800; font-size: 26px; line-height: 31px; letter-spacing: -.3px; color: var(--gb-texte); padding: 30px 0 12px; }
body .gb-plegal h2:first-child { padding-top: 0; }
body .gb-plegal table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; }
body .gb-plegal th, body .gb-plegal td { border-bottom: 1px solid var(--gb-filet); padding: 10px 12px 10px 0; text-align: left; font-size: 16px; line-height: 23px; vertical-align: top; }
body .gb-plegal th { width: 38%; font-weight: 700; }

/* ---------- Formulaire de démo (colonne) ---------- */
body .gb-pform { background: #fff; border-radius: var(--gb-rayon-carte); box-shadow: 0 24px 60px rgba(11,18,32,.16); padding: 34px 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .et_pb_section.gb-phero { padding: 150px 0 64px; }
  .gb-phero .et_pb_row.gb-phero__ligne { flex-direction: column; align-items: stretch; gap: 36px; }
  .gb-phero .et_pb_column.gb-phero__visuel { flex: 0 0 auto; width: 100%; max-width: 560px; }
  .et_pb_section.gb-psection { padding: 72px 0; }
  .gb-psection .et_pb_row.gb-pduo { flex-direction: column; align-items: stretch; gap: 36px; }
  .gb-psection .et_pb_row.gb-pduo--inverse > .et_pb_column:last-child { order: -1; }
  .gb-psection .et_pb_row.gb-pchiffres { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gb-psection .et_pb_row.gb-pliens { grid-template-columns: 1fr 1fr; }
  .gb-psection .et_pb_row.gb-cartes-fonction { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .et_pb_section.gb-phero { padding: 116px 0 52px; }
  body .gb-phero h1 { font-size: 34px; line-height: 39px; }
  body .gb-phero .gb-phero__chapo p { font-size: 17px; line-height: 26px; }
  .gb-phero .gb-phero__texte > .et_pb_button_module_wrapper { flex: 0 0 100%; display: flex; margin-top: 12px; }
  .gb-phero .gb-phero__texte > .et_pb_button_module_wrapper:first-of-type { margin-top: 26px; }
  .gb-phero .gb-phero__texte > .et_pb_button_module_wrapper + .et_pb_button_module_wrapper { margin-left: 0; }
  .gb-phero .gb-phero__photo img { height: 220px; }
  .et_pb_section.gb-psection { padding: 56px 0; }
  .et_pb_section.gb-psection--serree { padding: 48px 0; }
  body .gb-titre-section h2 { font-size: 30px; line-height: 34px; }
  .gb-psection .et_pb_row.gb-pentete + .et_pb_row { margin-top: 32px; }
  .gb-psection .et_pb_row.gb-pcartes { gap: 14px; }
  .gb-psection .et_pb_row.gb-pcartes > .et_pb_column { flex: 1 1 100%; padding: 22px 20px 24px; }
  body .gb-pcarte h3 { font-size: 19px; line-height: 23px; }
  .gb-pduo .gb-pphoto img { height: 240px; }
  .gb-psection .et_pb_row.gb-pchiffres { gap: 18px; }
  body .gb-pchiffre .gb-pchiffre__valeur { font-size: 32px; line-height: 36px; }
  .gb-psection .et_pb_row.gb-pliens { grid-template-columns: 1fr; gap: 12px; }
  body .gb-plien { padding: 18px 20px; }
  body .gb-ptableau { overflow-x: auto; }
  body .gb-ptableau th, body .gb-ptableau td { padding: 12px 14px; font-size: 15px; }
  body .gb-ptableau td:first-child { white-space: normal; }
  body .gb-plegal h2 { font-size: 22px; line-height: 27px; }
  body .gb-plegal th { width: 42%; }
  body .gb-pform { padding: 24px 20px; }
}
/* fin:gb-pages */
