/* ============================================================
   ETS CONDE ET FRERES — style.css
   Stack: HTML5 + CSS3 vanilla | Space Grotesk + DM Sans
   ============================================================ */

/* ---- Variables ---- */
:root {
  --rouge:       #D32F2F;
  --rouge-light: #EF5350;
  --jaune:       #FBC02D;
  --vert:        #388E3C;
  --vert-light:  #43A047;
  --bleu:        #1A237E;
  --bleu-mid:    #283593;
  --bleu-light:  #3949AB;
  --blanc:       #F8FAFC;
  --gris:        #F1F5F9;
  --gris-mid:    #E2E8F0;
  --texte:       #1E293B;
  --texte-muted: #64748B;

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 2px 8px rgba(26,35,126,.08);
  --shadow:     0 4px 20px rgba(26,35,126,.12);
  --shadow-lg:  0 12px 40px rgba(26,35,126,.18);
  --shadow-xl:  0 20px 60px rgba(26,35,126,.22);

  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset & Base ---- */
*, *::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: 'DM Sans', sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bleu);
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section spacing ---- */
.section { padding: 100px 0; }

/* ---- Section header ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(26,35,126,.08);
  color: var(--bleu);
  border: 1px solid rgba(26,35,126,.15);
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-badge--light {
  background: rgba(255,255,255,.15);
  color: var(--blanc);
  border-color: rgba(255,255,255,.25);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
  color: var(--bleu);
}
.section-title--light { color: #fff; }

.section-subtitle {
  font-size: 18px;
  color: var(--texte-muted);
  max-width: 560px;
  margin: 0 auto;
}
.section-subtitle--light { color: rgba(255,255,255,.8); }


/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn--lg { padding: 16px 32px; font-size: 16px; }

.btn--primary {
  background: var(--vert);
  color: #fff;
  box-shadow: 0 4px 20px rgba(56,142,60,.35);
}
.btn--primary:hover {
  background: var(--vert-light);
  box-shadow: 0 8px 28px rgba(56,142,60,.45);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
  backdrop-filter: blur(10px);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.2);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--vert);
  color: #fff;
  box-shadow: 0 4px 16px rgba(56,142,60,.3);
}
.btn--whatsapp:hover {
  background: var(--vert-light);
  box-shadow: 0 8px 24px rgba(56,142,60,.4);
  transform: translateY(-2px);
}


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 80px;
  transition: height 0.3s ease;
}

.navbar__logo img {
  height: 56px;
  width: auto;
  transition: height 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.navbar__links .nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  transition: all 0.25s ease;
}
.navbar__links .nav-link:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.navbar__cta { margin-left: 8px; padding: 10px 20px; font-size: 14px; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Scrolled state */
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(26,35,126,.1);
  backdrop-filter: blur(20px);
}
.navbar.scrolled .navbar__inner { height: 68px; }
.navbar.scrolled .navbar__logo img { height: 48px; filter: none; }
.navbar.scrolled .nav-link { color: var(--texte); }
.navbar.scrolled .nav-link:hover {
  background: var(--gris);
  color: var(--bleu);
}
.navbar.scrolled .navbar__hamburger span { background: var(--bleu); }
.navbar.scrolled .navbar__cta { background: var(--vert); color: #fff; }

/* Hamburger open state */
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/facade.jpg');
  background-size: cover;
  background-position: center 30%;
  transform-origin: center;
  will-change: transform;
}

.hero__overlay {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero__text { max-width: 680px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  color: rgba(255,255,255,.95);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}

.hero__title {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.75), 0 4px 32px rgba(0,0,0,.5);
}
.hero__title--accent {
  color: var(--jaune);
  display: block;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}

.hero__subtitle {
  font-size: clamp(18px, 2.2vw, 24px);
  color: rgba(255,255,255,.9);
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0,0,0,.7), 0 2px 20px rgba(0,0,0,.5);
}

.hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,.65);
}

.hero__br { display: none; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__flag {
  display: flex;
  gap: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
}
.hero__flag span {
  flex: 1;
  height: 100%;
}
.flag-rouge { background: var(--rouge); }
.flag-jaune { background: var(--jaune); }
.flag-vert { background: var(--vert); }

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.6;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

/* Hero entrance animations */
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-hero-1 { opacity: 0; animation: heroEnter 0.6s var(--ease-out) 0.1s forwards; }
.animate-hero-2 { opacity: 0; animation: heroEnter 0.8s var(--ease-out) 0.3s forwards; }
.animate-hero-3 { opacity: 0; animation: heroEnter 0.7s var(--ease-out) 0.5s forwards; }
.animate-hero-4 { opacity: 0; animation: heroEnter 0.7s var(--ease-out) 0.65s forwards; }
.animate-hero-5 { opacity: 0; animation: heroEnter 0.7s var(--ease-out) 0.8s forwards; }
.animate-hero-6 { opacity: 0; animation: heroEnter 0.5s var(--ease-out) 1.0s forwards; }

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(8px); opacity: 0.2; }
}


/* ============================================================
   SCROLL ANIMATIONS (IntersectionObserver)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.fade-in.visible {
  opacity: 1;
  transform: none;
}


/* ============================================================
   PRODUITS
   ============================================================ */
.produits { background: var(--blanc); }

.produits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card-produit {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gris-mid);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color 0.3s ease;
  transition-delay: calc(var(--stagger, 0) * 0.12s);
}
.card-produit:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--rouge);
}

.card-produit__img-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.card-produit__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.card-produit:hover .card-produit__img-wrapper img {
  transform: scale(1.07);
}

.card-produit__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card-produit__body {
  padding: 24px;
  flex: 1;
}

.card-produit__title {
  font-size: 20px;
  color: var(--bleu);
  margin-bottom: 8px;
}

.card-produit__desc {
  font-size: 14px;
  color: var(--texte-muted);
  font-style: italic;
  margin-bottom: 16px;
}

.card-produit__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.card-produit__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--texte);
}
.card-produit__list li i {
  color: var(--vert);
  font-size: 13px;
  flex-shrink: 0;
}

.card-produit__thumbs {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--gris-mid);
  padding-top: 16px;
  margin-top: auto;
}
.thumb-item {
  flex: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: default;
}
.thumb-item img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: var(--radius-sm);
}
.thumb-item:hover img { transform: scale(1.06); }
.thumb-item figcaption {
  font-size: 11px;
  color: var(--texte-muted);
  text-align: center;
  padding: 4px 0 2px;
  font-weight: 500;
}

.card-produit__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--bleu);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,.1);
  transition: background 0.3s ease;
}
.card-produit__cta:hover { background: var(--vert); }
.card-produit__cta i { font-size: 18px; }


/* ============================================================
   GALERIE
   ============================================================ */
.galerie {
  background: var(--bleu);
  padding: 80px 0;
}
.galerie .section-header { margin-bottom: 48px; }

.galerie__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.galerie__item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, box-shadow 0.35s ease;
  transition-delay: calc(var(--stagger, 0) * 0.1s);
}
.galerie__item:hover {
  transform: translateY(-6px);
  border-color: var(--jaune);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.galerie__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.galerie__item:hover img { transform: scale(1.06); }

.galerie__caption {
  padding: 12px 16px;
  font-size: 13px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .03em;
}


/* ============================================================
   COMMANDER
   ============================================================ */
.commander { background: var(--gris); }

.etapes {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.etape {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gris-mid);
  position: relative;
  transition-delay: var(--delay, 0s);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.etape:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--bleu-light);
}

.etape__number {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 44px;
  height: 44px;
  background: var(--rouge);
  color: #fff;
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(211,47,47,.4);
  transition: transform 0s;
}
.etape.visible .etape__number {
  animation: popIn 0.5s var(--ease-out) calc(var(--delay, 0s) + 0.2s) forwards;
}

@keyframes popIn {
  0%   { transform: translateX(-50%) scale(0); }
  65%  { transform: translateX(-50%) scale(1.15); }
  100% { transform: translateX(-50%) scale(1); }
}

.etape__icon {
  width: 64px;
  height: 64px;
  background: rgba(26,35,126,.07);
  color: var(--bleu);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
  transition: background 0.3s ease, color 0.3s ease;
}
.etape:hover .etape__icon {
  background: var(--bleu);
  color: #fff;
}

.etape__title {
  font-size: 18px;
  color: var(--bleu);
  margin-bottom: 10px;
}

.etape__desc {
  font-size: 14px;
  color: var(--texte-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.etape__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bleu);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.etape__link:hover { color: var(--rouge); }

.etape__connector {
  width: 48px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rouge), var(--jaune));
  align-self: center;
  margin: 0 -8px;
  position: relative;
  z-index: 1;
}
.etape__connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid var(--jaune);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}


/* ============================================================
   À PROPOS
   ============================================================ */
.apropos { background: var(--blanc); }

.apropos__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.apropos__img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--bleu);
}
.apropos__img-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.apropos__img-frame:hover img { transform: scale(1.04); }

.apropos__img-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--rouge);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.apropos__img-badge i { font-size: 20px; }

.apropos__content .section-badge { margin-bottom: 14px; }
.apropos__content .section-title { margin-bottom: 24px; }

.apropos__text {
  color: var(--texte-muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}

.apropos__engagements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 32px;
}

.engagement {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--gris);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--texte);
  border: 1px solid var(--gris-mid);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.engagement:hover {
  background: rgba(26,35,126,.05);
  border-color: var(--bleu-light);
}
.engagement i {
  color: var(--bleu);
  font-size: 16px;
  flex-shrink: 0;
}

.apropos__stats {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--gris-mid);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
  border-right: 1.5px solid var(--gris-mid);
  background: #fff;
  transition: background 0.25s ease;
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--gris); }

.stat__number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--rouge);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  display: block;
  font-size: 13px;
  color: var(--texte-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 500;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bleu); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact__info { display: flex; flex-direction: column; gap: 16px; }

.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.contact__item--link { cursor: pointer; text-decoration: none; color: inherit; }
.contact__item--link:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.25);
  transform: translateX(4px);
}

.contact__icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.contact__icon--green { background: var(--vert); }
.contact__item:hover .contact__icon { background: rgba(255,255,255,.2); }
.contact__item:hover .contact__icon--green { background: var(--vert-light); }

.contact__item-body h3 {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px;
  font-family: 'DM Sans', sans-serif;
}
.contact__item-body span, .contact__item-body p {
  font-size: 15px;
  color: rgba(255,255,255,.95);
  font-weight: 500;
  line-height: 1.5;
}

.contact__item-arrow {
  margin-left: auto;
  color: rgba(255,255,255,.35);
  font-size: 12px;
  transition: transform 0.25s ease, color 0.25s ease;
}
.contact__item--link:hover .contact__item-arrow {
  transform: translateX(4px);
  color: rgba(255,255,255,.7);
}

.contact__btn-wa {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.contact__map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255,255,255,.12);
}
.contact__map-wrapper iframe { display: block; }

.contact__map-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255,255,255,.6);
  font-size: 13px;
}
.contact__map-caption i { color: var(--rouge); }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0d1433;
  color: rgba(255,255,255,.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer__brand img {
  margin-bottom: 16px;
  filter: brightness(1.1);
}
.footer__tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.footer__flag {
  display: flex;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  width: 80px;
  gap: 2px;
}
.footer__flag span { flex: 1; }
.footer__flag span:nth-child(1) { background: var(--rouge); }
.footer__flag span:nth-child(2) { background: var(--jaune); }
.footer__flag span:nth-child(3) { background: var(--vert); }

.footer__heading {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.footer__links ul,
.footer__contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a,
.footer__contact-info a,
.footer__contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color 0.2s ease, gap 0.2s ease;
}
.footer__links a:hover,
.footer__contact-info a:hover { color: #fff; gap: 12px; }

.footer__links a i { font-size: 10px; color: var(--rouge); }
.footer__contact-info i { font-size: 14px; color: var(--jaune); width: 16px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,.4); }

.footer__credit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer__credit img {
  height: 36px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.25s;
}
.footer__credit img:hover { opacity: 1; }


/* ============================================================
   WHATSAPP FLOTTANT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--vert);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(56,142,60,.5);
  animation: waPulse 2.2s ease-in-out infinite;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  animation: none;
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(56,142,60,.65);
  background: var(--vert-light);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--texte);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, right 0.25s ease;
  font-family: 'Space Grotesk', sans-serif;
}
.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid var(--texte);
}
.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  right: 74px;
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(56,142,60,.5); }
  50%       { transform: scale(1.06); box-shadow: 0 6px 28px rgba(56,142,60,.65), 0 0 0 12px rgba(56,142,60,.1); }
}


/* ============================================================
   RESPONSIVE — Tablette (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .apropos__inner { grid-template-columns: 1fr; gap: 48px; }
  .apropos__image { max-width: 480px; margin: 0 auto; }
  .apropos__img-frame img { height: 400px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .produits__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .etapes { flex-direction: column; gap: 40px; }
  .etape__connector { width: 2px; height: 32px; align-self: center; margin: -16px 0; }
  .etape__connector::after {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-left: none;
    border-top: 8px solid var(--jaune);
    border-bottom: none;
  }
  .footer__inner { grid-template-columns: 1fr; }
}


/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Navbar */
  .navbar__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s ease;
    box-shadow: 0 8px 24px rgba(26,35,126,.12);
    margin-left: 0;
  }
  .navbar__links.open { max-height: 320px; padding: 8px 0; }
  .navbar__links .nav-link {
    display: block;
    padding: 14px 24px;
    color: var(--texte) !important;
    border-radius: 0;
    font-size: 16px;
    border-bottom: 1px solid var(--gris-mid);
  }
  .navbar__links .nav-link:hover { background: var(--gris); }
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__inner { gap: 16px; }

  /* Hero */
  .hero__title { font-size: clamp(30px, 8vw, 44px); }
  .hero__subtitle { font-size: 17px; }
  .hero__desc { font-size: 15px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn--lg { justify-content: center; }
  .hero__scroll-hint { display: none; }
  .hero__br { display: block; }

  /* Cards */
  .card-produit__thumbs { flex-direction: row; }
  .thumb-item img { height: 60px; }

  /* Galerie */
  .galerie__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .galerie__item img { height: 170px; }

  /* Apropos */
  .apropos__img-frame img { height: 320px; }
  .apropos__engagements { grid-template-columns: 1fr; }
  .apropos__stats { flex-direction: row; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { padding: 48px 24px 32px; grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 24px; }
  .whatsapp-float__tooltip { display: none; }
}

@media (max-width: 480px) {
  .hero__badge { font-size: 12px; padding: 6px 14px; }
  .btn--lg { padding: 14px 22px; font-size: 14px; }
  .section-header { margin-bottom: 48px; }
  .galerie__item { flex: 0 0 200px; }
}

/* Disable parallax on mobile for performance */
@media (max-width: 768px) {
  .hero__bg { transform: none !important; }
}
