/* ======================================================================
   TRIVERTIC — feuille de style partagée (toutes les pages)
   Thème « Marine & orange » : les couleurs du logo
   ====================================================================== */
:root {
  --navy:    #0d2547;
  --navy-2:  #163a6b;
  --navy-3:  #081a33;
  --orange:  #f26a21;
  --orange-2:#ff8a3d;
  --orange-d:#d9551a;
  --ink:     #0d2547;
  --txt:     #24344d;
  --muted:   #5e6f86;
  --bg:      #ffffff;
  --bg-2:    #f5f7fa;
  --line:    #dfe5ee;
  --cond:    'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans:    'Barlow', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--txt); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--cond); color: var(--ink); font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .005em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container { width: 90%; max-width: 1260px; margin: 0 auto; }
.kicker { display: inline-block; color: var(--orange); font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 1.05rem; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange); color: #fff; padding: 15px 30px; border: none; cursor: pointer;
  font-family: var(--cond); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s, transform .18s;
}
.btn:hover { background: var(--orange-d); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ===== Bandeau supérieur ===== */
.topbar { background: var(--navy); color: #b9c6da; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; }
.topbar b { color: var(--orange-2); }

/* ===== Header ===== */
header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
header.scrolled { box-shadow: 0 8px 30px rgba(13,37,71,.10); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo img { height: 66px; width: auto; display: block; transition: height .3s ease; }
header.scrolled .nav { padding: 8px 0; }
header.scrolled .logo img { height: 52px; }
.nav { transition: padding .3s ease; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .98rem; position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .btn { padding: 13px 24px !important; }
.nav-tel { display: none; }
.burger { display: none; background: none; border: none; color: var(--ink); font-size: 1.8rem; cursor: pointer; }

/* ===== Hero (accueil) ===== */
.hero { position: relative; min-height: 640px; height: 78vh; max-height: 760px; background: var(--navy); overflow: hidden; display: flex; align-items: center; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
.hero-slides { position: absolute; inset: 0; overflow: hidden; background: var(--navy-2); }
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease-out; }
.hero-track:not(.js) .hero-slide:first-child, .hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-stripe { position: absolute; top: 0; bottom: 0; left: 46%; width: 26px; background: var(--orange); transform: skewX(-8.5deg); transform-origin: top; z-index: 2; }
.hero-inner { position: relative; z-index: 3; }
.hero-inner > * { max-width: 520px; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 6.2vw, 5.6rem); line-height: .92; margin: 16px 0 24px; }
.hero h1 .grn { color: var(--orange); }
.hero p { color: #c3cfe0; font-size: 1.15rem; max-width: 440px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero .kicker { color: var(--orange-2); }

/* ===== Bande chiffres (chevauche le hero) ===== */
.stats { position: relative; z-index: 5; margin-top: -56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; box-shadow: 0 22px 50px rgba(13,37,71,.14); }
.stat { display: flex; align-items: center; gap: 16px; padding: 28px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat b { font-family: var(--cond); font-size: 3rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat b em { font-style: normal; }
.stat span { font-weight: 600; color: var(--ink); line-height: 1.25; font-size: .98rem; }

/* ===== Sections ===== */
section { padding: 110px 0; }
.alt { background: var(--bg-2); }
.head { max-width: 680px; margin-bottom: 54px; }
.head h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); margin: 10px 0 16px; line-height: .95; }
.head p { color: var(--muted); font-size: 1.08rem; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }

/* ===== Services (cartes -> liens) ===== */
.cards { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); background: #fff; }
.card { display: block; padding: 38px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; color: inherit; transition: background .25s, color .25s; }
.card:nth-child(3n) { border-right: none; }
.card:nth-last-child(-n+3) { border-bottom: none; }
.card .ico { position: relative; width: 62px; height: 62px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--cond); font-weight: 800; font-size: 1.6rem; margin-bottom: 26px; transition: transform .25s; }
.card .ico::after { content: ""; position: absolute; right: -8px; bottom: -8px; width: 20px; height: 20px; background: var(--orange); transition: background .25s; }
.card h3 { font-size: 1.9rem; line-height: 1; }
.card p { color: var(--muted); margin: 12px 0 18px; font-size: .98rem; }
.card .more { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); }
.card:hover, .card.hl { background: var(--navy); }
.card:hover h3, .card.hl h3 { color: #fff; }
.card:hover p, .card.hl p { color: #b9c6da; }
.card:hover .ico, .card.hl .ico { background: var(--orange); }
.card:hover .ico::after, .card.hl .ico::after { background: #fff; }

/* ===== Pourquoi / expertise ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-media { position: relative; }
.why-media::before { content: ""; position: absolute; left: -24px; top: -24px; width: 190px; height: 190px; background: var(--orange); z-index: 0; }
.why-media img { position: relative; z-index: 1; width: 100%; height: 600px; object-fit: cover; display: block; }
.why-media .tag { position: absolute; z-index: 2; right: -28px; bottom: 40px; background: var(--navy); color: #fff; padding: 26px 30px; }
.why-media .tag b { display: block; font-family: var(--cond); font-size: 3.2rem; line-height: 1; color: var(--orange); }
.why-media .tag span { color: #c3cfe0; }
.why-grid h2 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); margin: 10px 0 30px; line-height: .95; }
.why-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; }
.why-list li { display: flex; gap: 14px; }
.why-list .n { flex-shrink: 0; width: 30px; height: 30px; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.why-list h4 { font-family: var(--sans); text-transform: none; font-size: 1.04rem; font-weight: 700; margin-bottom: 2px; }
.why-list p { color: var(--muted); font-size: .94rem; line-height: 1.45; }

/* ===== Galerie ===== */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 240px; gap: 12px; }
.gallery figure { position: relative; overflow: hidden; margin: 0; background: var(--navy); }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease, opacity .3s; }
.gallery figure:hover img { transform: scale(1.06); opacity: .85; }
.gallery figcaption { position: absolute; left: 0; bottom: 0; background: var(--orange); color: #fff; padding: 8px 16px; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.02rem; transform: translateY(100%); transition: transform .3s; }
.gallery figure:hover figcaption { transform: none; }

/* ===== Étapes ===== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 3px solid var(--navy); }
.step-item { padding: 30px 28px 10px 0; position: relative; }
.step-item .sn { font-family: var(--cond); font-weight: 800; font-size: 3.4rem; color: var(--orange); line-height: 1; margin-bottom: 12px; }
.step-item::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; background: var(--orange); }
.step-item h4 { font-size: 1.6rem; margin-bottom: 8px; }
.step-item p { color: var(--muted); font-size: .97rem; }

/* ===== Bande CTA orange ===== */
.cta-band { background: var(--orange); padding: 64px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .95; max-width: 760px; }
.cta-band p { color: #fff; opacity: .92; width: 100%; order: 3; margin-top: -14px; }
.cta-band .btn { background: var(--navy); font-size: 1.3rem; padding: 20px 38px; }
.cta-band .btn:hover { background: var(--navy-3); }

/* ===== Page hero (sous-pages) ===== */
.page-hero { position: relative; background: var(--navy); padding: 90px 0 84px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 44%; background-size: cover; background-position: center; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.page-hero::after { content: ""; position: absolute; top: 0; bottom: 0; left: 55.2%; width: 18px; background: var(--orange); transform: skewX(-8.5deg); transform-origin: top; }
.page-hero .container > * { position: relative; z-index: 2; max-width: 600px; }
.breadcrumb { color: #9fb0c8; font-size: .9rem; margin-bottom: 16px; }
.breadcrumb a { color: #c3cfe0; }
.breadcrumb a:hover { color: var(--orange-2); }
.page-hero .kicker { color: var(--orange-2); }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: .92; margin: 12px 0 18px; }
.page-hero p { color: #c3cfe0; font-size: 1.12rem; }
.page-hero p a { color: var(--orange-2) !important; }

/* ===== Page service : contenu ===== */
.svc-body { display: grid; grid-template-columns: 1.4fr .9fr; gap: 64px; align-items: start; }
.svc-body h3 { font-size: 2rem; margin: 30px 0 14px; }
.svc-body p { color: var(--muted); margin-bottom: 14px; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 18px 0 26px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.feature-list li::before { content: "✓"; flex-shrink: 0; width: 26px; height: 26px; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.svc-aside { position: sticky; top: 120px; background: var(--navy); color: #fff; padding: 34px; }
.svc-aside h4 { color: #fff; font-size: 2rem; margin-bottom: 8px; }
.svc-aside p { color: #b9c6da; margin-bottom: 22px; }
.svc-aside .btn { width: 100%; margin-bottom: 16px; }
.svc-aside .tel { display: block; text-align: center; font-family: var(--cond); font-weight: 700; font-size: 1.6rem; color: var(--orange-2); }
.svc-aside small { display: block; text-align: center; color: #9fb0c8; }
.realisations { background: var(--bg-2); }
.other-svc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.other-svc a { border: 1.5px solid var(--line); background: #fff; padding: 9px 18px; font-weight: 600; font-size: .94rem; color: var(--ink); transition: .2s; }
.other-svc a:hover { border-color: var(--orange); color: var(--orange); }

/* ===== FAQ ===== */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-left: 4px solid var(--line); margin-bottom: 12px; background: #fff; transition: border-color .2s; }
.faq-item[open] { border-left-color: var(--orange); }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.08rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 1.3rem; }
.faq-item[open] summary::after { content: "−"; background: var(--orange); }
.faq-item .a { padding: 0 24px 22px; color: var(--muted); }
.faq-item .a a { color: var(--orange); font-weight: 600; }

/* ===== Postuler : atouts ===== */
.perks { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); }
.perk { padding: 34px; border-right: 1px solid var(--line); background: #fff; }
.perk:last-child { border-right: none; }
.perk .ico { width: 56px; height: 56px; background: var(--navy); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 20px; }
.perk h4 { font-size: 1.7rem; margin-bottom: 6px; }
.perk p { color: var(--muted); }

/* ===== Contact & formulaires ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-grid h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem) !important; line-height: .95; margin: 10px 0 14px !important; }
.contact-grid > div > p { color: var(--muted) !important; }
.contact-info { list-style: none; margin-top: 30px; }
.contact-info li { display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci { width: 48px; height: 48px; flex-shrink: 0; background: var(--navy); display: grid; place-items: center; font-size: 1.2rem; }
.contact-info small { display: block; color: var(--orange); font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.contact-info b { font-weight: 600; color: var(--ink); }
form.tv { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--orange); padding: 36px; box-shadow: 0 22px 50px rgba(13,37,71,.08); }
form.tv .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
input, textarea, select { width: 100%; padding: 13px 15px; margin-bottom: 18px; font: inherit; font-size: .98rem; background: var(--bg-2); color: var(--ink); border: 1.5px solid var(--line); border-radius: 0; transition: border-color .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange); background: #fff; }
textarea { resize: vertical; min-height: 120px; }
form.tv .btn { width: 100%; }
.form-hint { color: var(--muted); font-size: .84rem; margin-top: 8px; text-align: center; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; font-size: .86rem; font-weight: 400; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; padding: 0; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--orange); }
.consent a { color: var(--orange); text-decoration: underline; }

/* ===== Pages légales ===== */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 2rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--txt); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--orange); font-weight: 600; }

/* ===== Footer ===== */
footer { background: var(--navy); color: #9fb0c8; padding: 70px 0 30px; }
.foot-top { display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-top .logo img { height: 84px; margin-bottom: 16px; }
.foot-brand p { max-width: 320px; font-size: .95rem; }
.foot-cols { display: flex; gap: 80px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--cond); font-size: 1.25rem; text-transform: uppercase; color: #fff; margin-bottom: 14px; letter-spacing: .03em; }
.foot-col a, .foot-col span { display: block; font-size: .95rem; margin-bottom: 9px; transition: color .2s; }
.foot-col a:hover { color: var(--orange-2); }
.foot-bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; }
.foot-bottom a:hover { color: var(--orange-2); }

/* ===== Bouton « Appeler » flottant (mobile uniquement) ===== */
.call-fab { display: none; }

/* ===== Barre de progression de lecture ===== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; z-index: 300; pointer-events: none; }

/* ===== Retour en haut (ordinateur) ===== */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 150; width: 50px; height: 50px; border: none; cursor: pointer; background: var(--navy); color: #fff; font-size: 1.3rem; box-shadow: 0 10px 30px rgba(13,37,71,.3); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); }

/* ===== Galerie : visionneuse ===== */
.gallery figure { cursor: zoom-in; }
.gallery figure:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(8,26,51,.94); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: 86vw; text-align: center; transform: scale(.96); transition: transform .3s; }
.lightbox.open figure { transform: none; }
.lightbox img { max-width: 86vw; max-height: 80vh; display: block; margin: 0 auto; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: #fff; margin-top: 14px; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.15rem; }
.lightbox button { position: absolute; background: none; border: none; color: #fff; cursor: pointer; font-size: 2.6rem; line-height: 1; width: 60px; height: 60px; transition: color .2s; }
.lightbox button:hover { color: var(--orange-2); }
.lb-close { top: 18px; right: 22px; font-size: 1.8rem !important; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 34px; left: 32px; color: #9fb0c8; font-size: .9rem; }
.lb-lock, .lb-lock body { overflow: hidden; }

/* ===== Animations ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
  .hero-inner .kicker, .hero-inner h1, .hero-inner p, .hero-btns { opacity: 0; transform: translateY(24px); animation: heroIn .8s cubic-bezier(.16,.8,.3,1) forwards; }
  .hero-inner .kicker { animation-delay: .1s; }
  .hero-inner h1 { animation-delay: .22s; }
  .hero-inner p { animation-delay: .36s; }
  .hero-btns { animation-delay: .5s; }
  .page-hero .breadcrumb, .page-hero .kicker, .page-hero h1, .page-hero p { opacity: 0; transform: translateY(18px); animation: heroIn .75s cubic-bezier(.16,.8,.3,1) forwards; }
  .page-hero .kicker { animation-delay: .12s; }
  .page-hero h1 { animation-delay: .22s; }
  .page-hero p { animation-delay: .34s; }
  @keyframes heroIn { to { opacity: 1; transform: none; } }

  /* Entrée du hero : la photo s'ouvre en diagonale, la bande orange descend */
  .hero-photo { animation: photoIn 1.1s cubic-bezier(.7,0,.2,1) both; }
  .hero-stripe { animation: stripeIn .9s cubic-bezier(.7,0,.2,1) .35s both; }
  .page-hero::before { animation: pagePhotoIn 1s cubic-bezier(.7,0,.2,1) both; }
  .page-hero::after { animation: stripeIn .8s cubic-bezier(.7,0,.2,1) .3s both; }
  @keyframes photoIn { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); } }
  @keyframes pagePhotoIn { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); } }
  @keyframes stripeIn { from { transform: skewX(-8.5deg) scaleY(0); } to { transform: skewX(-8.5deg) scaleY(1); } }

  /* Micro-interactions */
  .btn { position: relative; overflow: hidden; }
  .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); transition: left .6s ease; }
  .btn:hover::after { left: 130%; }
  .why-media img { transition: transform .8s ease; }
  .why-media:hover img { transform: scale(1.02); }
  .feature-list li::before, .why-list .n { transition: transform .25s; }
  .why-list li:hover .n, .feature-list li:hover::before { transform: rotate(-8deg) scale(1.1); }
  .card:hover .ico { transform: translateY(-3px); }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .hero-photo { width: 50%; }
  .hero-stripe { left: 50%; }
}
@media (max-width: 900px) {
  .topbar .zones { display: none; }
  .topbar .container { justify-content: center; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .card:nth-child(2n) { border-right: none; }
  .card:nth-last-child(-n+2) { border-bottom: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .head.split, .why-grid, .contact-grid, .svc-body { grid-template-columns: 1fr; gap: 40px; }
  .why-media img { height: 460px; }
  .why-media .tag { right: 16px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px 24px; border-top: none; }
  .step-item { border-top: 3px solid var(--navy); }
  .svc-aside { position: static; }
  .perks { grid-template-columns: 1fr; }
  .perk { border-right: none; border-bottom: 1px solid var(--line); }
  .perk:last-child { border-bottom: none; }
  /* Hero : la photo passe en fond, le texte reste lisible */
  .hero { height: auto; min-height: 0; padding: 90px 0 130px; }
  .hero-photo { width: 100%; clip-path: none; animation: none !important; }
  .page-hero::before { animation: none !important; }
  .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,37,71,.94), rgba(13,37,71,.72)); }
  .hero-stripe { display: none; }
  .hero { border-bottom: 6px solid var(--orange); }
  .page-hero::before { width: 100%; clip-path: none; opacity: .22; }
  .page-hero::after { display: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 22px 5%; gap: 16px; border-bottom: 3px solid var(--orange); box-shadow: 0 20px 40px rgba(13,37,71,.15); }
  .burger { display: block; }
  .logo img { height: 52px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 76px 0; }
  .topbar { font-size: .8rem; }
  .nav-cta .btn { display: none; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card:nth-child(n) { border-right: none; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: none; }
  .gallery figure.wide, .gallery figure.tall { grid-column: auto; grid-row: auto; }
  .gallery { grid-auto-rows: 170px; }
  .gallery figcaption { transform: none; font-size: .78rem; padding: 5px 9px; line-height: 1.2; right: 0; }
  .stat { padding: 20px 18px; gap: 10px; }
  .stat b { font-size: 2.3rem; }
  .stat span { font-size: .86rem; }
  .why-list, .feature-list { grid-template-columns: 1fr; }
  .why-media::before { left: -12px; top: -12px; width: 120px; height: 120px; }
  .steps { grid-template-columns: 1fr; }
  form.tv { padding: 26px 22px; }
  form.tv .row { grid-template-columns: 1fr; gap: 0; }
  .cta-band .btn { width: 100%; }
  .call-fab {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; right: 16px; bottom: 16px; z-index: 200;
    background: var(--orange); color: #fff; padding: 14px 22px;
    font-family: var(--cond); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em;
    box-shadow: 0 10px 30px rgba(13,37,71,.4);
  }
  footer { padding-bottom: 90px; }
  .to-top { display: none; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; transform: none !important; }
}
