/* Altava — feuille de style unique. Rendu calqué sur la maquette validée (version C). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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: #1E2A38;
  --ink-2: #3F4F63;
  --muted: #55657A;
  --blue: #2459A8;
  --blue-hover: #1A4380;
  --sky: #EEF5FC;
  --sky-2: #D6E6F6;
  --sage: #EAF4EE;
  --sage-ink: #2F6B4F;
  --peach: #FCF0E7;
  --peach-ink: #9A4A22;
  --grey: #F6F8FB;
  --line: #E6EBF1;
  --field: #C9D8EA;
  --pad: 40px;
  --max: 1240px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
input, textarea, button { font: inherit; }
h1, h2, h3, p { margin: 0; }
[id] { scroll-margin-top: 16px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #FFFFFF; padding: 12px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #FFFFFF; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; border: 0; border-radius: 999px; cursor: pointer;
  padding: 17px 28px; font-size: 16px; font-weight: 600; line-height: 1.25;
  text-decoration: none; text-align: center;
}
.btn--primary { background: var(--blue); color: #FFFFFF; }
.btn--primary:hover { background: var(--blue-hover); color: #FFFFFF; }
.btn--light { background: #FFFFFF; color: var(--blue); }
.btn--light:hover { color: var(--blue-hover); }

.pill {
  display: inline-block; border-radius: 999px; font-weight: 700;
  font-size: 13px; padding: 6px 14px; background: #FFFFFF;
}

/* ---------- En-tête ---------- */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner {
  padding-top: 20px; padding-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav .btn { padding: 12px 22px; font-size: 15px; color: #FFFFFF; }
.nav .btn:hover { color: #FFFFFF; }
.lang { font-size: 14px; color: var(--muted); white-space: nowrap; }
.lang a { color: var(--muted); }
.lang [aria-current] { color: var(--ink); font-weight: 600; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px;
  background: #FFFFFF; color: var(--ink); cursor: pointer; padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #FFFFFF; border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 24px; font-size: 17px;
    box-shadow: 0 16px 32px rgba(30, 42, 56, .08);
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 20px; padding: 16px 22px; font-size: 16px; }
  .lang { margin-top: 18px; text-align: center; }
  .no-js .nav { display: flex; position: static; box-shadow: none; padding: 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--sky); }
.hero__inner {
  padding-top: 88px; padding-bottom: 88px;
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
}
.hero__text { flex: 1.15 1 520px; min-width: 0; }
.hero__eyebrow {
  display: inline-block; margin-bottom: 22px; background: #FFFFFF; color: var(--blue);
  font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px;
}
.hero h1 { font-size: 58px; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.hero__lead { margin-top: 26px; font-size: 20px; line-height: 1.6; color: var(--ink-2); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__media {
  flex: 1 1 400px; min-width: 0; aspect-ratio: 5 / 4;
  background: var(--sky-2); border-radius: 24px; overflow: hidden;
}
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }

/* ---------- Chiffres ---------- */
.stats {
  padding-top: 56px; padding-bottom: 56px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
}
.stats-band { border-bottom: 1px solid var(--line); }
.stat__value { font-size: 44px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; line-height: 1.2; }
.stat__label { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- Logos clients (désactivé tant qu'il n'y a pas de vrais logos) ---------- */
.clients { padding-top: 36px; }
.clients__title { margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.clients__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.clients__logo {
  height: 64px; background: #F4F6F9; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; padding: 12px 20px;
}
.clients__logo img { max-height: 36px; width: auto; }

/* ---------- Titres de section ---------- */
.section-title { font-size: 42px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
.section-lead { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 640px; }

/* ---------- Offres ---------- */
.offers { padding-top: 104px; padding-bottom: 40px; }
.offers .section-title, .offers .section-lead { text-align: center; }
.offers .section-lead { margin: 16px auto 56px; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.offer {
  border-radius: 24px; padding: 40px 34px;
  display: flex; flex-direction: column; gap: 16px;
}
.offer__icon {
  width: 52px; height: 52px; border-radius: 16px; background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.offer h3 { font-size: 24px; font-weight: 700; }
.offer p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.offer__link { margin-top: auto; font-weight: 600; text-decoration: none; }
.offer__link:hover { text-decoration: underline; }

.tone-sky { background: var(--sky); }
.tone-sky .offer__link, .tone-sky .accent { color: var(--blue); }
.tone-sage { background: var(--sage); }
.tone-sage .offer__link, .tone-sage .accent { color: var(--sage-ink); }
.tone-peach { background: var(--peach); }
.tone-peach .offer__link, .tone-peach .accent { color: var(--peach-ink); }

/* ---------- Cas concrets ---------- */
.cases { padding-top: 80px; padding-bottom: 80px; }
.cases h2 { margin-bottom: 36px; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.cases__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.case {
  border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px;
  text-decoration: none; color: var(--ink);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 17px; font-weight: 600; line-height: 1.4;
  transition: border-color .15s ease, background-color .15s ease;
}
.case:hover { color: var(--ink); border-color: var(--field); background: var(--grey); }
.case span { color: var(--blue); }

/* ---------- Méthode ---------- */
.method { background: var(--grey); }
.method__inner { padding-top: 100px; padding-bottom: 100px; }
.method .section-lead { margin-bottom: 52px; }
.cards-3--method { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.step { background: #FFFFFF; border-radius: 20px; padding: 34px; }
.step .pill { background: var(--sky); color: var(--blue); font-size: 14px; }
.step h3 { margin-top: 20px; font-size: 22px; font-weight: 700; }
.step p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Références ---------- */
.refs { padding-top: 104px; padding-bottom: 40px; }
.refs .section-title { margin-bottom: 48px; }
.refs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.ref { border-radius: 24px; padding: 44px 40px; }
.ref h3 { margin-top: 22px; font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.ref p { margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.ref .ref__tagline { margin-top: 20px; font-size: 15px; font-weight: 600; line-height: 1.5; }
/* Pavé cliquable : le lien du titre couvre toute la carte. */
.ref--link { position: relative; transition: box-shadow .2s ease, transform .2s ease; }
.ref--link:hover { box-shadow: 0 10px 30px rgba(30, 42, 56, .08); transform: translateY(-2px); }
.ref__link { color: inherit; text-decoration: none; }
.ref__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ref__link:focus-visible { outline: none; }
.ref--link:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.ref .ref__more { margin-top: 18px; font-size: 15px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .ref--link, .ref--link:hover { transition: none; transform: none; } }

/* ---------- Témoignage (désactivé tant qu'il n'y a pas de vraie citation) ---------- */
.quote {
  margin: 24px 0 0; border: 1px solid var(--line); border-radius: 24px; padding: 40px;
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
}
.quote__mark { font-size: 64px; line-height: .6; color: var(--blue); font-weight: 800; }
.quote__body { flex: 1 1 500px; min-width: 0; }
.quote blockquote { margin: 0; font-size: 21px; line-height: 1.5; font-weight: 600; }
.quote figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* ---------- Équipe ---------- */
.team { padding-top: 96px; padding-bottom: 96px; }
.team .section-lead { margin: 12px 0 48px; max-width: none; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.member__photo { aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin: 16px 0 2px; font-size: 19px; font-weight: 700; }
.member__role { font-size: 14px; font-weight: 600; }
.member__bio { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.member .tone-sky, .member .tone-sage, .member .tone-peach { background: transparent; }
.member__role.tone-sky { color: var(--blue); }
.member__role.tone-sage { color: var(--sage-ink); }
.member__role.tone-peach { color: var(--peach-ink); }
.member__photo.bg-sky { background: var(--sky); }
.member__photo.bg-sage { background: var(--sage); }
.member__photo.bg-peach { background: var(--peach); }

/* ---------- Contact ---------- */
.contact { padding-bottom: 96px; }
.contact__card {
  background: var(--sky); border-radius: 32px; padding: 64px 56px;
  display: flex; flex-wrap: wrap; gap: 56px;
}
.contact__intro { flex: 1 1 380px; min-width: 0; }
.contact__intro .section-lead { margin-top: 18px; color: var(--ink-2); line-height: 1.6; }
.contact__address { margin-top: 32px; font-size: 16px; line-height: 1.7; font-style: normal; }

.form {
  flex: 1 1 420px; min-width: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  border: 1px solid var(--field); border-radius: 12px; background: #FFFFFF;
  padding: 14px; font-size: 16px; color: var(--ink); font-weight: 400; width: 100%;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--blue); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B42318; }
/* Champ piège anti-spam : hors écran, jamais display:none (détecté par certains robots). */
.form__trap { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.form__footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form .btn { padding: 17px 32px; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form__status { font-size: 15px; line-height: 1.5; }
.form__status--error { color: #B42318; }
.form__success {
  flex: 1 1 420px; min-width: 0; align-self: center;
  background: #FFFFFF; border-radius: 20px; padding: 36px;
}
.form__success h3 { font-size: 22px; font-weight: 700; }
.form__success p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.form__legal { grid-column: 1 / -1; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--grey); }
.site-footer__inner {
  padding-top: 40px; padding-bottom: 40px;
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--muted);
}
.site-footer img { height: 24px; width: auto; }
.site-footer a { color: var(--blue); }

/* ---------- Pages simples (mentions légales) ---------- */
.page { padding-top: 80px; padding-bottom: 96px; max-width: 820px; }
.page h1 { font-size: 42px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
.page h2 { margin-top: 44px; font-size: 22px; font-weight: 700; }
.page p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 48px; }
}
@media (max-width: 720px) {
  :root { --pad: 20px; }
  .site-header__inner { padding-top: 14px; padding-bottom: 14px; }
  .brand img { height: 26px; }
  .hero__inner { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .hero__text, .hero__media { flex-basis: 100%; }
  .hero h1 { font-size: 36px; line-height: 1.12; }
  .hero__lead { font-size: 18px; margin-top: 20px; }
  .hero__actions { margin-top: 30px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats { padding-top: 40px; padding-bottom: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .stat__value { font-size: 34px; }
  .section-title { font-size: 31px; }
  .section-lead { font-size: 17px; }
  .offers { padding-top: 72px; }
  .offers .section-lead { margin-bottom: 36px; }
  .offer { padding: 32px 26px; }
  .cases { padding-top: 56px; padding-bottom: 56px; }
  .cases h2 { font-size: 26px; margin-bottom: 24px; }
  .case { padding: 20px 22px; font-size: 16px; }
  .method__inner { padding-top: 72px; padding-bottom: 72px; }
  .method .section-lead { margin-bottom: 36px; }
  .step { padding: 28px 24px; }
  .refs { padding-top: 72px; }
  .refs .section-title { margin-bottom: 32px; }
  .ref { padding: 32px 26px; }
  .ref h3 { font-size: 23px; }
  .quote { padding: 28px 24px; }
  .team { padding-top: 72px; padding-bottom: 72px; }
  .team .section-lead { margin-bottom: 32px; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .member h3 { font-size: 17px; }
  .member__bio { font-size: 14px; }
  .contact { padding-bottom: 64px; }
  .contact__card { padding: 40px 22px; border-radius: 24px; gap: 36px; }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .page { padding-top: 56px; padding-bottom: 64px; }
  .page h1 { font-size: 31px; }
}
@media (max-width: 400px) {
  .team__grid { grid-template-columns: 1fr; }
}

/* ---------- Page partenaire (Transway) ---------- */
.partner-hero { background: var(--peach); }
.partner-hero__inner { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.partner-hero__text { flex: 1.2 1 520px; min-width: 0; }
.partner-hero .pill { color: var(--peach-ink); }
.partner-hero h1 { margin-top: 22px; font-size: 52px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.partner-hero__lead { margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 600px; }
.partner-hero__relation {
  margin-top: 28px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 14px;
  background: #FFFFFF; border-radius: 18px; padding: 14px 20px; font-size: 15px; font-weight: 600; line-height: 1.4;
}
.partner-hero__relation img { height: 22px; width: auto; }
.partner-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn--peach { background: var(--peach-ink); color: #FFFFFF; }
.btn--peach:hover { background: #7E3B1A; color: #FFFFFF; }
.partner-hero__media {
  flex: 1 1 360px; min-width: 0; background: #FFFFFF; border-radius: 24px;
  display: flex; align-items: center; justify-content: center; padding: 32px; aspect-ratio: 5 / 5.2;
}
.partner-hero__media img { max-height: 100%; width: auto; object-fit: contain; }

.partner-section { padding-top: 96px; padding-bottom: 24px; }
.partner-section .section-lead { margin-bottom: 44px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.panel { border-radius: 24px; padding: 40px 36px; }
.panel--line { border: 1px solid var(--line); }
.panel h3 { font-size: 24px; font-weight: 700; }
.panel h3 img { height: 26px; width: auto; }
.panel p { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

.steps { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.steps li { background: var(--grey); border-radius: 20px; padding: 30px; }
.steps .pill { background: var(--peach); color: var(--peach-ink); font-size: 14px; }
.steps h3 { margin-top: 18px; font-size: 20px; font-weight: 700; }
.steps p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

.logo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.logo-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.logo-card__logo { height: 72px; display: flex; align-items: center; }
.logo-card__logo img { max-height: 56px; max-width: 100%; width: auto; }
.logo-card h3 { font-size: 18px; font-weight: 700; }
.logo-card p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }

.audiences .offer { background: var(--peach); }
.audiences .offer__icon svg { stroke: var(--peach-ink); }

.partner-cta { padding-top: 96px; padding-bottom: 96px; }
.partner-cta__card { background: var(--peach); border-radius: 32px; padding: 64px 56px; text-align: center; }
.partner-cta__card .section-lead { margin: 16px auto 32px; color: var(--ink-2); }

@media (max-width: 720px) {
  .partner-hero__inner { padding-top: 56px; padding-bottom: 56px; gap: 36px; }
  .partner-hero__text, .partner-hero__media { flex-basis: 100%; }
  .partner-hero h1 { font-size: 34px; line-height: 1.12; }
  .partner-hero__lead { font-size: 17px; }
  .partner-hero__actions .btn { flex: 1 1 100%; }
  .partner-section { padding-top: 64px; }
  .panel { padding: 30px 24px; }
  .partner-cta { padding-top: 64px; padding-bottom: 64px; }
  .partner-cta__card { padding: 44px 22px; border-radius: 24px; }
  .partner-cta__card .btn { width: 100%; }
}
.partner-hero .btn--light { color: var(--peach-ink); }
