:root{
  --bg: #ffffff;
  --bg-soft: #f5faff;
  --text: #0f1e33;
  --muted: rgba(15, 30, 51, 0.7);
  --card: #ffffff;
  --stroke: rgba(15, 30, 51, 0.12);

  --primary: #0f1e33;
  --primary-2: #1a3c60;
  --accent: #2b8aa3;

  --radius: 16px;
  --radius-lg: 22px;

  --shadow: 0 10px 30px rgba(15, 30, 51, 0.10);
  --shadow-soft: 0 6px 18px rgba(15, 30, 51, 0.08);

  --container: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img{ max-width: 100%; display: block; }

:root{
  --container-max: 1400px;   /* 1200 => trop étroit ; 1400/1440 = effet “grand” */
  --container-pad: 28px;
}

.container{
  width: min(var(--container-max), calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.site-header,
.site-footer,
.section,
.page-hero{
  width: 100%;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 250, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 30, 51, 0.06);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 250, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 30, 51, 0.06);
  width: 100%;
}

/* FULL WIDTH contenu du header */
.site-header .header-inner{
  max-width: none;  /* clé : supprime la contrainte centrale */
  width: 100%;
  padding: 14px clamp(24px, 6vw, 120px); /* padding horizontal fluide */

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header .brand img{
  height: 58px;
  width: auto;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  min-width: 240px;
}

.brand-logo{
  height: 72px;
  width: auto;
  transition: transform 0.25s ease;
}
.brand:hover .brand-logo{ transform: scale(1.03); }

.brand-tagline{
  font-size: 20px;
  color: var(--primary-2);
  font-weight: 600;
  line-height: 1.2;
  max-width: 360px;
}

/* Nav */
.nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link,
.dropdown-btn{
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 10px;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.dropdown-btn:hover{
  background: rgba(15, 30, 51, 0.06);
  color: var(--primary-2);
}

.nav-link.is-active{
  color: var(--primary-2);
}
.nav-link.is-active::after{
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
}

/* Dropdown */
.dropdown{ position: relative; }
.dropdown-panel{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 8px;
  display: none;
}

/* Pont invisible : supprime l'interstice "mort" */
.dropdown::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;            /* EXACTEMENT la valeur du gap */
  background: transparent;
}

.dropdown-panel a{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}
.dropdown-panel a:hover{
  background: rgba(15, 30, 51, 0.06);
  color: var(--primary-2);
}
.dropdown:hover .dropdown-panel{ display: block; }

/* Language */
.lang{ position: relative; }
.lang-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}
.chevron{
  width: 8px; height: 8px;
  border-right: 2px solid rgba(15, 30, 51, 0.65);
  border-bottom: 2px solid rgba(15, 30, 51, 0.65);
  transform: rotate(45deg);
  margin-top: -2px;
}
.lang-panel{
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 8px;
  display: none;
  min-width: 160px;
}
.lang-panel button{
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}
.lang-panel button:hover{
  background: rgba(15, 30, 51, 0.06);
  color: var(--primary-2);
}
.lang.is-open .lang-panel{ display: block; }

/* Burger */
.burger{
  display: none;
  border: 1px solid var(--stroke);
  background: var(--card);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}
.burger span{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 99px;
}

/* Hero */
.hero{
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 72px 0 50px;
  overflow: hidden;
}
.hero-bg{
  position: absolute;
  inset: 0;
  background-image: url("../accueil_new.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,30,51,0.80) 0%, rgba(15,30,51,0.55) 55%, rgba(15,30,51,0.20) 100%);
}

.hero-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy{
  color: #ffffff;
  padding: 12px 0;
}

.hero-kicker{
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.85);
}

.hero-title{
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-subtitle{
  margin: 0 0 22px;
  color: rgba(255,255,255,0.86);
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
}

.hero-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  user-select: none;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 10px 22px rgba(0,0,0,0.20);
}
.btn-primary:hover{
  background: rgba(255,255,255,0.92);
}

.btn-secondary{
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  border-color: rgba(255,255,255,0.28);
}
.btn-secondary:hover{
  background: rgba(255,255,255,0.22);
}

.btn-ghost{
  background: transparent;
  color: var(--primary);
  border-color: var(--stroke);
}
.btn-ghost:hover{
  background: rgba(15, 30, 51, 0.06);
}

.hero-badges{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge{
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.88);
}

/* Hero card */
.hero-card{
  position: relative;
  align-self: center;
}
.hero-card-inner{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  padding: 18px 18px 16px;
}
.card-title{
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}
.checklist{
  margin: 0 0 14px;
  padding-left: 18px;
}
.checklist li{
  margin: 10px 0;
  color: rgba(15, 30, 51, 0.88);
  line-height: 1.45;
  font-weight: 600;
}

/* Sections */
.section{
  padding: 72px 0;
}
.section-soft{
  background: var(--bg-soft);
}
.section-head{
  max-width: 820px;
  margin-bottom: 26px;
}
.section-title{
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.section-subtitle{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Grids */
.grid-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Cards */
.feature-card,
.service-card,
.step-card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.feature-card h3,
.service-card h3,
.step-card h3{
  margin: 10px 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.feature-card p,
.service-card p,
.step-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14.5px;
}

.service-card{
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.service-card .link{
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  color: var(--primary-2);
}


/* Steps */
.step-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--primary-2);
  background: rgba(43,138,163,0.14);
  border: 1px solid rgba(43,138,163,0.22);
  margin-bottom: 10px;
}

/* Metrics */
.metrics{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.metric{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.metric-value{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.metric-label{
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

/* CTA strip */
.cta-strip{
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cta-strip h3{
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.cta-strip p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* Footer */
.site-footer{
  background: rgba(245, 250, 255, 0.9);
  border-top: 1px solid rgba(15, 30, 51, 0.08);
  padding: 34px 0 18px;
}
.footer-inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 16px;
  align-items: start;
}
.footer-logo{ height: 120px; width: auto; }
.footer-tagline{
  margin: 20px 0 0;
  font-weight: 700;
  color: var(--primary-2);
  line-height: 1.5;
}
.footer-links h4,
.footer-social h4{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
}
.footer-links a{
  display: block;
  text-decoration: none;
  color: rgba(15, 30, 51, 0.84);
  font-weight: 700;
  margin: 8px 0;
}
.footer-links a:hover{ color: var(--primary-2); }
.footer-note{
  display: block;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
  margin-top: 10px;
}
.social-row{
  display: flex;
  gap: 12px;
}
.social-row img{
  width: 22px; height: 22px;
  transition: transform 0.15s ease;
}
.social-row img:hover{ transform: scale(1.08); }

.footer-bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 30, 51, 0.08);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(15, 30, 51, 0.75);
  font-weight: 700;
  font-size: 13px;
}
.sep{ opacity: 0.6; }

/* Reveal */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero{ min-height: auto; padding: 62px 0 42px; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .metrics{ grid-template-columns: repeat(2, 1fr); }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .brand-tagline{ display: none; }
}

@media (max-width: 720px){
  .burger{ display: inline-block; }
  .nav{
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(245, 250, 255, 0.98);
    border-bottom: 1px solid rgba(15, 30, 51, 0.08);
    box-shadow: var(--shadow-soft);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    z-index: 60;
  }
  .nav.is-open{ transform: translateY(0); }
  .nav ul{
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
  }
  .dropdown-panel{
    position: static;
    display: none;
    margin-top: 6px;
  }
  .dropdown.is-open .dropdown-panel{ display: block; }

  .grid-4{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .cta-strip{ flex-direction: column; align-items: stretch; }
}

/* Page hero (About) */
.page-hero{
  position: relative;
  padding: 86px 0 58px;
  overflow: hidden;
  color: #ffffff;
}
.page-hero-about{
  background-image: url("../portalger.jpg");
  background-size: cover;
  background-position: center;
}
.page-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,30,51,0.82) 0%, rgba(15,30,51,0.55) 55%, rgba(15,30,51,0.26) 100%);
}
.page-hero-inner{
  position: relative;
  max-width: 860px;
}
.page-hero-title{
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.page-hero-subtitle{
  margin: 0 0 18px;
  color: rgba(255,255,255,0.86);
  line-height: 1.7;
}

/* About layout */
.two-col{
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 16px;
  align-items: start;
}
.about-paragraphs p{
  margin: 14px 0 0;
  color: rgba(15, 30, 51, 0.80);
  line-height: 1.75;
  font-weight: 500;
}
.info-panel{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.info-panel h3{
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
}
.facts{
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.fact{
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,30,51,0.10);
  background: rgba(245,250,255,0.7);
}
.fact-k{
  font-size: 12px;
  font-weight: 800;
  color: rgba(15,30,51,0.62);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fact-v{
  margin-top: 6px;
  font-weight: 800;
  color: rgba(15,30,51,0.9);
}

/* Timeline */
.timeline{
  display: grid;
  gap: 12px;
}
.timeline-item{
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.timeline-badge{
  width: 48px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--primary-2);
  background: rgba(43,138,163,0.14);
  border: 1px solid rgba(43,138,163,0.22);
}
.timeline-content h3{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}
.timeline-content p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 980px){
  .two-col{ grid-template-columns: 1fr; }
}

/* Services hero background */
.page-hero-services{
  background-image: url("../expertise.jpg");
  background-size: cover;
  background-position: center;
}

/* Category strip */
.category-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.8);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.chip:hover{
  transform: translateY(-1px);
  border-color: rgba(43,138,163,0.35);
}

/* Service cards */
.service-card{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  align-items: center;
}
.service-card-reverse{
  grid-template-columns: 1fr 1.05fr;
}
.service-media{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,30,51,0.10);
  box-shadow: var(--shadow-soft);
}
.service-media img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.service-kicker{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15,30,51,0.60);
}
.service-title{
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 1000;
  letter-spacing: -0.02em;
}
.service-text{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 600;
}
.service-bullets{
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}
.bullet{
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,30,51,0.10);
  background: rgba(245,250,255,0.7);
}
.bullet .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 4px;
  background: rgba(43,138,163,0.35);
  border: 1px solid rgba(43,138,163,0.45);
}
.service-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 980px){
  .service-card,
  .service-card-reverse{
    grid-template-columns: 1fr;
  }
  .service-media img{
    height: 240px;
  }
}

/* Partners hero background (use an existing image if available) */
.page-hero-partners{
  background-image: url("../portalger.jpg");
  background-size: cover;
  background-position: center;
}

/* Value strip */
.value-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}
.value-item h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
}
.value-item p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
}

@media (max-width: 980px){
  .value-strip{ grid-template-columns: 1fr; }
}

/* Filters */
.filter-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}
.chip-active{
  border-color: rgba(43,138,163,0.45);
  background: rgba(245,250,255,0.95);
}

/* Partners grid */
.partners-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .partners-grid{ grid-template-columns: 1fr; }
}

.partner-card{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  align-items: center;
}
@media (max-width: 720px){
  .partner-card{ grid-template-columns: 1fr; }
}

.partner-logo-wrap{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15,30,51,0.10);
  background: rgba(245,250,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  min-height: 140px;
}
.partner-logo{
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
  object-fit: contain;
}

.partner-name{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 1000;
}
.partner-summary{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
}

.tag-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.tag{
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,30,51,0.10);
  background: rgba(245,250,255,0.7);
  font-weight: 800;
  font-size: 12px;
  color: rgba(15,30,51,0.85);
}

.partner-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Placeholder partner (no image file required) */
.partner-card-placeholder .partner-logo-wrap{
  background: linear-gradient(135deg, rgba(15,30,51,0.06), rgba(43,138,163,0.12));
}
.placeholder-logo{
  position: relative;
}
.placeholder-mark{
  width: 100%;
  max-width: 160px;
  height: 90px;
  border-radius: 14px;
  border: 1px dashed rgba(15,30,51,0.25);
  background: rgba(255,255,255,0.6);
}

/* Modal */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 200;
}
.modal-overlay.is-open{
  display: flex;
}
.modal{
  width: 100%;
  max-width: 880px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  padding: 18px;
  position: relative;
}
.modal-close{
  position: absolute;
  top: 10px;
  right: 12px;
  border: 1px solid rgba(15,30,51,0.10);
  background: rgba(245,250,255,0.85);
  border-radius: 12px;
  width: 42px;
  height: 38px;
  font-size: 22px;
  cursor: pointer;
}
.modal-head{
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15,30,51,0.10);
}
.modal-logo{
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(15,30,51,0.10);
  background: rgba(245,250,255,0.7);
  padding: 10px;
}
.modal-head h2{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 1000;
}
.modal-sub{
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}
.modal-body{
  padding-top: 12px;
}
.modal-body p{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 650;
}
.modal-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 880px){
  .modal-grid{ grid-template-columns: 1fr; }
}
.modal-box{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,30,51,0.10);
  background: rgba(245,250,255,0.65);
}
.modal-box h4{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 1000;
}
.modal-box ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(15,30,51,0.85);
  line-height: 1.65;
  font-weight: 650;
}
.modal-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,30,51,0.10);
}

/* Contact hero */
.page-hero-contact{
  background-image: url("../img1.jpg");
  background-size: cover;
  background-position: center;
}

/* Contact grid */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-card{
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.contact-card h3{
  margin: 10px 0 8px;
  font-size: 16px;
  font-weight: 1000;
}
.contact-card p{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}
.contact-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15,30,51,0.10);
  background: rgba(245,250,255,0.8);
  font-size: 18px;
}

/* Contact layout */
.contact-layout{
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 14px;
  align-items: start;
}
@media (max-width: 980px){
  .contact-layout{ grid-template-columns: 1fr; }
}

.form-card{
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

.field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field label{
  font-weight: 850;
  color: rgba(15,30,51,0.90);
  font-size: 13px;
}

.field input,
.field textarea,
.field select{
  border: 1px solid rgba(15,30,51,0.14);
  border-radius: 14px;
  padding: 12px 12px;
  background: rgba(245,250,255,0.55);
  color: rgba(15,30,51,0.90);
  outline: none;
  font-weight: 650;
  font-family: Inter, Arial, sans-serif;
}

.field textarea{
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color: rgba(43,138,163,0.55);
  box-shadow: 0 0 0 6px rgba(43,138,163,0.10);
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px){
  .form-row{ grid-template-columns: 1fr; }
}

.form-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.form-note{
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.6;
  font-size: 12px;
}

/* Side card */
.side-card{
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}
.side-card h3{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 1000;
}
.side-divider{
  height: 1px;
  background: rgba(15,30,51,0.10);
  margin: 14px 0;
}
.muted{
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
  margin: 0 0 12px;
}

.checklist{
  margin: 0;
  padding-left: 18px;
  color: rgba(15,30,51,0.86);
  line-height: 1.75;
  font-weight: 650;
}
.checklist li{ margin: 6px 0; }

/* Map */
.map-wrap{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15,30,51,0.10);
  box-shadow: var(--shadow-soft);
  background: rgba(245,250,255,0.55);
}

/* FAQ */
.faq-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 980px){
  .faq-grid{ grid-template-columns: 1fr; }
}

.faq{
  padding: 14px 14px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}
.faq summary{
  cursor: pointer;
  font-weight: 950;
  color: rgba(15,30,51,0.92);
  list-style: none;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}

/* Services hero */
.page-hero-services{
  background-image: url("../expertise.jpg");
  background-size: cover;
  background-position: center;
}

/* Services catalog tiles */
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px){
  .services-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .services-grid{ grid-template-columns: 1fr; }
}

.service-tile{
  display: block;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.tile-badge{
  display: inline-block;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,30,51,0.10);
  background: rgba(245,250,255,0.75);
  font-weight: 950;
  font-size: 12px;
  margin-bottom: 10px;
}

.service-tile p{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}

.tile-cta{
  font-weight: 950;
  color: rgba(15,30,51,0.92);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* Service sections */
.service-section{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: center;
}
.service-section-reverse{
  grid-template-columns: 0.85fr 1.15fr;
}
.service-section-reverse .service-text{ order: 2; }
.service-section-reverse .service-media{ order: 1; }

@media (max-width: 980px){
  .service-section,
  .service-section-reverse{
    grid-template-columns: 1fr;
  }
  .service-section-reverse .service-text,
  .service-section-reverse .service-media{
    order: initial;
  }
}

.service-kicker{
  margin: 0 0 8px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(15,30,51,0.70);
}

.service-title{
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 1100;
}

.service-desc{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 650;
}

.service-points{
  margin: 0 0 16px;
  padding-left: 18px;
  line-height: 1.75;
  font-weight: 650;
  color: rgba(15,30,51,0.88);
}
.service-points li{ margin: 6px 0; }

.service-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-media{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15,30,51,0.10);
  box-shadow: var(--shadow-soft);
  background: rgba(245,250,255,0.55);
  padding: 12px;
}

.service-image{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

.service-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip{
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(245,250,255,0.85);
  border: 1px solid rgba(15,30,51,0.10);
  font-weight: 900;
  font-size: 12px;
  color: rgba(15,30,51,0.86);
}

/* CTA band */
.cta-band{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}
.cta-band h2{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 1100;
}
.cta-band p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}
.cta-band-actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 980px){
  .cta-band{ grid-template-columns: 1fr; }
  .cta-band-actions{ justify-content: flex-start; }
}

.site-header,
.site-footer,
.page-hero,
.section {
  width: 100%;
}

/* Hero Services : image dédiée (différente de Sealing) */
.page-hero-services{
  background-image: url("../services-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Contact hero — image dédiée */
.page-hero.page-hero-contact{
  background-image: url("../contact-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Partners hero — image dédiée */
.page-hero.page-hero-partners{
  background-image: url("../partners-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* About hero — image dédiée */
.page-hero.page-hero-about{
  background-image: url("../about-us-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* FORCE taille logo header */
.site-header .brand-logo{
  height: 120px !important;
  width: auto;
  max-height: none;
}

/* S'assure que le conteneur ne limite pas */
.site-header .brand{
  display: flex;
  align-items: center;
}

/* Logo footer */
.site-footer .brand-logo{
  height: 120px !important;
  width: auto;
  max-height: none;
}

/* S'assure que le conteneur ne limite pas */
.site-footer .brand{
  display: flex;
  align-items: center;
}

/* ================================
   ABOUT – CEO à droite
   ================================ */

.ceo-aside{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.ceo-photo-right{
  width: 100%;
  max-width: 360px;     /* ajuste : 320 / 360 / 400 */
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.ceo-meta-right{
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.ceo-meta-right .ceo-name{
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.ceo-meta-right .ceo-company{
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted, #6b7280);
}

.two-col{
  margin-left: 100px;   /* ajuste : 24 / 32 / 40 */
}

.two-col > div.reveal{
  margin-top: 100px;   /* ajuste : 24 / 32 / 36 */
}

.category-box p,
.service-box p {
  margin-bottom: 0;
}

.contact-card button,
.contact-card .btn,
.contact-card a {
  box-shadow: none !important;
}

.contact-card button,
.contact-card a {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-weight: 500;
}

.contact-card button:hover,
.contact-card a:hover {
  background-color: #f0f0f0;
}

form .btn:hover {
  background-color: #e6e6e6;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: none;        /* supprime le carré gris */
  border-radius: 0;
  padding: 0;
  overflow: hidden;        /* empêche tout débordement */
}

.feature-card .icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;     /* l’image reste dans le cadre */
}

.icon {
  background-color: #e9eef3;
  border-radius: 12px; /* ou 50% */
}

/* 1) Cartes : contenu aligné en haut + padding mieux calibré */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  padding: 18px 18px 16px;   /* réduit le "blanc" en haut/bas */
  gap: 10px;                 /* espace régulier entre icône/titre/texte */
  min-height: 0;             /* évite des hauteurs forcées */
}

/* 2) Icônes : remonter + taille stable */
.feature-card .icon {
  width: 34px;               /* ajuste selon ton rendu */
  height: 34px;
  margin: 0;                 /* enlève margin-bottom qui crée du vide */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 3) Marges par défaut des titres/paragraphes = souvent la cause du "blanc" */
.feature-card h3 {
  margin: 0;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  line-height: 1.5;
}

.feature-card,
.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.feature-card:hover .icon img {
  transform: scale(1.08);
  transition: transform 0.25s ease;
}

.section-soft {
  background:
    linear-gradient(180deg, #f9fbff, #ffffff),
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.01),
      rgba(0,0,0,0.01) 1px,
      transparent 1px,
      transparent 6px
    );
}

.brand {
  perspective: 900px;
}

.brand-logo {
  transform-origin: center;
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  backface-visibility: hidden;
  will-change: transform;
}

.brand:hover .brand-logo {
  transform: rotateX(360deg);
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo,
  .brand:hover .brand-logo {
    transition: none;
    transform: none;
  }
}

.badge {
  position: relative;
}

.badge::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -6px;
  width: 6px;
  height: 6px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 1; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { opacity: 0; }
}

/* Curseur custom (desktop) */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transform: translate(-50%, -50%);
}

/* petit point */
.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1a3c60;
}

/* anneau qui “flotte” légèrement */
.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid rgba(26, 60, 96, 0.35);
  backdrop-filter: blur(2px);
}

/* Sur les appareils tactiles, on masque */
@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* Accessibilité : si réduction d’animations */
@media (prefers-reduced-motion: reduce) {
  .cursor-ring {
    display: none;
  }
}

.click-pulse {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(26, 60, 96, 0.35);
  transform: translate(-50%, -50%) scale(1);
  animation: clickPulse 0.45s ease-out forwards;
  z-index: 99998;
}

@keyframes clickPulse {
  to {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .click-pulse {
    display: none;
  }
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 12px;
  margin: 22px 0 18px;
}

.catalog-search,
.catalog-select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
}

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

.product-card {
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-thumb {
  width: 100%;
  height: 140px;
  border-radius: 14px;
  background: #f2f6fb;
}

.product-title { margin: 0; }
.product-meta { margin: 0; opacity: 0.75; font-size: 0.9rem; }
.product-desc { margin: 0; opacity: 0.9; }

.product-actions {
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 980px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .catalog-toolbar { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
}

.catalog-download {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.catalog-download h3 {
  margin-bottom: 8px;
}

.catalog-download p {
  margin-bottom: 18px;
  opacity: 0.85;
}

/* ===== Brand marquees ===== */
.brand-marquees {
  display: grid;
  gap: 18px;
}

.brand-marquee {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px 14px 12px;
  overflow: hidden;
}

.brand-marquee-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.brand-marquee-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.95;
}

.brand-marquee-note {
  font-size: 12px;
  opacity: 0.75;
}

.brand-marquee-viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.brand-marquee-track {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  width: max-content;
  animation: vgt-marquee 32s linear infinite;
}

.brand-marquee-viewport[data-speed="34"] .brand-marquee-track { animation-duration: 32s; }
.brand-marquee-viewport[data-speed="30"] .brand-marquee-track { animation-duration: 36s; }
.brand-marquee-viewport[data-speed="26"] .brand-marquee-track { animation-duration: 44s; }

.brand-marquee-track li {
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.brand-marquee:hover .brand-marquee-track {
  animation-play-state: paused;
}

@keyframes vgt-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== OEM vs IAM strip ===== */
.oem-iam-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.oem-iam-item {
  display: grid;
  gap: 6px;
}

.oem-iam-title {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.95;
}

.oem-iam-text {
  font-size: 13px;
  opacity: 0.85;
}

.oem-iam-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.10);
}

/* ===== OEM logos ===== */
.oem-logos {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.12);
}

.mini-title {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 700;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.logo-grid img {
  width: 100%;
  height: 42px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.logo-grid img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-1px);
}

.note {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.7;
}

/* ===== Compliance panel ===== */
.compliance-panel {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.mini-list {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.mini-list li {
  opacity: 0.9;
}

/* ===== Range grid (5 cards) ===== */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.range-card {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.12);
  padding: 16px;
}

.range-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  margin-bottom: 10px;
}

.range-card h3 {
  margin: 0 0 6px 0;
}

.range-card p {
  margin: 0;
  opacity: 0.82;
}

@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oem-iam-strip { grid-template-columns: 1fr; }
  .oem-iam-sep { display: none; }
}

/* ===== Brand carousels (click arrows) ===== */
.brand-blocks{
  display: grid;
  gap: 18px;
}

.brand-carousel,
.brand-panel{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
}

.brand-carousel-head,
.brand-panel-head{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.brand-carousel-title,
.brand-panel-title{
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.95;
}

.brand-carousel-note,
.brand-panel-note{
  font-size: 12px;
  opacity: 0.75;
  margin-left: 10px;
}

.brand-carousel-controls{
  display:flex;
  gap: 8px;
}

.carousel-btn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.carousel-btn:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.16);
}

.brand-carousel-viewport{
  overflow: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.brand-carousel-viewport::-webkit-scrollbar{ display:none; }

.brand-carousel-track{
  display:flex;
  gap: 14px;
  align-items:center;
  width: max-content;
  padding-right: 10px;
}

.brand-carousel-track img{
  height: 44px;
  width: 120px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.brand-carousel-track img:hover{
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-1px);
}

/* IAM chips (no auto scroll) */
.brand-chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-chips span{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 700px){
  .brand-carousel-track img{
    width: 98px;
    height: 40px;
  }
}

/* ===========================
   Brand logos marquee (auto)
   =========================== */

.brand-row{
  margin-top: 26px;
}

.brand-row-head{
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}

.brand-row-title{
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 12px;
}

.brand-row-sub{
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
}

/* Container du défilement */
.logo-marquee{
  --duration: 14s;            /* plus petit = plus rapide */
  --gap: 54px;                /* espace entre logos */
  --logo-h: 60px;             /* TAILLE LOGOS (augmente si tu veux encore plus grand) */

  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 14px 0;
  background: transparent;
  display: flex;
  align-items: center;

  /* petit fondu sur les bords */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.logo-track{
  display: inline-flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
  flex: 0 0 auto;

  animation: logoScroll var(--duration) linear infinite;
  will-change: transform;
}

.logo-track img{
  width: 160px;          /* largeur identique */
  height: 80px;          /* hauteur identique */
  object-fit: contain;   /* garde les proportions */
  object-position: center;
}

/* Défilement droite -> gauche */
@keyframes logoScroll{
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--scroll-width))); }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce){
  .logo-track{
    animation: none;
  }
  .logo-marquee{
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Map overlay */
.about-map{
  position: relative;
}

/* Pins */
.map-pin{
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  background: var(--accent, #0ea5e9);
  box-shadow: 0 0 0 0 rgba(14,165,233,0.25);
}

/* Ping animation */
.map-pin.is-on{
  opacity: 1;
  animation: ping 1.1s ease-out infinite;
}

@keyframes ping{
  0%   { box-shadow: 0 0 0 0 rgba(14,165,233,0.35); }
  70%  { box-shadow: 0 0 0 18px rgba(14,165,233,0); }
  100% { box-shadow: 0 0 0 18px rgba(14,165,233,0); }
}

/* (Optionnel) Survol plus “actif” côté liste */
.about-bullets li{
  cursor: default;
}
.about-bullets li.is-active{
  border-color: rgba(14,165,233,0.35);
}

/* Layout simple */
.about-markets-grid{
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 22px;
  align-items: center;
}

.about-bullets{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.about-bullets li{
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(10,20,35,0.08);
  user-select: none;
}

/* Carte */
.about-map{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.about-map img{
  width: 100%;
  display: block;
}

/* ====== PINGS ROUGES ====== */

.map-pin{
  position: absolute;
  left: var(--x);
  top: var(--y);

  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);

  opacity: 0;
  pointer-events: none;

  background: #e10600; /* rouge vif */
}

.map-pin.is-on{
  opacity: 1;
  animation: pingRed 1.2s ease-out infinite;
}

@keyframes pingRed{
  0%{
    box-shadow: 0 0 0 0 rgba(225,6,0,0.6);
  }
  70%{
    box-shadow: 0 0 0 24px rgba(225,6,0,0);
  }
  100%{
    box-shadow: 0 0 0 24px rgba(225,6,0,0);
  }
}

@media (max-width: 900px){
  .about-markets-grid{ grid-template-columns: 1fr; }
}

/* ====== CARTES SERVICES : IMAGES PLUS GRANDES ====== */

/* 2 colonnes : image plus large */
.svc-card{
  grid-template-columns: 400px 1fr; /* avant: 160px 1fr */
  min-height: 280px;               /* avant: 180px */
}

/* la colonne image prend toute la hauteur */
.svc-card-media{
  min-height: 240px;
}

/* image bien cadrée */
.svc-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive : sur mobile, image en haut plus grande */
@media (max-width: 980px){
  .svc-card{
    grid-template-columns: 1fr;
  }
  .svc-card-media{
    height: 240px; /* avant: 160px */
  }
}

/* ===== SERVICES: nouvelle organisation en grands blocs ===== */

.svc-stack{
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.svc-block{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(10,20,35,0.10);
  background: rgba(255,255,255,0.75);
}

.svc-block-media{
  height: 360px; /* image très grande */
  background: rgba(10,20,35,0.06);
}

.svc-block-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.svc-block-body{
  padding: 18px 18px 16px;
}

.svc-block-title{
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.svc-block-text{
  margin: 0 0 12px;
  color: rgba(10,20,35,0.78);
}

/* desktop large : images encore plus hautes */
@media (min-width: 1100px){
  .svc-block-media{ height: 420px; }
}

/* mobile : garder une grande image (sinon on ne voit rien) */
@media (max-width: 980px){
  .svc-block-media{ height: 300px; }
}

html, body {
  overflow-x: hidden;
}

/* ====== PINS TYPE GOOGLE MAPS ====== */

.map-pin{
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -100%);
  width: 26px;
  height: 26px;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

/* corps du pin */
.map-pin::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ff2a1f 0%, #d90400 100%);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow:
    0 4px 10px rgba(0,0,0,0.18),
    inset 0 -2px 4px rgba(0,0,0,0.12),
    inset 0 2px 4px rgba(255,255,255,0.18);
}

/* petit rond blanc au centre */
.map-pin::after{
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.map-pin.is-on{
  opacity: 1;
  animation: mapPinFloat 2.2s ease-in-out infinite;
}

/* petit mouvement léger, plus élégant qu'un gros pulse */
@keyframes mapPinFloat{
  0%{
    transform: translate(-50%, -100%) scale(1);
  }
  50%{
    transform: translate(-50%, -104%) scale(1.04);
  }
  100%{
    transform: translate(-50%, -100%) scale(1);
  }
}

@media (max-width: 900px){
  .about-markets-grid{ 
    grid-template-columns: 1fr; 
  }

  .map-pin{
    width: 22px;
    height: 22px;
  }

  .map-pin::after{
    width: 7px;
    height: 7px;
  }
}

/* HERO spécifique page ABOUT */

.page-hero-about{
  position: relative;
  background-image: url("/assets/piecesdetachees.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.field label{
  line-height: 1.5;
}

/* Arabic typography */

html[lang="ar"] {
  direction: rtl;
}

html[lang="ar"] body {
  font-family: "Cairo", "Inter", sans-serif;
  font-size: 1.08em;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .section-title,
html[lang="ar"] .page-hero-title,
html[lang="ar"] .svc-hero-title {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

html[lang="ar"] p,
html[lang="ar"] li,
html[lang="ar"] a,
html[lang="ar"] label,
html[lang="ar"] span {
  font-size: 1.06em;
}

html[lang="ar"] .brand-row-head{
  direction: rtl;
}

html[lang="ar"] .logo-marquee,
html[lang="ar"] .logo-track,
html[lang="ar"] .logo-track img{
  direction: ltr;
}

/* =========================================
   Arabic welcome popup
   ========================================= */

.arabic-welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 32, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100000;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.arabic-welcome-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.arabic-welcome-modal {
  position: relative;
  width: min(560px, 100%);
  border-radius: 24px;
  padding: 34px 28px 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(245,250,255,0.94));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 25px 80px rgba(0,0,0,0.22),
    0 8px 30px rgba(15, 30, 51, 0.10);
  text-align: center;

  transform: translateY(18px) scale(0.96);
  transition: transform 0.35s ease;
}

.arabic-welcome-overlay.is-open .arabic-welcome-modal {
  transform: translateY(0) scale(1);
}

.arabic-welcome-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 30, 51, 0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #0f1e33;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.arabic-welcome-close:hover {
  background: #ffffff;
  transform: scale(1.05);
}

.arabic-welcome-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.arabic-welcome-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(26, 60, 96, 0.08);
  border: 1px solid rgba(26, 60, 96, 0.10);
  color: #1a3c60;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.arabic-welcome-title {
  margin: 0;
  direction: rtl;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.2;
  font-weight: 800;
  color: #0f1e33;
}

.arabic-welcome-text {
  margin: 0;
  direction: rtl;
  font-size: 20px;
  line-height: 1.8;
  font-weight: 600;
  color: rgba(15, 30, 51, 0.82);
  max-width: 420px;
}

@media (max-width: 640px) {
  .arabic-welcome-modal {
    padding: 28px 18px 22px;
    border-radius: 20px;
  }

  .arabic-welcome-title {
    font-size: 32px;
  }

  .arabic-welcome-text {
    font-size: 18px;
    line-height: 1.7;
  }
}