/* SCLÈRE — mise en page. Pas besoin de modifier ce fichier. */
:root {
  --bg: #08080b;
  --surface: #101015;
  --surface-2: #17171e;
  --line: rgba(242, 241, 246, .12);
  --text: #f2f1f6;
  --muted: #a9a7b3;
  --accent: #9b6bff;
  --accent-ink: #14101f;
  --light: #f2f1f6;
  --light-ink: #08080b;
  --light-muted: #55535f;
  --light-accent: #6a3fe0;
  --radius: 4px;
  --head-h: 64px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.narrow { max-width: 760px; }
.kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 62ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: calc(var(--head-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; justify-content: space-between;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.head.solid { background: rgba(8, 8, 11, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.burger { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; align-content: center; gap: 6px; padding: 0 8px 0 0; }
.burger i { display: block; height: 3px; width: 26px; background: var(--accent); }
.burger i:nth-child(2) { width: 18px; }
.mini { position: absolute; left: 50%; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .3s; height: 26px; }
.mini img { height: 26px; width: auto; }
.head.solid .mini { opacity: 1; pointer-events: auto; }
.langs { display: flex; gap: 2px; }
.langs button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; letter-spacing: .14em; font-weight: 600; padding: 10px 8px; cursor: pointer; }
.langs button[aria-pressed="true"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.menu .scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; }
.menu .panel {
  position: absolute; inset: 0 auto 0 0; width: min(420px, 88vw); background: var(--surface);
  padding: calc(24px + env(safe-area-inset-top, 0px)) 28px 28px max(28px, env(safe-area-inset-left, 0px));
  transform: translateX(-100%); transition: transform .35s ease; display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
}
.menu.open { visibility: visible; }
.menu.open .scrim { opacity: 1; }
.menu.open .panel { transform: none; }
.menu .x { align-self: flex-start; background: none; border: 0; color: var(--text); font: inherit; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; padding: 10px 0; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { text-decoration: none; font-size: 30px; font-weight: 700; letter-spacing: -.01em; padding: 6px 0; }
.menu nav a[aria-current="page"] { color: var(--accent); }
.menu nav a.small { font-size: 16px; font-weight: 500; color: var(--muted); padding: 3px 0; }
.menu .sep { height: 1px; background: var(--line); }

/* ---------- Transition entre pages ---------- */
#view { transition: opacity .22s ease; min-height: 70vh; }
#view.out { opacity: 0; }

/* ---------- Accueil : entrée ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.hero .photo { position: absolute; inset: 0; background: center / cover no-repeat; z-index: -3; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,11,.55) 0%, rgba(8,8,11,.35) 40%, rgba(8,8,11,.75) 85%, var(--bg) 100%); }
#haze { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; mix-blend-mode: screen; }
.hero .in { display: grid; justify-items: center; gap: 22px; padding: calc(var(--head-h) + 20px) var(--gutter) 90px; animation: rise 1.1s ease both; }
.hero .logo { width: min(620px, 82vw); height: auto; }
.hero .tag { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: rgba(242,241,246,.82); }
.hero .down { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(242,241,246,.7); text-decoration: none; }
.hero .down i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Deux grands choix ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--bg); }
.tile { position: relative; min-height: min(62vh, 560px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 36px var(--gutter); text-decoration: none; overflow: hidden; isolation: isolate; }
.tile .img { position: absolute; inset: 0; background: center / cover no-repeat; z-index: -2; transition: transform .8s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,11,.15) 0%, rgba(8,8,11,.8) 100%); }
.tile h2 { font-size: clamp(34px, 5vw, 56px); text-transform: uppercase; letter-spacing: .02em; font-weight: 800; }
.tile p { color: rgba(242,241,246,.85); max-width: 32ch; }
.tile .go { margin-top: 6px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.tile .go::after { content: " →"; }
.tile:hover .img, .tile:focus-visible .img { transform: scale(1.03); }

/* ---------- Ils nous ont fait confiance ---------- */
.trust { background: var(--light); color: var(--light-ink); padding: 84px 0 90px; }
.trust h2 { text-align: center; font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 64px; margin-top: 46px; }
.logos a, .logos span { display: block; }
.logos img { max-height: 92px; width: auto; max-width: min(300px, 70vw); mix-blend-mode: multiply; filter: brightness(1.08) contrast(1.12); }
.logos img.inv { filter: invert(1) brightness(1.05) contrast(1.1); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 56px; }
.review { border-top: 2px solid var(--light-accent); padding-top: 18px; }
.review p { font-size: 19px; line-height: 1.5; }
.review small { display: block; margin-top: 12px; color: var(--light-muted); font-size: 14px; }

/* ---------- Pages intérieures ---------- */
.banner { position: relative; min-height: min(56vh, 460px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.banner .img { position: absolute; inset: 0; background: center / cover no-repeat; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,11,.55) 0%, rgba(8,8,11,.35) 40%, var(--bg) 100%); }
.banner .wrap { padding-bottom: 38px; padding-top: calc(var(--head-h) + 40px); display: grid; gap: 14px; width: 100%; }
.banner h1 { font-size: clamp(40px, 7vw, 76px); text-transform: uppercase; font-weight: 800; letter-spacing: .01em; }
.plain-head { padding: calc(var(--head-h) + 70px) 0 20px; display: grid; gap: 14px; }
.plain-head h1 { font-size: clamp(36px, 6vw, 64px); text-transform: uppercase; font-weight: 800; }
section.block { padding: 64px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.block h2 { font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; letter-spacing: .04em; font-weight: 800; margin-bottom: 14px; }
.block .sub { color: var(--muted); max-width: 64ch; margin-bottom: 30px; }

/* Packs */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.pack { background: var(--surface); padding: 30px 26px 32px; display: flex; flex-direction: column; gap: 14px; }
.pack h3 { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.pack .who { color: var(--muted); font-size: 15px; min-height: 3em; }
.pack .price { font-size: 46px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.pack .price small { font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-right: 6px; }
.pack .price em { font-style: normal; font-size: 18px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.pack p.t { font-size: 16px; color: var(--text); opacity: .92; }
.partial { margin-top: 26px; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--surface); color: var(--text); max-width: 78ch; }

figure.wide { margin: 0; }
figure.wide img { width: 100%; max-height: 78vh; object-fit: cover; }
figure.wide figcaption { padding-top: 14px; padding-bottom: 8px; color: var(--muted); font-size: 15px; }

/* Calculateur */
.calc { display: grid; gap: 26px; max-width: 860px; }
.step h3 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: inherit; font-size: 16px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; cursor: pointer; min-height: 46px; transition: border-color .2s, background .2s; }
.chip:hover { border-color: rgba(242,241,246,.4); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.step.off { opacity: .4; pointer-events: none; }
.result { border: 1px solid var(--line); background: var(--surface); padding: 26px; display: grid; gap: 16px; }
.result .rows { display: grid; gap: 8px; }
.result .row { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.result .row b { color: var(--text); font-weight: 600; text-align: right; }
.result .total { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.result .total span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.result .total strong { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.result .total strong small { font-size: 15px; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-right: 6px; }
.result .msg { color: var(--muted); font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding: 16px 28px; min-height: 52px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--radius); cursor: pointer; text-decoration: none; transition: filter .2s; }
.btn:hover { filter: brightness(1.1); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

/* Formulaire */
.estimate-chip { margin-bottom: 20px; padding: 12px 16px; border: 1px dashed var(--accent); color: var(--text); font-size: 15px; max-width: 760px; }
form.req { display: grid; gap: 18px; max-width: 760px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px; width: 100%; min-height: 50px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #75737f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field input[type="date"] { color-scheme: dark; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { padding: 14px 16px; border-radius: var(--radius); font-size: 16px; }
.status.ok { background: rgba(120, 220, 160, .12); border: 1px solid rgba(120, 220, 160, .4); }
.status.err { background: rgba(255, 120, 120, .1); border: 1px solid rgba(255, 120, 120, .4); }
.fine { color: var(--muted); font-size: 14px; }

/* Tableaux et listes */
table.t { width: 100%; max-width: 640px; border-collapse: collapse; }
table.t th, table.t td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
table.t th { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
table.t td:last-child, table.t th:last-child { text-align: right; }
ul.dots { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 70ch; }
ul.dots li { position: relative; padding-left: 22px; }
ul.dots li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 3px; background: var(--accent); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-line { display: flex; flex-wrap: wrap; gap: 14px 36px; font-size: 20px; }
.contact-line a { text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

.side-h { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.big-line { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; margin-bottom: 6px; }
.big-line a { text-decoration: none; }
.big-line a:hover { color: var(--accent); }

/* Événementiel */
.events { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ev { display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ev .d { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; line-height: 1.3; }
.ev .d b { display: block; font-size: 34px; color: var(--text); letter-spacing: 0; line-height: 1; }
.ev h3 { font-size: 22px; }
.ev p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.do { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.do h3 { font-size: 20px; margin-bottom: 8px; }
.do p { color: var(--muted); font-size: 16px; }
.car-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.car-head h2 { margin: 0; }
.car-nav { display: flex; gap: 8px; }
.car-nav button { width: 46px; height: 46px; border: 1px solid var(--line); background: none; color: var(--text); font-size: 18px; cursor: pointer; border-radius: 50%; }
.car-nav button:hover { border-color: var(--accent); color: var(--accent); }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter-r) 6px max(var(--gutter), calc((100vw - 1160px) / 2 + 20px)); scroll-padding-left: max(var(--gutter), calc((100vw - 1160px) / 2 + 20px)); }
.carousel::-webkit-scrollbar { display: none; }
.card { flex: 0 0 min(76vw, 340px); aspect-ratio: 3 / 4; position: relative; padding: 0; border: 0; background: var(--surface); cursor: pointer; overflow: hidden; scroll-snap-align: start; text-align: left; font: inherit; color: var(--text); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.03); }
.card span { position: absolute; inset: auto 0 0 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(8,8,11,.88)); font-size: 18px; font-weight: 700; line-height: 1.25; }
.card span::after { content: " +"; color: var(--accent); }
.cta-band { background: var(--surface); padding: 56px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 36px); text-transform: none; letter-spacing: 0; max-width: 20ch; margin: 0; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.lightbox[hidden] { display: none; }
.lb-in { position: relative; display: grid; grid-template-columns: auto minmax(220px, 340px); background: var(--surface); max-width: min(940px, 100%); }
.lb-in img { max-height: 84vh; width: auto; max-width: 100%; object-fit: contain; }
.lb-txt { padding: 56px 30px 30px; align-self: end; }
.lb-txt h3 { font-size: 26px; margin-bottom: 12px; }
.lb-txt p { color: var(--muted); }
.lb-in button { position: absolute; top: 8px; right: 8px; background: none; border: 0; color: var(--text); font-size: 32px; cursor: pointer; padding: 4px 12px; line-height: 1; z-index: 1; }

/* À propos */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; }
.person .ph { aspect-ratio: 1 / 1; background: linear-gradient(160deg, #1b1230, #0d0d12 70%); display: grid; place-items: center; overflow: hidden; margin-bottom: 20px; position: relative; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person .ph img.mono { width: 18%; height: auto; object-fit: contain; opacity: .5; }
.person h3 { font-size: 30px; }
.person .role { color: var(--accent); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin: 8px 0 14px; }
.person p { color: var(--muted); }
.together { margin-top: 56px; font-size: clamp(20px, 2.6vw, 28px); max-width: 30ch; line-height: 1.3; }

/* Pages légales */
.prose h2 { font-size: 18px; letter-spacing: .02em; text-transform: none; margin: 34px 0 8px; font-weight: 700; }
.prose p { color: var(--muted); max-width: 70ch; }

/* ---------- Pied de page ---------- */
footer.foot { border-top: 1px solid var(--line); padding: 54px 0 calc(34px + env(safe-area-inset-bottom, 0px)); margin-top: 0; background: var(--bg); }
.foot .top { display: grid; grid-template-columns: auto 1fr auto; gap: 36px 56px; align-items: start; }
.foot .sym { height: 56px; width: auto; }
.foot .lines { display: grid; gap: 4px; font-size: 17px; }
.foot .lines a { text-decoration: none; }
.foot .lines a:hover { color: var(--accent); }
.foot .lines small { color: var(--muted); font-size: 14px; margin-top: 8px; }
.soc { display: flex; gap: 10px; }
.soc a, .soc span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--text); }
.soc span { opacity: .4; }
.soc a:hover { border-color: var(--accent); color: var(--accent); }
.soc svg { width: 20px; height: 20px; }
.foot .bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; color: var(--muted); font-size: 14px; }
.foot .bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot .bottom a { text-decoration: none; }
.foot .bottom a:hover { color: var(--text); }

/* ---------- Téléphone ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .duo, .packs, .cols, .people, .grid2 { grid-template-columns: 1fr; }
  .do { grid-template-columns: 1fr; gap: 26px; }
  .lb-in { grid-template-columns: 1fr; }
  .lb-in img { max-height: 62vh; margin-inline: auto; }
  .lb-txt { padding: 20px 20px 24px; }
  .car-nav { display: none; }
  .tile { min-height: 46vh; padding-block: 28px; }
  .ev { grid-template-columns: 78px 1fr; }
  .ev .btn { grid-column: 1 / -1; justify-self: start; }
  .foot .top { grid-template-columns: 1fr; gap: 26px; }
  .trust { padding: 64px 0 70px; }
  .logos { gap: 24px 40px; }
  section.block { padding: 48px 0; }
  .menu nav a { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .in { animation: none; }
  #view, .tile .img, .card img, .menu .panel { transition: none; }
}
