/*
Theme Name: Léman Communication (thème enfant de Beaver Builder)
Description: Thème enfant de leman-com.ch : le CSS du site statique d'origine (repris tel quel, couleurs liées à la palette de Beaver) et la couche qui l'applique aux rangées, colonnes et modules de Beaver Builder. Assemblé par outils/assembler-style.js (D:\Claude\leman-com-wp) : ne pas éditer à la main.
Template: bb-theme
Version: 1.0
Text Domain: lemancom
*/

/* ===========================================================================================================
   COUCHE WORDPRESS / BEAVER BUILDER, 1re partie : placée AVANT le CSS d'origine (à égalité de spécificité, c'est le
   CSS d'origine qui l'emporte). Elle ne fait que rendre au navigateur ce que le thème de Beaver lui avait pris.
   =========================================================================================================== */
/* Le thème de Beaver ramène la racine à 10 px : tous les « rem » du site (titres, boutons, marges) rétrécissaient. */
html { font-size: 100%; }
body { font-size: 16px; }
/* Titres : tailles et couleur du navigateur. Le site statique s'en servait là où il ne fixait ni la taille ni la couleur
   d'un titre (le thème de Beaver impose 36 / 30 / 24 / 18 px et un gris #333). */
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1em; }
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
/* Liens survolés : le thème de Beaver les souligne et les met en bleu ; le site statique ne le faisait que là où il le disait. */
a:hover, a:focus { color: inherit; text-decoration: none; }

/* ==========================================================================
   Léman Communication — design system
   ========================================================================== */

:root{
  --color-primary: var(--fl-global-bleu, #1279ab);
  --color-primary-dark: var(--fl-global-bleu-fonce, #0c5c85);
  --color-primary-darker: var(--fl-global-bleu-nuit, #0a3f5c);
  --color-accent: var(--fl-global-ciel, #4fc3e8);
  --color-ink: var(--fl-global-encre, #142430);
  --color-ink-soft: var(--fl-global-encre-douce, #51677a);
  --color-paper: var(--fl-global-blanc, #ffffff);
  --color-mist: var(--fl-global-brume, #f4f8fb);
  --color-mist-dark: var(--fl-global-brume-foncee, #e9f1f6);
  --color-border: var(--fl-global-filet, #e0e8ee);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(20, 36, 48, .06);
  --shadow-md: 0 10px 30px rgba(20, 36, 48, .10);
  --shadow-lg: 0 20px 50px rgba(20, 36, 48, .16);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4{
  font-family: var(--font-serif);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
p{ margin: 0 0 1em; }
p:last-child{ margin-bottom: 0; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; top: 0; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow{
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .9em;
}
.eyebrow--light{ color: var(--color-accent); }

.section{
  padding: 96px 0;
}
.section--tight{ padding: 88px 0 40px; }
.section h2{
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  max-width: 40ch;
}
.section__lead{
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  max-width: 62ch;
  margin-top: 1rem;
}
.section__lead--light{ color: rgba(255,255,255,.86); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .95em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--primary{
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover{ transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost{
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover{ background: rgba(255,255,255,.18); }
.btn--lg{ font-size: 1.05rem; padding: 1.1em 2.1em; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(20,36,48,.06);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled{
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}
.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand__logo{ height: 46px; width: auto; }

.nav{
  display: flex;
  align-items: center;
  gap: 2.1rem;
  font-weight: 600;
  font-size: .96rem;
}
.nav a{
  color: var(--color-ink);
  padding: .3em 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover{ color: var(--color-primary); border-color: var(--color-accent); }
.nav__cta{
  background: var(--color-primary);
  color: #fff !important;
  padding: .6em 1.3em !important;
  border-radius: 999px;
  border-bottom: none !important;
}
.nav__cta:hover{ background: var(--color-primary-dark); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: clamp(560px, 88vh, 920px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img{
  /* Geneve's Jet d'Eau, full colour — the "Léman" in Léman Communication */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
}
.hero__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6,20,34,.88) 0%, rgba(8,30,46,.58) 28%, rgba(10,40,58,.28) 48%, rgba(14,48,68,.14) 65%, rgba(14,48,68,.05) 80%),
    linear-gradient(100deg, rgba(6,20,32,.5) 0%, rgba(10,45,66,.1) 45%);
}
.hero__content{
  position: relative;
  z-index: 1;
  padding-bottom: 8vh;
  padding-top: 160px;
}
.hero h1{
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: .25em;
}
.hero__lead{
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  max-width: 44ch;
  color: rgba(255,255,255,.92);
}
.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

/* ==========================================================================
   Split (image + text) blocks
   ========================================================================== */
.split{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse{ grid-template-columns: 1.15fr .85fr; }
.split--reverse .split__media{ order: 2; }
.split__media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}
.split--reverse .split__media img{ aspect-ratio: 5/4; }

.split__content h2{ margin-bottom: .6em; }
.split__content p{ color: var(--color-ink-soft); font-size: 1.05rem; }
.split__content p strong{ color: var(--color-ink); }

.certif-title{
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-top: 2rem;
  margin-bottom: .9em;
}
.pill-list{
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.pill-list li{
  background: var(--color-mist);
  border: 1px solid var(--color-border);
  color: var(--color-ink-soft);
  font-size: .82rem;
  font-weight: 500;
  padding: .5em 1em;
  border-radius: 999px;
}

/* ==========================================================================
   Photo gallery
   ========================================================================== */
.photo-banner{
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-top: 3rem;
}
.photo-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.photo-gallery img{
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.photo-gallery img:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Services grid
   ========================================================================== */
.service-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-grid--compact{
  grid-template-columns: repeat(2, minmax(0, 340px));
}
.service-card{
  background: var(--color-mist);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.service-card__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  color: #fff;
  margin-bottom: 1.1em;
}
.service-card__icon svg{ width: 24px; height: 24px; }
.service-card h3{
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: .5em;
}
.service-card p{
  font-size: .92rem;
  color: var(--color-ink-soft);
  margin: 0;
}

/* ==========================================================================
   Réalisations — project grid
   ========================================================================== */
.section--realisations{ background: var(--color-mist); }

.project-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.2rem;
}

.project-card{
  background: var(--color-paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}
.project-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.project-card--featured{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.project-card--featured:hover{ transform: none; }

.project-card__media{
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  background: var(--color-ink);
  overflow: hidden;
}
.project-card--featured .project-card__media{ aspect-ratio: auto; height: 100%; min-height: 320px; }
.project-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover .project-card__media img{ transform: scale(1.045); }

.project-card__media--brand{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.project-card__media--fae{
  background: linear-gradient(135deg, #1c1a86 0%, #7c1487 65%, #a0148c 100%);
}
.project-card__media--caroline{
  background: linear-gradient(160deg, #000000 0%, #171310 100%);
}
.project-card__media img.project-card__brand-logo{
  width: auto;
  height: auto;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.25));
  transition: transform .4s ease;
}
.project-card:hover .project-card__brand-logo{ transform: scale(1.05); }

.project-card__badge{
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  background: rgba(255,255,255,.95);
  color: var(--color-primary-darker);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .5em .9em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.project-card__body{
  padding: 1.7rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-card--featured .project-card__body{
  justify-content: center;
  padding: 2.6rem 3rem;
}
.project-card__logo{
  height: 30px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left;
  margin-bottom: 1rem;
}
.project-card__body h3{
  font-size: 1.2rem;
  margin-bottom: .45em;
}
.project-card--featured .project-card__body h3{ font-size: 1.5rem; }
.project-card__body p{
  color: var(--color-ink-soft);
  font-size: .96rem;
  flex: 1;
}
.project-card__link{
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: 1.1em;
  font-weight: 700;
  font-size: .92rem;
  color: var(--color-primary);
}
.project-card__link:hover{ color: var(--color-primary-dark); text-decoration: underline; }

.realisations-more{
  text-align: center;
  margin-top: 3rem;
}

/* ---------- Trust lists ---------- */
.trust{
  margin-top: 5rem;
  padding-top: 3.2rem;
  border-top: 1px solid var(--color-border);
}
.trust h3{
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .4em;
}
.trust__intro{
  color: var(--color-ink-soft);
  max-width: 70ch;
  margin-bottom: 1.8rem;
}
.trust-list{
  columns: 3;
  column-gap: 2.5rem;
}
.trust-list li{
  font-size: .93rem;
  color: var(--color-ink-soft);
  padding: .38em 0;
  border-bottom: 1px dotted var(--color-border);
  break-inside: avoid;
}

.trust--compact{ margin-top: 3.5rem; padding-top: 2.5rem; }
.trust-list--inline{
  columns: initial;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.trust-list--inline li{
  border: none;
  background: var(--color-mist);
  border: 1px solid var(--color-border);
  padding: .5em 1.1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
}

/* ==========================================================================
   Divider band
   ========================================================================== */
.section--divider{
  position: relative;
  padding: 0;
  height: 340px;
  overflow: hidden;
}
.section--divider img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.section--divider::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,25,38,.82), rgba(8,25,38,.28));
}
.section--divider__caption{
  position: absolute;
  left: 0; right: 0; bottom: 2.2rem;
  z-index: 1;
}
.section--divider__caption p{
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  margin: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.section--contact{
  background: linear-gradient(150deg, var(--color-primary-darker), var(--color-primary) 60%, #1596c2);
  color: #fff;
  text-align: center;
}
.section--contact h2{ color: #fff; }
.section--contact .section__lead{ margin-left: auto; margin-right: auto; }
.section--contact .btn{ margin-top: 2.4rem; }
.contact__location{
  margin-top: 1.6rem;
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  letter-spacing: .02em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--color-ink);
  color: rgba(255,255,255,.7);
  padding: 3rem 0;
}
.site-footer__inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}
.site-footer__logo{
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.site-footer__nav{
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: .9rem;
  font-weight: 500;
}
.site-footer__nav a:hover{ color: #fff; }
.site-footer__legal{
  flex-basis: 100%;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin: 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-info h2{
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.contact-info__list{
  margin-bottom: 2rem;
}
.contact-info__list li{
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.02rem;
}
.contact-info__list li:last-child{ border-bottom: none; }
.contact-info__list a{
  color: var(--color-primary);
  font-weight: 600;
}
.contact-info__list a:hover{ color: var(--color-primary-dark); }
.contact-info__label{
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: .35em;
}
.contact-map{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  line-height: 0;
}

.contact-form{
  background: var(--color-mist);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form-row{ margin-bottom: 1.3rem; }
.form-row label{
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .45em;
}
.form-row input,
.form-row textarea{
  width: 100%;
  font: inherit;
  font-size: .98rem;
  padding: .8em .9em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-ink);
}
.form-row input:focus,
.form-row textarea:focus{
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(18,121,171,.15);
}
.form-row textarea{ resize: vertical; min-height: 120px; }
.form-row--honeypot{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}
.contact-form .btn{ width: 100%; justify-content: center; border: none; cursor: pointer; }
.form-note{
  margin: 1rem 0 0;
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
}
.form-note--success{ color: #1a7a4c; }
.form-note--error{ color: #b3261e; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .project-grid{ grid-template-columns: repeat(2, 1fr); }
  .project-card--featured{ grid-template-columns: 1fr; }
  .project-card--featured .project-card__media{ aspect-ratio: 16/10; min-height: 0; }
  .trust-list{ columns: 2; }
  .photo-gallery{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px){
  html{ scroll-padding-top: 66px; }
  .site-header__inner{ height: 64px; }
  .brand__logo{ height: 38px; }

  .nav{
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 24px 1.4rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    border-bottom: 1px solid var(--color-border);
  }
  .nav.is-open{ opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a{ padding: .9em 0; border-bottom: 1px solid var(--color-border); }
  .nav__cta{ text-align: center; margin-top: .9em; border-bottom: none !important; }
  .nav-toggle{ display: flex; }
  .nav-toggle.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2){ opacity: 0; }
  .nav-toggle.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  .hero__content{ padding-top: 120px; }

  .section{ padding: 64px 0; }
  .section--tight{ padding: 56px 0 24px; }

  .split, .split--reverse{ grid-template-columns: 1fr; }
  .split--reverse .split__media{ order: 0; }
  .split__media{ margin-bottom: 1rem; }

  .service-grid{ grid-template-columns: 1fr 1fr; gap: 1rem; }

  .project-grid{ grid-template-columns: 1fr; }
  .project-card--featured .project-card__body{ padding: 2rem 1.6rem; }

  .trust-list{ columns: 1; }

  .section--divider{ height: 220px; }

  .contact-grid{ grid-template-columns: 1fr; }

  .site-footer__inner{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px){
  .service-grid{ grid-template-columns: 1fr; }
  .hero__actions{ flex-direction: column; align-items: stretch; }
  .hero__actions .btn{ justify-content: center; }
}

/* ===========================================================================================================
   COUCHE WORDPRESS / BEAVER BUILDER (03.12.2026)
   Le CSS ci-dessus est celui du site statique, inchangé : ses classes (.section, .hero, .split__media, .service-card…)
   sont portées par les rangées, colonnes et modules de Beaver (champ « Classe ») ou par le HTML des textes. Cette couche
   ne fait que neutraliser le thème parent et recoller les enveloppes de Beaver au gabarit d'origine. Là où une règle
   d'origine visait un élément qui n'existe plus tel quel (la grille .service-grid, l'enveloppe .hero__media…), elle est
   reprise ici sur l'élément de Beaver qui le remplace, avec la même valeur, et le commentaire le dit.
   =========================================================================================================== */

/* ---------- Enveloppes de Beaver ---------- */
/* Contenu des rangées = le .wrap d'origine : 1180 px (réglage global de Beaver) dont 24 px de retrait de chaque côté. */
.fl-row-content.fl-row-fixed-width { padding-left: 24px; padding-right: 24px; }
.fl-page-content { background: transparent; }
/* Marges fondues comme dans le HTML d'origine : Beaver met les modules d'une colonne en flex et entoure chaque module de
   « clearfix » (tableaux vides) ; les marges ne se fondaient plus (titre + introduction : 20 + 16 px au lieu de 20). Les
   colonnes « hauteur égale » gardent le flex de Beaver (règle plus précise que celle-ci). */
.fl-col-content { display: block; }
.fl-builder-content .fl-module::before, .fl-builder-content .fl-module::after,
.fl-builder-content .fl-module-content::before, .fl-builder-content .fl-module-content::after { content: none; }
/* Le dernier paragraphe d'un module Texte perd sa marge basse (règle p:last-child d'origine, et de Beaver) : le surtitre,
   seul dans son module, la gardait dans l'original. */
.fl-rich-text > p.eyebrow:last-child { margin-bottom: .9em; }

/* ---------- Titres (modules Titre) ---------- */
/* Beaver impose « margin: 0 !important » aux titres de ses modules : on rend les marges d'origine (h1–h4 : .5em). */
.fl-page .fl-module-heading .fl-heading { margin: 0 0 .5em !important; }
.fl-page .hero .fl-module-heading .fl-heading { margin-bottom: .25em !important; }          /* .hero h1 */
.fl-page .split__content .fl-module-heading .fl-heading { margin-bottom: .6em !important; } /* .split__content h2 */
.fl-page .service-card .fl-module-heading .fl-heading { margin-bottom: .5em !important; }   /* .service-card h3 */
.fl-page .trust .fl-module-heading .fl-heading { margin-bottom: .4em !important; }         /* .trust h3 */
.fl-page .contact-info .fl-module-heading .fl-heading { margin-bottom: 1.2rem !important; } /* .contact-info h2 */
/* « Certifications & méthodologies » : la classe est sur le module (l'enveloppe), qui prend les marges d'origine (.certif-title) ;
   le titre lui-même prend la police, la taille et la casse de .certif-title, sans marge (elle est déjà sur l'enveloppe). */
.fl-page .fl-module-heading.certif-title .fl-heading {
  font-family: var(--font-sans); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-ink); margin: 0 !important;
}

/* ---------- En-tête (gabarit Themer, rangée .site-header fixée par le CSS d'origine) ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
/* .site-header__inner d'origine : 76 px de haut (64 px sur téléphone), logo à gauche, menu à droite, centrés verticalement. */
.fl-row.site-header .fl-row-content-wrap { height: 76px; }
.fl-row.site-header .fl-row-content { width: 100%; }
.fl-module.brand img { height: 46px; width: auto; }                                         /* .brand__logo */
/* Menu : les règles .nav et .nav a d'origine, portées par la liste et les liens du module Menu (classe lc-nav). */
.site-header .fl-module.lc-nav { font-weight: 600; font-size: .96rem; }
.site-header .fl-menu .menu { display: flex; align-items: center; justify-content: flex-end; gap: 2.1rem; }
.site-header .fl-menu .menu > li { float: none; }
/* Le « clearfix » de la liste du menu (::before/::after en tableau) compterait comme deux éléments du flex, avec leur écart. */
.site-header .fl-menu .menu::before, .site-header .fl-menu .menu::after,
.site-footer .fl-menu .menu::before, .site-footer .fl-menu .menu::after { display: none; }
.site-header .fl-menu .menu > li > a { padding: .3em 0; color: var(--color-ink); line-height: 1.6; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.site-header .fl-menu .menu > li > a:hover { color: var(--color-primary); border-color: var(--color-accent); }
/* .nav__cta : WordPress met la classe sur l'élément de liste, pas sur le lien ; le style d'origine (qui force fond et retrait
   par !important) est retiré de l'élément et rendu au lien. */
.fl-menu .menu > li.nav__cta { background: none; padding: 0 !important; border-radius: 0; color: inherit !important; }
.site-header .fl-menu .menu > li.nav__cta > a { background: var(--color-primary); color: #fff; padding: .6em 1.3em; border-radius: 999px; border-bottom: none; }
.site-header .fl-menu .menu > li.nav__cta > a:hover { background: var(--color-primary-dark); color: #fff; }
/* Téléphone (≤ 760 px) : en-tête de 64 px, logo de 38 px ; le menu de Beaver (ouvert par son bouton) devient le panneau
   d'origine : blanc, sous l'en-tête, sur toute la largeur, liens l'un sous l'autre séparés d'un filet, « Contact » centré. */
@media (max-width: 760px) {
  .fl-row.site-header .fl-row-content-wrap { height: 64px; }
  .fl-module.brand img { height: 38px; }
  .site-header .fl-col { position: static; }   /* le panneau se place par rapport à l'en-tête entier, pas à la colonne du menu */
  .site-header .fl-menu .menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.98); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    padding: .5rem 24px 1.4rem; border-bottom: 1px solid var(--color-border); text-align: left;
  }
  .site-header .fl-menu .menu > li > a { display: block; padding: .9em 0; border-bottom: 1px solid var(--color-border); }
  .site-header .fl-menu .menu > li.nav__cta > a { text-align: center; margin-top: .9em; padding: .6em 1.3em; border-bottom: none; }
  /* Bouton du menu : celui d'origine (40 × 40, trois traits de 2 px, une croix une fois ouvert) à la place de l'icône de Beaver. */
  .site-header .fl-menu-mobile-toggle { position: relative; width: 40px; height: 40px; padding: 0; border: 0; background: none; float: right; }
  .site-header .fl-menu .fl-menu-mobile-toggle .fl-menu-icon, .site-header .fl-menu .fl-menu-mobile-toggle svg { display: none !important; }
  .site-header .fl-menu-mobile-toggle::before, .site-header .fl-menu-mobile-toggle::after {
    content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px;
    background: var(--color-ink); transition: transform .2s ease, box-shadow .2s ease;
  }
  .site-header .fl-menu-mobile-toggle::before { box-shadow: 0 -7px 0 var(--color-ink), 0 7px 0 var(--color-ink); }
  .site-header .fl-menu-mobile-toggle::after { opacity: 0; }
  .site-header .fl-menu-mobile-toggle.fl-active::before { box-shadow: none; transform: rotate(45deg); }
  .site-header .fl-menu-mobile-toggle.fl-active::after { opacity: 1; transform: rotate(-45deg); }
}

/* ---------- Bandeau d'accueil (.hero) ---------- */
/* L'image est le fond de la rangée (réglage de Beaver), posé sur son enveloppe : l'enveloppe remplit le bandeau et porte le
   voile de .hero__media::after ; le bloc de texte (le .wrap d'origine) reste en bas, centré, à la largeur de son contenu. */
.fl-row.hero::before, .fl-row.hero::after { display: none; }
.fl-row.hero > .fl-row-content-wrap { flex: 1 1 auto; align-self: stretch; align-items: flex-end; }
.fl-row.hero > .fl-row-content-wrap::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(6,20,34,.88) 0%, rgba(8,30,46,.58) 28%, rgba(10,40,58,.28) 48%, rgba(14,48,68,.14) 65%, rgba(14,48,68,.05) 80%),
    linear-gradient(100deg, rgba(6,20,32,.5) 0%, rgba(10,45,66,.1) 45%);
}
.fl-row.hero .fl-row-content { position: relative; z-index: 1; width: auto; flex: 0 1 auto; }   /* largeur de son contenu, comme le .wrap flex d'origine */

/* ---------- Bandeau photo (.section--divider) ---------- */
/* Même principe : l'image est le fond de l'enveloppe, qui remplit les 340 px de la rangée ; voile de .section--divider::after
   (le « clearfix » de Beaver en faisait un tableau) ; légende = le .wrap d'origine, en bas. */
.fl-row.section--divider::after { display: block; }
.fl-row.section--divider > .fl-row-content-wrap { height: 100%; position: static; }   /* la légende se place par rapport à la rangée, comme dans la section d'origine */
.fl-col.section--divider__caption { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Deux colonnes (.split de « L'agence », .contact-grid du contact) ---------- */
/* Écart d'origine (clamp) partagé entre les colonnes au prorata des fractions d'origine (.85fr / 1.15fr ; .9fr / 1.1fr) :
   la largeur de chaque colonne est celle de la grille d'origine. */
.lc-split .fl-col.split__media { padding-right: calc(clamp(2rem, 5vw, 5rem) * .425); }
.lc-split .fl-col.split__content { padding-left: calc(clamp(2rem, 5vw, 5rem) * .575); }
.lc-contact .fl-col.contact-info { padding-right: calc(clamp(2rem, 5vw, 4.5rem) * .45); }
.lc-contact .fl-col.lc-colonne-formulaire { padding-left: calc(clamp(2rem, 5vw, 4.5rem) * .55); }
.split__media .fl-photo-content { display: block; }
@media (max-width: 760px) {
  .lc-split .fl-col.split__media, .lc-split .fl-col.split__content,
  .lc-contact .fl-col.contact-info, .lc-contact .fl-col.lc-colonne-formulaire { padding-left: 0; padding-right: 0; }
  /* Une colonne sous l'autre : l'écart de la grille d'origine (gap) devient une marge entre les deux colonnes. */
  .lc-split .fl-col.split__content { margin-top: clamp(2rem, 5vw, 5rem); }
  .lc-contact .fl-col.contact-info { margin-bottom: clamp(2rem, 5vw, 4.5rem); }
}

/* ---------- Cartes de services (.service-grid d'origine, portée par le groupe de colonnes) ---------- */
.fl-col-group:has(> .fl-col.service-card) { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.fl-col-group:has(> .fl-col.service-card.lc-compacte) { grid-template-columns: repeat(2, minmax(0, 340px)); }
.fl-col-group:has(> .fl-col.service-card)::before, .fl-col-group:has(> .fl-col.service-card)::after { display: none; }
.fl-col.service-card { width: auto !important; float: none; }   /* les largeurs de Beaver (25 %, 50 % en !important) vont à la grille */
.service-card__icon img { width: 24px; height: 24px; }
@media (max-width: 980px) {
  .fl-col-group:has(> .fl-col.service-card), .fl-col-group:has(> .fl-col.service-card.lc-compacte) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .fl-col-group:has(> .fl-col.service-card), .fl-col-group:has(> .fl-col.service-card.lc-compacte) { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 480px) {
  .fl-col-group:has(> .fl-col.service-card), .fl-col-group:has(> .fl-col.service-card.lc-compacte) { grid-template-columns: 1fr; }
}

/* ---------- Bloc « Parlons de votre projet » de l'accueil ---------- */
/* L'introduction y était suivie du bouton (un lien, en ligne) : sa marge basse comptait, elle ne se fondait avec rien. */
.fl-row.section--contact .fl-rich-text > p.section__lead:last-child { margin-bottom: 1em; }

/* ---------- Pages intérieures : section sans retrait haut (attribut style="padding-top: 0" d'origine) ---------- */
.fl-row.lc-sans-haut { padding-top: 0; }

/* ---------- Contact : carte et formulaire ---------- */
.fl-module.contact-map iframe { display: block; width: 100%; border: 0; }
.fl-module.contact-form { margin: 0; }
/* Gravity Forms (son CSS est coupé) : les règles .form-row, label, input et bouton du formulaire d'origine. */
.contact-form .gform_wrapper form { margin: 0; }
.contact-form .gform_fields { display: block; }
.contact-form .gfield { margin-bottom: 1.3rem; border: 0; padding: 0; }
.contact-form .gfield_label, .contact-form .gform-field-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45em; }
.contact-form .gfield_required { color: inherit; font-weight: 600; }
.contact-form .gfield_label > .gfield_required { margin-left: .25em; }   /* « Nom complet * » : l'espace d'origine (Gravity Forms imbrique deux .gfield_required) */
.contact-form .gfield_required .gfield_required_text { display: none; }
.contact-form .ginput_container input, .contact-form .ginput_container textarea {
  width: 100%; font: inherit; font-size: .98rem; padding: .8em .9em; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: #fff; color: var(--color-ink);
}
.contact-form .ginput_container input:focus, .contact-form .ginput_container textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(18,121,171,.15);
}
.contact-form .ginput_container textarea { resize: vertical; min-height: 120px; height: calc(11.2em + 2px); display: inline-block; vertical-align: baseline; }   /* rows="6" d'origine : 6 lignes de 1,6 + retraits ; en ligne comme l'original (l'espace sous le champ compte) */
.contact-form .gform_validation_container, .contact-form .gform_hidden, .contact-form .gform_ajax_spinner { display: none !important; }
.contact-form .gform_footer { margin: 0 0 1rem; padding: 0; }   /* 1rem : la ligne de message (.form-note) sous le bouton d'origine */
.contact-form .gform_footer .gform_button {
  display: inline-flex; width: 100%; justify-content: center; align-items: center; border: none; cursor: pointer;
  padding: 1.1em 2.1em; border-radius: 999px; font: inherit; font-weight: 600; font-size: 1.05rem; line-height: normal; white-space: nowrap;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary)); color: #fff; box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-form .gform_footer .gform_button:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
/* Messages : ceux du formulaire d'origine (.form-note--success, .form-note--error). */
.contact-form .gform_confirmation_message { margin: 0; font-size: .92rem; font-weight: 600; text-align: center; color: #1a7a4c; }
.contact-form .gform_validation_errors { margin: 0 0 1.3rem; font-size: .92rem; font-weight: 600; text-align: center; color: #b3261e; }
.contact-form .gform_validation_errors h2 { font-family: inherit; font-size: inherit; font-weight: inherit; margin: 0; }
.contact-form .gfield_validation_message, .contact-form .validation_message { margin-top: .45em; font-size: .85rem; color: #b3261e; }
.contact-form .gfield_error input, .contact-form .gfield_error textarea { border-color: #b3261e; }

/* ---------- Pied (gabarit Themer) ---------- */
.fl-row.site-footer .fl-col-group + .fl-col-group { margin-top: 1.6rem; }                  /* gap: 1.6rem de .site-footer__inner */
.fl-module.site-footer__logo img { height: 34px; width: auto; }
/* .site-footer__nav d'origine : sa police s'applique (héritée) ; sa grille flex va à la liste du module Menu. */
.fl-module.site-footer__nav { display: block; }
.site-footer .fl-menu .menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.4rem; }
.site-footer .fl-menu .menu > li { float: none; }
.site-footer .fl-menu .menu > li > a { padding: 0; color: inherit; line-height: 1.6; }
.site-footer .fl-menu .menu > li > a:hover { color: #fff; }
@media (max-width: 760px) {
  .fl-row.site-footer .fl-col-group:first-child .fl-col + .fl-col { margin-top: 1.6rem; }
  .site-footer .fl-menu .menu { justify-content: flex-start; }
}
