/* ================================================================
   WAKE UP — style.css
================================================================ */


/* ================================================================
   1. VARIABLES & RESET
================================================================ */
:root {
  --clr-bg:           #ffffff;
  --clr-bg-alt:       #f5f5f4;
  --clr-surface:      #fafafa;
  --clr-border:       #e5e5e5;
  --clr-text:         #171717;
  --clr-muted:        #525252;
  --clr-muted-light:  #737373;

  --clr-accent:       #10b981;
  --clr-accent-dark:  #059669;
  --clr-danger:       #dc2626;

  --radius-sm:   0.5rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.5rem;
  --radius-xl:   2rem;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.14);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.20);

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast:  0.2s;
  --dur-med:   0.35s;
  --dur-slow:  0.6s;

  --z-header:  50;
  --z-toast:   80;

  --max-w: 80rem;
  --px:    1.5rem;
  --header-h: 4rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--clr-text); color: #fff; }


/* ================================================================
   2. TYPOGRAPHIE
================================================================ */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }


/* ================================================================
   3. UTILITAIRES
================================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section {
  padding-block: 5rem;
}

.section-header  { margin-bottom: 2.5rem; }
.section-title   { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.section-subtitle {
  margin-top: .5rem;
  color: var(--clr-muted);
  font-size: .95rem;
}


/* ================================================================
   4. BOUTONS
================================================================ */

/* Bouton primaire — remplissage vert + flèche rotative */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem 1rem .5rem 1.25rem;
  border-radius: var(--radius-full);
  background: #f9fafb;
  color: var(--clr-text);
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid #f9fafb;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .55s var(--ease-smooth);
}

.btn-primary::before {
  content: '';
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  background: var(--clr-accent);
  border-radius: 50%;
  left: -100%;
  top: 50%;
  transform: translateY(-50%) scale(0);
  z-index: -1;
  transition: left .7s var(--ease-smooth), transform .7s var(--ease-smooth);
}
.btn-primary:hover { color: #fff; }
.btn-primary:hover::before {
  left: -10%;
  transform: translateY(-50%) scale(2.5);
}

.btn-arrow {
  width: 2rem;
  height: 2rem;
  padding: .45rem;
  border-radius: 50%;
  border: 1px solid #374151;
  fill: #1f2937;
  flex-shrink: 0;
  transform: rotate(45deg);
  transition:
    transform .3s ease,
    background .3s ease,
    border-color .3s ease,
    fill .3s ease;
}
.btn-primary:hover .btn-arrow {
  transform: rotate(90deg);
  background: #f9fafb;
  border-color: transparent;
  fill: #1f2937;
}

/* Bouton ghost — bordure blanche semi-transparente */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.40);
  color: #fff;
  font-size: .95rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  transform: scale(1.04);
}
.btn-ghost svg { flex-shrink: 0; opacity: .85; }

/* Bouton outline — variante de btn-primary (fond blanc, couleur noire) */
.btn-outline {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem 1rem .5rem 1.25rem;
  border-radius: var(--radius-full);
  background: #f9fafb;
  color: #000;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid #f9fafb;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .55s var(--ease-smooth);
}

.btn-outline::before {
  content: '';
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  background: var(--clr-accent);
  border-radius: 50%;
  left: -100%;
  top: 50%;
  transform: translateY(-50%) scale(0);
  z-index: -1;
  transition: left .7s var(--ease-smooth), transform .7s var(--ease-smooth);
}
.btn-outline:hover::before {
  left: -10%;
  transform: translateY(-50%) scale(2.5);
}

.cta-actions {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}


/* ================================================================
   5. ANIMATIONS AU SCROLL
================================================================ */
.animate-on-scroll {
  opacity: 0;
  transition: all 1s var(--ease-smooth);
}

.fade-in     { transform: translateY(40px);  filter: blur(4px); }
.slide-left  { transform: translateX(-60px); filter: blur(3px); }
.slide-right { transform: translateX(60px);  filter: blur(3px); }
.slide-up    { transform: translateY(50px);  filter: blur(3px); }
.scale-in    { transform: scale(.8);         filter: blur(5px); }
.blur-in     { transform: scale(1.02);       filter: blur(8px); }
.blur-slide  { transform: translateY(30px) scale(.95); filter: blur(6px); }
.text-reveal { transform: translateY(20px);  filter: blur(2px); transition-duration: .8s; }
.image-reveal{ transform: scale(1.1);        filter: blur(5px); transition-duration: 1.2s; }
.card-reveal { transform: translateY(60px) scale(.95); filter: blur(4px); }

.animate-on-scroll.animate {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Hero : animation initiale */
.hero-content {
  opacity: 0;
  transform: translateY(80px) scale(.95);
  filter: blur(6px);
  transition: all 1.4s var(--ease-smooth);
}
.hero-content.animate {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Délais échelonnés */
.stagger-1 { transition-delay: .10s; }
.stagger-2 { transition-delay: .20s; }
.stagger-3 { transition-delay: .30s; }
.stagger-4 { transition-delay: .40s; }
.stagger-5 { transition-delay: .50s; }
.stagger-6 { transition-delay: .60s; }


/* ================================================================
   6. HEADER
================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(255,255,255,.90);
  border-bottom: 1px solid var(--clr-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-w);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--px);
  display: flex;
  align-items: center;
}

.header-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.03em;
}


/* ================================================================
   7. HERO
================================================================ */
.hero {
  position: relative;
  height: 80vh;
  min-height: 480px;
  overflow: hidden;
  background: #171717;
}

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.80) 0%,
    rgba(0,0,0,.60) 30%,
    rgba(0,0,0,.40) 50%,
    rgba(0,0,0,.30) 70%,
    rgba(0,0,0,.20) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content { max-width: 36rem; color: #fff; }

.hero-eyebrow {
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .80;
  line-height: 1.5;
}
.hero-title {
  margin-top: .75rem;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -.03em;
}
.hero-tagline {
  margin-top: 1rem;
  font-size: 1.1rem;
  opacity: .90;
}
.hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}


/* ================================================================
   8. TRUST BAR
================================================================ */
.trust-bar {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  padding-block: 3.5rem;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem 1rem;
}

.trust-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -.02em;
}


/* ================================================================
   9. COLLECTIONS — Cartes expandables
================================================================ */
.cards-expand {
  display: flex;
  gap: .375rem;
  height: 464px;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow-xl);
}

.card-expand {
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-lg);
  position: relative;
  background: #404040;
  transition: flex .5s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-expand:hover { flex: 4; }

.card-expand-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: all .5s var(--ease-smooth);
}

.card-expand-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.70) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s var(--ease-smooth);
}
.card-expand:hover .card-expand-overlay { opacity: 1; }

.card-expand-title { color: #fff; font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.card-expand-desc  { color: #e5e5e5; font-size: .875rem; margin-top: .25rem; }
.card-expand-sub   { color: #a3a3a3; font-size: .75rem;  margin-top: .5rem; }

@media (max-width: 767px) {
  .cards-expand {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 340px;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .card-expand { min-width: 220px; scroll-snap-align: start; }
  .card-expand:hover { flex: 1; }
}


/* ================================================================
   10. ABOUT / PARTENARIAT
================================================================ */
.about-card {
  background: url('../img/10.jpg') center / cover no-repeat;
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: all var(--dur-slow);
}

.about-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0,0,0,.35);
  transition: background var(--dur-slow);
}
.about-card:hover .about-overlay { background: rgba(0,0,0,.50); }

.about-blur {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  backdrop-filter: blur(1px);
  transition: opacity var(--dur-slow);
}
.about-card:hover .about-blur { opacity: 1; }

.about-content {
  position: relative;
  z-index: 10;
  width: 100%; /* prend toute la largeur de about-card */
}

.about-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #fff;
  max-width: 38rem; /* contrainte sur le titre uniquement, pas les cards */
}

.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* Enfants animés en séquence via JS (stagger-group) */
.stagger-child {
  opacity: 0;
  transform: translateY(60px) scale(.95);
  filter: blur(4px);
  transition: opacity .6s var(--ease-smooth),
              transform .6s var(--ease-smooth),
              filter .6s var(--ease-smooth);
}
.stagger-child.animate {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (max-width: 767px) {
  .about-features {
    grid-template-columns: 1fr; /* 1 colonne sur mobile → animations stagger dans l'ordre */
  }
}

.feature-card {
  background: rgba(255,255,255,.50);
  border: 1px solid rgba(212,212,212,.70);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  transition: transform var(--dur-fast);
}
.feature-card:hover { transform: scale(1.04); }

.feature-icon  { display: flex; }
.feature-title {
  margin-top: 1rem;
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
}
.feature-text {
  margin-top: .75rem;
  font-size: .875rem;
  color: #d4d4d4;
}

@media (min-width: 1024px) {
  .about-card { padding: 6rem 5rem; }
}


/* ================================================================
   11. FOOTER
================================================================ */
.footer-bottom {
  border-top: 1px solid var(--clr-border);
  margin-top: 0;
  padding-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom .footer-socials { gap: .25rem; }
.footer-bottom .social-btn     { padding: .3rem; }

.footer-copy  { font-size: .875rem; color: var(--clr-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .875rem; color: var(--clr-muted); transition: color var(--dur-fast); }
.footer-legal a:hover { color: var(--clr-text); }

.footer-socials { display: flex; gap: .25rem; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .4rem;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}
.social-btn:hover { background: rgba(0,0,0,.06); }


/* ================================================================
   12. FAQ
================================================================ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  background: var(--clr-surface);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.faq-item[open] {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  color: var(--clr-accent);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform var(--dur-fast);
}
.faq-item[open] .faq-q::after {
  content: '–';
}
.faq-a {
  margin-top: .75rem;
  color: var(--clr-muted);
  font-size: .95rem;
  line-height: 1.6;
}