@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --bleu:        #1B2D6E;
  --bleu-clair:  #2A3F8F;
  --bleu-pale:   #EEF1FA;
  --or:          #C9A84C;
  --or-clair:    #E8C97A;
  --blanc:       #FFFFFF;
  --gris:        #F5F6FA;
  --texte:       #1a1a2e;
  --texte-clair: #555577;
  --font-titre:  'Cormorant Garamond', Georgia, serif;
  --font-corps:  'Jost', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-corps); color: var(--texte); background: var(--blanc); font-size: 20px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bleu);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 80px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav-logo a { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 56px; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
  padding-bottom: 4px; border-bottom: 2px solid transparent; transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--or); border-bottom-color: var(--or); }

/* FOOTER */
footer {
  background: var(--bleu); color: rgba(255,255,255,0.7);
  padding: 50px 80px 30px; font-size: 14px; line-height: 1.8;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--or); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { color: inherit; text-decoration: none; }
.footer-col a:hover { color: var(--or); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 12px; }
.footer-logo a { display: inline-block; }
.footer-logo img { height: 52px; display: block; margin-bottom: 16px; }

/* TYPO */
.section-tag {
  display: inline-block; color: var(--or);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 14px;
}
.section-titre {
  font-family: var(--font-titre); font-size: clamp(32px,4vw,52px);
  font-weight: 600; color: var(--bleu); line-height: 1.1; margin-bottom: 20px;
}
.section-trait { width: 50px; height: 3px; background: var(--or); margin-bottom: 24px; }
.section-trait.centre { margin: 0 auto 24px; }

/* BOUTON */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border: 2px solid var(--or);
  color: var(--or); text-decoration: none;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  transition: all 0.3s; cursor: pointer; background: transparent; font-family: var(--font-corps);
}
.btn:hover { background: var(--or); color: var(--bleu); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up  { animation: fadeUp 0.8s ease forwards; }
.delay-1  { animation-delay: 0.10s; opacity: 0; }
.delay-2  { animation-delay: 0.25s; opacity: 0; }
.delay-3  { animation-delay: 0.40s; opacity: 0; }
.delay-4  { animation-delay: 0.55s; opacity: 0; }

/* PAGE HERO */
.page-hero {
  background: var(--bleu); padding: 160px 80px 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: -150px; top: -150px;
  width: 500px; height: 500px;
  border: 80px solid rgba(201,168,76,0.06); border-radius: 50%;
}
.page-hero::after {
  content: ''; position: absolute; right: 100px; top: 60px;
  width: 200px; height: 200px;
  border: 30px solid rgba(201,168,76,0.1); border-radius: 50%;
}
.page-hero-inner { max-width: 650px; position: relative; z-index: 1; }
.page-hero .section-titre { color: var(--blanc); }
.page-hero-desc { color: rgba(255,255,255,0.7); font-size: 20px; line-height: 1.8; margin-top: 20px; }
.page-hero-illus {
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  width: 320px; border-radius: 4px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); opacity: 0.85;
}
.page-hero-illus img { width: 100%; display: block; }

/* ═══ INDEX — HERO ═══ */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 80px;
}
.hero-gauche {
  background: var(--bleu);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 70px 80px 80px; position: relative; overflow: hidden;
}
.hero-gauche::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border: 60px solid rgba(201,168,76,0.08); border-radius: 50%;
}
.hero-surtitre { color: var(--or); font-size: 11px; letter-spacing: 4px; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.hero-nom { font-family: var(--font-titre); font-size: clamp(44px,5vw,68px); color: var(--blanc); font-weight: 600; line-height: 1.05; margin-bottom: 10px; }
.hero-titre { font-family: var(--font-titre); font-size: clamp(18px,2vw,24px); color: var(--or); font-weight: 400; letter-spacing: 1px; margin-bottom: 32px; }
.hero-texte { color: rgba(255,255,255,0.75); line-height: 1.8; font-size: 20px; max-width: 420px; margin-bottom: 44px; }
.hero-contacts { display: flex; flex-direction: column; gap: 12px; }
.hero-contact-item { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7); font-size: 20px; }
.hero-contact-item .icone {
  width: 32px; height: 32px; border: 1px solid var(--or); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--or); font-size: 14px; flex-shrink: 0;
}
.hero-droite { position: relative; overflow: hidden; background: #0f1e4a; }
.hero-droite img { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0.9; filter: saturate(0.9); }
.hero-droite::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(transparent, rgba(27,45,110,0.3));
}

/* STATS */
.stats-bar { background: var(--or); display: grid; grid-template-columns: repeat(3,1fr); }
.stat-item { padding: 36px 40px; text-align: center; border-right: 1px solid rgba(27,45,110,0.2); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-titre); font-size: 48px; font-weight: 700; color: var(--bleu); line-height: 1; }
.stat-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--bleu); opacity: 0.8; margin-top: 6px; font-weight: 600; }

/* PRÉSENTATION */
.section-presentation { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.pres-contenu { padding: 100px 80px; display: flex; flex-direction: column; justify-content: center; }
.pres-contenu p { color: var(--texte-clair); line-height: 1.9; font-size: 20px; margin-bottom: 16px; }
.pres-image { position: relative; overflow: hidden; }
.pres-image img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
.pres-citation {
  position: absolute; bottom: -20px; left: 0; right: 0;
  background: var(--bleu); padding: 28px 32px; border-left: 4px solid var(--or);
}
.pres-citation p { color: rgba(255,255,255,0.85); font-family: var(--font-titre); font-size: 20px; font-style: italic; line-height: 1.5; }

/* SAVOIR-FAIRE */
.section-savoirfaire { background: var(--gris); padding: 100px 80px; text-align: center; }
.sf-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 60px; }
.sf-card { background: var(--blanc); padding: 44px 28px; position: relative; transition: all 0.4s; }
.sf-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--or); transform: scaleX(0); transition: transform 0.4s;
}
.sf-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(27,45,110,0.12); }
.sf-card:hover::before { transform: scaleX(1); }
.sf-icone {
  width: 60px; height: 60px; margin: 0 auto 20px;
  border: 2px solid var(--or); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 24px; transition: all 0.3s;
}
.sf-card:hover .sf-icone { background: var(--or); }
.sf-titre { font-family: var(--font-titre); font-size: 22px; font-weight: 600; color: var(--bleu); margin-bottom: 12px; }
.sf-texte { color: var(--texte-clair); font-size: 20px; line-height: 1.7; }

/* VALEURS */
.section-valeurs { padding: 100px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.valeurs-liste { display: flex; flex-direction: column; gap: 32px; }
.valeur-item { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid rgba(27,45,110,0.08); }
.valeur-item:last-child { border-bottom: none; padding-bottom: 0; }
.valeur-num { font-family: var(--font-titre); font-size: 52px; font-weight: 700; color: var(--or); opacity: 0.3; line-height: 0.9; flex-shrink: 0; }
.valeur-titre { font-family: var(--font-titre); font-size: 22px; font-weight: 600; color: var(--bleu); margin-bottom: 8px; }
.valeur-texte { color: var(--texte-clair); font-size: 20px; line-height: 1.7; }
.valeurs-visuel { background: var(--bleu); padding: 60px; position: relative; overflow: hidden; }
.valeurs-visuel::before {
  content: '"'; position: absolute; top: -20px; left: 30px;
  font-family: var(--font-titre); font-size: 200px; color: rgba(201,168,76,0.1); line-height: 1;
}
.valeurs-quote { font-family: var(--font-titre); font-size: 26px; font-style: italic; color: var(--blanc); line-height: 1.6; position: relative; z-index: 1; }
.valeurs-quote-auteur { color: var(--or); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-top: 24px; }

/* SOLUTIONS — CARTES FLIP */
.solutions-section { padding: 100px 80px; background: var(--gris); }
.solutions-intro { text-align: center; max-width: 600px; margin: 0 auto 70px; color: var(--texte-clair); font-size: 20px; line-height: 1.8; }
.cartes-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  align-items: start;
}
.carte-flip {
  height: 320px;
  perspective: 1000px;
  cursor: pointer;
  position: relative;
}
.carte-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4,0.2,0.2,1);
}
.carte-flip:hover .carte-inner, .carte-flip.flipped .carte-inner { transform: rotateY(180deg); }
.carte-face, .carte-dos {
  position: absolute; width: 100%; height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 32px;
}
.carte-face { background: var(--blanc); position: relative; }
.carte-face::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--or); transform: scaleX(0); transition: transform 0.4s;
}
.carte-flip:hover .carte-face::after { transform: scaleX(1); }
.carte-face-icone {
  font-size: 42px; margin-bottom: 20px; width: 80px; height: 80px;
  border: 2px solid rgba(27,45,110,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.carte-flip:hover .carte-face-icone { border-color: var(--or); background: rgba(201,168,76,0.05); }
.carte-face-question { font-family: var(--font-titre); font-size: 20px; font-weight: 600; color: var(--bleu); text-align: center; line-height: 1.4; margin-bottom: 16px; }
.carte-face-hint { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--or); font-weight: 600; }
.carte-dos {
  background: var(--bleu);
  transform: rotateY(180deg);
  text-align: center;
}
.carte-dos-titre { font-family: var(--font-titre); font-size: 20px; font-weight: 600; color: var(--or); margin-bottom: 16px; }
.carte-dos-texte { color: rgba(255,255,255,0.82); font-size: 20px; line-height: 1.7; margin-bottom: 20px; }
.carte-dos-tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(201,168,76,0.6); border: 1px solid rgba(201,168,76,0.3); padding: 6px 14px; }

/* HABILITATIONS */
.section-hab { padding: 80px; background: var(--blanc); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hab-texte p { color: var(--texte-clair); line-height: 1.8; font-size: 20px; margin-bottom: 16px; }
.hab-liste { display: flex; flex-direction: column; gap: 16px; }
.hab-item { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: var(--gris); border-left: 3px solid var(--or); transition: all 0.3s; }
.hab-item:hover { background: var(--bleu-pale); transform: translateX(6px); }
.hab-item-titre { font-weight: 600; color: var(--bleu); font-size: 20px; }
.hab-item-desc { font-size: 14px; color: var(--texte-clair); margin-top: 2px; }

/* DÉMARCHE — TIMELINE */
.section-demarche { padding: 100px 80px; }
.demarche-intro { text-align: center; max-width: 600px; margin: 0 auto 80px; color: var(--texte-clair); font-size: 20px; line-height: 1.8; }
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--or), rgba(201,168,76,0.1)); transform: translateX(-50%);
}
.etape { display: grid; grid-template-columns: 1fr 80px 1fr; margin-bottom: 80px; align-items: center; }
.etape:last-child { margin-bottom: 0; }
.etape-contenu {
  background: var(--blanc); box-shadow: 0 4px 30px rgba(27,45,110,0.08);
  padding: 44px 48px; border: 1px solid rgba(27,45,110,0.06); position: relative; transition: all 0.4s;
}
.etape-contenu:hover { box-shadow: 0 12px 50px rgba(27,45,110,0.15); transform: translateY(-4px); }
.etape-contenu::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--or); transition: height 0.4s; }
.etape-contenu:hover::before { height: 100%; }
.etape-num-wrapper { display: flex; align-items: center; justify-content: center; z-index: 1; }
.etape-num {
  width: 64px; height: 64px; background: var(--or); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-titre); font-size: 28px; font-weight: 700; color: var(--bleu);
  box-shadow: 0 0 0 8px var(--blanc), 0 0 0 10px var(--or); position: relative; z-index: 1;
}
.etape-vide {}
.etape.gauche .etape-contenu  { order: 1; }
.etape.gauche .etape-num-wrapper { order: 2; }
.etape.gauche .etape-vide     { order: 3; }
.etape.droite .etape-vide     { order: 1; }
.etape.droite .etape-num-wrapper { order: 2; }
.etape.droite .etape-contenu  { order: 3; }
.etape.droite .etape-contenu::before { left: auto; right: 0; }
.etape-tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--or); font-weight: 600; margin-bottom: 10px; }
.etape-titre { font-family: var(--font-titre); font-size: 26px; font-weight: 600; color: var(--bleu); margin-bottom: 16px; }
.etape-texte { color: var(--texte-clair); font-size: 20px; line-height: 1.8; }
.etape-detail { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(27,45,110,0.08); display: flex; flex-wrap: wrap; gap: 8px; }
.etape-pill { background: var(--bleu-pale); color: var(--bleu); font-size: 11px; padding: 5px 12px; font-weight: 600; letter-spacing: 1px; }

/* ENGAGEMENTS */
.section-engagement { background: var(--bleu); padding: 100px 80px; text-align: center; position: relative; overflow: hidden; }
.section-engagement::before { content: ''; position: absolute; left: -200px; top: -200px; width: 600px; height: 600px; border: 100px solid rgba(201,168,76,0.04); border-radius: 50%; }
.section-engagement .section-titre { color: var(--blanc); }
.engagements-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 60px; position: relative; z-index: 1; }
.engagement-item { padding: 44px 32px; border: 1px solid rgba(201,168,76,0.2); position: relative; overflow: hidden; transition: all 0.4s; }
.engagement-item::before { content: ''; position: absolute; inset: 0; background: rgba(201,168,76,0.05); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s; }
.engagement-item:hover { border-color: var(--or); }
.engagement-item:hover::before { transform: scaleY(1); }
.engagement-icone { font-size: 36px; margin-bottom: 20px; }
.engagement-titre { font-family: var(--font-titre); font-size: 22px; color: var(--or); margin-bottom: 14px; font-weight: 600; }
.engagement-texte { color: rgba(255,255,255,0.7); font-size: 20px; line-height: 1.7; }

/* CTA */
.section-cta { padding: 80px; background: var(--gris); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-texte h3 { font-family: var(--font-titre); font-size: 36px; color: var(--bleu); margin-bottom: 12px; }
.cta-texte p { color: var(--texte-clair); font-size: 20px; }
.cta-contacts { display: flex; flex-direction: column; gap: 16px; }
.cta-contact { display: flex; align-items: center; gap: 16px; padding: 20px 28px; background: var(--blanc); border-left: 3px solid var(--or); font-size: 20px; color: var(--bleu); font-weight: 500; transition: all 0.3s; text-decoration: none; }
.cta-contact:hover { background: var(--bleu); color: var(--blanc); }
.cta-contact span { font-size: 20px; }

/* Icônes SVG dans les cartes flip */
.carte-face-icone svg {
  width: 36px; height: 36px;
}
.carte-face-icone {
  width: 80px; height: 80px;
  border: 2px solid rgba(27,45,110,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; background: white;
  margin-bottom: 20px;
}
.carte-flip:hover .carte-face-icone {
  border-color: var(--or);
  background: rgba(201,168,76,0.05);
  box-shadow: 0 0 0 6px rgba(201,168,76,0.08);
}
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; color: rgba(255,255,255,0.7); text-decoration: none;
}
.footer-social-btn:hover { border-color: var(--or); background: var(--or); color: var(--bleu); }
.footer-social-btn svg { width: 16px; height: 16px; fill: currentColor; }