/* Rouxel Studio : mêmes polices et même style que TakeCount, ton Saphir */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(polices/instrument-sans-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(polices/instrument-sans-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-display: swap; font-weight: 400; src: url(polices/instrument-serif-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-display: swap; font-weight: 400; src: url(polices/instrument-serif-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 600; src: url(polices/poppins-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 600; src: url(polices/poppins-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --police-titre: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --police-texte: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --police-chiffre: 'Instrument Serif', Georgia, serif;
  --fond: #E4E9F6;
  --encre: #141418;
  --doux: #5C6373;
  --ligne: rgb(20 20 24 / .1);
  --accent: #2563EB;
  --bouton: #1D4ED8;
  --accent-texte: #1D4ED8;
  --carte: rgb(255 255 255 / .62);
  --carte-bord: rgb(255 255 255 / .85);
  --carte-ombre: 0 10px 28px color-mix(in srgb, var(--bouton) 9%, transparent), 0 1px 2px rgb(0 0 0 / .04), inset 0 1px 0 rgb(255 255 255 / .9);
  --verre: rgb(255 255 255 / .6);
  --perfo: color-mix(in srgb, var(--bouton) 24%, transparent);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #000;
    --encre: #F5F5F7;
    --doux: #A1A1A6;
    --ligne: rgb(255 255 255 / .12);
    --accent-texte: #7AA2F7;
    --carte: linear-gradient(180deg, rgb(255 255 255 / .09), rgb(255 255 255 / .035));
    --carte-bord: rgb(255 255 255 / .12);
    --carte-ombre: 0 12px 32px rgb(0 0 0 / .35), inset 0 1px 0 rgb(255 255 255 / .14);
    --verre: rgb(28 28 30 / .62);
    --perfo: rgb(255 255 255 / .2);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 450 17px/1.55 var(--police-texte); letter-spacing: -.015em; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 600; margin: 0; }
h1 { font-size: clamp(44px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -.07em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.065em; }
h3 { font-size: 25px; line-height: 1.15; letter-spacing: -.05em; }
:focus-visible { outline: 2px solid var(--accent-texte); outline-offset: 3px; }
.conteneur { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.carte { background: var(--carte); border: 1px solid var(--carte-bord); border-radius: 26px; box-shadow: var(--carte-ombre); }
.verre { background: var(--verre); border: 1px solid var(--carte-bord); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); }

/* Boutons et étiquettes brillantes */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; transition: transform .15s; }
.btn:active { transform: scale(.97); }
.btn-primaire { color: #fff; background: linear-gradient(180deg, rgb(255 255 255 / .28), rgb(255 255 255 / 0) 60%), var(--bouton); box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 6px 16px color-mix(in srgb, var(--bouton) 30%, transparent); }
.btn-secondaire { background: var(--carte); border: 1px solid var(--carte-bord); box-shadow: var(--carte-ombre); }
.boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.puce { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--accent-texte); background: linear-gradient(180deg, rgb(255 255 255 / .5), rgb(255 255 255 / 0) 60%), color-mix(in srgb, var(--accent) 15%, transparent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), inset 0 0 0 .5px rgb(0 0 0 / .05); }
@media (prefers-color-scheme: dark) {
  .puce { background: linear-gradient(180deg, rgb(255 255 255 / .1), rgb(255 255 255 / 0) 60%), color-mix(in srgb, var(--accent) 30%, transparent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 0 0 .5px rgb(255 255 255 / .06); }
}

/* En-tête */
.entete { position: sticky; top: 12px; z-index: 10; padding: 12px 24px 0; }
.barre { max-width: 1072px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 22px; border-radius: 999px; box-shadow: 0 8px 24px rgb(0 0 0 / .08); }
.marque { display: inline-flex; align-items: center; gap: 10px; font-family: var(--police-chiffre); font-size: 27px; line-height: 1; text-decoration: none; white-space: nowrap; }
.marque img { width: 38px; height: 38px; }
.logo-contact { width: 132px; height: 132px; margin: 0 auto 24px; filter: drop-shadow(0 14px 20px rgb(0 0 0 / .22)); }
.marque b { font-weight: 400; -webkit-text-stroke: .03em currentColor; }
.liens { display: flex; align-items: center; gap: 24px; }
.liens a:not(.btn) { color: var(--doux); text-decoration: none; font-size: 15px; font-weight: 500; }
.liens a:not(.btn):hover { color: var(--encre); }
.liens .btn { padding: 10px 18px; font-size: 15px; }

/* Accueil : le portrait d'abord */
.accueil { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; padding-top: 44px; padding-bottom: 72px; }
.accroche p { font-size: 21px; line-height: 1.42; color: var(--doux); margin: 22px 0 30px; max-width: 34em; }
.portrait { position: relative; margin: 0; border-radius: 34px; overflow: hidden; aspect-ratio: 1026 / 1420; background: #E6E9F0; box-shadow: 0 30px 60px rgb(0 0 0 / .18); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portrait figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--encre); }

/* Sections */
.section { padding-top: 56px; padding-bottom: 56px; }
.entete-section { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.entete-section p { margin: 10px 0 0; color: var(--doux); max-width: 34em; }

/* Pellicule : la bande de vidéos qui défile de côté */
.fleches { display: flex; gap: 8px; flex: none; }
.fleche { width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border-radius: 50%; color: var(--encre); cursor: pointer; background: var(--carte); border: 1px solid var(--carte-bord); box-shadow: var(--carte-ombre); transition: opacity .2s; }
.fleche[disabled] { opacity: .35; cursor: default; }
.fleche svg, .lire svg { display: block; }
.pellicule { overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: max(24px, calc((100vw - 1072px) / 2)); scrollbar-width: none; padding-bottom: 8px; }
.pellicule::-webkit-scrollbar { display: none; }
.bande { position: relative; display: flex; gap: 14px; width: max-content; padding: 30px max(24px, calc((100vw - 1072px) / 2)); }
.bande::before, .bande::after { content: ''; position: absolute; left: 0; right: 0; height: 12px; background: var(--perfo); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12'%3E%3Crect x='6' width='20' height='12' rx='4'/%3E%3C/svg%3E") repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12'%3E%3Crect x='6' width='20' height='12' rx='4'/%3E%3C/svg%3E") repeat-x; }
.bande::before { top: 6px; }
.bande::after { bottom: 6px; }
.film { width: clamp(224px, 24vw, 276px); margin: 0; scroll-snap-align: start; flex: none; }
.ecran { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #1C1C1E; box-shadow: 0 16px 34px rgb(0 0 0 / .2); }
.ecran video { width: 100%; height: 100%; object-fit: cover; }
.lire { position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; display: grid; place-items: center; padding: 0 0 0 4px; border-radius: 50%; color: #fff; cursor: pointer; background: rgb(255 255 255 / .2); border: 1px solid rgb(255 255 255 / .45); box-shadow: inset 0 1px 0 rgb(255 255 255 / .5); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); transition: opacity .2s, transform .15s; }
.lire:active { transform: scale(.94); }
.film.en-lecture .lire { opacity: 0; pointer-events: none; }
.film figcaption { padding: 14px 4px 6px; }
.film h3 { font-size: 19px; margin-top: 9px; }
.film p { margin: 2px 0 0; font-size: 15px; line-height: 1.35; color: var(--doux); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service { padding: 30px; }
.service > p { color: var(--doux); margin: 12px 0 18px; }
.coches { list-style: none; margin: 0; padding: 0; }
.coches li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--ligne); font-size: 16px; line-height: 1.35; }
.coches li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 15px; height: 9px; border-left: 2.2px solid var(--accent-texte); border-bottom: 2.2px solid var(--accent-texte); transform: rotate(-45deg) scale(.82); transform-origin: center; }

/* Matériel */
.materiel { margin: 0; padding: 8px 26px; }
.materiel div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-top: 1px solid var(--ligne); }
.materiel div:first-child { border-top: 0; }
.materiel dt { color: var(--doux); }
.materiel dd { margin: 0; font-weight: 500; }

/* Contact */
.contact { padding: clamp(32px, 6vw, 68px); text-align: center; }
.contact p { color: var(--doux); font-size: 19px; margin: 14px auto 26px; max-width: 30em; }
.contact .boutons { justify-content: center; }

/* Questionnaire TakeCount en plein écran */
[hidden] { display: none !important; }
button.btn { border: 0; cursor: pointer; font-family: inherit; letter-spacing: inherit; }
button.btn-secondaire { border: 1px solid var(--carte-bord); }
html.fenetre-ouverte { overflow: hidden; }
.fenetre { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--fond); color: var(--encre); }
/* Fenêtre gardée en place une fois fermée : le questionnaire reste affiché avec les réponses du visiteur */
.fenetre { display: flex; flex-direction: column; position: fixed; inset: 0; }
.fenetre:not([open]) { visibility: hidden; pointer-events: none; }
.fenetre::backdrop { background: var(--fond); }
.fenetre-barre { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--ligne); font-family: var(--police-titre); letter-spacing: -.05em; font-size: 18px; }
.fenetre-barre strong { font-weight: 600; }
.fenetre-fermer { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; color: var(--encre); cursor: pointer; background: var(--carte); border: 1px solid var(--carte-bord); box-shadow: var(--carte-ombre); }
.fenetre iframe { flex: 1; width: 100%; min-height: 0; border: 0; background: var(--fond); }

.pied a { color: inherit; }
.legal { max-width: 760px; padding-top: 44px; padding-bottom: 56px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 26px; }
.legal section { padding: 22px 26px; margin-bottom: 12px; }
.legal h2 { font-size: 22px; letter-spacing: -.05em; margin-bottom: 8px; }
.legal p { margin: 4px 0; color: var(--doux); }
.legal a { color: var(--accent-texte); }

.pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 8px; padding-bottom: 36px; font-size: 14px; color: var(--doux); }

@media (max-width: 860px) {
  .accueil { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 24px; padding-bottom: 40px; }
  .portrait { order: -1; aspect-ratio: auto; height: min(58vh, 560px); }
  .portrait img { object-position: 50% 32%; }
  .services { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 80px; }
  body { font-size: 16px; }
  .conteneur { padding-left: 16px; padding-right: 16px; }
  .entete { padding: 8px 16px 0; top: 8px; }
  .barre { padding-left: 10px; }
  .marque { font-size: 24px; gap: 8px; }
  .liens a:not(.btn) { display: none; }
  .accroche p { font-size: 19px; }
  .fleches { display: none; }
  .bande { padding-left: 16px; padding-right: 16px; }
  .pellicule { scroll-padding-left: 16px; }
  .service { padding: 22px; }
  .materiel { padding: 6px 20px; }
  .materiel div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .lire, .fleche { transition: none; }
}
