:root{
  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #111827;
  --muted: #6b7280;

  --accent: #16a34a;
  --accent-2: #111827;
  --border: #e5e7eb;

  --radius: 16px;
  --radius-sm: 12px;

  --shadow: 0 12px 30px rgba(0,0,0,.08);
  --shadow-sm: 0 8px 18px rgba(0,0,0,.06);

  --container: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img{
  max-width:100%;
  display:block;
  height:auto;
}

a{ color:inherit; text-decoration:none; }

p{ margin: 0 0 14px; }
ul,ol{ margin: 0; padding-left: 18px; }
li{ margin: 8px 0; }

h1,h2,h3,h4{
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1{ font-size: clamp(28px, 3.2vw, 44px); }
h2{ font-size: clamp(22px, 2.4vw, 32px); }
h3{ font-size: 18px; }
h4{ font-size: 16px; }

section{ padding: 72px 18px; }
section:nth-of-type(even){ background: var(--surface); }

main > section > *{
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

/* Top bar */
.top-bar{
  background: var(--accent-2);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
}
.top-bar p{
  max-width: var(--container);
  margin: 0 auto;
  opacity: .95;
}

/* Buttons */
.btn-primary, .btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  border: 1px solid rgba(0,0,0,.08);
}

.btn-primary{
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: var(--shadow); filter: brightness(1.02); }
.btn-primary:active{ transform: translateY(0px); box-shadow: var(--shadow-sm); }

.btn-secondary{
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover{ transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary:active{ transform: translateY(0px); box-shadow: var(--shadow-sm); }

.cta-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.micro-note{
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* HERO */
#hero{
  background: radial-gradient(1200px 600px at 10% 10%, rgba(22,163,74,.10), transparent 55%),
              radial-gradient(900px 500px at 90% 0%, rgba(17,24,39,.08), transparent 55%),
              var(--bg);
  padding-top: 56px;
  padding-bottom: 64px;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.hero-image{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #f3f4f6);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 380px;
}
.hero-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content ul{
  margin: 18px 0 18px;
  padding-left: 0;
  list-style: none;
}
.hero-content li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
}
.hero-content li::before{
  content: "✔";
  color: var(--accent);
  font-weight: 900;
  margin-top: 1px;
}

/* Advantages */
.advantages-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.advantages-grid article{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.advantages-grid article:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(22,163,74,.35);
}
.advantages-grid p{ color: var(--muted); margin: 8px 0 0; }

/* Split section (produit) */
.split{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: start;
}
.split-media{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 320px;
}
.split-media img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.split-content p{
  max-width: 85ch;
}

/* Colors (square, always 2 side by side) */
.colors-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.color-item{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;

  /* SQUARE */
  aspect-ratio: 1 / 1;
}
.color-item img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.color-item p{
  position:absolute;
  left: 12px;
  bottom: 12px;
  margin:0;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
}

/* Components */
.components-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.component-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow:hidden;
  padding: 12px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;

  display:grid;
  grid-template-rows: auto auto;
  gap: 10px;
}
.component-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(17,24,39,.25);
}
.component-card img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.component-card h4{
  margin:0;
  font-weight: 900;
}

/* Measures tips box */
.tips{
  margin-top: 14px;
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 16px;
  max-width: 80ch;
}
.tips ul{ padding-left: 18px; }
.tips li{ color: var(--text); }

/* Process list */
.process-list{
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 18px 18px 34px;
  max-width: 90ch;
}
.process-list li{ margin: 12px 0; }

/* ✅ VIDEO (fixed + responsive + 50% smaller on desktop) */
.video-container{
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.video-wrap{
  width: 50%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.video-wrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display:block;
}

/* FAQ */
.faq-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
details{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px 14px;
}
summary{
  cursor:pointer;
  font-weight: 900;
}
details p{
  margin-top: 10px;
  color: var(--muted);
}

/* CTA */
#cta{
  background: linear-gradient(180deg, rgba(22,163,74,.12), rgba(22,163,74,.05));
}

/* Footer */
footer{
  padding: 26px 18px;
  border-top: 1px solid var(--border);
  background:#fff;
  color: var(--muted);
  font-size: 14px;
}
footer p{
  max-width: var(--container);
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px){
  #hero{
    grid-template-columns: 1fr;
  }
  .hero-image{ min-height: 320px; }
  .advantages-grid{ grid-template-columns: repeat(2, 1fr); }
  .components-grid{ grid-template-columns: repeat(3, 1fr); }
  .split{ grid-template-columns: 1fr; }
  .split-media{ min-height: 280px; }
  .faq-grid{ grid-template-columns: 1fr; }
}

/* ✅ Video mobile: full width */
@media (max-width: 768px){
  .video-wrap{
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 520px){
  section{ padding: 54px 16px; }

  /* colors stay 2 columns even on mobile, just shrink nicely */
  .colors-grid{
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 12px;
  }

  .components-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}

/* ===== HEADER / LOGO ===== */
.site-header{
  background:#ffffff;
  border-bottom:1px solid #e5e7eb;
}

.header-inner{
  max-width:1120px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo img{
  height:44px;
  width:auto;
  display:block;
}

.header-cta{
  padding:10px 16px;
  font-size:14px;
}

/* Mobile */
@media (max-width:520px){
  .logo img{
    height:36px;
  }
}
