@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   Scrollbar / anti-CLS
   ========================= */
html {
  /* Réserve l’espace de la barre de défilement pour éviter les décalages */
  scrollbar-gutter: stable both-edges;
}

/* Fallback si la propriété n’est pas supportée */
@supports not (scrollbar-gutter: stable both-edges) {
  html {
    overflow-y: scroll;
  }
}
/* =========================
   Base
   ========================= */
body {
  background-color: #fff;
  color: #000;
  font-family: "Cactus Classical Serif", serif;
}

h2 {
  font-size: 2rem;
  color: var(--color-primary);
}

hr {
  border: none;
  border-top: 2px solid #ccc;
  margin: 20px 0;
}

p {
  font-family: "Poppins", sans-serif;
}

/* =========================
   Animations (anti-CLS) — global
   ========================= */
/* Par défaut : invisible pour éviter le flash au 1er paint */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* Quand l'élément entre dans le viewport */
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1.1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Stagger utilitaire commun */
[data-delay="50"].in-view {
  transition-delay: 0.05s;
}

[data-delay="100"].in-view {
  transition-delay: 0.1s;
}

[data-delay="150"].in-view {
  transition-delay: 0.15s;
}

[data-delay="200"].in-view {
  transition-delay: 0.2s;
}

[data-delay="300"].in-view {
  transition-delay: 0.3s;
}

/* Respecte les préférences d’accessibilité */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  .reveal, .reveal.in-view {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* _global.scss (ou _header.scss) */
.floating-nav {
  min-height: 64px;
}

.navbar .navbar-brand .logo {
  width: 160px;
  height: 52px;
  display: block;
}

/* Garantit un espace réservé dès le 1er paint → zéro shift */
.ratio {
  position: relative;
  width: 100%;
}

.ratio > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-4x3 {
  aspect-ratio: 4/3;
}

#navbarContent.collapse:not(.show) {
  display: none;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
}
.navbar {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.navbar .navbar-brand img {
  height: 82.5px;
}
.navbar .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.08);
}
.navbar .navbar-toggler .navbar-toggler-icon {
  filter: invert(18%) sepia(54%) saturate(1325%) hue-rotate(200deg) brightness(85%) contrast(92%);
}
.navbar .nav-link {
  color: var(--color-primary);
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.25s ease, border-color 0.25s ease;
  font-family: var(--font-links);
  font-size: 1rem;
}
.navbar .nav-link.active {
  color: var(--color-primary);
}
.navbar .nav-link:hover {
  color: var(--color-accent);
}

/* Fallback police système pour premier rendu rapide; Google Fonts arriveront ensuite */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.site-header .floating-nav {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  /* ✅ Ajout CLS-safe */
  min-height: 64px; /* réserve l’espace du header */
  /* optionnel : ne jamais animer la hauteur */
  /* transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease; */
}
.site-header .floating-nav.is-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.site-header .logo {
  width: 160px;
  height: 52px;
  aspect-ratio: 160/52;
  display: block;
}
.site-header .contact-info {
  font-size: 0.95rem;
  color: #2E2F92;
}
.site-header .contact-info .phone-number {
  color: inherit;
  text-decoration: none;
}
.site-header .contact-info .phone-number:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-header .contact-info i {
  margin-right: 0.4rem;
}
.site-header .contact-desktop {
  gap: 1.25rem;
}
.site-header .contact-mobile .contact-item {
  color: #2E2F92;
}
.site-header .contact-mobile .phone-number {
  font-weight: 600;
}
.site-header .navbar-nav .nav-link {
  position: relative;
  color: #2E2F92;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}
.site-header .navbar-nav .nav-link:hover {
  color: #222;
}
.site-header .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header .navbar-nav .nav-link:hover::after, .site-header .navbar-nav .nav-link.active::after {
  width: 60%;
}
.site-header .navbar-light .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.15);
}
.site-header .navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(34,34,34,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.site-header #navbarContent {
  contain: layout;
}

.site-footer {
  background: #f7f8fb;
  border-top: 3px solid #2E2F92;
  padding: 2.5rem 0 2rem;
  color: #333;
  /* =========================
     Back to top (anti-CLS)
     ========================= */
  /* Apparition contrôlée par JS (classe) */
  /* Bonus : si tu relies l’état à aria-hidden depuis le JS */
  /* Respecte le reduced motion */
}
.site-footer .footer-title {
  color: #2E2F92;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.site-footer .footer-top {
  margin-bottom: 1.25rem;
}
.site-footer .footer-contact svg,
.site-footer .footer-top svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: #2E2F92;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.site-footer .footer-link {
  color: #2E2F92;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.site-footer .footer-link:hover {
  color: rgb(36.225, 37.0125, 114.975);
  border-color: currentColor;
}
.site-footer .footer-link:focus-visible {
  outline: 2px solid rgb(36.225, 37.0125, 114.975);
  outline-offset: 2px;
}
.site-footer .footer-sep {
  margin: 1.25rem 0;
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}
.site-footer .footer-bottom {
  color: #333;
}
.site-footer .back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  /* Taille fixe => pas de reflow */
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #2E2F92;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 1040;
  /* État par défaut (caché mais réservé, donc pas de décalage) */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.site-footer .back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  pointer-events: none;
}
.site-footer .back-to-top:hover {
  background: rgb(38.66875, 39.509375, 122.73125);
}
.site-footer .back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.site-footer .back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-footer .back-to-top[aria-hidden=true] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.site-footer .back-to-top[aria-hidden=false] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .back-to-top {
    transition: none;
  }
}

/* =========================
   PAGE ACCUEIL – STYLE VINCI (accent $primary)
   ========================= */
/* -------- Helpers -------- */
.py-6 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 992px) {
  .py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
.section-title {
  color: #2E2F92;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 2.25rem;
}

/* -------- Boutons -------- */
.btn-blue {
  background: #2E2F92;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease-out, color 0.3s ease;
}
.btn-blue:hover {
  background: rgb(36.225, 37.0125, 114.975);
  color: #fff;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: #2E2F92;
  border: 2px solid #2E2F92;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease-out;
}
.btn-white:hover {
  background: #2E2F92;
  color: #fff;
  transform: translateY(-1px);
}

/* =========================
   HERO (optimisé LCP / anti-CLS)
   ========================= */
.hero-banner {
  position: relative;
  min-height: 70vh;
  contain: layout paint;
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #d9dbe1;
}

.hero-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 1;
}

.hero-banner > .container {
  position: relative;
  z-index: 2;
}

/* =========================
   ABOUT
   ========================= */
.about-section {
  background: lightgray;
  padding: 4.5rem 0;
}
.about-section h2 {
  color: #2E2F92;
  margin-bottom: 1.5rem;
}
.about-section .icon svg {
  width: 40px;
  height: 40px;
  color: #2E2F92;
}
.about-section .prose {
  max-width: 820px;
  margin-inline: auto;
}
.about-section .prose p {
  margin-bottom: 0.9rem;
  font-size: var(--fs-body);
  color: #333;
  line-height: 1.75;
}
.about-section .prose a {
  color: #2E2F92;
  text-underline-offset: 2px;
}
.about-section .prose strong {
  color: #2E2F92;
  font-weight: 700;
}

/* =========================
   SERVICES
   ========================= */
.services-section {
  padding: 4.5rem 0;
  background: #fff;
}
.services-section h2 {
  color: #2E2F92;
}
.services-section .service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
  border-top: 4px solid rgba(46, 47, 146, 0.2) !important;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.services-section .service-card .icon-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-direction: column;
}
.services-section .service-card .service-icon {
  width: 60px;
  height: 60px;
  padding: 10px;
  background: rgba(46, 47, 146, 0.12);
  border: 2px solid #2E2F92;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 0.75rem;
}
.services-section .service-card h5 {
  color: #2E2F92;
  margin: 0 0 0.25rem 0;
}
.services-section .service-card p {
  margin: 0;
  color: #333;
}
.services-section .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

/* =========================
   REALISATIONS
   ========================= */
.realisations-section {
  background: #fff;
  padding: 4.5rem 0;
}
.realisations-section .section-title {
  color: #2E2F92;
}
.realisations-section .real-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  background: #fff;
}
.realisations-section .real-card:hover {
  transform: translateY(-3px);
}
.realisations-section .real-card .real-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #2E2F92;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  line-height: 1;
}
.realisations-section .real-card .real-media {
  aspect-ratio: 16/10;
  width: 100%;
  background: #f3f4f6;
}
.realisations-section .real-card .realisation-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.realisations-section .real-card .realisation-img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.realisations-section .real-prose {
  max-width: 820px;
  margin-inline: auto;
}
.realisations-section .real-prose p {
  font-size: var(--fs-body);
  line-height: 1.75;
  margin-bottom: 1rem;
  color: #333;
}
.realisations-section .btn-white {
  color: #2E2F92;
}

.btn-white:hover {
  background: #2E2F92;
  color: #fff;
}

/* =========================
   WHY
   ========================= */
.why-section {
  background: lightgrey;
  padding: 4.5rem 0;
}
.why-section h2 {
  color: #2E2F92;
}
.why-section .why-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 28px;
  border: 1px solid rgba(46, 47, 146, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.why-section .why-card img {
  margin-bottom: 14px;
}
.why-section .why-card h5 {
  color: #2E2F92;
  margin-bottom: 0.25rem;
}
.why-section .why-card p {
  font-size: var(--fs-body);
  color: #333;
  margin: 0;
}
.why-section .why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

/* =========================
   CONTACT
   ========================= */
.contact-section {
  background: #fff;
  padding: 4.5rem 0;
}
.contact-section h2 {
  color: #2E2F92;
}
.contact-section form {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(46, 47, 146, 0.18) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}
.contact-section form .form-label {
  font-weight: 600;
  color: #2E2F92;
}
.contact-section form .form-control {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1rem;
  color: #222;
}
.contact-section form .btn-blue {
  margin-top: 0.25rem;
}

/* =========================
   Content-visibility (freeze offscreen)
   ========================= */
.about-section,
.services-section,
.realisations-section,
.why-section,
.contact-section {
  content-visibility: auto;
  contain-intrinsic-size: 1000px; /* ajuste 800–1200px selon ta page */
}

@media (max-width: 576px) {
  .about-section,
  .services-section,
  .realisations-section,
  .why-section,
  .contact-section {
    contain-intrinsic-size: 800px;
  }
}
/* =========================
   PAGE SERVICES – STYLE VINCI (anti-CLS)
   ========================= */
/* ---------- HERO ---------- */
#services .hero-banner {
  background-color: #0b2a7d;
  /* Fallback + formats modernes */
  background-image: url("../images/Villa_St_cezaire.jpg");
  background-image: image-set(url("../images/Villa_St_cezaire.avif") type("image/avif") 1x, url("../images/Villa_St_cezaire.webp") type("image/webp") 1x, url("../images/Villa_St_cezaire.jpg") type("image/jpeg") 1x);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 58vh;
  contain: layout;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@supports (height: 100svh) {
  #services .hero-banner {
    min-height: 58svh;
  }
}
#services .hero-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.55));
}
#services .hero-banner h1 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

/* Optionnel : version mobile plus légère */
@media (max-width: 768px) {
  #services .hero-banner {
    background-image: url("../images/Villa_St_cezaire-mobile.jpg");
    background-image: image-set(url("../images/Villa_St_cezaire-mobile.avif") type("image/avif") 1x, url("../images/Villa_St_cezaire-mobile.webp") type("image/webp") 1x, url("../images/Villa_St_cezaire-mobile.jpg") type("image/jpeg") 1x);
  }
}
/* ---------- INTRO ---------- */
#services .about-section {
  background: lightgray;
}
#services .about-section .icon svg {
  color: #2E2F92;
}
#services .about-section .prose {
  max-width: 820px;
  margin-inline: auto;
}
#services .about-section .prose p {
  color: #333;
  line-height: 1.75;
}

/* ---------- SERVICES DÉTAILLÉS ---------- */
#services .services-section {
  background: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
  /* ✅ Anti-CLS : ratio figé */
}
#services .services-section .row {
  align-items: stretch;
}
#services .services-section .small-divider {
  width: 64px;
  height: 4px;
  background-color: #2E2F92;
  border: none;
  margin: 2rem auto 2.5rem;
  border-radius: 999px;
  opacity: 0.9;
}
#services .services-section .service-block {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-top: 4px solid rgba(46, 47, 146, 0.18);
}
#services .services-section .service-block h2.section-title {
  color: #2E2F92;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
#services .services-section .service-block p, #services .services-section .service-block li {
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
}
#services .services-section .service-block ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
#services .services-section .service-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  background: #f3f4f6;
}
#services .services-section .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
#services .services-section .service-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  #services .services-section .row { /* pas de min-height forcé */ }
}
/* ---------- PERF ---------- */
#services .hero-banner,
#services .about-section,
#services .services-section {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

@media (max-width: 576px) {
  #services .hero-banner,
  #services .about-section,
  #services .services-section {
    contain-intrinsic-size: 800px;
  }
}
/* =========================
   PAGE RÉALISATIONS – STYLE VINCI + LIGHTBOX (anti-CLS)
   ========================= */
/* ---------- HERO ---------- */
#realisations .hero-banner {
  background-color: #0b2a7d;
  background-image: url("../images/Villa_St_cezaire.jpg");
  background-image: image-set(url("../images/Villa_St_cezaire.avif") type("image/avif") 1x, url("../images/Villa_St_cezaire.webp") type("image/webp") 1x, url("../images/Villa_St_cezaire.jpg") type("image/jpeg") 1x);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 58vh;
  contain: layout;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@supports (height: 100svh) {
  #realisations .hero-banner {
    min-height: 58svh;
  }
}
#realisations .hero-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.55));
}
#realisations .hero-banner h1 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}
#realisations .hero-banner p {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- INTRO ---------- */
#realisations .intro-section {
  background: lightgray;
}

#realisations .intro-section .prose {
  max-width: 820px;
  margin-inline: auto;
}

#realisations .intro-section .prose p {
  color: #333;
  line-height: 1.75;
}

/* ---------- GRID ---------- */
.realisations-section {
  background: #fff;
  padding: 4rem 0;
}
.realisations-section .section-title {
  color: #2E2F92;
}
.realisations-section .small-divider {
  width: 64px;
  height: 4px;
  background-color: #2E2F92;
  border: none;
  margin: 0.75rem auto 2rem;
  border-radius: 999px;
  opacity: 0.9;
}
.realisations-section .realisation-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  /* ✅ Anti-CLS : réserve le ratio de la vignette */
}
.realisations-section .realisation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}
.realisations-section .realisation-card .realisation-media {
  background: #f3f4f6;
  cursor: zoom-in;
  aspect-ratio: 16/10; /* ajuste si tes photos ont un autre ratio */
  display: block;
}
.realisations-section .realisation-card .realisation-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.realisations-section .realisation-card h5 {
  font-size: 1.15rem;
  color: #2E2F92;
}
.realisations-section .realisation-card p {
  color: #333;
  font-size: 0.97rem;
}

/* ---------- PERF ---------- */
#realisations .intro-section,
.realisations-section {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

@media (max-width: 576px) {
  #realisations .intro-section,
  .realisations-section {
    contain-intrinsic-size: 800px;
  }
}
/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.lightbox-close:hover {
  transform: translateY(-1px);
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}

.btn-blue {
  background: #2E2F92;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.btn-blue:hover {
  background: rgb(36.225, 37.0125, 114.975);
}

.legal-section {
  background-color: lightgray;
  padding: 5rem 0;
}
.legal-section h2 {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.legal-section p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}
.legal-section hr {
  border: 0;
  height: 2px;
  background-color: var(--color-primary);
  margin: 3rem 0;
  width: 80%;
}/*# sourceMappingURL=style.css.map */