/* DSG – Dieye Solar Group · feuille de style principale */

:root {
  --navy: #0d1034;
  --navy-2: #151a4b;
  --navy-3: #1f2668;
  --blue: #006ab9;
  --cyan: #66deff;
  --yellow: #fdbd00;
  --amber: #ffa300;
  --orange: #fd6600;
  --orange-ink: #b34700;
  --paper: #f6f4ef;
  --white: #fff;
  --ink: #0d1034;
  --ink-2: #474c66;
  --ink-3: #6b7086;
  --line: rgba(13, 16, 52, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(13, 16, 52, 0.45);
  --font-d: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-b: 'DM Sans', system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::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;
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-d); color: var(--ink); margin: 0; line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 20px; height: 20px; flex: none; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(253, 102, 0, 0.8); }
.btn-primary:hover { background: var(--yellow); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: #25d366; color: #06301a; }
.btn-wa:hover { background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--blue); font-weight: 700; text-decoration: none; }
.link-arrow:hover { gap: 12px; }
.link-arrow .ico { width: 18px; height: 18px; }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  display: grid; place-items: center; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.round-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.round-btn:disabled { opacity: 0.35; cursor: default; background: #fff; color: var(--navy); }

/* ---------- Kicker & sections ---------- */
.kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink);
}
.kicker::before { content: ''; width: 36px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.kicker-light { color: var(--yellow); }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-paper { background: var(--paper); }
.section.dark { background: var(--navy); color: rgba(255, 255, 255, 0.72); }
.dark h2, .dark h3 { color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 28px 64px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > :only-child { grid-column: 1 / -1; }
.section-head > :last-child:not(:first-child) { justify-self: end; }
.section-head h2 { max-width: 16ch; }
.section-intro { max-width: 52ch; font-size: 18px; }
.section > .wrap > h2 { margin-bottom: 40px; }

/* ---------- En-tête ---------- */
/* Pas de backdrop-filter ici : il confinerait le menu mobile (position fixed) à la hauteur de l'en-tête. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow 0.3s; }
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(13, 16, 52, 0.5); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { width: 150px; height: auto; }
.brand-stripe { height: 3px; background: linear-gradient(90deg, var(--navy) 0 20%, var(--blue) 20% 40%, var(--cyan) 40% 60%, var(--yellow) 60% 80%, var(--orange) 80%); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.nav-link:hover, .has-dd:hover > .nav-link { background: var(--paper); }
.nav-link { position: relative; }
.nav-link[aria-current='page'], .is-current > .nav-link { color: var(--blue); }
.nav-link[aria-current='page']::after, .is-current > .nav-link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--orange); }
.chev { width: 16px; height: 16px; transition: transform 0.2s; }
.has-dd { position: relative; }
.dd {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: 380px; padding: 10px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(13, 16, 52, 0.35), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}
.dd::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .chev, .has-dd.open .chev { transform: rotate(180deg); }
.dd a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.dd a:hover { background: var(--paper); }
.dd strong { display: block; font-size: 15px; }
.dd small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.dd-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); flex: none; }
.dd-all { justify-content: space-between; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important; color: var(--blue) !important; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.header-phone .ico { color: var(--orange); width: 18px; }
.lang-switch { display: inline-grid; place-items: center; min-width: 40px; height: 36px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: var(--ink); text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.lang-switch:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav-lang { display: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); place-items: center; cursor: pointer; }
.burger .i-close { display: none; }
.nav-mobile-extra { display: none; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kb 24s var(--ease) both; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 16, 52, 0.35) 0%, rgba(13, 16, 52, 0.15) 30%, rgba(13, 16, 52, 0.82) 72%, var(--navy) 100%), linear-gradient(90deg, rgba(13, 16, 52, 0.7), transparent 65%); }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-sun { position: absolute; z-index: -1; right: -8vw; top: 12%; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(253, 189, 0, 0.35), rgba(253, 102, 0, 0.12) 45%, transparent 68%); filter: blur(10px); pointer-events: none; }
.hero-in { padding-top: 120px; padding-bottom: 48px; }
.hero-title { color: #fff; font-size: clamp(46px, 8.4vw, 112px); line-height: 0.95; letter-spacing: -0.045em; font-weight: 800; max-width: 12ch; }
.hero-title span { color: var(--yellow); }
.hero-lead { margin-top: 28px; max-width: 56ch; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.85); }
.hero-stats { border-top: 1px solid var(--line-light); background: rgba(13, 16, 52, 0.55); backdrop-filter: blur(8px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 26px 24px 28px 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stat-n { font-family: var(--font-d); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; color: var(--yellow); letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.stat-n small { font-size: 17px; color: var(--cyan); letter-spacing: 0; font-weight: 700; }
.stat-t { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.72); line-height: 1.45; }

/* ---------- Bandeau logos ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.ticker img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.3s, opacity 0.3s; }
.ticker li:hover img { filter: none; opacity: 1; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Activités ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(340px, auto); gap: 16px; }
.svc-lg { grid-row: span 2; }
.svc-card a { position: relative; isolation: isolate; display: flex; height: 100%; min-height: 300px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); }
.svc-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.svc-card a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 16, 52, 0.05) 20%, rgba(13, 16, 52, 0.92)); transition: background 0.4s; }
.svc-card a:hover img { transform: scale(1.06); }
.svc-body { margin-top: auto; padding: 28px; }
.svc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange); color: var(--navy); margin-bottom: 18px; }
.svc-ico .ico { width: 24px; height: 24px; }
.svc-card h3 { color: #fff; font-size: clamp(22px, 2.2vw, 28px); }
.svc-lg h3 { font-size: clamp(28px, 3vw, 40px); }
.svc-card p { margin-top: 10px; color: rgba(255, 255, 255, 0.8); font-size: 15.5px; max-width: 44ch; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--yellow); }
.svc-more .ico { width: 18px; transition: transform 0.2s; }
.svc-card a:hover .svc-more .ico { transform: translateX(4px); }

/* ---------- Approche ---------- */
.approach { background: var(--paper); }
.approach-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.approach-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.approach-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.media-tag { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(13, 16, 52, 0.78); backdrop-filter: blur(6px); color: #fff; font-size: 14px; }
.media-tag span { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(253, 189, 0, 0.25); flex: none; }
.approach h2 { max-width: 14ch; }
.pillars { margin-top: 40px; }
.pillars li { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.pillar-n { font-family: var(--font-d); font-weight: 800; font-size: 15px; color: var(--orange-ink); padding-top: 3px; }
.pillars h3 { display: flex; align-items: center; gap: 10px; }
.pillars h3 .ico { color: var(--blue); }
.pillars p { margin-top: 8px; }

/* ---------- Centrale hybride ---------- */
.hybrid { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 85% 0%, rgba(0, 106, 185, 0.35), transparent 60%), var(--navy); }
.hybrid .section-intro { color: rgba(255, 255, 255, 0.72); }
.hybrid-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.chart { margin: 0; padding: clamp(16px, 3vw, 32px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-light); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: rgba(255, 255, 255, 0.08); }
.chart .lbl { fill: #fff; font: 600 13px var(--font-b); }
.chart .ticks text { fill: rgba(255, 255, 255, 0.55); font: 500 12px var(--font-b); }
.chart .sun-line, .chart .load-line { stroke-dasharray: 900; stroke-dashoffset: 900; }
.chart.in .sun-line, .chart.in .load-line { animation: draw 2.2s var(--ease) forwards; }
.chart.in .load-line { animation-delay: 0.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; font-size: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.lg-sun { background: var(--yellow); }
.lg-load { background: var(--cyan); }
.lg-bat { background: repeating-linear-gradient(45deg, rgba(102, 222, 255, 0.6) 0 2px, transparent 2px 5px); border: 1px solid rgba(102, 222, 255, 0.6); }
.moments li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.moments li:first-child { padding-top: 0; }
.m-h { font-family: var(--font-d); font-weight: 800; font-size: 26px; color: var(--cyan); line-height: 1.1; }
.moments h3 { font-size: 19px; }
.moments p { margin-top: 6px; font-size: 15.5px; }

/* ---------- Réalisations ---------- */
.projects { padding-bottom: clamp(64px, 8vw, 100px); }
.car-ctrl { display: flex; gap: 10px; }
.car {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 860px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.car::-webkit-scrollbar { display: none; }
.car > * { scroll-snap-align: start; }
.proj-card a { position: relative; isolation: isolate; display: flex; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); }
.proj-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.proj-card a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(13, 16, 52, 0.94)); }
.proj-card a:hover img { transform: scale(1.05); }
.proj-body { margin-top: auto; padding: clamp(20px, 3vw, 40px); width: 100%; }
.proj-fig { font-family: var(--font-d); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; display: flex; align-items: baseline; gap: 8px; }
.proj-fig span { font-size: clamp(54px, 7vw, 96px); color: var(--yellow); }
.proj-fig small { font-size: clamp(20px, 2vw, 28px); color: var(--cyan); letter-spacing: 0; }
.proj-card h3 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); margin-top: 14px; }
.proj-sum { margin-top: 8px; color: rgba(255, 255, 255, 0.78); font-size: 15.5px; max-width: 60ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.4); font-size: 13px; font-weight: 700; }
.tag-accent { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------- Vidéos ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.videos-single { grid-template-columns: minmax(0, 960px); }
.vid { margin: 0; }
.vid-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.vid-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-play { display: none; }
.js .vid-play {
  position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; padding: 0; cursor: pointer; color: var(--navy);
  background: linear-gradient(180deg, rgba(13, 16, 52, 0.05), rgba(13, 16, 52, 0.45));
}
.js .vid-play .ico { box-sizing: content-box; width: 30px; height: 30px; padding: 26px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 10px rgba(253, 102, 0, 0.25); transition: transform 0.25s var(--ease), background 0.2s; }
.js .vid-play:hover .ico { transform: scale(1.08); background: var(--yellow); }
.vid.playing .vid-play { display: none; }
.vid figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; }
.vid figcaption strong { color: var(--ink); font-family: var(--font-d); font-size: 20px; letter-spacing: -0.01em; }
.vid figcaption span { color: var(--ink-3); font-size: 15px; }
.videos-portrait { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.vid-portrait .vid-frame { aspect-ratio: 9 / 16; }
.vid-portrait figcaption { flex-direction: column; }
.vid-portrait figcaption strong { font-size: 17px; line-height: 1.25; }

/* ---------- Inscription ProSolar Academy ---------- */
.reg-in { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.reg-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-3); }
.reg-steps li { display: flex; align-items: center; gap: 8px; }
.reg-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 13px; }
.reg-steps .ico { width: 14px; height: 14px; }
.reg-steps .is-on { color: var(--ink); }
.reg-steps .is-on span { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.reg-steps .is-done span { background: var(--navy); border-color: var(--navy); color: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.check input[aria-invalid='true'] { outline: 2px solid #c62828; outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-grid fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.f-grid fieldset.field legend { display: block; padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 15px; color: var(--ink); }
.day-group[aria-invalid='true'] .chip span { border-color: #c62828; }
[data-other-field][hidden] { display: none; }
.reg-form { position: relative; }
.reg-side { position: sticky; top: calc(var(--header-h) + 24px); }
.reg-side h3 { font-family: var(--font-d); font-size: 22px; color: #fff; text-transform: none; letter-spacing: -0.01em; margin-bottom: 8px; }
.reg-side dl { margin: 0 0 20px; }
.reg-side dl div { padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.reg-side dt { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.reg-side dd { margin: 2px 0 0; color: #fff; font-weight: 600; }
.reg-amount dd { font-family: var(--font-d); font-size: 30px; color: var(--yellow) !important; font-weight: 800; }
.reg-wave { font-size: 14px; margin-bottom: 16px; }
.reg-wave strong { color: #fff; }
.pay-in { display: grid; justify-items: center; }
.pay-card { width: 100%; max-width: 640px; }
.pay-hello { font-family: var(--font-d); font-size: 24px; color: var(--ink); font-weight: 700; margin-bottom: 16px; }
.pay-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 22px; }
.pay-sum div { padding: 16px 18px; border-radius: 14px; background: var(--paper); }
.pay-sum dt { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.pay-sum dd { margin: 4px 0 0; font-family: var(--font-d); font-size: 22px; color: var(--ink); }
.btn-wave { background: #1dc8ff; color: #04213a; box-shadow: 0 10px 24px -12px rgba(29, 200, 255, 0.9); }
.btn-wave:hover { background: var(--yellow); }
.pay-steps { counter-reset: p; margin: 24px 0; display: grid; gap: 12px; }
.pay-steps li { counter-increment: p; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: 15.5px; }
.pay-steps li::before { content: counter(p); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 800; font-size: 14px; }

/* ---------- ProSolar Academy ---------- */
.hero-badge, .ac-logo { display: block; height: auto; background: #fff; border-radius: 18px; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.5); }
.hero-badge { width: 150px; padding: 10px; margin-bottom: 26px; }
.ac-logo { width: 120px; padding: 8px; margin-bottom: 22px; }
.academy { background: radial-gradient(800px 420px at 0% 100%, rgba(253, 102, 0, 0.28), transparent 60%), radial-gradient(900px 500px at 100% 0%, rgba(0, 106, 185, 0.35), transparent 60%), var(--navy); }
.academy-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.academy h2, .dark .academy-in h2 { max-width: 15ch; }
.academy-lead { margin-top: 22px; font-size: 18px; max-width: 54ch; color: rgba(255, 255, 255, 0.8); }
.academy-lead + .academy-lead { margin-top: 14px; }
.academy-media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-2); }
.academy-media img { width: 100%; height: 100%; object-fit: cover; }
.academy-media figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(13, 16, 52, 0.8); backdrop-filter: blur(6px); color: #fff; font-size: 14px; }
.academy-media figcaption span { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(253, 189, 0, 0.25); flex: none; }
.ac-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.ac-facts li { padding: 18px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.ac-facts strong { display: block; font-family: var(--font-d); font-size: clamp(28px, 3vw, 38px); line-height: 1; letter-spacing: -0.03em; color: var(--orange-ink); }
.ac-facts span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.4; }
.dark .ac-facts li { background: rgba(255, 255, 255, 0.06); border-color: var(--line-light); }
.dark .ac-facts strong { color: var(--yellow); }
.dark .ac-facts span { color: rgba(255, 255, 255, 0.72); }
.ac-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.ac-intro h2 { max-width: 16ch; margin-bottom: 24px; }
.ac-intro .section-intro + p { margin-top: 16px; }
.ac-facts-wrap .ac-facts { margin-top: 0; }
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.modules > li { box-shadow: none; }
.mod-n { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 8px; }
.modules h3 { font-size: 24px; margin-bottom: 16px; }
.modules ul li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15.5px; border-top: 1px solid var(--line); }
.modules ul .ico { width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud-grid li { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--paper); }
.aud-grid .svc-ico { margin: 0; flex: none; }
.aud-grid p { margin-top: 6px; font-size: 15.5px; }
.ac-practical { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.ac-practical h2 { max-width: 14ch; margin-bottom: 22px; }
.ac-dl { margin: 0; padding: 8px clamp(22px, 3vw, 36px); }
.ac-dl div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ac-dl div:last-child { border-bottom: 0; }
.ac-dl dt { font-weight: 700; color: var(--ink); }
.ac-dl dd { margin: 0; }
.owner-card { display: grid; grid-template-columns: 148px 1fr; gap: 24px; align-items: center; }
.owner-photo { width: 148px; height: 148px; border-radius: 18px; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 4px rgba(253, 189, 0, 0.35); }
@media (max-width: 480px) {
  .owner-card { grid-template-columns: 1fr; }
  .owner-photo { width: 120px; height: 120px; }
}
.owner-titles li { position: relative; padding-left: 16px; margin-top: 6px; font-size: 15px; line-height: 1.45; }
.owner-titles li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* ---------- Simulateur ---------- */
.sim-sec { background: var(--paper); }
.sim-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.sim-copy h2 { max-width: 13ch; }
.sim-copy > p:not(.kicker) { margin-top: 24px; font-size: 18px; max-width: 46ch; }
.sim-copy > p.sim-note { font-size: 14px; color: var(--ink-3); border-left: 3px solid var(--yellow); padding-left: 14px; }
.card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.sim fieldset { border: 0; padding: 0; margin: 0; }
.sim legend, .field label { display: block; font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.sim .field { margin-top: 24px; }
.bill-row { display: grid; grid-template-columns: 1fr 190px; gap: 16px; align-items: center; }
input[type='range'] { width: 100%; accent-color: var(--orange); height: 28px; }
.bill-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; }
.bill-input:focus-within { border-color: var(--blue); }
.bill-input input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 12px 6px 12px 0; font-weight: 700; font-size: 17px; background: none; }
.bill-input span { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.switch { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 15px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.sw { position: relative; width: 46px; height: 26px; border-radius: 99px; background: #d5d6df; flex: none; transition: background 0.2s; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.switch input:checked + .sw { background: var(--orange); }
.switch input:checked + .sw::after { transform: translateX(20px); }
.switch input:focus-visible + .sw { outline: 3px solid var(--orange); outline-offset: 2px; }
.sim-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 26px 0 22px; background: var(--line); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.sim-out > div { background: #fff; padding: 16px; }
.sim-out dt { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.sim-out dd { margin: 4px 0 0; font-family: var(--font-d); font-weight: 800; font-size: 26px; color: var(--ink); line-height: 1.1; }
.sim-out dd small { font-family: var(--font-b); font-size: 13px; font-weight: 700; color: var(--ink-3); }
.out-main { grid-column: 1 / -1; background: var(--navy) !important; }
.out-main dt { color: rgba(255, 255, 255, 0.7); }
.out-main dd { color: var(--yellow); font-size: clamp(32px, 4vw, 44px); }
.out-main dd small { color: var(--cyan); }
.out-main p { color: rgba(255, 255, 255, 0.75); font-size: 14px; margin-top: 4px; }
.out-main strong { color: #fff; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li { position: relative; }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-family: var(--font-d); font-weight: 800; font-size: 22px; box-shadow: 0 0 0 8px #fff; }
.steps li:last-child .step-n { background: var(--orange); color: var(--navy); }
.steps h3 { margin-top: 24px; }
.steps p { margin-top: 8px; font-size: 15.5px; }
.steps-sec .btn-row { margin-top: 48px; }

/* ---------- Partenaires ---------- */
.partners { background: var(--paper); }
.pt-group + .pt-group { margin-top: 40px; }
.pt-group h3 { font-family: var(--font-b); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.pt-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pt-logos li { display: grid; place-items: center; height: 96px; padding: 18px 22px; background: #fff; border-radius: 14px; border: 1px solid var(--line); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.pt-logos li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pt-logos img { max-height: 54px; width: auto; object-fit: contain; }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; color: rgba(255, 255, 255, 0.78); padding: clamp(72px, 9vw, 120px) 0; background: radial-gradient(700px 420px at 100% 100%, rgba(253, 102, 0, 0.38), transparent 65%), radial-gradient(600px 400px at 0% 0%, rgba(0, 106, 185, 0.35), transparent 60%), var(--navy); }
.cta-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.cta-band h2 { color: #fff; max-width: 14ch; }
.cta-band .cta-in > div > p:not(.kicker) { margin-top: 22px; font-size: 18px; max-width: 48ch; }
.cta-contacts, .contact-list { display: grid; gap: 4px; }
.cta-contacts li, .contact-list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-light); }
.cta-contacts .ico, .contact-list .ico { width: 22px; height: 22px; color: var(--yellow); }
.cta-contacts small, .contact-list small { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.cta-contacts a, .cta-contacts span { color: #fff; font-weight: 700; text-decoration: none; font-size: 17px; }
.cta-contacts a:hover { color: var(--yellow); }

/* ---------- Pied de page ---------- */
.site-footer { background: #080a24; color: rgba(255, 255, 255, 0.66); padding: 72px 0 28px; font-size: 15px; }
.f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.f-brand img { width: 230px; }
.f-brand p { margin: 20px 0 24px; max-width: 34ch; }
.f-col h3 { font-family: var(--font-b); color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.f-col li + li { margin-top: 10px; }
.f-col a { text-decoration: none; }
.f-col a:hover { color: var(--yellow); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .ico { width: 18px; height: 18px; color: var(--orange); margin-top: 3px; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 14px; }
.f-bottom ul { display: flex; gap: 24px; }
.f-bottom a { text-decoration: none; }
.f-bottom a:hover { color: #fff; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #06301a; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.4); transition: transform 0.2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 28px; height: 28px; }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, 0.82); padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); }
.page-hero.has-img { min-height: 560px; display: flex; align-items: flex-end; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 16, 52, 0.94) 10%, rgba(13, 16, 52, 0.55) 70%, rgba(13, 16, 52, 0.35)), linear-gradient(0deg, rgba(13, 16, 52, 0.8), transparent 50%); }
.page-hero:not(.has-img)::after { background: radial-gradient(700px 400px at 90% 0%, rgba(0, 106, 185, 0.4), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(253, 102, 0, 0.22), transparent 60%); }
.page-hero h1 { color: #fff; font-size: clamp(42px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; max-width: 16ch; }
.page-lead { margin-top: 24px; max-width: 58ch; font-size: clamp(17px, 1.6vw, 20px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 28px; color: rgba(255, 255, 255, 0.6); }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

.svc-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.svc-detail h2 { margin-bottom: 36px; }
.offer-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.offer-list li { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--paper); }
.ol-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--navy); flex: none; }
.ol-ico .ico { width: 18px; height: 18px; }
.offer-list p { margin-top: 6px; font-size: 15.5px; }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card h3 { font-size: 22px; margin-bottom: 16px; }
.check-list { margin-bottom: 24px; }
.check-list li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.check-list .ico { color: var(--blue); width: 18px; }
.side-card .btn + .btn { margin-top: 10px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery li { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery li:hover img { transform: scale(1.05); }

.feat-proj { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feat-proj .section-intro { margin-top: 20px; }

.mini-svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mini-svc a { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, transform 0.2s var(--ease); }
.mini-svc a:hover { border-color: var(--navy); transform: translateY(-2px); }
.mini-svc .svc-ico { margin: 0; flex: none; }
.mini-svc strong { display: block; color: var(--ink); font-size: 17px; }
.mini-svc small { display: block; font-size: 14px; line-height: 1.45; margin-top: 2px; }
.mini-svc a > .ico { margin-left: auto; color: var(--blue); }

.spec-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0 0 clamp(48px, 6vw, 80px); border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.spec-bar div { padding: 26px 24px; border-right: 1px solid var(--line-light); }
.spec-bar dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.6); }
.spec-bar dd { margin: 8px 0 0; font-family: var(--font-d); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); color: var(--yellow); line-height: 1.1; }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story > div { padding: 30px; border-radius: var(--radius); background: var(--paper); }
.story h2 { font-size: 24px; margin-bottom: 12px; }
.story-res { background: var(--orange) !important; color: var(--navy); }
.next-proj a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); border: 1.5px solid var(--line); text-decoration: none; transition: background 0.25s, color 0.25s; }
.next-proj small { grid-column: 1; font-weight: 700; color: var(--orange-ink); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }
.next-proj strong { grid-column: 1; font-family: var(--font-d); font-size: clamp(28px, 4vw, 48px); color: var(--ink); letter-spacing: -0.03em; line-height: 1.05; }
.next-proj span { grid-column: 1; }
.next-proj .ico { grid-column: 2; grid-row: 1 / 4; width: 40px; height: 40px; color: var(--orange); transition: transform 0.25s var(--ease); }
.next-proj a:hover { background: var(--navy); color: rgba(255, 255, 255, 0.75); }
.next-proj a:hover strong { color: #fff; }
.next-proj a:hover small { color: var(--yellow); }
.next-proj a:hover .ico { transform: translateX(8px); }

.about-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.about-in h2 { max-width: 14ch; margin-bottom: 28px; }
.about-in .section-intro + p { margin-top: 18px; }
.about-in p + p:not(.section-intro) { margin-top: 14px; }
.about-in a { color: var(--blue); font-weight: 600; }
.vm { display: grid; gap: 16px; }
.vm h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.vm h3 .ico { color: var(--orange); }
.card-dark { background: var(--navy); color: rgba(255, 255, 255, 0.7); border: 0; }
.card-dark h3 { color: var(--yellow); font-family: var(--font-b); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.owner { font-family: var(--font-d); color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4px; }

.contact-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.quote-form h2 { font-size: clamp(28px, 3vw, 38px); }
.form-hint { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.f-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.f-full { grid-column: 1 / -1; }
.f-grid input:not([type='checkbox']):not([type='hidden']), .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.f-grid input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 106, 185, 0.15); }
.field [aria-invalid='true'] { border-color: #c62828 !important; }
.form-error { margin-top: 16px; color: #b71c1c; font-weight: 600; }
.quote-form .btn-row { margin-top: 24px; }
.contact-side { display: grid; gap: 16px; }
.contact-list li { background: var(--navy); }
.contact-list a, .contact-list span { color: #fff; font-weight: 700; text-decoration: none; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--blue); }
.todo { padding: 10px 14px; border-radius: 10px; background: #fff4d6; color: #6b4c00; font-size: 15px; }
.notfound h1 { font-size: clamp(44px, 8vw, 96px); letter-spacing: -0.045em; max-width: 14ch; margin-bottom: 24px; }

/* ---------- Animations d'apparition ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  .header-phone span { display: none; }
}
@media (max-width: 1380px) {
  .nav-link { padding: 10px 10px; }
  .nav-link[aria-current='page']::after, .is-current > .nav-link::after { left: 10px; right: 10px; }
}
@media (max-width: 1120px) {
  :root { --header-h: 70px; }
  .burger { display: grid; }
  .header-actions .btn, .header-phone { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + 3px) 0 0; z-index: 49; background: #fff; overflow-y: auto; padding: 16px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .burger .i-open { display: none; }
  .nav-open .burger .i-close { display: block; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 19px; border-radius: 0; }
  .nav-link:hover, .has-dd:hover > .nav-link { background: none; }
  .nav-link[aria-current='page']::after, .is-current > .nav-link::after { display: none; }
  .dd { position: static; translate: none; width: auto; padding: 0 0 12px; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-dd.open .dd { display: block; }
  .has-dd:hover .chev { transform: none; }
  .has-dd.open .chev { transform: rotate(180deg); }
  .nav-mobile-extra { display: grid; gap: 14px; margin-top: 28px; }
  .header-actions .lang-switch { display: none; }
  .nav-lang { display: flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 800; letter-spacing: 0.06em; color: var(--ink); text-decoration: none; }
  .nav-phone { display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); padding: 12px; }
  .nav-phone .ico { color: var(--orange); }

  .section-head { grid-template-columns: 1fr; }
  .section-head > :last-child:not(:first-child) { justify-self: start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-lg { grid-row: auto; grid-column: 1 / -1; }
  .svc-lg a { min-height: 380px; }
  .approach-in, .hybrid-in, .sim-in, .cta-in, .svc-detail, .feat-proj, .about-in, .contact-in, .academy-in, .ac-intro, .ac-practical, .reg-in { grid-template-columns: 1fr; }
  .reg-side { position: static; }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-media { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; padding-bottom: 28px; }
  .steps li .step-n { grid-row: 1 / 3; }
  .steps h3 { margin-top: 14px; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .side-card { position: static; }
  .story { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand img { width: 128px; }
  .hero { min-height: auto; }
  .hero-in { padding-top: 96px; padding-bottom: 36px; }
  .btn-row .btn { flex: 1 1 auto; }
  .stats li, .stats li + li { padding: 18px 12px 20px 0; }
  .stats li:nth-child(even) { padding-left: 14px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card a { min-height: 320px; }
  .car { grid-auto-columns: 86vw; gap: 12px; }
  .proj-card a { aspect-ratio: 4 / 5; }
  .car-ctrl { display: none; }
  .proj-grid, .gallery, .offer-list, .mini-svc, .f-grid, .videos, .modules, .aud-grid { grid-template-columns: 1fr; }
  .ac-dl div { grid-template-columns: 1fr; gap: 2px; }
  .videos-portrait { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pay-sum { grid-template-columns: 1fr; }
  .js .vid-play .ico { width: 24px; height: 24px; padding: 20px; }
  .bill-row { grid-template-columns: 1fr; }
  .sim-out { grid-template-columns: 1fr 1fr; }
  .sim-out > div:nth-child(3) { grid-column: 1 / -1; }
  .moments li { grid-template-columns: 64px 1fr; }
  .m-h { font-size: 22px; }
  .f-top { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; }
  .page-hero.has-img { min-height: 480px; }
  .ticker ul { gap: 40px; padding-right: 40px; }
  .ticker img { height: 32px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-track { animation: none; }
  .chart .sun-line, .chart .load-line { stroke-dashoffset: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
