/* =========================================================
   TARSELINE PRODUCTIONS — by Apolline Tardieu
   Feuille de style principale (habillage "bleu nuit")

   Palette relevée sur la maquette :
     bleu nuit  #040d22 (avant : #03102d)   gris clair #e7e7e4   ardoise #5e6571
   Polices : Aquiline Three / Aquiline Two / Porcelain (écritures),
             Cormorant Garamond (texte et petites capitales)
   ========================================================= */

/* TAILLES DES TEXTES PAR CATÉGORIE
   Chaque taille de texte est multipliée par un facteur « --ts-<catégorie> » (1 = taille d'origine)
   défini dans css/tailles.css, fichier que l'éditeur (onglet « Tailles des textes ») réécrit.
   Catégories : base, menu, nom, accroche, titre-page, titre-section, eyebrow, texte, boutons,
   portfolio, boutique, fiche, contact, pied. Pour modifier une taille à la main : changez la valeur
   d'origine dans le calc(…) ou le facteur dans tailles.css. */
/* ---------- Polices hébergées sur le site (aucun appel à Google) ----------
   Polices choisies par Apolline (dossier « PoliceEcriture&CouleurCharles ») :
   - Aquiline Three : logo « Tarseline Productions »
   - Aquiline Two   : titres calligraphiques
   - Porcelain      : petite écriture (signature « Par Apolline Tardieu », pied de page)
   - Cormorant Garamond : texte, menus, boutons, petites capitales
   - Araneae        : logos (araignées, toiles) — voir plus bas */
/* Aquiline : métriques verticales imposées (celles de macOS). Sans cela Windows utilise d'autres valeurs (descente 83 % au lieu de 20 %) et tous les titres / fils d'araignée se décalent. */
@font-face{ font-family: "Aquiline Three"; ascent-override: 210.9%; descent-override: 20%; line-gap-override: 17.3%; src: url("../assets/fonts/aquiline-three.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face{ font-family: "Aquiline Two"; ascent-override: 210.9%; descent-override: 20%; line-gap-override: 17.3%; src: url("../assets/fonts/aquiline-two.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face{ font-family: "Porcelain"; src: url("../assets/fonts/porcelain.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face{ font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face{ font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face{ font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face{ font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root{
  --navy:      #020d24;   /* bleu nuit, plus sombre (échantillon fourni : rgb 4,13,34) */
  --navy-2:    #0b1a3a;
  --light:     #e7e7e4;
  --slate:     #5e6571;
  --white:     #fffeff;
  --paper:     #f3f2f1;

  --ink:       #0b1a3a;      /* texte sur fond clair */
  --ink-dim:   #545b6d;
  --text:      #e7e7e4;      /* texte sur fond bleu nuit */
  --text-dim:  #a9b0c0;

  --line:      rgba(231,231,228,.34);
  --line-dark: rgba(20,24,36,.28);

  --brand:    "Aquiline Three", "Aquiline Two", cursive;      /* logo */
  --script:   "Aquiline Two", "Cormorant Garamond", cursive;  /* titres */
  --script-sm:"Porcelain", "Aquiline Two", cursive;           /* petite écriture */
  --serif:    "Cormorant Garamond", Georgia, serif;           /* texte */
  --sc:       "Cormorant Garamond", Georgia, serif;           /* petites capitales (voir font-variant-caps) */

  --maxw: 1180px;
  --t-page: clamp(2.7rem, 5.6vw, 4rem);   /* taille des grands titres de page (identique sur toutes les pages) */
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--serif);
  font-size: calc(21px * var(--ts-base, 1));
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
p{ margin: 0 0 1em; }
h1, h2, h3, h4{ margin: 0 0 .5em; font-weight: 400; line-height: 1.15; }
h1, h2, h3{ font-family: var(--script); }
/* Les polices Aquiline déclarent une hauteur interne très grande (2,1 em) : sans correction le
   texte « tombe » sous sa ligne. On le remonte donc du décalage exact, ce qui fonctionne sur
   tous les navigateurs (Safari compris). Porcelain est à peine décalée : petit ajustement. */
h1, h2, h3{ line-height: 1.4; position: relative; top: -.665em; word-spacing: .14em; }
.bn-text, .big-name, .about-text .sign{ position: relative; top: -.62em; }
.product-name, .shop-title, .more h2, .lb-title, .product-missing h1{ top: 0; line-height: 1.15; word-spacing: normal; }   /* ces titres sont en Cormorant */
.big-by, .footer-col h4{ position: relative; top: .1em; }
h1{ font-size: calc(clamp(2.9rem, 6.6vw, 4.4rem) * var(--ts-titre-page, 1)); }
h2{ font-size: calc(clamp(2.5rem, 4.6vw, 3.4rem) * var(--ts-titre-section, 1)); }
h3{ font-size: calc(2.1rem * var(--ts-titre-section, 1)); }
button{ font: inherit; color: inherit; }

:focus-visible{ outline: 2px solid #8fb0ff; outline-offset: 3px; }
.on-light :focus-visible, .on-white :focus-visible, .site-header :focus-visible{ outline-color: #1d3fa8; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Logos : police d'icônes Aranea (assets/Araneae.ttf) ----------
   Chaque logo est un caractère de la police : il prend la couleur du texte
   et se redimensionne avec font-size. */
@font-face{
  font-family: "Aranea";
  src: url("../assets/Araneae.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: block;
}
.ic{
  display: inline-block; font-family: "Aranea"; font-style: normal; font-weight: 400;
  font-size: 2.8rem; line-height: 1; vertical-align: middle; flex: none;
}
.ic-spider::before{ content: "\f042"; }   /* araignée aux longues pattes (bloc « Découvrez », clients) */
.ic-mini::before{ content: "\f04a"; }     /* araignée (séparateur d'accueil, texte « L'artiste ») */
.ic-hang::before{ content: "\f077"; }     /* toile avec fil (titres « L'artiste », « Contact ») */
.ic-web::before{ content: "\f061"; }      /* toile avec araignée (paire de logos) */
.ic-thread::before{ content: "\f036"; }   /* araignée suspendue à son fil */
.ic-web2::before{ content: "\f04b"; }     /* toile */
.ic-strand::before{ content: "\f077"; }   /* toile avec fil */
/* araignée suspendue à un fil : au bout d'un titre (.hang-wrap > .hang-end) ou sous le tiret (.dash-hang) */
.hang-wrap{ position: relative; display: inline-block; }
.ic.hang-end{ position: relative; display: inline-block; width: 0; height: 0; vertical-align: top; font-size: .85em; }   /* point d'ancrage de largeur nulle placé juste après le dernier mot : il suit le texte même si le nom passe sur deux lignes */
.ic.hang-end::before{ position: absolute; left: -.6em; top: 1.66em; }   /* le fil part de la pointe finale du dernier « s » : l'araignée y est accrochée */
.letter-hang{ position: relative; display: inline; }   /* inline : ne coupe jamais le mot */
.ic.letter-hang-ic{ position: absolute; left: 50%; top: 2.3em; transform: translateX(-50%); font-size: .8em; }   /* le fil part du bas de la lettre, l'araignée descend en dessous */
.ic-pair{ display: inline-flex; align-items: center; justify-content: center; gap: .5rem; margin-bottom: .5rem; }
.ic-pair .ic{ font-size: 4.8rem; }   /* toile : +50 % */
.arr{
  display: inline-block; background: currentColor; width: 32px; height: 10px;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10' fill='none' stroke='black' stroke-width='1.1'><path d='M0 5H32M28 1L32 5L28 9'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10' fill='none' stroke='black' stroke-width='1.1'><path d='M0 5H32M28 1L32 5L28 9'/></svg>") center / contain no-repeat;
}
.dbl-line{ height: 5px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; opacity: .55; }
.divider{
  display: flex; align-items: center; gap: 1rem;
  max-width: 1080px; margin: 0 auto; padding: 0 28px; color: var(--text);
}
.divider .dbl-line{ flex: 1; }
.divider .ic{ font-size: 2rem; }

/* ---------- Boutons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: .7em;
  padding: .6em 3.3em;
  border: 1px solid currentColor; border-radius: 0;
  background: rgba(255,255,255,.1); color: inherit;   /* fond blanc à 10 % d'opacité ; texte et cadre clairs sur fond sombre, bleu nuit sur fond clair */
  font-family: var(--serif); font-weight: 500; font-size: calc(1.248rem * var(--ts-boutons, 1)); letter-spacing: .2em; text-transform: uppercase;   /* format « Parlons-en ! » (+30 %, puis +20 %) pour tous les boutons */
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover, .on-light .btn:hover, .on-white .btn:hover{ background: rgba(255,255,255,.25); }
.btn-solid{ background: var(--navy); color: var(--light); border-color: var(--navy); }
.btn-solid:hover, .on-light .btn-solid:hover, .on-white .btn-solid:hover{ background: var(--navy-2); }
.btn-solid[disabled]{ background: var(--slate); border-color: var(--slate); cursor: not-allowed; opacity: .8; }
.btn-block{ width: 100%; justify-content: center; }

/* ---------- Sections claires / blanches / ardoise ---------- */
.on-light{ background: var(--light); color: var(--ink); }
.on-light p{ color: var(--navy); }   /* paragraphes sur fond clair : bleu nuit */
.on-white{ background: var(--white); color: var(--ink); }
.on-slate{ background: var(--slate); color: var(--light); }
.eyebrow{
  display: block;
  font-family: var(--serif); font-weight: 500; font-size: calc(.92rem * var(--ts-eyebrow, 1));
  letter-spacing: .3em; text-transform: uppercase;
  color: inherit; opacity: .8; margin-bottom: 1em;
}
.eyebrow.dots::before, .eyebrow.dots::after{ content: "•"; margin: 0 .9em; }
.sc{ font-family: var(--sc); font-variant-caps: small-caps; font-weight: 500; letter-spacing: .04em; }

/* =========================================================
   EN-TÊTE
   ========================================================= */
.site-header{
  --nav-fs: calc(clamp(1.188rem, 2.497vw, 2.288rem) * var(--ts-menu, 1));   /* taille du texte du menu et du sélecteur de langue (+10 % : 2,497 vw = 32 px à 1280 px) */
  position: relative; z-index: 60;   /* défile avec la page (non fixe) ; z-index pour que les sous-menus passent au-dessus */
  background: var(--light); color: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
/* Logo à gauche ; à droite : menu puis sélecteur de langue (et bouton ☰ sur mobile) */
.topbar-inner{
  max-width: none; margin: 0; padding: 12px 5vw;   /* logo et menu à 5 % du bord gauche / droit de l'écran */
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 1.6rem;
}
.brand{ grid-column: 1; grid-row: 1; justify-self: start; line-height: 1; padding: 0; }
.mainnav{ grid-column: 2; grid-row: 1; justify-self: end; }
.topbar-tools{ grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 1rem; }
.brand-logo{ display: block; height: 120px; width: auto; }   /* −10 % (133 px avant) */   /* logo araignée à la place de « TP » + Araneae */

.lang{ position: relative; }
.lang-btn{ background: none; border: 0; cursor: pointer; font-family: inherit; font-weight: 600; font-size: var(--nav-fs); line-height: 1.15; color: var(--ink); padding: 3px 4px; white-space: nowrap; }   /* même taille que les onglets du menu */
.lang-menu{
  display: none; position: absolute; right: 0; top: 100%;
  background: var(--light); border: 1px solid var(--line-dark);
  min-width: 170px; padding: .4rem 0; z-index: 5; box-shadow: 0 10px 30px rgba(4,13,34,.18);
}
.lang-menu li a{ display: block; padding: .45rem 1.2rem; font-size: calc(1.265rem * var(--ts-menu, 1)); white-space: nowrap; }
.lang-menu li a:hover, .lang-menu li a[aria-current]{ background: rgba(20,24,36,.08); }
.lang:hover .lang-menu, .lang:focus-within .lang-menu, .lang.open .lang-menu{ display: block; }
.caret{
  display: inline-block; width: 0; height: 0; margin-left: .3em; vertical-align: middle;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
}

.nav-links{ display: flex; justify-content: flex-end; gap: clamp(1rem, 2.3vw, 3rem); }
.nav-links > li{ flex-shrink: 0; }
.nav-links > li{ position: relative; }
.nav-links a{
  display: inline-block; font-weight: 600; font-size: var(--nav-fs); line-height: 1.15; padding: 3px 0; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.nav-links > li > a:hover, .nav-links a.active{ border-bottom-color: var(--ink); }
.has-sub > a::after{
  content: ""; display: inline-block; margin-left: .4em; vertical-align: middle;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
}
.sub-toggle{ display: none; }
.sub{
  display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  min-width: 230px; padding: .5rem 0;
  background: var(--light); border: 1px solid var(--line-dark);
  box-shadow: 0 12px 30px rgba(4,13,34,.2); z-index: 10;
}
.sub a{ display: block; padding: .45rem 1.2rem; font-weight: 500; border: 0; white-space: nowrap; }
.sub a:hover, .sub a[aria-current]{ background: rgba(20,24,36,.08); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub{ display: block; }

.nav-toggle{
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span{ display: block; width: 24px; height: 1.5px; background: var(--ink); }

@media (max-width: 960px){
  .site-header{ --nav-fs: calc(1.54rem * var(--ts-menu, 1)); }
  .topbar-inner{ grid-template-columns: 1fr auto auto; padding: 10px 20px; }
  .brand{ grid-column: 1; }
  .topbar-tools{ grid-column: 2; }
  .nav-toggle{ display: flex; }
  .mainnav{ display: none; grid-column: 1 / -1; grid-row: 2; justify-self: stretch; margin: 10px -20px -10px; border-top: 1px solid var(--line-dark); }
  .nav-open .mainnav{ display: block; max-height: calc(100vh - 140px); overflow-y: auto; }
  .nav-links{ flex-direction: column; gap: 0; }
  .nav-links > li{ display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line-dark); }
  .nav-links a{ padding: 14px 28px; line-height: 1.4; flex: 1; border-bottom: 0; font-size: calc(1.54rem * var(--ts-menu, 1)); }
  .has-sub > a::after{ display: none; }
  .sub-toggle{ display: block; background: none; border: 0; padding: 14px 24px; cursor: pointer; color: inherit; }
  .sub{ position: static; transform: none; width: 100%; min-width: 0; box-shadow: none; border: 0; background: rgba(20,24,36,.05); padding: 0; }
  .sub a{ padding: 11px 44px; white-space: normal; }
  .has-sub:hover .sub, .has-sub:focus-within .sub{ display: none; }
  .has-sub.open .sub{ display: block; }
  .lang-menu{ right: -8px; }
}
@media (max-width: 520px){
  .topbar-inner{ padding: 10px 14px; }
  .brand-logo{ height: 83px; }
  .topbar-tools{ gap: .4rem; }
  .mainnav{ margin: 10px -14px -10px; }
}

/* =========================================================
   ACCUEIL
   ========================================================= */
.brand-band{ text-align: center; padding: 4.4rem 1rem 1.6rem; position: relative; }   /* marge haute : le nom ne colle pas au bandeau des menus */
.brand-band .big-name{ font-family: var(--brand); font-size: calc(clamp(2.86rem, 7.7vw, 5.06rem) * var(--ts-nom, 1)); line-height: 1.15; margin: 0; }   /* +10 % */
@media (max-width: 520px){ .brand-band .big-name{ font-size: calc(2.53rem * var(--ts-nom, 1)); } }
.brand-band .brand-lockup{ display: inline-block; text-align: right; }
.brand-band .brand-lockup .big-name{ text-align: center; }
.brand-band .big-by{ font-family: var(--script-sm); font-size: calc(2.31rem * var(--ts-nom, 1)); color: var(--text-dim); margin: .15rem 7% 0 0; }   /* +10 %, comme le nom */
.brand-band .tagline{ font-size: calc(1.235rem * var(--ts-accroche, 1)); letter-spacing: .12em; text-transform: uppercase; margin: 1rem 0 0; color: var(--text); }

.hero{
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: clamp(280px, 40vw, 500px); padding: 3rem 1.5rem;
  background: var(--navy) url("../assets/img/hero-home.jpg") center / cover no-repeat;
}
.hero::before{ content: ""; position: absolute; inset: 0; background: rgba(4,13,34,.35); }
.hero-text{ position: relative; max-width: 940px; }
.hero-text::before, .hero-text::after{ content: ""; display: block; height: 1px; background: var(--line); }
.hero-text::before{ margin-bottom: 2rem; }
.hero-text::after{ margin-top: 2rem; }
.hero-text p{
  margin: 0; color: var(--light);
  font-family: var(--sc); font-variant-caps: small-caps; font-size: calc(clamp(1.82rem, 3.64vw, 2.73rem) * var(--ts-accroche, 1)); letter-spacing: .06em; line-height: 1.3;   /* +30 % */
  text-shadow: 0 2px 14px rgba(4,13,34,.7);
}

.section{ padding: 4.5rem 0; }

.feature{ width: 94%; max-width: none; margin: 0 auto; display: grid; align-items: stretch; }   /* bloc 1 : marges latérales = 3 % de la largeur de la page de chaque côté, quelle que soit la taille de l'écran (plus de plafond en pixels) */
/* Encarts de l'accueil : proportions de la maquette (hauteur ≈ moitié de la largeur), textes à l'échelle de la page */
.feature-a{ grid-template-columns: 1fr fit-content(45%); margin-top: 3.5rem; }   /* la colonne de la photo a la largeur de la photo : le texte est centré sur tout le gris restant */
.feature-a .panel, .feature-b .txt{ background: var(--slate); color: var(--light); padding: max(1.54rem, 3.3vw) max(1.32rem, 3.52vw);   /* marges autour du texte +10 % */ display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.feature p{ color: var(--text); font-size: calc(max(1.20375rem, 1.755vw) * var(--ts-texte, 1)); line-height: 1.55; max-width: none; margin-top: 0; }   /* Textes, icônes et marges des deux blocs : proportionnels à la largeur de la page (plus de plafond), comme la photo. */ /* largeur = tout l'espace du bloc (moins les marges), qui varie avec la largeur de la page et la place prise par la photo ; +30 % puis +25 % (blocs de l'accueil : eyebrow, titre, texte) */
.feature h2{ font-size: calc(max(2.1375rem, 4.275vw) * var(--ts-titre-section, 1)); margin: .1em 0 .5em; }
.feature .eyebrow{ font-size: calc(max(.765rem, 1.06875vw) * var(--ts-eyebrow, 1)); margin: .5rem 0 .1rem; }
.feature .ic{ font-size: max(2.2rem, 4.4vw); }
.feature .ic-pair .ic{ font-size: max(2.64rem, 5.28vw); }   /* toile d'araignée du 2e bloc : −20 % */
.feature .btn{ margin-top: .8rem; }
/* Photos des blocs de l'accueil : JAMAIS rognées ni étirées. Elles gardent leur format d'origine (hauteur plafonnée à 680 px), collées au bord extérieur du bloc ;
   le reste du cadre prend la couleur grise du bloc. */
.feat-img{ background: var(--slate); display: flex; align-items: center; justify-content: center; }
.feat-img img{ display: block; width: auto; max-width: 100%; height: auto; max-height: 680px; }
/* Mode « ajusté » (posé par js/home.js sur écran large) : la photo a exactement la hauteur du bloc → aucune bande grise au-dessus ni en dessous */
.feature-a.fit{ grid-template-columns: 1fr auto; }
.feature-b.fit{ grid-template-columns: auto 1fr; }
.feature.fit .feat-img img{ width: auto; height: var(--fit-h); max-width: none; max-height: none; }
.feature-a .feat-img{ justify-content: flex-end; }     /* bloc 1 : la photo est collée au bord droit du bloc gris */
.feature-b .feat-img{ justify-content: flex-start; }   /* bloc 2 : la photo est collée au bord gauche du bloc gris */
.feature-b{ grid-template-columns: fit-content(45%) 1fr; width: 100%; max-width: none; margin-top: 3.5rem; margin-bottom: 1rem; }   /* maquette : bloc 2 = toute la largeur */
.feature-b .small-rule{ margin: .6rem auto 1rem; }
@media (max-width: 1024px){ .feature-a, .feature-b, .feature-a.fit, .feature-b.fit{ grid-template-columns: 1fr; } .feature-a .feat-img, .feature-b .feat-img{ justify-content: center; }   /* photo centrée au-dessus du texte */ .feature.fit .feat-img img{ width: 100%; height: auto; } }   /* photo au-dessus du texte */
.small-rule{ width: 70px; height: 1px; background: var(--line); margin: .8rem auto 1.4rem; border: 0; }

.center-block{ max-width: 1120px; margin: 0 auto; text-align: center; padding: 3.5rem 28px; }
.center-block h2{ font-size: calc(clamp(3.25rem, 5.98vw, 4.42rem) * var(--ts-titre-section, 1)); }   /* +30 % */
.center-block p{ color: var(--text); font-size: calc(1.7rem * var(--ts-texte, 1)); }   /* +30 % */
.center-block::before, .center-block::after{ content: ""; display: block; height: 1px; background: var(--line); }
.center-block::before{ margin-bottom: 2.6rem; }
.center-block::after{ margin-top: 2rem; }

.cat-band{ background: var(--slate); padding: 3.5rem 0 3rem; }
.cat-grid{ width: 70%; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; }   /* maquette : 70 % */
.cat-card{ display: flex; flex-direction: column; align-items: flex-start; text-align: left; }   /* textes alignés sur le bord gauche de l'image */
.cat-frame{ position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; background: #ececea; }
.cat-frame img{
  position: absolute; inset: 1.4rem;
  width: calc(100% - 2.8rem); height: calc(100% - 2.8rem);
  object-fit: contain; object-position: center;
  box-shadow: none;
}
.cat-card h3{ font-family: var(--serif); font-size: calc(1.95rem * var(--ts-titre-section, 1)); font-weight: 500; margin: calc(1.1rem + 10px) 0 .9rem; color: var(--light); white-space: nowrap; }   /* +10 px entre l image et le titre */

.clients{ text-align: center; padding: 4rem 0 4.5rem; }
.clients h2{ margin-bottom: 1.6rem; }
.clients > .ic{ font-size: 3.64rem; }   /* araignée au-dessus du titre : +30 % */
.clients-wrap{ position: relative; width: 96%; max-width: none; margin: 0 auto; padding: 0 20px; }   /* le carrousel suit la largeur de la page (2 % de marge de chaque côté), plus de plafond à 1240 px */
.clients-track{
  display: flex; gap: 16px; overflow-x: auto;
  scrollbar-width: none; padding: 4px 0;
}
.clients-track::-webkit-scrollbar{ display: none; }
.clients-track{ -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.client{ flex: 0 0 auto; text-align: left; margin: 0; }   /* largeur = celle de l'image : les œuvres gardent leur format d'origine (jamais rognées en carré) */
.client a{ display: block; }
.client img{ display: block; height: clamp(150px, 19vw, 200px); width: auto; max-width: none; background: #fff; }
.client span{ display: block; margin-top: .5rem; color: var(--text-dim); font-size: calc(1.15rem * var(--ts-texte, 1)); }
.car-btn{
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(4,13,34,.72); color: var(--light); cursor: pointer; font-size: 1.4rem; line-height: 1; z-index: 2;
}
.car-btn[hidden]{ display: none; }
.car-prev{ left: 4px; }
.car-next{ right: 4px; }

.cta-light{ text-align: center; padding: 4.5rem 28px; position: relative; }
/* petits encarts d'angle (toile + équerre) comme sur la maquette : en haut à gauche, et en miroir en haut à droite */
.cta-light::before, .cta-light::after{
  content: "\f077"; font-family: "Aranea"; font-size: 4.8rem; line-height: 1; white-space: nowrap;
  position: absolute; top: 1.1rem; left: 1.4rem; width: 2.2rem; height: 2.2rem; box-sizing: border-box;
  padding: .5rem 0 0 .4rem; border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink);
  color: rgba(20,24,36,.5); pointer-events: none;
}
.cta-light::after{ left: auto; right: 1.4rem; transform: scaleX(-1); }
@media (max-width: 720px){ .cta-light::before, .cta-light::after{ font-size: 3rem; width: 1.5rem; height: 1.5rem; top: .7rem; padding: .3rem 0 0 .3rem; } .cta-light::before{ left: .8rem; } .cta-light::after{ right: .8rem; } }
.cta-light h2{ font-size: calc(clamp(2.5rem, 4.6vw, 3.5rem) * var(--ts-titre-section, 1)); }
.cta-light p{ max-width: 620px; margin: 0 auto 1.8rem; }

@media (max-width: 860px){
  .feature-a{ margin-top: 2.5rem; }
  .cat-grid{ grid-template-columns: 1fr; width: 88%; max-width: 420px; }
}

/* =========================================================
   TITRES DE PAGE
   ========================================================= */
.page-title{
  display: flex; align-items: center; gap: 1.6rem;
  max-width: 1100px; margin: 0 auto; padding: 2.4rem 28px 1.6rem;
}
.page-title h1{ margin: 0; white-space: nowrap; font-size: calc(var(--t-page) * var(--ts-titre-page, 1)); }
.page-title .dbl-line{ flex: 1; color: var(--text); }
.page-title .ic{ font-size: 3.4rem; }
@media (max-width: 720px){
  .page-title{ padding-left: 16px; padding-right: 16px; gap: .8rem; }
  .page-title h1{ white-space: normal; text-align: center; margin: 0 auto; line-height: 1.7; }
  .page-title .dbl-line{ display: none; }
}

.head-light{ text-align: center; padding: 3rem 28px 3.2rem; }
.head-light h1, .head-light h2{ font-size: calc(var(--t-page) * var(--ts-titre-page, 1)); margin-bottom: .3em; }   /* même taille que les titres de page (.page-title h1) sur toutes les pages */
.head-light p{ max-width: 820px; margin: 0 auto 1em; font-size: calc(1.4rem * var(--ts-texte, 1)); }
.head-light p:last-child{ margin-bottom: 0; }
[data-page="services"] .head-light p{ font-size: calc(1.82rem * var(--ts-texte, 1)); max-width: 1060px; }   /* page Services : texte descriptif +30 % */
.head-light .eyebrow{ font-size: calc(1.38rem * var(--ts-eyebrow, 1)); }   /* petit titre au-dessus (« SERVICES », « UNE GRANDE SENSIBILITÉ »…) : même taille partout */
.head-light .eyebrow, .head-light h1, .head-light h2{ color: var(--navy); opacity: 1; }   /* même bleu nuit que le paragraphe */
.head-light .ic-pair{ color: var(--ink); }

/* =========================================================
   MOSAÏQUES (portfolio, animation) & PHOTOS
   ========================================================= */
.masonry{ column-gap: 14px; padding: 0 0 4rem; width: 96%; max-width: 1700px; margin: 0 auto; }
#gallery-grid{ width: 89%; margin-top: 2.6rem; }   /* maquette : portfolio = 89 % ; marge sous le titre (l'araignée suspendue ne touche pas les images) */
.masonry.cols-3{ column-count: 3; }
.masonry.cols-4{ column-count: 4; }
@media (max-width: 900px){ .masonry.cols-4{ column-count: 3; } }
@media (max-width: 640px){ .masonry.cols-3, .masonry.cols-4{ column-count: 2; } }
.tile{
  position: relative; display: block; width: 100%;
  margin: 0 0 14px; padding: 0; border: 0; break-inside: avoid;
  background: var(--slate); cursor: zoom-in; overflow: hidden;
}
.tile img{ width: 100%; height: auto; transition: transform .5s ease; }
.tile video{ display: block; width: 100%; height: auto; }
.tile:hover img{ transform: scale(1.03); }
/* vidéo : petit bouton ▶ sur la vignette */
.tile-play{ position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(4,13,34,.62); border: 1.5px solid rgba(231,231,228,.85); pointer-events: none; }
.tile-play::before{ content: ""; position: absolute; left: 22px; top: 17px; border-left: 17px solid var(--light); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.tile-cap{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; text-align: left;
  background: linear-gradient(transparent, rgba(4,13,34,.88));
  font-size: calc(1.05rem * var(--ts-portfolio, 1)); opacity: 0; transition: opacity .25s ease;
}
.tile:hover .tile-cap, .tile:focus-visible .tile-cap{ opacity: 1; }
.ph{
  width: 100%; background: var(--slate); color: var(--light);
  display: grid; place-items: center; font-size: 1.7rem;
}

.video-block{ width: 100%; margin: 0; }   /* vidéo pleine largeur */
#video-mount{ position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 92vh; background: #000; }
#video-mount iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#video-mount.is-empty{ display: grid; place-items: center; background: var(--slate); color: var(--light); font-size: 1.7rem; }
/* en local (fichier ouvert directement) : image en fond + logo YouTube cliquable à la place du lecteur */
.video-poster{
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
  background: #000 url("../assets/img/video-apercu.jpg") center / contain no-repeat;   /* affiche remise entière (format d'origine), sans recadrage */
}
.video-poster svg{ width: clamp(76px, 9vw, 130px); height: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); transition: transform .2s ease; }
.video-poster:hover svg, .video-poster:focus-visible svg{ transform: scale(1.1); }
button.video-poster{ width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; font: inherit; }
.video-consent{ position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.2rem .9rem; background: linear-gradient(transparent, rgba(4,13,34,.92)); color: var(--light); font-size: 1.1rem; line-height: 1.35; text-align: center; }

.cta-strip{ text-align: center; padding: 3.5rem 28px; }
.cta-strip h2{ font-size: calc(clamp(2.3rem, 4.2vw, 3.2rem) * var(--ts-titre-section, 1)); }
.cta-strip p{ max-width: 560px; margin: 0 auto 1.6rem; }

/* =========================================================
   PAGES LÉGALES (mentions légales, confidentialité, CGV)
   ========================================================= */
[data-page="legal"] .page-title h1{ white-space: normal; text-align: center; }
.legal{ padding: 3rem 28px 4.5rem; }
.legal-in{ max-width: 900px; margin: 0 auto; overflow-wrap: anywhere; }   /* adresses e-mail et mots longs : retour à la ligne plutôt que débordement */
.legal h2{ font-family: var(--serif); font-weight: 600; font-size: calc(2rem * var(--ts-titre-section, 1)); line-height: 1.25; top: 0; word-spacing: normal; margin: 2.2rem 0 .6rem; color: var(--ink); }
.legal h2:first-child{ margin-top: 0; }
.legal p, .legal li{ color: var(--navy); font-size: calc(1.4rem * var(--ts-texte, 1)); line-height: 1.6; }
.legal p{ margin: 0 0 1em; }
.legal ul{ margin: 0 0 1.2em; padding-left: 1.3em; }
.legal li{ margin-bottom: .6em; }
.legal a{ border-bottom: 1px solid var(--line-dark); }
.legal .maj{ margin-top: 2.4rem; color: var(--slate); font-size: calc(1.1rem * var(--ts-texte, 1)); }

/* =========================================================
   LIGHTBOX (visionneuse à flèches)
   ========================================================= */
.lightbox{
  position: fixed; inset: 0; z-index: 300;
  background: var(--navy); display: none;
}
.lightbox.open{ display: block; }
/* Zone qui défile : 1er écran = image principale + infos ; en dessous, les images supplémentaires (schémas) */
.lb-scroll{ position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; }
.lb-scroll:focus{ outline: none; }
.lb-first{ height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.lb-extras{ display: flex; flex-direction: column; align-items: center; gap: 2.2rem; padding: 2.4rem max(18px, 5vw) 4rem; background: var(--navy); }
.lb-extras img{ display: block; max-width: 100%; height: auto; }
.lb-extras video{ display: block; width: 100%; height: auto; max-height: 90vh; background: #000; }
.lb-more{
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .5rem 1.1rem;
  background: rgba(4,13,34,.72); color: var(--light); border: 1px solid rgba(231,231,228,.45); border-radius: 999px;
  font: inherit; font-size: 1.05rem; cursor: pointer;
}
.lb-more:hover{ background: rgba(4,13,34,.9); }
.lb-more i{ display: block; width: 11px; height: 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: lb-bounce 1.6s ease-in-out infinite; }
@keyframes lb-bounce{ 0%,100%{ transform: translateY(-2px) rotate(45deg); } 50%{ transform: translateY(3px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce){ .lb-more i{ animation: none; } }
.lb-close{
  position: absolute; top: 10px; right: 18px; z-index: 5;
  background: rgba(4,13,34,.6); border: 0; color: var(--light);
  font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 0 .4rem;
}
.lb-stage{ position: relative; flex: 1; min-height: 0; display: flex; align-items: stretch; justify-content: center; padding: 0; }   /* l'image occupe toute la hauteur disponible */
.lb-media{ max-width: 100%; height: 100%; display: flex; }
.lb-media img{ max-width: 100%; height: 100%; width: auto; object-fit: contain; }
.lb-media.is-youtube{ width: 100%; }
.lb-media iframe{ width: 100%; height: 100%; border: 0; background: #000; }
.lb-media .video-poster{ position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; max-height: 100%; }
.lb-media video{ max-width: 100%; height: 100%; width: auto; object-fit: contain; background: #000; }
.lb-media .ph{ width: min(900px, 80vw); border: 1px solid rgba(255,255,255,.85); }
.lb-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 64px; border: 0; background: transparent; cursor: pointer; color: var(--light);
}
.lb-nav[hidden]{ display: none; }
.lb-nav i{ display: block; width: 14px; height: 14px; margin: auto; border-top: 2px solid currentColor; border-left: 2px solid currentColor; }
.lb-prev{ left: 8px; } .lb-prev i{ transform: rotate(-45deg); }
.lb-next{ right: 8px; } .lb-next i{ transform: rotate(135deg); }
.lb-nav{ background: rgba(4,13,34,.45); z-index: 4; }
.lb-nav:hover{ background: rgba(4,13,34,.75); }
.lb-info{
  background: var(--light); color: var(--ink);
  display: grid; grid-template-columns: 1fr clamp(260px, 24vw, 460px); gap: 3rem;   /* description à gauche, catégorie / technique collées à droite */
  padding: 1rem max(24px, 3vw) 1.1rem; max-height: 40vh; overflow-y: auto;   /* marges de chaque côté = 3 % de la largeur de l'écran */
}
.lb-title{ font-family: var(--sc); font-variant-caps: small-caps; font-size: calc(2.025rem * var(--ts-portfolio, 1)); font-weight: 600; margin: 0 0 .3em; letter-spacing: .03em; }   /* +50 % */
.lb-text{ color: var(--navy); font-size: calc(1.68rem * var(--ts-portfolio, 1)); margin-bottom: .8em;  text-align: justify; hyphens: auto; }   /* texte justifié */   /* +50 % */
.lb-info-side h4{ font-family: var(--sc); font-variant-caps: small-caps; font-size: calc(1.65rem * var(--ts-portfolio, 1)); font-weight: 600; margin: 0 0 .2em; }   /* +50 % */
.lb-info-side p{ color: var(--navy); font-size: calc(1.68rem * var(--ts-portfolio, 1)); margin: 0;  text-align: justify; hyphens: auto; }   /* +50 % */
.lb-info-side hr{ border: 0; border-top: 1px solid var(--line-dark); margin: .8rem 0; }
[hidden]{ display: none !important; }   /* l'attribut hidden doit toujours masquer (sinon .btn / .ic… le réaffichent) */
.lb-cta:hover{ background: rgba(20,24,36,.08); }
@media (max-width: 720px){
  .lb-nav{ width: 34px; }
  .lb-info{ grid-template-columns: 1fr; gap: 1rem; max-height: 38vh; }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-list{ width: 70%; min-width: min(100%, 560px); max-width: 1000px; margin: 0 auto; padding: 3.5rem 0 4rem; }   /* maquette : 70 % */
.service{
  display: grid; grid-template-columns: 1fr auto; gap: 1.2rem 2rem; align-items: end;
  padding: 2rem 0; border-bottom: 2px solid rgba(94,101,113,.9);
}
.service:first-child{ padding-top: 0; }
.service h2{ font-size: calc(clamp(2.73rem, 4.42vw, 3.51rem) * var(--ts-titre-section, 1)); margin-bottom: .3em; }   /* +30 % */
.service p{ color: var(--text); font-size: calc(1.652rem * var(--ts-texte, 1)); margin-bottom: .6em; max-width: 700px; }   /* +40 % */
.service .btn{ white-space: nowrap; }
.drawing-band{ height: clamp(140px, 22vw, 230px); background: var(--slate) url("../assets/img/banner-shop.jpg") center / cover; }
@media (max-width: 720px){ .service{ grid-template-columns: 1fr; align-items: start; } .services-list{ width: 88%; min-width: 0; } .service .btn{ white-space: normal; max-width: 100%; justify-content: center; text-align: center; } }   /* très petits écrans (320 px) : le bouton passe à la ligne au lieu de déborder */

/* =========================================================
   BOUTIQUE
   ========================================================= */
.shop-hero{
  position: relative; text-align: center; padding: 3.6rem 1rem 3.2rem;
  background: var(--navy) url("../assets/img/banner-shop.jpg") center / cover no-repeat;
}
.shop-hero::before{ content: ""; position: absolute; inset: 0; background: rgba(4,13,34,.4); }
.shop-hero > *{ position: relative; }
.shop-hero h1{ margin: 0; font-size: calc(clamp(3.52rem, 9.46vw, 5.5rem) * var(--ts-titre-page, 1)); display: inline-flex; align-items: center; gap: 1.6rem; }
.shop-hero .sub-line{ font-size: calc(1.495rem * var(--ts-boutique, 1)); letter-spacing: .04em; margin: .6rem 0 0; color: var(--light); }
.shop-hero .ic{ color: var(--light); font-size: 3.2rem; }

.shop-body{ padding: 2.6rem 0 4.5rem; }
.shop-toolbar{
  width: 90%; max-width: 1500px; margin: 0 auto 1.4rem; padding: 0;
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem;
}
.shop-title{ font-family: var(--serif); font-size: calc(3.15rem * var(--ts-boutique, 1)); font-weight: 500; margin: 0; color: var(--ink); }   /* +50 % */
.shop-tabs{ display: flex; gap: .4rem 2rem; flex-wrap: wrap; font-size: calc(1.65rem * var(--ts-boutique, 1)); margin-top: .5rem; }   /* +50 % */
.shop-tabs a{ color: var(--ink-dim); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.shop-tabs a:hover, .shop-tabs a[aria-current]{ color: var(--ink); border-bottom-color: var(--ink); }
.search{
  display: flex; align-items: center; gap: .6rem; width: min(100%, 270px);
  border: 1px solid var(--ink); padding: .5rem .8rem; background: var(--white);
}
.search svg{ flex: none; }
.search input{ border: 0; background: transparent; width: 100%; font: inherit; color: var(--ink); outline: none; }
.search input::placeholder{ color: var(--ink-dim); }
.count{ width: 90%; max-width: 1500px; margin: 0 auto 1.4rem; padding: 0; color: var(--ink-dim); font-size: calc(1.1rem * var(--ts-boutique, 1)); }

.p-grid{ width: 90%; max-width: 1500px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 1.8rem; }
.p-card{ display: block; color: var(--ink); }
.p-media{ position: relative; aspect-ratio: 1; background: var(--paper); display: grid; place-items: center; font-size: 1.6rem; color: var(--ink); overflow: hidden; }
.p-media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }   /* image entière, jamais rognée */
.p-card:hover .p-media img{ transform: scale(1.03); }
.p-info{ padding: .9rem 0 1rem; border-bottom: 1px solid var(--line-dark); }
.p-name{ font-size: calc(1.2rem * var(--ts-boutique, 1)); }
.p-meta{ color: var(--ink-dim); font-size: calc(1.1rem * var(--ts-boutique, 1)); line-height: 1.35; }
.p-price{ font-size: calc(1.3rem * var(--ts-boutique, 1)); margin-top: .55rem; }
.p-card.sold .p-media{ opacity: .8; }
.p-sold{
  position: absolute; top: 12px; left: 12px; background: var(--navy); color: var(--light);
  font-size: calc(.78rem * var(--ts-boutique, 1)); letter-spacing: .2em; text-transform: uppercase; padding: .3em .8em;
}
.empty-note{ max-width: 1120px; margin: 0 auto; padding: 2rem 28px; color: var(--ink-dim); text-align: center; }
@media (max-width: 860px){ .p-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .p-grid{ grid-template-columns: 1fr; } .shop-hero h1{ gap: .8rem; } }

/* ---------- Fiche produit ---------- */
.product{
  max-width: 1100px; margin: 0 auto; padding: 2.6rem 28px 3rem;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.2rem; align-items: start; color: var(--ink);
}
.gallery-main{ background: var(--paper); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery-main.ph-main{ font-size: 2rem; }
.gallery-main{ position: relative; }
.gallery-main img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.thumbs{ display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs[hidden]{ display: none; }
.thumb{ width: 78px; height: 78px; padding: 0; border: 1px solid transparent; background: var(--paper); cursor: pointer; }
.thumb img{ width: 100%; height: 100%; object-fit: contain; }
.thumb.active{ border-color: var(--ink); }
.crumbs{ font-size: calc(1.4rem * var(--ts-fiche, 1)); margin-bottom: 1rem; }   /* fiche produit : textes +30 % */
.crumbs a{ color: var(--ink-dim); border-bottom: 1px solid var(--line-dark); }
.product-name{ font-family: var(--serif); font-weight: 600; font-size: calc(clamp(2.6rem, 5.2vw, 3.38rem) * var(--ts-fiche, 1)); margin: 0 0 .2em; }
.product-price{ font-size: calc(2.21rem * var(--ts-fiche, 1)); margin: 0 0 .3em; }
.product-meta{ color: var(--ink-dim); margin-bottom: 1.4rem; font-size: calc(1.7rem * var(--ts-fiche, 1)); }
.options[hidden]{ display: none; }
.opt{ border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.opt legend, .opt-label{ font-family: var(--sc); font-variant-caps: small-caps; font-size: calc(1.43rem * var(--ts-fiche, 1)); font-weight: 600; margin-bottom: .5rem; padding: 0; display: block; }
.fmt-grid, .frame-grid{ display: grid; gap: 8px; }
.fmt-grid{ grid-template-columns: repeat(3, 1fr); }
.frame-grid{ grid-template-columns: repeat(2, 1fr); }
.fmt-grid label, .frame-grid label{ position: relative; cursor: pointer; display: block; }
.fmt-grid input, .frame-grid input{ position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fmt, .chip{ display: block; border: 1px solid var(--line-dark); text-align: center; padding: .7rem .4rem; transition: border-color .2s ease, background .2s ease; }
.fmt{ display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.fmt-shape-wrap{ display: flex; align-items: flex-end; justify-content: center; height: 62px; margin-bottom: .3rem; }
.fmt-shape{ display: block; border: 1px solid var(--ink); background: var(--paper); }
.fmt-label{ font-size: calc(1.4rem * var(--ts-fiche, 1)); }
.fmt-price{ color: var(--ink-dim); font-size: calc(1.37rem * var(--ts-fiche, 1)); }
.chip .sup{ font-style: normal; color: var(--ink-dim); font-size: calc(1.2rem * var(--ts-fiche, 1)); }
input:checked + .fmt, input:checked + .chip{ border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
input:focus-visible + .fmt, input:focus-visible + .chip{ outline: 2px solid #1d3fa8; outline-offset: 2px; }
.buy-btn{ width: 100%; justify-content: center; margin-top: .4rem; }
.buy-btn.is-disabled{ background: var(--slate); border-color: var(--slate); cursor: not-allowed; opacity: .85; pointer-events: none; }
.buy-note{ min-height: 1.6em; margin: .7rem 0 0; color: var(--navy); font-size: calc(1.37rem * var(--ts-fiche, 1)); }
.buy-note a{ border-bottom: 1px solid var(--ink); color: var(--ink); }
.product-desc{ color: var(--navy); margin-top: 1.4rem; font-size: calc(1.7rem * var(--ts-fiche, 1)); }
.product-missing{ grid-column: 1 / -1; text-align: center; padding: 4rem 0; }
.product-missing h1{ font-family: var(--serif); font-weight: 600; font-size: calc(2.2rem * var(--ts-titre-page, 1)); }
.more{ max-width: 1120px; margin: 0 auto; padding: 1rem 0 0; }
.more[hidden]{ display: none; }
.more h2{ font-family: var(--serif); font-weight: 600; font-size: calc(1.9rem * var(--ts-titre-section, 1)); color: var(--ink); padding: 0 28px; margin-bottom: 1.2rem; }
@media (max-width: 820px){ .product{ grid-template-columns: 1fr; gap: 1.6rem; } }

/* =========================================================
   À PROPOS
   ========================================================= */
.about-story{ width: 93%; max-width: 1500px; margin: 0 auto; padding: 4rem 0 4.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: start; }
.about-text .head-orn .ic{ font-size: 2.4rem; }
.about-text .head-orn{ display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; color: var(--text); }
.about-text .head-orn::after{ content: ""; flex: 1; height: 1px; background: var(--line); }
.about-text p{ color: var(--text); font-size: calc(1.54rem * var(--ts-texte, 1)); line-height: 1.6; }   /* +10 % */
.about-text strong{ color: var(--text); font-weight: 700; }
.about-text .sign{ font-family: var(--script); font-size: calc(2.2rem * var(--ts-texte, 1)); color: var(--text); margin-top: .4rem; }
.about-photo{ background: var(--light); padding: 1.6rem; position: sticky; top: 20px; width: 90%; justify-self: center; }   /* photo -10 % */
.about-photo .ph{ aspect-ratio: 3 / 4.2; background: var(--slate); }
.about-photo img{ width: 100%; height: auto; }
.connect{ text-align: center; padding: 4rem 28px; }
.connect .eyebrow{ letter-spacing: .25em; font-size: calc(1.2rem * var(--ts-eyebrow, 1)); }   /* +30 % */
.connect p.big{ font-family: var(--serif); font-size: calc(clamp(1.4rem, 2.8vw, 1.9rem) * var(--ts-texte, 1)); color: var(--ink); max-width: 640px; margin: .6rem auto 1.6rem; }
@media (max-width: 860px){ .about-story{ grid-template-columns: 1fr; } .about-photo{ position: static; order: -1; max-width: 378px; width: 100%; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid{ max-width: 1000px; margin: 0 auto; padding: 3rem 28px 4.5rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.form-grid{ display: grid; gap: 1.3rem; }
.field label{ display: block; font-family: var(--sc); font-variant-caps: small-caps; font-size: calc(1.5rem * var(--ts-contact, 1)); font-weight: 600; margin-bottom: .3rem; }
.field input, .field textarea{
  width: 100%; padding: .75em .9em; font: inherit; color: var(--text);
  background: rgba(231,231,228,.06); border: 1px solid var(--line); border-radius: 0;
}
.field input::placeholder{ color: var(--text-dim); opacity: .8; }
.field textarea{ min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus{ outline: none; border-color: var(--light); }
.form-note{ color: var(--text); font-size: calc(1.5rem * var(--ts-contact, 1)); margin: 0; }
.form-success{ display: none; border: 1px solid var(--line); padding: .9rem 1.1rem; }
.form-success.show{ display: block; }
.info-list{ display: grid; gap: 1.4rem; margin: 0; }
.info-list dt{ font-family: var(--sc); font-variant-caps: small-caps; font-size: calc(2rem * var(--ts-contact, 1)); font-weight: 600; color: var(--text-dim); margin-bottom: .1em; }   /* +20 % */
.info-list dd{ margin: 0; font-size: calc(2rem * var(--ts-contact, 1)); }   /* +20 % */
div:has(> .info-list) > .eyebrow{ font-size: calc(1.5rem * var(--ts-eyebrow, 1)); font-weight: bold }   /* titre « Coordonnées » +20 % */
.info-list a{ border-bottom: 1px solid var(--line); }
@media (max-width: 820px){ .contact-grid{ grid-template-columns: 1fr; gap: 2.4rem; } }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer{ background: var(--navy); border-top: 1px solid var(--line); padding: 3rem 0 1.8rem; }   /* bas de page : textes +30 % */
.footer-grid{ display: grid; grid-template-columns: 1fr 1fr 1fr 1.35fr 1fr; gap: 1.6rem; }
.footer-col h4{
  font-family: var(--script-sm); font-size: calc(2.15rem * var(--ts-pied, 1)); margin: 0 0 .6rem; display: flex; align-items: center; gap: .6rem; white-space: nowrap;
}
.footer-col h4::after{ content: ""; flex: 1 1 0; min-width: 10px; max-width: 90px; height: 1px; background: var(--line); }
.footer-col p, .footer-col a{ color: var(--text); font-size: calc(1.456rem * var(--ts-pied, 1)); }
.footer-col ul{ display: grid; gap: .3rem; }
.footer-col a:hover{ color: var(--light); }
.socials{ display: flex; gap: .7rem; }
.socials a{ width: 55px; height: 55px; display: grid; place-items: center; background: var(--slate); color: var(--light); }
.socials svg{ width: 26px; height: 26px; }
.socials a:hover{ background: #7a8290; color: #fff; }
.footer-bottom{ margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--text-dim); font-size: calc(1.235rem * var(--ts-pied, 1)); }
.footer-legal{ margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; }
.footer-legal a{ color: var(--text-dim); border-bottom: 1px solid var(--line); }
.footer-legal a:hover{ color: var(--light); }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ---------- Apparition au scroll ---------- */
.reveal{ opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1; transform: none; transition: none; }
  .tile img, .p-media img{ transition: none; }
}
