/* ——— PALETTE « DE » 2025 ——— */
:root{
  --primary:#40464c;            /* anthracite (fond header, sections sombres) */
  --primary-light:#626a73;      /* gris clair */
  --secondary:#fedd00;          /* safety yellow – CTA, boutons */
  --secondary-light:#ffef66;    /* hover/gradient */
  --accent:#e1000f;             /* rouge Euchner – highlights ponctuels */
  --text:#212529;
  --bg:#ffffff;
}

/* —— RESET & GLOBAL —— */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
}
header{background:var(--primary);color:#fff;position:sticky;top:0;z-index:1000}

.container{width:90%;max-width:1080px;margin:0 auto}

/* —— GRILLES PRODUITS —— */
@media(min-width:900px){
  #productos .grid-3{grid-template-columns:repeat(2,1fr);}
}

.flex{display:flex;align-items:center}

/* ——— HEADER & BURGER ——— */
.site-header{
  background:rgba(64,70,76,.95);      /* anthracite 95 % */
  box-shadow:0 2px 6px rgba(0,0,0,.15);
  position:sticky;top:0;z-index:999;
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;padding:.5rem 0;
}
.logo img{height:48px;width:auto;margin:0 .5rem;}

.burger{
  display:flex;flex-direction:column;gap:5px;padding:.5rem;
  background:none;border:0;cursor:pointer;
}
.burger span{
  width:26px;height:3px;background:#fff;
  transition:transform .3s,opacity .3s;border-radius:3px;
}
.burger.open span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.burger.open span:nth-child(2){opacity:0;}
.burger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

.nav-list{
  list-style:none;margin:0;padding:0;display:flex;gap:1.5rem;
}
.nav-list a{color:#fff;text-decoration:none;font-weight:500;}
.nav-list a:hover{color:var(--secondary);}

@media(min-width:769px){.burger{display:none;}}
@media(max-width:768px){
  .nav-list{
    position:fixed;inset:0 0 0 40%;
    background:#212326;      /* gris très sombre */
    flex-direction:column;
    padding:6rem 2rem;gap:2rem;
    transform:translateX(100%);transition:.35s;
  }
  .nav-list.open{transform:translateX(0);}
}

/* ——— HERO ——— */
.hero{
  position:relative;padding:6rem 0 4rem;text-align:center;color:#fff;overflow:hidden;
}
.hero::before{
  content:"";position:absolute;inset:0;
  background:url('assets/img/hero-industrial.jpg') center/cover no-repeat;z-index:-2;
}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(135deg,
              rgba(64,70,76,.88) 0%,
              rgba(33,35,38,.88) 100%);
  z-index:-1;
}
.hero h1{font-size:clamp(2.5rem,6vw,3.5rem);line-height:1.2;}
.hero .accent{color:var(--accent);}
.hero p{max-width:720px;margin:1rem auto 2rem;font-size:1.125rem;}
.btn-lg{padding:1rem 2rem;font-size:1.125rem;}

.wave{position:absolute;bottom:-1px;left:0;width:100%;height:90px;fill:#fff;z-index:-1;}

/* ——— BUTTON · Palette DE 2025 ——— */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;

  padding:.85rem 1.75rem;
  font-weight:600;
  font-size:1rem;
  line-height:1;
  color:var(--text);

  background:linear-gradient(135deg,
              var(--secondary) 0%,
              var(--secondary-light) 100%);
  border-radius:999px;
  box-shadow:0 4px 12px rgba(0,0,0,.15);

  text-decoration:none;                 /* ✅ enlève le soulignement */
  transition:background .25s ease,
             box-shadow .25s ease,
             transform .25s cubic-bezier(.215,.61,.355,1);
}

.btn:hover{
  background:linear-gradient(135deg,
              var(--secondary-light) 0%,
              var(--secondary) 100%);
  box-shadow:0 6px 18px rgba(0,0,0,.18);
  transform:translateY(-3px);
  text-decoration:none;                 /* garde l’état sans souligné */
}

/* clic */
.btn:active{
  transform:translateY(-1px) scale(.98);
  box-shadow:0 3px 10px rgba(0,0,0,.16);
}

/* focus clavier */
.btn:focus-visible{
  outline:3px solid #000;
  outline-offset:2px;
}

/* flèche animée */
.btn::after{
  content:"→";
  font-size:1.2em;
  transition:transform .25s;
}
.btn:hover::after{transform:translateX(4px);}

/* ——— ABOUT SPOTLIGHT ——— */
.about-spotlight{
  position:relative;padding:5rem 0;
  background:linear-gradient(135deg,#212326 0%,var(--primary) 100%);
  color:#fff;overflow:hidden;
}
.about-grid{display:grid;gap:3rem;align-items:center;}
@media(min-width:900px){.about-grid{grid-template-columns:1fr 1fr;}}
.about-text .lead{font-size:1.125rem;margin:1rem 0 2rem;}
.badge-list{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-bottom:2rem;padding:0;list-style:none;}
.badge-list li{
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);
  border-radius:999px;padding:.25rem .75rem;font-size:.875rem;
}

/* Soulignés dynamiques */
.accent-bg,.accent-bw{
  background:linear-gradient(90deg,var(--secondary) 0%,var(--secondary) 100%);
  background-size:100% 35%;background-repeat:no-repeat;background-position:0 70%;
  padding-bottom:.2em;color:inherit;
}
.accent-bw{color:#fff;}

/* ——— IMAGE BLOB ——— */
.about-img{position:relative;}
.about-img img{width:100%;height:auto;border-radius:1rem;display:block;filter:brightness(.9) contrast(1.05);}
.about-img .blob{position:absolute;top:-10%;left:-10%;width:120%;height:120%;fill:var(--secondary);opacity:.05;z-index:-1;}

/* ——— CTA CONTACT ——— */
.cta-section{
  position:relative;padding:5rem 0 4rem;
  background:linear-gradient(135deg,var(--secondary) 0%,var(--secondary-light) 100%);
  color:var(--text);text-align:center;overflow:hidden;
}
.cta-wave-top,.cta-wave-bottom{position:absolute;width:100%;height:60px;left:0;fill:#fff;z-index:-1;}
.cta-wave-top{top:0;transform:translateY(-100%);}
.cta-wave-bottom{bottom:0;}
.cta-inner .lead{font-size:1.125rem;margin:1rem auto 2.5rem;max-width:640px;}
.cta-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;}
.cta-chip{
  display:inline-block;padding:.65rem 1.25rem;background:rgba(0,0,0,.05);
  border:1px solid rgba(0,0,0,.15);border-radius:999px;font-size:.95rem;
  color:var(--text);text-decoration:none;transition:.25s;
}
.cta-chip:hover{background:rgba(0,0,0,.1);}

/* ——— INFO SECTION ——— */
.info-section{padding:4rem 0;background:#f8fafc;}
.info-grid{display:grid;gap:2.5rem;text-align:center;}
@media(min-width:600px){.info-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:992px){.info-grid{grid-template-columns:repeat(3,1fr);}}
.info-item img{width:60px;height:auto;margin-bottom:1rem;}
.info-item h3{font-size:1.05rem;font-weight:600;margin-bottom:.5rem;color:var(--primary);}
.info-item p{font-size:.9rem;line-height:1.45;}

/* ——— CONTACT BLOCK ——— */
.contacto-block{
  position:relative;padding:5rem 0 4rem;background:#f8fafc;color:var(--text);text-align:center;overflow:hidden;
}
.wave-top,.wave-bottom{position:absolute;left:0;width:100%;height:60px;fill:#fff;z-index:-1;}
.wave-top{top:0;transform:translateY(-100%);} .wave-bottom{bottom:0;}
.contacto-heading{font-size:clamp(1.8rem,5vw,2.4rem);margin-bottom:2.5rem;}
.contact-list{list-style:none;margin:0 auto;max-width:640px;padding:0;display:grid;gap:1.5rem;}
.contact-list li{display:flex;align-items:center;justify-content:center;gap:1rem;font-size:1rem;}
.contact-list a{color:var(--primary);font-weight:600;text-decoration:none;}
.contact-list a:hover{color:var(--secondary);}
.icon{
  background:var(--primary);color:#fff;border-radius:50%;
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;
}
.icon svg{width:22px;height:22px;fill:#fff;}

/* ——— TIMELINE ——— */
.timeline-modern{padding:4.5rem 0;background:#fff;}
.tl-list{list-style:none;margin:0;padding:0;position:relative;}
.tl-list::before{content:"";position:absolute;left:24px;top:0;bottom:0;width:3px;background:var(--primary);}
.tl-list li{position:relative;padding:0 0 2.25rem 70px;}
.tl-year{
  position:absolute;left:0;top:.2rem;width:48px;height:48px;border-radius:50%;
  background:var(--secondary);color:var(--text);font-weight:700;
  display:flex;align-items:center;justify-content:center;font-size:1rem;
}
@media(min-width:768px){
  .tl-list{padding:0;}
  .tl-list::before{left:50%;transform:translateX(-50%);}
  .tl-list li{width:50%;padding:0 2.5rem 2.5rem 2.5rem;}
  .tl-list li:nth-child(odd){text-align:right;}
  .tl-list li:nth-child(even){margin-left:50%;}
  .tl-list li:nth-child(odd) .tl-year{left:auto;right:-24px;}
  .tl-list li:nth-child(even) .tl-year{left:-24px;}
}

/* ——— DIVERS ——— */
section{padding:4rem 0;}
h2{
  font-size:clamp(1.5rem,4vw,2.25rem);
  margin-bottom:2rem;text-align:center;color:var(--primary);
}
.grid{display:grid;gap:2rem;}

@media(min-width:600px){.grid-2{grid-template-columns:repeat(2,1fr);}}
@media(min-width:900px){.grid-3{grid-template-columns:repeat(3,1fr);}}

.card{
  border:1px solid #e9ecef;border-radius:8px;overflow:hidden;
  box-shadow:0 4px 8px rgba(0,0,0,.05);transition:transform .3s;
}
.card:hover{transform:translateY(-4px);}
.card img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;}
.card-body{padding:1rem;}
.card-body h3{font-size:1.25rem;color:var(--primary);margin-bottom:.5rem;}
.card-body p{font-size:.95rem;}

form{display:grid;gap:1rem;max-width:600px;margin:0 auto;}
input,textarea{padding:.75rem;border:1px solid #ced4da;border-radius:4px;width:100%;}
textarea{min-height:140px;}

footer{background:#212326;color:#fff;padding:2rem 0;}
footer .links{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:1rem;}
footer a{color:#fff;text-decoration:none;font-size:.875rem;}

.tile{display:flex;flex-direction:column;}
.tile .card{flex:1;}
.tile-btn{margin-top:.75rem;}

/* ——— STATS GRID · anneaux animés (fix 26-06-2025) ——— */
.stats-grid{
  margin:2rem 0 1rem;
  display:grid;
  gap:2rem;
  justify-content:center;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  list-style:none;
  padding:0;
}
.stat{
  position:relative;
  text-align:center;
  padding-top:4rem;            /* place l’anneau au-dessus du chiffre */
}
.stat-ring{
  position:absolute;
  top:0;left:50%;
  transform:translateX(-50%);
  width:64px;height:64px;
}
.stat-ring svg{
  width:100%;height:100%;
  transform:rotate(-90deg);    /* départ à midi comme un cadran */
}
.stat-ring .bg{
  fill:none;
  stroke:#e9ecef;              /* cercle gris clair de fond */
  stroke-width:4;
}
.stat-ring .fg{
  fill:none;
  stroke:var(--secondary);     /* jaune sécurité */
  stroke-width:4;
  stroke-linecap:round;
  animation:dash 2s ease-out forwards;
}
/* animation du trait : déroule la jauge de 0 % à la valeur */
@keyframes dash{
  from{stroke-dasharray:0 100;}
  to  {stroke-dasharray:var(--value,100) 0;}
}
.stat-value{
  display:block;
  font-size:1.5rem;
  font-weight:700;
  color:var(--primary);
  margin:.25rem 0;
}
.stat small{font-size:.9rem;opacity:.8;}
/* meilleure lisibilité en thème sombre */
@media (prefers-color-scheme: dark){
  .stat-ring .bg{stroke:#334155;}
  .stat small{opacity:.7;}
}

/* ——— NOTES APP FIELD ——— */
.app-field-section{
  padding:4rem 0;background:#f8fafc;border-top:4px solid var(--primary);
}
.app-note{
  background:rgba(254,221,0,.15);
  border-left:4px solid var(--secondary);
  padding:.75rem 1rem;border-radius:.25rem;font-size:.9rem;
}

/* ——— PRODUCT TILE (catalogue) ——— */
.product-tile{
  display:flex;
  flex-direction:column;
  align-items:center;
  background:#fff;
  border:1px solid #e9ecef;
  border-radius:1rem;
  box-shadow:0 4px 16px rgba(0,0,0,.06);
  transition:transform .25s ease,box-shadow .25s ease;
  overflow:hidden;             /* conserve l’arrondi */
}
.product-tile:hover{
  transform:translateY(-6px);
  box-shadow:0 8px 22px rgba(0,0,0,.08);
}
/* vignette cliquable */
.product-thumb{
  width:100%;
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:1/1;            /* carré responsive */
}
.product-thumb img{
  max-width:80%;
  max-height:80%;
  object-fit:contain;
}
/* texte */
.product-info{
  text-align:center;
  padding:1rem .75rem;
}
.product-info h3{
  font-size:1.15rem;
  color:var(--primary);
  margin-bottom:.25rem;
}
.product-info p{font-size:.9rem;}
/* CTA catalogue */
.btn-sm{
  padding:.5rem 1.25rem;
  font-size:.9rem;
  margin-bottom:1.25rem;
}
.product-cta{margin-top:auto;}

/* ——— PRODUCT SPOTLIGHT (fiche) ——— */
.product-spotlight{padding:4rem 0;}
.ps-grid{
  display:flex;
  flex-direction:column;
  gap:2rem;
}
/* Desktop ≥ 768 px : deux colonnes */
@media(min-width:768px){
  .ps-grid{
    flex-direction:row;
    align-items:flex-start;
    gap:3rem;
  }
  .ps-img{max-width:45%;}
}
/* image */
.ps-img{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  background:#f8fafc;
  border-radius:1rem;
  padding:1.5rem;
}
.ps-img img{max-width:100%;height:auto;object-fit:contain;}
/* contenu texte */
.ps-content{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.ps-tagline{font-size:1.05rem;}
.ps-features{
  list-style:disc;
  padding-left:1.1rem;
  margin:0 0 1rem;
}
.ps-features li{margin-bottom:.35rem;}
/* tableau specs */
.ps-specs summary{
  cursor:pointer;
  font-weight:600;
  color:var(--primary);
  margin:.5rem 0 1rem;
}
.ps-specs table{
  width:100%;
  border-collapse:collapse;
  font-size:.9rem;
}
.ps-specs th{
  padding:.4rem 0;
  text-align:left;
  font-weight:600;
}
.ps-specs td{padding:.4rem 0;}
.ps-specs tr+tr th,
.ps-specs tr+tr td{border-top:1px solid #e9ecef;}
/* bouton fiche produit */
.ps-cta{margin-top:1rem;align-self:flex-start;}

/* —— Désactive les liens tél. auto-générés —— */
a[href^="tel"],
a[x-apple-data-detectors]{
  pointer-events:none;      /* plus cliquable                */
  text-decoration:none;     /* enlève le soulignement        */
  color:inherit;            /* garde la couleur du texte     */
  cursor:default;
}