/* ============================================================
   CINTRAT PIAU — style.css v2
   ============================================================ */

/* 1. Variables
   ============================================================ */
:root {
  --blue:        #123B6D;
  --blue-mid:    #1e5fa0;
  --blue-light:  #e3edf8;
  --blue-xlight: #f0f5fc;
  --yellow:      #F5C242;
  --yellow-dk:   #a07a00;   /* pour texte sur fond blanc */
  --text:        #111827;
  --text-mid:    #4b5563;
  --text-light:  #6b7280;
  --bg:          #f7f9fc;
  --white:       #ffffff;
  --border:      #e5eaf1;
  --shadow-sm:   0 1px 4px rgba(18,59,109,.05);
  --shadow:      0 3px 16px rgba(18,59,109,.08);
  --shadow-md:   0 8px 32px rgba(18,59,109,.12);
  --shadow-lg:   0 16px 48px rgba(18,59,109,.16);
  --r:           12px;
  --r-sm:        7px;
  --t:           .28s ease;
}

/* 2. Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body  {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { font-family: inherit; }

/* 3. Typographie
   ============================================================ */
h1 { font-size: clamp(2rem,  4.8vw, 3.1rem);  font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem,3.4vw, 2.5rem);  font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.015em; }
h4 { font-size: 1.02rem; font-weight: 600; }
p  { color: var(--text-mid); }

/* 4. Layout & utilitaires
   ============================================================ */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 1.75rem; }
.section     { padding: 6.5rem 0; }
.section--bg { background: var(--bg); }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow-dk);
  margin-bottom: .85rem;
}
.section-title { color: var(--blue); margin-bottom: 1.1rem; }
.section-intro {
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 1.05rem;
  line-height: 1.78;
}

/* 5. Boutons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 2rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--t), color var(--t), transform .2s, box-shadow .2s, border-color var(--t);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover       { transform: translateY(-2px); }
.btn-lg          { padding: .95rem 2.4rem; font-size: 1rem; }

.btn-primary     { background: var(--yellow); color: var(--blue); border-color: var(--yellow); font-weight: 700; }
.btn-primary:hover { background: #e8b530; border-color: #e8b530; box-shadow: 0 6px 24px rgba(245,194,66,.4); }

.btn-secondary   { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.85); }

.btn-outline     { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t), border-color var(--t);
}
.header.scrolled { box-shadow: var(--shadow-md); border-color: transparent; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 2rem;
}

/* Logo */
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.logo__icon {
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t);
}
.logo:hover .logo__icon { background: var(--blue-mid); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-size: 1.1rem; font-weight: 800; color: var(--blue); letter-spacing: -.03em; }
.logo__text span   { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-light); font-weight: 500; }

/* Nav desktop */
.nav { display: flex; align-items: center; gap: .1rem; }
.nav a {
  padding: .5rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 500; font-size: .95rem;
  color: var(--text-mid);
  transition: color var(--t), background var(--t);
}
.nav a:hover, .nav a.active { color: var(--blue); background: var(--blue-light); }

.header__actions { display: flex; align-items: center; gap: .75rem; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .5rem; border-radius: var(--r-sm);
}
.hamburger:hover { background: var(--bg); }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column; gap: .25rem;
  padding: 1rem 1.75rem 1.75rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .75rem 1rem; border-radius: var(--r-sm);
  font-weight: 500; color: var(--text-mid);
  transition: background var(--t), color var(--t);
}
.mobile-nav a:hover { background: var(--blue-light); color: var(--blue); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: .5rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue);
}

/* Photo de fond */
.hero__photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s ease;
}
.hero:hover .hero__photo { transform: scale(1.03); }

/* Overlay dégradé */
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(18,59,109,.88) 0%,
    rgba(18,59,109,.72) 55%,
    rgba(18,59,109,.35) 100%
  );
}

/* Grille décorative subtile */
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
}

.hero .container { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 5rem; }
.hero__content   { max-width: 680px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,194,66,.14); border: 1px solid rgba(245,194,66,.38);
  color: var(--yellow); font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .42rem 1rem; border-radius: 100px; margin-bottom: 1.75rem;
}
.hero h1         { color: #fff; margin-bottom: 1.5rem; }
.hero h1 em      { color: var(--yellow); font-style: normal; }
.hero__sub       { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 2.75rem; line-height: 1.78; max-width: 540px; }
.hero__ctas      { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero compact (réalisations) */
.hero--sm              { min-height: 50vh; }
.hero--sm .hero__content { max-width: 760px; }

/* ============================================================
   PRÉSENTATION — section humaine
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Colonne image */
.about__img-col { position: relative; }
.about__img-main {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about__img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.about__img-main:hover img { transform: scale(1.03); }

/* Badge QualiPac flottant */
.about__badge-float {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--white);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .65rem;
  z-index: 2;
}
.about__badge-float__icon {
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--yellow);
}
.about__badge-float strong { display: block; color: var(--blue); font-size: .9rem; font-weight: 700; }
.about__badge-float span   { font-size: .75rem; color: var(--text-light); }

/* Colonne texte */
.about__text > p { margin-bottom: 1.1rem; line-height: 1.75; }

.about__trust {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.about__trust-item {
  display: flex; align-items: flex-start; gap: .6rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
}
.about__trust-item:hover { border-color: var(--blue-mid); box-shadow: var(--shadow-sm); }
.about__trust-item svg { color: var(--yellow-dk); flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   SERVICES — cartes avec image
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18,59,109,.2);
}

.service-card__cover {
  height: 190px;
  overflow: hidden;
  background: var(--blue-light);
  position: relative;
}
.service-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.service-card:hover .service-card__cover img { transform: scale(1.07); }

.service-card__body { padding: 1.5rem; }
.service-card__icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: .85rem;
  transition: background var(--t), color var(--t);
}
.service-card:hover .service-card__icon { background: var(--blue); color: var(--white); }
.service-card h3 { color: var(--blue); margin-bottom: .45rem; font-size: 1.08rem; }
.service-card p  { font-size: .88rem; line-height: 1.65; }

/* ============================================================
   PRODUITS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1rem;
}
.product-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: .9rem;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.product-item:hover { box-shadow: var(--shadow); border-color: var(--blue-mid); transform: translateY(-2px); }
.product-item__dot  { width: 9px; height: 9px; background: var(--yellow); border-radius: 50%; flex-shrink: 0; }
.product-item span  { font-weight: 500; color: var(--text); font-size: .92rem; }

/* ============================================================
   EXPERTISE — nouvelle section
   ============================================================ */
.expertise__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}

.expertise__img-col { position: relative; }
.expertise__img-wrap {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}
.expertise__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.expertise__img-wrap:hover img { transform: scale(1.04); }

.expertise__deco {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 120px; height: 120px;
  background: var(--blue-light);
  border-radius: var(--r);
  z-index: -1;
}
.expertise__deco2 {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 80px; height: 80px;
  background: var(--yellow);
  opacity: .15;
  border-radius: var(--r);
  z-index: -1;
}

.expertise__text { }
.expertise__text > p { margin-bottom: 1.1rem; line-height: 1.78; }

.expertise__list {
  margin: 2rem 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.expertise__list-item {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .9rem 1.1rem;
  background: var(--bg);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--blue);
  transition: border-color var(--t), box-shadow var(--t);
}
.expertise__list-item:hover { border-left-color: var(--yellow); box-shadow: var(--shadow-sm); }
.expertise__list-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;
}
.expertise__list-item strong { display: block; font-size: .92rem; color: var(--text); }
.expertise__list-item p { font-size: .85rem; margin: .2rem 0 0; }

/* ============================================================
   CONFIANCE
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.trust-item {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: var(--r);
  background: var(--white);
  border: 1.5px solid var(--border);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(18,59,109,.15); }
.trust-item__icon {
  width: 64px; height: 64px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--yellow);
}
.trust-item h4 { color: var(--blue); margin-bottom: .45rem; }
.trust-item p  { font-size: .88rem; line-height: 1.65; }

/* ============================================================
   CTA SECTION — avec photo de fond
   ============================================================ */
.cta-section {
  position: relative;
  padding: 7rem 0;
  text-align: center;
  overflow: hidden;
  background: var(--blue);
}
.cta-section__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.cta-section__overlay {
  position: absolute; inset: 0;
  background: rgba(18,59,109,.80);
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 1.1rem; }
.cta-section p  { color: rgba(255,255,255,.82); max-width: 540px; margin: 0 auto 2.5rem; font-size: 1.05rem; line-height: 1.78; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.contact-card:hover { box-shadow: var(--shadow); border-color: rgba(18,59,109,.2); transform: translateY(-3px); }
.contact-card__icon {
  width: 54px; height: 54px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .9rem;
  color: var(--blue);
}
.contact-card h4   { color: var(--blue); margin-bottom: .4rem; }
.contact-card .val { color: var(--yellow-dk); font-weight: 600; font-size: .95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0c1f3a;
  color: rgba(255,255,255,.62);
  padding: 4.5rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand strong { display: block; font-size: 1.2rem; color: #fff; font-weight: 800; margin-bottom: .5rem; letter-spacing: -.025em; }
.footer__brand .tagline { font-size: .88rem; line-height: 1.75; margin-bottom: 1.5rem; color: rgba(255,255,255,.5); }

.footer__contact-row {
  display: flex; align-items: flex-start; gap: .65rem;
  margin-bottom: .65rem; font-size: .88rem;
}
.footer__contact-row svg { flex-shrink: 0; margin-top: 2px; color: var(--yellow); }

.footer__qualipac {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,194,66,.1); border: 1px solid rgba(245,194,66,.25);
  color: var(--yellow); font-size: .76rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .42rem 1rem; border-radius: 100px; margin-top: .9rem;
}

.footer__col h4 { color: #fff; font-size: .9rem; margin-bottom: 1.15rem; font-weight: 600; }
.footer__links  { display: flex; flex-direction: column; gap: .6rem; }
.footer__links a { font-size: .88rem; color: rgba(255,255,255,.5); transition: color var(--t); }
.footer__links a:hover { color: var(--yellow); }

.footer__bottom {
  padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.28); gap: 1rem;
}

/* ============================================================
   RÉALISATIONS — grille masonry
   ============================================================ */
.real-grid {
  columns: 3;
  column-gap: 1.75rem;
}
.real-card {
  break-inside: avoid;
  display: block;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 1.75rem;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t);
}
.real-card:hover  { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.real-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.real-card__img  {
  overflow: hidden;
  position: relative;
  background: var(--blue-light);
}
.real-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.real-card:hover .real-card__img img { transform: scale(1.06); }

/* Overlay "voir en grand" au hover */
.real-card__img::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(18,59,109,.4);
  opacity: 0;
  transition: opacity var(--t);
  display: flex; align-items: center; justify-content: center;
}
.real-card:hover .real-card__img::after { opacity: 1; }

.real-card__zoom {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--t);
  color: #fff;
}
.real-card:hover .real-card__zoom { opacity: 1; }

.real-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.real-card__cat  {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--yellow-dk); margin-bottom: .45rem;
}
.real-card__body h3 { color: var(--blue); margin-bottom: .4rem; font-size: 1.05rem; }
.real-card__body p  { font-size: .87rem; line-height: 1.6; }

/* Hauteurs variées pour l'effet masonry */
.real-card--tall .real-card__img   { height: 300px; }
.real-card--normal .real-card__img { height: 220px; }
.real-card--short .real-card__img  { height: 175px; }

/* ============================================================
   ÉTAPES (méthode)
   ============================================================ */
.steps-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-track::before {
  content: ''; position: absolute;
  top: 2.4rem; left: calc(16.666% + 1.5rem); right: calc(16.666% + 1.5rem);
  height: 2px; background: var(--border);
}
.step { text-align: center; }
.step__num {
  width: 52px; height: 52px;
  background: var(--blue); color: #fff;
  font-weight: 800; font-size: 1.1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.3rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 7px var(--white), 0 0 0 9px var(--border);
}
.step h3 { color: var(--blue); margin-bottom: .5rem; }
.step p  { font-size: .9rem; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,16,30,.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox__inner {
  position: relative;
  max-width: min(90vw, 960px);
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
}
.lightbox__img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  display: block;
}
.lightbox__caption {
  color: rgba(255,255,255,.72); font-size: .88rem; text-align: center;
}
.lightbox__counter {
  color: rgba(255,255,255,.4); font-size: .8rem;
}

.lightbox__close {
  position: fixed; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 46px; height: 46px; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  font-size: 1.1rem;
  z-index: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }

.lightbox__btn {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 50px; height: 50px; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.25); transform: translateY(-50%) scale(1.1); }
.lightbox__prev { left: 1.25rem; }
.lightbox__next { right: 1.25rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Délais en cascade pour les grilles */
.fade-in:nth-child(2) { transition-delay: .08s; }
.fade-in:nth-child(3) { transition-delay: .16s; }
.fade-in:nth-child(4) { transition-delay: .24s; }
.fade-in:nth-child(5) { transition-delay: .32s; }
.fade-in:nth-child(6) { transition-delay: .40s; }

/* ============================================================
   RESPONSIVE — tablette ≤ 960px
   ============================================================ */
@media (max-width: 960px) {
  .about__grid      { grid-template-columns: 1fr; gap: 3.5rem; }
  .about__trust     { grid-template-columns: 1fr; }
  .about__badge-float { right: 0; }
  .expertise__grid  { grid-template-columns: 1fr; gap: 3rem; }
  .expertise__img-col { max-width: 480px; margin: 0 auto; }
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .trust-grid       { grid-template-columns: repeat(2, 1fr); }
  .contact-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand    { grid-column: 1 / -1; }
  .real-grid        { columns: 2; }
  .steps-track      { grid-template-columns: 1fr; gap: 2rem; }
  .steps-track::before { display: none; }
  .cta-section__bg  { background-attachment: scroll; }
}

/* ============================================================
   RESPONSIVE — mobile ≤ 640px
   ============================================================ */
@media (max-width: 640px) {
  .section          { padding: 4rem 0; }
  .container        { padding: 0 1.25rem; }

  .nav, .header__actions .btn { display: none; }
  .hamburger        { display: flex; }

  .hero             { min-height: auto; }
  .hero .container  { padding-top: 4rem; padding-bottom: 4rem; }
  .hero__ctas       { flex-direction: column; }
  .hero__ctas .btn  { justify-content: center; width: 100%; }

  .services-grid    { grid-template-columns: 1fr; }
  .trust-grid       { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; max-width: 380px; }
  .footer__grid     { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom   { flex-direction: column; text-align: center; }
  .products-grid    { grid-template-columns: 1fr 1fr; }
  .real-grid        { columns: 1; }

  .lightbox__prev   { left: .5rem; }
  .lightbox__next   { right: .5rem; }
  .lightbox__btn    { width: 40px; height: 40px; }
  .lightbox__close  { top: .75rem; right: .75rem; width: 40px; height: 40px; }
}

@media (max-width: 440px) {
  .products-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
}
