/*
Theme Name: Dioscures
Theme URI: https://dioscures-conseil.fr
Author: Dioscures — Corentin Bonaval
Description: Thème sur mesure de Dioscures : conseil en organisation et communication, médiation culturelle, accompagnement de projets culturels. Mise en page de musée : vidéo plein écran qui se referme dans l'arche Dioscures, grandes capitales, panneaux de couleur. À l'activation, le thème crée les pages, le menu et la page d'accueil. Coordonnées et mentions légales se règlent dans Apparence > Personnaliser > Dioscures.
Version: 3.4.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dioscures
*/

/* ---------- Polices (hébergées sur le site, sans appel à Google) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/hanken-grotesk.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/hanken-grotesk-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Marcellus';
  src: url('assets/fonts/marcellus.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Charte ----------
   Nuit (vert-de-gris profond) #12302B : fond des grandes sections
   Laiton vif #E9A23B : accent, titres sur fond nuit
   Calcaire #F6F1E7 : fond clair · Encre #161311 : texte
   Panneaux : Garance, Prune, Guède (une couleur par activité), Menthe, Ocre
*/
:root {
  --nuit: #12302B;
  --nuit-2: #0C231F;
  --laiton: #E9A23B;
  --laiton-fonce: #B97A1E;
  --calcaire: #F6F1E7;
  --pierre: #ECE3D2;
  --encre: #161311;
  --encre-douce: #4A433D;
  --filet: #CFC4B0;
  --garance: #D4502F;
  --prune: #4E2347;
  --guede: #2140D8;
  --menthe: #A9DCC6;
  --ocre: #8A5A12;
  --rose: #F4B9C6;
  --pole: var(--laiton);
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --sans: 'Hanken Grotesk', Arial, sans-serif;
  --serif: 'Marcellus', 'Times New Roman', serif;
  --max: 1360px;
  --gutter: 64px;
}
.theme-garance { --pole: var(--garance); }
.theme-prune { --pole: var(--prune); }
.theme-guede { --pole: var(--guede); }
.theme-vert { --pole: var(--laiton); }

/* Panneaux de couleur (fond + texte), à la manière des salles d'un musée */
.panel-garance { --bg: var(--garance); --fg: #2A0A06; }
.panel-prune { --bg: var(--prune); --fg: var(--rose); }
.panel-guede { --bg: var(--guede); --fg: var(--menthe); }
.panel-menthe { --bg: var(--menthe); --fg: var(--guede); }
.panel-ocre { --bg: var(--ocre); --fg: var(--rose); }
.panel-nuit { --bg: var(--nuit); --fg: var(--laiton); }
.panel-laiton { --bg: var(--laiton); --fg: var(--nuit); }
[class*='panel-'] { background: var(--bg); color: var(--fg); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--calcaire);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html, body { overflow-x: clip; }
img, video { max-width: 100%; display: block; }

img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--sans); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--laiton); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
  background: var(--laiton); color: var(--nuit); padding: 10px 16px; z-index: 100; font-weight: 700;
}
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Grandes capitales larges */
.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-variation-settings: 'wdth' 125;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .92;
  font-size: clamp(2.8rem, 8.6vw, 8.4rem);
  margin: 0 0 .45em;
}
.display-center { text-align: center; margin: 160px 0 64px; }
.kicker {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 58ch; }
.section-lead { font-size: 1.15rem; max-width: 62ch; margin-bottom: 48px; }
.text-link {
  display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.todo { background: #FFE7A3; color: #4A3600; padding: 0 4px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 6px; border: 2px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--laiton); color: var(--nuit); }
.btn-accent:hover { background: transparent; color: var(--laiton); border-color: var(--laiton); }
.btn-outline-accent { border-color: var(--laiton); color: var(--laiton); }
.btn-outline-accent:hover { background: var(--laiton); color: var(--nuit); }
.btn-light { background: var(--calcaire); color: var(--encre); }
.btn-light:hover { background: transparent; color: currentColor; border-color: currentColor; }
.btn-outline-light { border-color: currentColor; color: inherit; }
.btn-outline-light:hover { background: var(--calcaire); color: var(--encre); border-color: var(--calcaire); }
.btn-primary { background: var(--nuit); color: var(--laiton); }
.btn-primary:hover { background: var(--encre); }
.btn-outline { border-color: currentColor; color: inherit; }
.btn-outline:hover { background: var(--encre); color: var(--calcaire); border-color: var(--encre); }
.dl-meta { font-weight: 400; opacity: .75; font-size: .85em; }
.btn-ghost {
  display: inline-flex; align-items: center; padding: 10px 16px; border: 2px solid currentColor; border-radius: 6px;
  font-weight: 700; text-decoration: none; font-size: .95rem; line-height: 1;
}
.btn-ghost:hover { background: var(--laiton); border-color: var(--laiton); color: var(--nuit); }

/* ---------- En-tête ---------- */
.site-head { background: var(--nuit); color: var(--laiton); position: relative; z-index: 20; }
.site-head-over { position: absolute; top: 0; left: 0; right: 0; background: transparent; color: var(--calcaire); z-index: 30; transition: opacity .3s; }
.head-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 26px var(--gutter) 22px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.head-left { display: flex; align-items: center; gap: 22px; }
.head-link { font-weight: 600; text-decoration: none; font-size: .98rem; }
.head-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.head-right { justify-self: end; padding-right: 96px; font-size: .9rem; opacity: .85; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.logo-emblem { width: 58px; height: auto; }
.logo-word { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .24em; line-height: 1; padding-left: .24em; }
.logo-o { position: relative; }

.menu-btn {
  position: fixed; top: 26px; right: calc(max(var(--gutter), (100vw - var(--max)) / 2) - 12px); z-index: 60;
  width: 64px; height: 56px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  background: transparent; border: 0; border-radius: 4px; cursor: pointer; color: var(--laiton);
  transition: background .25s;
}
.menu-btn span { display: block; width: 38px; height: 3px; background: currentColor; transition: transform .3s, opacity .3s; }
body.is-scrolled .menu-btn, body.menu-open .menu-btn { background: var(--nuit); }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
.menu-overlay { position: fixed; inset: 0; z-index: 55; background: var(--nuit); color: var(--laiton); overflow-y: auto; }
.menu-overlay[hidden] { display: none; }
body.menu-open { overflow: hidden; }
.menu-inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 64px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px 64px; min-height: 100%;
}
.menu-logo { grid-column: 1 / -1; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.menu-logo img { width: 58px; }
.menu-logo > span { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .24em; padding-left: .24em; }
.menu-main { display: flex; flex-direction: column; align-self: center; }
.menu-main a {
  font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase;
  font-size: clamp(2rem, 5.2vw, 4.6rem); line-height: 1.04; text-decoration: none; letter-spacing: -.01em;
  transition: color .2s, padding-left .25s;
}
.menu-main a:hover, .menu-main a[aria-current='page'] { color: var(--calcaire); padding-left: 12px; }
.menu-side { align-self: center; display: flex; flex-direction: column; gap: 10px; color: var(--calcaire); }
.menu-side a { text-decoration: none; font-size: 1.1rem; }
.menu-side a:hover { color: var(--laiton); }
.menu-title { margin: 24px 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--laiton); }
.menu-pole { display: flex; gap: 14px; align-items: baseline; }
.menu-pole span { font-family: var(--display); color: var(--pole); min-width: 34px; }
.menu-overlay .menu-pole.theme-prune span { color: var(--rose); }
.menu-overlay .menu-pole.theme-guede span { color: var(--menthe); }

/* ---------- Accueil : la vidéo se referme dans l'arche ---------- */
.intro { position: relative; height: 240vh; background: var(--nuit); --p: 0; }
.intro-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.intro-media {
  position: absolute; inset: 0;
  -webkit-mask-image: url('assets/images/arche.svg'); mask-image: url('assets/images/arche.svg');
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: 400vmax 500vmax; mask-size: 400vmax 500vmax;
}
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 - .06 * var(--p))); }
.intro-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 35, 31, .6) 0%, rgba(12, 35, 31, 0) 22%), rgba(12, 35, 31, calc(.14 + .14 * var(--p))); pointer-events: none; }
.intro-word {
  position: absolute; inset: 0; z-index: 2; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; font-weight: 600; text-transform: uppercase;
  color: var(--calcaire); font-size: clamp(3rem, 9.6vw, 9.6rem); line-height: .9; text-align: center; letter-spacing: -.02em;
  opacity: calc((var(--p) - .12) * 3); pointer-events: none; white-space: nowrap;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--laiton);
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: calc(1 - var(--p) * 4);
}
.scroll-cue-arrow { font-size: 2.2rem; line-height: 1; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.video-toggle {
  position: absolute; right: 24px; bottom: 26px; z-index: 5; width: 40px; height: 40px; border-radius: 4px;
  border: 0; background: rgba(12, 35, 31, .7); color: var(--calcaire); cursor: pointer; display: grid; place-items: center;
}
.i-pause { display: block; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.i-play { display: block; width: 0; height: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.no-js .intro, .reduce-motion .intro { height: 100vh; }
.no-js .intro-media, .reduce-motion .intro-media { -webkit-mask-image: none; mask-image: none; }

/* Bandeau « Bienvenue » */
.welcome { background: var(--nuit); color: var(--laiton); padding: 40px 0 110px; overflow: hidden; text-align: center; }
.welcome-stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.welcome-frame { margin: 0; width: min(34vw, 440px); aspect-ratio: 3 / 4; position: relative; z-index: 2; overflow: hidden; }
.welcome-frame img { width: 100%; height: 100%; object-fit: cover; }
.marquee {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); overflow: hidden; pointer-events: none;
  font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; font-weight: 500; text-transform: uppercase;
  font-size: clamp(4.6rem, 15vw, 15rem); line-height: 1; white-space: nowrap; letter-spacing: -.02em;
}
.marquee-back { z-index: 1; color: var(--laiton); }
.marquee-front { z-index: 3; color: var(--nuit); clip-path: inset(0 calc(50% - min(17vw, 220px))); }
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee-track span { padding-right: .3em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.welcome-title {
  margin: 28px 0 8px; font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125;
  text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: 1.05;
}
.welcome-link { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Chiffres clés */
.facts { background: var(--nuit); color: var(--laiton); padding: 0 0 120px; }
.facts .container > .facts-grid { border-top: 1px solid rgba(233, 162, 59, .6); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; }
.fact { text-align: center; padding: 48px 24px 40px; }
.fact + .fact { border-left: 1px solid rgba(233, 162, 59, .6); }
.fact-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.fact-num { font-family: var(--display); font-stretch: 112%; font-variation-settings: 'wdth' 112; font-size: clamp(3.6rem, 9vw, 8rem); line-height: 1; margin: 0 0 14px; }
.fact-text { font-size: 1.15rem; margin: 0; }
.facts-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.facts-actions .btn { min-height: 84px; font-size: 1.1rem; }

/* Film */
.film { background: var(--nuit); color: var(--calcaire); padding: 40px 0 140px; }
.film .display { color: var(--laiton); }
.film-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 80px; align-items: center; border-top: 1px solid rgba(233, 162, 59, .6); padding-top: 56px; }
.film-player { margin: 0; }
.film-player video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--encre); border-radius: 4px; }
.film-text .row-kicker { color: var(--laiton); }
.film-title { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 500; color: var(--laiton); margin: 8px 0 24px; line-height: 1.08; }
.film-text p { font-size: 1.1rem; max-width: 54ch; color: rgba(246, 241, 231, .88); }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Sections */
.section { padding: 110px 0; }
.section-tint { background: var(--pierre); }
.section-dark { background: var(--nuit); color: var(--calcaire); }
.section-dark .kicker, .section-dark h2 { color: var(--laiton); }
.section-cream { background: var(--calcaire); color: var(--encre); padding: 120px 0 140px; }
.section-accent { background: var(--laiton); color: var(--nuit); padding: 120px 0 140px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section-head-row .display { margin: 0; }
.head-more { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-underline-offset: 6px; white-space: nowrap; }

/* Lignes à flèche */
.rows { border-top: 1px solid currentColor; margin-bottom: 40px; }
.row-link {
  display: grid; grid-template-columns: 130px minmax(0, 1fr) 80px; gap: 56px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid currentColor; text-decoration: none; color: inherit;
}
.row-thumb { width: 130px; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(0, 0, 0, .06); }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.row-body { display: flex; flex-direction: column; gap: 8px; }
.row-kicker { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.row-title { font-size: clamp(1.6rem, 3.4vw, 3rem); font-weight: 500; line-height: 1.06; letter-spacing: -.01em; }
.row-text { font-size: .98rem; max-width: 64ch; }
.row-arrow { justify-self: end; font-size: 3.6rem; line-height: 1; transition: transform .25s; }
.row-link:hover .row-arrow { transform: translateX(10px); }
.row-link:hover .row-thumb img { transform: scale(1.06); }

/* Panneaux de couleur et arche */
.arch {
  display: block; width: min(100%, 340px); aspect-ratio: 4 / 5; overflow: hidden;
  -webkit-mask-image: url('assets/images/arche.svg'); mask-image: url('assets/images/arche.svg');
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panels-3 { grid-template-columns: repeat(3, 1fr); margin-top: 24px; margin-bottom: 40px; }
.panel {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px;
  padding: 72px 32px 60px; text-decoration: none; min-height: 100%;
}
.panel-wide { grid-column: 1 / -1; }
.panel-wide .arch { width: min(100%, 400px); }
.panel-title {
  font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.4vw, 3.4rem); line-height: 1; letter-spacing: -.01em;
}
.panels-3 .panel-title { font-size: clamp(1.6rem, 2.6vw, 2.6rem); }
.panels-3 .arch { width: min(100%, 260px); }
.panel-text { font-size: 1.15rem; font-weight: 500; max-width: 44ch; margin-top: auto; }
.panel:hover .arch img { transform: scale(1.05); }

/* Cartes */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 140px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 16px; margin: -16px; transition: background .25s, color .25s; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 22px; }
.card-title { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 500; line-height: 1.12; margin: 8px 0 10px; }
.card-text { font-size: 1rem; }
.card-arrow { font-size: 2.2rem; line-height: 1; margin-top: 18px; }
.card:hover { background: var(--nuit); color: var(--laiton); }
.feature { display: grid; grid-template-rows: auto auto; background: var(--nuit); color: var(--laiton); text-decoration: none; padding: 32px; }
.feature-img { display: block; overflow: hidden; }
.feature-img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 22%; transition: transform .6s; }
.feature:hover .feature-img img { transform: scale(1.03); }
.feature-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px 8px 8px; }
.feature-title { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 500; line-height: 1.04; }
.feature-text { font-size: 1.05rem; color: rgba(246, 241, 231, .9); }

/* Tarifs */
.price-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.price-col { border-top: 6px solid var(--pole); padding-top: 22px; }
.price-col-head { font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; margin-bottom: 18px; }
.price-col-head span { color: var(--pole); margin-right: 6px; }
.price-lines { margin-bottom: 22px; }
.price-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--filet); font-size: .98rem; }
.price-lines b { font-family: var(--display); font-stretch: 112%; font-variation-settings: 'wdth' 112; font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.pricing-note { font-size: .9rem; color: var(--encre-douce); margin-top: 40px; }

/* ---------- Pages intérieures ---------- */
.page-intro { background: var(--nuit); color: var(--laiton); padding: 40px 0 110px; }
.page-intro h1 {
  font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; font-weight: 500; text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 7.6rem); line-height: .94; letter-spacing: -.015em; margin: 0 0 32px;
}
.page-intro .hero-lead { color: rgba(246, 241, 231, .9); }
.page-head { max-width: none; }

.chip-nav { position: sticky; top: 0; z-index: 40; background: var(--calcaire); border-bottom: 1px solid var(--encre); }
.chip-nav-inner { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 16px; padding-right: 110px; }
.chip-nav a {
  border: 2px solid var(--encre); border-radius: 999px; padding: 7px 16px; text-decoration: none;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.chip-nav a:hover { background: var(--encre); color: var(--calcaire); }

.work-section { padding: 72px 0 24px; scroll-margin-top: 70px; }
.work-head { padding: 56px 56px 48px; margin-bottom: 36px; }
.work-count { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.work-title {
  font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; font-weight: 500; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.6vw, 5.4rem); line-height: .95; letter-spacing: -.015em; margin: 0 0 20px;
}
.work-lead { font-size: 1.12rem; max-width: 62ch; margin: 0; font-weight: 500; }
.gallery { columns: 4 250px; column-gap: 24px; }
.work { break-inside: avoid; margin: 0 0 32px; }
.work img { width: 100%; border: 1px solid var(--filet); background: #fff; transition: transform .35s; }
.work:hover img { transform: translateY(-4px); }
.work figcaption { padding-top: 12px; }
.work h3 { font-size: 1rem; margin-bottom: 4px; line-height: 1.3; }
.work p { font-size: .88rem; color: var(--encre-douce); margin: 0; }
.reels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.reel { margin: 0; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--encre); border-radius: 4px; }
.reel figcaption { padding-top: 12px; }
.reel h3 { font-size: 1rem; margin-bottom: 4px; }
.reel p { font-size: .88rem; color: var(--encre-douce); margin: 0; }

/* Pages d'activité */
.pole-hero { padding: 40px 0 110px; }
.pole-hero-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 72px; align-items: center; }
.pole-hero .display { font-size: clamp(2.2rem, 4.4vw, 4.6rem); color: inherit; }
.pole-hero .hero-lead { color: inherit; opacity: .95; }
.pole-hero .kicker { color: inherit; }
.pole-arch { width: 100%; max-width: 420px; justify-self: end; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.offer-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; padding: 44px 0; border-top: 1px solid var(--encre); scroll-margin-top: 90px; }
.offer-block:last-of-type { border-bottom: 1px solid var(--encre); }
.offer-block h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; }
.offer-price { margin: 10px 0 0; }
.price-num { font-family: var(--display); font-stretch: 112%; font-variation-settings: 'wdth' 112; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; color: var(--pole); }
.theme-prune .price-num { color: var(--prune); }
.price-unit { font-size: .95rem; color: var(--encre-douce); }
.offer-intro { font-size: 1.12rem; font-weight: 500; }
.check-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--filet); }
.check-list li::before { content: '✦'; position: absolute; left: 0; top: 10px; color: var(--pole); font-size: .9rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-reverse > :first-child { order: 2; }
.narrow { max-width: 860px; }
.framed-photo { margin: 0; }
.framed-photo img { width: 100%; }
.framed-photo figcaption { font-size: .88rem; color: var(--encre-douce); padding-top: 12px; }
.quotes { margin-top: 28px; }
.quotes li { font-size: 1.25rem; font-weight: 500; padding: 14px 0 14px 22px; border-left: 4px solid var(--pole); margin-bottom: 14px; }
.bounds { border: 1px solid var(--encre); padding: 18px 22px; margin: 22px 0; font-size: .95rem; }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 36px 0 28px; }
.preview-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--filet); transition: transform .3s; }
.preview-grid a:hover img { transform: translateY(-4px); }
.pole-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pole-link {
  display: flex; align-items: center; gap: 24px; padding: 44px 40px; text-decoration: none; background: var(--pole); color: var(--calcaire);
  font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.05;
}
.pole-link-title { flex: 1; }
.pole-link > span:last-child { font-size: 2.4rem; transition: transform .25s; }
.pole-link:hover > span:last-child { transform: translateX(8px); }
.pole-num { font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; }

/* Bandeau d'appel */
.cta-band { background: var(--laiton); color: var(--nuit); padding: 90px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band h2 { font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 4rem); line-height: .96; }
.cta-band p { font-size: 1.1rem; margin: 0; max-width: 54ch; }
.cta-band .btn-light { background: var(--nuit); color: var(--laiton); min-height: 72px; padding: 0 36px; }
.cta-band .btn-light:hover { background: transparent; color: var(--nuit); border-color: var(--nuit); }

/* À propos */
.about-hero { padding-top: 90px; }
.split-photo { align-items: center; }
.arch-photo {
  margin: 0; max-width: 460px; aspect-ratio: 4 / 5; overflow: hidden;
  -webkit-mask-image: url('assets/images/arche.svg'); mask-image: url('assets/images/arche.svg');
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.arch-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-hero h1 { font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .95; }
.skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.skills article { background: var(--nuit); color: var(--calcaire); padding: 32px 28px 36px; }
.skills article:nth-child(2) { background: var(--prune); }
.skills article:nth-child(3) { background: var(--guede); }
.skills article:nth-child(4) { background: var(--ocre); }
.skills .pole-num { color: var(--laiton); font-size: 2.2rem; display: block; margin-bottom: 18px; }
.skills h3 { font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-weight: 500; font-size: 1.3rem; }
.skills p { font-size: .96rem; margin: 0; }
.cv-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; }
.cv-grid h2, .cv-sub { font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.cv-sub { margin-top: 64px; }
.career-list li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--encre); }
.career-date { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.career-list h3 { font-size: 1.2rem; margin-bottom: 4px; }
.career-place { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.career-list p { font-size: .95rem; }
.kit-box { background: var(--nuit); color: var(--laiton); padding: 36px 32px; margin-top: 56px; scroll-margin-top: 90px; }
.kit-box h3 { font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-weight: 500; font-size: 1.8rem; }
.kit-box p { color: rgba(246, 241, 231, .9); }
.kit-box .hero-cta { flex-direction: column; align-items: stretch; }
.kit-box .btn-outline { border-color: var(--laiton); color: var(--laiton); }
.kit-box .btn-outline:hover { background: var(--laiton); color: var(--nuit); }

/* Contact et pages légales */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.contact-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.contact-form input[type='text'], .contact-form input[type='email'], .contact-form input[type='tel'], .contact-form select, .contact-form textarea {
  width: 100%; padding: 15px 16px; border: 2px solid var(--encre); border-radius: 6px; background: #fff; font: inherit; color: var(--encre);
}
.contact-form textarea { min-height: 180px; resize: vertical; }
.form-row { margin-bottom: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.optional { font-weight: 400; color: var(--encre-douce); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; margin: 10px 0 24px; }
.consent input { margin-top: 5px; }
.hp-field { position: absolute !important; left: -9999px !important; }
.contact-form .btn { background: var(--nuit); color: var(--laiton); min-height: 64px; padding: 0 40px; }
.contact-aside { background: var(--nuit); color: var(--calcaire); padding: 40px 36px; }
.contact-aside h3 { color: var(--laiton); font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-weight: 500; font-size: 1.4rem; }
.steps li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(233, 162, 59, .4); }
.steps .num { font-family: var(--display); color: var(--laiton); font-size: 1.6rem; line-height: 1; min-width: 28px; }
.coords { margin-top: 32px; }
.coords a { color: var(--laiton); }
.notice { padding: 16px 20px; margin-bottom: 24px; border-left: 6px solid var(--laiton); background: var(--pierre); }
.notice-success { border-color: #2E7D4F; }
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.about-points, .about-lead, .about { display: block; }

/* ---------- Pied de page ---------- */
.footer { background: var(--nuit); color: var(--laiton); padding-bottom: 84px; }
.footer-cta { text-align: center; padding: 130px 0 90px; }
.footer-claim { font-size: clamp(2rem, 4.6vw, 3.8rem); font-weight: 500; line-height: 1.05; margin-bottom: 26px; letter-spacing: -.01em; }
.footer-sub { font-size: 1rem; margin-bottom: 30px; }
.footer-bar { display: flex; max-width: 720px; margin: 0 auto; min-height: 92px; background: var(--laiton); color: var(--nuit); border-radius: 6px; text-decoration: none; font-size: 1.3rem; font-weight: 500; overflow: hidden; }
.footer-bar > span:first-child { flex: 1; display: flex; align-items: center; padding: 0 36px; text-align: left; }
.footer-bar-arrow { width: 110px; display: grid; place-items: center; border-left: 1px solid var(--nuit); font-size: 2.2rem; transition: background .2s; }
.footer-bar:hover .footer-bar-arrow { background: var(--nuit); color: var(--laiton); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(233, 162, 59, .6); padding: 40px 0 56px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-right: 40px; border-right: 1px solid rgba(233, 162, 59, .6); }
.footer-col a { display: block; text-decoration: none; padding: 5px 0; font-size: 1.05rem; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-title { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 18px 0 12px; }
.footer-title:first-child { margin-top: 0; }
.footer-zone { font-size: .95rem; margin-top: 12px; color: rgba(246, 241, 231, .8); }
.footer-poles { padding-left: 64px; }
.footer-poles a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(233, 162, 59, .6); text-decoration: none;
  font-family: var(--display); font-stretch: 112%; font-variation-settings: 'wdth' 112; text-transform: uppercase; font-size: clamp(1.2rem, 2.2vw, 1.9rem); line-height: 1.05;
}
.footer-poles a span { font-size: 1.2rem; }
.footer-poles a:hover { color: var(--calcaire); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-top: 1px solid rgba(233, 162, 59, .6); padding-top: 32px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { justify-self: end; }
.footer-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.footer-logo img { width: 64px; }
.footer-logo > span { font-family: var(--serif); letter-spacing: .24em; font-size: 1.3rem; padding-left: .24em; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .scroll-cue-arrow { animation: none; }
  .intro { height: 100vh; }
  .intro-media { -webkit-mask-image: none; mask-image: none; }
  .intro-word { opacity: 1; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 32px; }
  .head-right { display: none; }
  .head-bar { grid-template-columns: 1fr auto 1fr; }
  .gallery { columns: 3 200px; }
  .skills { grid-template-columns: 1fr 1fr; }
  .cards-3 { gap: 20px; }
  .feature-body { grid-template-columns: 1fr; gap: 16px; }
  .footer-poles { padding-left: 32px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .head-bar { grid-template-columns: 1fr auto; padding-top: 16px; padding-bottom: 14px; }
  .head-left { display: none !important; }
  .head-left { order: 1; }
  .logo { order: 0; align-items: flex-start; flex-direction: row; gap: 10px; align-items: center; }
  .logo-emblem { width: 40px; }
  .logo-word { font-size: 1.05rem; }
  .head-left { justify-self: end; margin-right: 64px; }
  .btn-ghost { padding: 8px 10px; font-size: .82rem; }
  .menu-btn { top: 12px; right: 10px; width: 52px; height: 48px; }
  .menu-btn span { width: 30px; }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .menu-inner { grid-template-columns: 1fr; padding-top: 18px; gap: 24px; }
  .menu-logo { justify-self: start; flex-direction: row; gap: 10px; }
  .menu-logo img { width: 40px; }
  .intro { height: 200vh; }
  .intro-word { font-size: clamp(2.2rem, 12vw, 4.6rem); }
  .display { font-size: clamp(2.2rem, 11vw, 4rem); }
  .pole-hero .display { font-size: clamp(1.8rem, 7.6vw, 3.2rem); }
  .page-intro h1 { font-size: clamp(2.2rem, 10.5vw, 4rem); }
  .work-title { font-size: clamp(1.8rem, 8.4vw, 3rem); }
  .about-hero h1 { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .marquee { font-size: 22vw; }
  .welcome-frame { width: 62vw; }
  .marquee-front { clip-path: inset(0 calc(50% - 31vw)); }
  .facts-grid, .facts-actions { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid rgba(233, 162, 59, .6); }
  .film-grid { grid-template-columns: 1fr; gap: 36px; }
  .film-player { max-width: 320px; }
  .row-link { grid-template-columns: 76px minmax(0, 1fr) 30px; gap: 16px; padding: 24px 0; }
  .row-thumb { width: 76px; }
  .row-arrow { font-size: 1.8rem; }
  .row-text { display: none; }
  .display-center { margin: 100px 0 40px; }
  .panels, .panels-3 { grid-template-columns: 1fr; }
  .panel { padding: 52px 22px 44px; gap: 28px; }
  .cards-3 { grid-template-columns: 1fr; gap: 40px; margin-bottom: 100px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .feature { padding: 18px; }
  .price-cols { grid-template-columns: 1fr; }
  .section-cream, .section-accent { padding: 80px 0 100px; }
  .section { padding: 72px 0; }
  .page-intro { padding: 24px 0 72px; }
  .chip-nav { position: static; }
  .chip-nav-inner { padding-right: var(--gutter); }
  .work-head { padding: 36px 22px 30px; }
  .gallery { columns: 2 140px; column-gap: 14px; }
  .pole-hero-inner, .split, .cv-grid, .contact-grid, .offer-block { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split-reverse > :first-child { order: 0; }
  .pole-arch { justify-self: center; max-width: 300px; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .pole-links { grid-template-columns: minmax(0, 1fr); }
  .pole-link { padding: 30px 22px; }
  .skills { grid-template-columns: 1fr; }
  .career-list li { grid-template-columns: 1fr; gap: 6px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid, .footer-cols { grid-template-columns: 1fr; }
  .footer-cols { border-right: 0; padding-right: 0; }
  .footer-poles { padding-left: 0; margin-top: 32px; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-bottom p:last-child { justify-self: center; }
  .footer-bar { min-height: 76px; font-size: 1.05rem; }
  .footer-bar > span:first-child { padding: 0 20px; }
  .footer-bar-arrow { width: 76px; }
}

/* Réseaux sociaux */
.social { display: flex; flex-direction: column; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 4px 0; }
.social svg { width: 22px; height: 22px; flex: none; }
.social a:hover span { text-decoration: underline; text-underline-offset: 5px; }
.social-head { flex-direction: row; gap: 14px; }
.social-head span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.social-head svg { width: 24px; height: 24px; }
.social-head a:hover { color: var(--calcaire); }
.site-head-over .social-head a:hover { color: var(--laiton); }
.social-menu a { color: var(--calcaire); font-size: 1.05rem; }
.social-menu a:hover { color: var(--laiton); }
.social-footer a { font-size: 1rem; }
.contact-aside .social a { color: var(--laiton); }

/* Musique d'ouverture */
.sound-toggle {
  position: fixed; left: 22px; bottom: 22px; z-index: 58; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border: 0; border-radius: 999px; background: var(--nuit); color: var(--laiton);
  font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.sound-toggle:hover { background: var(--laiton); color: var(--nuit); }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-bars i { display: block; width: 3px; height: 4px; background: currentColor; }
.sound-toggle.is-playing .sound-bars i { animation: eq 1s ease-in-out infinite; }
.sound-toggle.is-playing .sound-bars i:nth-child(2) { animation-delay: -.3s; }
.sound-toggle.is-playing .sound-bars i:nth-child(3) { animation-delay: -.6s; }
.sound-toggle.is-playing .sound-bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
@media (prefers-reduced-motion: reduce) { .sound-toggle.is-playing .sound-bars i { animation: none; height: 10px; } }
@media (max-width: 760px) { .sound-toggle { left: 12px; bottom: 12px; padding: 9px 13px 9px 10px; font-size: .74rem; } }
