@charset "UTF-8";
/* =============================================================================
   LOCA'TOUCH — Design system
   Rouge de marque #DA3544 extrait du logo officiel.
   Sommaire : 1 tokens · 2 base · 3 typo · 4 layout · 5 boutons · 6 header
              7 hero · 8 composants · 9 formulaires · 10 footer · 11 responsive
   ========================================================================== */

/* -------------------------------------------------- 1. tokens ------------- */
:root {
  --red: #da3544;
  --red-dark: #b62231;
  --red-deep: #8d1824;
  --red-tint: #fdeef0;
  --red-glow: rgba(218, 53, 68, 0.28);

  --ink: #0b0d12;
  --ink-soft: #171c25;
  --ink-mute: #2a323f;
  --muted: #5b6675;
  --muted-soft: #8b95a3;

  --paper: #ffffff;
  --sand: #f7f5f2;
  --sand-2: #efeae4;
  --line: rgba(11, 13, 18, 0.08);
  --line-strong: rgba(11, 13, 18, 0.14);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --sh-sm: 0 2px 8px rgba(11, 13, 18, 0.05);
  --sh-md: 0 14px 34px rgba(11, 13, 18, 0.09);
  --sh-lg: 0 30px 70px rgba(11, 13, 18, 0.14);
  --sh-red: 0 16px 34px rgba(218, 53, 68, 0.26);

  --container: 1220px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* -------------------------------------------------- 2. base --------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* les ancres ne doivent pas passer sous le header collant */
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-mute);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* -------------------------------------------------- 3. typographie -------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  letter-spacing: -0.025em;
  line-height: 1.22;
}

h4 {
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

.lead {
  font-size: clamp(1.09rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow.is-centered {
  justify-content: center;
}

/* -------------------------------------------------- 4. layout ------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

.section.is-tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section.on-sand {
  background: var(--sand);
}

.section.on-ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.section.on-ink h2,
.section.on-ink h3,
.section.on-ink h4 {
  color: #fff;
}

.section.on-ink .lead {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1rem;
}

.section-head.is-centered {
  margin-inline: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* -------------------------------------------------- 5. boutons ------------ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  --btn-bg: var(--red);
  box-shadow: var(--sh-red);
}

.btn-primary:hover {
  --btn-bg: var(--red-dark);
  box-shadow: 0 20px 40px rgba(218, 53, 68, 0.34);
}

.btn-dark:hover {
  --btn-bg: var(--ink-soft);
  box-shadow: var(--sh-md);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  --btn-bg: var(--paper);
  border-color: var(--ink);
  box-shadow: var(--sh-md);
}

.btn-light {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(6px);
}

.btn-light:hover {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  border-color: #fff;
}

.btn-lg {
  padding: 1.15rem 2rem;
  font-size: 1.02rem;
}

.btn .ico {
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn:hover .ico {
  transform: translateX(3px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

/* lien texte avec soulignement animé */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.97rem;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* -------------------------------------------------- 6. header ------------- */
.announce {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 600;
}

.announce .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.6rem;
  padding-block: 0.6rem;
  text-align: center;
}

.announce b {
  color: #fff;
}

.announce .dot {
  color: var(--red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px rgba(11, 13, 18, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.75rem;
}

.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
}

.brand img {
  /* logo empile sur deux lignes : ratio 1.42 */
  height: 3rem;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-inline: auto;
}

.main-nav > li {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  color: var(--ink-mute);
  font-size: 0.95rem;
  font-weight: 650;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.has-menu:hover > .nav-link {
  background: var(--sand);
  color: var(--ink);
}

.nav-link[aria-current="page"] {
  color: var(--red);
}

.nav-link .caret {
  font-size: 0.6rem;
  opacity: 0.55;
  transition: transform 0.2s ease;
}

.has-menu:hover > .nav-link .caret {
  transform: rotate(180deg);
}

/* sous-menu produits */
.submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  translate: -50% 0;
  width: min(52rem, 92vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.has-menu:hover > .submenu,
.has-menu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-title {
  margin: 0 0 0.35rem 0.85rem;
  color: var(--muted-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.submenu a {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-md);
  transition: background 0.16s ease;
}

.submenu-foot {
  grid-column: 1 / -1;
  margin-top: 0.4rem;
  padding-top: 0.9rem !important;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-md) var(--r-md);
}

.submenu-foot strong {
  color: var(--red);
}

.submenu a:hover {
  background: var(--sand);
}

.submenu strong {
  font-size: 0.95rem;
  font-weight: 750;
}

.submenu span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.nav-side {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 750;
  white-space: nowrap;
}

.nav-tel:hover {
  background: var(--red-tint);
  color: var(--red-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0 0.62rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(0.3rem) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-0.3rem) rotate(-45deg);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* -------------------------------------------------- 7. hero --------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(60rem 40rem at 88% -12%, var(--red-tint), transparent 62%),
    radial-gradient(48rem 34rem at -8% 8%, rgba(247, 245, 242, 0.95), transparent 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.4rem;
  justify-items: start;
}

.hero-copy h1 .accent {
  color: var(--red);
}

.hero-points {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-mute);
  font-weight: 620;
}

.hero-points li::before {
  content: "✓";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
  border-radius: 999px;
  background: var(--red-tint);
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* composition visuelle : photo + capture flottante */
.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media .shot-main {
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  background: var(--sand-2);
  aspect-ratio: 4 / 5;
}

.hero-media .shot-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .shot-float {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: 42%;
  border: 6px solid var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  background: var(--paper);
}

.hero-media .badge-float {
  position: absolute;
  left: -5%;
  top: 8%;
  display: grid;
  gap: 0.1rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: var(--sh-md);
}

.badge-float .num {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.badge-float .lbl {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* -------------------------------------------------- 8. composants --------- */
/* --- bandeau de confiance --- */
.trustbar {
  padding-block: 2rem;
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.trustbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 2.4rem;
}

.trustbar p {
  color: var(--muted-soft);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trustbar ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.8rem;
}

.trustbar li {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

/* --- tuiles « compatible avec » --- */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.8rem;
}

.compat-tile {
  display: grid;
  gap: 0.7rem;
  place-items: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.compat-tile {
  position: relative;
}

a.compat-tile:hover,
a.compat-tile:focus-visible {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--sh-md);
}

/* solution listée sans lien vérifié : présente, mais pas cliquable */
.compat-tile.is-static {
  cursor: default;
}

.compat-tile .ext {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  color: var(--muted-soft);
  font-size: 0.78rem;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

a.compat-tile:hover .ext,
a.compat-tile:focus-visible .ext {
  opacity: 1;
  transform: translate(2px, -2px);
}

.compat-tile img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

a.compat-tile:hover img,
a.compat-tile:focus-visible img {
  filter: none;
  opacity: 1;
}

.compat-tile span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* wordmark de repli quand aucun logo n'est disponible */
.compat-tile .wordmark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-sm);
  background: var(--sand);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* --- cartes produit --- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--sh-lg);
}

.product-card .media {
  aspect-ratio: 4 / 3;
  background: var(--sand-2);
  overflow: hidden;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .media img {
  transform: scale(1.04);
}

.product-card .body {
  display: grid;
  gap: 0.6rem;
  padding: 1.5rem 1.5rem 1.7rem;
}

.product-card .tag {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card p {
  color: var(--muted);
  font-size: 0.97rem;
}

.product-card .link-arrow {
  margin-top: 0.4rem;
}

.product-card .stretch {
  position: absolute;
  inset: 0;
}

/* --- rangée alternée texte / capture --- */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
}

.feature-row.is-flipped .feature-copy {
  order: 2;
}

.feature-copy {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.3rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-list .bullet {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: var(--red-tint);
  color: var(--red-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.1rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.97rem;
}

/* --- cadre borne (captures portrait) --- */
.bezel {
  position: relative;
  margin-inline: auto;
  max-width: 22rem;
  padding: 0.85rem 0.85rem 2.6rem;
  border-radius: 1.9rem;
  background: linear-gradient(160deg, #2c323c, #14181f 60%);
  box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.bezel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1rem;
  translate: -50% 0;
  width: 3.6rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.bezel img {
  width: 100%;
  border-radius: 1.2rem;
  background: #fff;
}

.bezel.is-wide {
  max-width: 100%;
  padding-bottom: 0.85rem;
}

.bezel.is-wide::after {
  display: none;
}

/* capture simple encadrée */
.shot {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--sh-md);
  overflow: hidden;
}

.shot img {
  width: 100%;
}

.shot-caption {
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

/* --- chiffres clés --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.stat {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  background: var(--ink);
}

.stat .num {
  color: #fff;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat .num em {
  color: var(--red);
  font-style: normal;
}

.stat .lbl {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  font-weight: 600;
}

/* --- étapes numérotées --- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.step {
  position: relative;
  display: grid;
  gap: 0.6rem;
  padding: 2rem 1.6rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.4rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.step p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* --- avantages / bénéfices --- */
.benefit {
  display: grid;
  gap: 0.6rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--sh-md);
}

.benefit .ico {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 0.5rem;
  border-radius: var(--r-md);
  background: var(--red-tint);
  font-size: 1.3rem;
}

.benefit p {
  color: var(--muted);
  font-size: 0.97rem;
}

.section.on-ink .benefit {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.section.on-ink .benefit p {
  color: rgba(255, 255, 255, 0.68);
}

.section.on-ink .benefit .ico {
  background: rgba(218, 53, 68, 0.18);
}

/* --- témoignages --- */
.quote {
  display: grid;
  gap: 1.1rem;
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.quote blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.09rem;
  font-weight: 620;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.quote .stars {
  color: var(--red);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

.quote figcaption {
  display: grid;
  gap: 0.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.quote .who {
  color: var(--ink);
  font-weight: 750;
  font-size: 0.95rem;
}

.quote .role {
  color: var(--muted);
  font-size: 0.88rem;
}

/* --- matériel (tailles d'écran) --- */
.hardware-card {
  display: grid;
  gap: 0.5rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  text-align: center;
}

.hardware-card .size {
  color: var(--red);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hardware-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- FAQ --- */
.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 52rem;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: transparent;
  box-shadow: var(--sh-md);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease;
}

.faq details[open] summary::after {
  content: "−";
  background: var(--red-tint);
}

.faq .answer {
  padding: 0 1.35rem 1.3rem;
  color: var(--muted);
}

/* --- galerie photos --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.8rem;
}

.gallery figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  background: var(--sand-2);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(11, 13, 18, 0.82));
  color: #fff;
  font-size: 0.86rem;
  font-weight: 620;
  line-height: 1.35;
}

.gallery figure.is-tall {
  grid-row: span 2;
  aspect-ratio: 3 / 8;
}

/* --- bandeau CTA --- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(40rem 26rem at 88% 0%, rgba(218, 53, 68, 0.42), transparent 60%),
    linear-gradient(140deg, var(--ink), #1d2431);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.cta-band h2 {
  color: #fff;
}

.cta-band .inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.cta-band .copy {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.cta-band .aside {
  display: grid;
  gap: 0.7rem;
}

.cta-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 650;
}

.cta-chip .ico {
  color: var(--red);
}

/* --- pages intérieures : en-tête --- */
.page-hero {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(52rem 32rem at 92% -20%, var(--red-tint), transparent 60%),
    var(--sand);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb .sep {
  opacity: 0.45;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* --- encart local / SEO --- */
.prose {
  max-width: 44rem;
  display: grid;
  gap: 1rem;
}

.prose h2,
.prose h3 {
  margin-top: 1rem;
}

.prose p {
  color: var(--muted);
}

.prose ul {
  display: grid;
  gap: 0.6rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--red);
}

/* -------------------------------------------------- 9. formulaires -------- */
.form-panel {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--sh-lg);
}

.form-panel > .eyebrow {
  margin-bottom: 0.5rem;
}

.lt-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.field .req {
  color: var(--red);
}

.lt-form input,
.lt-form select,
.lt-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.97rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.lt-form input::placeholder,
.lt-form textarea::placeholder {
  color: var(--muted-soft);
}

.lt-form input:focus,
.lt-form select:focus,
.lt-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-tint);
}

.lt-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.lt-form button[type="submit"] {
  width: 100%;
  margin-top: 0.2rem;
}

.lt-form button[type="submit"][disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--red);
}

.consent label {
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  cursor: pointer;
}

.consent a {
  color: var(--red);
  text-decoration: underline;
}

.lt-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 650;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="success"] {
  color: #17794a;
}

.form-status[data-state="error"] {
  color: var(--red-dark);
}

.form-status[data-state="info"] {
  color: var(--muted);
}

/* -------------------------------------------------- 10. footer ------------ */
.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-brand img {
  height: 3.3rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-grid h4 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 0.65rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-contact a {
  color: #fff;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.3rem 1.8rem;
  font-size: 0.87rem;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.3rem;
}

/* -------------------------------------------------- 11. animations -------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* -------------------------------------------------- accessibilité -------- */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* -------------------------------------------------- 12. responsive -------- */
@media (max-width: 1180px) {
  .main-nav,
  .nav-tel {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: var(--gutter);
    right: var(--gutter);
    max-height: min(74vh, 34rem);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--sh-lg);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: space-between;
    padding: 0.85rem 0.9rem;
    border-radius: var(--r-md);
    font-size: 1rem;
  }

  /* en mobile le sous-menu est déplié en accordéon simple */
  .submenu {
    position: static;
    width: auto;
    translate: none;
    grid-template-columns: 1fr;
    gap: 0.1rem;
    padding: 0.2rem 0 0.5rem 0.6rem;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu a {
    padding: 0.6rem 0.7rem;
  }

  .submenu-col {
    display: contents;
  }

  .submenu-title {
    margin: 0.6rem 0 0.1rem 0.7rem;
  }

  .submenu-foot {
    margin-top: 0.2rem;
    padding-top: 0.6rem !important;
  }

  .submenu span {
    display: none;
  }

  .has-menu > .nav-link .caret {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-side .btn {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .page-hero-grid.is-form,
  .feature-row,
  .cta-band .inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-row.is-flipped .feature-copy {
    order: 0;
  }

  .hero-media {
    max-width: 30rem;
    margin-inline: auto;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery figure.is-tall {
    grid-row: auto;
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1.02rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-row {
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
  }

  .hero-media .badge-float {
    left: 0;
    top: 3%;
    padding: 0.7rem 0.9rem;
  }

  .hero-media .shot-float {
    width: 46%;
    right: -2%;
  }

  .announce .container {
    font-size: 0.8rem;
  }

  .trustbar .container {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

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

  .btn:hover,
  .product-card:hover,
  .benefit:hover,
  .compat-tile:hover {
    transform: none;
  }
}

/* ==========================================================
   Maillage interne : les autres briques de la suite
   ========================================================== */
.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.8rem;
}

.suite-item a {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.suite-item a:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--sh-md);
}

.suite-item .ico {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.5rem;
  border-radius: var(--r-md);
  background: var(--red-tint);
  font-size: 1.2rem;
}

.suite-item strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.suite-item .desc {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.suite-item .link-arrow {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* ==========================================================
   Bandeau « suite complète » de l'accueil
   ========================================================== */
.suite-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
}

.suite-band a {
  display: grid;
  gap: 0.3rem;
  place-items: center;
  padding: 1.5rem 1rem;
  background: var(--paper);
  text-align: center;
  transition: background 0.2s ease;
}

.suite-band a:hover {
  background: var(--red-tint);
}

.suite-band .ico {
  font-size: 1.5rem;
}

.suite-band strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* ==========================================================
   Pages légales : mentions, CGV, confidentialité
   ========================================================== */
.legal-list {
  display: grid;
  gap: 0.1rem;
  margin: 0.4rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--line);
  overflow: hidden;
}

.legal-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) 1fr;
  gap: 0.4rem 1.2rem;
  padding: 0.8rem 1.1rem;
  background: var(--paper);
}

.legal-list li::before {
  display: none;
}

.legal-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-list strong {
  color: var(--ink);
  font-weight: 650;
}

.legal-list a {
  color: var(--red);
}

/* --- CGV : sommaire collant + articles --- */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 6.5rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--sand);
}

.legal-toc p {
  margin-bottom: 0.7rem;
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  gap: 0.1rem;
  counter-reset: none;
}

.legal-toc a {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
  transition: background 0.16s ease, color 0.16s ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.legal-toc a span {
  color: var(--red);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.legal-body {
  max-width: none;
  gap: 0;
}

.legal-article {
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 7rem;
}

.legal-article:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-article h2 {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}

.legal-article .num {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-article p + p {
  margin-top: 0.7rem;
}

.legal-article p {
  color: var(--muted);
  font-size: 0.99rem;
}

@media (max-width: 980px) {
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-toc {
    position: static;
    max-height: none;
  }

  .legal-toc ol {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    display: grid;
  }

  .legal-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }
}

/* ==========================================================
   Cartes matériel : photo réelle de chaque taille de borne
   ========================================================== */
.hardware-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.hardware-card .media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--sand-2);
  overflow: hidden;
}

.hardware-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hardware-card:hover .media img {
  transform: scale(1.04);
}

.hardware-card .media .size {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: var(--sh-sm);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.hardware-card .body {
  display: grid;
  gap: 0.45rem;
  padding: 1.4rem 1.5rem 1.7rem;
}

/* ==========================================================
   Retour explicite et sélecteur de solutions
   ========================================================== */
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.55rem 1.1rem 0.55rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--sh-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}

.page-back:hover,
.page-back:focus-visible {
  transform: translateX(-3px);
  border-color: var(--red);
  background: var(--red-tint);
  color: var(--red-dark);
  box-shadow: var(--sh-md);
}

.page-back .arrow {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  font-size: 0.82rem;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.page-back:hover .arrow {
  background: var(--red);
  color: #fff;
  transform: translateX(-2px);
}

/* barre de saut entre les huit solutions */
.switcher {
  position: sticky;
  top: 4.75rem;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
}

.switcher-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.switcher-home {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.switcher-home:hover {
  background: var(--red-tint);
  color: var(--red-dark);
}

.switcher ul {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.6rem 0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.switcher ul::-webkit-scrollbar {
  height: 4px;
}

.switcher ul::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--line-strong);
}

.switcher li {
  flex: none;
}

.switcher ul a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.switcher ul a:hover {
  background: var(--sand);
  color: var(--ink);
}

.switcher ul a[aria-current="page"] {
  border-color: var(--red);
  background: var(--red-tint);
  color: var(--red-dark);
}

@media (max-width: 980px) {
  .switcher {
    top: 4.75rem;
  }

  .switcher-inner {
    display: grid;
    gap: 0;
  }

  .switcher-home {
    padding-left: 0;
  }
}

/* ==========================================================
   Articles de blog
   ========================================================== */
.post-hero {
  padding-block: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(48rem 30rem at 88% -25%, var(--red-tint), transparent 60%),
    var(--sand);
}

.post-head {
  max-width: 50rem;
}

.post-head h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.post-meta .sep {
  opacity: 0.5;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 19rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* --- corps de l'article : typographie de lecture longue --- */
.post-body {
  max-width: 44rem;
  font-size: 1.09rem;
  line-height: 1.72;
}

.post-body > p {
  margin-bottom: 1.15rem;
  color: var(--ink-mute);
}

.post-body h2 {
  margin: clamp(2.2rem, 4vw, 3rem) 0 1rem;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  scroll-margin-top: 7rem;
}

.post-body h2:first-of-type {
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
}

.post-body > ul {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
}

.post-body > ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-mute);
}

.post-body > ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--red);
}

.post-body a:not(.btn) {
  color: var(--red-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 600;
}

.post-body a:not(.btn):hover {
  background: var(--red-tint);
}

.post-body .faq {
  max-width: none;
  margin-top: 1.2rem;
}

/* --- encart « à retenir » --- */
.takeaways {
  margin: 0 0 2rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--sand);
}

.takeaways p {
  margin-bottom: 0.7rem;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.takeaways ul {
  display: grid;
  gap: 0.55rem;
}

.takeaways li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink);
  font-size: 0.99rem;
  font-weight: 600;
  line-height: 1.5;
}

.takeaways li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

/* --- colonne de droite : sommaire collant + appel à l'action --- */
.post-aside {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1rem;
}

.post-toc {
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.post-toc p {
  margin-bottom: 0.6rem;
  color: var(--muted-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.post-toc ol {
  display: grid;
  gap: 0.15rem;
  counter-reset: toc;
}

.post-toc a {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  counter-increment: toc;
  transition: background 0.16s ease, color 0.16s ease;
}

.post-toc a::before {
  content: counter(toc) ". ";
  color: var(--red);
  font-weight: 700;
}

.post-toc a:hover,
.post-toc a:focus-visible {
  background: var(--sand);
  color: var(--ink);
}

.post-cta {
  display: grid;
  gap: 0.6rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--ink), #1d2431);
  color: rgba(255, 255, 255, 0.76);
}

.post-cta h3 {
  color: #fff;
  font-size: 1.12rem;
}

.post-cta p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.post-cta .btn {
  margin-top: 0.4rem;
  width: 100%;
}

/* --- index du blog, groupé par thématique --- */
.post-group + .post-group {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.post-group h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

@media (max-width: 980px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-aside {
    position: static;
    order: -1;
  }

  .post-toc {
    display: none;
  }
}

/* ==========================================================
   Contact : le formulaire est visible dès l'arrivée
   ========================================================== */
.page-hero-grid.is-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
  align-items: start;
}

.contact-direct {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.contact-direct-item:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: var(--sh-md);
}

.contact-direct-item .ico {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--red-tint);
  color: var(--red-dark);
}

.contact-direct-item span:last-child {
  display: grid;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-direct-item strong {
  color: var(--ink);
  font-size: 1rem;
}

/* ==========================================================
   Consentement : impossible à manquer
   ========================================================== */
.consent {
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 0.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--sand);
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* la case est agrandie : une cible tactile de 16px se rate au doigt */
.consent input {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.05rem;
  cursor: pointer;
}

.consent label {
  cursor: pointer;
}

.consent:focus-within {
  border-color: var(--red);
  background: var(--red-tint);
}

/* mis en évidence quand le visiteur valide sans avoir coché */
.consent.is-missing {
  border-color: var(--red);
  background: var(--red-tint);
  animation: consent-attention 0.5s ease;
}

@keyframes consent-attention {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ==========================================================
   Sommaire repliable des pages légales
   ========================================================== */
.legal-toc > summary {
  display: none;
}

@media (max-width: 980px) {
  /* 25 entrées empilées avant le premier article rendaient la page
     illisible sur téléphone : le sommaire se replie. */
  .legal-toc {
    padding: 0;
  }

  .legal-toc > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    color: var(--ink);
    font-size: 0.97rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .legal-toc > summary::-webkit-details-marker {
    display: none;
  }

  .legal-toc > summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    flex: none;
    border-radius: 999px;
    background: var(--paper);
    color: var(--red);
    font-size: 1.1rem;
    font-weight: 800;
  }

  .legal-toc[open] > summary::after {
    content: "−";
  }

  .legal-toc > ol {
    max-height: 18rem;
    overflow-y: auto;
    padding: 0 1.2rem 1.2rem;
  }
}
