/* =========================================================
   ROLTECH SYSTEMS — feuille de style principale
   Couleurs reprises du logo : gris + cyan #00AEEF
   ========================================================= */

:root {
  --cyan: #00aeef;
  --cyan-2: #3fd4ff;
  --cyan-soft: rgba(0, 174, 239, .12);
  --gray: #8c8c8c;
  --yellow: #f5b800;

  --bg: #f4f7fb;
  --bg-2: #eaf0f6;
  --surface: #ffffff;
  --text: #0b1220;
  --muted: #5a6577;
  --border: #dde4ee;
  --shadow: 0 10px 30px rgba(11, 18, 32, .08);

  /* bandes toujours sombres (hero, chiffres, CTA) */
  --band: #060a11;
  --band-2: #0c1420;
  --band-text: #e9f0f8;
  --band-muted: #93a3b8;
  --band-border: rgba(255, 255, 255, .09);

  --radius: 18px;
  --header-h: 76px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070b12;
    --bg-2: #0b111b;
    --surface: #0f1723;
    --text: #e8eef6;
    --muted: #93a1b3;
    --border: #1c2737;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --bg: #070b12;
  --bg-2: #0b111b;
  --surface: #0f1723;
  --text: #e8eef6;
  --muted: #93a1b3;
  --border: #1c2737;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* ---------- langues ---------- */
html[data-lang="fr"] [data-l="en"],
html[data-lang="en"] [data-l="fr"] { display: none !important; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--cyan); color: #fff; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.alt { background: var(--bg-2); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--font-head);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; box-shadow: 0 0 10px var(--cyan); }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 680px; }
.center .lead { margin-inline: auto; }
.grad {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- boutons ---------- */
.btn {
  --b: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font: 600 .95rem/1 var(--font-head); letter-spacing: .02em;
  border: 1px solid var(--b); cursor: pointer;
  transition: transform .2s, box-shadow .25s, background .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--cyan); color: #fff; box-shadow: 0 0 0 0 rgba(0,174,239,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 174, 239, .45); }
.btn-ghost { background: transparent; color: inherit; --b: currentColor; border-color: rgba(127,140,160,.45); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- en-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
  color: var(--text);
}
.site-header .container { display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; flex-direction: column; line-height: 1; font-family: Arial, Helvetica, sans-serif; }
.logo .word { font-size: 1.55rem; font-weight: 400; letter-spacing: .02em; }
.logo .word b { color: var(--gray); font-weight: 700; }
.logo .sys { align-self: flex-end; font-size: .72rem; letter-spacing: .32em; color: var(--cyan); margin-top: 3px; margin-right: -.32em; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 10px;
  font: 500 .93rem/1 var(--font-head); opacity: .85; transition: opacity .2s, color .2s;
}
.nav a:hover { opacity: 1; color: var(--cyan); }
.nav a.active { opacity: 1; }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan); border-radius: 2px;
}
.tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(127,140,160,.35); background: transparent; color: inherit; cursor: pointer;
  font: 600 .78rem/1 var(--font-head); transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; }
:root[data-theme="dark"] .theme-moon { display: none; }
.burger { display: none; }

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0;
    background: var(--surface); color: var(--text); border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px; transform: translateY(-120%); transition: transform .35s; z-index: -1;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; }
  .nav a.active::after { left: 8px; right: auto; width: 24px; }
  .nav .nav-sav { display: flex; margin-top: 10px; }
  .nav .nav-sav .btn { border-radius: 999px; opacity: 1; padding: 14px 22px; }
  .tools { margin-left: auto; }
  .burger { display: grid; }
  .tools .btn-sav { display: none; }
}
@media (min-width: 1081px) { .nav .nav-sav { display: none; } }
.site-header.menu-open { background: var(--surface); color: var(--text); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--band); color: var(--band-text); overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 210px;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .38; transform: scale(1.06); animation: slowzoom 22s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.14); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(60% 60% at 15% 40%, rgba(0,174,239,.22), transparent 70%),
    linear-gradient(180deg, rgba(6,10,17,.55) 0%, rgba(6,10,17,.35) 45%, var(--band) 100%);
}
.grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,174,239,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,174,239,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 3; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); max-width: 950px; margin-bottom: 24px; }
.hero .lead { color: var(--band-muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 640px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-ghost { color: #fff; }
.badge-live {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--band-border); background: rgba(255,255,255,.04);
  font: 500 .82rem/1 var(--font-head); color: var(--band-muted); margin-bottom: 26px;
}
.badge-live i { width: 8px; height: 8px; border-radius: 50%; background: #2bd97c; box-shadow: 0 0 0 0 rgba(43,217,124,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(43,217,124,0); } 100% { box-shadow: 0 0 0 0 rgba(43,217,124,0); } }

.conveyor-svg { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; width: 100%; height: 190px; pointer-events: none; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 24px; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
}
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* sous-pages */
.page-hero { min-height: 62vh; padding-bottom: 200px; }
.page-hero h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
.crumbs { font: 500 .85rem/1 var(--font-head); color: var(--band-muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--cyan); }

/* ---------- bandes sombres ---------- */
.band { background: var(--band); color: var(--band-text); }
.band .lead, .band p { color: var(--band-muted); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--band-border); border: 1px solid var(--band-border); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--band-2); padding: 34px 26px; position: relative; }
.stat strong { display: block; font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-head); color: #fff; margin-bottom: 10px; }
.stat strong .u { color: var(--cyan); }
.stat span { color: var(--band-muted); font-size: .95rem; }
.stat::before { content: ""; position: absolute; left: 26px; top: 0; width: 34px; height: 2px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ---------- cartes ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(0,174,239,.14), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0,174,239,.5); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card .num { font: 700 .8rem/1 var(--font-head); color: var(--cyan); letter-spacing: .15em; margin-bottom: 22px; display: block; }
.ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--cyan-soft); color: var(--cyan); border: 1px solid rgba(0,174,239,.25);
}
.ico svg { width: 26px; height: 26px; }

.band .card { background: var(--band-2); border-color: var(--band-border); }
.band .card h3 { color: #fff; }

/* carte image */
.media-card { padding: 0; display: flex; flex-direction: column; }
.media-card .img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.media-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.media-card:hover .img img { transform: scale(1.06); }
.media-card .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6,10,17,.5)); }
.media-card .body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.tag {
  display: inline-block; font: 600 .72rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 8px; background: var(--cyan-soft); color: var(--cyan); margin-bottom: 14px; align-self: flex-start;
}
.more { margin-top: auto; padding-top: 18px; color: var(--cyan); font: 600 .9rem/1 var(--font-head); display: inline-flex; gap: 8px; align-items: center; }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- split (texte + image) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.frame { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; }
.frame .chip {
  position: absolute; left: 18px; bottom: 18px; padding: 12px 16px; border-radius: 14px;
  background: rgba(6,10,17,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; border: 1px solid rgba(255,255,255,.12); font: 600 .9rem/1.3 var(--font-head);
}
.frame .chip small { display: block; color: var(--cyan); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.frame-wrap { position: relative; }
.frame-wrap::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: 26px;
  border: 1px solid rgba(0,174,239,.35); z-index: -1;
}

.checks { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px;
  background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300aeef' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid rgba(0,174,239,.3);
}

/* ---------- étapes / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .dot {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--cyan); color: var(--cyan); font: 700 1.05rem/1 var(--font-head);
  box-shadow: 0 0 0 6px var(--bg), 0 0 20px rgba(0,174,239,.35); position: relative;
}
.section.alt .step .dot { background: var(--bg-2); box-shadow: 0 0 0 6px var(--bg-2), 0 0 20px rgba(0,174,239,.35); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- clients ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
.logo-chip {
  width: 210px; height: 104px; flex: none; border-radius: 16px; background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center; padding: 20px 26px;
}
.logo-chip img { max-height: 58px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-chip:hover img { filter: none; opacity: 1; }
.logo-chip.text { font: 700 1.05rem/1.2 var(--font-head); color: #3a4556; text-align: center; }

/* ---------- produits ADDAX ---------- */
.product {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--surface); border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.product + .product { margin-top: 28px; }
.product::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,.16), transparent 65%); pointer-events: none;
}
.product h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.product h3 span { color: var(--cyan); }
.product > * { min-width: 0; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .kpi { padding: 10px 8px; } .kpi b { font-size: 1.1rem; } .kpi small { font-size: .6rem; } }
.screen {
  border-radius: 18px; background: var(--band); border: 1px solid var(--band-border); color: var(--band-text);
  padding: 16px; font-family: var(--font-head); box-shadow: 0 30px 60px rgba(0,0,0,.25); position: relative; z-index: 1;
}
.screen-top { display: flex; gap: 6px; margin-bottom: 14px; align-items: center; }
.screen-top i { width: 10px; height: 10px; border-radius: 50%; background: #2a3546; }
.screen-top i:first-child { background: #ff5f57; } .screen-top i:nth-child(2) { background: #febc2e; } .screen-top i:nth-child(3) { background: #28c840; }
.screen-top span { margin-left: 10px; font-size: .78rem; color: var(--band-muted); }
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--band-2); border: 1px solid var(--band-border); border-radius: 12px; padding: 12px; }
.kpi small { display: block; color: var(--band-muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.kpi b { font-size: 1.35rem; color: #fff; }
.kpi b.ok { color: #2bd97c; } .kpi b.c { color: var(--cyan); }
.kpi.wide { grid-column: span 3; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 8px; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--cyan), rgba(0,174,239,.15)); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: grow 2.8s ease-in-out infinite alternate; }
@keyframes grow { from { transform: scaleY(.55); } }
.rows { display: grid; gap: 6px; margin-top: 6px; font-size: .78rem; }
.rows div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.03); }
.rows em { font-style: normal; font-size: .7rem; padding: 2px 8px; border-radius: 6px; }
.st-ok { background: rgba(43,217,124,.15); color: #2bd97c; }
.st-w { background: rgba(245,184,0,.15); color: var(--yellow); }
.st-c { background: rgba(0,174,239,.15); color: var(--cyan); }
.scan { position: relative; height: 120px; border-radius: 12px; overflow: hidden; background: var(--band-2) center/cover; border: 1px solid var(--band-border); }
.scan::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--cyan); box-shadow: 0 0 16px 4px rgba(0,174,239,.6); animation: scanline 2.6s ease-in-out infinite alternate; }
@keyframes scanline { from { top: 6%; } to { top: 92%; } }
.scan .box { position: absolute; border: 2px solid #2bd97c; border-radius: 6px; font-size: .62rem; color: #2bd97c; padding: 2px 4px; }

/* ---------- références ---------- */
.ref-card .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ref-card .meta span { font-size: .8rem; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); }
.ref-logo { height: 64px; display: flex; align-items: center; margin-bottom: 20px; }
.ref-logo img { max-height: 48px; max-width: 170px; object-fit: contain; background: #fff; padding: 8px 12px; border-radius: 10px; }
.ref-logo .txt { font: 700 1.2rem/1 var(--font-head); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; }
.gallery figure.big { grid-column: span 2; grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff;
  font: 600 .9rem/1.2 var(--font-head); background: linear-gradient(transparent, rgba(6,10,17,.85));
}
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .gallery figure.big, .gallery figure.wide { grid-column: auto; grid-row: span 1; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 72px);
  background: var(--band); color: var(--band-text); border: 1px solid var(--band-border);
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 120% at 100% 0%, rgba(0,174,239,.35), transparent 60%),
    linear-gradient(rgba(0,174,239,.06) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, rgba(0,174,239,.06) 1px, transparent 1px) 0 0/40px 40px;
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); max-width: 640px; margin: 0 0 8px; }
.cta p { color: var(--band-muted); margin: 0; max-width: 560px; }
.cta .btn-ghost { color: #fff; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border: 0; }
.info-item .ico { margin: 0; width: 46px; height: 46px; flex: none; }
.info-item small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.info-item a, .info-item b { font: 600 1.05rem/1.4 var(--font-head); }
.info-item a:hover { color: var(--cyan); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font: 600 .82rem/1 var(--font-head); margin-bottom: 8px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: #18a35d; } .form-status.err { color: #e5484d; }
.hp { position: absolute; left: -9999px; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 340px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }

/* ---------- pied de page ---------- */
.site-footer { background: var(--band); color: var(--band-muted); padding: 80px 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--cyan); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--band-border); display: grid; place-items: center; }
.socials a:hover { border-color: var(--cyan); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--band-border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }

/* ---------- apparitions ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 14px;
  background: var(--cyan); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,174,239,.4); opacity: 0; transform: translateY(20px); transition: .3s; pointer-events: none;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Mentions légales */
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 14px; }
.legal h2 { font-size: 1.35rem; margin: 44px 0 12px; scroll-margin-top: 100px; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal .legal-date { margin-top: 48px; opacity: .7; font-size: .9rem; }
.foot-legal { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
