/* Couleurs relevées sur le logo SECUREX : bleu marine, rouge, bordeaux. */
:root {
  --navy: #0D3056;
  --navy-soft: #5D7898;
  --night: #081C33;
  --line: #24466B;
  --muted-dark: #AFC0D4;
  --red: #B01F2A;
  --red-hover: #C92733;
  --red-dark: #6B0F12;
  --red-light: #FF7C82;
  --red-tint: #FBEDEE;
  --paper: #F3F5F8;
  --ink: #0B223C;
  --muted: #4E5C6E;
  --line-light: #D6DDE7;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: #F4F7FA; font: 17px/1.6 var(--body); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.14; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.2vw, 44px); }
h3 { font-size: 20px; }
p { text-wrap: pretty; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3D8FE0; outline-offset: 3px; }

.icon { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[data-icon] { display: inline-flex; }
.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 18px; }
.section { padding-block: 72px; overflow-x: clip; }
.light { background: var(--paper); color: var(--ink); }
.white { background: #fff; color: var(--ink); }
.lead { color: var(--muted-dark); font-size: clamp(17px, 2vw, 19px); max-width: 60ch; }
.light .lead, .white .lead { color: var(--muted); }
.section-head { display: grid; gap: 16px; margin-bottom: 38px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--red); color: #fff; }
.noscript { padding: 14px 18px; background: var(--red); color: #fff; text-align: center; }

/* Boutons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 4px;
  font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn .icon { transition: transform .25s var(--ease); }
a.btn:hover [data-icon="arrow"] .icon { transform: translateX(5px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-red::after { content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 30%; background: rgba(255, 255, 255, .22); transform: skewX(-24deg); animation: shine 5s ease-in-out infinite; pointer-events: none; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { border-color: var(--red); }
.btn-wa { background: #25D366; color: #06240F; }
.btn-wa:hover { background: #4BE283; }
.btn.is-disabled { background: var(--navy); color: var(--muted-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes shine { 0%, 65% { left: -45%; } 100% { left: 135%; } }

/* En-tête blanc, pour garder les vraies couleurs du logo */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; color: var(--navy); border-bottom: 1px solid var(--line-light); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(8, 28, 51, .12); }
.scroll-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: linear-gradient(90deg, var(--navy), var(--red)); transform: scaleX(0); transform-origin: left; }
.header-inner { display: flex; align-items: center; gap: 10px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex: none; text-decoration: none; }
.logo-mark { width: 38px; transition: transform .5s var(--ease); }
.logo-word { width: 118px; }
.logo:hover .logo-mark { transform: rotate(-7deg) scale(1.06); }
.header-cta { order: 2; min-height: 42px; padding: 8px 12px; font-size: 14px; white-space: nowrap; }
.lang-switch { order: 1; display: grid; place-items: center; min-width: 40px; min-height: 42px; flex: none; margin-inline-start: auto; padding: 4px 6px; border: 1px solid var(--line-light); border-radius: 4px; font: 700 14px "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; text-decoration: none; white-space: nowrap; transition: border-color .25s, color .25s; }
.lang-switch:hover { border-color: var(--red); color: var(--red); }
.lang-long { display: none; }
.menu-toggle { order: 3; display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; background: none; }
.main-nav { display: none; position: absolute; inset: 68px 0 auto; padding: 6px 18px 16px; background: #fff; border-bottom: 1px solid var(--line-light); }
.is-open .main-nav { display: grid; animation: drop .3s var(--ease); }
.main-nav a { position: relative; padding: 14px 0; text-decoration: none; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--red); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 430px) {
  .header-inner { gap: 5px; padding-inline: 10px; }
  .logo { gap: 4px; }
  .logo-mark { width: 30px; }
  .logo-word { width: 92px; }
  .header-cta { padding-inline: 9px; font-size: 13px; }
  .menu-toggle { width: 40px; }
}
@media (max-width: 400px) {
  .logo-mark { width: 28px; }
  .logo-word { width: 76px; }
  .header-cta { padding-inline: 7px; font-size: 12px; }
  .lang-switch { min-width: 36px; padding-inline: 3px; font-size: 12px; }
  .menu-toggle { width: 36px; }
}
@media (max-width: 359px) { body:not([data-page="simulateur"]) .header-inner .logo-word { display: none; } }

@media (max-width: 300px) {
  .site-header .header-cta { display: none; }
  .site-header .menu-toggle { margin-inline-start: auto; }
}

/* Hero : la photo est taillée comme la barre du X du logo */
.hero { position: relative; overflow: hidden; background: var(--night); }
.hero-inner { position: relative; z-index: 2; padding-top: 44px; padding-bottom: 36px; }
.hero h1 { max-width: 13em; font-size: clamp(31px, 4.2vw, 58px); }
.hero h1 span { display: block; animation: rise .9s var(--ease) both; }
.hero h1 span + span { color: var(--red-light); animation-delay: .18s; }
.hero .lead { max-width: 33em; margin: 22px 0 28px; animation: rise .9s .36s var(--ease) both; }
.hero .actions { animation: rise .9s .52s var(--ease) both; }
.hero-media { position: relative; height: 340px; }
.hero-photo { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(0 16%, 100% 0, 100% 100%, 0 100%); animation: unveil 1.3s .1s var(--ease) both; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; animation: zoom 16s ease-in-out infinite alternate; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 100%; border-bottom: 2px solid var(--red-light); background: linear-gradient(transparent 75%, rgba(255, 124, 130, .16)); animation: scan 6s linear infinite; }
.hero-slash { display: none; }
.target { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; margin: -85px; animation: track 7s ease-in-out infinite; }
.target b { position: absolute; width: 26px; height: 26px; border: 0 solid var(--red-light); }
.target b:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; }
.target b:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; }
.target b:nth-child(3) { right: 0; bottom: 0; border-width: 0 3px 3px 0; }
.target b:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 3px 3px; }
.target span { position: absolute; left: 0; bottom: 100%; display: flex; align-items: center; gap: 7px; margin-bottom: 7px; padding: 2px 9px; border-radius: 3px; background: var(--night); font: 700 12px var(--display); }
.target span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-light); animation: blink 1.1s steps(2, start) infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes unveil { from { opacity: 0; transform: translateX(70px); } }
@keyframes zoom { from { transform: scale(1.02); } to { transform: scale(1.16); } }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(5%); } }
@keyframes track { 0%, 100% { transform: translate(0, 0) scale(1); } 30% { transform: translate(-18px, 14px) scale(.9); } 65% { transform: translate(14px, -10px) scale(1.07); } }
@keyframes blink { to { visibility: hidden; } }

.partners { overflow-x: clip; background: #fff; color: var(--navy); padding-block: 30px; border-bottom: 4px solid var(--red); }
.partners-inner { display: grid; gap: 22px; text-align: center; }
.partners p { font-weight: 700; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 32px; margin: 0; padding: 0; list-style: none; }
/* Logos des marques : hauteurs réglées pour un même poids visuel, jamais déformés */
.brands img, .brand-plate img { width: auto; max-width: 100%; }
.brands .logo-hikvision { height: 19px; }
.brands .logo-dahua { height: 38px; }
.brands .logo-zkteco { height: 29px; }
.brand-plate { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; width: fit-content; max-width: 100%; margin-top: 10px; padding: 8px 10px; border-radius: 4px; background: #fff; }
.brand-plate .logo-hikvision { height: 11px; }
.brand-plate .logo-dahua { height: 22px; }
.brand-plate .logo-zkteco { height: 17px; }
@media (min-width: 600px) {
  .brands .logo-hikvision { height: 25px; }
  .brands .logo-dahua { height: 50px; }
  .brands .logo-zkteco { height: 38px; }
}

/* Avantages */
.benefits { display: grid; gap: 34px; }
.benefit-main { position: relative; min-width: 0; overflow: hidden; border-radius: 6px; background: var(--navy); color: #F4F7FA; }
.benefit-photo { height: 210px; overflow: hidden; }
.benefit-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.benefit-main:hover .benefit-photo img { transform: scale(1.07); }
.benefit-body { padding: 26px 24px 30px; }
.benefit-main h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.benefit-main p { color: var(--muted-dark); }
.route { margin: 26px 0 0; padding: 0; list-style: none; }
.route li { position: relative; padding: 0 0 20px 30px; }
.route li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border: 2px solid var(--red-light); border-radius: 50%; animation: step-light 3.6s infinite; }
.route li:nth-child(2)::before { animation-delay: 1.2s; }
.route li:nth-child(3)::before { animation-delay: 2.4s; }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: -6px; width: 2px; background: var(--line); }
.route li:last-child { padding-bottom: 0; }
@keyframes step-light { 0%, 30% { background: var(--red-light); } 40%, 100% { background: transparent; } }
.benefit-list > div { padding-block: 25px; border-bottom: 1px solid var(--line-light); }
.benefit-list > div:first-child { padding-top: 0; }
.benefit-list > div:last-child { border: 0; }
.benefit-list h3 { margin-bottom: 8px; color: var(--navy); }
.benefit-list p { color: var(--muted); }

.sites { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-link { text-decoration: none; font-weight: 700; line-height: 1.3; }
.site-link .shot { display: block; margin-bottom: 10px; overflow: hidden; border-radius: 6px; border-bottom: 4px solid var(--navy); transition: border-color .3s; }
.site-link .scene { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.site-link:hover .scene { transform: scale(1.1); }
.site-link:hover .shot { border-color: var(--red); }
.site-link:hover { color: var(--red); }

/* Installation */
.install { display: grid; gap: 30px; align-items: center; }
.install h2 { margin-bottom: 18px; }
.collage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.collage figure { margin: 0; overflow: hidden; border-radius: 6px; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.collage figure:hover img { transform: scale(1.08); }
.collage figure:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.collage figure:nth-child(2) { grid-column: span 3; aspect-ratio: 3 / 2; }
.collage figure:nth-child(3) { grid-column: span 2; aspect-ratio: 1; }
.checks { margin: 24px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; padding-block: 8px; }
.checks .icon { margin-top: 3px; color: var(--red); }

/* Carte */
.coverage { display: grid; gap: 30px; align-items: center; }
.coverage h2 { margin-bottom: 18px; }
.coverage .lead { margin-bottom: 26px; }
.figure-count { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; font: 700 20px var(--display); }
.figure-count strong { min-width: 1.3em; color: var(--red-light); font: 800 88px/1 var(--display); }
.map { width: 100%; max-width: 540px; margin: auto; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map-land { fill: var(--navy); stroke: var(--navy-soft); stroke-width: 1.5; stroke-linejoin: round; }
.map-links { fill: none; stroke: var(--red-light); stroke-width: .7; opacity: .3; }
.map-links path { stroke-dasharray: 1; transition: stroke-dashoffset 1s ease calc(var(--i) * 28ms); }
.map-signals { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.map-signals path { stroke-dasharray: .035 1.965; animation: signal 3.4s linear infinite; animation-delay: calc(var(--i) * .5s); }
.map-points { fill: #fff; }
.map-points circle { transition: opacity .4s ease calc(var(--i) * 28ms + .3s); }
.map-hub { fill: var(--red-light); }
.map-pulse { fill: none; stroke: var(--red-light); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }
.map-label { fill: #fff; font: 700 17px var(--display); }
.motion .map:not(.in) .map-links path { stroke-dashoffset: 1; }
.motion .map:not(.in) .map-points circle { opacity: 0; }
@keyframes signal { from { stroke-dashoffset: .035; } to { stroke-dashoffset: -1.965; } }
@keyframes ping { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(2.6); } }

/* Bandes photo : appel à l'action et en-tête de page */
.cta, .page-hero { position: relative; isolation: isolate; overflow: hidden; }
.band-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: zoom 20s ease-in-out infinite alternate; }
.cta::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.cta::after { background: rgba(94, 14, 16, .89); }
.page-hero::after { background: linear-gradient(100deg, var(--night) 20%, rgba(13, 48, 86, .55)); }
.cta-inner { display: grid; gap: 22px; justify-items: start; }
.cta p { max-width: 54ch; margin-top: 14px; }
.cta .btn { background: #fff; color: var(--navy); }
.cta .btn:hover { background: var(--red-tint); }

/* À propos */
.page-hero { padding-block: 72px 80px; }
.page-hero h1 { max-width: 16em; font-size: clamp(32px, 5vw, 60px); margin-bottom: 22px; animation: rise .9s var(--ease) both; }
.page-hero .lead { color: #DCE5EF; animation: rise .9s .2s var(--ease) both; }
.split { display: grid; gap: 28px; }
.split-photo { margin-top: 24px; width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }
.prose { display: grid; gap: 18px; align-content: start; color: var(--muted); max-width: 64ch; }
.prose .statement { color: var(--navy); font: 700 clamp(20px, 2.4vw, 25px)/1.35 var(--display); }
.chain { display: grid; gap: 32px; margin: 0; padding: 0; list-style: none; }
.chain li { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 6px; }
.chain li:nth-child(2) { border-color: var(--red); background: var(--red-dark); }
.chain li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -33px; height: 32px; width: 2px; background: var(--red-light); }
.chain h3 { margin-bottom: 8px; }
.chain p { color: #C9D6E4; }
.guarantees { display: grid; gap: 22px; margin-top: 44px; }
.guarantees h3 { color: var(--red-light); margin-bottom: 8px; }
.guarantees p { color: var(--muted-dark); }
.values { margin: 0; }
.values > div { display: grid; gap: 6px; padding-block: 22px; border-bottom: 1px solid var(--line-light); }
.values > div:last-child { border: 0; }
.values dt { color: var(--navy); font: 700 21px/1.2 var(--display); }
.values dd { margin: 0; color: var(--muted); }
.operations { margin: 0 0 8px; padding-inline-start: 22px; color: var(--muted-dark); }
.operations li { padding-block: 0 14px; padding-inline: 6px 0; }
.operations li::marker { color: var(--red-light); }
.operations strong { display: block; color: #fff; }
.hq { display: grid; gap: 28px; align-items: center; }
.hq address { margin: 14px 0 24px; font-style: normal; font-size: 20px; color: var(--muted); }
.hq > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

/* Pied de page */
.site-footer { border-top: 4px solid var(--red); padding-top: 52px; background: var(--night); color: #F4F7FA; }
.footer-grid { display: grid; gap: 34px; padding-bottom: 40px; }
.footer-grid h2 { margin-bottom: 14px; font-size: 17px; }
.footer-logo { display: block; width: 190px; }
.footer-brand p { max-width: 30ch; margin-top: 16px; color: var(--muted-dark); }
.footer-links, .site-footer address { display: grid; gap: 4px; font-style: normal; color: var(--muted-dark); }
.footer-links a { padding-block: 6px; text-decoration: none; transition: transform .25s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(5px); }
.site-footer address a:hover { color: #fff; }
.site-footer address > * { display: flex; gap: 11px; padding-block: 6px; text-decoration: none; }
.site-footer address .icon { margin-top: 3px; color: var(--red-light); }
.footer-bottom { display: grid; gap: 4px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted-dark); font-size: 14px; }
.wa-float { position: fixed; z-index: 40; right: 16px; bottom: 16px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #06240F; animation: wa-ring 2.4s infinite; }
.wa-float .icon { width: 27px; height: 27px; }
/* Place pour le bouton flottant sous la derniere ligne du pied de page */
body:has(.wa-float) .footer-bottom { padding-bottom: 86px; }
@keyframes wa-ring { from { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } to { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } }

/* Apparitions au défilement */
.motion [data-reveal] { opacity: 0; transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.motion [data-reveal="up"] { transform: translateY(38px); }
.motion [data-reveal="left"] { transform: translateX(-44px); }
.motion [data-reveal="right"] { transform: translateX(44px); }
.motion [data-reveal="zoom"] { transform: scale(.9); }
.motion [data-reveal].in { opacity: 1; transform: none; }

/* Tablette et ordinateur */
@media (min-width: 800px) {
  .container { padding-inline: 32px; }
  .section { padding-block: 104px; }
  .header-inner { height: 84px; gap: 16px; }
  .logo-mark { width: 50px; }
  .logo-word { width: 158px; }
  .menu-toggle { display: none; }
  .main-nav, .is-open .main-nav { display: flex; position: static; gap: 30px; margin-inline-start: auto; padding: 0; border: 0; }
  .main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
  .main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
  .lang-switch { order: 0; margin: 0; padding-inline: 12px; }
  .lang-long { display: inline; }
  .lang-short { display: none; }
  .header-cta { order: 0; margin: 0; min-height: 46px; padding-inline: 22px; font-size: 16px; }
  .sites { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .section-head { margin-bottom: 52px; }
  .guarantees { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { display: flex; justify-content: space-between; gap: 20px; }
  .values > div { grid-template-columns: 170px 1fr; gap: 20px; }
}

/* Tablette : les trois liens ne tiennent pas à côté du bouton devis, le menu reste déroulant. */
@media (min-width: 800px) and (max-width: 979px) {
  .menu-toggle { display: grid; }
  .main-nav { display: none; position: absolute; inset: 84px 0 auto; margin: 0; padding: 6px 32px 16px; background: #fff; border-bottom: 1px solid var(--line-light); }
  .is-open .main-nav { display: grid; gap: 0; }
  .main-nav a::after { display: none; }
  .lang-switch { margin-inline-start: auto; }
}
.main-nav a { white-space: nowrap; }

@media (min-width: 1000px) {
  .header-inner { gap: 26px; }
  .hero { min-height: min(740px, calc(100svh - 84px)); display: flex; align-items: center; }
  .hero-inner { padding-block: 72px; }
  .hero-inner > div { max-width: 53%; }
  .hero-media { position: absolute; top: 0; bottom: 0; right: 0; width: 49%; height: auto; }
  .hero-photo { clip-path: polygon(29% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-slash { display: block; position: absolute; inset: 0; background: linear-gradient(var(--red-hover), var(--red-dark)); clip-path: polygon(25% 0, 28% 0, -1% 100%, -4% 100%); animation: unveil 1.3s .3s var(--ease) both; }
  .target { left: 48%; }
  .partners-inner { grid-template-columns: 1fr auto; align-items: center; text-align: start; }
  .brands { gap: 12px 40px; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .benefit-body { padding: 34px 40px 40px; }
  .coverage, .install { grid-template-columns: 1fr 1fr; gap: 64px; }
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; }
  .hq { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split { grid-template-columns: 5fr 7fr; gap: 72px; }
  .chain { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .chain li:not(:last-child)::after { left: auto; right: -41px; bottom: auto; top: 50%; width: 40px; height: 2px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr 1.3fr 1.1fr; }
}

/* Suivi de commande */
.suivi-page { padding-block: 40px 72px; background: var(--paper); color: var(--ink); }
.suivi { max-width: 760px; }
.suivi h1 { margin-bottom: 10px; font-size: clamp(28px, 4.5vw, 42px); color: var(--navy); }
.suivi .lead { margin-bottom: 22px; color: var(--muted); }
.suivi-form { display: grid; gap: 14px; padding: 20px; border-radius: 8px; background: #fff; }
.suivi-form label { display: grid; gap: 6px; font-weight: 600; }
.suivi-form input { min-height: 52px; padding: 0 14px; border: 2px solid #AEB7C5; border-radius: 5px; background: #fff; font-size: 18px; }
.suivi-form input:focus-visible { border-color: var(--navy); }
.suivi-erreur { margin-top: 12px; color: #A32626; font-weight: 600; }
.suivi-carte { margin-top: 20px; padding: 20px; border-top: 5px solid var(--red); border-radius: 8px; background: #fff; }
.suivi-tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
.suivi-tete span { color: var(--muted); }
.suivi-tete strong { color: var(--navy); font: 800 20px var(--display); }
.etapes { margin: 16px 0 0; padding: 0; list-style: none; }
.etape { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.etape:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 10px; top: 24px; bottom: 0; width: 2px; background: var(--line-light); }
.etape-faite:not(:last-child)::after { background: #1B7A3E; }
.puce { flex: none; width: 22px; height: 22px; margin-top: 2px; border: 3px solid #AEB7C5; border-radius: 50%; background: #fff; }
.etape-faite .puce { border-color: #1B7A3E; background: #1B7A3E; box-shadow: inset 0 0 0 3px #fff; }
.etape strong { display: block; color: var(--navy); }
.etape-attente strong { color: var(--muted); }
.etape p { margin-top: 2px; color: var(--muted); }
.rdv { display: block; color: var(--red); font: 700 19px var(--display); }
.suivi-montants { display: grid; gap: 8px; margin: 6px 0 0; padding: 14px; border-radius: 6px; background: var(--paper); }
.suivi-montants div { display: flex; justify-content: space-between; gap: 12px; }
.suivi-montants dt { color: var(--muted); }
.suivi-montants dd { margin: 0; font-weight: 700; white-space: nowrap; }
.suivi-annulee { margin-top: 14px; padding: 12px; border-radius: 6px; background: #FBEDEE; color: #7A1219; }
.suivi-aide { margin-top: 14px; color: var(--muted); font-size: 15px; }
.suivi a { color: var(--navy); font-weight: 700; }
@media (min-width: 640px) { .suivi-form { grid-template-columns: 1fr 1fr; align-items: end; } .suivi-form .btn { grid-column: 1 / -1; } }

/* Réclamations sur la page de suivi */
.reclamations h2 { margin-bottom: 10px; color: var(--navy); font-size: 22px; }
.reclamations-liste { display: grid; gap: 12px; margin: 0 0 14px; padding: 0; list-style: none; }
.reclamations-liste li { padding: 12px 14px; border-radius: 6px; background: var(--paper); }
.reclamation-tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; color: var(--navy); }
.reclamation-date { margin: 2px 0 6px; color: var(--muted); font-size: 14px; }
.etat-reclamation { padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.etat-ouverte { background: #FFF3D6; color: #704400; }
.etat-en_cours { background: #DCE8F6; color: var(--navy); }
.etat-resolue { background: #D5F3DF; color: #11592B; }
.reclamation-reponse { margin-top: 10px; padding: 10px 12px; border-inline-start: 4px solid #1B7A3E; border-radius: 4px; background: #fff; }
.reclamation-reponse p { margin-top: 4px; }
.reclamation-form summary { min-height: 48px; padding: 12px 0; color: var(--red); font-weight: 700; cursor: pointer; }
.reclamation-form form { display: grid; gap: 6px; }
.reclamation-form label { margin-top: 6px; font-weight: 600; }
.reclamation-form .btn { margin-top: 10px; }
.reclamation-form select, .reclamation-form textarea { width: 100%; min-height: 52px; padding: 10px 14px; border: 2px solid #AEB7C5; border-radius: 5px; background: #fff; font: inherit; font-size: 17px; }
.reclamation-form textarea { min-height: 120px; resize: vertical; }
.reclamation-form select:focus-visible, .reclamation-form textarea:focus-visible { border-color: var(--navy); }
.suivi-ok { margin: 10px 0; padding: 10px 12px; border-radius: 6px; background: #E3F5E9; color: #11592B; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scan, .map-signals, .btn-red::after { display: none; }
}
