/* ============================================================
   FOC STUDIO — PAGE ACCUEIL
   Sections propres à l'accueil :
   - Hero logo géant (fond rouge)
   - Accroche + 3 piliers
   - Philosophie
   (Témoignages, offres et contact = composants, voir components.css)
   ============================================================ */

/* Trail « gooey » en NOIR sur l'accueil (au lieu du rose par défaut). */
.page-accueil { --trail-color: var(--noir); }

/* ============================================================
   HERO — Logo géant sur fond rouge
   ============================================================ */
.acc-hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--feu);
  min-height: 100vh;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter);
}

.acc-hero-logo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 10vw, 200px);
  width: 100%;
  margin-top: 4rem;
}

.acc-hero-logo-svg {
  width: min(75vmin, 700px);
  height: auto;
  display: block;
}

/* Pupilles : pilotées en JS (suivi de souris, hochement, morph happy).
   Le clignement = squash vertical (scaleY) appliqué en JS ; l'origine est le
   centre de chaque pupille, légèrement BAS, pour une fermeture naturelle
   (les paupières se rejoignent un peu sous le milieu). */
#left-pupil,
#right-pupil {
  will-change: transform;
  transform-box: fill-box;
  transform-origin: center 58%;
}

/* Hochement "oui" : piloté en JS (voir js/accueil.js) — les courbes Y du
   Lottie sont appliquées séparément à #bg-eye ("Head") et aux pupilles
   ("Eyes"). Leur mouvement vertical DIFFÉRENCIÉ (parallaxe) crée le "oui".
   #bg-eye se déplace via transform → on prépare l'origine. */
#bg-eye {
  transform-box: fill-box;
  will-change: transform;
}

/* La "bouche" : les 2 CTA sous les yeux, centrés et plus étroits. */
.acc-hero-logo-mouth {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .acc-hero-logo-mouth {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   ACCROCHE + 3 PILIERS (fond rouge)
   ============================================================ */
.acc-hero {
  background: var(--feu);
  padding: var(--section-pad) var(--gutter);
  padding-top: 0;
}

/* Conteneur à pleine largeur (--max-width) comme .acc-philo-inner, pour que
   les piliers aient la MÊME largeur que les philo-cards. Le texte d'accroche
   reste, lui, contraint et centré (voir .acc-hero-sur / .acc-hero-title). */
.acc-hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.acc-hero-sur {
  color: var(--noir);
}

.acc-hero-title {
  color: var(--noir);
  margin-bottom: var(--title-gap);
}

/* Les 3 piliers — grille identique à .acc-philo-grid (largeur + gap). */
.acc-piliers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  text-align: left;
}

/* .acc-pilier : structure portée par .card (voir base.css). */
.acc-pilier-icon {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.acc-pilier {
  text-align: center;
}

.acc-pilier h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--noir);
  margin-bottom: 0.75rem;
}

.acc-pilier p {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  color: var(--noir);
  line-height: 1.4;
}

.acc-hero-ctas {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  flex-wrap: wrap;
  justify-content: end;
}

/* ============================================================
   PHILOSOPHIE (fond noir)
   ============================================================ */
.acc-philo {
  background: var(--noir);
  padding: var(--section-pad) var(--gutter);
  color: var(--blanc);
}

.acc-philo-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* .acc-philo-label hérite de .title-seo — on n'ajuste QUE la couleur. */
.acc-philo-label {
  color: var(--feu);
}

.acc-philo-title {
  color: var(--blanc);
  margin-bottom: var(--title-gap);
}

.acc-philo-title .text-feu { color: var(--feu); }

.acc-philo-quote {
  border-left: 3px solid var(--feu);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 54, 0, 0.06);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 920px;
}

.acc-philo-quote p {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  color: var(--blanc);
  line-height: 1.35;
  font-style: italic;
  margin-bottom: 1rem;
}

.acc-philo-quote footer {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 0.95vw, 0.9rem);
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-style: normal;
}

.acc-philo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

/* .acc-philo-card : structure portée par .card (voir base.css). */
.acc-philo-card-num {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--feu);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.acc-philo-card h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--blanc);
  margin-bottom: 0.75rem;
}

.acc-philo-card p {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--light-text);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .title-hero {
    font-size: clamp(2.1rem, 6vw, 68px);
  }
}

/* Le lien "Voir l'offre" utilise désormais .btn--inline (cf. base.css). */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .acc-piliers-grid {
    grid-template-columns: 1fr;
  }

  .acc-philo-grid {
    grid-template-columns: 1fr;
  }

  /* Hero : logo plus grand + plus d'air entre yeux et bouton (mobile only). */
  .acc-hero-logo-svg {
    width: 95vmin;
  }

  .acc-hero-logo-inner {
    gap: 13vh;
  }
}

@media (max-width: 600px) {
  .acc-hero-ctas {
    flex-direction: column;
    align-items: center;   /* boutons en largeur naturelle, jamais 100 % */
  }

  .acc-hero-content {
    text-align: left;
  }
}
