/* ═══════════════════════════════════════════════════════════════
   HAPPY SHARING — main.css
   Luxury Editorial meets Human Warmth
   Palette : Vert sapin + Or + Blanc/Crème
   Typographies : Cormorant Garamond + DM Sans
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES GLOBALES ─────────────────────────────────────── */
:root {
  /* Couleurs */
  --gold-light:    #E6C77A;
  --gold-medium:   #C89B5C;
  --gold-dark:     #9B6733;
  --teal-dark:     #2A5C52;
  --teal-mid:      #3A7268;
  --teal-light:    #4A8A7E;
  --white:         #FFFFFF;
  --offwhite:      #F7F5F2;
  --text-dark:     #1A1A1A;
  --text-medium:   #4A4A4A;
  --text-light:    #7A7A7A;
  --border:        rgba(200,155,92,0.22);
  --shadow-card:   0 4px 24px rgba(155,103,51,0.09);
  --shadow-hover:  0 10px 40px rgba(155,103,51,0.18);

  /* Typographies */
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  /* Tailles fluides */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-hero: clamp(2.4rem, 5vw, 4rem);
  --text-h2:   clamp(1.8rem, 3.5vw, 2.8rem);

  /* Espacements */
  --space-xs:      0.5rem;
  --space-sm:      1rem;
  --space-md:      1.5rem;
  --space-lg:      2rem;
  --space-xl:      3rem;
  --space-2xl:     4rem;
  --space-section: clamp(4rem, 8vw, 7rem);

  /* Layout */
  --container:     1200px;
  --gutter:        clamp(1.25rem, 5vw, 2.5rem);

  /* Effets */
  --radius:        8px;
  --radius-sm:     4px;
  --transition:    all 0.3s ease;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── TYPOGRAPHIE GLOBALE ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-2xl); font-weight: 500; }
p  { line-height: 1.8; }

.text-gold   { color: var(--gold-medium); }
.text-teal   { color: var(--teal-dark); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

/* ── SÉPARATEUR DORÉ ────────────────────────────────────────── */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-medium), transparent);
  margin: var(--space-2xl) auto;
  max-width: 360px;
  border: none;
}

/* ── BOUTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.025em;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold-medium);
  color: var(--white);
  border: 2px solid var(--gold-medium);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-primary-light {
  background: var(--gold-light);
  color: var(--teal-dark);
  border: 2px solid var(--gold-light);
  font-size: 1.05rem;
  padding: 18px 44px;
}
.btn-primary-light:hover {
  background: var(--gold-medium);
  border-color: var(--gold-medium);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(230,199,122,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 2px solid rgba(230,199,122,0.5);
}
.btn-outline:hover {
  background: rgba(230,199,122,0.1);
  border-color: var(--gold-light);
}
.btn-text {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold-light);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(230,199,122,0.4);
}
.btn-text:hover {
  text-decoration-color: var(--gold-light);
  transform: none;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 8px 0;
}
.site-header.scrolled .nav__link { color: var(--text-dark); }
.site-header.scrolled .nav__link:hover { color: var(--gold-dark); }
.site-header.scrolled .logo__text { color: var(--teal-dark); }
.site-header.scrolled .logo__tagline { color: var(--gold-dark); }
.site-header.scrolled .btn-outline {
  color: var(--gold-dark);
  border-color: var(--gold-medium);
}
.site-header.scrolled .btn-outline:hover { background: var(--gold-medium); color: var(--white); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo__img {
  height: 62px;
  width: auto;
  display: block;
}
.logo__text-wrap { display: flex; flex-direction: column; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1.1;
  transition: color 0.3s;
}
.logo__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

/* Nav */
.nav { display: flex; align-items: center; gap: var(--space-lg); }
.nav__links { display: flex; align-items: center; gap: var(--space-md); list-style: none; }
.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
  transition: color 0.25s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold-medium);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav__link:hover { color: var(--gold-light); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.active { color: var(--gold-light); }
.nav__link.active::after { transform: scaleX(1); }

/* Menu hamburger mobile */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.site-header.scrolled .nav__toggle span { background: var(--teal-dark); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--space-2xl) 0 var(--space-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand .logo { margin-bottom: var(--space-md); }
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}
.footer__desc { font-size: var(--text-sm); line-height: 1.7; }
.footer__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-md);
  letter-spacing: 0.08em;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: var(--text-sm); transition: color 0.25s; }
.footer__links a:hover { color: var(--gold-light); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  margin-bottom: 10px;
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md);
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: var(--transition);
  color: rgba(255,255,255,0.7);
}
.footer__social-link:hover {
  background: var(--gold-medium);
  border-color: var(--gold-medium);
  color: var(--white);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  font-size: var(--text-xs);
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.footer__legal { display: flex; gap: var(--space-md); }
.footer__legal a { transition: color 0.25s; }
.footer__legal a:hover { color: var(--gold-light); }

/* ── SECTION HERO GÉNÉRIQUE ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--teal-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(200,155,92,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(74,138,126,0.15) 0%, transparent 50%);
  pointer-events: none;
}
/* Grain texture overlay subtile */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* ── SECTIONS GÉNÉRIQUES ────────────────────────────────────── */
.section { padding: var(--space-section) 0; }
.section--white  { background: var(--white); }
.section--cream  { background: var(--offwhite); }
.section--teal   { background: var(--teal-dark); }

.section__header { text-align: center; max-width: 760px; margin: 0 auto var(--space-2xl); }
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-medium);
  margin-bottom: var(--space-sm);
}
.section__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--text-medium);
  margin-top: var(--space-sm);
  line-height: 1.6;
}
.section--teal .section__subtitle { color: rgba(255,255,255,0.7); }

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card:hover::before { transform: scaleX(1); }

.card--cream { background: var(--offwhite); }

.card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,155,92,0.1);
  border-radius: 50%;
  margin-bottom: var(--space-md);
  color: var(--gold-medium);
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: var(--space-sm);
}
.card__text { font-size: var(--text-base); color: var(--text-medium); line-height: 1.7; }
.card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(200,155,92,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: var(--space-sm);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal-dark);
  margin-top: var(--space-md);
  transition: color 0.25s, gap 0.25s;
}
.card__link:hover { color: var(--gold-dark); gap: 10px; }

/* ── TÉMOIGNAGES ────────────────────────────────────────────── */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.testimonial__stars { color: var(--gold-light); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.75;
  flex: 1;
  position: relative;
  padding-left: var(--space-md);
}
.testimonial__quote::before {
  content: '\201C';
  position: absolute;
  left: -4px; top: -10px;
  font-size: 3rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  line-height: 1;
  opacity: 0.6;
}
.testimonial__author { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--border); padding-top: var(--space-md); }
.testimonial__name { font-weight: 700; font-size: var(--text-sm); color: var(--teal-dark); }
.testimonial__role { font-size: var(--text-xs); color: var(--text-light); }
.testimonial__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  margin-top: 6px;
  width: fit-content;
}
.badge--linkedin { background: #EBF4FF; color: #0077B5; }
.badge--official { background: rgba(42,92,82,0.08); color: var(--teal-dark); }

/* ── LETTRE OFFICIELLE CARD ─────────────────────────────────── */
.letter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: var(--space-lg);
  transition: var(--transition);
}
.letter-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.letter-card__company { font-weight: 700; font-size: var(--text-sm); color: var(--teal-dark); }
.letter-card__meta { font-size: var(--text-xs); color: var(--text-light); margin-top: 4px; }
.letter-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
  border-left: 3px solid var(--gold-medium);
  padding-left: var(--space-md);
}
.letter-card__cta {
  flex-shrink: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s, color 0.25s;
  white-space: nowrap;
}
.letter-card__cta:hover { color: var(--teal-dark); gap: 10px; }
.letter-card__logo-placeholder {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}
.logo-delta { background: linear-gradient(135deg, #E05A00, #C04800); }
.logo-refresco { background: linear-gradient(135deg, #2A7A2A, #1A5A1A); }

/* ── BLOCKQUOTE ─────────────────────────────────────────────── */
.blockquote-audrey {
  background: var(--teal-dark);
  border-radius: var(--radius);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.blockquote-audrey::before {
  content: '\201C';
  position: absolute;
  top: -20px; left: 20px;
  font-family: var(--font-display);
  font-size: 10rem;
  color: rgba(230,199,122,0.1);
  line-height: 1;
  pointer-events: none;
}
.blockquote-audrey__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--gold-light);
  line-height: 1.65;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-md);
}
.blockquote-audrey__cite {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.blockquote-audrey__cite::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold-medium);
}

/* ── TRUST SIGNALS ──────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.stat {
  text-align: center;
  padding: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat:hover { background: rgba(255,255,255,0.07); }
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}
.stat__unit {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-medium);
}
.stat__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
  margin-top: auto;
  padding-top: 10px;
  line-height: 1.5;
}

.badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.badge-cert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(200,155,92,0.3);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  transition: background 0.25s;
}
.badge-cert:hover { background: rgba(200,155,92,0.12); }
.badge-cert svg { color: var(--gold-medium); }

/* ── STEPS PROCESS ──────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(12.5% + 28px); right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-medium), var(--gold-light));
  pointer-events: none;
}
.step { text-align: center; position: relative; }
.step__number {
  width: 56px; height: 56px;
  background: var(--teal-dark);
  border: 2px solid var(--gold-medium);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-light);
  margin: 0 auto var(--space-md);
  position: relative;
  z-index: 1;
  transition: background 0.3s, transform 0.3s;
}
.step:hover .step__number { background: var(--gold-medium); color: var(--white); transform: scale(1.1); }
.step__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--white); margin-bottom: 8px; }
.step__text { font-size: var(--text-sm); color: rgba(255,255,255,0.65); }
.step__icon { color: var(--gold-medium); margin-bottom: 8px; }

/* ── TABS ───────────────────────────────────────────────────── */
.tabs { margin-bottom: var(--space-2xl); }
.tabs__nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-medium);
  padding: 14px 24px;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
  letter-spacing: 0.04em;
  border-radius: 6px 6px 0 0;
}
.tabs__btn:hover { color: var(--teal-dark); background: rgba(200,155,92,0.12); }
.tabs__btn.active { color: var(--teal-dark); border-color: var(--gold-medium); background: rgba(200,155,92,0.18); }
/* Quand on survole un autre onglet, retire le fond de l'onglet actif */
.tabs__nav:has(.tabs__btn:not(.active):hover) .tabs__btn.active { background: none; }
.tabs__panel { display: none; }
.tabs__panel.active { display: block; }

/* ── SERVICE LIST ───────────────────────────────────────────── */
.service-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.service-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.25s, transform 0.25s;
}
.service-item:hover { box-shadow: var(--shadow-card); transform: translateX(4px); }
.service-item__content { flex: 1; }
.service-item__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 4px;
}
.service-item__desc { font-size: var(--text-sm); color: var(--text-medium); }
.service-item__price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── TIMELINE ───────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 44px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
}
.timeline-item { position: relative; margin-bottom: var(--space-lg); }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px; top: 6px;
  width: 12px; height: 12px;
  background: var(--gold-medium);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold-medium);
}
.timeline-item__year {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.timeline-item__content { font-size: var(--text-sm); color: var(--text-medium); line-height: 1.6; }

/* ── FAQ ACCORDION ──────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.25s;
  border: none;
  background: none;
}
.faq-trigger:hover { background: var(--offwhite); }
.faq-trigger svg {
  flex-shrink: 0;
  color: var(--gold-medium);
  transition: transform 0.35s ease;
}
.faq-trigger.open svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer__inner {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-medium);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

/* ── MODAL LETTRES ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-content {
  position: relative;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  background: var(--white);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-content { transform: scale(1); }
.modal-close {
  position: sticky;
  top: var(--space-sm);
  float: right;
  margin: var(--space-sm) var(--space-sm) 0;
  width: 36px; height: 36px;
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.25s;
  z-index: 1;
}
.modal-close:hover { background: var(--gold-dark); }
.modal-img { width: 100%; height: auto; display: block; }

/* Variante PDF — iframe pleine hauteur */
.modal-content--pdf {
  max-width: 900px;
  width: 92vw;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.modal-pdf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--teal-dark);
  border-radius: var(--radius) var(--radius) 0 0;
  flex-shrink: 0;
}
.modal-pdf-title {
  color: var(--white);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 500;
}
.modal-content--pdf .modal-close {
  position: static;
  float: none;
  margin: 0;
  flex-shrink: 0;
}
.modal-pdf {
  width: 100%;
  flex: 1;
  min-height: 76vh;
  border: none;
  display: block;
}
/* Lien CV caché dans le footer */
.footer__cv-link,
.footer__cv-link:hover {
  color: inherit;
  text-decoration: none;
}
/* Backlink OptimizIA.xyz */
.footer__optimizia-link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.25s;
}
.footer__optimizia-link:hover { color: var(--gold-light); }

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  background: var(--teal-dark);
  padding: var(--space-section) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,155,92,0.1) 0%, transparent 70%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
}
.cta-reassurance span { display: flex; align-items: center; gap: 6px; }
.cta-reassurance svg { color: var(--gold-light); }

/* ── GRILLES ────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-2-1 { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-2xl); align-items: center; }

/* ── HERO PHOTO ─────────────────────────────────────────────── */
.hero__photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero__photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200,155,92,0.25);
  border-radius: var(--radius);
  pointer-events: none;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── ANIMATIONS SCROLL ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* ── UTILITAIRES ────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.fw-600 { font-weight: 600; }
.italic { font-style: italic; }
.font-display { font-family: var(--font-display); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2-1 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: var(--space-md); }
  .letter-card { grid-template-columns: auto 1fr; }
  .letter-card__cta { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* Header mobile */
  .nav__links {
    position: fixed;
    top: 0; right: -100%; bottom: 0;
    width: min(320px, 90vw);
    background: var(--teal-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px var(--space-xl) var(--space-xl);
    gap: var(--space-md);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    transition: right 0.4s cubic-bezier(0.16,1,0.3,1);
    z-index: 999;
  }
  .nav__links.open { right: 0; }
  .nav__link {
    font-size: var(--text-lg);
    color: var(--white);
  }
  .nav__toggle { display: flex; z-index: 1000; }
  .nav .btn { display: none; }
  /* Show CTA in mobile menu */
  .nav__links .btn-mobile-cta {
    display: inline-flex;
    margin-top: var(--space-md);
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .badges-grid { flex-direction: column; align-items: center; }
  .cta-reassurance { flex-direction: column; gap: var(--space-sm); }
}
