/* ═══════════════════════════════════════════════════════════════
   SERTEK AG — Feuille de styles partagée
   Utilisée par : index.html + toutes les pages marque-*.html
   ─────────────────────────────────────────────────────────────── */

/* ── RESET + VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:      #f88a26;
  --red-dk:   #d97420;
  --red-lt:   rgba(248, 138, 38, .08);
  --shop:     #17a6d1;
  --bg:       #f4f6f8;
  --text:     #1d2733;
  --muted:    #5f6c7a;
  --border:   rgba(29, 39, 51, .10);
  --border-r: rgba(248, 138, 38, .22);
  --sh:       0 12px 32px rgba(29, 39, 51, .08);
  --sh-sm:    0 4px 16px rgba(29, 39, 51, .06);
  --r:        10px;
  --ff-head:  'Outfit', sans-serif;
  --ff-body:  'DM Sans', sans-serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  padding-top: 70px;
}

/* Grille de fond subtile */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29,39,51,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,39,51,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

a { color: inherit; text-decoration: none; }

/* ── BARRE DE PROGRESSION SCROLL ── */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--shop));
  z-index: 9999;
  transition: width .1s linear;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(29, 39, 51, .06);
  z-index: 1000;
}

.hdr {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Logo */
.logo-img { height: 40px; width: auto; display: block; }
.logo-fb  { font-family: var(--ff-head); font-size: 22px; font-weight: 800; color: var(--text); display: none; }
.logo-fb span { color: var(--red); }

/* Navigation principale */
nav { display: flex; gap: 2px; align-items: center; }
nav a {
  font-size: 15px;
  font-weight: 500;
  color: #5a6878;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color .18s, background .18s;
}
nav a:hover  { color: var(--text); background: rgba(29,39,51,.05); }
nav a.active { color: var(--red); font-weight: 700; }

/* Bouton boutique */
.shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--shop);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.shop-btn:hover { background: #1290b8; color: #fff; }
.shop-btn svg   { flex-shrink: 0; }

/* CTA contact */
.ncta {
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 20px rgba(248,138,38,.22) !important;
}

/* Burger mobile */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* Menu mobile */
.mob-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(29,39,51,.08);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--text);
  font-size: 15px;
}
.mob-nav a:hover { background: var(--red-lt); color: var(--red); }

/* Sélecteur de langue — nav desktop */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 40px;
  background: #fff;
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--ff-head);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 40px;
  cursor: pointer;
}
.lang-switch button.active { background: var(--red); color: #fff; }

/* Sélecteur de langue — menu mobile */
.mob-lang { display: flex; gap: 8px; padding: 8px 16px; }
.mob-lang button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 40px;
  padding: 7px 13px;
  font-weight: 800;
  cursor: pointer;
}
.mob-lang button.active { background: var(--red); color: #fff; border-color: var(--red); }

/* Responsive header */
@media (max-width: 1120px) {
  nav    { display: none; }
  .burger { display: flex; }
}

/* ── COMPOSANTS PAGES MARQUE ── */

.wrap { position: relative; z-index: 1; }

/* Hero section marque */
.hero {
  padding: 78px 24px 54px;
  background: linear-gradient(170deg, #fff 0%, #f3f6f9 100%);
}

.inner { max-width: 1180px; margin: auto; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--border-r);
  border-radius: 40px;
  background: var(--red-lt);
  color: var(--red);
  font: 800 13px var(--ff-head);
  text-transform: uppercase;
}

.hero h1  { font: 900 clamp(38px, 5vw, 68px)/1.08 var(--ff-head); margin-bottom: 18px; }
.hero > .inner > .hero-grid > div > p { color: var(--muted); font-size: 17px; max-width: 680px; }

/* Panel côté droit */
.hero-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 22px;
}

/* Faits clés */
.facts { display: grid; gap: 10px; }
.fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
}
.fact b { font-family: var(--ff-head); }

/* Sections */
section { padding: 58px 24px; }
.alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* En-tête de section */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}
.kicker { color: var(--red); font: 800 13px var(--ff-head); text-transform: uppercase; margin-bottom: 8px; }
.title  { font: 900 clamp(28px, 3vw, 42px)/1.12 var(--ff-head); }
.copy   { max-width: 570px; color: var(--muted); }

/* Grille de cartes */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  padding: 22px;
}
.card h3 { font: 850 21px/1.15 var(--ff-head); margin-bottom: 9px; }
.card p  { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

/* Tags */
.tag-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.tag {
  border: 1px solid var(--border);
  border-radius: 40px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  color: #fff;
  font: 800 14px var(--ff-head);
  transition: opacity .18s, transform .12s;
}
.btn:hover  { opacity: .88; transform: translateY(-1px); }
.btn.alt    { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn.shop   { background: var(--shop); }

/* Liste de produits */
.product-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.product {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.product b    { display: block; font-family: var(--ff-head); margin-bottom: 4px; }
.product span { color: var(--muted); font-size: 14px; }

/* Bloc support / CTA gradient */
.support {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, rgba(248,138,38,.10), rgba(23,166,209,.08)), #fff;
  border: 1px solid var(--border-r);
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 28px;
}

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.ft {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.ft-logo img { height: 32px; }
.ft-copy { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.ft-links { display: flex; gap: 22px; }
.ft-links a { font-size: 13px; color: var(--muted); transition: color .18s; }
.ft-links a:hover { color: var(--red); }

/* ── ANIMATION FADE-IN ── */
.fi {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.fi.on {
  opacity: 1;
  transform: none;
}

/* Délais d'animation en cascade */
.fi.d1 { transition-delay: .05s; }
.fi.d2 { transition-delay: .15s; }
.fi.d3 { transition-delay: .25s; }
.fi.d4 { transition-delay: .35s; }

/* ── SCROLLBAR CUSTOM ── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(29,39,51,.18); border-radius: 3px; }

/* ── RESPONSIVE ── */
@media (max-width: 850px) {
  .hero-grid,
  .support { grid-template-columns: 1fr; }

  .section-head { display: block; }
  .copy         { margin-top: 10px; }
}

@media (max-width: 640px) {
  .hero { padding: 48px 16px 36px; }
  section { padding: 40px 16px; }
  .ft { flex-direction: column; align-items: flex-start; }
  .ft-links { flex-wrap: wrap; gap: 14px; }
}
