/* ============================================================
   SAMA WEBSITE 06 — LUXURY EDITION
   Colors: Bordeaux #6B2D3E | Rose Gold #C8A97A | Near-black #1A1016 | Ivory #FBF8F3
   Fonts: Cormorant Garamond + Lato
   ============================================================ */

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

:root {
  --bordeaux: #6B2D3E;
  --bordeaux-dark: #4A1E2B;
  --bordeaux-light: #8C3D52;
  --rose-gold: #C8A97A;
  --rose-gold-light: #DEC49A;
  --near-black: #1A1016;
  --ivory: #FBF8F3;
  --ivory-dark: #F0EBE2;
  --white: #FFFFFF;
  --text-muted: #6B5F5A;
  --border: rgba(200, 169, 122, 0.3);
  --shadow: 0 8px 40px rgba(26, 16, 22, 0.12);
  --shadow-hover: 0 16px 60px rgba(26, 16, 22, 0.2);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--ivory);
  color: var(--near-black);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.lead-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--near-black);
}

/* --- CONTAINER --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- SECTION HEADER --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  color: var(--near-black);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* --- ORNAMENTS --- */
.ornament {
  font-family: var(--font-serif);
  color: var(--rose-gold);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  margin-bottom: 1.25rem;
  display: block;
}

.ornament-inline {
  color: var(--rose-gold);
  font-size: 1rem;
}

/* --- NAVIGATION --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}

.navbar.scrolled {
  background: rgba(26, 16, 22, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-mark {
  color: var(--rose-gold);
  font-size: 1.2rem;
  display: block;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.15em;
  display: block;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-gold);
  display: block;
}

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

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color var(--transition);
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rose-gold);
  transition: width var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.nav-cta {
  background: var(--bordeaux);
  color: var(--ivory);
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--rose-gold);
  letter-spacing: 0.08em;
  transition: all var(--transition);
}

.nav-links a.nav-cta:hover {
  background: var(--rose-gold);
  color: var(--near-black);
}

.nav-links a.nav-cta::after {
  display: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--near-black);
  padding: 100px 2rem 4rem;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(107,45,62,0.6) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(200,169,122,0.15) 0%, transparent 50%),
              linear-gradient(135deg, #1A1016 0%, #2D1520 50%, #1A1016 100%);
  animation: gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% { opacity: 1; }
  100% { opacity: 0.85; }
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 680px;
  padding-right: 2rem;
}

.hero-ornament {
  font-family: var(--font-serif);
  color: var(--rose-gold);
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-title em {
  font-style: italic;
  color: var(--rose-gold);
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: var(--rose-gold);
  margin-bottom: 1.5rem;
  animation: expandWidth 0.8s ease 0.5s both;
}

@keyframes expandWidth {
  from { width: 0; }
  to { width: 80px; }
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: rgba(251,248,243,0.75);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 300;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.badge {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-gold);
  border: 1px solid rgba(200,169,122,0.4);
  padding: 0.4rem 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-image-reveal {
  position: relative;
  flex: 0 0 auto;
  width: 420px;
  animation: fadeInRight 1s ease 0.8s both;
}

.hero-image-frame {
  position: relative;
}

.hero-image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: grayscale(20%) sepia(10%);
}

.image-frame-border {
  position: absolute;
  top: 20px;
  right: -20px;
  bottom: -20px;
  left: 20px;
  border: 1px solid var(--rose-gold);
  z-index: -1;
  pointer-events: none;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--bordeaux);
  color: var(--ivory);
  padding: 1rem 2rem;
  border: 1px solid var(--bordeaux);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rose-gold);
  transform: translateX(-100%);
  transition: transform var(--transition);
}

.btn-primary:hover {
  color: var(--near-black);
  border-color: var(--rose-gold);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span, .btn-primary strong {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 1rem 2rem;
  border: 1px solid rgba(251,248,243,0.35);
  transition: all var(--transition);
}

.btn-ghost:hover {
  border-color: var(--rose-gold);
  color: var(--rose-gold);
}

.btn-primary.light {
  background: var(--rose-gold);
  color: var(--near-black);
  border-color: var(--rose-gold);
}

.btn-primary.light:hover {
  background: var(--ivory);
  border-color: var(--ivory);
}

.btn-ghost.light {
  color: var(--ivory);
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost.light:hover {
  color: var(--rose-gold);
  border-color: var(--rose-gold);
}

/* --- DISTINCTION BANNER --- */
.distinction-banner {
  background: var(--bordeaux-dark);
  padding: 3rem 0;
}

.distinction-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.distinction-item {
  text-align: center;
  color: var(--ivory);
}

.distinction-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--rose-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.distinction-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251,248,243,0.7);
}

.distinction-sep {
  color: var(--rose-gold);
  font-size: 1.2rem;
  opacity: 0.5;
}

/* --- SECTIONS BASE --- */
section {
  padding: 6rem 0;
}

/* --- OBJECTIF --- */
.section-objectif {
  background: var(--ivory);
}

.objectif-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: start;
}

.objectif-text p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.objectif-text p:first-child {
  color: var(--near-black);
}

.pull-quote {
  border-left: 3px solid var(--rose-gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--ivory-dark);
  position: relative;
}

.pull-quote.centered {
  text-align: center;
  border-left: none;
  border-top: 1px solid var(--rose-gold);
  border-bottom: 1px solid var(--rose-gold);
  max-width: 700px;
  margin: 3rem auto;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--rose-gold);
  line-height: 0;
  vertical-align: -1rem;
  margin-right: 0.5rem;
  opacity: 0.6;
}

.pull-quote p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--bordeaux-dark);
  line-height: 1.6;
}

.objectif-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: sepia(5%);
}

.image-caption {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--rose-gold);
  margin-top: 0.75rem;
  text-transform: uppercase;
}

/* --- ACTIVITES --- */
.section-activites {
  background: var(--near-black);
}

.section-activites .section-title,
.section-activites .section-subtitle,
.section-activites .ornament {
  color: var(--ivory);
}

.section-activites .section-subtitle {
  color: rgba(251,248,243,0.6);
}

.activites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2px;
}

.activite-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,169,122,0.15);
  padding: 2.5rem;
  transition: all var(--transition);
}

.activite-card:hover {
  background: rgba(107,45,62,0.3);
  border-color: var(--rose-gold);
  transform: translateY(-4px);
}

.activite-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--rose-gold);
  opacity: 0.5;
  margin-bottom: 1rem;
  display: block;
}

.activite-card h3 {
  color: var(--ivory);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.activite-card p {
  color: rgba(251,248,243,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- PUBLIC & PREREQS --- */
.section-public {
  background: var(--ivory-dark);
}

.public-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.public-block, .prereqs-block {
  padding: 3rem;
  background: var(--ivory);
  border-top: 3px solid var(--bordeaux);
}

.elegant-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.elegant-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--rose-gold);
  font-size: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
}

.elegant-list li:last-child {
  border-bottom: none;
}

/* --- COMPETENCES --- */
.section-competences {
  background: var(--ivory);
}

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

.comp-category {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--bordeaux);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.comp-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(200,169,122,0.15);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.comp-item:last-child {
  border-bottom: none;
}

.comp-icon {
  color: var(--rose-gold);
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 0.3rem;
}

/* --- PROGRAMME --- */
.section-programme {
  background: var(--near-black);
}

.section-programme .section-title,
.section-programme .section-subtitle,
.section-programme .ornament {
  color: var(--ivory);
}

.section-programme .section-subtitle {
  color: rgba(251,248,243,0.6);
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5px;
  background: rgba(200,169,122,0.1);
}

.module-card {
  background: var(--near-black);
  padding: 2.5rem;
  border-top: 3px solid var(--bordeaux);
  transition: border-color var(--transition);
}

.module-card:hover {
  border-top-color: var(--rose-gold);
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.module-num {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-gold);
}

.module-duration {
  font-size: 0.75rem;
  color: rgba(251,248,243,0.4);
  letter-spacing: 0.05em;
}

.module-card h3 {
  color: var(--ivory);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.module-card ul li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: rgba(251,248,243,0.6);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.module-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rose-gold);
  opacity: 0.6;
}

.module-card ul li:last-child {
  border-bottom: none;
}

.programme-note {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: rgba(251,248,243,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* --- EVALUATION --- */
.section-evaluation {
  background: var(--ivory-dark);
}

.evaluation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.eval-item {
  background: var(--ivory);
  padding: 2.5rem;
  border-bottom: 3px solid var(--bordeaux);
  transition: all var(--transition);
}

.eval-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.eval-icon {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--bordeaux);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.eval-item h3 {
  color: var(--near-black);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.eval-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- DEBOUCHES --- */
.section-debouches {
  background: var(--ivory);
}

.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.secteur-card {
  background: var(--ivory-dark);
  padding: 2rem;
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.secteur-card:hover {
  border-left-color: var(--bordeaux);
  background: var(--ivory);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.secteur-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.secteur-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--bordeaux-dark);
  margin-bottom: 0.5rem;
}

.secteur-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CARRIERES --- */
.section-carrieres {
  background: var(--ivory-dark);
}

.carrieres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.carriere-card {
  background: var(--ivory);
  padding: 2.5rem;
  border-top: 4px solid var(--bordeaux);
  transition: all var(--transition);
}

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

.carriere-card h3 {
  color: var(--near-black);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.salaire {
  background: var(--bordeaux);
  padding: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.salaire-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251,248,243,0.7);
  margin-bottom: 0.25rem;
}

.salaire-range {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--rose-gold);
}

.carriere-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- METHODES --- */
.section-methodes {
  background: var(--ivory);
}

.methodes-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.methode-item {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.methode-item:last-child {
  border-bottom: none;
}

.methode-item:hover {
  padding-left: 1rem;
}

.methode-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--bordeaux);
  opacity: 0.2;
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}

.methode-content h3 {
  font-size: 1.2rem;
  color: var(--near-black);
  margin-bottom: 0.75rem;
}

.methode-content p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- ACCES --- */
.section-acces {
  background: var(--near-black);
}

.section-acces .section-title {
  color: var(--ivory);
}

.acces-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.acces-block, .delais-block {
  border-top: 1px solid rgba(200,169,122,0.3);
  padding-top: 2rem;
}

.acces-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.acces-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.acces-icon {
  color: var(--rose-gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.acces-item strong {
  color: var(--ivory);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.25rem;
}

.acces-item p {
  color: rgba(251,248,243,0.5);
  font-size: 0.875rem;
  line-height: 1.6;
}

.delais-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.delai-item {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.delai-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--rose-gold);
  flex-shrink: 0;
  width: 100px;
  line-height: 1;
}

.delai-item p {
  color: rgba(251,248,243,0.6);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- VALIDATION --- */
.section-validation {
  background: var(--ivory-dark);
}

.validation-content {
  display: flex;
  justify-content: center;
}

.validation-card {
  background: var(--ivory);
  border-top: 4px solid var(--bordeaux);
  padding: 3rem;
  max-width: 800px;
  width: 100%;
  box-shadow: var(--shadow);
}

.validation-badge {
  display: inline-block;
  background: var(--bordeaux);
  color: var(--rose-gold);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  padding: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
}

.validation-card h3 {
  font-size: 1.4rem;
  color: var(--near-black);
  margin-bottom: 0.5rem;
}

.validation-level {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1.25rem;
}

.validation-card > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.validation-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.val-detail strong {
  color: var(--bordeaux-dark);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.val-detail p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* --- TARIFS --- */
.section-tarifs {
  background: var(--ivory);
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.tarif-card {
  background: var(--ivory-dark);
  border-top: 4px solid var(--bordeaux);
  position: relative;
  transition: all var(--transition);
}

.tarif-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.tarif-card.featured {
  border-top-color: var(--rose-gold);
  background: var(--ivory);
}

.tarif-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose-gold);
  color: var(--near-black);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  white-space: nowrap;
}

.tarif-header {
  padding: 2.5rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.tarif-badge {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 0.5rem;
}

.tarif-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--near-black);
  margin-bottom: 1rem;
}

.tarif-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--bordeaux);
}

.price-ttc {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.tarif-body {
  padding: 2rem;
}

.tarif-features li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(200,169,122,0.15);
}

.tarif-features li:last-child {
  border-bottom: none;
  color: var(--bordeaux);
  font-weight: 700;
}

.feat-icon {
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--rose-gold);
  font-size: 0.6rem;
}

.btn-tarif {
  display: block;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--bordeaux);
  padding: 0.9rem 2rem;
  border: 1px solid var(--bordeaux);
  margin-top: 1.5rem;
  transition: all var(--transition);
}

.btn-tarif:hover, .btn-tarif.featured {
  background: var(--bordeaux);
  color: var(--ivory);
}

.tarifs-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* --- FINANCEMENT --- */
.section-financement {
  background: var(--ivory-dark);
}

.financement-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.financement-card {
  background: var(--ivory);
  padding: 2.5rem;
  border-bottom: 3px solid var(--bordeaux);
  transition: all var(--transition);
}

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

.fin-icon {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  background: var(--bordeaux);
  color: var(--rose-gold);
  display: inline-block;
  padding: 0.4rem 0.8rem;
  margin-bottom: 1.25rem;
}

.financement-card h3 {
  color: var(--near-black);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.financement-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.fin-list li {
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--bordeaux-dark);
}

.financement-cta {
  text-align: center;
  padding: 3rem;
  background: var(--bordeaux-dark);
}

.financement-promise {
  color: var(--ivory);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.financement-promise strong {
  color: var(--rose-gold);
}

/* --- TEMOIGNAGES --- */
.section-temoignages {
  background: var(--ivory);
}

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.temoignage-card {
  background: var(--ivory-dark);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 2px solid transparent;
  transition: all var(--transition);
}

.temoignage-card:hover {
  border-top-color: var(--rose-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.temoignage-portrait {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--rose-gold);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.temoignage-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stars {
  color: var(--rose-gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.temoignage-content blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.temoignage-author strong {
  display: block;
  color: var(--near-black);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.temoignage-author span {
  font-size: 0.8rem;
  color: var(--rose-gold);
  letter-spacing: 0.05em;
}

/* --- FAQ --- */
.section-faq {
  background: var(--near-black);
}

.section-faq .section-title,
.section-faq .section-subtitle,
.section-faq .ornament {
  color: var(--ivory);
}

.section-faq .section-subtitle {
  color: rgba(251,248,243,0.6);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(200,169,122,0.2);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.4;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--rose-gold);
}

.faq-icon {
  color: var(--rose-gold);
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 1.5rem;
}

.faq-answer.open {
  display: block;
}

.faq-answer p {
  color: rgba(251,248,243,0.65);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* --- CONTACT --- */
.section-contact {
  background: var(--ivory-dark);
}

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

.contact-info .section-title {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-info .section-subtitle {
  font-family: var(--font-sans);
  max-width: none;
  text-align: left;
  margin: 0 0 2rem 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.contact-icon {
  color: var(--rose-gold);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-detail strong {
  color: var(--near-black);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-detail p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: sepia(10%);
}

.contact-form-wrapper {
  background: var(--ivory);
  padding: 3rem;
  border-top: 4px solid var(--bordeaux);
  box-shadow: var(--shadow);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.4rem;
  color: var(--near-black);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--near-black);
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.9rem 1rem;
  background: var(--ivory-dark);
  border: 1px solid var(--border);
  color: var(--near-black);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bordeaux);
  background: var(--ivory);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--bordeaux);
  color: var(--ivory);
  border: none;
  padding: 1.1rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
  width: 100%;
}

.btn-submit:hover {
  background: var(--bordeaux-dark);
}

.btn-arrow {
  font-size: 1.2rem;
  font-weight: 300;
}

.form-success {
  text-align: center;
  padding: 3rem;
  background: var(--ivory-dark);
}

.success-icon {
  font-size: 2.5rem;
  color: var(--rose-gold);
  margin-bottom: 1rem;
}

.form-success h3 {
  color: var(--near-black);
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.form-success p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- FINAL CTA --- */
.section-final-cta {
  background: var(--bordeaux-dark);
  text-align: center;
}

.final-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.ornament.light {
  color: var(--rose-gold);
}

.final-cta-content h2 {
  color: var(--ivory);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1.25rem;
}

.final-cta-content > p {
  color: rgba(251,248,243,0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

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

.final-reassurance {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(251,248,243,0.5);
}

/* --- FOOTER --- */
.footer {
  background: var(--near-black);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(200,169,122,0.15);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-mark {
  color: var(--rose-gold);
}

.footer-logo .logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--ivory);
  letter-spacing: 0.1em;
}

.footer-brand p {
  color: rgba(251,248,243,0.45);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-links h4, .footer-legal h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1.25rem;
}

.footer-links ul li, .footer-legal ul li {
  margin-bottom: 0.5rem;
}

.footer-links a, .footer-legal a {
  color: rgba(251,248,243,0.5);
  font-size: 0.875rem;
  transition: color var(--transition);
}

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

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

.footer-bottom p {
  color: rgba(251,248,243,0.3);
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-ornament {
  color: var(--rose-gold);
  opacity: 0.4;
  margin-top: 1rem;
  letter-spacing: 0.5em;
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--bordeaux);
  color: var(--rose-gold);
  border: 1px solid var(--rose-gold);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--rose-gold);
  color: var(--near-black);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fade.visible,
.animate-slide-right.visible {
  opacity: 1;
  transform: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding-top: 120px;
  }
  .hero-content {
    padding-right: 0;
    max-width: 100%;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-image-reveal {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-image-frame img {
    height: 380px;
  }
  .objectif-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .competences-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .public-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .acces-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .validation-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--near-black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.2rem;
  }
  .nav-hamburger {
    display: flex;
  }
  .distinction-grid {
    flex-direction: column;
    gap: 2rem;
  }
  .distinction-sep {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .public-block, .prereqs-block {
    padding: 2rem;
  }
  .contact-form-wrapper {
    padding: 2rem;
  }
  .tarifs-grid {
    grid-template-columns: 1fr;
  }
  .carrieres-grid {
    grid-template-columns: 1fr;
  }
  .methode-item {
    flex-direction: column;
    gap: 1rem;
  }
  .methode-number {
    width: auto;
    font-size: 2rem;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .programme-grid {
    grid-template-columns: 1fr;
  }
  .evaluation-grid {
    grid-template-columns: 1fr;
  }
  .temoignages-grid {
    grid-template-columns: 1fr;
  }
  .financement-layout {
    grid-template-columns: 1fr;
  }
  .final-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .secteurs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero {
    padding: 100px 1.25rem 3rem;
  }
  .nav-inner {
    padding: 0 1.25rem;
  }
  .btn-primary, .btn-ghost {
    font-size: 0.7rem;
    padding: 0.9rem 1.5rem;
  }
  .hero-image-frame img {
    height: 280px;
  }
}
