/* ════════════════════════════════════════════════════════
   KINWORK — CSS principal
   Fichier : css/main.css
   Architecture :
     1. Variables CSS (tokens)
     2. Reset & base
     3. Typographie utilitaire
     4. Mise en page (layout)
     5. Boutons
     6. Animations / Reveal
     7. Responsive
════════════════════════════════════════════════════════ */


/* ── 1. VARIABLES CSS ───────────────────────────────────── */
:root {
  /* Couleurs */
  --blk:  #060606;
  --blk2: #0a0a0a;
  --blk3: #111;
  --blk4: #1a1a1a;

  --g:  #B8964E;
  --g2: #D4AA6A;
  --g3: #8A6E3A;

  --gdim:  rgba(184,150,78,.1);
  --gdim2: rgba(184,150,78,.06);

  --w:  #F2EEE7;
  --w8: rgba(242,238,231,.8);
  --w6: rgba(242,238,231,.6);
  --w4: rgba(242,238,231,.4);
  --w2: rgba(242,238,231,.2);
  --w1: rgba(242,238,231,.1);

  --bdr:  rgba(184,150,78,.15);
  --bdr2: rgba(242,238,231,.06);

  /* Layout */
  --nav-h: 72px;
  --max:   1280px;

  /* Easing */
  --ease:  cubic-bezier(.25,.46,.45,.94);
  --ease2: cubic-bezier(.16,1,.3,1);
}


/* ── 2. RESET & BASE ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--blk);
  color: var(--w);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img  { display: block; max-width: 100%; }
/* Les images de fond (hero) gèrent leur propre sizing via object-fit */
.hero-slide img { max-width: none; }
a    { text-decoration: none; color: inherit; }
button { font-family: 'Inter', sans-serif; cursor: pointer; }


/* ── 3. TYPOGRAPHIE UTILITAIRE ──────────────────────────── */
.f-bb { font-family: 'Bebas Neue', sans-serif; }
.f-cg { font-family: 'Cormorant Garamond', serif; }

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--g);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--g);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: .88;
  letter-spacing: 2px;
}
.section-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--g);
}

.section-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 300;
  color: var(--w6);
  line-height: 1.75;
}

.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--g);
  opacity: .6;
  margin: 24px 0;
}


/* ── 4. MISE EN PAGE ────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 64px;
}

section.sec    { padding: 120px 0; }
section.sec--lg { padding: 160px 0; }
section.sec--sm { padding: 80px 0; }


/* ── 5. BOUTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  transition: all .3s var(--ease);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--g);
  color: var(--blk);
  padding: 17px 34px;
}
.btn-primary:hover {
  background: var(--g2);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(184,150,78,.3);
}

.btn-outline {
  border: 1px solid rgba(184,150,78,.5);
  color: var(--w6);
  padding: 15px 32px;
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--g);
  color: var(--w);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--g);
  padding: 0;
  font-size: 11px;
  letter-spacing: 2.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost .arrow { transition: transform .25s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(5px); }


/* ── 6. ANIMATIONS / REVEAL ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease2), transform .7s var(--ease2);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-l {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .7s var(--ease2), transform .7s var(--ease2);
}
.reveal-l.in { opacity: 1; transform: none; }

.reveal-r {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .7s var(--ease2), transform .7s var(--ease2);
}
.reveal-r.in { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease2), transform .5s var(--ease2);
}
.stagger.in > *:nth-child(1) { opacity:1; transform:none; transition-delay:.00s; }
.stagger.in > *:nth-child(2) { opacity:1; transform:none; transition-delay:.08s; }
.stagger.in > *:nth-child(3) { opacity:1; transform:none; transition-delay:.16s; }
.stagger.in > *:nth-child(4) { opacity:1; transform:none; transition-delay:.24s; }
.stagger.in > *:nth-child(5) { opacity:1; transform:none; transition-delay:.32s; }
.stagger.in > *:nth-child(6) { opacity:1; transform:none; transition-delay:.40s; }
.stagger.in > *:nth-child(7) { opacity:1; transform:none; transition-delay:.48s; }


/* ── 7. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .wrap              { padding: 0 40px; }
  section.sec        { padding: 88px 0; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  section.sec { padding: 64px 0; }
  .wrap       { padding: 0 20px; }
}


/* ── FONT AWESOME — intégration ────────────────────────── */

/* Icônes dans les boutons */
.btn .fa-light,
.btn .fa-brands {
  font-size: 13px;
  transition: transform .25s var(--ease);
}
.btn .arrow { display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* Icônes dans .why-list-ico */
.why-list-ico .fa-light {
  font-size: 13px;
  color: var(--g);
}

/* Icônes dans .chiffre-ico */
.chiffre-ico .fa-light {
  font-size: 28px;
  color: var(--g);
}

/* Icônes dans .step-circle */
.step-circle .fa-light {
  font-size: 18px;
  color: var(--g);
}

/* Icônes dans .tarif-features / .abo-features */
.tarif-features .fa-light,
.abo-features .fa-light {
  font-size: 13px;
  color: var(--g);
  flex-shrink: 0;
}

/* Icônes dans .hero-pillar */
.hero-pillar .fa-light {
  font-size: 14px;
  color: var(--g);
  flex-shrink: 0;
}

/* Icônes dans .c-info-ic et footer-contact-item */
.c-info-ic .fa-light,
.footer-contact-item .fa-light {
  font-size: 16px;
  color: var(--g);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Icônes réseaux sociaux footer */
.footer-soc .fa-brands {
  font-size: 14px;
}

/* Icône FAQ + */
.faq-icon .fa-light {
  font-size: 11px;
  color: var(--g);
}
.faq-item.open .faq-icon {
  background: var(--g);
  color: var(--blk);
  border-color: var(--g);
  transform: rotate(45deg);
}
.faq-item.open .faq-icon .fa-light {
  color: var(--blk);
}
