/* ==========================================================
   Johanny's Interior — feuille de style
   ========================================================== */

/* Polices hébergées sur le site (sous-ensemble latin de Google Fonts, polices variables) :
   pas de requête vers Google, affichage plus rapide. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/geist-latin.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); }

:root {
  --bg: #ffffff;
  --ink: #000000;
  --grey: #8a8a8a;
  --grey-2: #5f5f5f;
  --tile: #e9e9e9;
  --line: rgba(0, 0, 0, 0.12);
  --olive: #414a15;     /* PMS 5757 (relevé sur le nuancier de la cliente) : survol et clic des boutons foncés */
  --bordeaux: #2a0f17;   /* « Cassis noir » : fond des blocs sombres (Services, footer, survol des tarifs) */

  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: #000; color: #fff; }

/* Étiquette de section : « 01 / 07 » (numéro bordeaux, total gris), nom en capitales */
.label {
  display: inline-flex; align-items: baseline; gap: 14px;
  width: fit-content; margin: 0;
  font-size: 13px; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.label i { font-style: normal; color: var(--bordeaux); letter-spacing: 0.04em; white-space: nowrap; }
.label i small { font-size: inherit; color: var(--grey); }
/* Sur le fond bordeaux, numéro en rose bordeaux clair pour rester lisible */
.services .label i { color: #d7b4bb; }
.services .label i small { color: rgba(255, 255, 255, 0.5); }

/* ---------- Boutons pilule ---------- */

.cta { display: inline-flex; align-items: center; gap: 2px; }
.cta__text {
  display: inline-flex; align-items: center;
  height: 44px; padding: 0 30px;
  border-radius: 999px;
  background: var(--bordeaux); color: #fff;
  font-size: 15px; font-weight: 500;
  transition: padding 0.55s var(--ease), background 0.4s;
}
.cta__icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bordeaux); color: #fff;
  display: grid; place-items: center;
  transition: background 0.4s, color 0.4s;
}
.cta__icon svg { width: 13px; height: 13px; transition: transform 0.5s var(--ease); }

/* Survol et clic : la pilule s'étire, pilule et cercle passent en olive (Pantone 5757), la flèche pivote */
.cta:hover .cta__text, .cta:focus-visible .cta__text { padding: 0 40px; }
.cta:hover .cta__text, .cta:focus-visible .cta__text, .cta:active .cta__text,
.cta:hover .cta__icon, .cta:focus-visible .cta__icon, .cta:active .cta__icon { background: var(--olive); color: #fff; }
.cta:hover .cta__icon svg, .cta:focus-visible .cta__icon svg { transform: rotate(45deg) scale(1.15); }

.arrow-circle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid currentColor;
  display: grid; place-items: center; flex-shrink: 0;
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.arrow-circle svg { width: 13px; height: 13px; }

/* ---------- Logo A4 : arche + façade, filet, nom ---------- */

.a4 {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400;
  font-size: 20px; line-height: 1; letter-spacing: 0; color: inherit; text-align: left;
}
.a4__icon { position: relative; display: block; width: 2.2em; height: 3.4em; flex-shrink: 0; }
.a4__arch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.a4__arch path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.a4__facade { position: absolute; left: 50%; top: 57.5%; height: 2.45em; width: auto; transform: translate(-50%, -50%); }
.a4__rule { display: block; width: 1px; height: 2.6em; background: currentColor; opacity: 0.6; align-self: flex-end; margin-bottom: 0.1em; }
.a4__text { display: flex; flex-direction: column; align-items: flex-start; align-self: flex-end; }
.a4__name { font-size: 1em; }
.a4__sub { font-size: 0.8em; font-style: italic; margin-top: 0.06em; }
.a4__tag { font-family: "Cormorant Garamond", Georgia, serif; font-size: 0.27em; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 0.55em; white-space: nowrap; }

/* ---------- En-tête ---------- */

.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px var(--pad);
  color: #000;
}
.site-header--on-photo { color: #fff; }
.site-header__logo { display: inline-flex; }
.a4--header { font-size: 23px; }
.a4--header .a4__tag { font-size: 0.34em; letter-spacing: 0.2em; }
.site-header__meta { display: flex; gap: 28px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 13px; }
.site-header__meta li { display: flex; align-items: center; gap: 10px; }
.site-header__meta li > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.site-header__meta small { font-size: 11px; opacity: 0.65; }
.site-header__pin {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.1);
}
.site-header__pin svg { width: 15px; height: 15px; }
/* Bouton « Démarrer mon projet » en bas du menu */
.menu__cta {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 22px; border-radius: 999px;
  background: var(--bordeaux); color: #fff; font-size: 15px; font-weight: 500;
  transition: background 0.3s;
}
.menu__cta:hover, .menu__cta:focus-visible, .menu__cta:active { background: var(--olive); }
.menu__cta svg { width: 12px; height: 12px; }
.site-header--on-photo .site-header__pin {
  background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* ---------- Barre de navigation flottante ---------- */

.dock {
  position: fixed;
  left: 50%; bottom: 40px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex; align-items: center; gap: 16px;
}
.dock__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px; font-weight: 500; letter-spacing: 0; color: #fff;
  white-space: nowrap;
  transition: color 0.4s;
}
.dock.on-light .dock__brand { color: #000; }
.dock__bar {
  display: flex; align-items: center; gap: 2px;
  height: 58px; padding: 0 6px;
  width: 460px;
  border-radius: 999px;
  background: rgba(40, 32, 28, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.dock__menu {
  width: 30px; height: 30px; border: 0; background: none; cursor: pointer;
  position: relative; margin: 0 auto 0 16px;
}
.dock__logo {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: #000;
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform 0.5s var(--ease), background 0.3s;
}
.dock__logo .a4__icon { font-size: 10px; margin-top: -2px; }
.dock__logo .a4__arch path { stroke-width: 0.75; }
.dock__logo:hover { transform: rotate(-8deg) scale(1.06); }
.dock__menu span {
  position: absolute; left: 1px; right: 1px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.dock__menu span:nth-child(1) { top: 10px; }
.dock__menu span:nth-child(2) { top: 18px; }
.menu-open .dock__menu span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.menu-open .dock__menu span:nth-child(2) { top: 14px; transform: rotate(-45deg); }
.dock .cta__text, .dock .cta__icon { background: #fff; color: #000; }

/* Barre du bas (ordinateur et mobile) : pilule en verre, menu à gauche, logo à droite */
.dock__logo, .dock .cta { display: none; }
.dock__bar {
  height: 64px; padding: 0 22px 0 10px; justify-content: space-between;
  background: rgba(40, 32, 28, 0.42); border-color: rgba(255, 255, 255, 0.22);
}
.dock__menu { width: 46px; height: 46px; margin: 0; }
.dock__menu span { left: 11px; right: 11px; height: 2px; }
.dock__menu span:nth-child(1) { top: 17px; }
.dock__menu span:nth-child(2) { top: 26px; }
.menu-open .dock__menu span:nth-child(1), .menu-open .dock__menu span:nth-child(2) { top: 21.5px; }
.dock__mlogo { display: inline-flex; color: #fff; }
.dock__mlogo .a4 { font-size: 15px; gap: 0.6em; align-items: center; }
.dock__mlogo .a4__icon { width: 1.7em; height: 2.65em; }
.dock__mlogo .a4__facade { height: 1.9em; }
.dock__mlogo .a4__rule { height: 2.3em; align-self: center; margin: 0; opacity: 0.4; }
.dock__mlogo .a4__text { align-self: center; }
.dock__mlogo .a4__sub { font-size: 0.82em; }
.dock__mlogo .a4__tag { font-size: 0.42em; letter-spacing: 0.18em; margin-top: 0.5em; opacity: 0.8; }

/* Bouton « Démarrer » : la pilule s'étire et révèle « mon projet » */
.dock .cta:hover .cta__text, .dock .cta:focus-visible .cta__text { padding: 0 30px; }
.cta__more {
  display: inline-block; max-width: 0; overflow: hidden;
  white-space: pre; opacity: 0;
  transition: max-width 0.55s var(--ease), opacity 0.3s;
}
.dock .cta:hover .cta__more, .dock .cta:focus-visible .cta__more { max-width: 120px; opacity: 1; }
.dock .cta__icon { transition: background 0.4s, color 0.4s; }
.dock .cta:hover .cta__icon, .dock .cta:focus-visible .cta__icon { background: var(--bordeaux); color: #fff; }
.dock .cta:hover .cta__icon svg { transform: rotate(45deg) scale(1.15); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 16px 116px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.menu-open .menu { opacity: 1; pointer-events: auto; }
.menu__panel {
  width: min(620px, 100%);
  background: #fff; color: #000;
  border-radius: 24px;
  padding: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  transform: translateY(24px);
  transition: transform 0.6s var(--ease);
}
.menu-open .menu__panel { transform: none; }
.menu__logo { grid-column: 1 / -1; font-size: 26px; margin: 6px 0 0 10px; justify-self: start; }
.menu__links { display: flex; flex-direction: column; padding: 10px; }
.menu__links a {
  font-size: 30px; line-height: 1.3; font-weight: 400; letter-spacing: -0.03em;
  transition: color 0.3s, transform 0.4s var(--ease);
}
.menu__links a:hover { color: var(--grey); transform: translateX(6px); }
/* Bloc droit du menu : mini diaporama des projets */
.menu__aside {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 280px; border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.menu__slide { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.menu__slide.is-on { opacity: 1; }
.menu__aside::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%); }
.menu__aside-body { display: grid; gap: 10px; }
.menu__aside-body small { font-size: 12px; opacity: 0.8; }
.menu__dots { display: flex; gap: 5px; }
.menu__dots i { width: 16px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.4); transition: width 0.4s, background 0.4s; }
.menu__dots i.is-on { width: 30px; background: #fff; }
.menu__go {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 40px; padding: 0 6px 0 16px; border-radius: 999px;
  background: #fff; color: #000; font-size: 13.5px; font-weight: 500;
}
.menu__go span { width: 28px; height: 28px; border-radius: 50%; background: var(--bordeaux); color: #fff; display: grid; place-items: center; transition: background 0.3s, transform 0.4s var(--ease); }
.menu__go svg { width: 11px; height: 11px; }
.menu__go:hover span, .menu__go:focus-visible span, .menu__go:active span { background: var(--olive); transform: rotate(45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  color: #fff;
  display: grid; place-items: center;
  text-align: center;
}
.hero__bg { position: absolute; inset: 0; }
/* Photo fixe au défilement : l'image reste en place, la page glisse par-dessus.
   clip-path sur le hero limite l'image fixe à la zone du hero (fonctionne aussi sur iPhone). */
.hero { clip-path: inset(0); }
.hero__bg { position: fixed; height: 100vh; height: 100lvh; }
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.2s ease, transform 5.5s cubic-bezier(0.25, 0.1, 0.3, 1);
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
/* Photo unique : cadrée sur le fauteuil, sans mouvement */
.hero__slide--single { object-position: center 62%; transition: none; }
/* Première image : part zoomée puis dézoome à l'arrivée sur la page */
.hero__slide.is-active.is-start { transform: scale(1.12); }
.hero__slider {
  position: absolute; right: var(--pad); bottom: 44px; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  font-size: 13px; color: rgba(255, 255, 255, 0.8);
}
.hero__count b { color: #fff; font-weight: 500; }
.hero__dots { display: flex; gap: 6px; }
.hero__dot {
  width: 22px; height: 3px; padding: 0; border: 0; border-radius: 3px;
  background: rgba(255, 255, 255, 0.35); cursor: pointer;
  position: relative; overflow: hidden;
  transition: width 0.5s var(--ease);
}
.hero__dot::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active { width: 44px; }
.hero__dot.is-active::after { animation: dotFill var(--slide-time, 6s) linear forwards; }
.hero__dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 12, 0.5); }
.hero__content { position: relative; z-index: 1; padding: 0 16px; margin-top: -40px; }
.hero__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(46px, 7.2vw, 108px);
  font-weight: 400; line-height: 1; letter-spacing: -0.01em;
  max-width: 15.5ch; margin: 0 auto;
  text-wrap: balance;
}
/* Logo seul au centre du hero */
.hero__logo { margin: 0; font-weight: 400; }
.a4--hero { font-size: clamp(44px, 6.4vw, 96px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__sub {
  max-width: 540px; margin: 22px auto 0;
  font-size: 16px; line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}
.scroll-down {
  position: absolute; left: 38px; bottom: 40px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 14px; line-height: 1.3; text-align: center;
}
.scroll-down i {
  width: 34px; height: 50px; border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  position: relative;
}
.scroll-down i::after {
  content: ""; position: absolute; left: 50%; top: 9px;
  width: 3px; height: 8px; border-radius: 2px; background: #fff;
  transform: translateX(-50%);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- À propos ---------- */

.about { padding: 32px 0 0; }
.about__top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 0 20px 0 var(--pad);
}
.about__big { justify-self: start; }
.about__big h2 {
  margin: 0;
  font-size: clamp(72px, 10.4vw, 150px);
  font-weight: 400; line-height: 0.95; letter-spacing: -0.045em;
}
.about__big span { display: block; text-align: right; font-size: 18px; margin-top: 8px; letter-spacing: -0.01em; }
.about__text { padding-top: 42px; }
.about__text p { margin: 0; font-size: 16px; line-height: 1.3; text-indent: 76px; }
.about__text .cta { margin-top: 22px; float: right; }

.about__media {
  display: grid; grid-template-columns: 517fr 203fr 720fr;
  align-items: end; margin-top: 120px;
}
.about__media .img-l { grid-column: 1; aspect-ratio: 517 / 690; overflow: hidden; }
.about__media .img-r { aspect-ratio: 720 / 600; overflow: hidden; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__right { grid-column: 3; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 30px 0 0; }
.stats strong { display: block; font-size: 60px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.stats span { display: block; font-size: 16px; color: #222; margin-top: 10px; }

/* ---------- Sélection de projets ---------- */

.work { padding: 160px var(--pad) 0; }
.work__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 60px; }
.work__head p { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; max-width: 640px; }
.work__head .ig-fan { justify-self: end; grid-column: 2; }

/* Lien Instagram : trois vignettes en éventail qui s'écartent au survol */
.ig-fan { display: inline-flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 500; }
.ig-fan__photos { position: relative; width: 104px; height: 56px; flex-shrink: 0; }
.ig-fan__photos img {
  position: absolute; top: 4px; width: 46px; height: 46px; object-fit: cover;
  border-radius: 8px; border: 2px solid #fff;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s var(--ease);
}
.ig-fan__photos img:nth-child(1) { left: 0; transform: rotate(-8deg); }
.ig-fan__photos img:nth-child(2) { left: 29px; z-index: 1; }
.ig-fan__photos img:nth-child(3) { left: 58px; transform: rotate(8deg); }
.ig-fan:hover .ig-fan__photos img:nth-child(1), .ig-fan:focus-visible .ig-fan__photos img:nth-child(1) { transform: translateX(-12px) rotate(-14deg); }
.ig-fan:hover .ig-fan__photos img:nth-child(2), .ig-fan:focus-visible .ig-fan__photos img:nth-child(2) { transform: translateY(-6px); }
.ig-fan:hover .ig-fan__photos img:nth-child(3), .ig-fan:focus-visible .ig-fan__photos img:nth-child(3) { transform: translateX(12px) rotate(14deg); }
.ig-fan__text { display: flex; flex-direction: column; line-height: 1.25; }
.ig-fan__text small { font-size: 12px; font-weight: 400; color: var(--grey); }
.ig-fan__text span { display: inline-flex; align-items: center; gap: 8px; }
.ig-fan__text svg { width: 12px; height: 12px; transition: transform 0.5s var(--ease); }
.ig-fan:hover .ig-fan__text svg, .ig-fan:focus-visible .ig-fan__text svg { transform: translateX(4px) rotate(45deg); }

.work__row { display: grid; gap: 12px; align-items: end; }
.work__row--1 { grid-template-columns: 897fr 471fr; }
.work__row--2 { grid-template-columns: 416px 416px; justify-content: center; gap: 21px; margin-top: 110px; }
.project { display: block; cursor: zoom-in; }
.project__img { overflow: hidden; background: var(--tile); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project__img img { transform: scale(1.06); }
.work__row--1 .project:first-child .project__img { aspect-ratio: 897 / 600; }
.work__row--1 .project:last-child .project__img { aspect-ratio: 471 / 440; }
.work__row--2 .project__img { aspect-ratio: 416 / 380; }
.project__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 16px; }
.project__cap span { color: var(--grey); }
.work__row--1 .project:first-child .project__cap { font-size: 20px; }

/* ---------- Atouts : damier ---------- */

.features { padding: 160px var(--pad) 48px; }
.features .label { margin-bottom: 80px; }
.checker { display: grid; grid-template-columns: repeat(4, 1fr); }
.checker > * { aspect-ratio: 345 / 326; overflow: hidden; }
.checker img { width: 100%; height: 100%; object-fit: cover; }
.tile {
  background: var(--tile);
  padding: 17px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.tile__head { display: flex; justify-content: space-between; font-size: 17px; }
.tile p { margin: 0; font-size: 11.5px; line-height: 1.15; max-width: 300px; }

/* Version mobile du bloc Atouts (cachée sur ordinateur) */
.stack { display: none; }

/* ---------- Services (fond noir) ---------- */

.services { background: var(--bordeaux); color: #fff; padding: 100px 0 90px; }
.services__label { margin: 0 40px 56px; }
.services__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 var(--pad) 0 40px; margin-bottom: 70px; }
.services__top img { width: 290px; aspect-ratio: 290 / 165; object-fit: cover; }
.services__top p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.2; }
/* Panneaux qui s'élargissent : 6 bandes verticales, celle survolée (ou cliquée) s'ouvre avec photo et texte */
.svc-panels { display: flex; gap: 8px; height: 560px; padding: 0 40px; }
.svc-p { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 6px; background: #1e0910; transition: flex 0.8s var(--ease); }
.svc-p.is-open { flex: 4.2; }
.svc-p > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; transform: scale(1.06); transition: opacity 0.6s, transform 1.2s var(--ease); }
.svc-p.is-open > img { opacity: 0.85; transform: none; }
.svc-p::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(30, 9, 16, 0.92)); pointer-events: none; }
.svc-p__n { font-size: 12px; letter-spacing: 0.14em; color: #d7b4bb; }
.svc-p__head {
  position: absolute; inset: 0; z-index: 1; width: 100%;
  border: 0; padding: 0 0 28px; background: none; color: #fff; font: inherit; cursor: pointer;
  display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-start; gap: 14px;
  transition: opacity 0.3s;
}
.svc-p__head h3 { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); }
.svc-p__plus { display: none; }
.svc-p.is-open .svc-p__head { opacity: 0; pointer-events: none; }
.svc-p__head:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 6px; }
.svc-p__body { position: absolute; left: 30px; right: 30px; bottom: 30px; z-index: 2; min-width: 380px; opacity: 0; transform: translateY(16px); transition: opacity 0.3s, transform 0.6s var(--ease); pointer-events: none; }
.svc-p.is-open .svc-p__body { opacity: 1; transform: none; transition-delay: 0.35s; pointer-events: auto; }
.svc-p__title { margin: 6px 0 10px; font-size: 34px; letter-spacing: -0.02em; line-height: 1.05; }
.svc-p__in > p:not(.svc-p__title) { margin: 0 0 20px; max-width: 44ch; color: #eee; line-height: 1.5; }

/* ---------- Méthode ---------- */

.process { padding: 88px var(--pad) 0; }
.process__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 0 0 100px; }
.process__intro p { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step__num { font-size: clamp(64px, 7vw, 100px); font-weight: 400; letter-spacing: -0.05em; line-height: 0.9; }
.step h3 { margin: 36px 0 14px; font-size: 24px; font-weight: 400; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: 12px; line-height: 1.2; color: var(--grey); min-height: 28px; }
.step__img { margin-top: 36px; aspect-ratio: 452 / 300; overflow: hidden; }
.step__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tarifs : damier ---------- */

.pricing { padding: 128px var(--pad) 48px; }
.pricing__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 80px; }
.pricing__head p { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price { min-width: 0; }
.price {
  aspect-ratio: 345 / 268;
  padding: 17px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background 0.4s, color 0.4s;
}
.prices .price:nth-child(8n + 1), .prices .price:nth-child(8n + 3),
.prices .price:nth-child(8n + 6), .prices .price:nth-child(8n + 8) { background: var(--tile); }
.price__head { display: flex; justify-content: space-between; font-size: 17px; }
.price__head span { color: var(--grey); }
.price__body { text-align: center; }
.price__body small { display: block; font-size: 13px; color: var(--grey); }
.price__body strong { display: block; font-size: 44px; font-weight: 400; letter-spacing: -0.04em; line-height: 1.1; }
.price p { margin: 0; font-size: 11.5px; line-height: 1.15; color: var(--grey-2); max-width: 280px; }
/* Chaque case mène au questionnaire ; survol / toucher en bordeaux */
.price { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.price:hover, .price:active, .price:focus-visible { background: var(--bordeaux) !important; color: #fff; }
.price:hover p, .price:hover .price__head span, .price:hover small,
.price:active p, .price:active .price__head span, .price:active small { color: #bbb; }
.pricing__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; font-size: 14px; color: var(--grey-2); }
.pricing__foot p { margin: 0; max-width: 620px; }

/* ---------- FAQ ---------- */

.faq { padding: 112px var(--pad) 120px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
/* Intro FAQ : bulle de conversation */
.faq__chat { display: grid; gap: 14px; max-width: 460px; align-self: start; }
.faq__msg { display: flex; align-items: flex-end; gap: 12px; }
.faq__avatar { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: #f3ede4; display: grid; place-items: center; }
.faq__avatar img { height: 38px; width: auto; }
.faq__bubble { margin: 0; padding: 16px 18px; border-radius: 18px 18px 18px 4px; background: #f3f3f3; font-size: 16px; line-height: 1.4; }
.faq__bubble b { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 500; color: var(--grey); }
.faq__typing { display: inline-flex; gap: 4px; width: fit-content; margin-left: 64px; padding: 10px 14px; border-radius: 999px; background: #f3f3f3; }
.faq__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey); animation: typing 1.2s infinite; }
.faq__typing i:nth-child(2) { animation-delay: 0.15s; }
.faq__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.faq__write {
  display: flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 7px 0 20px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--grey); font-size: 15px;
  transition: border-color 0.3s, color 0.3s;
}
.faq__write span { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--bordeaux); color: #fff; display: grid; place-items: center; transition: background 0.3s, transform 0.4s var(--ease); }
.faq__write svg { width: 11px; height: 11px; }
.faq__write:hover, .faq__write:focus-visible { border-color: #000; color: #000; }
.faq__write:hover span, .faq__write:focus-visible span, .faq__write:active span { background: var(--olive); transform: rotate(45deg); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-size: 22px; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .arrow-circle { transform: rotate(90deg); background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
.faq__body { padding: 0 64px 26px 0; font-size: 15px; line-height: 1.45; color: var(--grey-2); }
.faq__body ul { margin: 0; padding-left: 18px; }
.faq__body a { color: #000; border-bottom: 1px solid; }

/* ---------- Bandeau final ---------- */

.closing { position: relative; height: 780px; overflow: hidden; color: #fff; }
.closing > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.08) 60%); }
.glass {
  position: absolute; top: 50px; right: var(--pad); z-index: 2;
  width: 672px; max-width: calc(100% - 2 * var(--pad));
  display: grid; grid-template-columns: 1fr 317px; gap: 14px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.glass__text { display: flex; flex-direction: column; justify-content: space-between; padding: 10px 10px 8px; font-size: 18px; line-height: 1.3; }
.glass__text small { font-size: 15px; font-weight: 300; }
.glass img { border-radius: 10px; aspect-ratio: 317 / 280; object-fit: cover; width: 100%; }
.closing__cta { position: absolute; left: var(--pad); bottom: 50px; z-index: 2; }
.closing__cta h2 { margin: 0 0 22px; font-size: clamp(32px, 3.2vw, 46px); font-weight: 400; line-height: 1.17; letter-spacing: -0.03em; }
.pill-light {
  display: inline-flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 30px;
  border-radius: 999px; background: #fff; color: #000;
  font-size: 18px; font-weight: 500;
}
.pill-light svg { width: 12px; height: 12px; transition: transform 0.5s var(--ease); }
.pill-light:hover svg { transform: rotate(45deg); }

/* ---------- Contact ---------- */

.contact { padding: 120px var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact h2:not(.label) { margin: 30px 0 0; font-size: clamp(48px, 6vw, 92px); font-weight: 400; line-height: 0.95; letter-spacing: -0.045em; }
/* Coordonnées : une ligne par moyen de contact, avec pastille d'icône */
.contact__lines { margin-top: 48px; display: grid; max-width: 520px; border-top: 1px solid var(--line); }
.contact__lines a { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease); }
.contact__pin { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #f3f3f3; display: grid; place-items: center; transition: background 0.35s, color 0.35s; }
.contact__pin svg { width: 18px; height: 18px; }
.contact__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.contact__txt small { font-size: 12px; color: var(--grey); }
.contact__txt b { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contact__arrow { width: 12px; height: 12px; margin-left: auto; flex-shrink: 0; transition: transform 0.5s var(--ease); }
.contact__lines a:hover, .contact__lines a:focus-visible { padding-left: 10px; }
.contact__lines a:hover .contact__pin, .contact__lines a:focus-visible .contact__pin { background: var(--olive); color: #fff; }
.contact__lines a:hover .contact__arrow, .contact__lines a:focus-visible .contact__arrow { transform: rotate(45deg); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label { font-size: 13px; color: var(--grey-2); }
.field input, .field textarea {
  width: 100%;
  background: #f3f3f3;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: #000; background: #fff; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: 10px 18px;
  border-radius: 999px; background: #f3f3f3;
  font-size: 14px; cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.choice span:hover { background: var(--tile); }
.choice input:checked + span { background: var(--bordeaux); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid #000; outline-offset: 2px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; }
.form__foot p { margin: 0; font-size: 12.5px; color: var(--grey); max-width: 46ch; }
.form__foot p a { border-bottom: 1px solid; }
.form__foot button { border: 0; padding: 0; background: none; cursor: pointer; }
.form__status { grid-column: 1 / -1; margin: 0; font-size: 14px; min-height: 1em; }
.form__status.ok { color: #2f7a46; }
.form__status.err { color: #b33a1d; }

/* Envoi : le bouton tourne, le formulaire glisse dans une fente bordeaux, puis « Merci » prend sa place */
.sendbox { position: relative; scroll-margin-top: 30px; transition: height 0.6s var(--ease); }
.sendbox__slot { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 3px; border-radius: 3px; background: var(--bordeaux); transform: scaleX(0); transition: transform 0.5s var(--ease); pointer-events: none; }
.sendbox.is-sending .sendbox__slot, .sendbox.is-sent .sendbox__slot { transform: scaleX(1); }
.sendbox.is-done .sendbox__slot { transform: scaleX(0); }
.sendbox.is-sent { overflow: hidden; }
.sendbox > form { transition: transform 0.9s cubic-bezier(0.6, 0, 0.3, 1), opacity 0.4s 0.5s; }
.sendbox.is-sent > form { transform: translateY(-105%); opacity: 0; }
.sendbox > form[hidden], .sendbox [hidden] { display: none; }
.sendbox .cta__text { max-width: 400px; overflow: hidden; white-space: nowrap; transition: padding 0.55s var(--ease), background 0.4s, max-width 0.55s var(--ease), opacity 0.3s; }
.sendbox.is-sending .cta .cta__text, .sendbox.is-sent .cta .cta__text { max-width: 0; padding: 0; opacity: 0; }
.sendbox .cta__icon { position: relative; transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.sendbox .cta__icon .cta__arrow { transition: transform 0.5s var(--ease), opacity 0.3s; }
.sendbox.is-sending .cta__arrow, .sendbox.is-sent .cta__arrow { opacity: 0; }
.sendbox .cta__icon .cta__ring, .sendbox .cta__icon .cta__check { position: absolute; inset: 0; margin: auto; opacity: 0; }
.sendbox .cta__icon .cta__ring { width: 30px; height: 30px; }
.sendbox .cta__icon .cta__check { width: 16px; height: 16px; }
.sendbox.is-sending .cta__ring { opacity: 1; animation: send-spin 0.9s linear infinite; }
.sendbox.is-sent .cta__icon { background: var(--olive); }
.sendbox.is-sent .cta__check { opacity: 1; }
.sendbox.is-sending .field input:not([type=radio]):not([type=checkbox]), .sendbox.is-sending .field textarea, .sendbox.is-sending .choice span { opacity: 0.45; pointer-events: none; }
.sendbox.is-err .cta { animation: send-shake 0.45s; }
.sendbox__ok { padding: 70px 0 40px; outline: none; opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.sendbox.is-done .sendbox__ok { opacity: 1; transform: none; }
.sendbox__ok small { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.sendbox__ok h3 { margin: 12px 0 16px; font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.sendbox__ok p { margin: 0 0 26px; max-width: 40ch; color: var(--grey-2); line-height: 1.55; }
.sendbox__ok p a { border-bottom: 1px solid; }
.sendbox__again { display: inline-block; border: 1px solid currentColor; background: none; border-radius: 999px; padding: 11px 20px; font: inherit; font-size: 14px; color: #000; cursor: pointer; transition: background 0.3s, color 0.3s; }
.sendbox__again:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
@keyframes send-spin { to { transform: rotate(360deg); } }
@keyframes send-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.hint { font-size: 13px; color: var(--grey); margin: 6px 0 0; }
.hint a { border-bottom: 1px solid; }

/* ---------- Footer ---------- */

.footer { position: relative; isolation: isolate; overflow: hidden; background: var(--bordeaux); color: #fff; padding: 78px 40px 26px; }
/* Maison du logo en filigrane, dans le coin en bas à droite */
.footer::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: 2%; bottom: -10%; width: min(24vw, 300px); aspect-ratio: 133 / 218;
  background: url("../img/logo-facade-blanc.webp") right bottom / contain no-repeat;
  opacity: 0.09;
}
.footer__grid { display: grid; grid-template-columns: 467fr 320fr 355fr 218fr; gap: 20px; }
.a4--footer { font-size: 34px; }
.footer__about p { font-size: 11px; line-height: 1.15; max-width: 330px; margin: 30px 0 22px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; transition: background 0.3s; }
.socials a:hover { background: rgba(255, 255, 255, 0.22); }
.socials svg { width: 14px; height: 14px; }
.footer h3 { margin: 0 0 10px; font-size: 16px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer li a, .footer li { font-size: 16px; color: #b4b4b4; transition: color 0.3s; }
.footer li a:hover { color: #fff; }
.footer__copy {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px;
  margin-top: 160px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b4b4b4; font-size: 14px;
}

/* Crédit agence */
.made {
  display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.made:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.made span {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6); transition: color 0.2s var(--ease);
}
.made:hover span { color: #fff; }
.made img { height: 14px; width: auto; display: block; }

/* ---------- Pages internes ---------- */

.page-hero { padding: 150px var(--pad) 70px; }
.page-hero h1 { margin: 24px 0 0; font-size: clamp(56px, 8.4vw, 124px); font-weight: 400; line-height: 0.95; letter-spacing: -0.045em; }
.page-hero p { margin: 30px 0 0; max-width: 560px; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }

.q-layout { margin: 0 var(--pad); padding-bottom: 140px; display: grid; grid-template-columns: 345fr 1035fr; border-top: 1px solid var(--line); }
.q-aside { position: sticky; top: 30px; align-self: start; padding: 30px 30px 0 0; }
.q-aside ol { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: q; }
.q-aside li { counter-increment: q; display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.q-aside li::after { content: counter(q, decimal-leading-zero); color: var(--grey); }
.q-aside a:hover { color: var(--grey); }
.q-block { padding: 30px 0 70px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.q-block:last-child { border-bottom: 0; }
.q-block h2 { margin: 0 0 6px; font-size: 40px; font-weight: 400; letter-spacing: -0.035em; }
.q-block > p { margin: 0 0 30px; color: var(--grey-2); font-size: 16px; }
.q-block .form { gap: 22px 12px; }

.prose { margin: 0 var(--pad); padding-bottom: 140px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 345fr 1035fr; }
.prose__side { padding-top: 30px; }
.prose__body { max-width: 760px; padding-top: 30px; }
.prose h2 { font-size: 28px; font-weight: 400; letter-spacing: -0.02em; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: var(--grey-2); }
.prose a { color: #000; border-bottom: 1px solid; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 86vh; width: auto; }
.lightbox button {
  position: absolute; top: 20px; right: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); background: none; color: #fff; font-size: 22px; cursor: pointer;
}

/* ---------- Page 404 : photos en éventail ---------- */

.page-404 { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #fff; }
.nf__head { padding: 26px var(--pad); }
.nf { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px var(--pad) 90px; }
.nf__fan { position: relative; width: 320px; height: 230px; margin: 0 auto 34px; }
.nf__fan img {
  position: absolute; left: 50%; top: 10px; width: 140px; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border: 5px solid #fff; border-radius: 6px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transform-origin: 50% 120%; transition: transform 0.7s var(--ease);
  animation: nf-in 1s var(--ease) both;
}
.nf__fan img:nth-child(1) { --r: -18deg; --r2: -30deg; }
.nf__fan img:nth-child(2) { --r: -6deg; --r2: -10deg; animation-delay: 0.08s; }
.nf__fan img:nth-child(3) { --r: 6deg; --r2: 10deg; animation-delay: 0.16s; }
.nf__fan img:nth-child(4) { --r: 18deg; --r2: 30deg; animation-delay: 0.24s; }
.nf__fan img { transform: translateX(-50%) rotate(var(--r)); }
.nf__fan:hover img { transform: translateX(-50%) rotate(var(--r2)); }
@keyframes nf-in { from { opacity: 0; transform: translateX(-50%) rotate(0deg) translateY(30px); } }
.nf__code { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bordeaux); font-weight: 500; }
.nf h1 { margin: 0 0 12px; font-size: clamp(44px, 6vw, 72px); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.nf h1 em { font-family: "Cormorant Garamond", serif; letter-spacing: -0.01em; }
.nf__txt { margin: 0 0 30px; color: var(--grey-2); font-size: 16px; }
@media (max-width: 810px) { .nf__fan { transform: scale(0.85); margin-bottom: 20px; } }

/* ---------- Animations ---------- */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.words .w { display: inline-block; opacity: 0; transform: translateY(0.35em); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.words.is-in .w { opacity: 1; transform: none; filter: none; }
.img-reveal { clip-path: inset(14% 0 0 0); transition: clip-path 1.4s var(--ease); }
.img-reveal img { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.img-reveal.is-in { clip-path: inset(0 0 0 0); }
.img-reveal.is-in img { transform: scale(1); }
.project:hover .img-reveal.is-in img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .words .w { opacity: 1; transform: none; filter: none; }
  .img-reveal { clip-path: none; }
  .img-reveal img { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .svc-panels { height: 500px; }
  .svc-p__body { left: 22px; right: 22px; bottom: 22px; min-width: 300px; }
  .svc-p__title { font-size: 28px; }
  .price { aspect-ratio: auto; min-height: 230px; gap: 16px; }
  .price__body strong { font-size: 34px; }
  .price__head { gap: 8px; }
  .work__row--2 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}

@media (max-width: 810px) {
  :root { --pad: 16px; }
  .dock { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 32px); gap: 10px; }
  .dock__brand { display: none; }
  .dock__bar { width: 100%; }
  .menu__panel { grid-template-columns: 1fr; }
  .menu__aside { display: none; }

  /* Hero plein écran sur mobile, quelle que soit la hauteur de l'écran (suit la barre d'adresse) */
  .hero { height: 100vh; height: 100dvh; min-height: 0; }
  .hero__content { margin-top: -10px; }
  /* viewport-fit=cover dans les 3 pages (comme thrpub.fr) : la page descend jusque sous la barre d'accueil.
     Safari iOS 26 : la page s'affiche sous la barre d'adresse flottante, mais les unités d'écran ne comptent
     pas cette zone (~90px). Hero et photo prolongés d'autant, logo toujours centré dans la partie visible. */
  @supports (-webkit-touch-callout: none) {
    .hero { height: calc(100svh + 90px + env(safe-area-inset-bottom, 0px)); padding-bottom: 90px; box-sizing: border-box; } /* svh : fixe, pas de saut au défilement */
    .hero__bg { height: calc(100lvh + 90px + env(safe-area-inset-bottom, 0px)); }
  }
  .site-header { padding: 18px var(--pad); padding-top: calc(18px + env(safe-area-inset-top, 0px)); }
  .a4--header { font-size: 17px; }

  .menu { padding-bottom: 92px; }
  .site-header__meta { display: none; }
  .scroll-down { display: none; }
  .hero__slider { left: 50%; right: auto; transform: translateX(-50%); bottom: 100px; }
  .hero__count { display: none; }

  .about__top, .work__head, .services__top, .process__intro, .pricing__head, .faq__grid, .contact { grid-template-columns: 1fr; }
  .about__top { padding-right: var(--pad); gap: 20px; }
  .about__text { padding-top: 0; }
  .about__text p { text-indent: 40px; }
  .about__media { grid-template-columns: 1fr; margin-top: 60px; gap: 12px; padding: 0 var(--pad); }
  .about__media .img-l { aspect-ratio: 4 / 3; }
  .about__right { grid-column: 1; }
  .stats strong { font-size: 40px; }
  .stats span { font-size: 13px; }

  .work, .features, .pricing { padding-top: 100px; }
  .work__head .ig-fan { grid-column: 1; justify-self: start; }
  .work__row--1, .work__row--2 { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .work__row .project .project__img { aspect-ratio: 4 / 3 !important; }

  .checker { display: none; }
  .stack { display: block; }
  .features .label { margin-bottom: 28px; }
  /* Cartes Atouts sur mobile : simplement l'une sous l'autre, sans animation */
  .stack-card { background: var(--tile); margin-bottom: 18px; }
  .stack-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .stack-card__body { padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .stack-card__body h3 { margin: 0; font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
  .stack-card__body span { font-size: 17px; }
  .stack-card__body p { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.4; color: #333; }

  .services__top { padding: 0 var(--pad); }
  .services__label { margin: 0 var(--pad) 32px; }
  .services__top img { width: 100%; }
  /* Services : bandes horizontales ; celle que l'on touche s'ouvre (photo, texte, bouton) */
  .svc-panels { flex-direction: column; height: auto; padding: 0 var(--pad); }
  .svc-p { flex: none; display: flex; flex-direction: column; justify-content: space-between; min-height: 84px; transition: min-height 0.7s var(--ease); scroll-margin-top: 20px; }
  .svc-p.is-open { flex: none; min-height: 420px; }
  .svc-p::after { background: linear-gradient(rgba(30, 9, 16, 0.55), rgba(30, 9, 16, 0.25) 40%, rgba(30, 9, 16, 0.92)); }
  .svc-p > img { opacity: 0.35; }
  .svc-p.is-open > img { opacity: 0.8; }
  .svc-p__head { position: relative; inset: auto; flex-direction: row; align-items: center; gap: 14px; padding: 22px 20px; text-align: left; }
  .svc-p__head h3 { writing-mode: horizontal-tb; transform: none; white-space: normal; font-size: 22px; flex: 1; }
  .svc-p__plus { display: block; position: relative; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.6); transition: background 0.4s; }
  .svc-p__plus::before, .svc-p__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.4px; background: #fff; transform: translate(-50%, -50%); transition: transform 0.5s var(--ease), background 0.4s; }
  .svc-p__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
  .svc-p.is-open .svc-p__head { opacity: 1; pointer-events: auto; }
  .svc-p.is-open .svc-p__plus { background: #fff; }
  .svc-p.is-open .svc-p__plus::before, .svc-p.is-open .svc-p__plus::after { background: var(--bordeaux); }
  .svc-p.is-open .svc-p__plus::after { transform: translate(-50%, -50%) rotate(0); }
  .svc-p__body { position: relative; inset: auto; min-width: 0; z-index: 1; display: grid; grid-template-rows: 0fr; opacity: 0; transform: none; transition: grid-template-rows 0.7s var(--ease), opacity 0.4s; }
  .svc-p.is-open .svc-p__body { grid-template-rows: 1fr; opacity: 1; transition-delay: 0s, 0.2s; }
  .svc-p__body > div { overflow: hidden; }
  .svc-p__in { padding: 0 20px 22px; }
  .svc-p__in > .svc-p__n, .svc-p__title { display: none; }
  .svc-p__in > p:not(.svc-p__title) { font-size: 15px; margin-bottom: 18px; }

  .steps { grid-template-columns: 1fr; gap: 60px; }
  .prices { grid-template-columns: 1fr 1fr; }
  .prices .price { background: transparent !important; }
  .prices .price:nth-child(4n + 1), .prices .price:nth-child(4n + 4) { background: var(--tile) !important; }
  .prices .price:hover, .prices .price:active, .prices .price:focus-visible { background: var(--bordeaux) !important; color: #fff; }
  .price { aspect-ratio: auto; min-height: 170px; gap: 18px; }
  .price p { display: none; }
  .price__body strong { font-size: 32px; }

  .closing { height: 720px; }
  .glass { grid-template-columns: 1fr; top: 16px; }
  .glass img { aspect-ratio: 16 / 9; }
  .glass__text { gap: 30px; }

  .form { grid-template-columns: 1fr; }
  .faq__body { padding-right: 0; }

  .footer { padding: 60px var(--pad) 110px; }
  .footer__grid { grid-template-columns: 1fr; row-gap: 36px; }
  .a4--footer { font-size: 28px; }
    .footer__copy { margin-top: 70px; font-size: 13px; flex-direction: column; align-items: flex-start; }

  .q-layout, .prose { grid-template-columns: 1fr; }
  .q-aside { position: static; padding-right: 0; }
  .q-aside ol { display: none; }
  .page-hero { padding-top: 110px; }
}
