/*
Theme Name: Franergie v2
Theme URI: https://harvest.agency
Author: HARVEST
Author URI: https://harvest.agency
Description: Thème Franergie monté sur Harvest Base (dépôt harvestagency/base_theme_wp, 02/11/2026), enfant de Twenty Twenty-Five. Charte, gabarits et composants repris du thème franergie 1.0 (2024, enfant de Twenty Twenty-Four).
Version: 2.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: franergie
Template: twentytwentyfive
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, translation-ready
*/

/* ========================================================================== */
/* Design PARTAGÉ site public + éditeur (add_editor_style).                   */
/* ========================================================================== */
/* ⚠️ Ici, uniquement ce qui doit s'afficher pareil dans l'éditeur. Les règles
   qui supposent le moteur JS (contenu caché avant révélation, en-tête fixe,
   overflow sur html/body) vont dans css/socle.css, chargée sur le site public
   seulement — sinon l'éditeur de site ne défile plus (13/10/2026).
   Les couleurs, typos et espacements se règlent d'abord dans theme.json. */

/* -------------------------------------------------------------------------- */
/* 1) Liens                                                                   */
/* -------------------------------------------------------------------------- */
a { text-decoration-thickness: 1px; text-underline-offset: 0.15em; }

.wp-block-navigation a,
.wp-block-site-title a,
.wp-block-post-title a {
  text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/* 2) En-tête                                                                 */
/* -------------------------------------------------------------------------- */
/* La barre (parts/header.html) : logo à gauche, menu à droite. Fond plein
   par défaut. Pour un en-tête transparent sur un héros (accueil), remplacer
   par un fond transparent au repos et `header.scrolled .site-header { … }`
   au défilement (app.js pose `scrolled`), et poser `site-main--sous-entete`
   sur le <main> du modèle concerné. */
header .site-header {
  background-color: var(--wp--preset--color--base);
  transition: background-color 0.3s ease, padding 0.3s ease;
}
/* Sens de défilement : décommenter pour masquer l'en-tête en descendant.
header.down { transform: translateY(-100%); }
header.up   { transform: none; }
*/

/* Hauteur réservée sous l'en-tête fixe : repli sans JS, app.js la remplace
   par la hauteur mesurée de l'en-tête. */
:root {
  --site-header-height: 96px;
}

/* -------------------------------------------------------------------------- */
/* 3) Pied de page                                                            */
/* -------------------------------------------------------------------------- */
@media (hover: hover) {
  footer.wp-block-template-part a { transition: opacity 0.3s ease; }
  footer.wp-block-template-part a:hover { opacity: 0.55; }
}

/* -------------------------------------------------------------------------- */
/* 4) Boutons                                                                 */
/* -------------------------------------------------------------------------- */
.wp-block-button__link,
button {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

/* -------------------------------------------------------------------------- */
/* 5) Utilitaires                                                             */
/* -------------------------------------------------------------------------- */
/* Visibilité par largeur (classes à poser dans l'éditeur). */
@media (max-width: 767.98px) { .MobileOff, .is-hidden-mobile { display: none !important; } }
@media (min-width: 768px)    { .MobileOn,  .is-hidden-desktop { display: none !important; } }

/* Mots longs : césure plutôt que débordement sur mobile. */
h1, h2, h3, .wp-block-post-title {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* -------------------------------------------------------------------------- */
/* 6) Projet                                                                  */
/* -------------------------------------------------------------------------- */
/* Les styles propres au site commencent ici. */

/* Franergie : repris de l'ancien thème franergie 1.0 (02/11/2026). Les règles
   qui ne valent que sur le site public (accroches fixes, animations) sont
   dans css/projet.css. Police Basic Sans : Typekit, chargé par inc/projet.php. */

.rotator h2 {
  color: white;
  perspective: 10vw;
  min-width: 10vw;
  font-weight: 900;
  position: absolute;
  font-size: 0.4em;
  margin: 0;
}
.rotator h2.light { color: white; }
.rotator h2.shadow { color: black; opacity: .95; }

.besoin { z-index: 2; }
.wp-block-group { margin-bottom: 0 !important; z-index: 2; position: relative; }

/* Méga-menu Getwid (en-tête). */
.gw-mm-item__dropdown { border-top: 3px solid var(--wp--preset--color--contrast); padding: 0 !important; }
.wp-block-getwid-megamenu-item .gw-mm-item__link a { padding: 25px 15px; }
.wp-block-getwid-megamenu-item:hover .gw-mm-item__link a { color: var(--wp--preset--color--contrast) !important; }

header .heading { transition: 0.3s all ease-in-out; }

.homebanner { position: relative; }

.wrapLogo { position: relative; }
.wrapLogo:before { content: ""; position: absolute; height: -webkit-fill-available; height: -moz-available; height: fill-available; width: 300%; right: 100%; top: 0; background-color: white; display: block; }

.gal { position: relative; }
.gal:before { content: ""; position: absolute; height: 100px; width: 300%; right: 0; bottom: -1px; background-color: var(--wp--preset--color--base); display: block; }

.bloc_devis { top: -10vw !important; z-index: 999 !important; position: relative; }
.footerpart2 { top: -10vw !important; position: relative; }
.illus_cat, .cat_title { width: 50%; }

.wp-block-group.traits { position: absolute; z-index: 1 !important; width: 200%; margin-left: -20% !important; margin-top: -20%; }
.wp-block-group.traits2 { position: absolute; z-index: 1 !important; width: 200%; margin-left: 40% !important; margin-top: -20%; opacity: 0.3; }

/* `clip` et non `hidden` : pas de scroller imbriqué (règle 7 du moteur). */
.overflow { overflow: clip; }

.wp-block-list { margin-left: 20px; }

.alcb__carousel_container { transform: inherit !important; }

iframe {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
}

@media (max-width: 1213px) {
  .basline { min-width: 445px !important; }
}

@media (max-width: 800px) {
  .gw-mm__toggle {
    background: none;
    border: none;
    color: var(--wp--preset--color--contrast);
    transform: scale(2.5);
    font-size: 0;
  }
  .is-layout-flex { flex-wrap: nowrap; }
  .ordi { display: none !important; }
}
@media (min-width: 800px) {
  .tel { display: none; }
}

/* Fiches produits (03/11/2026) : visuel détouré à côté de l'introduction et
   bandeau d'appel à l'action en bas de page (.franergie-cta-bloc). */
.franergie-intro { gap: var(--wp--preset--spacing--50); }
.franergie-packshot img { width: 100%; height: auto; max-height: 320px; object-fit: contain; }

.franergie-cta-bloc {
  position: relative;
  overflow: clip;
  /* Bleu de la charte (demande de Christophe, 03/11), léger reflet. */
  background: var(--wp--preset--color--contrast, #00a7c5) linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 60%) !important;
}
.franergie-cta-bloc::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.franergie-cta-bloc > * { position: relative; z-index: 1; }
.franergie-cta-bloc h2 { margin-top: 0; text-transform: uppercase; font-weight: 800; hyphens: manual; }
.franergie-cta-bloc > * { margin-left: 0 !important; }
.franergie-cta-bloc p { max-width: 46rem; font-size: 1.1rem; }

.franergie-cta-atouts {
  list-style: none;
  margin: var(--wp--preset--spacing--30) 0 0 !important;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-weight: 700;
}
.franergie-cta-atouts li { display: flex; align-items: center; gap: 0.5rem; }
.franergie-cta-atouts li::before {
  content: "";
  flex: 0 0 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23dc3422' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.franergie-cta { margin-top: var(--wp--preset--spacing--40) !important; gap: 0.8rem !important; }
.franergie-cta .wp-block-button__link {
  font-size: 0.95rem !important;
  padding: 1rem 1.8rem !important;
  letter-spacing: 1px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.franergie-cta-devis .wp-block-button__link {
  border-color: var(--wp--preset--color--primary) !important;
  box-shadow: 0 10px 24px rgba(0, 20, 51, 0.18);
}
.franergie-cta-tel .wp-block-button__link::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.55em;
  vertical-align: -0.12em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.59a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.59a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) {
  .franergie-cta .wp-block-button__link:hover { transform: translateY(-2px); }
  .franergie-cta-devis .wp-block-button__link:hover { background-color: #fff !important; color: var(--wp--preset--color--primary) !important; border-color: #fff !important; }
  .franergie-cta-tel .wp-block-button__link:hover { background-color: #fff !important; color: var(--wp--preset--color--contrast) !important; }
}
/* L'ancien thème force `.is-layout-flex { flex-wrap: nowrap }` sous 800 px. */
@media (max-width: 800px) {
  .franergie-cta.is-layout-flex { flex-wrap: wrap !important; }
  .franergie-intro.wp-block-columns { flex-wrap: wrap !important; }
  .franergie-intro > .wp-block-column { flex-basis: 100% !important; }
  .franergie-packshot img { max-height: 220px; }
}
@media (max-width: 600px) {
  .franergie-cta .wp-block-button { width: 100%; }
  .franergie-cta .wp-block-button__link { width: 100%; text-align: center; }
}

/* -------------------------------------------------------------------------- */
/* Accueil (03/11/2026) : langage de la brochure A5 Harvest (blocs pleins,    */
/* pictos blancs, titres en capitales épaisses). Couleurs de la brochure,     */
/* foncées là où le blanc manquait de contraste.                              */
/* -------------------------------------------------------------------------- */
:root {
  /* Orange et bleu de la charte, tels quels (demande de Christophe, 03/11). */
  --fr-orange: var(--wp--preset--color--secondary, #ff9c3d);
  --fr-bleu: var(--wp--preset--color--contrast, #00a7c5);
  --fr-gris: #7d8a97;
  --fr-rouge: var(--wp--preset--color--primary, #dc3422);
}

/* Mosaïque de 4 tuiles sous le bandeau. */
.fr-mosaique {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 !important;
}
.fr-tuile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 270px;
  margin: 0 !important;
  padding: clamp(24px, 2.6vw, 44px) !important;
  overflow: clip;
  color: #fff;
}
.fr-tuile > * { margin-top: 0 !important; }
.fr-tuile--orange { background: var(--fr-orange); }
.fr-tuile--bleu { background: var(--fr-bleu); }
.fr-tuile--gris { background: var(--fr-gris); }
.fr-tuile--rouge { background: var(--fr-rouge); justify-content: center; text-align: center; }
.fr-tuile__picto {
  position: absolute;
  top: clamp(20px, 2.2vw, 34px);
  right: clamp(20px, 2.2vw, 34px);
  width: 64px;
  margin: 0 !important;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fr-tuile__picto img { display: block; width: 100%; height: auto; }
.fr-tuile__titre {
  margin: 0 0 0.45em !important;
  color: #fff;
  font-size: clamp(1.25rem, 0.9rem + 1vw, 1.8rem) !important;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  hyphens: manual;
}
.fr-tuile__titre a { color: inherit; text-decoration: none; }
/* Toute la tuile est cliquable. */
.fr-tuile__titre a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fr-tuile__texte { margin: 0 !important; font-size: 0.95rem; line-height: 1.45; }
.fr-tuile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
}
@media (hover: hover) {
  .fr-tuile:has(.fr-tuile__titre a):hover::before { opacity: 1; }
  .fr-tuile:hover .fr-tuile__picto { transform: scale(1.12) rotate(-6deg); }
}
.fr-tuile__sur, .fr-tuile__sous {
  margin: 0 !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fr-tuile__titre--grand { margin: 0.1em 0 !important; font-size: clamp(2rem, 1.2rem + 2vw, 3rem) !important; }
.fr-tuile--rouge .fr-tuile__texte { margin-top: 0.8em !important; }
.fr-tuile__tel {
  position: relative;
  z-index: 2;
  color: #fff !important;
  font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem);
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}
.fr-tuile__adresse { margin: 0.3em 0 0 !important; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; opacity: 0.9; }

@media (max-width: 1100px) {
  .fr-mosaique { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .fr-mosaique { grid-template-columns: 1fr; }
  .fr-tuile { min-height: 190px; }
}

/* Trois services en alternance photo / texte (page 2 de la brochure). */
.fr-services {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--80);
  max-width: 1200px;
  margin: 0 auto !important;
  padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50) !important;
}
.fr-service { align-items: center !important; gap: var(--wp--preset--spacing--60) !important; margin: 0 !important; }
.fr-service--inverse { flex-direction: row-reverse; }
.fr-service__visuel { position: relative; }
.fr-service__photo { margin: 0 !important; }
.fr-service__photo img { display: block; width: 100%; height: 480px; object-fit: cover; }
.fr-service__picto {
  position: absolute;
  top: -30px;
  left: -30px;
  z-index: 2;
  box-sizing: border-box;
  width: 124px;
  height: 124px;
  margin: 0 !important;
  padding: 30px;
}
.fr-service--inverse .fr-service__picto { left: auto; right: -30px; }
.fr-service__picto img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fr-service__picto--orange { background: var(--fr-orange); }
.fr-service__picto--bleu { background: var(--fr-bleu); }
.fr-service__picto--gris { background: var(--fr-gris); }
.fr-service__titre {
  margin-top: 0 !important;
  font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.8rem) !important;
  font-weight: 900;
  text-transform: uppercase;
}
.fr-service__titre--orange, .fr-service__accroche--orange { color: var(--fr-orange); }
.fr-service__titre--bleu, .fr-service__accroche--bleu { color: var(--fr-bleu); }
.fr-service__titre--gris, .fr-service__accroche--gris { color: var(--fr-gris); }
.fr-service__accroche { font-weight: 800; }
.fr-service__liste { margin-left: 0 !important; padding-left: 1.2em; }
.fr-service__liste li { margin-bottom: 0.35em; }
.fr-service__liste li::marker { color: var(--fr-bleu); }
.fr-boutons { margin-top: var(--wp--preset--spacing--30) !important; }
.fr-bouton-lien .wp-block-button__link {
  border: 2px solid currentColor !important;
  background: none !important;
  font-size: 0.85rem !important;
  padding: 0.9rem 1.5rem !important;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.fr-bouton-lien--orange .wp-block-button__link { color: var(--fr-orange) !important; }
.fr-bouton-lien--bleu .wp-block-button__link { color: var(--fr-bleu) !important; }
.fr-bouton-lien--gris .wp-block-button__link { color: var(--fr-gris) !important; }
@media (hover: hover) {
  .fr-bouton-lien--orange .wp-block-button__link:hover { background: var(--fr-orange) !important; border-color: var(--fr-orange) !important; color: #fff !important; }
  .fr-bouton-lien--bleu .wp-block-button__link:hover { background: var(--fr-bleu) !important; border-color: var(--fr-bleu) !important; color: #fff !important; }
  .fr-bouton-lien--gris .wp-block-button__link:hover { background: var(--fr-gris) !important; border-color: var(--fr-gris) !important; color: #fff !important; }
}
@media (max-width: 800px) {
  .fr-service.wp-block-columns { flex-wrap: wrap !important; }
  .fr-service > .wp-block-column { flex-basis: 100% !important; }
  .fr-service--inverse { flex-direction: column; }
  .fr-service__photo img { height: 300px; }
  .fr-service__picto { top: -18px; left: 0; width: 84px; height: 84px; padding: 20px; }
  .fr-service--inverse .fr-service__picto { right: 0; }
}

/* Bandeau d'appel à l'action de l'accueil : pleine largeur, avant le pied. */
.fr-home-cta { margin: 0 !important; }

/* Avis Google du pied de page (mu-plugin harvest-avis-google, 03/11/2026).
   `body` devant : la feuille du module, imprimée plus bas dans la page, pose
   les valeurs par défaut sur .harvest-avis-g. */
body .harvest-avis-g {
  --harvest-avis-texte: #001433;
  --harvest-avis-etoiles: var(--fr-orange, #e07b00);
  --harvest-avis-fond: var(--wp--preset--color--tertiary, #e4f8fc);
  max-width: 760px;
  margin: 0 auto;
  color: #001433;
}
body .harvest-avis-g .harvest-avis-g-badge { margin-bottom: 1.4em; }
body .harvest-avis-g .harvest-avis-g-badge__g { color: #001433; }
body .harvest-avis-g .harvest-avis-g__lien a { color: var(--fr-bleu, #0089a5); font-weight: 700; }
/* Le pied de page garde une 2e colonne vide à côté de « Ils parlent de nous » :
   on la masque pour centrer les avis. */
.wp-block-columns:has(.harvest-avis-g) > .wp-block-column:empty { display: none; }
.wp-block-columns:not(.fr-devis-avis__colonnes):has(.harvest-avis-g) > .wp-block-column:has(.harvest-avis-g) { flex-basis: 100% !important; }

/* -------------------------------------------------------------------------- */
/* Accueil v2 (03/11/2026) : ouverture en deux blocs, bande défilante,        */
/* chiffres clés, réalisations.                                               */
/* -------------------------------------------------------------------------- */
.fr-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

/* Ouverture : bloc bleu de texte + photo, carré orange à cheval. */
.fr-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: min(calc(100svh - var(--site-header-height, 96px)), 820px);
  margin: 0 !important;
  background: var(--fr-bleu);
  overflow: clip;
}
.fr-hero > * { margin: 0 !important; }
.fr-hero__panneau {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 88px) !important;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 55%);
}
.fr-hero__panneau > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.fr-hero__surtitre {
  align-self: flex-start;
  margin-bottom: 1.4rem !important;
  padding: 0.45em 1em;
  border-radius: 999px;
  background: rgba(0, 20, 51, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fr-hero__titre {
  color: #fff !important;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: none !important;
}
.fr-hero .rotator {
  position: relative;
  height: 1.12em;
  margin: 0.12em 0 1.1rem !important;
  color: #fff;
  font-size: clamp(2.1rem, 4.3vw, 3.9rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}
.fr-hero .rotator .split {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  color: #fff;
  font-size: 1em;
  font-weight: 900;
  white-space: nowrap;
}
.fr-hero__texte { max-width: 33rem; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.5; opacity: 0.95; }
.fr-hero__boutons { margin-top: 1.8rem !important; }
.fr-hero__boutons .franergie-cta-devis .wp-block-button__link { box-shadow: 0 14px 30px rgba(0, 20, 51, 0.28); }
.fr-hero__confiance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.6rem;
  margin-top: 2rem !important;
}
.fr-hero__confiance > * { margin: 0 !important; }
.fr-hero__confiance .harvest-avis-g-badge { margin: 0 !important; }
.fr-hero__atout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}
.fr-hero__atout::before {
  content: "";
  flex: 0 0 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2300a7c5' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.fr-hero__photo { position: relative; min-height: 420px; }
.fr-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.fr-hero__picto {
  position: absolute !important;
  z-index: 3;
  left: calc(51.9% - 62px);
  bottom: 56px;
  box-sizing: border-box;
  width: 124px;
  height: 124px;
  padding: 28px;
  background: var(--fr-orange);
  box-shadow: 0 18px 40px rgba(0, 20, 51, 0.25);
}
.fr-hero__picto img { display: block; width: 100%; height: 100%; object-fit: contain; animation: fr-soleil 18s linear infinite; }
@keyframes fr-soleil { to { rotate: 360deg; } }
/* Entrée du texte au chargement (sans GSAP : rien à défaire au teardown). */
.fr-hero__panneau > * { animation: fr-monte 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.fr-hero__panneau > :nth-child(2) { animation-delay: 0.08s; }
.fr-hero__panneau > :nth-child(3) { animation-delay: 0.16s; }
.fr-hero__panneau > :nth-child(4) { animation-delay: 0.24s; }
.fr-hero__panneau > :nth-child(5) { animation-delay: 0.32s; }
.fr-hero__panneau > :nth-child(6) { animation-delay: 0.4s; }
@keyframes fr-monte { from { opacity: 0; translate: 0 28px; } }
@media (prefers-reduced-motion: reduce) {
  .fr-hero__panneau > *, .fr-hero__picto img { animation: none; }
}
@media (max-width: 900px) {
  .fr-hero { grid-template-columns: 1fr; min-height: 0; }
  .fr-hero__photo { min-height: 280px; order: -1; }
  .fr-hero__picto { left: auto; right: 20px; bottom: auto; top: 220px; width: 92px; height: 92px; padding: 20px; }
}

/* Bande défilante des métiers. L'animation est (re)lancée par js/projet.js
   une fois la police chargée : un translate en % est figé au démarrage. */
.fr-bandeau-defilant {
  margin: 0 !important;
  padding: 18px 0 !important;
  overflow: clip;
  background: var(--fr-orange);
  color: #fff;
}
.fr-defile {
  display: flex;
  width: max-content;
  margin: 0 !important;
  font-size: clamp(1.05rem, 0.8rem + 0.9vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fr-defile span { padding-right: 0.3em; }
.fr-defile.is-anim { animation: fr-defile 42s linear infinite; }
@keyframes fr-defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fr-defile.is-anim { animation: none; } }

/* Chiffres clés, bande bleu nuit. */
.fr-chiffres {
  margin: 0 !important;
  padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50) !important;
  background: var(--wp--preset--color--tertiary, #e4f8fc);
  color: #001433;
}
.fr-chiffres > * { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
.fr-chiffres__intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--wp--preset--spacing--50); align-items: end; }
.fr-chiffres__intro > * { margin: 0 !important; }
.fr-chiffres__titre {
  color: #001433 !important;
  font-size: clamp(1.8rem, 1.1rem + 2vw, 3rem) !important;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}
.fr-chiffres__texte { font-size: 1.05rem; line-height: 1.6; }
.fr-chiffres__grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: var(--wp--preset--spacing--60) !important;
}
/* Bleu clair (08/11/2026) : chaque chiffre dans une carte blanche, valeurs
   aux couleurs du site. 13/11/2026 : le filet de couleur fait le tour de la
   carte (1 px) au lieu d'un trait épais en haut, avec un léger dégradé de
   la même couleur depuis le coin haut gauche. */
.fr-chiffre {
  margin: 0 !important;
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30) !important;
  --fr-carte: var(--fr-orange);
  border: 1px solid var(--fr-carte);
  border-radius: var(--fr-rayon);
  background: #fff;
  background: linear-gradient(155deg, color-mix(in srgb, var(--fr-carte) 22%, #fff) 0%, #fff 85%);
  box-shadow: 0 12px 34px rgba(0, 20, 51, 0.08);
}
.fr-chiffre:nth-child(2) { --fr-carte: var(--fr-bleu); }
.fr-chiffre:nth-child(3) { --fr-carte: var(--fr-gris); }
.fr-chiffre:nth-child(4) { --fr-carte: var(--fr-rouge); }
.fr-chiffre > * { margin: 0 !important; }
.fr-chiffre__valeur {
  color: var(--fr-orange);
  font-size: clamp(2.6rem, 1.4rem + 3.2vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fr-chiffre__valeur small { font-size: 0.45em; font-weight: 800; }
.fr-chiffre__libelle { margin-top: 0.6rem !important; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.9; }
.fr-chiffres__note { margin-top: var(--wp--preset--spacing--40) !important; font-size: 0.75rem; color: #4a5868; }
@media (max-width: 900px) {
  .fr-chiffres__intro { grid-template-columns: 1fr; }
  .fr-chiffres__grille { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* Réalisations en cartes photo, titre sur la photo. */
.fr-realisations {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 var(--wp--preset--spacing--50) var(--wp--preset--spacing--70) !important;
}
.fr-realisations__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: var(--wp--preset--spacing--40) !important; }
.fr-realisations__tete > * { margin: 0 !important; }
.fr-realisations__titre { color: var(--fr-bleu) !important; font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.8rem) !important; font-weight: 900; text-transform: uppercase; }
.fr-realisations__lien a { color: var(--fr-orange); font-weight: 800; text-transform: uppercase; text-decoration: none; letter-spacing: 0.04em; }
.fr-realisations__lien a::after { content: " →"; }
.fr-realisations__liste .wp-block-post-template { gap: var(--wp--preset--spacing--30) !important; }
.fr-realisations__liste .wp-block-post { position: relative; overflow: clip; margin: 0 !important; background: #001433; }
.fr-realisations__liste .wp-block-post-featured-image { margin: 0 !important; }
.fr-realisations__liste .wp-block-post-featured-image img { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease; }
.fr-realisations__liste .wp-block-post::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 51, 0) 45%, rgba(0, 20, 51, 0.85) 100%);
  pointer-events: none;
}
.fr-realisation__titre {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 !important;
  padding: var(--wp--preset--spacing--30) !important;
  color: #fff !important;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem) !important;
  font-weight: 800;
  line-height: 1.25;
}
.fr-realisation__titre a { color: #fff !important; text-decoration: none; }
.fr-realisation__titre a::after { content: ""; position: absolute; inset: -100vh 0 0; }
@media (hover: hover) {
  .fr-realisations__liste .wp-block-post:hover img { transform: scale(1.06); opacity: 0.9; }
}
@media (max-width: 800px) {
  .fr-realisations__liste .wp-block-post-template { grid-template-columns: 1fr !important; }
}
/* Accueil v2 : pas de césure dans les titres (la base coupe « EX-PERTS ») et
   textes blancs dans la bande bleu nuit (la couleur des paragraphes du thème
   l'emportait). */
.fr-hero h1, .fr-chiffres h2, .fr-services h2, .fr-realisations h2, .fr-realisations h3, .fr-mosaique h3 { hyphens: manual; overflow-wrap: normal; }
.fr-chiffres p, .fr-chiffres__texte { color: #2c3a4a; }
.fr-chiffres .fr-chiffre__libelle { color: #001433; }
.fr-chiffres .fr-chiffre__valeur { color: var(--fr-orange); }
.fr-chiffres .fr-chiffre:nth-child(2) .fr-chiffre__valeur { color: var(--fr-bleu); }
.fr-chiffres .fr-chiffre:nth-child(3) .fr-chiffre__valeur { color: var(--fr-gris); }
.fr-chiffres .fr-chiffre:nth-child(4) .fr-chiffre__valeur { color: var(--fr-rouge); }

/* -------------------------------------------------------------------------- */
/* Accueil v3 (03/11/2026), inspiré des sites du secteur (IZI by EDF, Savelys,*/
/* Kaltea) : cartes « votre projet » sur le bas de l'ouverture, étapes        */
/* numérotées, encart aides, coins arrondis.                                  */
/* -------------------------------------------------------------------------- */
:root { --fr-rayon: 18px; --fr-ombre: 0 18px 50px rgba(0, 20, 51, 0.12); }
.fr-surtitre {
  margin: 0 0 0.6rem !important;
  color: var(--fr-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fr-surtitre--clair { color: #fff; opacity: 0.9; }

/* La mosaïque devient 4 cartes à cheval sur le bas de l'ouverture. */
.fr-hero { padding-bottom: 90px; }
.fr-hero__picto { bottom: 140px; }
.fr-mosaique {
  position: relative;
  z-index: 4;
  gap: 18px;
  max-width: 1240px;
  margin: -90px auto 0 !important;
  padding: 0 var(--wp--preset--spacing--40);
}
.fr-tuile {
  justify-content: flex-start;
  min-height: 0;
  padding: 28px 26px 30px !important;
  border-radius: var(--fr-rayon);
  background: #fff !important;
  box-shadow: var(--fr-ombre);
  color: #001433;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}
.fr-tuile::before { display: none; }
.fr-tuile__picto {
  position: static;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  margin: 0 0 18px !important;
  padding: 14px;
  border-radius: 14px;
}
.fr-tuile--orange .fr-tuile__picto { background: var(--fr-orange); }
.fr-tuile--bleu .fr-tuile__picto { background: var(--fr-bleu); }
.fr-tuile--gris .fr-tuile__picto { background: var(--fr-gris); }
.fr-tuile__picto img { width: 100%; height: 100%; object-fit: contain; }
.fr-tuile__titre { color: #001433 !important; font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem) !important; }
.fr-tuile--orange .fr-tuile__titre a::before,
.fr-tuile--bleu .fr-tuile__titre a::before,
.fr-tuile--gris .fr-tuile__titre a::before { content: none; }
.fr-tuile__texte { color: #4a5868; }
.fr-tuile--orange .fr-tuile__texte::after,
.fr-tuile--bleu .fr-tuile__texte::after,
.fr-tuile--gris .fr-tuile__texte::after {
  content: "Découvrir →";
  display: block;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fr-tuile--orange .fr-tuile__texte::after { color: var(--fr-orange); }
.fr-tuile--bleu .fr-tuile__texte::after { color: var(--fr-bleu); }
.fr-tuile--gris .fr-tuile__texte::after { color: var(--fr-gris); }
.fr-tuile--rouge { background: var(--fr-rouge) !important; color: #fff; justify-content: center; }
.fr-tuile--rouge .fr-tuile__titre { color: #fff !important; }
.fr-tuile--rouge .fr-tuile__texte { color: #fff; }
@media (hover: hover) {
  .fr-tuile:has(.fr-tuile__titre a):hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0, 20, 51, 0.18); }
  .fr-tuile:hover .fr-tuile__picto { transform: none; }
}
@media (max-width: 900px) {
  .fr-hero { padding-bottom: 60px; }
  .fr-mosaique { margin-top: -60px !important; }
}

/* Coins arrondis : photos des services, cartes de réalisations, pictos. */
.fr-service__photo img { border-radius: var(--fr-rayon); }
.fr-service__picto { border-radius: 16px; }
.fr-realisations__liste .wp-block-post { border-radius: var(--fr-rayon); }

/* Étapes numérotées, fond bleu pâle. */
.fr-etapes {
  margin: 0 !important;
  padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50) !important;
  background: var(--wp--preset--color--tertiary, #e4f8fc);
}
.fr-etapes > * { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
.fr-etapes__tete { text-align: center; margin-bottom: var(--wp--preset--spacing--50) !important; }
.fr-etapes__tete > * { margin-top: 0 !important; }
.fr-etapes__titre { color: #001433 !important; font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.8rem) !important; font-weight: 900; text-transform: uppercase; hyphens: manual; }
.fr-etapes__liste {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: etape;
}
.fr-etapes__liste::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed rgba(0, 167, 197, 0.45);
}
.fr-etape {
  position: relative;
  margin: 0 !important;
  padding: 0 10px !important;
  text-align: center;
}
.fr-etape > * { margin-top: 0 !important; }
.fr-etape__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px !important;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 20, 51, 0.12);
  color: var(--fr-orange);
  font-size: 1.4rem;
  font-weight: 900;
}
.fr-etape:nth-child(2) .fr-etape__num { color: var(--fr-bleu); }
.fr-etape:nth-child(3) .fr-etape__num { color: var(--fr-gris); }
.fr-etape:nth-child(4) .fr-etape__num { color: var(--fr-rouge); }
.fr-etape__titre { color: #001433 !important; font-size: 1.15rem !important; font-weight: 800; margin-bottom: 0.5rem !important; hyphens: manual; }
.fr-etape__texte { color: #4a5868; font-size: 0.95rem; line-height: 1.55; }
@media (max-width: 900px) {
  .fr-etapes__liste { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .fr-etapes__liste::before { display: none; }
}
@media (max-width: 560px) {
  .fr-etapes__liste { grid-template-columns: 1fr; }
  .fr-etape { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; }
  .fr-etape__num { grid-row: span 2; width: 56px; height: 56px; margin: 0 !important; font-size: 1.15rem; }
}

/* Encart aides : carte orange arrondie. */
.fr-aides {
  max-width: 1240px;
  margin: 0 auto !important;
  padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--40) var(--wp--preset--spacing--60) !important;
}
.fr-aides__carte {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: var(--wp--preset--spacing--50);
  margin: 0 !important;
  padding: clamp(28px, 4vw, 56px) !important;
  overflow: clip;
  border-radius: 26px;
  background: var(--fr-orange) linear-gradient(120deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 60%);
  color: #fff;
}
.fr-aides__carte::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 36px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.fr-aides__carte > * { position: relative; z-index: 1; margin: 0 !important; }
.fr-aides__texte > * { margin-top: 0 !important; }
.fr-aides__titre { color: #fff !important; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem) !important; font-weight: 900; line-height: 1.1; hyphens: manual; }
.fr-aides__corps { margin-bottom: 0 !important; font-size: 1.05rem; line-height: 1.55; }
.fr-aides__boutons { flex-direction: column; align-items: stretch; gap: 12px !important; }
.fr-aides__boutons .wp-block-button__link {
  width: 100%;
  padding: 1rem 1.6rem !important;
  border-radius: 999px !important;
  font-size: 0.85rem !important;
  text-align: center;
}
.fr-aides__devis .wp-block-button__link { background: #fff !important; border-color: #fff !important; color: var(--fr-rouge) !important; }
.fr-aides__lien .wp-block-button__link { background: transparent !important; border: 2px solid #fff !important; color: #fff !important; }
@media (hover: hover) {
  .fr-aides__devis .wp-block-button__link:hover { background: #001433 !important; border-color: #001433 !important; color: #fff !important; }
  .fr-aides__lien .wp-block-button__link:hover { background: #fff !important; color: var(--fr-orange) !important; }
}
@media (max-width: 800px) {
  .fr-aides__carte { grid-template-columns: 1fr; }
  .fr-aides.is-layout-flex, .fr-aides__boutons.is-layout-flex { flex-wrap: wrap !important; }
}

/* -------------------------------------------------------------------------- */
/* Arrondis partout (04/11/2026), dans la continuité des cartes de l'accueil. */
/* -------------------------------------------------------------------------- */
/* Boutons en pilule : ceux des pages, de l'en-tête (« Demande de devis »), du
   pied de page, de la recherche. Les styles globaux les mettaient à 0. */
.wp-block-button__link,
.wp-element-button,
.wp-block-search__button { border-radius: 999px !important; }
.wp-block-button__link { padding-left: 1.6em; padding-right: 1.6em; }

/* Champs de formulaire. */
.wp-block-search__input,
.wp-site-blocks input[type="text"],
.wp-site-blocks input[type="email"],
.wp-site-blocks input[type="tel"],
.wp-site-blocks input[type="search"],
.wp-site-blocks input[type="number"],
.wp-site-blocks select,
.wp-site-blocks textarea { border-radius: 12px; }
.wp-block-search__inside-wrapper { border-radius: 999px; }

/* Médias et encarts. */
.wp-block-embed__wrapper { border-radius: var(--fr-rayon, 18px); overflow: clip; }
.wp-block-post-featured-image img,
.wp-block-post-featured-image a { border-radius: 16px; }
.wp-block-post-featured-image { overflow: clip; border-radius: 16px; }
.wp-block-post-featured-image:has(+ *) { margin-bottom: 0.9rem; }
.fr-hero__picto { border-radius: 22px; }
.franergie-cta-bloc { border-radius: 24px; }
.fr-home-cta { border-radius: 0; }
.franergie-packshot img { border-radius: 14px; }
.gmbrr .listing > li { border-radius: 16px !important; }

/* Bandeau cookies (mécanique de la base) : carte et boutons arrondis. */
.site-ck { border-radius: 20px !important; }
.site-ck button,
.site-ck .site-ck__btn { border-radius: 999px !important; }

/* Ouverture de l'accueil : la photo descend jusqu'en bas de la section, les
   cartes « votre projet » mordent dessus (la marge passe au bloc de texte). */
.fr-hero { padding-bottom: 0 !important; }
.fr-hero__panneau { padding-bottom: calc(clamp(40px, 6vw, 96px) + 90px) !important; }
@media (max-width: 900px) {
  .fr-hero__panneau { padding-bottom: calc(clamp(40px, 6vw, 96px) + 60px) !important; }
}
/* En-tête mobile : le bouton devis en pilule ne doit pas élargir la ligne du logo. */
@media (max-width: 600px) {
  header .heading .wp-block-button__link { padding: 0.55em 0.95em !important; font-size: 0.68rem !important; line-height: 1.2; }
  header .heading { gap: 8px !important; }
  header .heading .wp-block-site-logo { flex: 0 1 auto; min-width: 0; }
  header .heading .wp-block-site-logo img { max-width: 140px; height: auto; }
}
/* Pictos des cartes « votre projet » : carrés, sans arrondi (demande du 06/11). */
.fr-tuile__picto, .fr-tuile__picto img,
.fr-service__picto, .fr-service__picto img,
.fr-hero__picto, .fr-hero__picto img { border-radius: 0 !important; }

/* -------------------------------------------------------------------------- */
/* Bloc commun « Devis et avis Google » (compo synchronisée, pied de page,    */
/* 08/11/2026) : encart devis à gauche, avis Google à droite.                 */
/* -------------------------------------------------------------------------- */
.fr-devis-avis {
  margin: 0 !important;
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40) !important;
  background: var(--wp--preset--color--tertiary, #e4f8fc);
}
.fr-devis-avis__colonnes {
  max-width: 1240px !important;
  align-items: stretch !important;
  gap: clamp(24px, 3vw, 48px) !important;
  margin: 0 auto !important;
}
.fr-devis-avis__colonnes > .fr-devis-avis__avis { flex-basis: 46% !important; min-width: 0; }
.fr-devis-avis__colonnes > .fr-devis-avis__devis { display: flex; min-width: 0; }
.fr-devis-avis .franergie-cta-bloc { flex: 1; margin: 0 !important; }
.fr-devis-avis__avis {
  padding: clamp(24px, 3vw, 44px) !important;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--fr-ombre);
}
.fr-devis-avis__avis > * { margin-top: 0 !important; }
.fr-devis-avis__titre {
  margin-bottom: var(--wp--preset--spacing--30) !important;
  color: #001433 !important;
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem) !important;
  font-weight: 900;
  text-transform: uppercase;
  hyphens: manual;
}
/* Avis comme sur uxam.com (08/11) : pas de titre, badge centré et agrandi au
   dessus, avis sans cadre ni fond, texte centré. */
.fr-devis-avis__avis { display: flex; flex-direction: column; justify-content: center; }
.fr-devis-avis .harvest-avis-g { --harvest-avis-fond: var(--wp--preset--color--tertiary, #e4f8fc); text-align: center; }
.fr-devis-avis .harvest-avis-g .harvest-avis-g-badge {
  margin: 0 auto 1.6em !important;
  padding: 14px 24px;
  border-radius: 18px;
  font-size: 1.3rem;
}
.fr-devis-avis .gmbrr .listing > li {
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-align: center;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center;
}
.fr-devis-avis .gmbrr .listing > li > * { align-self: stretch; }
.fr-devis-avis .gmbrr .listing > li > .author-avatar { align-self: center; }
.fr-devis-avis .gmbrr .listing > li .author-avatar { float: none; display: block; width: fit-content; margin: 0 auto 8px; }
.fr-devis-avis .gmbrr .listing > li .author-avatar a, .fr-devis-avis .gmbrr .listing > li .author-avatar img { display: block; margin: 0 auto; }
.fr-devis-avis .gmbrr .listing > li .review-meta { display: block; margin: 0 0 10px; text-align: center; }
.fr-devis-avis .gmbrr .listing > li .review-meta > span { display: block; }
.fr-devis-avis .gmbrr .listing > li .text { padding: 0 !important; margin: 0 !important; font-size: 1.02rem; line-height: 1.6; }
.fr-devis-avis .harvest-avis-g-badge__note { white-space: nowrap; }
.fr-devis-avis .harvest-avis-g-badge__ligne { flex-wrap: nowrap; }
@media (max-width: 600px) {
  .fr-devis-avis .harvest-avis-g .harvest-avis-g-badge { font-size: 1.05rem; padding: 12px 18px; }
}
.fr-devis-avis .gmbrr .navigation { justify-content: center; text-align: center; }
.fr-devis-avis .harvest-avis-g__lien { text-align: center; }
@media (max-width: 781px) {
  .fr-devis-avis__colonnes { flex-wrap: wrap !important; }
  .fr-devis-avis__colonnes > .fr-devis-avis__avis,
  .fr-devis-avis__colonnes > .fr-devis-avis__devis { flex-basis: 100% !important; }
}

/* -------------------------------------------------------------------------- */
/* Page « Nos produits » (08/11/2026) : ouverture + guide, cartes produits.   */
/* -------------------------------------------------------------------------- */
.fr-gamme-intro {
  gap: clamp(28px, 4vw, 64px) !important;
  margin: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--60) !important;
  align-items: center !important;
}
.fr-gamme-intro > .wp-block-column > * { margin-top: 0; }
.fr-gamme-intro__titre,
.fr-gamme__titre {
  color: #001433 !important;
  font-size: clamp(1.8rem, 1.1rem + 2vw, 2.8rem) !important;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  hyphens: manual;
}
.fr-gamme-intro__chapo { font-size: 1.12rem; line-height: 1.6; color: #2c3a4a; }
.fr-gamme-intro__atouts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: var(--wp--preset--spacing--30) 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
.fr-gamme-intro__atouts li {
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--wp--preset--color--tertiary, #e4f8fc);
  color: #00657a;
  font-size: 0.85rem;
  font-weight: 800;
}
.fr-gamme-intro__atouts li::before { content: "✓ "; color: var(--fr-orange); }
.fr-gamme-intro__boutons { margin-top: var(--wp--preset--spacing--40) !important; gap: 10px !important; }
.fr-gamme-intro__aa .wp-block-button__link { background: var(--fr-bleu) !important; border-color: var(--fr-bleu) !important; color: #fff !important; }
.fr-gamme-intro__ae .wp-block-button__link { background: var(--fr-orange) !important; border-color: var(--fr-orange) !important; color: #fff !important; }
.fr-gamme-intro__boutons .wp-block-button__link::after { content: " ↓"; }

.fr-gamme-guide {
  position: relative;
  overflow: clip;
  padding: clamp(24px, 3vw, 40px) !important;
  border-radius: 24px;
  background: #001433 !important;
  color: #fff;
}
.fr-gamme-guide::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(0, 167, 197, 0.22);
  border-radius: 50%;
  pointer-events: none;
}
.fr-gamme-guide > * { position: relative; z-index: 1; margin-top: 0 !important; }
.fr-gamme-guide__titre { color: #fff !important; font-size: 1.35rem !important; font-weight: 900; text-transform: uppercase; }
.fr-gamme-guide__liste { margin: 0 0 var(--wp--preset--spacing--30) !important; padding: 0 !important; list-style: none; counter-reset: guide; }
.fr-gamme-guide__liste li {
  position: relative;
  padding: 14px 0 14px 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.98rem;
  line-height: 1.5;
  counter-increment: guide;
}
.fr-gamme-guide__liste li::before {
  content: counter(guide);
  position: absolute;
  left: 0;
  top: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--fr-orange);
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
}
.fr-gamme-guide__liste li:nth-child(2)::before { background: var(--fr-bleu); }
.fr-gamme-guide__liste li:nth-child(3)::before { background: var(--fr-rouge); }
.fr-gamme-guide a { color: var(--fr-orange) !important; font-weight: 800; }
.fr-gamme-guide__aide { margin-bottom: 0 !important; font-size: 0.92rem; opacity: 0.85; }

.fr-gamme { margin: 0 !important; padding: var(--wp--preset--spacing--60) 0 !important; scroll-margin-top: 140px; }
.fr-gamme--fond {
  background: var(--wp--preset--color--tertiary, #e4f8fc);
  box-shadow: 0 0 0 100vmax var(--wp--preset--color--tertiary, #e4f8fc);
  clip-path: inset(0 -100vmax);
}
.fr-gamme__tete { max-width: 760px; margin: 0 auto var(--wp--preset--spacing--50) !important; text-align: center; }
.fr-gamme__tete > * { margin-top: 0 !important; }
.fr-gamme__chapo { margin-bottom: 0 !important; color: #4a5868; font-size: 1.05rem; line-height: 1.6; }

.fr-gamme__grille--deux { max-width: 1000px; margin: 0 auto !important; }

.fr-produit {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 0 24px !important;
  overflow: clip;
  border-radius: var(--fr-rayon);
  background: #fff;
  box-shadow: var(--fr-ombre);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}
.fr-produit > * { margin: 0 22px !important; }
.fr-produit > .fr-produit__photo { margin: 0 0 18px !important; }
.fr-produit__photo { aspect-ratio: 4 / 3; overflow: clip; }
.fr-gamme__grille--deux .fr-produit__photo { aspect-ratio: 16 / 9; }
.fr-produit__photo a, .fr-produit__photo img { display: block; width: 100%; height: 100% !important; }
.fr-produit__photo img { object-fit: cover; border-radius: 0 !important; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fr-produit__etiquette {
  align-self: flex-start;
  margin-bottom: 8px !important;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 156, 61, 0.15);
  color: #b85c00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fr-gamme--fond .fr-produit__etiquette { background: rgba(0, 167, 197, 0.13); color: #00657a; }
.fr-produit__titre { margin-bottom: 6px !important; font-size: 1.3rem !important; font-weight: 900; line-height: 1.15; hyphens: manual; }
.fr-produit__titre a { color: #001433 !important; text-decoration: none !important; }
/* Toute la carte est cliquable (le lien du titre la couvre). */
.fr-produit__titre a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fr-produit__texte { flex: 1; color: #4a5868; font-size: 0.95rem; line-height: 1.55; }
.fr-produit__texte::after {
  content: "Découvrir →";
  display: block;
  margin-top: 12px;
  color: var(--fr-bleu);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fr-produit__points { margin-top: 4px !important; padding: 0 !important; list-style: none; font-size: 0.93rem; }
.fr-produit__points li { position: relative; padding: 5px 0 5px 24px; color: #2c3a4a; }
.fr-produit__points li::before { content: "✓"; position: absolute; left: 0; color: var(--fr-bleu); font-weight: 900; }
.fr-produit:has(.fr-produit__points) .fr-produit__texte { flex: 0; }
.fr-produit:has(.fr-produit__points) .fr-produit__texte::after { content: none; }
/* Les liens des modèles muraux passent au-dessus du lien de la carte. */
.fr-produit__modeles { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px !important; }
.fr-produit__modeles a {
  padding: 5px 11px;
  border: 1.5px solid rgba(0, 167, 197, 0.4);
  border-radius: 999px;
  color: #00657a !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none !important;
}
@media (hover: hover) {
  .fr-produit:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0, 20, 51, 0.18); }
  .fr-produit:hover .fr-produit__photo img { transform: scale(1.05); }
  .fr-produit__modeles a:hover { background: var(--fr-bleu); border-color: var(--fr-bleu); color: #fff !important; }
}
.fr-gamme__suite { justify-content: center; margin-top: var(--wp--preset--spacing--50) !important; }
.fr-gamme__lien .wp-block-button__link { background: transparent !important; border: 2px solid #001433 !important; color: #001433 !important; }
@media (hover: hover) {
  .fr-gamme__lien .wp-block-button__link:hover { background: #001433 !important; color: #fff !important; }
}
@media (max-width: 781px) {
  .fr-gamme-intro { flex-wrap: wrap !important; }
  .fr-gamme-intro__boutons.is-layout-flex { flex-wrap: wrap !important; }
}

/* -------------------------------------------------------------------------- */
/* Pied de page (08/11/2026) : partenaires en rangée fixe, puis bloc sombre    */
/* en 4 colonnes (présentation, produits, Franergie, contact) et barre basse. */
/* Le carrousel de logos est retiré : son data-speed="400" (vitesse Swiper)   */
/* était lu par ScrollSmoother comme une parallaxe et le décalait de 400 px.  */
/* -------------------------------------------------------------------------- */
footer.wp-block-template-part > * { margin-top: 0 !important; margin-bottom: 0 !important; }

.fr-pied-partenaires {
  padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) !important;
  background: #fff;
  border-bottom: 1px solid rgba(0, 20, 51, 0.08);
}
.fr-pied-partenaires > * { max-width: 1240px !important; }
.fr-pied-partenaires__titre {
  margin: 0 auto 22px !important;
  color: var(--fr-gris);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.fr-pied-partenaires__logos { gap: 28px clamp(40px, 7vw, 96px) !important; align-items: center !important; justify-content: center !important; margin: 0 auto !important; }
.fr-pied-partenaires__logos.is-layout-flex { flex-wrap: wrap !important; }
.fr-pied__partenaire { flex: 0 0 auto; margin: 0 !important; text-align: center; }
.fr-pied__partenaire img {
  width: auto !important;
  max-width: 100%;
  height: 52px !important;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
/* Les SVG n'ont pas les mêmes marges internes : hauteurs réglées logo par logo
   pour un poids visuel égal (Daikin, RGE, fluides, EDF). */
.fr-pied__partenaire:nth-child(1) img { height: 44px !important; }
.fr-pied__partenaire:nth-child(2) img { height: 78px !important; }
.fr-pied__partenaire:nth-child(3) img { height: 66px !important; }
.fr-pied__partenaire:nth-child(4) img { height: 84px !important; }
@media (hover: hover) {
  .fr-pied__partenaire img:hover { filter: none; opacity: 1; }
}

.fr-pied {
  padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--40) 0 !important;
  background: #001433;
  color: #fff;
}
.fr-pied > * { max-width: 1240px !important; }
.fr-pied a { color: #fff; text-decoration: none; }
.fr-pied__colonnes { gap: clamp(28px, 4vw, 56px) !important; margin: 0 auto !important; }
.fr-pied__colonnes > .wp-block-column > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.fr-pied__colonnes > .wp-block-column > * + * { margin-top: 16px !important; }
.fr-pied__logo img { display: block; height: auto; }
.fr-pied__presentation { max-width: 26rem; color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; line-height: 1.65; }
.fr-pied .harvest-avis-g-badge { margin: 22px 0 0 !important; }
.fr-pied .harvest-avis-g-badge--clair { color: #fff; }
.fr-pied__titre {
  margin-bottom: 18px !important;
  color: var(--fr-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fr-pied__liens { margin: 0 !important; padding: 0 !important; list-style: none; }
.fr-pied__liens li { margin: 0; padding: 6px 0; }
.fr-pied__liens a { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; transition: color 0.2s ease, padding 0.2s ease; }
@media (hover: hover) {
  .fr-pied__liens a:hover { color: #fff; padding-left: 6px; }
  .fr-pied__legal a:hover { color: #fff; }
}
.fr-pied__tel a { color: #fff; font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); font-weight: 900; letter-spacing: 0.01em; white-space: nowrap; }
.fr-pied__adresse { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; line-height: 1.6; }
.fr-pied__zone { color: var(--fr-bleu); font-size: 0.85rem; font-weight: 700; }
.fr-pied__boutons { margin-top: 22px !important; }
.fr-pied__devis .wp-block-button__link {
  padding: 0.9rem 1.6rem !important;
  background: var(--fr-rouge) !important;
  border: 2px solid var(--fr-rouge) !important;
  color: #fff !important;
  font-size: 0.8rem !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (hover: hover) {
  .fr-pied__devis .wp-block-button__link:hover { background: #fff !important; border-color: #fff !important; color: var(--fr-rouge) !important; }
}

.fr-pied__bas {
  gap: 10px 24px !important;
  align-items: center !important;
  margin: var(--wp--preset--spacing--60) auto 0 !important;
  padding: 22px 0 28px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.fr-pied__bas.is-layout-flex { flex-wrap: wrap !important; }
.fr-pied__bas > * { margin: 0 !important; }
.fr-pied__copyright { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; }
.fr-pied__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.8rem; }
.fr-pied__legal a { color: rgba(255, 255, 255, 0.7); }

@media (max-width: 1000px) {
  .fr-pied__colonnes { flex-wrap: wrap !important; }
  .fr-pied__colonnes > .fr-pied__marque,
  .fr-pied__colonnes > .fr-pied__contact { flex-basis: 100% !important; }
  .fr-pied__colonnes > .fr-pied__col:not(.fr-pied__contact) { flex-basis: calc(50% - 28px) !important; flex-grow: 1; }
}
@media (max-width: 560px) {
  .fr-pied__colonnes > .fr-pied__col:not(.fr-pied__contact) { flex-basis: 100% !important; }
  .fr-pied-partenaires__logos { gap: 20px 36px !important; }
  .fr-pied__partenaire:nth-child(1) img { height: 34px !important; }
  .fr-pied__partenaire:nth-child(2) img { height: 60px !important; }
  .fr-pied__partenaire:nth-child(3) img { height: 52px !important; }
  .fr-pied__partenaire:nth-child(4) img { height: 64px !important; }
}

/* Titre des archives (catégories, réalisations), 08/11/2026 : le modèle
   n'avait aucun H1. */
.fr-archive-titre {
  margin: var(--wp--preset--spacing--40) auto var(--wp--preset--spacing--30) !important;
  padding: 0 var(--wp--preset--spacing--40);
  color: #001433 !important;
  font-size: clamp(2rem, 1.3rem + 2vw, 3rem) !important;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  hyphens: manual;
}

/* -------------------------------------------------------------------------- */
/* Pages Contact, Avis, Conseils, Réalisations étoffées (SEO, 08/11/2026).    */
/* -------------------------------------------------------------------------- */
.fr-contact { align-items: flex-start !important; }
.fr-contact-carte__tel a { color: #fff !important; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 900; white-space: nowrap; }
.fr-contact-carte__adresse { color: rgba(255, 255, 255, 0.85); line-height: 1.6; }
.fr-contact-carte__zone { color: var(--fr-bleu); font-size: 0.9rem; font-weight: 700; }
.fr-contact-carte .fr-gamme-guide__titre + * { margin-top: 12px !important; }
.fr-contact-carte > .fr-gamme-guide__titre:not(:first-child) { margin-top: 28px !important; }
.fr-contact-repli {
  padding: 22px 24px;
  border: 2px dashed rgba(0, 167, 197, 0.45);
  border-radius: var(--fr-rayon);
  background: var(--wp--preset--color--tertiary, #e4f8fc);
  color: #001433;
  font-weight: 700;
}
.fr-contact-repli a { color: var(--fr-rouge); white-space: nowrap; }

.fr-avis-note {
  padding: clamp(24px, 3vw, 40px) !important;
  border-radius: 24px;
  background: var(--wp--preset--color--tertiary, #e4f8fc);
  text-align: center;
}
.fr-avis-note > * { margin-top: 0 !important; }
.fr-avis-note__valeur { margin-bottom: 4px !important; color: var(--fr-orange); font-size: clamp(3.2rem, 2rem + 3vw, 4.6rem); font-weight: 900; line-height: 1; }
.fr-avis-note__valeur small { font-size: 0.4em; color: #001433; }
.fr-avis-note__libelle { color: #001433; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.fr-avis-note__points { display: inline-block; margin: 18px auto 0 !important; padding: 0 !important; list-style: none; text-align: left; }
.fr-avis-note__points li { position: relative; padding: 5px 0 5px 26px; color: #2c3a4a; }
.fr-avis-note__points li::before { content: "✓"; position: absolute; left: 0; color: var(--fr-bleu); font-weight: 900; }
.fr-avis-intro__boutons { margin-top: var(--wp--preset--spacing--40) !important; gap: 10px !important; }
.fr-avis-lire .wp-block-button__link { background: var(--fr-bleu) !important; border-color: var(--fr-bleu) !important; color: #fff !important; }
.fr-avis-laisser .wp-block-button__link { background: transparent !important; border: 2px solid #001433 !important; color: #001433 !important; }

.fr-guide {
  position: relative;
  margin: 0 !important;
  padding: 22px 22px 24px !important;
  --fr-carte: var(--fr-orange);
  border: 1px solid var(--fr-carte);
  border-radius: var(--fr-rayon);
  background: #fff;
  background: linear-gradient(155deg, color-mix(in srgb, var(--fr-carte) 22%, #fff) 0%, #fff 85%);
  box-shadow: var(--fr-ombre);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}
.fr-guide:nth-child(4n+2) { border-top-color: var(--fr-bleu); }
.fr-guide:nth-child(4n+3) { border-top-color: var(--fr-gris); }
.fr-guide:nth-child(4n+4) { border-top-color: var(--fr-rouge); }
.fr-guide > * { margin-top: 0 !important; }
.fr-guide__etiquette { margin-bottom: 8px !important; color: #b85c00; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.fr-guide__titre { margin-bottom: 8px !important; font-size: 1.08rem !important; font-weight: 900; line-height: 1.2; hyphens: manual; }
.fr-guide__titre a { color: #001433 !important; text-decoration: none !important; }
.fr-guide__titre a::after { content: ""; position: absolute; inset: 0; }
.fr-guide__texte { margin-bottom: 0 !important; color: #4a5868; font-size: 0.92rem; line-height: 1.5; }
@media (hover: hover) {
  .fr-guide:hover { transform: translateY(-5px); box-shadow: 0 24px 56px rgba(0, 20, 51, 0.16); }
}
.fr-conseils-liste-titre { margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--30) !important; color: #001433 !important; font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem) !important; font-weight: 900; text-transform: uppercase; text-align: center; }
.fr-galerie-tete { padding-bottom: var(--wp--preset--spacing--30) !important; }
@media (max-width: 781px) {
  .fr-contact.is-layout-flex, .fr-avis-intro.is-layout-flex { flex-wrap: wrap !important; }
}
.fr-gamme-guide li, .fr-gamme-guide li strong { color: rgba(255, 255, 255, 0.92) !important; }
.fr-gamme-guide li strong { color: #fff !important; }

/* Formulaire de contact Gravity Forms (thème Orbital) aux couleurs du site,
   08/11/2026 : variables du thème GF, champs arrondis, bouton rouge en pilule. */
/* !important : GF pose ses couleurs en ligne sur #gform_wrapper_N[data-form-index]. */
.fr-contact .gform-theme--framework {
  --gf-color-primary: #dc3422 !important;
  --gf-color-primary-rgb: 220, 52, 34 !important;
  --gf-color-primary-darker: #b82a1b !important;
  --gf-color-in-ctrl-primary: #dc3422 !important;
  --gf-ctrl-border-color: #c5d3dc !important;
  --gf-ctrl-border-color-focus: #00a7c5 !important;
  --gf-ctrl-outline-color-focus: rgba(0, 167, 197, 0.35) !important;
  --gf-radius: 12px !important;
  --gf-ctrl-size: 48px !important;
  --gf-ctrl-label-color-primary: #001433 !important;
  --gf-ctrl-label-font-weight-primary: 700 !important;
  --gf-ctrl-btn-radius: 999px !important;
  margin-top: var(--wp--preset--spacing--40);
}
.fr-contact .gform_wrapper .gfield_label { color: #001433; }
.fr-contact .fr-gf-choix .gfield_radio { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 10px !important; }
.fr-contact .fr-gf-choix .gchoice { margin: 0; }
.fr-contact .fr-gf-choix .gchoice input { position: absolute; opacity: 0; }
.fr-contact .fr-gf-choix .gchoice label {
  display: inline-block;
  margin: 0 !important;
  padding: 10px 18px;
  border: 2px solid #c5d3dc;
  border-radius: 999px;
  color: #001433;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.fr-contact .fr-gf-choix .gchoice input:checked + label { border-color: var(--fr-bleu); background: var(--fr-bleu); color: #fff; }
.fr-contact .fr-gf-choix .gchoice input:focus-visible + label { outline: 3px solid rgba(0, 167, 197, 0.45); outline-offset: 2px; }
.fr-contact .gform_footer .gform_button {
  padding: 1rem 2rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Maillage vers les produits (09/11/2026) : compo « Nos produits Daikin »
   (articles, réalisations, Avis, Conseils, Réalisations) et encadré
   « Matériel installé » en fin de réalisation. */
.fr-produits-lies {
  margin: var(--wp--preset--spacing--60) 0 0 !important;
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40) !important;
  border-top: 1px solid rgba(0, 20, 51, 0.08);
}
.fr-produits-lies > * { max-width: 1240px !important; }
.fr-produit--compact .fr-produit__photo { aspect-ratio: 16 / 10; }
.fr-produit--compact .fr-produit__titre { font-size: 1.12rem !important; }
.fr-produit--compact .fr-produit__texte { font-size: 0.9rem; }

.fr-materiel {
  margin: var(--wp--preset--spacing--50) 0 0 !important;
  padding: 22px 26px !important;
  border-left: 5px solid var(--fr-bleu);
  border-radius: 0 var(--fr-rayon) var(--fr-rayon) 0;
  background: var(--wp--preset--color--tertiary, #e4f8fc);
}
.fr-materiel > * { margin: 0 !important; }
.fr-materiel > * + * { margin-top: 8px !important; }
.fr-materiel__titre { color: var(--fr-orange); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.fr-materiel__texte { color: #2c3a4a; line-height: 1.55; }
.fr-materiel__texte a { color: #001433; font-weight: 900; }
.fr-materiel__gamme a { color: var(--fr-bleu); font-size: 0.85rem; font-weight: 800; text-decoration: none; }
.fr-materiel__gamme a::after { content: " →"; }

/* Bannière des articles (09/11/2026), sur le modèle des pages : photo à la une,
   bande bleue avec rubrique, titre et date. */
.fr-article-bande > * { margin: 0 !important; }
.fr-article-rubrique { padding-left: var(--wp--preset--spacing--30); }
.fr-article-rubrique a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: #007f99 !important;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.fr-article-rubrique .wp-block-post-terms__separator { display: none; }
.fr-article-bande .wp-block-post-title { margin-top: 14px !important; }
.fr-article-date {
  margin-top: 14px !important;
  padding-left: var(--wp--preset--spacing--30);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
}
.fr-article-corps { font-size: 1.05rem; line-height: 1.7; }
.fr-article-corps h2, .fr-article-corps h3 { color: #001433; hyphens: manual; }

/* Signature Harvest de la barre basse (09/11/2026), discrète comme sur les
   autres sites de l'agence. */
.fr-pied__signature { margin-left: auto !important; font-size: 0.58rem; }
.fr-pied__signature a {
  color: rgba(255, 255, 255, 0.45) !important;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .fr-pied__signature a:hover { color: #fff !important; }
}
@media (max-width: 600px) {
  .fr-pied__signature { margin-left: 0 !important; flex-basis: 100%; }
}

/* Page « Qui sommes-nous » (09/11/2026) : chiffres clés en carte sombre,
   cartes d'engagements non cliquables. */
.fr-apropos-intro { align-items: center !important; }
.fr-apropos-chiffres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  overflow: clip;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--fr-ombre);
}
.fr-apropos-chiffre { margin: 0 !important; padding: 28px 22px !important; background: #001433; text-align: center; }
.fr-apropos-chiffre > * { margin: 0 !important; }
.fr-apropos-chiffre__valeur { color: var(--fr-orange); font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.6rem); font-weight: 900; line-height: 1; }
.fr-apropos-chiffre:nth-child(2) .fr-apropos-chiffre__valeur { color: var(--fr-bleu); }
.fr-apropos-chiffre:nth-child(3) .fr-apropos-chiffre__valeur { color: #fff; }
.fr-apropos-chiffre:nth-child(4) .fr-apropos-chiffre__valeur { color: var(--fr-rouge); }
.fr-apropos-chiffre__valeur small { font-size: 0.45em; color: rgba(255, 255, 255, 0.7); }
.fr-apropos-chiffre__libelle { margin-top: 10px !important; color: rgba(255, 255, 255, 0.8); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.fr-guide--fixe { box-shadow: 0 10px 30px rgba(0, 20, 51, 0.08); }
@media (hover: hover) {
  .fr-guide--fixe:hover { transform: none; box-shadow: 0 10px 30px rgba(0, 20, 51, 0.08); }
}
@media (max-width: 781px) {
  .fr-apropos-intro.is-layout-flex { flex-wrap: wrap !important; }
}

/* Ouverture de l'accueil (10/11/2026) : bleu d'origine en voile transparent
   sur la photo, passée en pleine largeur derrière le texte ; le voile se fond
   vers la droite pour dégager la photo. Essai précédent sur fond clair
   (piste A) écarté par la cliente. Mobile : photo en haut, texte sur le bleu. */
@media (min-width: 901px) {
  .fr-hero.has-contrast-background-color .fr-hero__photo {
    position: absolute !important;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .fr-hero.has-contrast-background-color::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 167, 197, 0.9) 0%, rgba(0, 167, 197, 0.84) 42%, rgba(0, 167, 197, 0.35) 62%, rgba(0, 167, 197, 0) 78%);
  }
  .fr-hero.has-contrast-background-color .fr-hero__panneau { z-index: 2; background-image: none; }
  .fr-hero.has-contrast-background-color .fr-hero__picto { z-index: 3; }
}
/* Mobile et tablette : la photo, au-dessus du texte, se fond dans le bleu
   (dégradé vertical) au lieu de s'arrêter net. */
@media (max-width: 900px) {
  .fr-hero.has-contrast-background-color .fr-hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 167, 197, 0) 58%, rgba(0, 167, 197, 0.45) 78%, rgba(0, 167, 197, 0.85) 92%, #00a7c5 100%);
  }
  /* Photo plus haute (280 px auparavant), demande du 10/11. */
  .fr-hero.has-contrast-background-color .fr-hero__photo { min-height: min(56svh, 460px); }
  /* Le texte remonte dans le bas de la photo, déjà presque bleu plein ; le
     picto soleil passe en haut à droite de la photo pour lui laisser la place. */
  .fr-hero.has-contrast-background-color .fr-hero__panneau { position: relative; z-index: 2; margin-top: -96px !important; padding-top: 0 !important; }
  .fr-hero.has-contrast-background-color .fr-hero__picto { top: 20px; }
  .fr-hero.has-contrast-background-color .fr-hero__picto { z-index: 3; }
  .fr-hero.has-contrast-background-color .fr-hero__panneau { background-image: none; }
}
/* Texte de l'ouverture en blanc à toutes les tailles (une règle des petits
   écrans le passait en noir sur le bleu). */
.fr-hero.has-contrast-background-color .fr-hero__surtitre,
.fr-hero.has-contrast-background-color .fr-hero__texte,
.fr-hero.has-contrast-background-color .fr-hero__atout { color: #fff !important; }

/* Chiffres clés de l'accueil (10/11/2026) : en mobile, « +4 000 » passait sur
   deux lignes en fin de comptage et la rangée de cartes grandissait de 20 px
   pendant l'animation. Le chiffre reste sur une ligne, à une taille qui tient
   dans la carte. */
.fr-chiffre__valeur { white-space: nowrap; }
@media (max-width: 600px) {
  .fr-chiffres .fr-chiffre { padding-left: 16px !important; padding-right: 12px !important; }
  .fr-chiffres .fr-chiffre__valeur { font-size: clamp(1.7rem, 8.4vw, 2.2rem); }
}

/* Retours cliente 24/11/2026 : atouts de l ouverture l un sous l autre,
   logos partenaires en couleur. */
.fr-hero__atouts { display: flex; flex-direction: column; gap: 0.55rem; margin: 0 !important; }
.fr-hero__atouts > * { margin: 0 !important; }
.fr-pied__partenaire img, .fr-pied__partenaire img:hover { filter: none !important; opacity: 1 !important; }
