/* Ship Best Services — feuille de style (v2)
   Pleine largeur, bleu océan adouci, cartes arrondies, animations discrètes. Police : Arial. */

:root {
  --blue: #2c6fad;
  --blue-dark: #235b8f;
  --blue-50: #eef5fb;
  --blue-100: #dcebf7;
  --sky: #2aa6dc;
  --orange: #ef8a2b;
  --orange-dark: #d77417;
  --green: #22a85a;
  --ink: #1d3754;
  --text: #3b4a5c;
  --muted: #687a8f;
  --line: #e2e9f1;
  --bg: #ffffff;
  --soft: #f4f8fc;
  --footer: #1f4b78;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(29,55,84,.04), 0 8px 28px rgba(29,55,84,.07);
  --shadow-lg: 0 2px 4px rgba(29,55,84,.05), 0 18px 48px rgba(29,55,84,.12);
  --max: 2000px;
  --gutter: clamp(16px, 4vw, 72px);
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.14; }
h3 { font-size: 1.2rem; line-height: 1.3; }
.hl { color: var(--blue); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(44px, 5.5vw, 84px) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: clamp(36px, 4.5vw, 60px) 0; }

/* Titres de section centrés, trait d'accent animé */
.heading { text-align: center; max-width: 820px; margin: 0 auto clamp(28px, 3.5vw, 44px); }
.heading::after { content: ""; display: block; width: 56px; height: 3px; background: var(--orange); margin: 20px auto 0; }
.js .heading::after { transform: scaleX(0); transition: transform .9s var(--ease) .2s; }
.js .heading.is-visible::after { transform: none; }
.heading p { color: var(--muted); margin: 18px auto 0; font-size: 1.08rem; max-width: 62ch; }
.heading--left { text-align: left; margin-left: 0; }
.heading--left::after { margin-left: 0; transform-origin: left; }
.heading--left p { margin-left: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 60ch; }

/* Boutons arrondis */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: var(--radius-sm); font: 700 15px/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(44,111,173,.28); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(239,138,43,.3); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(34,168,90,.25); }
.btn--green:hover { background: #1b9150; }
.btn--outline { border-color: var(--blue-100); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--blue-50); }
.btn--ghost-white { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--blue); text-decoration: none; }
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow, .card:hover .link-arrow .arrow { transform: translateX(5px); }

/* En-tête pleine largeur */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); transition: box-shadow .3s var(--ease), transform .35s var(--ease); }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(29,55,84,.07); }
.header.is-hidden { transform: translateY(-100%); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand__mark { width: 42px; height: 42px; }
.brand__name { font-weight: 700; font-size: 16.5px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.1; color: var(--ink); }
.brand__name small { display: block; font-size: 11.5px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand__logo, .brand__name { position: relative; display: block; }
.brand__logo { line-height: 0; }
.brand__text { display: block; }
.curtain { position: absolute; inset: -3px; z-index: 2; background: var(--blue); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.brand__logo .curtain { background: var(--orange); }
/* Écran d'ouverture : l'emblème puis le nom se dévoilent, puis le rideau s'ouvre sur le site */
.intro { display: none; }
.intro-on .intro { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; animation: intro-gone 0s 2.6s forwards; }
.intro__panel { position: absolute; top: 0; bottom: 0; width: 50.5%; background: #fff; }
.intro__panel--l { left: 0; animation: open-left .95s cubic-bezier(.77, 0, .18, 1) 1.55s forwards; }
.intro__panel--r { right: 0; animation: open-right .95s cubic-bezier(.77, 0, .18, 1) 1.55s forwards; }
.intro__panel--r::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.intro__logo { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; animation: intro-fade .35s ease 1.35s forwards; }
.intro__mark, .intro__name { position: relative; display: block; line-height: 0; }
.intro__svg { width: clamp(56px, 7vw, 76px); height: auto; }
.intro__text { display: block; line-height: 1.1; font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.intro__text small { display: block; margin-top: 6px; font-size: .42em; font-weight: 400; letter-spacing: .2em; color: var(--muted); }
.intro__mark .curtain { background: var(--orange); }
.intro-on .intro .curtain { animation: curtain .9s cubic-bezier(.77, 0, .18, 1) .1s both; }
.intro-on .intro__name .curtain { animation-delay: .35s; }
.intro-on .intro__svg { animation: curtain-content .9s .1s both; }
.intro-on .intro__text { animation: curtain-content .9s .35s both; }
@keyframes open-left { to { transform: translateX(-100%); } }
@keyframes open-right { to { transform: translateX(100%); } }
@keyframes intro-fade { to { opacity: 0; transform: scale(.96); } }
@keyframes intro-gone { to { visibility: hidden; } }
@keyframes curtain {
  0% { transform: scaleX(0); transform-origin: left; }
  45% { transform: scaleX(1); transform-origin: left; }
  55% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes curtain-content { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
.footer__operator { position: relative; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 10px 14px; font-size: 15.5px; font-weight: 700; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); transition: color .2s, background-color .2s; }
.nav__link:hover { color: var(--blue); background: var(--blue-50); }
.nav__link[aria-current="page"] { color: var(--blue); }
.nav__item { position: relative; }
.nav__sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.nav__item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; font-size: 15px; color: var(--text); }
.nav__sub a:hover { background: var(--blue-50); color: var(--ink); }
.nav__sub .icon { color: var(--blue); }
.nav__tools { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; padding: 8px 6px; }
.nav__phone .icon { color: var(--green); }
.lang { font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 9px 12px; text-decoration: none; color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius-sm); }
.lang:hover { border-color: var(--blue); color: var(--blue); }
.header .btn { padding: 12px 20px; font-size: 14.5px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--blue-50); border-radius: var(--radius-sm); cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: 1px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
/* Diaporama sous l'en-tête : texte à gauche, photo à droite, hauteur mesurée */
.slider { position: relative; height: clamp(420px, 30vw, 540px); background: var(--soft); overflow: hidden; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); visibility: hidden; transition: visibility 0s .9s; }
.slide.is-active { visibility: visible; transition: none; z-index: 1; }
.slide__media { grid-column: 2; position: relative; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path .85s cubic-bezier(.77, 0, .18, 1); }
.slide.is-active .slide__media { clip-path: inset(0 0 0 0); }
.slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18) translateX(2%); transition: transform var(--slide-time, 5s) cubic-bezier(.25, .1, .25, 1); }
.slide.is-active .slide__media img { transform: scale(1.02) translateX(0); }
.slide.is-leaving .slide__content { opacity: 0; transition: opacity .35s; }
.slide__media::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); z-index: 1; }
.slide__content { grid-column: 1; grid-row: 1; display: flex; align-items: center; padding: 40px clamp(24px, 4vw, 72px) 40px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.slide__inner > * { opacity: 0; transform: translateX(-32px); transition: opacity .55s var(--ease), transform .65s var(--ease); }
.slide.is-active .slide__inner > * { opacity: 1; transform: none; }
.slide.is-active .slide__inner > :nth-child(1) { transition-delay: .25s; }
.slide.is-active .slide__inner > :nth-child(2) { transition-delay: .33s; }
.slide.is-active .slide__inner > :nth-child(3) { transition-delay: .41s; }
.slide.is-active .slide__inner > :nth-child(4) { transition-delay: .49s; }
.slide__title { font-size: clamp(2rem, 3.2vw, 3.3rem); line-height: 1.06; letter-spacing: -0.022em; margin-bottom: 18px; }
h2.slide__title { font-size: clamp(1.8rem, 2.8vw, 2.9rem); }
.slide__title .line { display: block; }
.slide__text { color: var(--muted); font-size: clamp(1rem, 1.1vw, 1.1rem); max-width: 56ch; margin-bottom: 26px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.slider__bar { position: absolute; z-index: 3; bottom: 0; right: 0; display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px 16px 12px 18px; border-top-left-radius: var(--radius); }
.slider__btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--radius-sm); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.slider__btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.slider__count { font-size: 14px; color: var(--muted); min-width: 64px; text-align: center; letter-spacing: .06em; }
.slider__count b { color: var(--ink); font-size: 16px; }
.slider__progress { position: relative; width: 120px; height: 2px; background: var(--blue-100); overflow: hidden; margin-left: 8px; }
.slider__progress i { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.slider__progress i.is-running { transform: scaleX(1); transition: transform var(--slide-time, 7s) linear; }

/* Bandeau de chiffres clés */
.facts { position: relative; z-index: 4; padding-top: 36px; }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 3px solid var(--blue); }
.facts .icon-wrap { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.facts li:nth-child(2) .icon-wrap { background: #e9f7ef; color: var(--green); }
.facts li:nth-child(3) .icon-wrap { background: #fdf1e5; color: var(--orange-dark); }
.facts li:nth-child(4) .icon-wrap { background: #e8f6fc; color: var(--sky); }
.facts strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.facts span { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Cartes de services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; list-style: none; }
.card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 16 / 10; background: #dfe7ef; }
.card__media .clip { position: absolute; inset: 0; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__icon { position: absolute; left: 20px; bottom: -24px; z-index: 1; width: 52px; height: 52px; border-radius: var(--radius-sm); background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow); transition: background-color .3s, color .3s; }
.card:hover .card__icon { background: var(--blue); color: #fff; }
.card__icon .icon { width: 26px; height: 26px; }
.card__num { position: absolute; right: 14px; top: 14px; z-index: 1; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .1em; background: rgba(29,55,84,.5); padding: 5px 10px; border-radius: var(--radius-sm); }
.card__body { padding: 40px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.card .link-arrow { margin-top: auto; }

/* Bloc image pleine hauteur + texte (image collée au bord gauche) */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.feature__media { position: relative; min-height: 440px; overflow: hidden; border-radius: 0; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__text { padding: clamp(48px, 6vw, 110px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) clamp(48px, 6vw, 110px) clamp(32px, 5vw, 96px); align-self: center; }
.points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.points li { background: var(--soft); border-radius: var(--radius); padding: 22px; transition: transform .35s var(--ease); }
.points li:hover { transform: translateY(-3px); }
.section--soft .points li { background: #fff; box-shadow: var(--shadow); }
.points .icon { color: var(--blue); width: 26px; height: 26px; margin-bottom: 12px; }
.points h3 { font-size: 1.05rem; margin-bottom: 6px; }
.points p { font-size: 15px; color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.chips .icon { color: var(--blue); }

/* Étapes */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 2px; background: var(--blue-100); }
.steps::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 2px; background: var(--blue); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.steps.is-visible { --progress: 1; }
html:not(.js) .steps { --progress: 1; }
.steps li { position: relative; z-index: 1; counter-increment: step; text-align: center; padding: 0 12px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; background: #fff; border: 2px solid var(--blue-100); border-radius: var(--radius); font-size: 22px; font-weight: 700; color: var(--blue); box-shadow: var(--shadow); transition: background-color .4s, color .4s, border-color .4s; }
.steps.is-visible li::before { border-color: var(--blue); }
.steps li:hover::before { background: var(--blue); color: #fff; }
.steps h3 { font-size: 1.08rem; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--muted); margin: 0 auto; max-width: 32ch; }

/* Vidéos verticales : cadres 9:16, lecture automatique sans son quand elles sont visibles */
.section--video { background: #173a5e; color: #c9d8e8; }
.section--video .heading h2 { color: #fff; }
.section--video .heading p { color: #b7cbe0; }
.section--video .eyebrow { color: #9fd3f0; }
.video-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.video-intro .heading { margin-bottom: 28px; }
.video-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.vcard { margin: 0; }
.vcard__frame { position: relative; aspect-ratio: 9 / 16; max-height: 640px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #0e2236; box-shadow: 0 18px 44px rgba(5,20,35,.35); }
.vcard__video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 1s var(--ease); }
.vcard:hover .vcard__video { transform: scale(1.03); }
.vcard__frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, rgba(8,22,36,.55), rgba(8,22,36,0)); pointer-events: none; }
.vcard__btn { position: absolute; z-index: 1; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: var(--radius-sm); background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.vcard__btn:hover { background: var(--blue); color: #fff; }
.vcard__btn .icon { width: 18px; height: 18px; }
.vcard__play { left: 12px; }
.vcard__sound { left: 58px; }
.vcard .i-pause, .vcard .i-on { display: none; }
.vcard.is-playing .i-play, .vcard.has-sound .i-off { display: none; }
.vcard.is-playing .i-pause, .vcard.has-sound .i-on { display: block; }
.vcard__time { position: absolute; z-index: 1; right: 12px; bottom: 20px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.vcard figcaption { padding: 14px 2px 0; font-size: 14.5px; line-height: 1.45; }
.vcard figcaption strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: 15.5px; }
.vcard figcaption span { color: var(--muted); }
.section--video .vcard figcaption strong { color: #fff; }
.section--video .vcard figcaption span { color: #a9c0d6; }
/* Texte et vidéo côte à côte, rapprochés et centrés (plus de grand vide au milieu sur PC) */
.video-split { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 560px); justify-content: center; gap: clamp(32px, 4vw, 64px); align-items: center; }
.video-split__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); }
.video-split .heading { margin-bottom: 0; }
.video-split figcaption { display: none; }
.video-split--reverse { grid-template-columns: minmax(0, 560px) minmax(0, 520px); }
.video-split--reverse .video-split__media { order: -1; }

/* Galerie pleine largeur */
/* Mosaïque : grille régulière, quelques tuiles plus grandes */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(140px, 11vw, 220px); grid-auto-flow: dense; gap: 14px; }
.gallery a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #dfe7ef; }
.gallery a:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(6n+3), .gallery a:nth-child(6n+6) { grid-row: span 2; }
.gallery a:nth-child(6n+4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,38,60,.72), rgba(18,38,60,0) 55%); opacity: 0; transition: opacity .45s var(--ease); }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.06); }
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }
.gallery__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.gallery__cap .icon { width: 22px; height: 22px; }
.gallery a:hover .gallery__cap, .gallery a:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery--grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: auto; }
.gallery--grid a, .gallery--grid a:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }

/* FAQ sur deux colonnes */
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.help-card { margin-top: 28px; background: var(--blue); color: #e6f0fa; border-radius: var(--radius); padding: 28px; }
.help-card h3 { color: #fff; margin-bottom: 8px; }
.help-card p { font-size: 15.5px; }
.help-card .btn { margin-top: 6px; }
.faq details { background: #fff; border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-lg); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 32px; height: 32px; border-radius: var(--radius-sm); background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c6fad' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p { margin: 0; }

/* Bandeau d'appel : grande carte bleue avec photo */
.cta-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; background: var(--blue); border-radius: var(--radius); overflow: hidden; color: #e6f0fa; }
.cta-card__text { padding: clamp(36px, 5vw, 72px); }
.cta-card h2 { color: #fff; margin-bottom: 14px; }
.cta-card p { margin: 0 0 28px; max-width: 54ch; font-size: 1.08rem; }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-card__media { position: relative; min-height: 280px; }
.cta-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Pages intérieures : bandeau pleine largeur */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--soft); min-height: 400px; }
.page-hero__text { padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 80px) clamp(48px, 5vw, 80px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin-bottom: 20px; }
.page-hero__media { position: relative; overflow: hidden; border-radius: 0; min-height: 320px; }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--plain { display: block; min-height: 0; }
.page-hero--plain .page-hero__text { padding: clamp(32px, 4vw, 56px) var(--gutter) clamp(48px, 5vw, 72px); max-width: var(--max); margin: 0 auto; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: #a9b6c4; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 88px); align-items: start; }
.prose h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); margin: 0 0 18px; }
.prose h2:not(:first-child) { margin-top: 48px; }
.prose p { max-width: 72ch; }
.checklist { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 8px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: 15.5px; color: var(--ink); }
.checklist .icon { color: var(--green); margin-top: 2px; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.aside-card h2 { font-size: 1.25rem; margin-bottom: 10px; }
.aside-card p { font-size: 15.5px; color: var(--muted); }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-list { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.aside-list li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.aside-list .icon-wrap { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.aside-list small { display: block; color: var(--muted); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.aside-list a { font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.aside-list a:hover { color: var(--blue); }

.related { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.related a { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; text-decoration: none; height: 100%; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.related a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.related .icon { color: var(--blue); width: 28px; height: 28px; }
.related strong { display: block; color: var(--ink); margin-bottom: 4px; }
.related span { font-size: 14.5px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.contact-cards { list-style: none; display: grid; gap: 14px; }
.contact-cards li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-cards .icon-wrap { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-cards span { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-cards a, .contact-cards strong { font-size: 1.05rem; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-cards a:hover { color: var(--blue); }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 44px); box-shadow: var(--shadow-lg); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form input, .form textarea, .form select { width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: var(--soft); border: 2px solid transparent; border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color .2s, background-color .2s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--blue); background: #fff; }
.form textarea { min-height: 170px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form small { color: var(--muted); font-size: 13.5px; }
.notice { padding: 16px 18px; border-radius: var(--radius-sm); background: #e7f6ed; color: #1d6b3d; margin-bottom: 24px; font-weight: 700; }
.notice--error { background: #fdecec; color: #9b2424; }

.legal-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 48px); box-shadow: var(--shadow); max-width: 1100px; }
.legal-card h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-card dl { display: grid; grid-template-columns: 260px 1fr; gap: 12px 24px; margin: 0; }
.legal-card dt { color: var(--muted); }
.legal-card dd { margin: 0; color: var(--ink); font-weight: 700; }

/* Pied de page */
.footer { background: var(--footer); color: #c3d4e6; font-size: 15px; padding: 80px 0 0; }
.footer a { color: #e8f0f8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand__name { color: #fff; }
.footer .brand__name small { color: #a9c0d6; }
.footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 20px; }
.footer h2::after { content: ""; display: block; width: 36px; height: 3px; background: var(--orange); margin-top: 10px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 11px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: #9fd3f0; margin-top: 3px; }
.footer__operator { display: inline-block; background: #fff; border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 8px; }
.footer__operator img { width: 200px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #a9c0d6; }

/* Bouton de contact flottant : ouvre Téléphone + WhatsApp */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__btn { width: 58px; height: 58px; border: 0; border-radius: var(--radius); background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 28px rgba(44,111,173,.35); transition: background-color .25s, transform .3s var(--ease); }
.fab__btn:hover { background: var(--blue-dark); }
.fab__btn .icon { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease); }
.fab__close { opacity: 0; transform: rotate(-90deg); }
.fab.is-open .fab__open { opacity: 0; transform: rotate(90deg); }
.fab.is-open .fab__close { opacity: 1; transform: none; }
.fab__menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__item { display: flex; align-items: center; gap: 12px; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s; }
.fab.is-open .fab__item { opacity: 1; visibility: visible; transform: none; }
.fab.is-open .fab__item:nth-child(1) { transition-delay: .06s; }
.fab__label { background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; padding: 9px 14px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); text-align: right; line-height: 1.3; }
.fab__label small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.fab__icon { width: 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--shadow-lg); }
.fab__icon .icon { width: 22px; height: 22px; }
.fab__item--wa .fab__icon { background: var(--green); color: #fff; }
.fab__item--wa .fab__icon svg { width: 26px; height: 26px; fill: currentColor; }
.fab__item:hover .fab__label { color: var(--blue); }
.js .fab { opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,32,52,.94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 100%; max-width: min(1200px, 100%); width: auto; border-radius: var(--radius); transform: scale(.97); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; font: 700 15px var(--font); cursor: pointer; padding: 12px 16px; border-radius: var(--radius-sm); }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); font-size: 26px; }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); font-size: 26px; }
.lightbox figcaption { position: absolute; bottom: 16px; left: 16px; right: 16px; text-align: center; color: #c5d6e8; font-size: 14px; }

/* Apparitions (activées par JS uniquement) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-img] img { clip-path: inset(0 0 100% 0); transform: scale(1.08); transition: clip-path 1.1s var(--ease), transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal-img].is-visible img { clip-path: inset(0 0 0 0); transform: none; }
.js .slide__title .line { overflow: hidden; padding-bottom: .06em; }
.js .slide__title .line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.js .slide__title .line:nth-child(2) > span { transition-delay: .08s; }
.js .slide__title .line:nth-child(3) > span { transition-delay: .16s; }
.js.is-loaded .slide__title .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal-img] img, .js .slide__title .line > span, .slide__inner > * { opacity: 1; transform: none; clip-path: none; }
  .vcard__video { transform: none; }
  .intro-on .intro { display: none; }
  .slide__media, .slide__media img { clip-path: none; transform: none; }
  .js .heading::after { transform: none; }
}

/* Écrans très larges */
@media (min-width: 1800px) {
  body { font-size: 18px; }
  .services-grid { gap: 28px; }
}

/* Responsive */
@media (min-width: 961px) and (max-width: 1240px) {
  .slider { height: 500px; }
  .slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1280px) {
  .nav__phone { display: none; }
}
@media (max-width: 1100px) {
  .header .nav .btn { display: none; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open body { overflow: hidden; }
  .nav__link { display: block; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__link:hover { background: none; }
  .nav__item::after { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 6px 0 10px; min-width: 0; }
  .nav__tools { margin: 18px 0 0; flex-wrap: wrap; }
  .nav__phone { display: inline-flex; }
  .header .nav .btn { display: inline-flex; width: 100%; margin-top: 12px; }
  .page-hero, .feature, .cta-card, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .slider { height: auto; display: grid; }
  .slide { position: relative; grid-area: 1 / 1; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .slide__media { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 9; }
  .slide__media::before { display: none; }
  .slide__content { grid-row: 2; padding: 28px var(--gutter) 40px; align-items: flex-start; }
  .slider__bar { top: calc((100vw * 9 / 16) - 68px); bottom: auto; }
  .page-hero__text { padding: 28px var(--gutter) 40px; }
  .page-hero__media { min-height: 0; aspect-ratio: 16 / 9; }
  .feature__media { min-height: 0; aspect-ratio: 16 / 10; }
  .feature__text { padding: 48px var(--gutter); }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .steps::before, .steps::after { display: none; }
  .faq-aside { position: static; }
  .cta-card__media { min-height: 0; aspect-ratio: 16 / 9; }
  .video-layout, .video-split { grid-template-columns: 1fr; }
  .video-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .video-row::-webkit-scrollbar { display: none; }
  .vcard { scroll-snap-align: start; }
  .video-split--reverse { grid-template-columns: 1fr; }
  .video-split--reverse .video-split__media { order: 0; }
  .video-split__media { width: 100%; max-width: 340px; margin: 0 auto; grid-template-columns: 1fr; }
  .video-split__media .vcard + .vcard { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 26vw; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .facts ul, .steps, .points, .form, .checklist { grid-template-columns: 1fr; }
  .facts li { padding: 18px; }
  .slider__progress { width: 64px; }
  .video-row { grid-auto-columns: 72%; }
  .footer__grid { grid-template-columns: 1fr; }
  .legal-card dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-card dd { margin-bottom: 12px; }
  .brand__name small { display: none; }
  .fab { right: 14px; bottom: 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 40vw; gap: 10px; }
  .gallery a:nth-child(6n+1) { grid-column: span 2; grid-row: span 1; }
  .gallery a:nth-child(6n+3), .gallery a:nth-child(6n+6) { grid-row: span 1; }
}
@media (max-width: 380px) {
  .header .wrap { gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 15px; }
}
@media print {
  .header, .footer, .cta-card, .lightbox, .fab, .slider__bar { display: none; }
  .js [data-reveal], .js [data-reveal-img] img { opacity: 1; transform: none; clip-path: none; }
}
