/* ============================================================
   WASSA ADVISORY — Main Stylesheet
   Palette : Beige #F5F0E8 | Black #0D0D0D | Gold #C9A84C
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --beige:        #F5F0E8;
  --beige-light:  #FAF7F2;
  --beige-dark:   #E8E0D0;
  --black:        #0D0D0D;
  --black-soft:   #1A1A1A;
  --gold:         #C9A84C;
  --gold-light:   #E2C06A;
  --gold-dark:    #A07830;
  --white:        #FFFFFF;
  --text-muted:   #6B6560;
  --border:       rgba(201,168,76,0.25);
  --shadow-gold:  0 8px 40px rgba(201,168,76,0.18);
  --shadow-dark:  0 8px 40px rgba(13,13,13,0.12);
  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --radius:       16px;
  --radius-sm:    8px;
  --font-primary: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--beige);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--black);
  margin-bottom: 1.25rem;
}

.section-title span { color: var(--gold); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

/* ---------- Utility ---------- */
.container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 30px rgba(201,168,76,0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--beige);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}

/* ---------- Cursor Spotlight ---------- */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
  opacity: 0.6;
}

/* ---------- Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: 0.1em;
}

.loader-logo span { color: var(--gold); }

.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: var(--gold);
  width: 0%;
  border-radius: 2px;
  animation: loadProgress 1.6s ease forwards;
}

@keyframes loadProgress {
  to { width: 100%; }
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(245, 240, 232, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.9rem 0;
  box-shadow: 0 2px 30px rgba(13,13,13,0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--beige-light);
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.06);
  box-shadow: var(--shadow-gold);
}

.navbar.scrolled .nav-logo-img {
  width: 40px;
  height: 40px;
}

.footer-brand .nav-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

@media (max-width: 600px) {
  .nav-logo-img,
  .navbar.scrolled .nav-logo-img { width: 38px; height: 38px; border-radius: 10px; }
}

.nav-logo .logo-main {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.08em;
}

.nav-logo .logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 65%);
  top: -200px; right: -100px;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 65%);
  bottom: -100px; left: -100px;
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse {
  from { transform: scale(1) translateY(0); opacity: 0.7; }
  to   { transform: scale(1.15) translateY(-20px); opacity: 1; }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 8rem 0 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blinkDot 1.5s ease-in-out infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .line-gold { color: var(--gold); }

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-value {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 380px;
  height: 420px;
}

.hero-card {
  position: absolute;
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  padding: 1.75rem;
  transition: var(--transition);
}

.hero-card-main {
  width: 320px;
  top: 40px; left: 30px;
  z-index: 3;
  background: rgba(245,240,232,0.08);
  border-color: rgba(201,168,76,0.4);
}

.hero-card-back-1 {
  width: 300px;
  top: 20px; left: 50px;
  z-index: 2;
  transform: rotate(3deg);
}

.hero-card-back-2 {
  width: 280px;
  top: 0px; left: 70px;
  z-index: 1;
  transform: rotate(6deg);
}

.hero-card-icon {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero-card-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.hero-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 1rem;
}

.floating-badge {
  position: absolute;
  background: var(--gold);
  color: var(--black);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-gold);
  animation: floatBadge 3s ease-in-out infinite alternate;
  z-index: 5;
  white-space: nowrap;
}

.floating-badge-1 { top: -10px; right: 0; }

@keyframes floatBadge {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* ---------- Scroll Indicator ---------- */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeInUp 1s 2s both;
}

.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px; height: 6px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%  { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
  100%{ transform: translateY(0); opacity: 0; }
}

/* ---------- Features Strip ---------- */
.features-strip {
  background: var(--black);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  overflow: hidden;
}

.features-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.features-track:hover {
  animation-play-state: paused;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.feature-item .fi-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

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

/* ---------- About Section ---------- */
.about {
  padding: 7rem 0;
  background: var(--beige);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--black) 0%, #2A2018 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-img-content {
  text-align: center;
  z-index: 1;
  position: relative;
}

.about-img-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(201,168,76,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(201,168,76,0.1) 0%, transparent 50%);
}

.about-accent-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 200px;
  box-shadow: var(--shadow-gold);
}

.about-accent-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--black);
  font-weight: 700;
  line-height: 1;
}

.about-accent-text {
  font-size: 0.78rem;
  color: rgba(13,13,13,0.7);
  font-weight: 600;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.about-content .section-subtitle {
  margin: 0 0 2rem;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-list-icon {
  width: 36px; height: 36px;
  min-width: 36px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-top: 0.1rem;
}

.about-list-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--black);
  margin-bottom: 0.15rem;
}

.about-list-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Formations Section ---------- */
.formations {
  padding: 7rem 0;
  background: var(--beige-light);
  position: relative;
  overflow: hidden;
}

.formations::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);
  top: -100px; right: -100px;
  pointer-events: none;
}

.formations-header {
  text-align: center;
  margin-bottom: 4rem;
}

.formations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.formation-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.formation-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.formation-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.4);
  box-shadow: var(--shadow-gold);
}

.formation-card:hover::before {
  transform: scaleX(1);
}

.formation-card-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.1);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.5rem;
  transition: color var(--transition);
}

.formation-card:hover .formation-card-number {
  color: rgba(201,168,76,0.2);
}

.formation-card-icon {
  width: 50px; height: 50px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.formation-card:hover .formation-card-icon {
  background: var(--gold);
  border-color: var(--gold);
}

.formation-card-title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  color: var(--black);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.formation-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.formation-card-tag {
  display: inline-block;
  margin-top: 1.2rem;
  background: rgba(201,168,76,0.1);
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
}

a.formation-card { display: block; }

.formation-card-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
}

.formation-card-link i { transition: transform var(--transition-fast); }

.formation-card:hover .formation-card-link { color: var(--gold-dark); }
.formation-card:hover .formation-card-link i { transform: translateX(4px); }

/* ---------- Numbers / Stats ---------- */
.numbers {
  padding: 6rem 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.numbers .container {
  position: relative;
  z-index: 1;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.number-item {
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.number-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,168,76,0.03);
  opacity: 0;
  transition: opacity var(--transition);
}

.number-item:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
}

.number-item:hover::before { opacity: 1; }

.number-value {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.number-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Process / Approach ---------- */
.process {
  padding: 7rem 0;
  background: var(--beige);
}

.process-header {
  text-align: center;
  margin-bottom: 5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-step-number {
  width: 80px; height: 80px;
  background: var(--beige-dark);
  border: 2px solid var(--beige-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  transition: var(--transition);
}

.process-step:hover .process-step-number {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(201,168,76,0.4);
}

.step-num {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
}

.process-step:hover .step-num {
  color: var(--black);
}

.process-step-icon {
  font-size: 1.4rem;
  position: absolute;
  top: -10px; right: -10px;
  background: var(--beige);
  border: 2px solid var(--beige-dark);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.process-step:hover .process-step-icon {
  background: var(--black);
  border-color: var(--black);
}

.process-step-title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 7rem 0;
  background: var(--beige-light);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-dark);
  border-color: rgba(201,168,76,0.3);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  color: var(--black);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testimonial-stars {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.85rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 6rem 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 50%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner .section-title {
  color: var(--white);
}

.cta-banner .section-subtitle {
  color: rgba(255,255,255,0.55);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black-soft);
  color: rgba(255,255,255,0.7);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand .nav-logo .logo-main { color: var(--white); }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.75;
  margin-top: 1rem;
  color: rgba(255,255,255,0.5);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links li + li { margin-top: 0.65rem; }

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer-contact-icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: var(--gold); }

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

/* ---------- Contact ---------- */
.contact {
  padding: 7rem 0;
  background: var(--beige-light);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 2.5rem;
  align-items: start;
}

/* Info card */
.contact-info-card {
  background: var(--black);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.14) 0%, transparent 65%);
  pointer-events: none;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.contact-info-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.contact-info-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.contact-info-value {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  transition: color var(--transition-fast);
  word-break: break-all;
}

a.contact-info-value:hover { color: var(--gold-light); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-dark);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.contact-form .form-group:last-of-type { margin-bottom: 0; }

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-control {
  padding: 0.82rem 1rem;
  border: 1.5px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--beige-light);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.13);
  background: var(--white);
}

.form-control::placeholder { color: #bbb3a4; }

/* Champ leurre anti-spam : jamais affiché, jamais lu par les lecteurs d'écran */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.contact-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
  line-height: 1.5;
}

.form-feedback.show-ok {
  display: block;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #15803d;
}

.form-feedback.show-err {
  display: block;
  background: rgba(239,68,68,0.09);
  border: 1px solid rgba(239,68,68,0.3);
  color: #b91c1c;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 7rem 0 4rem;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-card-stack {
    width: 100%;
    max-width: 380px;
    height: 380px;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before { display: none; }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(85vw, 340px);
    height: 100dvh;
    background: var(--beige);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    box-shadow: -4px 0 40px rgba(13,13,13,0.12);
    transition: right var(--transition);
    z-index: 900;
  }

  .nav-menu.open { right: 0; }

  .nav-toggle { display: flex; }

  .cursor-dot, .cursor-ring { display: none; }

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

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-card-stack {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .numbers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 1.75rem 1.25rem;
  }

  .contact-info-card {
    padding: 1.75rem 1.25rem;
  }

}

/* ---------- About — real photo ---------- */
.about-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  display: block;
}

/* ---------- Formations — IA & Digital banner ---------- */
.formations-ai-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 3rem;
  height: 320px;
}

.formations-ai-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.formations-ai-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,13,13,0.95) 0%,
    rgba(13,13,13,0.72) 55%,
    rgba(13,13,13,0.2) 100%
  );
  display: flex;
  align-items: center;
  padding: 2.5rem 3rem;
}

.formations-ai-banner-content {
  max-width: 500px;
}

.formations-ai-banner-content h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}

.formations-ai-banner-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .formations-ai-banner {
    height: 230px;
  }

  .formations-ai-banner-overlay {
    padding: 1.5rem 2rem;
  }

  .formations-ai-banner-content p {
    display: none;
  }
}

/* ---------- Nav overlay on mobile ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.5);
  z-index: 899;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Bloque le défilement de l'arrière-plan quand le menu est ouvert */
body.menu-open { overflow: hidden; }

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  transform: translateY(110%);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.3) transparent;
}

.cookie-banner.cookie-visible {
  transform: translateY(0);
}

/* -------- Panels -------- */
.cookie-panel {
  background: var(--black-soft);
  border-top: 1px solid rgba(201,168,76,0.35);
  padding: 1.5rem 0;
}

.cookie-panel--settings {
  padding: 1.75rem 0 1.25rem;
}

/* -------- Main panel inner -------- */
.cookie-inner {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.cookie-text-wrap {
  flex: 1;
  min-width: 200px;
}

.cookie-title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.cookie-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.cookie-desc strong {
  color: var(--gold);
  font-weight: 600;
}

.cookie-text-link {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-left: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition-fast);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-text-link:hover { color: var(--gold-light); }

/* -------- Action buttons -------- */
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-actions--settings {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto 1rem;
}

.cookie-btn {
  padding: 0.68rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.cookie-btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.cookie-btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 28px rgba(201,168,76,0.5);
  transform: translateY(-2px);
}

.cookie-btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.2);
}

.cookie-btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  transform: translateY(-2px);
}

.cookie-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* -------- Settings header -------- */
.cookie-settings-header {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-back {
  background: none;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.9rem;
  border-radius: 50px;
  transition: var(--transition);
  flex-shrink: 0;
}

.cookie-back:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
}

.cookie-back:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* -------- Cookie categories -------- */
.cookie-categories {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.cookie-category:hover {
  border-color: rgba(201,168,76,0.2);
}

.cookie-cat-info { flex: 1; }

.cookie-cat-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.cookie-cat-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin: 0;
}

.cookie-always-on {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.28rem 0.75rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50px;
}

/* -------- Toggle switch -------- */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-switch-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.cookie-switch-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.cookie-switch input:checked + .cookie-switch-slider {
  background: var(--gold);
  border-color: var(--gold-dark);
}

.cookie-switch input:checked + .cookie-switch-slider::before {
  transform: translateX(20px);
}

.cookie-switch input:focus-visible + .cookie-switch-slider {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* -------- Legal note -------- */
.cookie-legal {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.7;
}

.cookie-legal em { font-style: italic; }

/* -------- Footer reopen button -------- */
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-reopen-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.28);
  font-size: 0.75rem;
  font-family: var(--font-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  transition: color var(--transition-fast);
  letter-spacing: 0.03em;
}

.cookie-reopen-btn:hover { color: var(--gold); }

.cookie-reopen-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------- Responsive -------- */
@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column-reverse;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-actions--settings {
    flex-direction: column-reverse;
  }

  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cookie-settings-header {
    gap: 0.75rem;
  }

  .footer-bottom-right {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .cookie-panel { padding: 1.25rem 0; }
  .cookie-icon  { font-size: 1.6rem; }
  .cookie-title { font-size: 0.98rem; }
}

/* ============================================================
   FORMATION DETAIL PAGE (fp-)
   ============================================================ */

/* ---------- Hero ---------- */
.fp-hero {
  position: relative;
  background: var(--black);
  color: var(--beige);
  padding: 11rem 0 5rem;
  overflow: hidden;
}

.fp-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.18), transparent 65%);
  pointer-events: none;
}

.fp-hero .container { position: relative; z-index: 1; }

.fp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(245,240,232,0.6);
  margin-bottom: 2rem;
}

.fp-breadcrumb a {
  color: rgba(245,240,232,0.6);
  transition: color var(--transition-fast);
}

.fp-breadcrumb a:hover { color: var(--gold); }
.fp-breadcrumb i { font-size: 0.65rem; opacity: 0.5; }
.fp-breadcrumb span[aria-current] { color: var(--gold); }

.fp-hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
}

.fp-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.fp-hero-subtitle {
  font-size: 1.08rem;
  color: rgba(245,240,232,0.75);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* Meta chips */
.fp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.fp-meta-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.1rem;
}

.fp-meta-chip i { color: var(--gold); font-size: 1rem; }

.fp-meta-chip-text { display: flex; flex-direction: column; line-height: 1.3; }

.fp-meta-chip-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245,240,232,0.5);
}

.fp-meta-chip-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--beige);
}

.fp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.fp-price-tag {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.fp-price-tag strong {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--gold);
}

.fp-price-tag span {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.55);
  letter-spacing: 0.04em;
}

/* ---------- Visuel de la fiche formation ---------- */
.fp-visual {
  position: relative;
  background: var(--black);
  padding: 0 0 4rem;
}

.fp-visual-frame {
  position: relative;
  height: clamp(260px, 34vw, 440px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-gold);
  background: var(--black-soft);
  isolation: isolate;
}

/* Arrière-plan flouté : évite les bandes vides quand l'image
   est au format portrait, sans jamais rogner le visuel. */
.fp-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(34px) saturate(1.05) brightness(0.34);
  transform: scale(1.15);
  display: block;
}

.fp-visual-frame picture {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
}

.fp-visual-frame picture.fp-visual-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fp-visual-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.fp-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0) 22%, rgba(13,13,13,0) 78%, rgba(13,13,13,0.55) 100%),
    linear-gradient(180deg, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0) 30%, rgba(13,13,13,0) 62%, rgba(13,13,13,0.5) 100%);
}

.fp-visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.25rem 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(245,240,232,0.82);
  text-shadow: 0 1px 12px rgba(13,13,13,0.9);
}

.fp-visual-caption-mark { color: var(--gold); margin-right: 0.6rem; font-size: 0.95rem; }

@media (max-width: 768px) {
  .fp-visual { padding-bottom: 2.5rem; }
  .fp-visual-frame { height: clamp(200px, 52vw, 300px); }
  .fp-visual-caption { padding: 1rem 1.15rem; font-size: 0.7rem; }
}

/* ---------- Generic section ---------- */
.fp-section { padding: 5rem 0; }
.fp-section--alt { background: var(--beige-light); }

.fp-section-head { margin-bottom: 3rem; max-width: 720px; }

.fp-section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--black);
  margin-bottom: 0.75rem;
}

.fp-section-title span { color: var(--gold); }

.fp-section-intro {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---------- Infos pratiques grid ---------- */
.fp-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.fp-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fp-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.fp-info-card-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}

.fp-info-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.fp-info-card-value {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  color: var(--black);
  line-height: 1.4;
}

/* ---------- Objectifs ---------- */
.fp-objectives {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.fp-objective {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.fp-objective i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--gold);
  font-size: 1.1rem;
}

.fp-objective span { color: var(--black); font-weight: 500; line-height: 1.55; }

/* ---------- Programme (parties) ---------- */
.fp-program {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.fp-part {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fp-part:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.fp-part-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.fp-part-num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--black);
  color: var(--gold);
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.fp-part-title {
  font-size: 1.2rem;
  color: var(--black);
}

.fp-part-list { display: flex; flex-direction: column; gap: 0.75rem; }

.fp-part-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.fp-part-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Méthodes & Évaluation (two cols) ---------- */
.fp-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.fp-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-dark);
}

.fp-panel-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.fp-panel-head i {
  color: var(--gold);
  font-size: 1.3rem;
}

.fp-panel-title { font-size: 1.3rem; color: var(--black); }

.fp-check-list { display: flex; flex-direction: column; gap: 0.9rem; }

.fp-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.fp-check-list li i {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--gold);
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .fp-hero { padding: 9rem 0 4rem; }
  .fp-program { grid-template-columns: 1fr; }
  .fp-duo { grid-template-columns: 1fr; }
  .fp-section { padding: 3.5rem 0; }
  .fp-hero-actions { gap: 1rem; }
}

@media (max-width: 480px) {
  .fp-meta-chip { width: 100%; }
  .fp-hero-actions { flex-direction: column; align-items: stretch; }
  .fp-hero-actions .btn { justify-content: center; }
  .fp-price-tag { align-items: center; text-align: center; }
  .fp-panel { padding: 1.75rem; }
  .fp-part { padding: 1.5rem; }
}


/* ---------- Ajouts 2026 : tarifs catalogue, légende fondatrice, zone d'intervention ---------- */
.formation-card-price {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.hero-stat-value--icon {
  font-size: 1.75rem;
}

.about-img-caption {
  margin-top: 1.1rem;
  padding-right: 220px;
}

.about-img-caption strong {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.15rem;
  color: var(--black);
}

.about-img-caption span {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.about-img-credentials {
  display: block;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about-img-caption { padding-right: 0; }
}

.fp-info-card-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ---------- Fiche formation : modalités & accès ---------- */
.fp-details {
  margin-top: 3.5rem;
}

.fp-details-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.fp-details-head-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.fp-details-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.fp-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.fp-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem 1.75rem;
  box-shadow: var(--shadow-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fp-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.fp-detail-card-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  font-size: 1.05rem;
}

.fp-detail-card-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.fp-detail-card-text {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.fp-detail-card-text a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  transition: color var(--transition-fast);
}

.fp-detail-card-text a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .fp-detail-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.4rem;
  }
}

/* ---------- Mon parcours ---------- */
.journey {
  padding: 7rem 0;
  background: var(--beige-light);
}

.journey-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.journey-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}

.journey-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.journey-card-number {
  width: 80px; height: 80px;
  background: var(--beige-dark);
  border: 2px solid var(--beige-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  transition: var(--transition);
}

.journey-card:hover .journey-card-number {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(201,168,76,0.4);
}

.journey-num {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
}

.journey-card-icon {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--beige);
  border: 2px solid var(--beige-dark);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.journey-card:hover .journey-card-icon {
  background: var(--black);
  border-color: var(--black);
}

.journey-card-title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  color: var(--black);
  margin-bottom: 0.7rem;
  line-height: 1.35;
}

.journey-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .journey { padding: 5rem 0; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-header { margin-bottom: 3rem; }
}

/* ---------- Header sur hero sombre (avant defilement) ---------- */
/* Le hero (accueil) et le fp-hero (fiches formation) sont noirs : sans cette
   regle, le texte du logo, les liens et le bouton burger — tous en --black —
   sont invisibles tant que la navbar n'a pas la classe .scrolled. */
.navbar:not(.scrolled) .nav-logo .logo-main {
  color: var(--beige);
}

@media (min-width: 769px) {
  .navbar:not(.scrolled) .nav-link {
    color: var(--beige);
  }
  .navbar:not(.scrolled) .nav-link:hover,
  .navbar:not(.scrolled) .nav-link.active {
    color: var(--gold-light);
  }
}

@media (max-width: 768px) {
  /* Le menu mobile est un panneau beige : seul le burger, resté sur le hero,
     doit s'eclaircir. */
  .navbar:not(.scrolled) .nav-toggle span {
    background: var(--beige);
  }
}

/* ============================================================
   FAQ  (section #faq — contenu genere par tools/apply-faq.js)
   ============================================================ */
.faq {
  padding: 7rem 0;
  background: var(--beige-light);
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-dark);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.9rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--black);
  margin: 0;
}

.faq-item[open] .faq-question h3 { color: var(--gold-dark); }

.faq-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--beige);
  color: var(--gold-dark);
  font-size: 0.8rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--white);
}

.faq-question:hover .faq-icon { background: var(--beige-dark); }
.faq-item[open] .faq-question:hover .faq-icon { background: var(--gold-dark); }

.faq-answer {
  padding: 0 1.9rem 1.7rem;
  border-top: 1px solid var(--beige-dark);
  padding-top: 1.3rem;
  margin: 0 1.9rem;
  padding-left: 0;
  padding-right: 0;
}

.faq-answer p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .faq { padding: 4.5rem 0; }
  .faq-header { margin-bottom: 2.5rem; }
  .faq-question { padding: 1.25rem 1.35rem; gap: 1rem; }
  .faq-question h3 { font-size: 0.98rem; }
  .faq-answer { margin: 0 1.35rem; padding-bottom: 1.35rem; }
  .faq-answer p { font-size: 0.93rem; }
}

/* Les <img> optimisees sont enveloppees dans un <picture> (source WebP + repli JPEG).
   Le <picture> etant inline par defaut, il doit relayer la taille du conteneur. */
.about-img-wrap picture,
.formations-ai-banner picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================================
   MENTIONS LEGALES  (page mentions-legales.html)
   ============================================================ */
.legal-body {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.legal-block h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--border);
}

.legal-block p {
  font-size: .97rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
}

.legal-block p:last-child { margin-bottom: 0; }

.legal-block strong { color: var(--black); font-weight: 600; }
.legal-block em     { color: var(--gold-dark); font-style: normal; font-weight: 500; }

.legal-block a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.legal-block a:hover { color: var(--black); }

.legal-block ul {
  margin: 0 0 1.1rem;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.legal-block li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .97rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.legal-block li::before {
  content: '';
  position: absolute;
  left: .35rem;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* La page legale reutilise .fp-info-card-value pour des coordonnees cliquables */
.fp-info-card-value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.fp-info-card-value a:hover {
  color: var(--gold-dark);
  border-color: var(--gold);
}

@media (max-width: 768px) {
  .legal-body { gap: 2.25rem; }
  .legal-block h3 { font-size: 1.12rem; }
  .legal-block p,
  .legal-block li { font-size: .93rem; }
}
