/* =========================================================
   Les Imprimistes — feuille de style
   Couleurs : modifier les variables ci-dessous pour tout le site
   ========================================================= */

@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #faf8f3;          /* fond clair */
  --bg-alt: #f2eee4;      /* fond clair alterné */
  --ink: #141414;         /* noir texte / sections sombres */
  --ink-soft: #4a4740;    /* texte secondaire */
  --gold: #c9a45c;        /* or décoratif (traits, fonds) */
  --gold-light: #e2c88f;  /* or sur fond noir */
  --gold-text: #87661c;   /* or lisible sur fond clair */
  --line: #e4ddcd;
  --cyan: #009fe3; --magenta: #e5007e; --yellow: #ffd400;   /* couleurs d'imprimerie */
  --cyan-text: #00719f; --magenta-text: #c4006b; --yellow-deep: #f5b400;
  --red: #e30613; --red-dark: #b8000f;   /* boutons d'action */
  --radius: 14px;
  --font-title: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--gold-text); }
a:hover { color: var(--ink); }
.gold { color: var(--gold-text); }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.eyebrow { font-family: var(--font-title); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1rem; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--gold); flex: none; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px; border-radius: 999px; font-family: var(--font-title); font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: var(--gold-light); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: #fff; color: #fff; }
.btn--ghost-light:hover { background: var(--gold-light); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .88rem; }
.btn--full { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); line-height: 1; }
.logo__les { font-family: var(--font-title); font-weight: 600; font-size: .77rem; letter-spacing: .5em; margin-bottom: 3px; }
.logo__name { font-family: var(--font-title); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; display: inline-flex; align-items: stretch; }
.logo__mark { width: 57px; height: auto; flex: none; }
.logo__txt { display: inline-flex; flex-direction: column; }
.logo__i { width: 6px; margin-right: 3px; background: linear-gradient(var(--magenta) 0 33%, var(--yellow) 33% 66%, var(--cyan) 66%); border-radius: 1px; }
.logo--light { color: #fff; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--gold-text); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Accueil ---------- */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.hero__hook { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.3; margin: 0 0 18px; display: inline-block; background: #fff; padding: 14px 22px; border-radius: 14px; border-left: 6px solid var(--red); box-shadow: 0 12px 32px rgba(20,20,20,.12); }
.hero__hook span { color: var(--red); }
.hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: .4em; }
.hero__sub { color: var(--ink-soft); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.hero__photo { position: relative; margin: 0; }
.hero__halo { position: absolute; inset: 12% 4% 0 10%; background: var(--bg-alt); border-radius: 50% 50% 24px 24px; border: 2px solid var(--gold); }
.hero__photo img { position: relative; width: 100%; }
.hero__photo figcaption { position: absolute; left: 0; bottom: 18px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; display: flex; flex-direction: column; line-height: 1.3; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.hero__photo figcaption strong { font-family: var(--font-title); color: var(--gold-light); }
.hero__photo figcaption span { font-size: .85rem; }

/* ---------- Chiffres ---------- */
.stats { background: var(--ink); color: #fff; padding: 34px 0; position: relative; }
.stats::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--cyan) 0 33.3%, var(--magenta) 33.3% 66.6%, var(--yellow) 66.6%); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 2px solid var(--gold); }
.stat__num { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--gold-light); line-height: 1.1; }
.stat__num--txt { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.stat__label { font-size: .95rem; color: #e8e4da; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head p:last-child { color: var(--ink-soft); }
.icon { width: 40px; height: 40px; fill: none; stroke: var(--gold-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }

/* Promesses */
.promises { padding-bottom: 40px; }
.promises__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.promise { padding: 32px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.promise p { color: var(--ink-soft); margin: 0; }

/* Message clé */
.quote { padding: 56px 0 64px; }
.quote blockquote { margin: 0 auto; max-width: 900px; text-align: center; position: relative; padding-top: 40px; }
.quote blockquote::before { content: "“"; position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-family: Georgia, serif; font-size: 6rem; color: var(--gold); line-height: 1; }
.quote p { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.35; margin: 0; }

/* Domaines */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { padding: 32px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,20,20,.08); border-color: var(--gold); }
.card p { color: var(--ink-soft); margin: 0; }

/* Méthode */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--gold); }
.step__num { font-family: var(--font-title); font-weight: 800; font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.step p { color: var(--ink-soft); margin: 0; }

/* Pourquoi */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why__intro p { color: var(--ink-soft); margin-bottom: 28px; }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.why__list li { padding-left: 22px; border-left: 2px solid var(--gold); }
.why__list p { color: var(--ink-soft); margin: 0; }

/* Comparons */
.compare { background: var(--ink); color: #fff; padding: 64px 0; }
.compare__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.compare h2 { color: #fff; }
.compare .gold { color: var(--gold-light); }
.compare p { color: #e8e4da; max-width: 620px; margin: 0; }
.compare__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact__info > p { color: var(--ink-soft); }
.channels { list-style: none; padding: 0; margin: 32px 0 20px; display: grid; gap: 14px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .2s; }
.channel:hover { border-color: var(--gold); color: var(--ink); }
.channel .icon { margin: 0; width: 28px; height: 28px; flex: none; }
.channel span { display: flex; flex-direction: column; line-height: 1.3; word-break: break-word; }
.channel small { font-weight: 500; color: var(--ink-soft); font-size: .82rem; }
.contact__zone { font-size: .95rem; color: var(--ink-soft); }
.certifs { margin-top: 28px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.certifs__title { font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin: 0 0 10px; }
.certifs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: center; }
.certifs__cell { height: 70px; display: flex; align-items: center; justify-content: center; }
.certifs__cell img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
/* Aligner le bas des logos sur le bas du bouton « Envoyer ma demande » */
@media (min-width: 981px) {
  .contact { align-items: stretch; }
  .contact__info { display: flex; flex-direction: column; padding-bottom: 50px; }
  .certifs { margin-top: auto; }
}

.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 20px 50px rgba(20,20,20,.06); }
.form h3 { font-size: 1.4rem; margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfc7b4; border-radius: 10px; background: var(--bg); color: var(--ink); min-height: 48px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field textarea { resize: vertical; }
.field input[type="file"] { padding: 10px; background: #fff; border-style: dashed; cursor: pointer; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; cursor: pointer; }
.field__hint { font-size: .8rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: .82rem; color: var(--ink-soft); }
.form__status { margin: 14px 0 0; font-weight: 600; }

/* Pied de page */
.footer { background: var(--ink); color: #d9d4c7; padding: 48px 0 40px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer__tag { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 12px 0 0; }
.footer__contact, .footer__legal { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.footer a { color: var(--gold-light); text-decoration: none; }
.footer a:hover { color: #fff; }


/* =========================================================
   Couleurs d'imprimerie (cyan, magenta, jaune) + boutons rouges
   ========================================================= */
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(227, 6, 19, .25); }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--red-outline { border-color: var(--red); color: var(--red); background: #fff; }
.btn--red-outline:hover { background: var(--red); color: #fff; }

.eyebrow { color: var(--magenta-text); }
.eyebrow::before { width: 36px; height: 3px; background: linear-gradient(90deg, var(--cyan) 0 33%, var(--magenta) 33% 66%, var(--yellow) 66%); }
.gold { color: var(--magenta-text); }
h1 .gold { color: var(--magenta); }
a { color: var(--cyan-text); }

/* Accueil : personnage au premier plan, posé en bas de la section */
.hero { padding-bottom: 0; }
.hero__text { padding-bottom: 36px; }
.hero__photo { align-self: end; }
.hero__photo img { width: 68%; max-width: 330px; margin-left: auto; margin-right: 0; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }
.hero__photo figcaption { left: auto; right: 300px; bottom: 30px; width: max-content; }
@media (min-width: 981px) { .hero__inner { grid-template-columns: 1.2fr .8fr; } }

/* Accueil : bandeau des métiers dans un cartouche blanc */
.hero__tags { list-style: none; margin: -14px 0 36px; padding: 12px 28px; background: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgba(20,20,20,.12); display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 10px 20px; font-family: var(--font-title); font-weight: 800; font-size: clamp(.9rem, 1.2vw, 1.05rem); letter-spacing: .04em; text-transform: uppercase; position: relative; z-index: 1; }
.hero__tags li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hero__tags li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--cyan)); flex: none; }
.hero__tags li:nth-child(1) { --c: var(--cyan); }
.hero__tags li:nth-child(2) { --c: var(--magenta); }
.hero__tags li:nth-child(3) { --c: var(--yellow-deep); }
.hero__tags li:nth-child(4) { --c: var(--ink); }
.hero__tags-zone { color: var(--red); }
.hero__tags-zone::before { background: var(--red) !important; border-radius: 50% 50% 50% 0 !important; transform: rotate(-45deg); }

/* Accueil : photo de presse offset floutée en fond, voilée de blanc */
.hero { background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.78) 42%, rgba(255,255,255,.15) 75%, rgba(255,255,255,0) 100%), url("images/fond-imprimerie.webp") center top / cover no-repeat; }
.hero__photo figcaption strong { color: var(--yellow); }

/* Chiffres : une couleur par chiffre */
.stat:nth-child(1) { border-color: var(--cyan); }    .stat:nth-child(1) .stat__num { color: #3cc4ff; }
.stat:nth-child(2) { border-color: var(--magenta); } .stat:nth-child(2) .stat__num { color: #ff4fae; }
.stat:nth-child(3) { border-color: var(--yellow); }  .stat:nth-child(3) .stat__num { color: var(--yellow); }
.stat:nth-child(4) { border-color: var(--red); }     .stat:nth-child(4) .stat__num { color: #fff; }

/* Icônes et cartes en couleurs */
.icon { stroke-width: 1.8; }
.promise, .card { position: relative; overflow: hidden; border-top: 0; }
.promise::before, .card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--c, var(--cyan)); }
.promises__grid > :nth-child(3n+1), .cards > :nth-child(3n+1) { --c: var(--cyan); --ct: var(--cyan-text); }
.promises__grid > :nth-child(3n+2), .cards > :nth-child(3n+2) { --c: var(--magenta); --ct: var(--magenta-text); }
.promises__grid > :nth-child(3n+3), .cards > :nth-child(3n+3) { --c: var(--yellow); --ct: #a37800; }
.promise .icon, .card .icon { stroke: var(--ct); background: color-mix(in srgb, var(--c) 14%, white); border-radius: 14px; padding: 9px; width: 56px; height: 56px; }
.card:hover { border-color: var(--c); }

/* Message clé */
.quote blockquote::before { color: var(--magenta); }
.quote .gold:first-of-type { color: var(--cyan-text); }

/* Méthode */
.wide-photo { max-width: 960px; margin: 0 auto 56px; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 20px 50px rgba(20,20,20,.12); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.step:nth-child(1) { border-color: var(--cyan); }    .step:nth-child(1) .step__num { color: var(--cyan); }
.step:nth-child(2) { border-color: var(--magenta); } .step:nth-child(2) .step__num { color: var(--magenta); }
.step:nth-child(3) { border-color: var(--yellow-deep); } .step:nth-child(3) .step__num { color: var(--yellow-deep); }
.step:nth-child(4) { border-color: var(--ink); }     .step:nth-child(4) .step__num { color: var(--ink); }

/* Pourquoi nous */
.why__photo { margin: 36px 0 0; border-radius: 200px 200px 20px 20px; overflow: hidden; max-width: 380px; aspect-ratio: 3 / 4; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--magenta), 0 20px 50px rgba(20,20,20,.12); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.why__list li:nth-child(1) { border-color: var(--cyan); }
.why__list li:nth-child(2) { border-color: var(--magenta); }
.why__list li:nth-child(3) { border-color: var(--yellow-deep); }
.why__list li:nth-child(4) { border-color: var(--red); }

/* Comparons */
.compare { background: linear-gradient(120deg, #141414 55%, #2a0a1c); position: relative; }
.compare::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--cyan) 0 33.3%, var(--magenta) 33.3% 66.6%, var(--yellow) 66.6%); }
.compare .gold { color: var(--yellow); }

/* Contact */
.channel .icon { stroke: var(--c); }
.channels li:nth-child(1) .channel { --c: var(--red); }
.channels li:nth-child(2) .channel { --c: #1fa855; }
.channels li:nth-child(3) .channel { --c: var(--cyan-text); }
.channel:hover { border-color: var(--c); }
.field input:focus, .field select:focus, .field textarea:focus { outline-color: var(--cyan); border-color: var(--cyan); }

/* Pied de page */
.footer { border-top: 4px solid; border-image: linear-gradient(90deg, var(--cyan) 0 33.3%, var(--magenta) 33.3% 66.6%, var(--yellow) 66.6%) 1; }
.footer a { color: #6fd3ff; }
.logo--light .logo__mark { filter: drop-shadow(0 0 1px rgba(255,255,255,.4)); }

:focus-visible { outline-color: var(--cyan); }

/* Promesses et domaines en photos */
.promise--photo { padding: 0; display: flex; flex-direction: column; }
.promise--photo:hover .card__img { transform: scale(1.04); }
.promise--photo::before { z-index: 2; height: 6px; }
.card--photo { padding: 0; display: flex; flex-direction: column; }
.card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.card--photo:hover .card__img { transform: scale(1.04); }
.card__body { padding: 24px 28px 28px; position: relative; background: #fff; }
.card--photo::before { z-index: 2; height: 6px; }

/* Bandeau des chiffres : version C (blanc papier) — même hauteur que l'en-tête (82px) */
.stats { background: #fff; color: var(--ink); padding: 0; border-bottom: 1px solid var(--line); }
.stats__grid { min-height: 82px; align-items: center; gap: 20px; }
.stat { flex-direction: row; align-items: center; gap: 10px; padding-left: 14px; min-height: 44px; }
.stat__num, .stat__num--txt { font-size: 1.45rem !important; line-height: 1; white-space: nowrap; }
.stat__label { font-size: .82rem; line-height: 1.25; color: var(--ink-soft); }
.stat:nth-child(1) .stat__num { color: var(--cyan-text); }
.stat:nth-child(2) .stat__num { color: var(--magenta); }
.stat:nth-child(3) .stat__num { color: #c98f00; }
.stat:nth-child(4) .stat__num { color: var(--red); }

/* Premier écran = en-tête + accueil + bandeau des chiffres, exactement la hauteur de l'écran (ordinateur) */
@media (min-width: 981px) {
  .hero { min-height: calc(100vh - 83px - 83px); min-height: calc(100svh - 83px - 83px); display: flex; flex-direction: column; }
  .hero__inner { flex: 1; }
  .hero__text { align-self: center; }
}

/* Barre mobile */
.mobilebar { display: none; }

/* ---------- Tablette ---------- */
@media (max-width: 980px) {
  .hero__inner, .why, .contact { grid-template-columns: 1fr; }
  .hero__photo { max-width: 460px; margin-inline: auto; }
  .hero__text { padding-bottom: 8px; }
  .hero__photo img { width: 77%; max-width: 330px; margin: 0 auto; }
  .hero__photo { display: flex; flex-direction: column; align-items: center; }
  .hero__photo figcaption { position: static; width: auto; margin: -8px 0 24px; text-align: center; }
  .hero { background: linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.8)), url("images/fond-imprimerie.webp") 70% center / cover no-repeat; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .cards, .promises__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .why, .contact { gap: 40px; }

  .burger { display: flex; }
  .nav { position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__call { margin-top: 16px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 24px; }
  .hero__tags { margin: -8px 0 28px; justify-content: flex-start; padding: 14px 18px; font-size: .85rem; gap: 8px 16px; }
  .cards, .promises__grid, .steps, .why__list, .form__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .stat { padding-left: 14px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .stats { padding: 20px 0; }
  .form { padding: 24px 20px; }
  .hero__cta .btn { width: 100%; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 3px solid var(--magenta); }
  .mobilebar a:first-child { background: var(--red); }
  .mobilebar a:nth-child(2) { background: #0e7a3f; }
  .wide-photo { aspect-ratio: 3 / 2; margin-bottom: 40px; }
  .logo__mark { width: 42px; }
  .mobilebar a { display: flex; align-items: center; justify-content: center; min-height: 58px; color: #fff; text-decoration: none; font-family: var(--font-title); font-weight: 700; font-size: .95rem; }
  .mobilebar a + a { border-left: 1px solid #333; }
  .mobilebar__main { background: var(--red); color: #fff !important; }
}

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

/* ---- Bandeau cookies ---- */
.cookies { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 420px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 16px 18px; font-size: .9rem; line-height: 1.45; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 12px; }
.cookies a { color: var(--ink-soft); }
.cookies__btns { display: flex; gap: 10px; justify-content: flex-end; }
.cookies button { font: inherit; font-weight: 700; border-radius: 999px; padding: 9px 18px; cursor: pointer; border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.cookies .cookies__oui { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 980px) { .cookies { left: 10px; right: 10px; bottom: 70px; max-width: none; } }

/* Bouton « Appelez-moi · numéro » toujours sur une ligne */
.hero__cta .btn { white-space: nowrap; }
@media (max-width: 420px) { .hero__cta .btn { padding-left: 14px; padding-right: 14px; font-size: .9rem; } }
