/* ============================================================
   style.css — Floortin Tunisia SARL
   Design : Industriel / Construction — Navy + Or
   Fonts : Barlow Condensed (titres) + Barlow (corps)
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --navy:      #1a3a6b;
  --navy-dark: #0f2347;
  --navy-light:#2a5298;
  --gold:      #e8b800;
  --gold-dark: #c99f00;
  --white:     #ffffff;
  --gray-50:   #f8f9fc;
  --gray-100:  #f0f2f7;
  --gray-200:  #e0e4ed;
  --gray-400:  #9aa3b5;
  --gray-600:  #5a6478;
  --gray-800:  #2d3548;
  --text:      #2d3548;
  --text-light:#6b7280;
  --red:       #e63946;
  --green:     #22c55e;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-ar:      'Noto Kufi Arabic', sans-serif;

  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 2px 16px rgba(26,58,107,.10);
  --shadow-lg: 0 8px 40px rgba(26,58,107,.16);
  --transition: .25s ease;

  --header-h:  72px;
  --topbar-h:  38px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
body[dir="rtl"] { font-family: var(--font-ar); }
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════════════════════════════════════════════════════
   TOP BAR
════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--navy-dark);
  height: var(--topbar-h);
  font-size: 12px;
  color: rgba(255,255,255,.75);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-left a, .topbar-left span {
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}
.topbar-left a:hover { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-right a {
  color: rgba(255,255,255,.6);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  font-size: 12px;
}
.topbar-right a:hover { background: var(--gold); color: var(--navy); }

/* Lang switcher topbar */
.lang-switcher { display: flex; }
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn:first-child { border-radius: 4px 0 0 4px; }
.lang-btn:last-child  { border-radius: 0 4px 4px 0; border-left: none; }
.lang-btn.active,
.lang-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  height: var(--header-h);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.14); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

/* Logo */
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.site-logo  { height: 52px; width: auto; max-width: 200px; object-fit: contain; }

/* Main Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--gray-800);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.main-nav a:hover,
.main-nav a.active { color: var(--navy); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.btn-nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  padding: 9px 20px !important;
  font-family: var(--font-display) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.btn-nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; transform: translateY(-1px); }
.btn-nav-cta::after { display: none !important; }

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  padding: 4px;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 800;
  overflow-y: auto;
  padding-top: calc(var(--topbar-h) + var(--header-h));
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav ul { padding: 20px 0; }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  color: rgba(255,255,255,.85);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--gold); padding-left: 36px; }
.mobile-nav .mobile-cta {
  background: var(--gold);
  color: var(--navy) !important;
  margin: 20px 28px;
  border-radius: var(--radius);
  justify-content: center;
  border: none;
}
.mobile-lang {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 28px;
}
.lang-btn-mob {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 12px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}
.lang-btn-mob.active,
.lang-btn-mob:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ════════════════════════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════════════════════════ */
.hero-swiper { width: 100%; position: relative; }
.hero-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
}
.swiper-button-next,
.swiper-button-prev { color: var(--white); }
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 20px; font-weight: 900; }
.swiper-pagination-bullet-active { background: var(--gold) !important; }

/* ════════════════════════════════════════════════════════════
   BANDEAU AVANTAGES
════════════════════════════════════════════════════════════ */
.avantages-band {
  background: var(--navy);
  padding: 16px 0;
}
.avantages-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.avantage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
}
.avantage-item i { color: var(--gold); font-size: 18px; }

/* ════════════════════════════════════════════════════════════
   SECTIONS COMMUNES
════════════════════════════════════════════════════════════ */
section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header .section-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
}
.section-divider {
  width: 60px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ════════════════════════════════════════════════════════════
   PRODUITS — GRILLE & CARTES
════════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 1px solid var(--gray-100);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.product-card-img {
  position: relative;
  background: var(--gray-50);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.product-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.product-card-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.product-card-desc {
  font-size: 13px;
  color: var(--text-light);
  flex: 1;
  line-height: 1.5;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  gap: 8px;
}
.product-card-poids {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-card-detail {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-card-detail:hover { background: var(--gold); color: var(--navy); }

/* ════════════════════════════════════════════════════════════
   FILTRE CATÉGORIES
════════════════════════════════════════════════════════════ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 30px;
  background: var(--white);
  color: var(--gray-600);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ════════════════════════════════════════════════════════════
   MODALE PRODUIT
════════════════════════════════════════════════════════════ */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,45,.7);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: modalIn .2s ease;
}
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }

.product-modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: boxIn .25s ease;
}
@keyframes boxIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.product-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  font-size: 16px;
  color: var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 10;
}
.product-modal-close:hover { background: var(--red); color: var(--white); }

.modal-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 60px; color: var(--navy);
}
.modal-loading i { font-size: 32px; }

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
}
.modal-img-col {
  background: var(--gray-50);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.modal-img-col img {
  max-height: 320px;
  object-fit: contain;
  width: 100%;
}
.modal-info-col { padding: 32px 28px; }
.modal-cat-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.15;
}
.modal-badges-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.modal-badge {
  background: var(--gray-100);
  color: var(--gray-800);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.modal-desc { font-size: 14px; color: var(--text-light); margin-bottom: 18px; line-height: 1.6; }
.modal-section-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.modal-section-title::before {
  content: '';
  display: block;
  width: 4px; height: 16px;
  background: var(--gold);
  border-radius: 2px;
}
.modal-specs-list { margin-bottom: 16px; }
.modal-specs-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--text);
}
.modal-specs-list li:last-child { border: none; }
.modal-specs-list li i { color: var(--gold); margin-top: 3px; font-size: 11px; flex-shrink: 0; }
.modal-cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* ════════════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--navy);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { padding: 20px; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 500;
}
.stat-icon {
  font-size: 28px;
  color: rgba(255,255,255,.2);
  margin-bottom: 10px;
}

/* ════════════════════════════════════════════════════════════
   À PROPOS — SECTION ACCUEIL
════════════════════════════════════════════════════════════ */
.about-home { background: var(--gray-50); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 12px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}
.about-img-badge strong { font-size: 26px; color: var(--gold); }
.about-text h2 { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-text .lead { font-size: 17px; font-weight: 600; color: var(--navy-light); margin-bottom: 16px; }
.about-text p { color: var(--text-light); margin-bottom: 20px; }
.about-certs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.cert-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
}
.cert-chip i { color: var(--gold); }

/* ════════════════════════════════════════════════════════════
   PAGE À PROPOS
════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 70px 0;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  max-width: 580px;
  margin: 0 auto;
  position: relative;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
  position: relative;
}
.breadcrumb a { color: var(--gold); transition: opacity .2s; }
.breadcrumb a:hover { opacity: .8; }
.breadcrumb i { font-size: 10px; }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot {
  position: absolute;
  left: -40px; top: 4px;
  width: 28px; height: 28px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 12px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0;
}
.timeline-text { font-size: 14px; color: var(--text-light); }

/* Valeurs */
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.valeur-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.valeur-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.valeur-icon {
  width: 64px; height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
  color: var(--gold);
}
.valeur-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.valeur-card p  { font-size: 13px; color: var(--text-light); }

/* ════════════════════════════════════════════════════════════
   RÉALISATIONS
════════════════════════════════════════════════════════════ */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.realisation-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.realisation-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.realisation-card:hover img { transform: scale(1.08); }
.realisation-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,45,.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.realisation-card:hover .realisation-card-overlay { opacity: 1; }
.realisation-card-overlay h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.realisation-card-overlay span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  margin-top: 4px;
}

/* ════════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--gold);
}
.contact-info-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.contact-info-text span, .contact-info-text a { font-size: 14px; color: var(--text-light); }
.contact-info-text a:hover { color: var(--navy); }

/* Formulaire */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,107,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ════════════════════════════════════════════════════════════
   CATALOGUE
════════════════════════════════════════════════════════════ */
.catalogue-viewer {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.catalogue-empty {
  padding: 80px 40px;
  color: var(--text-light);
}
.catalogue-empty i { font-size: 48px; margin-bottom: 16px; display: block; color: var(--gray-200); }

.flipbook-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.flipbook-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 500px;
}
.flipbook-swiper .swiper-slide img {
  max-height: 560px;
  width: auto;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
}
.flipbook-swiper embed.pdf-embed {
  width: 100%;
  height: 560px;
  border: none;
  border-radius: 4px;
}
.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.flipbook-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transition: background var(--transition);
}
.flipbook-btn:hover { background: var(--gold); color: var(--navy); }
.flipbook-btn:disabled { opacity: .4; cursor: not-allowed; }
.flipbook-counter {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); }
.footer-top { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
}

.footer-logo { height: 48px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .85; }
.footer-about p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--gold); color: var(--navy); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: .5px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  display: flex; align-items: center; gap: 8px;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }
.footer-col ul a i { font-size: 10px; color: var(--gold); }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.footer-contact-list li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.55); }
.footer-contact-list a:hover { color: var(--gold); }

.footer-certs {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 0;
}
.footer-certs-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-certs span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 6px;
}
.footer-certs span i { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.4); }

/* ════════════════════════════════════════════════════════════
   BOUTONS COMMUNS
════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gold); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ════════════════════════════════════════════════════════════
   BACK TO TOP
════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(26,58,107,.3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 500;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy); }

/* ════════════════════════════════════════════════════════════
   ALERTS & MESSAGES
════════════════════════════════════════════════════════════ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #dcfce7; color: #166534; border-left: 4px solid var(--green); }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--red); }
.alert-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid var(--navy); }
