/* ==============================
   VFJ Construction — Styles globaux
   Palette inspirée du logo + admin
   60% fonds clairs / 30% bleus & gris / 10% jaune-accent
   ============================== */
   :root{
    /* Couleurs principales */
    --primary:        #1E3A8A; /* Bleu identité VFJ (texte / boutons / liens) */
    --primary-dark:   #152A6E; /* Bleu foncé (hover, header, accents forts) */
    --primary-soft:   #E6ECFF; /* Bleu très clair pour fonds de section */
  
    --secondary:      #4B5563; /* Gris anthracite (texte important) */
    --secondary-soft: #F3F4F6; /* Gris clair (fonds neutres) */
  
    --accent:         #E5C01B; /* Jaune du logo (accents principaux) */
    --accent-warm:    #F97316; /* Orange chaud (hover, badges, contrastes) */
  
    /* Fonds globaux (60%) */
    --bg:             #F4F5FF; /* Fond principal : lavande très claire (comme l’admin) */
    --bg-alt:         #EEF2FF; /* Variante pour sections alternées */
    --bg-hero:        radial-gradient(circle at top left, rgba(30,58,138,.18) 0, transparent 55%),
                       radial-gradient(circle at 80% 0, rgba(229,192,27,.16) 0, transparent 55%),
                       #F4F5FF;
  
    /* Surfaces (cartes…) */
    --surface:        #FFFFFF;
    --surface-alt:    #F9FAFB;
  
    /* Texte */
    --text:           #111827;
    --text2:          #6B7280;
    --text-muted:     #9CA3AF;
  
    /* Bordures, lignes */
    --line:           #E5E7EB;
    --line-strong:    #D1D5DB;
  
    /* Divers */
    --white:          #ffffff;
  
    --radius-sm:      6px;
    --radius-md:      8px;
    --radius-lg:      12px;
    --radius-xl:      16px;
  
    --shadow-card:    0 10px 30px rgba(15,23,42,.08);
    --shadow-hover:   0 18px 45px rgba(15,23,42,.15);
  
    --container:      1450px;
  }
  
  /* Reset & base */
  *{
    box-sizing:border-box;
  }
  
  html,body{
    margin:0;
    padding:0;
    background:var(--bg);
    color:var(--text);
    font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  }
body.nav-open{
  overflow:hidden;
}
  
  img{
    max-width:100%;
    display:block;
  }
  
  a{
    color:inherit;
    text-decoration:none;
  }
  
  .container{
    max-width:var(--container);
    padding:0 24px;
    margin:0 auto;
  }
  
  /* Utilities */
  .muted{color:var(--text2);}
  .hidden{display:none !important;}
  .text-center{text-align:center;}
  
  .mt-0{margin-top:0;}
  .mb-0{margin-bottom:0;}
  .mt-1{margin-top:4px;}
  .mt-2{margin-top:8px;}
  .mt-3{margin-top:12px;}
  .mt-4{margin-top:16px;}
  .mt-6{margin-top:24px;}
  .mt-8{margin-top:32px;}
  
  /* ==============================
     Boutons
     ============================== */
  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 18px;
    border-radius:var(--radius-md);
    border:0;
    cursor:pointer;
    font-weight:600;
    transition:all .25s ease;
    font-size:15px;
    letter-spacing:.01em;
  }
  
  .btn:disabled{
    opacity:.6;
    cursor:not-allowed;
  }
  
  /* Bouton principal : BLEU */
  .btn-primary{
    background:var(--primary);
    color:#fff;
    box-shadow:0 10px 20px rgba(30,58,138,.18);
  }
  .btn-primary:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
    box-shadow:var(--shadow-hover);
  }
  
  /* Bouton accent : JAUNE/ORANGE */
  .btn-accent{
    background:var(--accent);
    color:#1F2933;
    box-shadow:0 8px 18px rgba(229,192,27,.32);
  }
  .btn-accent:hover{
    background:var(--accent-warm);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:var(--shadow-hover);
  }
  
  /* Bouton outline */
  .btn-outline{
    background:transparent;
    border:1px solid rgba(30,58,138,.4);
    color:var(--primary);
  }
  .btn-outline:hover{
    background:var(--primary);
    color:#fff;
    box-shadow:0 8px 20px rgba(30,58,138,.25);
  }
  
  /* ==============================
     Cartes & Grilles
     ============================== */
  .card{
    background:var(--surface);
    border:1px solid rgba(148,163,184,.35);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-card);
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    backdrop-filter:blur(6px);
  }
  
  .card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow-hover);
    border-color:rgba(30,58,138,.45);
  }
  
  .grid{
    display:grid;
    gap:16px;
  }
  
  .grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
  .grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
  .grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}
  
  /* Tag / chips */
  .tag{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:4px 10px;
    border-radius:999px;
    background:rgba(30,58,138,.07);
    color:var(--primary);
    font-size:12px;
    font-weight:600;
  }
  
  /* ==============================
     Header / Navigation
     ============================== */
  header{
    position:sticky;
    top:0;
    z-index:50;
    /* fond légèrement coloré comme l’admin */
    background: var(--primary-dark);;
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(148,163,184,.35);
    box-shadow:0 10px 30px rgba(15,23,42,.07);
  }
  
  .nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    height:68px;
    position:relative;
  }
  
  .nav .left{
    display:flex;
    align-items:center;
    gap:16px;
  }
  
  /* Logo text + image */
  .logo{
    font-weight:800;
    color: white;
    white-space:nowrap;
    font-size:20px;
    letter-spacing:.06em;
    text-transform:uppercase;
  }
  .logo-vfj{
    height:40px;
    width:auto;
  }
  
  /* Menu */
  .menu{
    display:flex;
    gap:16px;
    flex-wrap:nowrap;
  }
  
  .menu a{
    padding:8px 12px;
    border-radius:999px;
    transition:background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
    color: white;
    font-weight:500;
    font-size:14px;
    white-space:nowrap;
    flex:0 0 auto;
  }
  
  /* état normal + actif + hover avec 60/30/10 */
  .menu a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #FFF;
    box-shadow: 0 6px 18px rgba(30,58,138,.18);
  }
  .menu a:hover{
    background:rgba(229, 192, 27, 0.78);
    color:#1F2933;
    transform:translateY(-1px);
  }
  
  /* Menu burger mobile */
  .burger{
    display:none;
    align-items:center;
    gap:8px;
    padding:8px 10px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,.6);
    background:rgba(255,255,255,.9);
    cursor:pointer;
    transition:all .2s ease;
  }
  .burger.active{
    background:rgba(0,0,0,0.08);
    color:#fff;
  }
  .nav-overlay{
    display:none;
  }
  .nav-overlay.show{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    z-index:45;
    backdrop-filter:blur(2px);
  }
  
  /* ==============================
     Router de vues front
     ============================== */

  
  .view{
    display:none;
    animation:fade .25s ease;
  }
  .view.active{
    display:block;
  }
  
  @keyframes fade{
    from{opacity:0;transform:translateY(6px);}
    to{opacity:1;transform:none;}
  }
  
  /* ==============================
     Hero section
     ============================== */
/* ===== HERO BASE ===== */
.hero {
  position:relative;
  height:510px;
  overflow:hidden;
  display:flex;
  align-items:center;
}
/* ===== CAROUSEL DE FOND CUSTOM ===== */
.hero-bg-carouselHero {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-carouselHero .carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-bg-carouselHero .carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-bg-carouselHero .carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.hero-bg-slide {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(60%);
  animation: zoom-effect 20s infinite alternate;
}

/* Effet de zoom léger pour les images */
@keyframes zoom-effect {
  0% {
      transform: scale(1);
  }
  100% {
      transform: scale(1.05);
  }
}

/* Animation du carousel (sans Bootstrap) */
@keyframes carousel-animation {
  0% {
      opacity: 0;
  }
  20% {
      opacity: 1;
  }
  33.33% {
      opacity: 1;
  }
  53.33% {
      opacity: 0;
  }
  100% {
      opacity: 0;
  }
}

/* Configuration des délais pour chaque slide */
.hero-bg-carouselHero .carousel-item:nth-child(1) {
  animation: carousel-animation 16s infinite;
}

.hero-bg-carouselHero .carousel-item:nth-child(2) {
  animation: carousel-animation 16s infinite 4s;
}

.hero-bg-carouselHero .carousel-item:nth-child(3) {
  animation: carousel-animation 16s infinite 8s;
}

.hero-bg-carouselHero .carousel-item:nth-child(4) {
  animation: carousel-animation 16s infinite 12s;
}

/* ===== OMBRE DE FOND ===== */
.hero-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.55));
  z-index:1;
}

/* ===== CONTENU PAR-DESSUS ===== */
.hero .wrap {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:32px;
  align-items:center;
}

.hero h1 {
  font-size:46px;
  font-weight:800;
  line-height:1.2;
  color:white;
  margin-bottom:10px;
}

.hero p {
  color:#F1F5F9;
  font-size:18px;
}

/* ===== IMAGE DROITE (fixe) ===== */
.hero .img {
  height:380px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.4);
  box-shadow:0 24px 50px rgba(15,23,42,.30);
  position:relative;
}

.hero .img::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(45deg,rgba(30,58,138,.18),rgba(229,192,27,.2));
  mix-blend-mode:multiply;
}

/* ===== BOUTONS ===== */
.hero .btn-primary {
  box-shadow:0 10px 20px rgba(30,58,138,.35);
}

.hero .btn-accent {
  box-shadow:0 10px 20px rgba(229,192,27,.45);
}

  /* ==============================
     Catégories de produits
     ============================== */
  .cat .item{
    padding:16px;
    cursor:pointer;
  }
  
  .cat .ph{
    height:120px;
    border-radius:16px;
    background:linear-gradient(135deg,#E5E7EB,#F9FAFB);
    border:1px solid rgba(209,213,219,.9);
    margin-bottom:10px;
    transition:all .25s ease;
  }
  
  .cat .item:hover .ph{
    background:linear-gradient(135deg,#D1FAE5,#FEF9C3);
    border-color:rgba(229,192,27,.6);
    box-shadow:0 14px 32px rgba(15,23,42,.18);
  }
  
  /* ==============================
     Carousel (réalisations / similaires)
     ============================== */
  .carousel{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(260px,1fr);
    gap:16px;
    overflow:auto;
    padding-bottom:8px;
    scroll-snap-type:x mandatory;
  }
  
  .carousel::-webkit-scrollbar{
    height:8px;
  }
  .carousel::-webkit-scrollbar-thumb{
    background:#D1D5DB;
    border-radius:999px;
  }
  
  .carousel > .shot{
    scroll-snap-align:start;
    height:220px;
    border-radius:18px;
    background:linear-gradient(135deg,#E5E7EB,#F3F4F6);
    border:1px solid rgba(209,213,219,.9);
    position:relative;
    overflow:hidden;
    box-shadow:0 16px 40px rgba(15,23,42,.12);
  }
  
  .carousel .cap{
    position:absolute;
    left:12px;
    bottom:12px;
    background:rgba(15,23,42,.8);
    color:#fff;
    padding:6px 12px;
    border-radius:999px;
    font-size:12px;
  }
  
  /* Arguments */
  /* Pourquoi nous choisir – grille */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }

  /* Card */
  .why-card {
    padding: 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff, #f4f6ff);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: all .25s ease;
    border: 1px solid #e5e8f5;
    text-align: center;
  }

  /* Hover effect */
  .why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff, #eef1ff);
  }

  /* Icône */
  .why-icon {
    font-size: 38px;
    color: #3f51b5; /* bleu moderne */
    margin-bottom: 14px;
  }

  .why-icon i {
    display: inline-block;
  }

  /* Titre */
  .why-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f1f1f;
  }

  /* Description */
  .why-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
  }

  
/* ================================
   FOOTER VFJ 
   ================================ */

/* RESET */
.footer-container * {
  box-sizing: border-box;
}

.footer-container {
  background-color: #484747;
  color: #fff;
  padding: 50px 20px 20px;
  width: 100%;
  font-family: Arial, sans-serif;
  margin-top: 20px;
}

/* CONTENT WRAPPER */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* LOGO */
.footer-logo {
  text-align: center;
}

.footer-logo img {
  height: 95px;
  width: 200px;
}

/* GRID SECTIONS */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 15px;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s color ease;
}

.footer-links a:hover {
  color: #fff;
}

/* SOCIAL + PLATFORMS SECTION */
.footer-social-platforms {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 20px;
  margin-bottom: 25px;
  border-top: 1px solid #333;
  gap: 20px;
}

/* SOCIAL */
.social-section h4,
.platforms-section h4 {
  font-size: 14px;
  margin-bottom: 15px;
  color: #fff;
}

.social-icons,
.platform-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ICON BUTTONS */
.social-icon,
.platform-icon {
  background-color: #2a2a2a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 12px;
  text-decoration: none;
  transition: background 0.3s ease, transform .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-icon i,
.platform-icon i {
  font-size: 15px;
}

.social-icon:hover,
.platform-icon:hover {
  background-color: #444;
  transform: translateY(-2px);
}

/* COPYRIGHT */
.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 12px;
  color: #bbb;
}

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

@media (max-width: 900px) {
  .footer-social-platforms {
      flex-direction: column;
      text-align: center;
  }

  .social-icons,
  .platform-icons {
      justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-grid {
      grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 450px) {
  .footer-grid {
      grid-template-columns: 1fr;
  }

  .footer-container {
      padding: 35px 15px 20px;
  }

  .footer-logo img {
    height: 139px;
    width: 341px;
  }
}

/* ==============================
   Catalogue produits
   ============================== */

.catalog-page{
  padding:40px 0 60px;
}

.catalog-hero{
  display:flex;
  justify-content:space-between;
  gap:32px;
  padding:32px;
  background:linear-gradient(135deg,#ffffff,#eef2ff);
  border:1px solid rgba(209,213,219,.7);
}

.catalog-hero__text h2{
  margin-bottom:8px;
}

.catalog-hero__stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  align-self:center;
}

.eyebrow{
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.18em;
  color:var(--text-muted);
  margin:0 0 8px;
}

.hero-pill-group{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.hero-pill{
  padding:6px 14px;
  border-radius:999px;
  background:rgba(30,58,138,.08);
  color:var(--primary);
  font-size:13px;
  font-weight:600;
}

.stat-card{
  background:var(--surface-alt);
  border:1px solid rgba(209,213,219,.8);
  border-radius:var(--radius-lg);
  padding:16px;
  box-shadow:var(--shadow-card);
}

.stat-label{
  font-size:13px;
  color:var(--text2);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.stat-value{
  display:block;
  font-size:32px;
  font-weight:800;
  color:var(--primary);
  margin:6px 0;
}

.catalog-layout{
  margin-top:32px;
  display:grid;
  grid-template-columns:minmax(260px,20%) 1fr;
  gap:24px;
  align-items:flex-start;
  position:relative;
}

.catalog-panel{
  position:sticky;
  top:96px;
}

.filters{
  border-radius:16px;
  box-shadow:var(--shadow-card);
  padding:22px !important;
  background:linear-gradient(135deg,#FFFFFF,#F3F4FF);
  border:1px solid rgba(209,213,219,.9);
}

.filter-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.filter-head h3{
  margin:0;
}

.filter-toggle{
  border:0;
  background:rgba(30,58,138,.08);
  color:var(--primary);
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
}

.filter-open{
  display:none;
  position:absolute;
  left:0;
  top:-56px;
  border:0;
  background:var(--primary);
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(30,58,138,.2);
}

.catalog-layout[data-filters-open="false"] .catalog-panel{
  display:none;
}

.catalog-layout[data-filters-open="false"]{
  grid-template-columns:1fr;
}

.catalog-layout[data-filters-open="false"] .filter-open{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.filter-reset{
  font-size:13px;
  color:var(--primary);
  text-decoration:underline;
}

.btn-apply{
  width:100%;
  margin-top:8px;
}

.filter-tips{
  margin-top:24px;
  padding:16px;
  border-radius:var(--radius-md);
  background:var(--surface-alt);
  border:1px dashed rgba(30,58,138,.2);
  font-size:14px;
}

.filter-tips ul{
  margin:12px 0 0;
  padding-left:18px;
  color:var(--text2);
}

.catalog-results{
  background:var(--surface);
  border-radius:24px;
  padding:32px;
  border:1px solid rgba(209,213,219,.7);
  box-shadow:var(--shadow-card);
}

.results-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
}

.results-subtitle{
  margin-top:8px;
}

.results-count{
  min-width:140px;
  padding:16px;
  border-radius:var(--radius-lg);
  background:var(--primary-soft);
  text-align:center;
}

.results-count span{
  font-size:34px;
  font-weight:800;
  color:var(--primary);
  display:block;
  line-height:1;
}

.results-count small{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  color:var(--text2);
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}

.product-card{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:20px;
  border-radius:22px;
  border:1px solid rgba(209,213,219,.7);
  box-shadow:var(--shadow-card);
  background:var(--surface);
  height:100%;
  transition:transform .3s ease, box-shadow .3s ease;
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-hover);
}

.product-media{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(135deg,#cbd5e1,#e5e7eb);
  padding:18px;
}

.product-badge{
  position:absolute;
  top:16px;
  left:16px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(15,23,42,.8);
  color:#fff;
  font-size:13px;
  font-weight:600;
}

.product-card-img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.4);
  box-shadow:0 15px 30px rgba(15,23,42,.18);
  transition:transform .4s ease;
}

.product-card:hover .product-card-img{
  transform:scale(1.03);
}

.product-chip-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}

.product-chip{
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(209,213,219,.7);
  font-size:12px;
  font-weight:600;
  color:var(--secondary);
}

.product-body h4{
  margin:0 0 6px;
  font-size:20px;
}

.product-desc{
  font-size:14px;
  color:var(--text2);
  margin:0 0 16px;
}

.product-highlights{
  background:var(--surface-alt);
  border-radius:12px;
  padding:12px 14px;
  border:1px solid rgba(148,163,184,.35);
}

.meta-label{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--text-muted);
  margin-bottom:6px;
}

.product-footer{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
}

.btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  min-height:44px;
  min-width:44px;
  flex:0 0 auto;
}

.btn-icon svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

.btn-icon span{
  max-width:0;
  opacity:0;
  overflow:hidden;
  white-space:nowrap;
  transition:max-width .25s ease, opacity .2s ease;
  font-size:13px;
}

.btn-icon:hover span,
.btn-icon:focus-visible span{
  max-width:160px;
  opacity:1;
}

.product-footer .btn{
  flex:1;
  justify-content:center;
}

.empty-state{
  padding:32px;
  text-align:center;
  border-radius:20px;
  background:linear-gradient(135deg,#FDFCFB,#E2EBF0);
}
  
  /* ==============================
     Zoom overlay
     ============================== */
  .zoom-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(15,23,42,0.84);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:999;
    opacity:0;
    visibility:hidden;
    transition:opacity .3s ease;
  }
  .zoom-overlay.active{
    opacity:1;
    visibility:visible;
  }
  .zoom-overlay img{
    max-width:90%;
    max-height:90%;
    border-radius:16px;
    box-shadow:0 24px 60px rgba(0,0,0,.45);
  }
  
  /* Bouton retour en haut */
  .scroll-top{
    position:fixed;
    bottom:80px;
    right:25px;
    width:45px;
    height:45px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    font-size:22px;
    border:none;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 10px 26px rgba(15,23,42,0.35);
    opacity:0;
    visibility:hidden;
    transition:all 0.3s ease;
    z-index:9999;
  }
  .scroll-top:hover{
    transform:translateY(-4px);
    background:var(--primary-dark);
  }
  .scroll-top.show{
    opacity:1;
    visibility:visible;
  }
  
  /* ==============================
     Fiche produit
     ============================== */
  .two{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:24px;
  }
  .gallery .hero{
    height:360px;
    border-radius:20px;
    background:#D1D5DB;
    border:1px solid var(--line);
  }
  .thumbs{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    margin-top:10px;
  }
  .thumbs .t{
    height:72px;
    background:#E5E7EB;
    border:1px solid var(--line);
    border-radius:12px;
    cursor:pointer;
    transition:all .25s ease;
  }
  .thumbs .t:hover{
    background:#D1D5DB;
    box-shadow:0 10px 24px rgba(15,23,42,.2);
  }
  .specs{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
  }
  .specs .cell{
    padding:12px;
    background:#F3F4F6;
    border:1px solid var(--line);
    border-radius:12px;
  }
  
  /* ==============================
     Contact
     ============================== */
  .contact-grid{
    display:grid;
    grid-template-columns:1fr .9fr;
    gap:24px;
  }
  .field{
    display:flex;
    flex-direction:column;
    gap:6px;
    margin-bottom:16px;
  }
  .input{
    height:44px;
    border:1px solid var(--line);
    border-radius:10px;
    padding:10px 12px;
    background:#fff;
    transition:border .25s ease, box-shadow .25s ease;
  }
  .input:focus{
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 1px rgba(30,58,138,.2);
  }
  .textarea{
    min-height:120px;
    resize:vertical;
  }
  .map{
    height:280px;
    background:#D1D5DB;
    border:1px solid var(--line);
    border-radius:16px;
  }
  
  /* ==============================
     About / Timeline / Team
     ============================== */
  .about .team,
  .about .gal{
    display:grid;
    gap:16px;
  }
  .about .team{
    grid-template-columns:repeat(4,1fr);
  }
  .about .gal{
    grid-template-columns:repeat(3,1fr);
  }
  
  .ph{
    height:220px;
    background:#E5E7EB;
    border:1px solid var(--line);
    border-radius:18px;
  }
  
  .testi{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
  }
  .testi .card{
    padding:16px;
  }
  
  .section-title{
    font-size:28px;
    margin-bottom:16px;
    position:relative;
    padding-bottom:8px;
    color:var(--primary-dark);
  }
  .section-title::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:72px;
    height:3px;
    background:linear-gradient(90deg,var(--accent),var(--primary));
  }
  
  .stats{
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    margin:32px 0;
    padding:32px 0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .stat-item{
    text-align:center;
    padding:16px;
  }
  .stat-number{
    font-size:36px;
    font-weight:800;
    color:var(--primary);
    line-height:1;
  }
  .stat-label{
    font-size:14px;
    color:var(--text2);
    margin-top:8px;
  }
  /* Grille principale */
  .process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 32px 0;
  }

  /* Card */
  .process-step {
    text-align: center;
    padding: 26px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff, #f6f7ff);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: all .25s ease;
    border: 1px solid #e7e8f3;
    position: relative;
  }

  /* Hover */
  .process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #ffffff, #eef0ff);
  }

  /* Icône */
  .process-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--primary, #4c6fff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 6px 14px rgba(76,111,255,0.25);
    transition: all .25s ease;
  }

  .process-step:hover .process-icon {
    background: #3e54d8;
    transform: scale(1.08);
  }

  /* Titre */
  .process-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    color: #1a1a1a;
  }

  /* Description */
  .process-desc {
    font-size: 15px;
    color: #6b6b6b;
    line-height: 1.5;
  }

  /* Section partenaires */
  .partners-section {
    background: #fafbff;
    border-radius: 16px;
    padding: 60px 20px;
  }


  /* Grille fluide et élégante */
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
    align-items: center;
    justify-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--line);
  }

  /* Conteneur du logo */
  .partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Style logo premium */
  .partner-logo {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: all .3s ease;
  }

  /* Hover effet luxe */
  .partner-item:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: translateY(-4px) scale(1.05);
  }

  
  .timeline{
    position:relative;
    max-width:800px;
    margin:32px auto;
  }
  .timeline::before{
    content:"";
    position:absolute;
    left:30px;
    top:0;
    bottom:0;
    width:2px;
    background:var(--primary);
  }
  .timeline-item{
    position:relative;
    margin-bottom:32px;
    padding-left:80px;
  }
  .timeline-year{
    position:absolute;
    left:0;
    top:0;
    width:60px;
    height:60px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
  }
  .timeline-content{
    background:#fff;
    padding:16px;
    border-radius:var(--radius-lg);
    border:1px solid var(--line);
    box-shadow:var(--shadow-card);
  }
  
  /* -------------------------------------------------------------
   CAROUSEL / RÉALISATIONS
   ------------------------------------------------------------- */
/* --- Galerie -- */
.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.carousel::-webkit-scrollbar {
  height: 8px;
}

.carousel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.shot {
  position: relative;
  flex: 0 0 180px; /* largeur fixe */
  height: 120px;    /* hauteur fixe */
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  background-color: #f0f0f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot:hover, .shot:focus {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgb(0 0 0 / 0.2);
  outline: none;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Important : garder ratio sans déformation */
  border-radius: 12px;
  user-select: none;
  pointer-events: none; /* éviter que l'image capture le clic */
}

.cap {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 14px;
  border-radius: 6px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shot:hover .cap,
.shot:focus .cap {
  opacity: 1;
}

/* --- Modal --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
  flex-direction: column;
  padding: 20px;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255 255 255 / 0.6);
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #f0c000;
}

#modal-caption {
  margin-top: 12px;
  color: #fff;
  font-size: 18px;
  text-align: center;
  max-width: 90vw;
}


  /* ==============================
     WhatsApp floating
     ============================== */
  .wa{
    position:fixed;
    right:16px;
    bottom:16px;
    background:#25D366;
    color:#fff;
    font-weight:700;
    padding:12px 16px;
    border-radius:999px;
    box-shadow:var(--shadow-card);
    z-index:60;
    transition:all .25s ease;
  }
  .wa:hover{
    background:#128C7E;
    transform:scale(1.05);
  }
  
  /* ==============================
     Responsive
     ============================== */
  @media (max-width:1024px){
    .hero .wrap,
    .two,
    .contact-grid{
      grid-template-columns:1fr;
    }
    .catalog-hero{
      flex-direction:column;
    }
    .catalog-hero__stats{
      width:100%;
      grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    }
    .catalog-layout{
      grid-template-columns:1fr;
    }
    .catalog-panel{
      position:static;
    }
    .catalog-layout{
      grid-template-columns:1fr;
    }
    .catalog-layout[data-filters-open="false"] .filter-open{
      top:-48px;
    }
    .filter-toggle{
      display:none;
    }
    .filter-open{
      display:inline-flex;
      position:static;
      margin-bottom:16px;
    }
    .product-grid{
      grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .grid-3{
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .grid-4{
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .about .team{
      grid-template-columns:repeat(2,1fr);
    }
    .about .gal{
      grid-template-columns:repeat(2,1fr);
    }
    .testi{
      grid-template-columns:1fr;
    }
    .process{
      grid-template-columns:repeat(2,1fr);
    }
  }
  
  @media (max-width:680px){
    .menu{
      display:none;
    }
    .menu.open{
      display:flex;
      flex-direction:column;
      position:absolute;
      top:68px;
      left:0;
      right:0;
      background:#fff;
      border-bottom:1px solid var(--line);
      box-shadow:0 12px 30px rgba(0,0,0,.12);
      padding:12px 16px 18px;
      gap:10px;
      z-index:60;
    }
    .menu.open a{
      color:var(--primary-dark);
      padding:12px;
      border-radius:12px;
      border:1px solid rgba(148,163,184,.3);
      background:var(--surface);
    }
    .menu.open a.active{
      background:var(--primary);
      color:#fff;
    }
    .burger{
      display:inline-flex;
    }
    .catalog-results{
      padding:24px;
    }
    .results-head{
      flex-direction:column;
    }
    .hero-pill-group{
      flex-direction:column;
    }
    .grid-3,
    .grid-4{
      grid-template-columns:1fr;
    }
    .product-grid{
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .specs{
      grid-template-columns:1fr;
    }
    .hero h1{
      font-size:30px;
    }
    .process{
      grid-template-columns:1fr;
    }
    .stats{
      flex-direction:column;
    }
    .partner-logo{
      height:40px;
    }
  }

  @media (max-width:540px){
    .product-grid{
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:14px;
    }
  }
  
  /* ==============================
     Bouton de connexion (header)
     ============================== */
  .btn-connexion{
    background-color:var(--primary-dark);
    color:white !important;
    padding:8px 16px;
    border-radius:999px;
    margin-left:10px;
    transition:all .25s ease;
    font-size:14px;
  }
  .btn-connexion:hover{
    background-color:#0056b3;
    transform:translateY(-2px);
    box-shadow:0 10px 22px rgba(37,99,235,.45);
  }
  .menu a.btn-connexion:hover{
    background:#0056b3 !important;
    color:white !important;
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
  }
  
  /* ==============================
   HERO MOBILE — VERSION PREMIUM
============================== */
@media (max-width: 768px) {

  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 90px;
    padding-bottom: 40px;
    display: flex;
    align-items: flex-start;
  }

  /* Désactiver l'image droite */
  .hero .img {
    display: none;
  }

  /* Contenu centré */
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto 20px;
    color: #e5e7eb;
  }

  /* Boutons mobile */
  .hero .btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 14px 18px;
  }

  .hero .btn-accent {
    box-shadow: 0 12px 28px rgba(229,192,27,.45);
  }

  /* Regrouper les boutons */
  .hero .wrap > div > div {
    flex-direction: column;
    gap: 14px;
  }

}
@media (max-width: 768px) {
  .hero .tag {
    margin: 0 auto 14px;
    font-size: 13px;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
  }
}
/* ==============================
   HERO BUTTONS — MOBILE ALIGNÉS
============================== */
@media (max-width: 768px) {

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 14px 12px;
    font-size: 14px;
    border-radius: 14px;
    justify-content: center;
    white-space: nowrap;
  }

  /* CTA principal plus visible */
  .hero-actions .btn-primary {
    box-shadow: 0 10px 24px rgba(30,58,138,.35);
  }

  /* CTA secondaire plus soft */
  .hero-actions .btn-accent {
    box-shadow: 0 8px 18px rgba(229,192,27,.35);
  }
}
