*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --red:#D42B2B;--red-d:#A81E1E;
  --blue:#1A3A8F;--blue-d:#112670;--blue-l:#E8EDF8;
  --white:#FFFFFF;--off:#F4F7FF;
  --gray:#6B7280;--dark:#0F1A2E;--orange:#E07B1A;
}

html{scroll-behavior:smooth}
img{max-width:100%;height:auto}
body{font-family:'Poppins',sans-serif;background:var(--white);color:var(--dark);overflow-x:hidden}

/* ── NAV ── */
nav{
  position:fixed;top:0;left:0;width:100%;z-index:200;
  display:flex;align-items:center;justify-content:space-between;
  padding:0.9rem 5%;
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(26,58,143,0.1);
  box-shadow:0 2px 16px rgba(15,26,46,0.07);
}
.nav-logo img{height:48px;object-fit:contain;max-width:140px}
.nav-links{display:flex;gap:0.25rem;list-style:none;align-items:center}
.nav-links a{font-size:0.87rem;font-weight:500;color:var(--blue);text-decoration:none;padding:0.45rem 1rem;border-radius:50px;transition:background 0.2s}
.nav-links a:hover,.nav-links a.active{background:var(--blue-l)}
.nav-cta{background:var(--red)!important;color:#fff!important;padding:0.5rem 1.3rem!important;border-radius:50px!important}
.nav-cta:hover{background:var(--red-d)!important}

/* Burger */
.nav-burger{display:none;flex-direction:column;justify-content:center;gap:5px;cursor:pointer;padding:0.5rem;background:none;border:none;width:40px;height:40px}
.nav-burger span{display:block;width:22px;height:2px;background:var(--blue);border-radius:2px;transition:all 0.3s}
.nav-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-burger.open span:nth-child(2){opacity:0}
.nav-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Mobile drawer */
.nav-mobile{
  display:none;position:fixed;top:68px;left:0;right:0;
  background:var(--white);z-index:199;
  padding:0.75rem 5% 1.25rem;
  box-shadow:0 8px 24px rgba(15,26,46,0.12);
  flex-direction:column;gap:0.2rem;
}
.nav-mobile.open{display:flex}
.nav-mobile a{font-size:0.95rem;font-weight:500;color:var(--blue);text-decoration:none;padding:0.7rem 1rem;border-radius:12px;transition:background 0.2s;display:block}
.nav-mobile a:hover,.nav-mobile a.active{background:var(--blue-l)}
.nav-mobile .nav-cta{background:var(--red)!important;color:#fff!important;text-align:center;border-radius:50px;margin-top:0.5rem;display:block}

/* ── PAGE HERO ── */
.page-hero{
  padding:8rem 5% 6rem;
  background:linear-gradient(135deg,#112670 0%,#1A3A8F 60%,#2255BB 100%);
  position:relative;overflow:hidden;
}
.page-hero::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:60px;background:var(--white);clip-path:ellipse(55% 100% at 50% 100%)}
.page-hero-inner{position:relative;z-index:1;max-width:650px}
.page-hero-label{display:inline-block;background:rgba(255,255,255,0.15);border:1px solid rgba(255,255,255,0.25);color:#fff;font-size:0.72rem;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;padding:0.4rem 1rem;border-radius:50px;margin-bottom:1.25rem}
.page-hero h1{font-family:'Nunito',sans-serif;font-size:clamp(1.6rem,4.5vw,3.5rem);font-weight:900;color:#fff;line-height:1.1;margin-bottom:1rem}
.page-hero h1 span{color:#FFD700}
.page-hero p{font-size:0.95rem;color:rgba(255,255,255,0.8);font-weight:300;line-height:1.7}

/* ── SECTIONS ── */
section{padding:4rem 5%}
.section-label{font-size:0.72rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--red);font-weight:700;margin-bottom:0.6rem}
.section-title{font-family:'Nunito',sans-serif;font-size:clamp(1.5rem,3vw,2.6rem);font-weight:900;line-height:1.15;color:var(--dark);margin-bottom:0.75rem}
.section-sub{font-size:0.95rem;color:var(--gray);font-weight:300;line-height:1.7;max-width:520px}

/* ── REVEAL ── */
.reveal{opacity:0;transform:translateY(28px);transition:opacity 0.7s ease,transform 0.7s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

/* ── BUTTONS ── */
.btn-primary{display:inline-flex;align-items:center;gap:0.5rem;background:var(--red);color:#fff;padding:0.8rem 1.8rem;border-radius:50px;font-weight:600;font-size:0.9rem;text-decoration:none;transition:background 0.2s,transform 0.15s}
.btn-primary:hover{background:var(--red-d);transform:translateY(-2px)}
.btn-secondary{display:inline-flex;align-items:center;gap:0.5rem;background:var(--blue-l);color:var(--blue);padding:0.8rem 1.8rem;border-radius:50px;font-weight:600;font-size:0.9rem;text-decoration:none;transition:background 0.2s,transform 0.15s}
.btn-secondary:hover{background:#d0d9f0;transform:translateY(-2px)}

/* ── FOOTER ── */
footer{background:var(--dark);color:rgba(255,255,255,0.6);padding:3.5rem 5% 2rem}
.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:2rem;padding-bottom:2.5rem;border-bottom:1px solid rgba(255,255,255,0.08);margin-bottom:1.5rem}
.footer-logo img{height:48px;object-fit:contain;margin-bottom:0.75rem;mix-blend-mode:screen}
.footer-logo p{font-size:0.82rem;line-height:1.7;font-weight:300}
.footer-col h5{font-family:'Nunito',sans-serif;font-size:0.9rem;font-weight:800;color:#fff;margin-bottom:1rem}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:0.5rem}
.footer-col a{color:rgba(255,255,255,0.5);text-decoration:none;font-size:0.82rem;transition:color 0.2s}
.footer-col a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;font-size:0.77rem;flex-wrap:wrap;gap:0.5rem}

/* ── HOME: product cards ── */
.product-card-home{text-decoration:none;background:var(--off);border-radius:18px;display:flex;align-items:center;gap:1rem;padding:1rem;transition:transform 0.3s,box-shadow 0.3s;overflow:hidden}
.product-card-home:hover{transform:translateY(-4px);box-shadow:0 10px 28px rgba(15,26,46,0.11)}
.product-card-home-img{width:80px;height:80px;min-width:80px;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.product-card-home-img img{width:72px;height:72px;object-fit:contain;mix-blend-mode:multiply}

/* ── PRODUITS: product cards ── */
.produits-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.produit-card{background:var(--off);border-radius:24px;overflow:hidden}
.produit-card-img{height:220px;display:flex;align-items:center;justify-content:center;padding:1.5rem}
.produit-card-img img{max-height:190px;max-width:100%;width:auto;object-fit:contain;mix-blend-mode:multiply;transition:transform 0.3s}
.produit-card:hover .produit-card-img img{transform:scale(1.05)}
.produit-card-body{padding:1.5rem}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  .nav-links{display:none!important}
  .nav-burger{display:flex!important}
  .footer-top{grid-template-columns:1fr 1fr;gap:1.5rem}
  .produits-grid{grid-template-columns:1fr}
}

@media(max-width:640px){
  nav{padding:0.75rem 4%}
  section{padding:2.5rem 4%}
  .page-hero{padding:5.5rem 4% 3.5rem}
  .footer-top{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .btn-primary,.btn-secondary{width:100%;justify-content:center;text-align:center}
  .produit-card-img{height:180px}
  .produit-card-img img{max-height:155px}
}

@media(max-width:420px){
  .nav-logo img{height:38px}
  .product-card-home-img{width:68px;height:68px;min-width:68px}
  .product-card-home-img img{width:60px;height:60px}
}
