/* ==========================================================================
   Atelier Blatin — page d'accueil
   ========================================================================== */

/* Polices : GT America (Grilli Type) et Flecha M (R-Typography), sous licence.
   Fichiers attendus dans assets/fonts/ (voir LISEZ-MOI.txt) ; elles sont aussi
   utilisées si elles sont installées sur le poste. Sinon, Inter Tight et Cormorant Garamond,
   les plus proches sur Google Fonts, prennent le relais. */
@font-face {
  font-family: "GT America";
  src: local("GT America Standard Light"), local("GTAmerica-StandardLight"), local("GT America Light"),
       url("../fonts/GT-America-Standard-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT America";
  src: local("GT America Standard Medium"), local("GTAmerica-StandardMedium"), local("GT America Medium"),
       url("../fonts/GT-America-Standard-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Flecha M";
  src: local("Flecha M Regular"), local("FlechaM-Regular"),
       url("../fonts/FlechaM-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1b3f50;
  --navy-2: #1b3f50;
  --slate: #3f4d57;
  --mist: #eaeef2;
  --white: #ffffff;
  --gold: #c1a35b;
  --text: #1b3f50;
  --line: rgba(27, 63, 80, .14);
  --line-strong: rgba(27, 63, 80, .28);

  --serif: "Flecha M", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --body: "GT America", "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --gutter: max(var(--pad), calc((100% - var(--container)) / 2));
  --header-h: 84px;
  --giant: clamp(88px, 15vw, 224px);
  --section: clamp(88px, 10vw, 150px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--navy-2) var(--mist);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--navy);
  accent-color: var(--navy);
  overflow-x: clip;
}

html.is-loading,
html.menu-open,
html.modal-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, address { margin: 0; }
h1, h2, h3 { font-weight: inherit; }
b, strong { font-weight: 500; }
button { font: inherit; color: inherit; }

::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  transform: translateY(-200%);
  transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------- Typographie ---------- */
.h2 {
  font-family: var(--serif);
  font-size: clamp(27px, 2.35vw, 35px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--navy);
  text-wrap: balance;
}

.link {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
  transition: text-decoration-color .3s ease;
}
.link:hover { text-decoration-color: var(--gold); }

/* SplitText (lignes en span) */
.split-line, .split-line-mask { display: block; }
.split-line-mask { padding-block: .12em; margin-block: -.12em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.btn--solid { background: var(--slate); border-color: var(--slate); color: var(--white); }
.btn--solid:hover { background: var(--navy); border-color: var(--navy); }
.btn--line { border-color: currentColor; color: var(--navy); }
.btn--line:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--white:hover { background: transparent; color: var(--white); }
.btn--glass { border-color: var(--white); color: var(--white); }
.btn--glass:hover { background: var(--white); color: var(--navy); }

/* ==========================================================================
   Préchargement (prise de mesures)
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  background: var(--navy);
  color: var(--mist);
}
.js .loader { display: grid; }

.loader__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 36px;
  width: min(560px, 84vw);
}
.loader__logo { width: clamp(190px, 21vw, 250px); height: auto; }

.loader__tape {
  position: relative;
  width: 100%;
  height: 50px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
.loader__track {
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-left: 50%;
  will-change: transform;
}
.tick {
  position: relative;
  flex: 0 0 10px;
  height: 8px;
  border-left: 1px solid rgba(234, 238, 242, .42);
}
.tick--m { height: 14px; }
.tick--l { height: 22px; border-left-color: var(--mist); }
.tick b {
  position: absolute;
  bottom: 30px;
  left: 0;
  transform: translateX(-50%);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  color: rgba(234, 238, 242, .7);
  font-variant-numeric: tabular-nums;
}
.loader__needle {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 100%;
  background: var(--gold);
}
.loader__meta {
  display: flex;
  justify-content: center;
  width: 100%;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(234, 238, 242, .72);
}
.loader__count { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: var(--white);
  transition: background-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.header.is-solid,
.menu-open .header {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 44px);
  height: var(--header-h);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.header__logo { position: relative; flex-shrink: 0; width: clamp(150px, 12vw, 176px); }
.header__logo img { width: 100%; height: auto; transition: opacity .4s ease; }
.header__logo-dark { position: absolute; inset: 0; opacity: 0; }
.header.is-solid .header__logo-light,
.menu-open .header__logo-light { opacity: 0; }
.header.is-solid .header__logo-dark,
.menu-open .header__logo-dark { opacity: 1; }

.header__nav { display: flex; gap: clamp(18px, 1.9vw, 30px); font-size: 14px; font-weight: 500; }
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.header__nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header .btn { height: 42px; padding: 0 18px; font-size: 14px; }
.header__contact { color: inherit; }
.header__contact:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.header__cta { background: var(--white); border-color: var(--white); color: var(--navy); }
.header__cta:hover { background: transparent; color: var(--white); }
.header.is-solid .header__contact:hover,
.menu-open .header__contact:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.header.is-solid .header__cta,
.menu-open .header__cta { background: var(--slate); border-color: var(--slate); color: var(--white); }
.header.is-solid .header__cta:hover,
.menu-open .header__cta:hover { background: var(--navy); border-color: var(--navy); }

.header__burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.header__burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: currentColor;
  transition: transform .5s var(--ease-out), top .4s var(--ease-out);
}
.header__burger span:first-child { top: 16px; }
.header__burger span:last-child { top: 25px; }
.menu-open .header__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .header__burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 28px) var(--pad) 36px;
  background: var(--white);
  color: var(--navy);
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s ease, visibility .4s ease;
}
.menu-open .menu { visibility: visible; opacity: 1; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a {
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 48px);
  line-height: 1.18;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.menu__foot { display: grid; justify-items: start; gap: 14px; font-size: 14px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; will-change: transform; }
.hero__media picture { display: contents; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__toggle {
  position: absolute;
  right: var(--pad);
  bottom: clamp(20px, 3vw, 36px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .5);
  background: rgb(8 22 29 / .3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.hero__toggle[hidden] { display: none; }
.hero__toggle:hover { border-color: var(--white); background: var(--white); color: var(--navy); }
.hero__toggle svg { width: 16px; height: 16px; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 21, 28, .5) 0%, rgba(9, 21, 28, 0) 22%),
    rgba(9, 21, 28, .34);
}
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 34px;
  padding: var(--header-h) var(--pad) 0;
  text-align: center;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(34px, 3.7vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-shadow: 0 1px 24px rgba(9, 21, 28, .25);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ==========================================================================
   Présentation
   ========================================================================== */
.intro { padding-top: var(--section); }

/* À propos : une phrase d'accroche, puis deux images */
.about { display: grid; justify-items: start; row-gap: clamp(26px, 3vw, 40px); }
.about__lead {
  font-family: var(--serif);
  font-size: clamp(27px, 3.05vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  max-width: 1040px;
  color: var(--navy);
  text-wrap: pretty;
}
.about__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: clamp(72px, 9vw, 140px);
  padding-inline: clamp(16px, 3.5vw, 52px);
}
.about__photo, .about__frame { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__frame { padding: 15% 17%; background: var(--navy); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* Grandes lettres */
.giant {
  display: flex;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
  font-family: var(--serif);
  font-size: var(--giant);
  font-weight: 400;
  line-height: .8;
  color: var(--gold);
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}
.giant span { display: inline-block; will-change: transform; }
.intro .giant { margin-top: clamp(48px, 6vw, 90px); margin-bottom: calc(var(--giant) * -.4); }

/* ==========================================================================
   Mariage (bloc sombre + image)
   ========================================================================== */
.feature { position: relative; z-index: 1; padding-bottom: var(--section); }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.feature__panel {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  padding: clamp(40px, 5vw, 76px);
  background: var(--navy-2);
  color: var(--mist);
}
.feature__panel .h2 { color: var(--white); }
.feature__panel p { max-width: 58ch; }
.feature__panel .link { margin-top: 4px; }
.feature__panel .btn--line { color: var(--white); }
.feature__panel .btn--line:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.feature__media { position: relative; min-height: 560px; overflow: hidden; background: var(--mist); }
.feature__media img { position: absolute; top: -8%; left: 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 30%; }

/* ==========================================================================
   Tuiles
   ========================================================================== */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--white);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 21, 28, .3);
  transition: background-color .6s ease;
}
.tile:hover img { transform: scale(1.05); }
.tile:hover::after { background: rgba(9, 21, 28, .42); }
.tile__label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}
.tile__title {
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 38px);
  line-height: 1.05;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-shadow: 0 1px 20px rgba(9, 21, 28, .3);
}
.tile__arrow { width: 34px; height: 12px; transition: transform .6s var(--ease-out); }
.tile:hover .tile__arrow { transform: translateX(8px); }

.duo { display: grid; grid-template-columns: 1fr 1fr; }
.tile--duo { height: min(84vh, 46vw); min-height: 360px; }
.tile--duo img { object-position: 50% 35%; }

/* ==========================================================================
   Image + texte
   ========================================================================== */
.story { padding-block: var(--section); }
.story__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
}
.story__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__text { display: grid; justify-items: start; gap: 22px; max-width: 560px; }
.story__text p { max-width: 64ch; }
.story--reverse .story__grid { grid-template-columns: 6fr 5fr; }
.story--reverse .story__media { order: 2; }

/* ==========================================================================
   Collections (grandes lettres + grille)
   ========================================================================== */
.collection { position: relative; padding-top: clamp(24px, 3vw, 48px); padding-bottom: var(--section); }
.collection .giant { margin-bottom: calc(var(--giant) * -.38); }
.grid {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.grid--6,
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid .tile { aspect-ratio: 4 / 5; }
.grid .tile img { object-position: 50% 30%; }

/* ==========================================================================
   Rendez-vous
   ========================================================================== */
.rdv { position: relative; padding-block: clamp(80px, 10vw, 160px); overflow: hidden; background: var(--navy); }
.rdv__media { position: absolute; inset: 0; }
.rdv__media img { position: absolute; top: -10%; left: 0; width: 100%; height: 120%; object-fit: cover; object-position: 60% 50%; }
.rdv__card {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 20px;
  max-width: 540px;
  padding: clamp(32px, 4vw, 56px);
  background: var(--white);
}
.rdv__steps { display: grid; gap: 14px; width: 100%; margin: 4px 0; }
.rdv__steps div { padding-top: 14px; border-top: 1px solid var(--line); }
.rdv__steps dt {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--navy);
}
.rdv__steps dd { margin: 6px 0 0; font-size: 14.5px; line-height: 1.7; }
.rdv__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rdv__rating { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }

.collection--femme { padding-top: clamp(64px, 8vw, 120px); }

/* ==========================================================================
   Showrooms
   ========================================================================== */
.showrooms { padding-block: var(--section); background: var(--mist); }
.showrooms__head { display: grid; justify-items: center; gap: 10px; margin-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.showrooms__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.showroom img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 20px; }
.showroom__city {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--navy);
}
.showroom address { font-size: 14.5px; font-style: normal; line-height: 1.7; }
.showroom__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.showroom__links a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .32em; transition: text-decoration-color .3s; }
.showroom__links a:hover { text-decoration-color: var(--navy); }

/* ==========================================================================
   Nos légendes
   ========================================================================== */
.legends { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: var(--mist); }
.legends__text {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 24px;
  padding: clamp(56px, 7vw, 112px) clamp(24px, 6vw, 96px);
}
.legends__text .h2 { color: var(--white); }
.legends__text p { max-width: 56ch; }
.films { display: grid; gap: 16px; width: 100%; max-width: 500px; margin: 6px 0; padding: 0; list-style: none; }
.film {
  display: grid;
  grid-template-columns: 136px 1fr;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(234, 238, 242, .16);
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.film__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.film__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform 1s var(--ease-out), opacity .4s; }
.film__thumb svg { position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; color: var(--white); transform: translate(-50%, -50%); }
.film__title { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--white); }
.film:hover .film__thumb img { transform: scale(1.06); opacity: 1; }
.legends .link { color: var(--white); }

.legends__media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.legends__media img { position: absolute; top: -8%; left: 0; width: 100%; height: 116%; object-fit: cover; }
.legends__play {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  bottom: clamp(20px, 3vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  background: rgb(8 22 29 / .42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .35s ease, color .35s ease;
}
.legends__play svg { width: 18px; height: 18px; }
.legends__media:hover .legends__play,
.legends__media:focus-visible .legends__play { background: var(--white); color: var(--navy); }

/* ==========================================================================
   Instagram
   ========================================================================== */
.insta { padding-block: var(--section); }
.insta__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.insta__head .h2 { text-transform: none; letter-spacing: .01em; }
.insta__nav { display: flex; gap: 8px; }
.square {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, opacity .3s ease;
}
.square svg { width: 15px; height: 15px; }
.square:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: var(--white); }
.square:disabled { opacity: .35; cursor: default; }
.flip { transform: scaleX(-1); }

.insta__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(210px, 21vw, 290px);
  gap: 16px;
  margin: 0;
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.insta__track::-webkit-scrollbar { display: none; }
.insta__track li { scroll-snap-align: start; }
.insta__track a { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.insta__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.insta__track a:hover img { transform: scale(1.05); }
.insta__foot { margin-top: 28px; }

/* ==========================================================================
   Questions
   ========================================================================== */
.faq { padding-block: clamp(80px, 9vw, 130px); border-top: 1px solid var(--line); }
.faq__inner { max-width: calc(940px + 2 * var(--pad)); }
.faq__list { margin-top: 32px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font: inherit; }
.faq__item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}
.faq__item button svg { flex-shrink: 0; width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.faq__item.is-open button svg { transform: rotate(90deg); }
.faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq__answer > div { overflow: hidden; }
.faq__answer p { max-width: 70ch; margin-bottom: 24px; }
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer { padding-top: clamp(72px, 8vw, 112px); background: var(--navy); color: rgba(234, 238, 242, .84); }
.footer__logo { width: 210px; height: auto; margin: 0 auto clamp(48px, 6vw, 76px); }
.footer__cols {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(48px, 6vw, 76px);
}
.footer h3 { margin-bottom: 18px; font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--white); }
.footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.footer__col a { transition: color .3s ease; }
.footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .32em; }
.footer__col--shops p { margin-bottom: 14px; font-size: 14px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.footer__col--shops strong { display: block; font-weight: 500; color: var(--white); }
.footer__col--shops .btn { margin-top: 8px; }
.footer__col--shops .btn:hover { border-color: var(--white); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(234, 238, 242, .16);
  font-size: 13px;
}
.footer .footer__social { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; transition: color .3s ease; }
.footer__social a:hover { color: var(--gold); }
.footer__social svg { width: 20px; height: 20px; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: var(--white); }

/* ==========================================================================
   Lecteur vidéo
   ========================================================================== */
.film-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 6vh 4vw; }
.film-modal[hidden] { display: none; }
.film-modal__backdrop { position: absolute; inset: 0; background: rgba(9, 21, 28, .92); }
.film-modal__box { position: relative; width: min(1120px, 100%); }
.film-modal__title { margin-bottom: 14px; font-family: var(--serif); font-size: 23px; line-height: 1.25; color: var(--white); }
.film-modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.film-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  background: none;
  color: var(--white);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
.film-modal__close:hover { background: var(--white); color: var(--navy); }
.film-modal__close svg { width: 22px; height: 22px; }

/* ==========================================================================
   Maquette d'intention : fiche de l'agence
   ========================================================================== */
.pitch {
  width: min(540px, calc(100% - 2 * var(--pad)));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 40px 90px rgb(9 21 28 / .35);
  overflow: auto;
  overscroll-behavior: contain;
}
.pitch::backdrop { background: rgb(9 21 28 / .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pitch[open] { animation: pitch-in .7s var(--ease-out); }
.pitch[open]::backdrop { animation: pitch-fade .5s ease; }
@keyframes pitch-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes pitch-fade { from { opacity: 0; } }
.pitch__box { position: relative; display: grid; justify-items: start; gap: 18px; padding: clamp(32px, 5vw, 52px); }
.pitch__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.pitch__close:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pitch__close svg { width: 18px; height: 18px; }
.pitch__logo { width: 128px; height: auto; margin-bottom: 6px; }
.pitch__title {
  font-family: var(--serif);
  font-size: clamp(28px, 2.9vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--navy);
}
.pitch__text { font-size: 16px; line-height: 1.7; }
.pitch__contact { display: grid; gap: 2px; width: 100%; margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.pitch__name { font-size: 17px; font-weight: 500; color: var(--navy); }
.pitch__role { font-size: 14.5px; }
.pitch__coords { display: grid; gap: 8px; margin: 14px 0 0; font-size: 15px; }
.pitch__coords div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.pitch__coords dd { margin: 0; font-weight: 500; color: var(--navy); }
.pitch__coords a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-strong);
  text-underline-offset: .28em;
  transition: text-decoration-color .3s ease;
}
.pitch__coords a:hover { text-decoration-color: currentColor; }
.pitch__cta { margin-top: 10px; }

/* ==========================================================================
   Adaptatif
   ========================================================================== */
@media (max-width: 1140px) {
  .header__nav,
  .header__contact { display: none; }
  .header__burger { display: block; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .story__grid,
  .story--reverse .story__grid { grid-template-columns: 1fr; }
  .story--reverse .story__media { order: 0; }
  .story__media { max-height: 620px; }

  .feature__grid { grid-template-columns: 1fr; }
  .feature__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }

  .duo { grid-template-columns: 1fr; }
  .tile--duo { height: auto; min-height: 0; aspect-ratio: 4 / 3; }

  .grid--6,
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .grid--3 li:last-child { grid-column: 1 / -1; }
  .grid--3 li:last-child .tile { aspect-ratio: 16 / 11; }

  .showrooms__list { grid-template-columns: 1fr 1fr; row-gap: 40px; }

  .legends { grid-template-columns: 1fr; }
  .legends__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .header .header__cta { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .header__logo { width: 136px; }
  .about__media { grid-template-columns: 1fr; gap: 8px; padding-inline: 0; }
  .tile__title { font-size: 23px; }
  .grid .tile__label { gap: 12px; padding: 14px; }
  .showrooms__list { grid-template-columns: 1fr; }
  .showroom img { aspect-ratio: 3 / 2; }
  .film { grid-template-columns: 108px 1fr; gap: 16px; }
  .film__title { font-size: 19px; }
  .insta__track { grid-auto-columns: 64vw; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .pitch__coords div { grid-template-columns: 1fr; gap: 0; }
  .pitch__cta { width: 100%; padding: 0 16px; white-space: normal; text-align: center; }
}

@media (max-width: 440px) {
  .header .header__cta { display: none; }
  :root { --giant: 22vw; }
  .tile__title { font-size: 19px; letter-spacing: .02em; }
  .grid .tile__label { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
