/* ============================================================
   FORMATIONS SFSST INC. — style.css
   Version : 2.0 — Standards Google/W3C stricts
   Polices système — zéro téléchargement externe
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --noir:        #0d0d0d;
  --blanc:       #f5f4f0;
  --gris:        #5a5a5a;
  --gris-clair:  #e4e3df;
  --accent:      #c8370a;
  --accent-doux: #f0e8e4;

  --font-titre: Georgia, 'Times New Roman', serif;
  --font-corps: Verdana, Geneva, Tahoma, sans-serif;
  --font-ui:    Arial, Helvetica, sans-serif;

  --nav-height:  72px;
  --section-pad: 6rem 8vw;
}

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

html {
  scroll-behavior: smooth;
  /* Évite le layout shift sur scroll vertical */
  scrollbar-gutter: stable;
}

body {
  background-color: var(--blanc);
  color: var(--noir);
  font-family: var(--font-corps);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  /* Améliore le rendu des polices */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Images — toujours block, jamais de dépassement */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Liens */
a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Listes */
ul, ol { list-style: none; }

/* ── TYPOGRAPHIE ── */
h1 {
  font-family: var(--font-titre);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  color: var(--noir);
  margin-bottom: 1.4rem;
}

h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--noir);
  margin-bottom: 1rem;
}

h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

h4 {
  font-family: var(--font-ui);
  font-size: .82rem;
  font-weight: 700;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: .95rem;
  color: var(--gris);
  max-width: 68ch;
  line-height: 1.9;
}

section { padding: var(--section-pad); }

/* ── LABEL DE SECTION ── */
.section-label {
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.section-label::after {
  content: '';
  flex: 0 0 22px;
  height: 1px;
  background: var(--accent);
}

/* ── BOUTONS ── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .22s, color .22s, border-color .22s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  /* Accessibilité */
  border-radius: 0;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary             { background-color: var(--noir);        color: var(--blanc); }
.btn-primary:hover       { background-color: var(--accent); }
.btn-outline             { background-color: transparent;        color: var(--noir);  border: 1.5px solid var(--noir); }
.btn-outline:hover       { background-color: var(--noir);        color: var(--blanc); }
.btn-blanc               { background-color: var(--blanc);       color: var(--noir); }
.btn-blanc:hover         { background-color: var(--accent);      color: var(--blanc); }
.btn-outline-blanc       { background-color: transparent;        color: var(--blanc); border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-blanc:hover { background-color: var(--blanc);       color: var(--noir); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: var(--nav-height);
  background-color: rgba(245, 244, 240, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-clair);
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 400;
  color: var(--gris);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--noir); }

.nav-tel {
  font-weight: 700 !important;
  color: var(--accent) !important;
}

/* Burger — mobile uniquement */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  /* Accessibilité */
  border-radius: 0;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--noir);
  transition: transform .3s, opacity .3s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background-color: var(--blanc);
  border-bottom: 1px solid var(--gris-clair);
  padding: 1.2rem 5vw 1.8rem;
  z-index: 99;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-ui);
  font-size: .95rem;
  color: var(--gris);
  padding: .7rem 0;
  border-bottom: 1px solid var(--gris-clair);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile a:last-child {
  border-bottom: none;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   HERO — page d'accueil
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-height);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vw 5vw 6vw 8vw;
}

.hero-badge {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: 1.6rem;
  line-height: 1.6;
}
.hero-badge strong { display: block; font-size: .82rem; }

.hero-desc {
  font-size: .95rem;
  color: var(--gris);
  max-width: 50ch;
  margin-bottom: 2.6rem;
  line-height: 1.9;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Côté droit du hero : image + overlay + stats */
.hero-right {
  position: relative;
  overflow: hidden;
  background-color: var(--noir);
  min-height: 400px;
}

.hero-right-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .63;
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 13, 13, .57) 0%,
    rgba(13, 13, 13, .15) 60%,
    transparent 100%
  );
  /* Décoration — pas de contenu */
  aria-hidden: true;
}

.hero-stat-grid {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: rgba(255, 255, 255, .06);
}

.hero-stat {
  padding: 2rem 1.8rem;
  background-color: rgba(13, 13, 13, .55);
}

.hero-stat-num {
  font-family: var(--font-titre);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blanc);
  line-height: 1;
  margin-bottom: .4rem;
}
.hero-stat-num span { color: var(--accent); }

.hero-stat-label {
  font-family: var(--font-ui);
  font-size: .7rem;
  color: rgba(245, 244, 240, .5);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Animations hero ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left > * {
  animation: fadeUp .65s ease both;
  /* Évite le flash avant l'animation */
  animation-fill-mode: both;
}
.hero-left > *:nth-child(1) { animation-delay: .10s; }
.hero-left > *:nth-child(2) { animation-delay: .22s; }
.hero-left > *:nth-child(3) { animation-delay: .34s; }
.hero-left > *:nth-child(4) { animation-delay: .46s; }

/* ============================================================
   SECTION INTRO — texte + image côte à côte
   ============================================================ */
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.intro-image {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.intro-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.intro-content {
  padding: 6rem 6vw;
  background-color: var(--blanc);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-content p {
  font-size: .92rem;
  color: var(--gris);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.mission-line {
  font-family: var(--font-titre);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  margin: 1.4rem 0 1rem;
  line-height: 1.2;
}

.intro-apres {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--noir);
  margin-top: 1rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

/* ============================================================
   FORMATIONS
   ============================================================ */
.formations-section { background-color: var(--blanc); }

/* Deux grandes catégories */
.formations-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--gris-clair);
  margin-top: 3.5rem;
}

.categorie-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  text-decoration: none;
  background-color: var(--noir);
  transition: transform .3s;
}
.categorie-card:hover { transform: scale(1.01); }

.categorie-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: .53;
  transition: opacity .3s;
}
.categorie-card:hover img { opacity: .63; }

.categorie-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,.92) 0%, transparent 60%);
}

.categorie-card-body {
  position: relative;
  z-index: 1;
  padding: 2.2rem;
}

.categorie-tag {
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.categorie-card-body h3 {
  font-family: var(--font-titre);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blanc);
  margin-bottom: .7rem;
  line-height: 1.25;
}

.categorie-card-body p {
  font-size: .88rem;
  color: rgba(245, 244, 240, .6);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 0;
}

.categorie-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blanc);
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.categorie-link:hover { color: var(--accent); border-color: var(--accent); }

/* Titre sous-formations */
.sous-formations-titre {
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 700;
  color: var(--noir);
  margin: 3.5rem 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sous-formations-titre::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--gris-clair);
}

/* Grille des formations individuelles */
.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--gris-clair);
}

.formation-card {
  background-color: var(--blanc);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background-color .25s;
}
.formation-card > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.formation-card:hover { background-color: var(--noir); }
.formation-card:hover .fc-title,
.formation-card:hover .fc-desc { color: var(--blanc); }
.formation-card:hover .fc-link  { color: var(--accent); border-color: var(--accent); }
.formation-card:hover .fc-photo { opacity: .55; }

.fc-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: opacity .3s;
}

.fc-body {
  padding: 1.6rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fc-title {
  font-family: var(--font-ui);
  font-size: .92rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: .5rem;
  transition: color .25s;
}

.fc-desc {
  font-size: .82rem;
  color: var(--gris);
  line-height: 1.75;
  transition: color .25s;
  flex: 1;
  margin-bottom: 0;
}

.fc-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}

/* ============================================================
   SECTION POURQUOI
   ============================================================ */
.pourquoi-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  gap: 0;
}

.pourquoi-photo {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

.pourquoi-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pourquoi-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, rgba(13,13,13,.6) 100%);
}

.pourquoi-content {
  background-color: var(--noir);
  padding: 6rem 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pourquoi-content h2 {
  color: var(--blanc);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.avantages-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.avantage {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.avantage-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background-color: rgba(200, 55, 10, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
}
.avantage-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.avantage-text h3 {
  font-size: .88rem;
  color: var(--blanc);
  margin-bottom: .2rem;
}
.avantage-text p {
  font-size: .82rem;
  color: rgba(245, 244, 240, .45);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   PHILOSOPHIE
   ============================================================ */
.philosophie-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.philo-left {
  padding: 6rem 6vw;
  background-color: var(--accent-doux);
}

.philo-right {
  padding: 6rem 6vw;
  background-color: var(--gris-clair);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.philo-quote {
  font-family: var(--font-titre);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  color: var(--accent);
  margin-top: 1.8rem;
}

.philo-right p {
  font-size: .88rem;
  color: var(--gris);
  line-height: 1.9;
  margin-bottom: 1rem;
}

/* ============================================================
   CLIENTS + TÉMOIGNAGES
   ============================================================ */
.clients-section {
  background-color: #2e2e2e;
  padding: 5rem 0 6rem;
}

.ct-header {
  padding: 0 8vw 2.5rem;
}
.ct-header h2 { color: var(--blanc); }
.ct-header .lead { color: rgba(245, 244, 240, .5); }
.ct-header .section-label { color: var(--accent); }

/* Carrousel logos — 3 rangées */
.logos-carousel-wrap { overflow: hidden; margin-bottom: 3.5rem; }

.logos-row {
  display: flex;
  gap: 48px;
  align-items: center;
  width: max-content;
  padding: 10px 0;
}
.logos-row-1 { animation: scroll-left  28s linear infinite; }
.logos-row-2 { animation: scroll-right 32s linear infinite; margin-top: 12px; }
.logos-row-3 { animation: scroll-left  36s linear infinite; margin-top: 12px; }

.logos-row img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: .65;
  flex-shrink: 0;
  transition: opacity .25s;
}
.logos-row img:hover { opacity: 1; }
.logos-carousel-wrap:hover .logos-row { animation-play-state: paused; }

@keyframes scroll-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); }    }

/* Témoignages */
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: rgba(255, 255, 255, .06);
  padding: 0 8vw;
}

.temoignage {
  background-color: rgba(255, 255, 255, .04);
  padding: 2rem 1.8rem;
  position: relative;
}
.temoignage::before {
  content: '\201C';
  font-family: var(--font-titre);
  font-size: 3.5rem;
  color: var(--accent);
  line-height: .8;
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  opacity: .25;
  /* Décoratif */
  aria-hidden: true;
}

.temoignage p {
  font-size: .85rem;
  color: rgba(245, 244, 240, .6);
  line-height: 1.85;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.temoignage-auteur {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
}

/* ============================================================
   GARANTIE + CTA — deux colonnes côte à côte
   ============================================================ */
.garantie-cta-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Colonne gauche : garantie orange */
.garantie-section {
  background-color: var(--accent);
  padding: 3.5rem 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.garantie-text h2 {
  color: var(--blanc);
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
  margin-bottom: .7rem;
}

.garantie-text p {
  color: rgba(255, 255, 255, .85);
  font-size: .88rem;
  line-height: 1.85;
  margin-bottom: 0;
}

.garantie-badge {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}

.garantie-badge .badge-label {
  font-family: var(--font-ui);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.garantie-badge .badge-value {
  font-family: var(--font-titre);
  font-size: .95rem;
  font-weight: 700;
  color: var(--blanc);
  line-height: 1.3;
}

/* Colonne droite : CTA noir */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--noir);
}

.cta-section h2 {
  color: var(--blanc);
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  max-width: 36ch;
}

.lead-cta {
  font-size: .9rem;
  color: rgba(245, 244, 240, .5);
  max-width: 52ch;
  margin-top: .6rem;
  line-height: 1.85;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.cta-contact {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.cta-contact p {
  font-family: var(--font-ui);
  font-size: .78rem;
  color: rgba(245, 244, 240, .4);
  margin-bottom: .6rem;
}

.tel-link {
  display: block;
  font-family: var(--font-titre);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blanc);
  text-decoration: none;
  margin-bottom: .2rem;
  transition: color .2s;
  white-space: nowrap;
}
.tel-link:hover { color: var(--accent); }

.adresse {
  font-family: var(--font-ui);
  font-size: .82rem;
  color: rgba(245, 244, 240, .45);
  line-height: 1.7;
  margin-top: .5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #080808;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 8vw;
}

.footer-logo img {
  height: 58px;
  width: auto;
  opacity: .8;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-family: var(--font-ui);
  font-size: .75rem;
  color: rgba(245, 244, 240, .28);
  margin-top: .7rem;
  max-width: 28ch;
  line-height: 1.75;
}

.footer-contact { margin-top: 1.2rem; }

.footer-tel {
  display: block;
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: .2rem;
  transition: color .2s;
}
.footer-tel:hover { color: var(--blanc); }

.footer-tel-sec {
  display: block;
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 700;
  color: rgba(245, 244, 240, .28);
  text-decoration: none;
  margin-bottom: .6rem;
  transition: color .2s;
}
.footer-tel-sec:hover { color: var(--blanc); }

.footer-adresse {
  font-family: var(--font-ui);
  font-size: .75rem;
  color: rgba(245, 244, 240, .25);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, .35);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-col a {
  font-family: var(--font-ui);
  font-size: .8rem;
  color: rgba(245, 244, 240, .4);
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding: 1.2rem 8vw;
  border-top: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom small {
  font-family: var(--font-ui);
  font-size: .72rem;
  color: rgba(245, 244, 240, .18);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-family: var(--font-ui);
  font-size: .72rem;
  color: rgba(245, 244, 240, .25);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--blanc); }

/* ============================================================
   RESPONSIVE — TABLETTE (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .formations-grid       { grid-template-columns: repeat(2, 1fr); }
  .formations-categories { grid-template-columns: 1fr; }
  .footer-top            { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 5vw; }

  /* Nav */
  .nav-links  { display: none; }
  .nav-burger { display: flex; }

  /* Hero */
  .hero-section        { grid-template-columns: 1fr; min-height: auto; }
  .hero-left           { padding: 3.5rem 6vw 3rem; }
  .hero-right          { min-height: 55vw; }
  .hero-stat-num       { font-size: 2rem; }

  /* Intro */
  .intro-section       { grid-template-columns: 1fr; }
  .intro-image         { min-height: 260px; }
  .intro-content       { padding: 3.5rem 6vw; }

  /* Formations */
  .formations-grid     { grid-template-columns: 1fr; }

  /* Pourquoi */
  .pourquoi-section    { grid-template-columns: 1fr; }
  .pourquoi-photo      { min-height: 240px; }
  .pourquoi-photo-overlay {
    background: linear-gradient(to bottom, transparent 50%, var(--noir) 100%);
  }
  .pourquoi-content    { padding: 3.5rem 6vw; }

  /* Philosophie */
  .philosophie-section { grid-template-columns: 1fr; }
  .philo-left,
  .philo-right         { padding: 3.5rem 6vw; }

  /* Témoignages */
  .temoignages-grid    { grid-template-columns: 1fr; padding: 0 5vw; }

  /* Garantie + CTA */
  .garantie-cta-wrapper { grid-template-columns: 1fr; }
  .cta-section          { padding: 3.5rem 6vw; }

  /* Footer */
  .footer-top          { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.5rem 5vw; }
  .footer-bottom       { padding: 1rem 5vw; flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — PETIT MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --section-pad: 2.8rem 4vw; }

  h1 { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }
  h2 { font-size: clamp(1.3rem, 5.5vw, 1.6rem); }

  .hero-actions,
  .cta-btns            { flex-direction: column; }
  .btn                 { width: 100%; text-align: center; }

  .hero-stat-grid      { grid-template-columns: 1fr 1fr; }
  .hero-stat           { padding: 1.2rem 1rem; }
  .hero-stat-num       { font-size: 1.7rem; }

  .logos-row img       { height: 24px; }

  .footer-top          { grid-template-columns: 1fr; }
}
