/* Feuille de style commune du site vitrine de Resago (accueil + pages de référencement générées
   par seo/build.mjs). Écrite à la main, chargée par toutes ces pages.

   Refonte du 06/10/2026 (d'après la maquette « Résa — accueil avec images réelles ») :
   mêmes polices que le back-office (Bricolage Grotesque pour les titres, DM Sans pour le texte),
   fond blanc, bleu marine et bleu Resago, plus aucun dégradé. Les classes .hm-* sont celles de
   l'accueil ; le reste (en-tête, pied de page, boutons, .page-hero, .article, .card, .faq,
   table.compare…) est partagé avec les pages de référencement.

   Polices hébergées sur le site (public/assets/fonts/, licence OFL) : aucun appel à Google Fonts
   depuis la vitrine. Ce sont les fichiers variables servis par Google Fonts, avec les mêmes
   descripteurs. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 700; font-stretch: 100%; font-display: swap; src: url(fonts/bricolage-grotesque-latin-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: "Bricolage Grotesque"; font-style: normal; font-weight: 600 700; font-stretch: 100%; font-display: swap; src: url(fonts/bricolage-grotesque-latin.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: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dm-sans-latin-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: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dm-sans-latin.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 {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-darker: #1e40af;
  --accent-light: #eff6ff;
  --accent-light-2: #dbeafe;
  --navy: #13224d;
  --ink: #111a33;
  --bg-page: #ffffff;
  --bg-soft: #f4f5f7;
  --bg-card: #ffffff;
  --border: #e3e5ea;
  --border-strong: #d7dbe5;
  --field-border: #c9cfdc;
  --text-primary: #111a33;
  --text-secondary: #3d4660;
  --text-muted: #5b6478;
  --success-bg: #e8f7ee;
  --success-text: #146c3a;
  --error-bg: #fdeceb;
  --error-text: #b3261e;
  --font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-card: 18px;
  --radius-btn: 10px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 7vw, 96px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.45); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }

/* ---------- En-tête ---------- */
header.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: clamp(8px, 2vw, 28px); padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
/* Logo Resago : lettres capitales pleine hauteur, d'où une hauteur plus faible que l'ancien logo. */
.brand img { height: clamp(17px, 1.6vw, 20px); width: auto; display: block; }
nav.site-nav { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2.2vw, 28px); font-size: 15px; font-weight: 500; }
nav.site-nav a { color: var(--text-secondary); text-decoration: none; line-height: 24px; white-space: nowrap; }
nav.site-nav a:hover, nav.site-nav a[aria-current="page"] { color: var(--accent-dark); }
.btn-cta { flex: none; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: clamp(14px, 1.2vw, 15px); line-height: 22px; padding: 11px clamp(12px, 1.4vw, 18px); border-radius: 10px; white-space: nowrap; transition: background-color .15s; }
.btn-cta:hover { background: var(--accent-dark); }
.nav-mobile { display: none; position: relative; flex: none; }
.nav-mobile summary { list-style: none; cursor: pointer; width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink); border-radius: 10px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: var(--bg-soft); }
.nav-mobile .panel { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 40px rgba(17, 26, 51, 0.16); padding: 8px; min-width: 240px; display: flex; flex-direction: column; }
.nav-mobile .panel a { padding: 11px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
.nav-mobile .panel a:hover { background: var(--bg-soft); }

/* ---------- Boutons ---------- */
.btn { display: inline-block; border: none; border-radius: var(--radius-btn); padding: 11px 18px; font-family: inherit; font-size: 15px; line-height: 22px; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-lg { font-size: 16px; line-height: 24px; padding: 14px 24px; border-radius: 12px; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--field-border); }
.btn-outline.btn-lg { padding: 13px 24px; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-ghost { background: none; color: var(--text-primary); border: 1px solid var(--field-border); padding: 10px 18px; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- Bandeau des pages de référencement ---------- */
.page-hero { padding: 40px 0 48px; background: var(--navy); color: #fff; }
.page-hero h1 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; font-weight: 700; margin: 12px 0 14px; letter-spacing: -0.02em; max-width: 820px; text-wrap: balance; }
.page-hero .lead { font-size: 18px; color: #d5dcf0; max-width: 720px; margin: 0 0 24px; }
.page-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero .btn-primary { background: #fff; color: var(--accent-dark); }
.page-hero .btn-primary:hover { background: #eef3ff; }
.page-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.page-hero .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.12); }
.breadcrumb { font-size: 13px; color: #c5cee8; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: #e3e8f7; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.kicker-small { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #bfdbfe; margin-top: 18px; }

/* ---------- Sections (pages de référencement) ---------- */
section { padding: 64px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin: 0 0 36px; }
.section-head h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.02em; }
.section-head p { color: var(--text-secondary); font-size: 17px; margin: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; transition: border-color .15s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.card:hover { border-color: var(--ink); }
.card .icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--bg-soft); color: var(--accent-dark); }
.card h3 { font-size: 18px; line-height: 1.25; font-weight: 700; margin: 0 0 6px; }
.card p { font-size: 15px; color: var(--text-secondary); margin: 0; }
.card .go { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--accent-dark); }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 660px; text-align: left; }
table.compare th, table.compare td { padding: 14px 22px; text-align: left; border-bottom: 1px solid #eef1f6; vertical-align: top; }
table.compare thead th { padding: 16px 22px; font-weight: 600; color: var(--text-muted); border-bottom: 1px solid var(--border); }
table.compare thead th:first-child { width: 32%; }
table.compare thead th.us { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; background: var(--navy); width: 26%; border-bottom: none; }
table.compare td { color: var(--text-secondary); }
table.compare td:first-child { color: var(--text-primary); font-weight: 500; }
table.compare td.us { background: #f4f8ff; font-weight: 600; border-bottom-color: #e3e9f5; }
table.compare tr:last-child td { border-bottom: none; }
.yes { color: var(--success-text); font-weight: 600; }
table.compare td.no, .no { color: var(--text-muted); }
.table-note { font-size: 14px; color: var(--text-muted); margin: 10px 0 0; }

/* ---------- Article (pages de référencement) ---------- */
.article { padding: 48px 0 24px; }
.tldr { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; margin: 0 0 36px; }
.tldr strong.label { display: block; font-family: var(--font-display); font-size: 15px; color: var(--accent-dark); margin-bottom: 4px; }
.tldr p { margin: 0; font-size: 17px; }
.article h2 { font-size: 27px; line-height: 1.2; font-weight: 700; margin: 40px 0 12px; letter-spacing: -0.015em; }
.article h3 { font-size: 20px; line-height: 1.25; font-weight: 700; margin: 26px 0 8px; }
.article p, .article li { font-size: 17px; color: #232b42; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article .table-wrap { margin: 18px 0; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--success-text); font-weight: 700; }
.callout { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 16px 20px; margin: 22px 0; font-size: 16px; }
.template { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin: 16px 0; font-size: 16px; white-space: pre-line; }
.template .obj { display: block; font-weight: 700; margin-bottom: 8px; }
.updated { font-size: 13px; color: var(--text-muted); margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border-strong); }
.faq details { border-bottom: 1px solid var(--border-strong); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.faq .answer p { margin: 12px 0 0; font-size: 16px; color: var(--text-secondary); max-width: 680px; }
.article-faq { margin-top: 44px; }
.article-faq h2 { margin-bottom: 18px; }

/* ---------- Bandeau d'appel à l'action (pages de référencement) ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: 20px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.15; letter-spacing: -0.015em; }
.cta-band p { margin: 0; color: #d5dcf0; }
.cta-band p a { color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--accent-dark); }
.cta-band .btn-primary:hover { background: #eef3ff; }

/* ---------- Formulaire de contact ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
/* 16px minimum : en dessous, iOS zoome sur le champ au focus. */
.field input, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--field-border); border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-msg { font-size: 14px; padding: 10px 12px; border-radius: 8px; display: none; }
.form-msg.success { background: var(--success-bg); color: var(--success-text); display: block; }
.form-msg.error { background: var(--error-bg); color: var(--error-text); display: block; }
button.submit-btn { align-self: flex-start; font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.55; background: var(--accent); color: #fff; border: none; border-radius: 12px; padding: 14px 24px; cursor: pointer; transition: background-color .15s; }
button.submit-btn:hover { background: var(--accent-dark); }
button.submit-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- Pied de page ---------- */
footer.site-footer { background: #fff; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 14px; }
footer.site-footer .wrap { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 32px; display: flex; flex-direction: column; gap: 36px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 32px 40px; }
.footer-grid h3 { font-family: var(--font-text); font-size: 14px; line-height: 1.55; font-weight: 700; margin: 0 0 12px; }
.footer-grid h3 a { color: var(--ink); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--text-secondary); text-decoration: none; }
.footer-grid a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-about { display: flex; flex-direction: column; gap: 14px; }
.footer-about p { margin: 0; }
.footer-about p a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }
.footer-logo img { height: 20px; width: auto; display: block; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; font-size: 13px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.footer-bottom a { color: var(--text-muted); }

/* =============================================================================================
   Accueil (.hm-*)
   ============================================================================================= */
.home section { padding: 0; }
.hm-band { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hm-pad { padding-top: var(--section); padding-bottom: var(--section); }
.hm-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.hm-head.narrow { max-width: 640px; }
.hm-head h2, .hm-h2 { margin: 0; font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.hm-head p { margin: 0; font-size: 18px; color: var(--text-secondary); }
.hm-more { color: var(--accent-dark); font-weight: 600; font-size: 15px; text-decoration: none; }
a.hm-more:hover, a:hover > * > .hm-more, a:hover > .hm-more { text-decoration: underline; }
.hm-cap { font-size: 13px; color: var(--text-muted); }
.hm-shot { display: block; border-radius: 12px; border: 1px solid var(--border-strong); }

/* Haut de page */
.hm-hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 5vw, 72px); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.hm-hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hm-kicker { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--accent-dark); letter-spacing: 0.01em; }
.hm-kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.hm-hero h1 { margin: 0; font-weight: 700; font-size: clamp(33px, 3.9vw, 52px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.hm-hero h1 .soft { color: var(--text-muted); }
.hm-lead { margin: 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--text-secondary); max-width: 560px; text-wrap: pretty; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hm-proof { list-style: none; margin: 0; padding: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 10px 24px; font-size: 15px; color: var(--text-secondary); border-top: 1px solid var(--border); }
.hm-proof li { display: flex; align-items: center; gap: 10px; }
.hm-proof svg { flex: none; }
.hm-hero-visual { flex: 1 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.hm-stage { position: relative; aspect-ratio: 10 / 9.4; }
.hm-stage .photo { position: absolute; top: 0; right: 3%; width: 84%; height: 100%; max-width: none; object-fit: cover; object-position: 55% 60%; border-radius: 22px; display: block; }
.hm-stage .phone { position: absolute; left: 0; bottom: -4%; width: 39%; aspect-ratio: 390 / 770; background: #fff; border: 6px solid var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 0 24px 48px rgba(17, 26, 51, 0.28); }
.hm-stage .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hm-stage .stats { position: absolute; right: 0; top: 7%; width: 60%; border-radius: 12px; border: 4px solid var(--bg-soft); box-shadow: 0 16px 36px rgba(17, 26, 51, 0.22); display: block; }
.hm-hero-visual .hm-cap { padding-left: 14%; }

/* Resago en une phrase + tableau de bord */
.hm-intro .wrap { padding-top: clamp(48px, 6.5vw, 88px); padding-bottom: clamp(48px, 6.5vw, 88px); display: flex; flex-direction: column; gap: clamp(32px, 4vw, 52px); }
.hm-intro-text { display: flex; flex-wrap: wrap; gap: 16px 56px; align-items: flex-start; }
.hm-intro-text h2 { margin: 0; flex: none; font-weight: 700; font-size: 16px; line-height: 34px; letter-spacing: 0.01em; color: var(--accent-dark); }
.hm-intro-text p { margin: 0; flex: 1 1 520px; min-width: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.36; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.hm-figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.hm-browser { border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(17, 26, 51, 0.12); }
.hm-browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--border); background: #fff; }
.hm-browser-bar .dots { display: flex; gap: 6px; }
.hm-browser-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); display: block; }
.hm-browser-bar .url { flex: 1 1 auto; min-width: 0; background: var(--bg-soft); border-radius: 8px; padding: 4px 12px; font-size: 13px; line-height: 1.55; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-browser img { width: 100%; height: auto; display: block; }

/* Deux types de pages */
.hm-modes .wrap { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 44px); }
.hm-modes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.hm-mode { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #fff; }
.hm-mode > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hm-mode > img.rdv { object-position: 50% 35%; }
.hm-mode-body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.hm-mode h3 { margin: 0; font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.hm-mode p { margin: 0; font-size: 16px; color: var(--text-secondary); }
.hm-mode ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-secondary); }
.hm-mode li { display: flex; gap: 10px; align-items: baseline; }
.hm-mode li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.hm-mode .hm-more { padding-top: 4px; }

/* Ce que Resago fait à votre place */
.hm-features .wrap { display: flex; flex-direction: column; gap: clamp(40px, 5.5vw, 80px); }
.hm-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 72px); }
.hm-row.rev { flex-direction: row-reverse; }
.hm-row-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hm-row-text h3 { margin: 0; font-weight: 700; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.015em; }
.hm-row-text p { margin: 0; font-size: 17px; color: var(--text-secondary); max-width: 460px; }
.hm-row-fig { flex: 1.35 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.hm-overlap { position: relative; aspect-ratio: 10 / 7.6; }
.hm-overlap img { position: absolute; }
.hm-overlap .a { left: 0; top: 0; width: 76%; box-shadow: 0 18px 40px rgba(17, 26, 51, 0.12); }
.hm-overlap .b { right: 0; bottom: 0; width: 72%; box-shadow: 0 18px 40px rgba(17, 26, 51, 0.16); }
.hm-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); align-items: start; }
.hm-pair img { width: 100%; box-shadow: 0 18px 40px rgba(17, 26, 51, 0.12); }
.hm-pair img + img { margin-top: 12%; }
.hm-stack { display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 16px); }
.hm-stack img { width: 100%; box-shadow: 0 18px 40px rgba(17, 26, 51, 0.10); }
.hm-fcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.hm-fcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: border-color .15s; }
.hm-fcard:hover { border-color: var(--ink); }
.hm-fcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; border-bottom: 1px solid var(--border); }
.hm-fcard img.bottom { object-position: bottom; }
.hm-fcard-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.hm-fcard-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.hm-fcard-text { font-size: 15px; color: var(--text-secondary); }
.hm-fcard .hm-more { padding-top: 4px; }

/* Comment ça marche */
.hm-steps .wrap { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); }
.hm-steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(24px, 2.6vw, 36px); }
.hm-step { display: flex; flex-direction: column; gap: 18px; }
.hm-step > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.hm-step > img.hm-shot { object-position: left top; border-radius: 16px; }
.hm-step-row { display: flex; gap: 16px; align-items: flex-start; }
.hm-step-num { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 0.95; color: var(--accent); flex: none; min-width: 30px; }
.hm-step-txt { display: flex; flex-direction: column; gap: 6px; }
.hm-step h3 { margin: 0; font-weight: 700; font-size: 21px; line-height: 1.2; }
.hm-step p { margin: 0; font-size: 16px; color: var(--text-secondary); }

/* Pour quels évènements ? */
.hm-usages { border-top: 1px solid var(--border); }
.hm-usages .wrap { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); }
.hm-usages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.hm-usage { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); }
.hm-usage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.hm-usage-body { display: flex; flex-direction: column; gap: 6px; }
.hm-usage-title { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.2; }
.hm-usage-text { font-size: 16px; color: var(--text-secondary); }
.hm-usage .hm-more { padding-top: 2px; }

/* Comparatif */
.hm-compare { border-bottom: none; }
.hm-compare .wrap { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.hm-compare .table-note { margin: 0; }

/* Conçu en Guadeloupe */
.hm-antilles { display: flex; flex-wrap: wrap; background: var(--navy); }
.hm-antilles-text { flex: 1 1 380px; min-width: 0; padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 18px; color: #fff; }
.hm-antilles-text h2 { margin: 0; font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.hm-antilles-text p { margin: 0; font-size: 18px; color: #d5dcf0; max-width: 440px; }
.hm-antilles-text a { color: #fff; font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; align-self: flex-start; padding: 6px 0; }
.hm-antilles-fig { flex: 1.6 1 460px; min-width: 0; margin: 0; position: relative; }
.hm-antilles-fig img { width: 100%; height: 100%; min-height: 300px; aspect-ratio: 16 / 9; object-fit: cover; object-position: 55% 45%; display: block; }
.hm-antilles-fig figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(17, 26, 51, 0.82); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 8px; }

/* Questions fréquentes */
.hm-faq .wrap { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 72px); align-items: flex-start; }
.hm-faq-head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hm-faq-head p { margin: 0; font-size: 18px; color: var(--text-secondary); }
.hm-faq-head .hm-more { padding-top: 8px; }
.hm-faq .faq { flex: 2 1 520px; min-width: 0; }

/* Contact */
.hm-contact { border-bottom: none; }
.hm-contact .wrap { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); align-items: flex-start; }
.contact-info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-info p { margin: 0; font-size: 18px; color: var(--text-secondary); }
.contact-info ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--text-secondary); }
.contact-info ul a.mail { font-weight: 600; }
form.contact-form { flex: 1.5 1 420px; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.hm-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }

/* ---------- Écrans étroits ---------- */
@media (max-width: 1000px) {
  nav.site-nav { visibility: hidden; height: 0; overflow: hidden; }
  .nav-mobile { display: block; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-header .wrap { gap: 6px; }
  .brand { gap: 10px; }
  .card-grid, .card-grid.two { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .cta-band { padding: 28px 22px; }

  /* Tableaux comparatifs en cartes empilées : une ligne = une carte, le critère (1re cellule)
     en titre, puis « colonne : valeur » grâce au data-label posé par seo/build.mjs. */
  .table-wrap { background: none; border: none; border-radius: 0; overflow: visible; }
  table.compare { min-width: 0; display: block; }
  table.compare thead { display: none; }
  table.compare tbody { display: grid; gap: 12px; }
  table.compare tr { display: block; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 6px 16px 10px; }
  table.compare td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); text-align: right; }
  table.compare td:first-child { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; text-align: left; padding: 10px 0 6px; border-bottom: 1px solid var(--border); }
  table.compare td::before { content: attr(data-label); flex: 0 0 auto; color: var(--text-muted); font-weight: 500; text-align: left; }
  table.compare td:first-child::before { content: none; }
  table.compare td.us { background: none; }
  table.compare td.us::before { color: var(--navy); font-weight: 700; }
  table.compare tr:last-child td { border-bottom: 1px solid var(--border); }
  table.compare td:last-child { border-bottom: none; }
}
/* En dessous de 400 px, « Essayer gratuitement » ne tient plus à côté du logo et du menu. */
@media (max-width: 399px) {
  .btn-cta .cta-more { display: none; }
}
