/* ============================================================
   LEVCAP — DESIGN SYSTEM
   style.css — Version 1.0
   Toutes les variables, typographies, composants globaux
   ============================================================ */

/* ── IMPORTS TYPOGRAPHIQUES ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── VARIABLES GLOBALES ── */
:root {
  /* Couleurs */
  --navy:        #0A1628;
  --navy-mid:    #0F2040;
  --navy-light:  #1a3055;
  --gold:        #C9A96E;
  --gold-light:  #dfc090;
  --gold-pale:   #f0e4cc;
  --white:       #FFFFFF;
  --off-white:   #F8F6F2;
  --grey-light:  #E8E4DC;
  --grey-mid:    #9A9590;
  --grey-dark:   #4A4540;

  /* Typographies */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Espacements */
  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    2rem;
  --space-lg:    4rem;
  --space-xl:    7rem;
  --space-xxl:   11rem;

  /* Tailles de texte */
  --text-xs:     0.75rem;
  --text-sm:     0.875rem;
  --text-base:   1rem;
  --text-md:     1.125rem;
  --text-lg:     1.375rem;
  --text-xl:     1.75rem;
  --text-2xl:    2.5rem;
  --text-3xl:    3.5rem;
  --text-4xl:    5rem;
  --text-hero:   8rem;

  /* Transitions */
  --ease-slow:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-sharp:  cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:   0.2s;
  --duration-mid:    0.5s;
  --duration-slow:   1s;
  --duration-xslow:  1.8s;

  /* Bordures */
  --radius-sm:   2px;
  --radius-md:   4px;
  --border-gold: 1px solid rgba(201, 169, 110, 0.3);
  --border-white: 1px solid rgba(255,255,255,0.1);
}

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

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

/* ── TICKER ── */
.ticker-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 36px;
  background: var(--navy);
  border-bottom: var(--border-gold);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-badge {
  flex-shrink: 0;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  border-right: var(--border-gold);
  background: var(--navy-mid);
}

.ticker-badge span {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-inner {
  display: flex;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0 var(--space-lg);
  border-right: var(--border-gold);
  height: 36px;
}

.ticker-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.ticker-value {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.05em;
}

.ticker-date {
  flex-shrink: 0;
  padding: 0 var(--space-md);
  border-left: var(--border-gold);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--grey-mid);
  letter-spacing: 0.05em;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── NAVIGATION PRINCIPALE ── */
.nav-main {
  position: fixed;
  top: 36px;
  left: 0; right: 0;
  z-index: 999;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  transition: background var(--duration-mid) var(--ease-slow),
              border-color var(--duration-mid) var(--ease-slow);
}

.nav-main.scrolled {
  background: rgba(10, 22, 40, 0.97);
  border-bottom: var(--border-gold);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--duration-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--duration-mid) var(--ease-sharp);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--gold); }
.nav-link.active::after { width: 100%; }

.nav-lang {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-left: var(--space-md);
}

.lang-btn {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast);
  padding: 4px 8px;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--gold);
}

.lang-sep {
  color: rgba(255,255,255,0.2);
  font-size: var(--text-xs);
}

/* ── HERO ACCUEIL ── */
.hero-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

/* Étape 1 : écran d'intro */
.hero-intro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: var(--navy);
  transition: opacity var(--duration-xslow) var(--ease-slow),
              transform var(--duration-xslow) var(--ease-slow);
}

.hero-intro.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
}

.hero-intro-title {
  font-family: var(--font-serif);
  font-size: var(--text-hero);
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s var(--ease-sharp) 0.4s forwards;
}

.hero-intro-sub {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: var(--space-md);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-sharp) 0.9s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  animation: fadeUp 1s var(--ease-sharp) 2s forwards;
}

.hero-scroll-hint span {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out 2.5s infinite;
}

/* Étape 2 : split-screen */
.hero-split {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-slow);
}

.hero-split.visible {
  opacity: 1;
}

.hero-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex var(--duration-slow) var(--ease-sharp);
}

.hero-panel:hover { flex: 1.15; }

.hero-panel-bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease-slow),
              filter var(--duration-slow) var(--ease-slow);
}

.hero-panel:hover .hero-panel-bg {
  transform: scale(1.04);
}

.hero-panel-overlay {
  position: absolute;
  inset: 0;
  transition: background var(--duration-mid) var(--ease-slow);
}

.hero-panel--pros .hero-panel-overlay {
  background: linear-gradient(135deg,
    rgba(10,22,40,0.75) 0%,
    rgba(10,22,40,0.45) 60%,
    rgba(10,22,40,0.3) 100%);
}

.hero-panel--prime .hero-panel-overlay {
  background: linear-gradient(225deg,
    rgba(10,22,40,0.65) 0%,
    rgba(30,15,5,0.4) 60%,
    rgba(50,25,5,0.25) 100%);
}

.hero-panel-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl) var(--space-lg);
  transition: padding var(--duration-mid) var(--ease-slow);
}

.hero-panel-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--duration-mid) var(--ease-slow) 0.2s,
              transform var(--duration-mid) var(--ease-slow) 0.2s;
}

.hero-panel-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity var(--duration-mid) var(--ease-slow) 0.1s,
              transform var(--duration-mid) var(--ease-slow) 0.1s;
}

.hero-panel-sub {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  max-width: 380px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--duration-mid) var(--ease-slow),
              transform var(--duration-mid) var(--ease-slow);
}

.hero-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--duration-mid) var(--ease-slow),
              transform var(--duration-mid) var(--ease-slow),
              gap var(--duration-fast);
}

.hero-panel-cta::after {
  content: '→';
  transition: transform var(--duration-fast);
}

.hero-panel:hover .hero-panel-label,
.hero-panel:hover .hero-panel-title,
.hero-panel:hover .hero-panel-sub,
.hero-panel:hover .hero-panel-cta {
  opacity: 1;
  transform: translateY(0);
}

.hero-panel:hover .hero-panel-cta::after {
  transform: translateX(4px);
}

.hero-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(201,169,110,0.4) 30%,
    rgba(201,169,110,0.6) 50%,
    rgba(201,169,110,0.4) 70%,
    transparent 100%);
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

/* ── SECTIONS GÉNÉRIQUES ── */
.section {
  padding: var(--space-xl) var(--space-lg);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--light {
  background: var(--off-white);
  color: var(--navy);
}

.section--white {
  background: var(--white);
  color: var(--navy);
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.1;
  color: inherit;
}

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

.section-body {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.8;
  color: inherit;
  max-width: 680px;
  opacity: 0.85;
}

/* ── GRILLE CLASSES D'ACTIFS ── */
.asset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.asset-tag {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 18px;
  border: var(--border-gold);
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast), color var(--duration-fast);
}

.asset-tag:hover {
  background: rgba(201,169,110,0.1);
}

/* ── CARTES SOLUTIONS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card {
  padding: var(--space-lg) var(--space-md);
  border: var(--border-gold);
  position: relative;
  transition: transform var(--duration-mid) var(--ease-slow),
              background var(--duration-mid);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--gold);
  transition: height var(--duration-mid) var(--ease-sharp);
}

.card:hover { transform: translateY(-4px); }
.card:hover::before { height: 100%; }

.card--dark {
  background: rgba(255,255,255,0.03);
  color: var(--white);
}

.card--dark:hover {
  background: rgba(201,169,110,0.05);
}

.card-number {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: rgba(201,169,110,0.25);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.card-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.card-desc {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ── ÉTAPES MÉTHODOLOGIE ── */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-lg);
  counter-reset: steps;
}

.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: start;
  padding: var(--space-md) 0;
  border-bottom: var(--border-gold);
  transition: background var(--duration-fast);
  counter-increment: steps;
}

.step-item:first-child { border-top: var(--border-gold); }

.step-num {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: rgba(201,169,110,0.3);
  padding-top: 2px;
}

.step-text {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  padding: 4px 0;
  line-height: 1.6;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
}

.about-photo::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 100%; height: 100%;
  border: var(--border-gold);
  pointer-events: none;
}

.about-text {
  padding-top: var(--space-md);
}

.about-bio {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.9;
  color: var(--grey-dark);
}

.about-bio p + p {
  margin-top: var(--space-md);
}

/* ── CONTACT / FOOTER ── */
.contact-bar {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-lg);
  z-index: 998;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 12px 28px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--duration-fast), transform var(--duration-fast);
  box-shadow: 0 4px 20px rgba(201,169,110,0.3);
}

.contact-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

footer {
  background: var(--navy);
  border-top: var(--border-gold);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-address {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  text-align: center;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-legal {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--grey-mid);
}

/* ── SIMULATEUR IFI ── */
.ifi-wrapper {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-xl) var(--space-lg);
}

.ifi-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  border: var(--border-gold);
  background: rgba(255,255,255,0.02);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.field-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 300;
  padding: 8px 0;
  transition: border-color var(--duration-fast);
  outline: none;
  width: 100%;
}

.field-input:focus {
  border-bottom-color: var(--gold);
}

.field-input::placeholder {
  color: rgba(255,255,255,0.2);
}

.ifi-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.kpi-card {
  padding: var(--space-md);
  border: var(--border-gold);
  text-align: center;
}

.kpi-card--highlight {
  border-color: var(--gold);
  background: rgba(201,169,110,0.05);
}

.kpi-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.kpi-value {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--white);
}

.ifi-chart-wrap {
  margin-bottom: var(--space-xl);
  padding: var(--space-md);
  border: var(--border-gold);
}

.ifi-table-wrap {
  overflow-x: auto;
}

.ifi-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
}

.ifi-table th {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  color: var(--gold);
  padding: var(--space-sm) var(--space-sm);
  border-bottom: var(--border-gold);
  text-align: right;
  white-space: nowrap;
}

.ifi-table th:first-child { text-align: left; }

.ifi-table td {
  padding: 10px var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
  text-align: right;
  white-space: nowrap;
  font-weight: 300;
}

.ifi-table td:first-child { text-align: left; }

.ifi-table .economy-cell {
  color: var(--gold);
  font-weight: 500;
}

.ifi-table tr.total-row td {
  border-top: var(--border-gold);
  border-bottom: none;
  color: var(--white);
  font-weight: 400;
  padding-top: var(--space-sm);
}

.ifi-disclaimer {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-left: 2px solid rgba(201,169,110,0.3);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--grey-mid);
  line-height: 1.7;
  font-style: italic;
}

/* ── PAGE SECTIONS (sous-navigation) ── */
.page-hero {
  height: 45vh;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  position: relative;
  overflow: hidden;
  margin-top: 106px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.sub-nav {
  background: var(--navy-mid);
  border-bottom: var(--border-gold);
  padding: 0 var(--space-lg);
  display: flex;
  gap: var(--space-lg);
  position: sticky;
  top: 106px;
  z-index: 100;
}

.sub-nav-link {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: var(--space-sm) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}

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

/* ── ACCOMPAGNEMENT GLOBAL (icônes texte) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.service-item {
  padding: var(--space-md);
  border-top: var(--border-gold);
}

.service-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.service-desc {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── ANIMATIONS UTILITAIRES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-slow), transform 0.8s var(--ease-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root {
    --text-hero: 4rem;
    --text-3xl:  2.2rem;
    --space-xl:  4rem;
    --space-xxl: 6rem;
  }

  .nav-links { display: none; }

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

  .about-photo img { height: 380px; }

  .ifi-kpis { grid-template-columns: 1fr; }

  .hero-panel-title { font-size: var(--text-xl); }

  footer {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .sub-nav { gap: var(--space-md); overflow-x: auto; }
}

/* ============================================================
   RESPONSIVE MOBILE — Version 2.0
   Breakpoints: 768px (tablette) · 480px (mobile)
   ============================================================ */

/* ── TABLETTE (≤ 900px) — corrections existantes améliorées ── */
@media (max-width: 900px) {

  /* Nav — hamburger simple */
  .nav-main {
    padding: 0 var(--space-md);
    height: 60px;
  }

  .nav-links { display: none; }

  .nav-lang { margin-left: 0; }

  /* Hero intro */
  .hero-intro-title {
    font-size: 3.5rem;
    letter-spacing: 0.2em;
  }

  .hero-intro-sub {
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    text-align: center;
    padding: 0 var(--space-md);
  }

  /* Hero split : empiler verticalement sur tablette */
  .hero-split {
    flex-direction: column;
  }

  .hero-divider {
    display: none;
  }

  .hero-panel-content {
    padding: var(--space-lg) var(--space-md);
  }

  /* Contenu hero panels toujours visible sur mobile */
  .hero-panel .hero-panel-label,
  .hero-panel .hero-panel-title,
  .hero-panel .hero-panel-sub,
  .hero-panel .hero-panel-cta {
    opacity: 1;
    transform: translateY(0);
  }

  /* Sections */
  .section {
    padding: var(--space-lg) var(--space-md);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .section-header {
    margin-bottom: var(--space-lg);
  }

  /* Page hero */
  .page-hero {
    height: 35vh;
    min-height: 240px;
    padding: var(--space-lg) var(--space-md) var(--space-md);
    margin-top: 96px;
  }

  /* Sub-nav scrollable */
  .sub-nav {
    padding: 0 var(--space-md);
    gap: var(--space-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    top: 96px;
  }
  .sub-nav::-webkit-scrollbar { display: none; }

  .sub-nav-link {
    white-space: nowrap;
    padding: var(--space-sm) var(--space-xs);
    font-size: 0.65rem;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* Étapes */
  .step-item {
    grid-template-columns: 56px 1fr;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .about-photo img { height: 340px; }
  .about-photo::after { display: none; }

  /* Galerie prime — 2 colonnes sur tablette */
  .prime-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .prime-gallery-item:last-child {
    grid-column: 1 / -1;
  }

  /* KPIs simulateur */
  .ifi-kpis {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Formulaire simulateur */
  .ifi-form {
    padding: var(--space-md);
    grid-template-columns: 1fr;
  }

  /* Graphique */
  .ifi-chart-wrap {
    max-width: 100% !important;
  }

  /* Simulateur wrapper */
  .ifi-wrapper {
    padding: var(--space-lg) var(--space-md);
  }

  /* Footer */
  footer {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    padding-bottom: 80px;
  }

  /* Contact bar */
  .contact-bar {
    right: var(--space-md);
    bottom: var(--space-md);
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Photo haussmann */
  .pros-haussmann {
    height: 260px;
  }
}

/* ── MOBILE (≤ 480px) ── */
@media (max-width: 480px) {

  :root {
    --text-hero:  2.8rem;
    --text-3xl:   1.8rem;
    --text-2xl:   1.6rem;
    --text-xl:    1.3rem;
    --text-lg:    1.1rem;
    --space-xl:   3rem;
    --space-lg:   2rem;
    --space-xxl:  4rem;
  }

  /* Ticker — masquer la date sur petit écran */
  .ticker-date { display: none; }
  .ticker-badge { padding: 0 var(--space-sm); }
  .ticker-item { padding: 0 var(--space-md); }

  /* Nav */
  .nav-main {
    padding: 0 var(--space-sm);
    height: 56px;
    top: 36px;
  }

  .nav-logo { font-size: var(--text-lg); }

  /* Hero wrapper margin */
  .hero-wrapper { margin-top: 92px !important; }

  /* Hero intro */
  .hero-intro-title {
    font-size: 2.4rem;
    letter-spacing: 0.15em;
  }

  /* Hero split — plein écran empilé */
  .hero-panel-title {
    font-size: var(--text-xl);
  }
  .hero-panel-sub {
    font-size: var(--text-xs);
    max-width: 100%;
  }

  /* Sections */
  .section {
    padding: var(--space-md) var(--space-sm);
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-body {
    font-size: var(--text-base);
  }

  /* Page hero */
  .page-hero {
    height: 30vh;
    min-height: 200px;
    padding: var(--space-md) var(--space-sm) var(--space-sm);
    margin-top: 92px;
  }

  /* Sub-nav */
  .sub-nav {
    padding: 0 var(--space-sm);
    top: 92px;
  }

  /* Galerie prime — 1 colonne sur mobile */
  .prime-gallery {
    grid-template-columns: 1fr;
  }
  .prime-gallery-item {
    height: 220px;
  }
  .prime-gallery-item:last-child {
    grid-column: auto;
  }

  /* Photo logistique & haussmann */
  .pros-haussmann { height: 200px; }

  .fade-in[style*="height:340px"] {
    height: 220px !important;
  }

  /* Cards */
  .card {
    padding: var(--space-md) var(--space-sm);
  }

  /* KPI values */
  .kpi-value {
    font-size: var(--text-xl);
  }

  /* Tableau simulateur — scroll horizontal */
  .ifi-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ifi-table {
    min-width: 480px;
  }

  /* Formulaire simulateur */
  .ifi-form {
    padding: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  .ifi-wrapper {
    padding: var(--space-md) var(--space-sm);
  }

  /* About */
  .about-photo img { height: 280px; }

  /* Footer */
  footer {
    padding: var(--space-md) var(--space-sm);
    padding-bottom: 80px;
    gap: var(--space-sm);
  }

  .footer-logo { font-size: var(--text-base); }

  /* Contact bar — pleine largeur sur mobile */
  .contact-bar {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
    text-align: center;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }

  /* Asset tags */
  .asset-tag {
    font-size: 0.65rem;
    padding: 6px 12px;
  }

  /* Steps */
  .step-item {
    grid-template-columns: 44px 1fr;
    gap: var(--space-sm);
  }

  .step-num {
    font-size: var(--text-lg);
  }

  .step-text {
    font-size: var(--text-base);
  }

  /* Services */
  .service-title {
    font-size: var(--text-base);
  }

  /* Haussmann caption */
  .pros-haussmann-caption {
    font-size: 0.6rem;
  }
}
