/**
 * assets/css/main.css — Phi Fiduciaire
 * Palette modernisée : Marine profond + Or champagne + Blanc cassé
 * Typographie : Cormorant Garamond (display) + DM Sans (body)
 */

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

/* ── Variables CSS ────────────────────────────────────────────────────────── */
:root {
  /* Couleurs */
  --c-navy:       #0f2744;      /* Marine profond - couleur principale */
  --c-navy-mid:   #1a3a5c;      /* Marine moyen */
  --c-navy-light: #2a5080;      /* Marine clair */
  --c-gold:       #b8952a;      /* Or champagne */
  --c-gold-light: #d4af50;      /* Or clair */
  --c-gold-pale:  #f5e9c8;      /* Or très pâle - fonds */
  --c-white:      #ffffff;
  --c-off-white:  #f8f6f2;      /* Blanc cassé légèrement chaud */
  --c-text:       #1a1a2e;      /* Texte principal */
  --c-text-mid:   #4a5568;      /* Texte secondaire */
  --c-text-light: #718096;      /* Texte tertiaire */
  --c-border:     #e2ddd4;      /* Bordures */
  --c-error:      #c0392b;
  --c-success:    #27ae60;

  /* Typographie */
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;

  /* Espacements */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 8rem;

  /* Conteneur */
  --container:     1200px;
  --container-sm:  800px;

  /* Radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  16px;
  --r-xl:  24px;

  /* Ombres */
  --shadow-sm:  0 2px 8px rgba(15,39,68,.08);
  --shadow-md:  0 4px 24px rgba(15,39,68,.12);
  --shadow-lg:  0 8px 48px rgba(15,39,68,.16);
  --shadow-gold: 0 4px 24px rgba(184,149,42,.25);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-mid:  300ms ease;
  --t-slow: 500ms ease;

  /* Navbar height */
  --nav-h: 72px;
}

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

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

body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* RTL support */
[dir="rtl"] { text-align: right; }

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Typographie ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--c-text-mid); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--c-text); }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container--sm { max-width: var(--container-sm); }

section { padding: var(--space-xl) 0; }

/* ── Boutons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t-mid);
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-gold);
  color: var(--c-navy);
  border-color: var(--c-gold);
}
.btn--primary:hover {
  background: var(--c-gold-light);
  border-color: var(--c-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn--outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--c-white);
}
.btn--outline-navy {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn--outline-navy:hover {
  background: var(--c-navy);
  color: var(--c-white);
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(15,39,68,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,149,42,.2);
  transition: background var(--t-mid), box-shadow var(--t-mid);
}
.navbar.scrolled {
  background: rgba(15,39,68,.99);
  box-shadow: var(--shadow-md);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.navbar__logo img { height: 40px; width: auto; }
.navbar__logo-text {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.1;
}
.navbar__logo-text span {
  display: block;
  font-size: .75rem;
  font-weight: 300;
  color: var(--c-gold-light);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.navbar__nav a {
  padding: .5rem .875rem;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: all var(--t-fast);
  letter-spacing: .02em;
}
.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--c-gold-light);
  background: rgba(255,255,255,.06);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ── Sélecteur de langue ──────────────────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .6rem;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  font-weight: 500;
  transition: all var(--t-fast);
  letter-spacing: .04em;
}
.lang-btn:hover { background: rgba(255,255,255,.08); color: var(--c-white); }
.lang-btn.active { color: var(--c-gold-light); }
.lang-btn img { border-radius: 3px; opacity: .8; }
.lang-btn.active img { opacity: 1; }

/* ── Menu burger (mobile) ─────────────────────────────────────────────────── */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all var(--t-mid);
}

/* ── Bannière de fermeture ────────────────────────────────────────────────── */
.closure-banner {
  background: var(--c-gold);
  color: var(--c-navy);
  text-align: center;
  padding: .75rem var(--space-md);
  font-size: .9rem;
  font-weight: 500;
  position: relative;
  z-index: 999;
  margin-top: var(--nav-h);
}
.closure-banner strong { font-weight: 700; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--c-navy);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,58,92,.6) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(184,149,42,.08) 0%, transparent 50%),
    linear-gradient(135deg, #0f2744 0%, #1a3a5c 50%, #0f2744 100%);
}
/* Grille géométrique subtile */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,149,42,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,149,42,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gold-light);
  margin-bottom: var(--space-md);
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--c-gold);
}
.hero h1 {
  color: var(--c-white);
  margin-bottom: var(--space-md);
  font-style: italic;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-gold-light);
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: var(--space-md);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ── Stats bar ────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--c-navy-mid);
  border-top: 1px solid rgba(184,149,42,.2);
  border-bottom: 1px solid rgba(184,149,42,.2);
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: var(--space-md);
  text-align: center;
  border-right: 1px solid rgba(184,149,42,.15);
}
.stat-item:last-child { border-right: none; }
.stat-item__number {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c-gold-light);
  line-height: 1;
}
.stat-item__label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: .25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Section : Services ───────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section-header__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 560px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.service-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--space-md) var(--space-md) var(--space-md);
  border: 1px solid var(--c-border);
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--c-gold);
  transition: height var(--t-mid);
  border-radius: 0 0 4px 0;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-gold-pale);
}
.service-card:hover::before { height: 100%; }
.service-card__icon {
  width: 48px; height: 48px;
  background: var(--c-gold-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
  transition: background var(--t-mid);
}
.service-card:hover .service-card__icon { background: var(--c-gold); }
.service-card__icon svg { width: 24px; height: 24px; color: var(--c-gold); transition: color var(--t-mid); }
.service-card:hover .service-card__icon svg { color: var(--c-navy); }
.service-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.service-card p { font-size: .9rem; margin: 0; }

/* ── Why us ────────────────────────────────────────────────────────────────── */
.why-section { background: var(--c-navy); }
.why-section .section-header h2,
.why-section .section-header p { color: var(--c-white); }
.why-section .section-header p { color: rgba(255,255,255,.7); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}
.why-item {
  padding: var(--space-md);
  border: 1px solid rgba(184,149,42,.2);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.04);
  transition: background var(--t-mid), border-color var(--t-mid);
}
.why-item:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(184,149,42,.4);
}
.why-item__num {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-gold);
  opacity: .3;
  line-height: 1;
  margin-bottom: .5rem;
}
.why-item h4 { color: var(--c-white); margin-bottom: .5rem; font-size: 1rem; }
.why-item p  { color: rgba(255,255,255,.6); font-size: .875rem; margin: 0; }

/* ── Team ─────────────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.team-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: all var(--t-mid);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--c-navy-mid), var(--c-navy-light));
  overflow: hidden;
  position: relative;
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card__photo-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.team-card__photo-placeholder span {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,.3);
}
.team-card__body { padding: var(--space-md); }
.team-card__name { font-size: 1.2rem; margin-bottom: .25rem; }
.team-card__title {
  font-size: .8rem;
  color: var(--c-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.team-card__bio { font-size: .875rem; color: var(--c-text-mid); margin-bottom: var(--space-sm); }
.team-card__linkedin {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 500;
  color: var(--c-navy);
  transition: color var(--t-fast);
}
.team-card__linkedin:hover { color: var(--c-gold); }
.team-card__linkedin svg { width: 16px; height: 16px; }

/* ── News ─────────────────────────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}
.news-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: all var(--t-mid);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card__img {
  aspect-ratio: 16/9;
  background: var(--c-navy-light);
  overflow: hidden;
}
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.news-card__date { font-size: .75rem; color: var(--c-text-light); margin-bottom: .5rem; }
.news-card__title { font-size: 1.1rem; margin-bottom: .5rem; }
.news-card__excerpt { font-size: .875rem; flex: 1; }
.news-card__link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .85rem; font-weight: 600; color: var(--c-gold);
  margin-top: var(--space-sm);
  transition: gap var(--t-fast);
}
.news-card__link:hover { gap: .6rem; }

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.testimonials { background: var(--c-gold-pale); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.testimonial-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--f-display);
  font-size: 5rem;
  color: var(--c-gold-pale);
  position: absolute;
  top: 0; left: var(--space-sm);
  line-height: 1;
}
.testimonial-card p { color: var(--c-text-mid); font-style: italic; margin-bottom: var(--space-sm); }
.testimonial-card__author { font-weight: 600; font-size: .875rem; color: var(--c-navy); }
.stars { color: var(--c-gold); font-size: 1rem; margin-bottom: .75rem; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.contact-form {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: var(--space-sm);
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-navy);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .875rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: .95rem;
  color: var(--c-text);
  background: var(--c-off-white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(184,149,42,.12);
  background: var(--c-white);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-msg { padding: .875rem 1rem; border-radius: var(--r-md); font-size: .9rem; margin-top: var(--space-sm); }
.form-msg--success { background: #eafaf1; color: var(--c-success); }
.form-msg--error   { background: #fdf3f2; color: var(--c-error); }

.contact-info { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-info-block { display: flex; gap: var(--space-sm); align-items: flex-start; }
.contact-info-block__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--c-gold-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-block__icon svg { width: 20px; height: 20px; color: var(--c-gold); }
.contact-info-block h4 { font-size: .9rem; margin-bottom: .25rem; color: var(--c-navy); }
.contact-info-block p { font-size: .875rem; margin: 0; }
.contact-info-block a { color: var(--c-navy); transition: color var(--t-fast); }
.contact-info-block a:hover { color: var(--c-gold); }

/* ── Map OSM ──────────────────────────────────────────────────────────────── */
.map-container {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 320px;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ── Hero interne (pages secondaires) ────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-light) 100%);
  padding: calc(var(--nav-h) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,149,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,149,42,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--c-white); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 560px; margin: 0; }
.page-hero__breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-sm);
}
.page-hero__breadcrumb a { color: var(--c-gold-light); }
.page-hero__breadcrumb span { opacity: .5; }

/* ── Partners ─────────────────────────────────────────────────────────────── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}
.partner-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  border: 1px solid var(--c-border);
  text-align: center;
  transition: all var(--t-mid);
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.partner-card img { height: 60px; width: auto; margin: 0 auto var(--space-sm); object-fit: contain; }
.partner-card h4 { font-size: .95rem; margin-bottom: .4rem; }
.partner-card p  { font-size: .8rem; color: var(--c-text-light); margin: 0; }
.partner-card a  { color: var(--c-gold); font-size: .8rem; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--c-navy);
  color: rgba(255,255,255,.7);
  padding: var(--space-xl) 0 var(--space-md);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer__brand img { height: 44px; margin-bottom: var(--space-sm); }
.footer__brand p { font-size: .875rem; max-width: 280px; }
.footer h4 {
  color: var(--c-white);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.footer ul li + li { margin-top: .4rem; }
.footer ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--t-fast);
}
.footer ul li a:hover { color: var(--c-gold-light); }
.footer__contact p { font-size: .875rem; line-height: 1.8; }
.footer__contact a { color: rgba(255,255,255,.7); }
.footer__contact a:hover { color: var(--c-gold-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer__legal { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,.5); transition: color var(--t-fast); }
.footer__legal a:hover { color: var(--c-gold-light); }

/* ── Cookie Banner ────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, calc(100vw - 2rem));
  background: var(--c-navy);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(184,149,42,.3);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  animation: slideUp .4s ease;
}
.cookie-banner p { font-size: .85rem; margin: 0; }
.cookie-banner p a { color: var(--c-gold-light); }
.cookie-banner__actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-banner.hidden { display: none; }
@keyframes slideUp {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}

/* ── Texte légal ──────────────────────────────────────────────────────────── */
.legal-content {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}
.legal-content h2 { font-size: 1.4rem; margin: var(--space-md) 0 .5rem; }
.legal-content h3 { font-size: 1.1rem; margin: var(--space-sm) 0 .35rem; }
.legal-content p, .legal-content li { font-size: .95rem; color: var(--c-text-mid); }
.legal-content ul { margin-left: 1.5rem; list-style: disc; }

/* ── Utilitaires ──────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold   { color: var(--c-gold); }
.bg-navy     { background: var(--c-navy); }
.bg-off-white{ background: var(--c-off-white); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Animations d'entrée ──────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .navbar__nav, .navbar__actions .btn--primary { display: none; }
  .navbar__burger { display: flex; }
  .navbar__actions { gap: .5rem; }

  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--c-navy);
    padding: var(--space-md);
    border-bottom: 1px solid rgba(184,149,42,.2);
    gap: .25rem;
    z-index: 999;
  }
  .navbar__nav.open a {
    padding: .75rem var(--space-sm);
    font-size: 1rem;
  }

  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer__bottom { flex-direction: column; text-align: center; }

  .cookie-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
}
