/* ══════════════════════════════════════════════════════════════
   STELNEO — Core CSS
   Charge en premier sur toutes les pages, avant le CSS de page.
   Contient : tokens, reset, reveal, utils, boutons,
              navigation, footer, page-hero, page-hero-nav,
              page-faq, page-finale, eyebrow, finale-label, accent
   ══════════════════════════════════════════════════════════════ */


/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --navy:    #002f4b;
  --amber:   #F6C13C;
  --amber-d: #C89614;
  --beige:   #F4EEDF;
  --beige-d: #E4D9C8;
  --beige-l: #FAF7F2;
  --ink:     #002f4b;
  --body:    #3d657f;
  --muted:   #7a9bb0;
  --white:   #ffffff;
  --px:      clamp(20px, 5.5vw, 88px);
  --section: clamp(80px, 9vw, 120px);
}


/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--beige);
  color: var(--body);
  overflow-x: hidden;
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }


/* ── REVEAL ──────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal="up"]    { transform: translateY(22px); }
[data-reveal="scale"] { transform: scale(0.97); }
[data-reveal].in-view { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.26s; }
[data-delay="3"] { transition-delay: 0.42s; }
[data-delay="4"] { transition-delay: 0.58s; }


/* ── UTILS PARTAGES ──────────────────────────────────────────── */

.accent { color: var(--amber); }

/* Eyebrow : surtitre en caps amber, sur fond navy ou fond clair */
.eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
/* Variante sur fond clair : amber-d plus lisible */
.eyebrow--dark-text { color: var(--amber-d); }

/* Finale-label : kicker avec tiret pour les CTA finaux sur fond navy */
.finale-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(246,193,60,0.9);
  margin-bottom: 18px;
}
.finale-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--amber);
  display: block;
  flex-shrink: 0;
}

/* Titres de section */
.section-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.3px;
  color: var(--navy);
}
.section-title.on-dark { color: var(--white); }

/* Intro de section */
.section-intro {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body);
}
.section-intro.on-dark { color: rgba(244,238,223,0.6); }


/* ── BOUTONS (5 variantes) ───────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  padding: 13px 28px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.22s, transform 0.22s;
}
.btn-primary:hover { background: var(--amber-d); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 13px 28px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  border: 1px solid rgba(0,47,75,0.28);
  border-radius: 4px;
  transition: border-color 0.22s, background 0.22s;
}
.btn-secondary:hover { border-color: var(--navy); background: rgba(0,47,75,0.04); }

.btn-ghost-light {
  display: inline-block;
  background: transparent;
  color: rgba(244,238,223,0.7);
  padding: 13px 28px;
  font-size: 11.5px;
  font-weight: 400;
  border: 1px solid rgba(244,238,223,0.22);
  border-radius: 4px;
  transition: border-color 0.22s, color 0.22s;
}
.btn-ghost-light:hover { border-color: rgba(244,238,223,0.55); color: var(--white); }

.btn-dark {
  display: inline-block;
  background: var(--navy);
  color: var(--beige);
  padding: 13px 28px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: background 0.22s;
}
.btn-dark:hover { background: #003d62; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 11px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(0,47,75,0.3);
  border-radius: 4px;
  align-self: flex-start;
  transition: background 0.22s, color 0.22s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }


/* ── NAVIGATION ──────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s, box-shadow 0.35s;
}
.site-nav.scrolled {
  background: rgba(0,30,48,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}
.nav-logo-wrap { display: flex; align-items: center; }
.nav-logo-img  { height: 36px; width: auto; filter: brightness(0) invert(1); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(244,238,223,0.55);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.nav-active { color: var(--white); }

.nav-cta {
  background: var(--amber) !important;
  color: var(--navy) !important;
  padding: 9px 22px !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--amber-d) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(0,30,48,0.98);
    padding: 8px 0;
    z-index: 99;
  }
  .nav-links.open a {
    padding: 14px var(--px);
    border-bottom: 1px solid rgba(244,238,223,0.07);
  }
}


/* ══════════════════════════════════════════════════════════════
   COMPOSANTS PARTAGES — utilises sur plusieurs pages de contenu
   ══════════════════════════════════════════════════════════════ */


/* ── PAGE-HERO ───────────────────────────────────────────────── */
/* Hero standard des pages interieures : fond navy, contenu 2 cols */
/* Col gauche : eyebrow + titre + desc + actions                  */
/* Col droite : .page-hero-nav (sommaire) — optionnel             */

.page-hero {
  background: var(--navy);
  padding: 148px var(--px) 0;
  overflow: hidden;
  position: relative;
}
/* Filet amber en haut de page sous la nav */
.page-hero::before {
  content: '';
  position: absolute;
  top: 72px; left: 0; right: 0;
  height: 1px;
  background: rgba(246,193,60,0.18);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: end;
  padding-bottom: 72px;
}
/* Variante mono-colonne quand pas de sommaire */
.page-hero-inner--single {
  grid-template-columns: minmax(0, 720px);
}

.page-hero-copy { display: flex; flex-direction: column; }

.page-hero-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 24px;
}

.page-hero-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(244,238,223,0.66);
  max-width: 520px;
  margin-bottom: 36px;
}

.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }


/* ── PAGE-HERO-NAV (sommaire) ────────────────────────────────── */
/* Sommaire de navigation interne affiche en col droite du hero   */
/* Structure unique pour toutes les pages avec ancres             */

.page-hero-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 4px;
}

.page-hero-nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(244,238,223,0.28);
  margin-bottom: 14px;
}

.page-hero-nav-link {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(244,238,223,0.07);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  transition: background 0.22s, border-color 0.22s;
  cursor: pointer;
  text-decoration: none;
}
.page-hero-nav-link:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(246,193,60,0.22);
}
.page-hero-nav-link.active {
  background: rgba(246,193,60,0.08);
  border-color: rgba(246,193,60,0.3);
}

.nav-link-num {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
/* Variante fleche pour le lien sur-mesure */
.nav-link-num--arrow {
  font-family: inherit;
  font-size: 16px;
}

.nav-link-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.2px;
}

.nav-link-tag {
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(244,238,223,0.38);
  letter-spacing: 0.3px;
  text-align: right;
  white-space: nowrap;
}


/* ── PAGE-HERO bande de separation ──────────────────────────── */
/* Bande amber sous le hero (identique a la homepage) */
.page-hero-border {
  height: 3px;
  background: var(--amber);
  width: 100%;
}


/* ── PAGE-FAQ (wrapper FAQ avec sidebar) ─────────────────────── */
/* Compose identique sur nos-produits et notre-methode            */

.page-faq {
  background: var(--beige);
  padding: var(--section) var(--px);
  border-top: 1px solid var(--beige-d);
}
.page-faq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 88px;
  align-items: start;
}
.page-faq-sidebar .section-intro {
  margin-top: 16px;
  margin-bottom: 32px;
}
.faq-list { border-top: 1px solid var(--beige-d); }
.faq-item { border-bottom: 1px solid var(--beige-d); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--amber-d); }
.faq-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--beige-d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-style: normal;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.25s, border-color 0.25s, color 0.25s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--body);
  max-width: 520px;
}


/* ── PAGE-FINALE (CTA final des pages interieures) ───────────── */
/* Fond navy, titre grand, 2 CTA, structure simple               */
/* La page methode a une variante avec KPIs — definie dans son CSS */

.page-finale {
  background: var(--navy);
  padding: var(--section) var(--px);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.page-finale-inner {
  max-width: 760px;
}
.page-finale-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 22px;
}
.page-finale-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.78;
  color: rgba(244,238,223,0.62);
  max-width: 560px;
  margin-bottom: 34px;
}
.page-finale-actions { display: flex; gap: 12px; flex-wrap: wrap; }


/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 80px var(--px) 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(244,238,223,0.09);
  margin-bottom: 32px;
}
.footer-logo-wrap { display: block; margin-bottom: 20px; }
.footer-logo-img  { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(244,238,223,0.38);
  max-width: 240px;
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(244,238,223,0.22);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(244,238,223,0.48);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 11.5px; color: rgba(244,238,223,0.15); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 11.5px;
  color: rgba(244,238,223,0.22);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(244,238,223,0.55); }


/* ── RESPONSIVE CORE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .page-faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  :root { --px: 20px; --section: 72px; }
  .page-hero { padding-top: 112px; }
  .page-hero-inner { padding-bottom: 52px; }
  .page-hero-actions { flex-direction: column; }
  .page-hero-actions a { text-align: center; }
  .page-finale-actions { flex-direction: column; }
  .page-finale-actions a { text-align: center; }
  .footer-top    { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}