/* Polices auto-hébergées (RGPD : aucun appel à Google Fonts) */
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:500; font-display:swap; src:url('assets/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:600; font-display:swap; src:url('assets/fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:700; font-display:swap; src:url('assets/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:italic; font-weight:400; font-display:swap; src:url('assets/fonts/dm-sans-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family:'DM Serif Display'; font-style:normal; font-weight:400; font-display:swap; src:url('assets/fonts/dm-serif-display-latin-400-normal.woff2') format('woff2'); }

/* =========================================================
   La Fresque du Voyage d'Affaires et du MICE
   Feuille de style commune, charte Optima Conseils
   ========================================================= */

:root {
  /* Palette Optima */
  --navy: #1B2A4A;
  --navy-soft: #26385E;
  --orange: #E8532A;
  --orange-deep: #C8431F;
  --cream: #F8F6F2;
  --white: #FFFFFF;

  /* Gris fonctionnels */
  --text: #2A3242;        /* corps sur fond clair */
  --text-secondary: #5A6472;
  --muted: #8A94A3;
  --line: #E7E1D6;        /* filet chaud sur crème */
  --line-soft: #EFEAE1;

  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 10px;

  --font-sans: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

h1, h2, h3 { font-family: var(--font-sans); color: var(--navy); line-height: 1.18; font-weight: 600; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(36px, 6vw, 64px) 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #D9DEE8; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.lead { font-size: 1.15rem; color: var(--text-secondary); max-width: 62ch; }
.eyebrow { font-size: 0.85rem; color: var(--orange-deep); font-weight: 600; margin: 0 0 0.6rem; }
.measure { max-width: 66ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-size: 0.98rem; font-weight: 600;
  padding: 0.72rem 1.35rem; border-radius: var(--radius);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-soft); }
.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: var(--orange-deep); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: #ECE7DE; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,246,242,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--navy); }
.brand__eye { width: 34px; height: 20px; flex: none; }
.brand__name { font-size: 0.95rem; font-weight: 600; line-height: 1.15; color: var(--navy); max-width: 20ch; }
.brand__name span { display: block; font-weight: 400; font-size: 0.72rem; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 0.95rem;
  padding: 0.4rem 0.7rem; border-radius: 8px;
}
.nav__links a:hover { color: var(--navy); background: var(--line-soft); }
.nav__links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav__cta { margin-left: 0.4rem; }

.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.4rem 0.55rem; color: var(--navy); cursor: pointer; }

@media (max-width: 780px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1rem; display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 0.7rem 0.5rem; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
  .nav__cta { margin: 0.6rem 0 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--cream); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { margin-bottom: 1rem; }
.hero__reg { font-size: 0.55em; vertical-align: super; font-weight: 500; color: var(--muted); }
.hero__sub { font-size: 1.18rem; color: var(--text-secondary); max-width: 46ch; margin-bottom: 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero__card-stage { position: relative; display: flex; justify-content: center; }
.hero__card {
  width: min(320px, 78%); border-radius: 12px;
  box-shadow: 0 18px 44px rgba(27,42,74,0.20);
  transform: rotate(2.2deg); background: var(--white);
}
.hero__card-back {
  position: absolute; width: min(320px, 78%); border-radius: 12px;
  box-shadow: 0 10px 26px rgba(27,42,74,0.14);
  transform: rotate(-5deg) translate(-14%, 6%); opacity: 0.55; z-index: -1;
}

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card-stage { margin-top: 1rem; }
  .hero__card { width: min(280px, 70%); transform: rotate(1.5deg); }
  .hero__card-back { width: min(280px, 70%); }
}

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--cream); padding: 1.4rem 1.25rem; }
.stat__num { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.stat__label { font-size: 0.92rem; color: var(--text-secondary); margin-top: 0.25rem; line-height: 1.4; }
.stat__src { font-size: 0.76rem; color: var(--muted); margin-top: 0.55rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Parcours (schéma) ---------- */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 1.5rem; }
.jstep { position: relative; padding: 0 0.6rem; }
.jstep__node {
  width: 34px; height: 34px; border-radius: 50%; background: var(--cream);
  border: 2px solid var(--navy); color: var(--navy); font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.8rem;
}
.jstep:last-child .jstep__node { background: var(--orange); border-color: var(--orange); color: var(--white); }
.jstep__line { position: absolute; top: 17px; left: calc(-50% + 17px); right: calc(50% + 17px); height: 2px; background: var(--line); z-index: 0; }
.jstep:first-child .jstep__line { display: none; }
.jstep__name { font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.jstep__desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.45; }
@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
  .jstep { padding: 0 0 1.3rem 34px; }
  .jstep__node { position: absolute; left: 0; top: 0; margin: 0; }
  .jstep__line { display: block !important; left: 16px; top: 34px; bottom: -4px; right: auto; width: 2px; height: auto; }
  .jstep:first-child .jstep__line { display: block !important; }
  .jstep:last-child .jstep__line { display: none; }
}

/* ---------- Grilles génériques ---------- */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2,1fr); } .grid--5 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--5 { grid-template-columns: 1fr; } }

/* Parties prenantes du travel operating model */
.stakes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.stake { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.stake svg { color: var(--orange); }
.stake h3 { margin: 0.65rem 0 0.2rem; font-size: 1.05rem; }
.stake p { margin: 0; font-size: 0.92rem; color: var(--text-secondary); line-height: 1.5; }
@media (max-width: 900px) { .stakes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stakes { grid-template-columns: 1fr; } }

/* ---------- Thématiques ---------- */
.themes { display: flex; flex-direction: column; gap: 0.5rem; }
.theme {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1.15rem; background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--tone, var(--orange));
  border-radius: 6px;
  color: var(--navy); font-weight: 500;
}
.theme__mark { width: 9px; height: 9px; border-radius: 2px; background: var(--tone, var(--orange)); flex: none; }
.theme__more { font-size: 0.9rem; color: var(--muted); margin-top: 0.8rem; }

/* ---------- Cartes exemples ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 4vw, 40px); margin-top: 1.6rem; }
.cardex { }
.cardex__faces { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cardex__faces img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 26px rgba(27,42,74,0.16); display: block; }
.cardex__caption { font-size: 0.9rem; color: var(--text-secondary); margin-top: 0.7rem; }
.cardex__caption b { color: var(--navy); font-weight: 600; }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

.principle { display: flex; gap: 12px; margin: 1.2rem 0 0.4rem; flex-wrap: wrap; }
.face-chip { flex: 1 1 220px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; background: var(--white); }
.face-chip__k { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 0.35rem; }
.face-chip__t { font-size: 0.95rem; color: var(--text); line-height: 1.5; }

/* ---------- Audiences ---------- */
.aud { display: flex; flex-direction: column; gap: 0.8rem; }
.aud__item { display: flex; gap: 0.9rem; padding: 1.05rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.aud__icon { color: var(--orange); flex: none; margin-top: 2px; }
.aud__name { font-weight: 600; color: var(--navy); margin-bottom: 0.15rem; }
.aud__desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }

/* ---------- Durées ---------- */
.durations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.3rem; }
.dur { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.dur--reco { border-left: 4px solid var(--orange); }
.dur__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.dur__label { font-weight: 600; color: var(--navy); }
.dur__time { font-weight: 700; color: var(--navy); }
.dur__desc { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.5; }
@media (max-width: 820px) { .durations { grid-template-columns: 1fr; } }

/* ---------- Livrables ---------- */
.deliver { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.deliver__item { padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.deliver__item svg { color: var(--orange); }
.deliver__item h3 { margin: 0.6rem 0 0.3rem; }
.deliver__item p { font-size: 0.95rem; color: var(--text-secondary); margin: 0; }
@media (max-width: 620px) { .deliver { grid-template-columns: 1fr; } }

/* ---------- Modalités ---------- */
.modal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.modal__k { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.modal__v { color: var(--navy); }
@media (max-width: 720px) { .modal { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- Bloc Optima ---------- */
.optima-card { max-width: 520px; margin: 0 auto; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 2rem 1.6rem; }
.optima-card__eye { width: 46px; height: 27px; margin: 0 auto 0.8rem; }
.optima-card__name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); }
.optima-card__tag { font-style: italic; color: var(--text-secondary); font-size: 0.95rem; margin-top: 0.1rem; }
.optima-card p { font-size: 0.96rem; color: var(--text-secondary); margin: 0.9rem 0 1.1rem; }

.inline-link { color: var(--orange-deep); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(200,67,31,0.35); padding-bottom: 1px; }
.inline-link:hover { border-bottom-color: var(--orange-deep); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .btn { margin-top: 0.4rem; }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 0.35rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 1rem; color: var(--text);
  padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--text-secondary); margin: 0.6rem 0 1rem; }
.consent input { margin-top: 0.25rem; }

.coords { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.coords h3 { margin-bottom: 0.8rem; }
.coords ul { list-style: none; margin: 0; padding: 0; }
.coords li { display: flex; gap: 0.6rem; align-items: center; padding: 0.35rem 0; font-size: 0.95rem; color: var(--text-secondary); }
.coords li svg { color: var(--orange); flex: none; }
.coords a { color: var(--text-secondary); text-decoration: none; }
.coords a:hover { color: var(--navy); }
.coords__siren { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #AEB7C6; padding: 2.4rem 0 1.6rem; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer__logo { width: 190px; height: auto; }
.footer__nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__nav a { color: #C4CCD8; text-decoration: none; font-size: 0.95rem; }
.footer__nav a:hover { color: var(--white); }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; font-size: 0.8rem; color: #8894A6; }
.footer__legal a { color: #8894A6; }

/* ---------- Accessibilité ---------- */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--white); padding: 0.5rem 0.9rem; border-radius: 8px; z-index: 100; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
