/* ============================================================
   l'Air Digital — socle partagé des pages internes
   ------------------------------------------------------------
   index.html garde son CSS inline complet et n'utilise PAS ce
   fichier. Les valeurs ci-dessous sont reprises telles quelles
   du design system de la home : toute modification doit rester
   synchronisée avec elle.
   ============================================================ */

/* ---- Fontes auto-hébergées (voir assets/fonts/) ---- */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/bebas-neue-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/bebas-neue-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/manrope-300-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/manrope-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-600-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #181c22;
  --ink-soft: #2a2f38;
  --slate: #33404b;
  --paper: #ede4d3;
  --bleu: #dce5ef;
  --rose: #f7d6df;
  --peche: #f5cbb4;
  --jaune: #f5ec9f;
  --menthe: #cfe1d6;
  --lavande: #d9d0e6;
  --creme: #ede4d3;
  --accent: #ff7350;
  --radius-card: 36px;
  --gutter: 40px;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', 'Helvetica Neue', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--slate);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ---- Layout ---- */
.page {
  padding: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
}

.card {
  background: var(--bleu);
  border-radius: var(--radius-card);
  padding: 56px 64px 72px;
  overflow: hidden;
  position: relative;
  color: var(--ink);
}

.card--bleu    { background: var(--bleu); }
.card--rose    { background: var(--rose); }
.card--peche   { background: var(--peche); }
.card--jaune   { background: var(--jaune); }
.card--menthe  { background: var(--menthe); }
.card--lavande { background: var(--lavande); }
.card--creme   { background: var(--creme); }
.card--slate   { background: var(--slate); color: var(--paper); }

/* ---- Typographie ---- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 168px);
  line-height: .90;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
}

.display--xl { font-size: clamp(64px, 10vw, 180px); }
.display--m  { font-size: clamp(46px, 5vw, 68px); }
.display--s  { font-size: clamp(22px, 3vw, 44px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}

.eyebrow--light { color: var(--paper); }

.body-l {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.body-m {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.body-s {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.body-l--light,
.body-m--light { color: rgba(237, 228, 211, .78); }

.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt40 { margin-top: 40px; }
.mt64 { margin-top: 64px; }

/* prose : blocs de texte rédactionnel des pages internes */
.prose p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 68ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 52px 0 18px;
}

.prose h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 32px 0 10px;
}

.prose ul {
  list-style: none;
  margin: 0 0 20px;
  max-width: 68ch;
}

.prose li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 1.5px;
  background: var(--accent);
}

.prose strong { color: var(--ink); font-weight: 600; }

.prose a {
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
  transition: color .2s;
}

.prose a:hover { color: var(--accent); }

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: #fff;
  padding: 20px 36px 20px 30px;
  border: 0;
  border-radius: 14px 80px 14px 80px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
  white-space: nowrap;
}

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

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--light { background: var(--paper); color: var(--slate); }
.btn--light:hover { background: var(--accent); color: #fff; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-size: 12px;
  font-weight: 500;
  background: transparent;
}

.chip--solid { background: #fff; border-color: #fff; }

/* ---- Navigation ---- */
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  margin-bottom: 44px;
}

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .01em;
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}

.logo-mark {
  width: 26px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.logo sup {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  border: 1.2px solid currentColor;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 36px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  justify-self: center;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width .25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px 60px 14px 60px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  border: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.nav-cta:hover { background: var(--accent); transform: translateY(-2px); }

/* ---- Fil d'ariane ---- */
.crumb {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 20px;
}

.crumb a:hover { opacity: 1; text-decoration: underline; }

/* ---- Pied de page ---- */
.ftr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(237, 228, 211, .16);
  font-size: 12.5px;
  color: rgba(237, 228, 211, .45);
}

.ftr-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.ftr-links a:hover { color: var(--paper); }

.ctc-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: rgba(237, 228, 211, .82);
}

.ctc-info-item svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ctc-info-item a:hover { color: var(--paper); text-decoration: underline; }

/* ---- Apparition au scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  transition: opacity .85s cubic-bezier(.16, 1, .3, 1), transform .85s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  :root { --gutter: 16px; --radius-card: 26px; }

  .card { padding: 34px 24px 44px; }

  .nav {
    grid-template-columns: auto auto;
    gap: 16px;
    margin-bottom: 30px;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-self: start;
    gap: 10px 22px;
    font-size: 11px;
  }

  .prose p,
  .prose li { font-size: 15.5px; }
}

@media (max-width: 500px) {
  .btn { padding: 16px 26px 16px 22px; font-size: 14px; }
  .ftr { flex-direction: column; align-items: flex-start; }
}
