/* =============================================================
   DERVILLERS TP — Feuille de style principale
   Architecture :
     1. Variables & reset
     2. Base & typographie
     3. Utilitaires (conteneur, boutons, glass, reveal)
     4. Menu (bouton, latéral coulissant, overlay)
     5. Hero
     6. Réassurance
     7. Sections génériques
     8. Carrousel prestations
     9. Split (matériaux) & bloc béton
    10. Galerie + lightbox
    11. Contact & formulaire
    12. Footer
    13. Barre fixe basse
    14. Modale mentions légales
    15. Responsive
    16. Préférences de mouvement réduit
   ============================================================= */

/* =============================================================
   1. VARIABLES & RESET
   ============================================================= */
:root {
  /* Palette — blanc dominant, rouge Dervillers, jaune accent */
  --rouge: #c8102e;          /* Rouge Dervillers TP */
  --rouge-fonce: #a00d24;
  --jaune: #ffc20e;          /* Accent uniquement, jamais en fond */
  --blanc: #ffffff;
  --ink: #1a1d21;            /* Texte principal */
  --gris: #5b6168;           /* Texte secondaire */
  --gris-clair: #f5f6f8;     /* Fonds de section alternés */
  --bord: #e7e9ee;

  /* Verre (glassmorphism léger) */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bord: rgba(255, 255, 255, 0.55);

  /* Rayons très arrondis */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  /* Ombres modernes (douces, diffuses) */
  --sh-sm: 0 4px 16px rgba(20, 24, 31, 0.06);
  --sh-md: 0 14px 40px rgba(20, 24, 31, 0.10);
  --sh-lg: 0 30px 70px rgba(20, 24, 31, 0.16);
  --sh-rouge: 0 14px 30px rgba(200, 16, 46, 0.28);

  /* Transitions fluides */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.45s var(--ease);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* =============================================================
   2. BASE & TYPOGRAPHIE
   ============================================================= */
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--blanc);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Accessibilité : focus clavier visible */
:focus-visible {
  outline: 3px solid var(--jaune);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Lien d'évitement */
.skip-link {
position: absolute;
left: -9999px;
top: auto;

width: 1px;
height: 1px;

overflow: hidden;

background: transparent;
color: transparent;
border: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
position: fixed;
top: 10px;
left: 10px;

width: auto;
height: auto;

padding: 10px 14px;

background: #000;
color: #fff;

z-index: 9999;
}

@media (max-width: 768px) {
  .skip-link {
    display: none;
  }
}

@media (max-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}    

/* =============================================================
   3. UTILITAIRES
   ============================================================= */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }

/* Effet verre réutilisable */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--glass-bord);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  will-change: transform;
}
.btn--primary {
  background: var(--rouge);
  color: #fff;
  box-shadow: var(--sh-rouge);
}
.btn--primary:hover { background: var(--rouge-fonce); transform: translateY(-3px); box-shadow: 0 20px 40px rgba(200,16,46,.34); }
.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.btn--block { width: 100%; }

/* On distingue le bouton fantôme quand il est sur fond blanc (sections) */
.section .btn--ghost { color: var(--ink); border-color: var(--bord); background: #fff; }
.section .btn--ghost:hover { border-color: var(--rouge); color: var(--rouge); }

/* Animation d'apparition au défilement */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================
   4. MENU
   ============================================================= */
/* Bouton menu — toujours visible, en haut à gauche */
.menu-toggle {
  position: fixed;
  top: 22px;
  left: 22px;
  z-index: 5000;
  width: 58px;
  height: 58px;
  border: 1px solid var(--glass-bord);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--sh-md);
  transition: transform var(--t), box-shadow var(--t);
}
.menu-toggle:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.menu-toggle .bar {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform var(--t), opacity var(--t);
}
/* Transformation en croix quand le menu est ouvert */
body.menu-open .menu-toggle .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .menu-toggle .bar:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Logo flottant en haut à droite */
.floating-logo {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 200;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 16px;
  box-shadow: var(--sh-sm);
  transition: transform var(--t);
}
.floating-logo:hover { transform: translateY(-2px); }
.floating-logo img { height: 40px; width: auto; }

/* Overlay sombre derrière le menu */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 22, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  z-index: 5001;
  transition: opacity var(--t);
}
.overlay.is-active { opacity: 1; }

/* FIX clics bloqués par l’overlay */
.overlay {
pointer-events: none;
}

.overlay.is-active {
opacity: 1;
pointer-events: auto;
}

/* Menu latéral coulissant */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(360px, 86vw);
  background: #fff;
  z-index: 5002;
  transform: translateX(-105%);
  transition: transform 0.55s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 28px;
  box-shadow: var(--sh-lg);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.side-menu.is-open { transform: translateX(0); }

.side-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.side-menu__logo { height: 52px; width: auto; }
.menu-close {
  font-size: 2rem;
  line-height: 1;
  background: var(--gris-clair);
  border: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  cursor: pointer;
  color: var(--ink);
  transition: background var(--t), transform var(--t);
}
.menu-close:hover { background: var(--rouge); color: #fff; transform: rotate(90deg); }

.side-menu__list { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side-menu__link {
  display: block;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  color: var(--ink);
  position: relative;
  transition: background var(--t), color var(--t), padding-left var(--t);
}
.side-menu__link::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 4px; height: 60%;
  background: var(--jaune);
  border-radius: 4px;
  transition: transform var(--t);
}
.side-menu__link:hover { background: var(--gris-clair); color: var(--rouge); padding-left: 24px; }
.side-menu__link:hover::before { transform: translateY(-50%) scaleY(1); }
.side-menu__link--soft { color: var(--gris); font-weight: 600; font-size: 1rem; }

.side-menu__foot { border-top: 1px solid var(--bord); padding-top: 20px; margin-top: 16px; }
.side-menu__cta {
  display: block;
  text-align: center;
  background: var(--rouge);
  color: #fff;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-rouge);
  transition: transform var(--t), background var(--t);
}
.side-menu__cta:hover { transform: translateY(-2px); background: var(--rouge-fonce); }
.side-menu__addr { margin-top: 14px; color: var(--gris); font-size: .92rem; text-align: center; }

/* =============================================================
   5. HERO
   ============================================================= */

/* ==========================================================
HERO
========================================================== */

.hero {
position: relative;
min-height: 100vh;
min-height: 100svh;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}

/* Image de fond */
.hero__bg{
position:absolute;
inset:0;
background:
url("images/hero.jpg")
center center / cover
no-repeat;
transform:scale(1);
animation:heroZoom 18s ease-out forwards;
will-change:transform;
}

@keyframes heroZoom{
from{
transform:scale(1);
}
to{
transform:scale(1.08);
}
}

/* Assombrissement */
.hero__overlay{
position:absolute;
inset:0;
background:
linear-gradient(
to bottom,
rgba(0,0,0,.30),
rgba(0,0,0,.42),
rgba(0,0,0,.58)
);
z-index:2;
}

/* Contenu */

.hero__content{
position:relative;
z-index:5;

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

width:min(92vw,1100px);

padding:40px 20px;
margin-top: -150px;
transform: translateY(-100px)
}

/* ==========================================================
LOGO
========================================================== */

.hero-title{
margin:0;
padding:0;
line-height:0;
}

.hero-logo{

display:block;

width:min(95vw,900px);

max-width:900px;

height:auto;

margin:0 auto;

filter:
drop-shadow(0 15px 35px rgba(0,0,0,.35));

transition:
transform .35s ease,
width .35s ease;
}

/* ==========================================================
SOUS TITRE
========================================================== */

.hero__subtitle{

margin-top:-70px;

font-size:clamp(1.2rem,2vw,1.8rem);

font-weight:700;

color:#fff;

text-shadow:0 3px 18px rgba(0,0,0,.45);

}

/* ==========================================================
ZONE
========================================================== */

.hero__zone{

margin-top:14px;

font-size:1.08rem;

color:#fff;

opacity:.92;

}

/* ==========================================================
BOUTONS
========================================================== */

.hero__actions{

margin-top:38px;

display:flex;

gap:18px;

flex-wrap:wrap;

justify-content:center;

}

/* ==========================================================
SCROLL
========================================================== */

.hero__scroll{

position:absolute;

bottom:28px;

left:50%;

transform:translateX(-50%);

width:28px;

height:46px;

border:2px solid rgba(255,255,255,.8);

border-radius:30px;

z-index:6;

}

.hero__scroll::after{

content:"";

position:absolute;

left:50%;

top:8px;

width:4px;

height:9px;

border-radius:50px;

background:#fff;

transform:translateX(-50%);

animation:scrollDot 2s infinite;

}

@keyframes scrollDot{

0%{
opacity:0;
transform:translate(-50%,0);
}

30%{
opacity:1;
}

80%{
opacity:0;
transform:translate(-50%,16px);
}

100%{
opacity:0;
}

}

/* ==========================================================
RESPONSIVE
========================================================== */

@media(max-width:900px){

.hero-logo{

width:min(92vw,700px);

}

.hero__subtitle{

font-size:1.15rem;

}

}

@media(max-width:600px){

.hero-logo{

width:94vw;

}

.hero__subtitle{

font-size:1rem;

}

.hero__zone{

font-size:.95rem;

}

.hero__actions{

gap:12px;

}

}

/* =============================================================
   6. RÉASSURANCE
   ============================================================= */
/* SECTION TRUST */
.trust {
background: #fff;
padding: 56px 0;
overflow-x: hidden;
}

/* GRILLE */
.trust__grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}

/* TABLETTE */
@media (max-width: 768px) {
.trust__grid {
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}
}

/* MOBILE */
@media (max-width: 480px) {
.trust__grid {
grid-template-columns: 1fr;
gap: 14px;
}
}

/* CARDS */
.trust__item {
text-align: center;
padding: 26px 16px;
border-radius: var(--r-md);
background: var(--gris-clair);
transition: transform var(--t), box-shadow var(--t);

width: 100%;
min-width: 0;
box-sizing: border-box;
}

.trust__item:hover {
transform: translateY(-6px);
box-shadow: var(--sh-md);
}

.trust__num {
display: block;
font-size: 2.2rem;
font-weight: 800;
color: var(--rouge);
}

.trust__lbl {
display: block;
color: var(--gris);
font-size: .95rem;
margin-top: 6px;
font-weight: 600;
}

/* sécurité globale anti-débordement */
html, body {
overflow-x: hidden;
}
/* =============================================================
   7. SECTIONS GÉNÉRIQUES
   ============================================================= */
.section { padding: 96px 0; }
.section--alt { background: var(--gris-clair); }
.section__head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section__eyebrow {
  display: inline-block;
  color: var(--rouge);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title { font-size: clamp(2rem, 5vw, 3rem); }
.section__title::after {
  content: "";
  display: block;
  width: 70px; height: 5px;
  margin: 18px auto 0;
  background: var(--jaune);
  border-radius: 4px;
}
.section__title--left { text-align: left; }
.section__title--left::after { margin-left: 0; }
.section__lead { color: var(--gris); margin-top: 18px; font-size: 1.1rem; }

/* Listes à puces "coches" */
.ticks { margin: 22px 0 30px; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 36px;
  font-weight: 600;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -1px;
  width: 24px; height: 24px;
  background: var(--rouge);
  color: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
}

/* =============================================================
   8. CARROUSEL PRESTATIONS
   ============================================================= */
.carousel { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.carousel__viewport { overflow: hidden; border-radius: var(--r-lg); }
.carousel__track {
  display: flex;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
/* Chaque carte occupe une fraction de la fenêtre (3 visibles en desktop) */
.presta-card {
  flex: 0 0 33.3333%;
  padding: 12px;
}
.presta-card__inner {
  position: relative;
  height: 440px;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
  box-shadow: var(--sh-md);
  isolation: isolate;
}
.presta-card__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bg) center/cover no-repeat;
  background-color: #2a2d31;
  transition: transform 0.8s var(--ease);
}
.presta-card__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.78) 100%);
}
.presta-card__inner:hover::before { transform: scale(1.12); }
.presta-card__inner h3 { font-size: 1.7rem; margin-bottom: 8px; }
.presta-card__inner h3::before {
  content: "";
  display: block;
  width: 44px; height: 4px;
  background: var(--jaune);
  border-radius: 4px;
  margin-bottom: 14px;
}
.presta-card__inner p { opacity: .92; font-size: .98rem; }

/* Flèches de navigation */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--sh-md);
  z-index: 20;
  transition: background var(--t), color var(--t), transform var(--t);
}
.carousel__btn:hover { background: var(--rouge); color: #fff; }
.carousel__btn--prev { left: 4px; }
.carousel__btn--next { right: 4px; }

/* Points indicateurs */
.carousel__dots { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.carousel__dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--bord);
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.carousel__dots button.is-active { background: var(--rouge); transform: scale(1.3); }

/* =============================================================
   9. SPLIT (MATÉRIAUX) & BLOC BÉTON
   ============================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.split__body h2 { margin-bottom: 8px; }

/* Bloc béton */
.bloc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  align-items: stretch;
}
.bloc-card__media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.bloc-card__body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.bloc-card__body h3 { font-size: 1.8rem; margin-bottom: 8px; }

/* =============================================================
   10. GALERIE + LIGHTBOX
   ============================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery__item {
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gris-clair);
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.gallery__item:hover img { transform: scale(1.1); }

/* Lightbox */
.lightbox[hidden] {
display: none !important;
}

.lightbox {
position: fixed;
inset: 0;
display: none;
background: rgba(0,0,0,0.9);
z-index: 9000;
}

.lightbox.is-open {
display: flex;
align-items: center;
justify-content: center;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 84vh;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  transform: scale(.94);
  transition: transform var(--t);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--t), transform var(--t);
}
.lightbox__close { top: 24px; right: 24px; width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 60px; height: 60px; font-size: 2.4rem; line-height: 1; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--rouge); }

/* =============================================================
   11. CONTACT & FORMULAIRE
   ============================================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact__card { padding: 32px; border-radius: var(--r-lg); margin-bottom: 24px; }
.contact__card h3 { font-size: 1.6rem; margin-bottom: 14px; }
.contact__line { color: var(--gris); margin-bottom: 8px; font-weight: 600; }
.contact__phone {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--rouge);
  margin: 14px 0 22px;
}
.contact__buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.contact__map iframe { border-radius: var(--r-lg); box-shadow: var(--sh-sm); display: block; }

/* Formulaire */
.contact__form { padding: 34px; border-radius: var(--r-lg); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border: 2px solid var(--bord);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rouge);
  box-shadow: 0 0 0 4px rgba(200,16,46,.12);
}
.field textarea { resize: vertical; }
.form-note { text-align: center; color: var(--gris); font-size: .88rem; }

/* =============================================================
   12. FOOTER
   ============================================================= */
.footer { background: var(--ink); color: #cfd3da; padding: 64px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__col img { background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 16px; height: 54px; width: auto; }
.footer__col h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col a:hover { color: var(--jaune); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .9rem;
}
.footer__legal { background: none; border: none; color: #cfd3da; cursor: pointer; text-decoration: underline; font: inherit; }
.footer__legal:hover { color: var(--jaune); }

/* =============================================================
   13. BARRE FIXE BASSE
   ============================================================= */
.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--glass-bord);
}
.bottom-bar__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  transition: background var(--t), color var(--t), transform var(--t);
}
.bottom-bar__btn span:first-child { font-size: 1.1rem; }
.bottom-bar__btn:hover { background: var(--rouge); color: #fff; transform: translateY(-2px); }

/* =============================================================
   14. MODALE MENTIONS LÉGALES
   ============================================================= */
.modal [hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 12, 16, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--t);
}
.modal.is-open { 
display: block;
}
.modal__panel {
  position: relative;
  max-width: 760px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 48px;
  box-shadow: var(--sh-lg);
  transform: translateY(24px) scale(.98);
  transition: transform var(--t);
}
.modal.is-open .modal__panel { transform: none; }
.modal__panel h2 { font-size: 2rem; margin-bottom: 8px; }
.modal__panel h2::after { content: ""; display: block; width: 60px; height: 5px; background: var(--jaune); border-radius: 4px; margin-top: 14px; }
.modal__panel h3 { margin-top: 26px; margin-bottom: 6px; color: var(--rouge); font-size: 1.15rem; }
.modal__panel p { color: var(--gris); }
.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: none;
  background: var(--gris-clair);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t), color var(--t), transform var(--t);
}
.modal__close:hover { background: var(--rouge); color: #fff; transform: rotate(90deg); }

/* Verrouillage du défilement quand une couche est ouverte */
body.no-scroll { overflow: hidden; }

/* =============================================================
   15. RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .presta-card { flex-basis: 50%; }           /* 2 cartes visibles */
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .bloc-card { grid-template-columns: 1fr; }
  .bloc-card__media img { min-height: 260px; }
  .bloc-card__body { padding: 32px; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .floating-logo { display: none; }            /* on libère l'espace haut sur mobile */
  .presta-card { flex-basis: 100%; }            /* 1 carte visible */
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .bottom-bar__btn { padding: 12px 16px; }
  .bottom-bar__btn span:last-child { font-size: .85rem; }
  .carousel { padding: 0 12px; }
  .carousel__btn { width: 46px; height: 46px; font-size: 1.5rem; }
  /* La barre basse ne doit pas masquer le bas de page */
  .footer { padding-bottom: 110px; }
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .bottom-bar { width: calc(100% - 24px); justify-content: space-around; }
  .bottom-bar__btn { flex-direction: column; gap: 2px; padding: 8px 10px; }
  .modal__panel { padding: 32px 22px; }
}

/* =============================================================
   16. MOUVEMENT RÉDUIT (accessibilité / confort)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__bg { transform: none; }
}

.hero-logo {
  top: 70%;
  left: 90%;
  max-width: 900px;
  width: min(90vw, 900px);
  transform: translate(0%, -0%);
  height: auto;
  display: auto;
  margin: 0 auto;
}

html {
  scroll-behavior: auto;
}
body {
  overflow-anchor: none;
}

/* ==========================================================
TOPBAR
========================================================== */

.topbar{

position:fixed;

top:0;
left:0;

width:100%;

height:100px;

background:rgba(255,255,255,.96);

backdrop-filter:blur(14px);

-webkit-backdrop-filter:blur(14px);

box-shadow:0 6px 30px rgba(0,0,0,.08);

display:flex;

justify-content:center;

align-items:center;

z-index:4000;

transform:translateY(-100%);

opacity:0;

transition:
transform .45s ease,
opacity .45s ease;

}

.topbar.show{

transform:translateY(0);

opacity:1;

}

.topbar__logo{

height:180px;

width:auto;

transition:transform .3s ease;

}

.topbar__logo:hover{

transform:scale(1.05);

}
html, body {
  overflow-x: hidden;
}
*, *: :before, *: :after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}  
html, body {
  margin: 0;
  padding: 0;
}  
.trust__item {
text-align: center;
padding: 18px 12px;
overflow: hidden;
box-sizing: border-box;
}

.trust__num {
font-size: clamp(1.4rem, 5vw, 2.2rem);
line-height: 1.1;
word-break: keep-all;
white-space: nowrap;
}

.trust__lbl {
font-size: clamp(0.75rem, 3.5vw, 0.95rem);
line-height: 1.2;
word-break: normal;
}