/* ==========================================================================
   Françoise Morice Paris — feuille de styles
   --------------------------------------------------------------------------
   Base : maquette Adobe XD « FM_ONE PAGE_3009 » (plans de travail 1920 px).
   L'unité --u vaut 1px quand la fenêtre fait 1920 px de large et se réduit
   proportionnellement en dessous : toutes les cotes du XD s'écrivent donc
   calc(<cote XD> * var(--u)). Sous 1000 px, une mise en page empilée
   (tablette / mobile) prend le relais.
   ========================================================================== */

/* Polices hébergées sur le site.
   Montserrat pour les textes (Google Fonts, licence SIL Open Font License 1.1). */
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/montserrat-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/montserrat-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Citations manuscrites : Elometha (© Jadatype, licence commerciale du client). */
@font-face {
  font-family: "Elometha";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/elometha.woff") format("woff");
}

:root {
  --black: #000;
  --ink: #212121;
  --white: #fff;
  --greige: #ebece7;
  --sand: #d6c7b6;
  --rule: rgba(0, 0, 0, 0.55);
  --error: #b3261e;
  --error-on-dark: #ff9e94;

  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --script: "Elometha", cursive;

  --u: min(1px, calc(100vw / 1920));
  --container: calc(1388 * var(--u));
}

/* Base ------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* Soulignement fin au survol des liens texte */
.u-link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.35s ease;
}

.u-link:hover,
.u-link:focus-visible {
  background-size: 100% 1px;
}

/* Zones de couleur (flow-root : les marges des enfants restent à l'intérieur) */
.zone--dark {
  display: flow-root;
  background: var(--ink);
  color: var(--white);
}

.zone--greige {
  display: flow-root;
  background: var(--greige);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Typographie commune ------------------------------------------------------ */

.quote {
  font-family: var(--script);
  font-weight: 400;
  font-size: calc(54 * var(--u));
  line-height: calc(59 * var(--u));
  text-align: center;
}

.lead {
  font-weight: 200;
  font-size: max(19px, calc(40 * var(--u)));
  line-height: 1.125;
}

.lead--center {
  text-align: center;
}

.section-title {
  font-weight: 500;
  font-size: max(15px, calc(25 * var(--u)));
  line-height: 1.08;
  text-transform: uppercase;
}

.eyebrow {
  font-weight: 500;
  font-size: max(13px, calc(20 * var(--u)));
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.body-text {
  font-weight: 300;
  font-size: max(15px, calc(22 * var(--u)));
  line-height: calc(27 / 22);
}

.body-text p + p {
  margin-top: calc(27 * var(--u));
}

.fm-mark {
  display: block;
  width: calc(52 * var(--u));
  min-width: 34px;
  height: auto;
  margin-inline: auto;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn--greige {
  min-width: calc(332 * var(--u));
  height: calc(71 * var(--u));
  min-height: 46px;
  padding-inline: 24px;
  background: var(--greige);
  color: var(--black);
  font-weight: 400;
  font-size: max(13px, calc(23 * var(--u)));
}

.btn--greige:hover {
  background: var(--white);
}

.btn--small {
  width: calc(156 * var(--u));
  min-width: 112px;
  height: calc(53 * var(--u));
  min-height: 38px;
  background: var(--greige);
  color: var(--black);
  font-weight: 400;
  font-size: max(11px, calc(15 * var(--u)));
}

.btn--small:hover {
  background: var(--black);
  color: var(--white);
}

.btn--black {
  width: calc(213 * var(--u));
  min-width: 150px;
  height: calc(58 * var(--u));
  min-height: 44px;
  background: var(--black);
  color: var(--white);
  font-weight: 500;
  font-size: max(12px, calc(16 * var(--u)));
}

.btn--black:hover {
  background: var(--ink);
  color: var(--greige);
}

.lead p + p {
  margin-top: 1.125em;
}

/* Retours à la ligne voulus par la maquette, visibles sur grand écran seulement :
   .br-d pour les grands textes, .br-x pour les textes courants (qui cessent
   d'être strictement proportionnels sous 1400 px). */
@media (max-width: 1399px) {
  .br-x {
    display: none;
  }
}

@media (max-width: 999px) {
  .br-d {
    display: none;
  }
}

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

.site-header {
  position: relative;
  z-index: 20;
  padding-top: calc(128 * var(--u));
}

.site-header--overlay {
  position: absolute;
  inset: 0 0 auto;
  color: var(--white);
}

.site-header--dark {
  background: var(--ink);
  color: var(--white);
}

.site-header--greige {
  background: var(--greige);
}

.brand {
  position: relative;
  z-index: 31;
  display: block;
  width: calc(220 * var(--u));
  margin-inline: auto;
}

.brand svg {
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: none;
}

.primary-nav ul {
  display: flex;
  justify-content: center;
  gap: calc(33 * var(--u));
  margin-top: calc(54 * var(--u));
}

.primary-nav a {
  display: block;
  font-weight: 500;
  font-size: max(12px, calc(20 * var(--u)));
  line-height: 1.2;
  text-transform: uppercase;
}

.primary-nav a[aria-current="page"] {
  font-weight: 700;
}

.utility-nav {
  position: absolute;
  top: calc(75 * var(--u));
  right: calc(106 * var(--u));
}

.utility-nav ul {
  display: flex;
  align-items: flex-end;
  gap: calc(60 * var(--u));
}

.utility-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 600;
  font-size: max(9px, calc(14 * var(--u)));
  line-height: calc(16 / 14);
  text-align: center;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.utility-nav a:hover {
  opacity: 0.6;
}

.utility-nav svg {
  width: calc(30 * var(--u));
  min-width: 18px;
  height: auto;
  margin-bottom: calc(11 * var(--u));
}

/* Sélecteur de langue FR / ENG (centré sur les libellés de deux lignes) */
.lang-switch {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  margin-bottom: calc(8 * var(--u));
  font-weight: 600;
  font-size: max(9px, calc(14 * var(--u)));
  line-height: calc(16 / 14);
}

.utility-nav .lang-switch a {
  display: inline;
  opacity: 0.6;
}

.utility-nav .lang-switch a[aria-current="true"],
.utility-nav .lang-switch a:hover {
  opacity: 1;
}

/* ==========================================================================
   Accueil
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: calc(760 * var(--u));
  overflow: hidden;
  background: #c9a98c;
  color: var(--white);
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
}

.hero__title {
  position: absolute;
  top: calc(498 * var(--u));
  left: 0;
  right: 0;
  padding-inline: 20px;
  font-weight: 300;
  font-size: calc(112 * var(--u));
  line-height: calc(107 / 112);
  text-align: center;
  text-transform: uppercase;
}

.home-quote {
  margin-top: calc(140 * var(--u));
}

.home-mark {
  margin-top: calc(140 * var(--u));
}

.home-intro {
  width: calc(1377 * var(--u));
  margin: calc(123 * var(--u)) auto 0;
}

.pillars {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(160 * var(--u));
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pillar + .pillar::before,
.pillar__line {
  content: "";
  display: block;
  width: 1px;
  height: calc(34 * var(--u));
  min-height: 20px;
  background: currentColor;
}

.pillar + .pillar::before {
  margin-top: calc(22 * var(--u));
}

.pillar__icon {
  width: calc(152 * var(--u));
  min-width: 96px;
  height: auto;
}

.pillar__label {
  margin-top: calc(22 * var(--u));
  font-weight: 500;
  font-size: max(15px, calc(28 * var(--u)));
  line-height: calc(33 / 28);
  text-transform: uppercase;
}

.cta-band {
  margin-top: calc(162 * var(--u));
  padding: calc(100 * var(--u)) 20px calc(129 * var(--u));
  text-align: center;
}

.cta-band .btn {
  margin-top: calc(121 * var(--u));
}

/* ==========================================================================
   Blocs texte + image (La Maison, Nos engagements)
   ========================================================================== */

.page-quote {
  margin-top: calc(124 * var(--u));
  padding-inline: 20px;
}

.page-quote--single {
  line-height: calc(91 * var(--u));
}

.page-mark {
  margin-top: calc(114 * var(--u));
}

.page-intro {
  width: calc(1429 * var(--u));
  margin: calc(125 * var(--u)) auto 0;
}

.split {
  display: grid;
  grid-template-columns: calc(685 * var(--u)) 1fr;
  column-gap: calc(195 * var(--u));
  width: var(--container);
  margin-inline: auto;
}

.split--text-first {
  grid-template-columns: 1fr calc(684 * var(--u));
  column-gap: calc(196 * var(--u));
}

.split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 685 / 893;
  object-fit: cover;
}

.split__body {
  display: flex;
  flex-direction: column;
  max-width: calc(508 * var(--u));
}

.split__body .body-text {
  margin-top: calc(76 * var(--u));
}

.split__body .lead {
  margin-top: auto;
  padding-top: calc(50 * var(--u));
}

/* La Maison */
.maison-top {
  padding-bottom: calc(142 * var(--u));
}

.maison-expertise {
  margin-top: calc(159 * var(--u));
}

.maison-expertise .split__body {
  padding-top: calc(112 * var(--u));
}

.maison-vision {
  padding: calc(141 * var(--u)) 0 calc(184 * var(--u));
}

.maison-vision .split__media img {
  aspect-ratio: 684 / 876;
}

.maison-vision .split__body {
  padding-top: calc(7 * var(--u));
}

.maison-vision .split__body .body-text {
  margin-top: calc(85 * var(--u));
}

.maison-vision .quote {
  width: calc(760 * var(--u));
  margin: auto 0 calc(-15 * var(--u)) calc(-154 * var(--u));
  padding-top: calc(60 * var(--u));
}

.maison-kine {
  padding: calc(193 * var(--u)) 0 calc(142 * var(--u));
}

.maison-kine .split {
  grid-template-columns: calc(684 * var(--u)) 1fr;
  column-gap: calc(196 * var(--u));
}

.maison-kine .split__media img {
  aspect-ratio: 684 / 876;
}

.maison-kine .split__body .body-text {
  margin-top: calc(97 * var(--u));
}

.maison-kine .split__body .lead {
  width: calc(560 * var(--u));
}

.maison-kine .quote {
  margin-top: calc(159 * var(--u));
  padding-inline: 20px;
}

/* Nos engagements */
.engagements-top {
  padding-bottom: calc(183 * var(--u));
}

.engagements-values {
  display: grid;
  grid-template-columns: calc(834 * var(--u)) calc(508 * var(--u));
  column-gap: calc(213 * var(--u));
  margin: calc(132 * var(--u)) 0 0 calc(101 * var(--u));
}

.engagements-values .split__media {
  background: var(--sand);
}

.engagements-values .split__media img {
  aspect-ratio: 834 / 1068;
}

.engagements-values .split__body {
  padding-top: calc(71 * var(--u));
  padding-bottom: calc(60 * var(--u));
}

.engagements-values .split__body .body-text {
  margin-top: calc(91 * var(--u));
}

.engagements-commit {
  display: grid;
  grid-template-columns: calc(508 * var(--u)) calc(508 * var(--u));
  column-gap: calc(281 * var(--u));
  margin: calc(143 * var(--u)) 0 0 calc(359 * var(--u));
}

.engagements-commit .lead {
  grid-column: 1;
  grid-row: 1;
  padding-top: calc(111 * var(--u));
}

.engagements-commit .split__body {
  grid-column: 2;
  grid-row: 1;
}

.engagements-commit .split__body .body-text {
  margin-top: calc(91 * var(--u));
}

.portraits {
  display: grid;
  grid-template-columns: repeat(3, calc(551 * var(--u)));
  column-gap: calc(49 * var(--u));
  justify-content: center;
  margin-top: calc(139 * var(--u));
}

.portraits img {
  width: 100%;
  height: auto;
  aspect-ratio: 551 / 632;
  object-fit: cover;
}

/* ==========================================================================
   Produits
   ========================================================================== */

.range-intro {
  margin-top: calc(121 * var(--u));
}

.range-intro .lead {
  width: var(--container);
  margin: calc(51 * var(--u)) auto 0;
}

.range-intro .quote {
  margin-top: calc(125 * var(--u));
  padding-inline: 20px;
  line-height: calc(58 * var(--u));
}

.iconics {
  margin-top: calc(212 * var(--u));
  padding-bottom: calc(111 * var(--u));
}

.iconics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: calc(18 * var(--u));
  width: var(--container);
  margin: calc(76 * var(--u)) auto 0;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card__media {
  width: 100%;
}

.card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 451 / 613;
  object-fit: cover;
}

.card__title {
  margin-top: calc(55 * var(--u));
}

.card__text {
  margin-top: calc(43 * var(--u));
  margin-bottom: calc(52 * var(--u));
}

.card .btn {
  margin-top: auto;
}

.products {
  margin-top: calc(200 * var(--u));
  padding-bottom: calc(167 * var(--u));
}

.products--first {
  margin-top: 0;
}

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1920px;
  margin-inline: auto;
  scroll-margin-top: 20px;
}

.product__media {
  position: relative;
  min-height: calc(1408 * var(--u));
  background: var(--sand);
}

.product__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__body {
  display: flex;
  flex-direction: column;
  padding: calc(174 * var(--u)) calc(266 * var(--u)) calc(101 * var(--u)) calc(186 * var(--u));
}

.product--text-first .product__body {
  order: -1;
  padding: calc(186 * var(--u)) calc(186 * var(--u)) calc(101 * var(--u)) calc(266 * var(--u));
}

.product__title {
  font-weight: 500;
  font-size: max(21px, calc(40 * var(--u)));
  line-height: 1.125;
  text-transform: uppercase;
}

@media (min-width: 1000px) {
  .product__title--2l {
    margin-top: calc(-45 * var(--u));
  }
}

.product__price {
  margin-top: calc(31 * var(--u));
  font-weight: 300;
  font-size: max(16px, calc(24 * var(--u)));
  line-height: calc(27 / 24);
}

.product__desc {
  margin-top: calc(84 * var(--u));
  font-weight: 300;
  font-size: max(15px, calc(21 * var(--u)));
  line-height: calc(29 / 21);
}

.product__desc p + p {
  margin-top: calc(29 * var(--u));
}

.product__natural {
  margin-top: calc(65 * var(--u));
  font-weight: 500;
  font-size: max(14px, calc(21 * var(--u)));
  line-height: calc(27 / 21);
}

.product__note {
  margin-top: auto;
  padding-top: calc(48 * var(--u));
  font-style: italic;
  font-weight: 300;
  font-size: max(13px, calc(20 * var(--u)));
  line-height: calc(27 / 20);
}

/* Accordéon « Ingrédients » */
.ingredients {
  margin-top: calc(180 * var(--u));
}

.ingredients__toggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 calc(40 * var(--u)) calc(16 * var(--u)) 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: none;
  font-weight: 500;
  font-size: max(15px, calc(25 * var(--u)));
  line-height: calc(27 / 25);
  text-align: left;
  text-transform: uppercase;
}

.ingredients__icon {
  position: absolute;
  top: calc(3 * var(--u));
  right: 0;
  width: calc(20 * var(--u));
  min-width: 14px;
  aspect-ratio: 1;
  transition: transform 0.35s ease;
}

.ingredients__icon::before,
.ingredients__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.ingredients__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.ingredients__icon::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.ingredients.is-open .ingredients__icon {
  transform: rotate(45deg);
}

.ingredients__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.45s ease, visibility 0s linear 0.45s;
}

.ingredients.is-open .ingredients__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.45s ease, visibility 0s;
}

.ingredients__inner {
  overflow: hidden;
}

.ingredients__inner strong {
  font-weight: 500;
}

.ingredients__inner p {
  padding-top: calc(21 * var(--u));
  font-style: italic;
  font-weight: 300;
  font-size: max(13px, calc(15 * var(--u)));
  line-height: calc(21 / 15);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(52 * var(--u));
  margin-top: calc(180 * var(--u));
}

.pagination__status {
  min-width: calc(60 * var(--u));
  font-weight: 300;
  font-size: max(17px, calc(27 * var(--u)));
  line-height: 1;
  text-align: center;
}

.pagination__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  transition: opacity 0.3s ease;
}

.pagination__arrow svg {
  width: calc(15 * var(--u));
  min-width: 11px;
  height: auto;
}

.pagination__arrow:hover {
  opacity: 0.5;
}

.pagination__arrow.is-disabled {
  opacity: 0.2;
  pointer-events: none;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  display: grid;
  grid-template-columns: calc(332 * var(--u)) 1fr;
  column-gap: calc(199 * var(--u));
  width: var(--container);
  margin: calc(135 * var(--u)) auto 0;
}

.contact__intro {
  padding-top: calc(76 * var(--u));
}

.contact__intro .section-title {
  font-size: max(15px, calc(22 * var(--u)));
  line-height: calc(27 / 22);
}

.contact__intro .body-text {
  margin-top: calc(27 * var(--u));
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(25 * var(--u)) calc(21 * var(--u));
  max-width: calc(851 * var(--u));
}

.field--full {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  height: calc(54 * var(--u));
  min-height: 44px;
  padding: 0 max(12px, calc(28 * var(--u)));
  border: 1px solid var(--black);
  border-radius: 0;
  background: transparent;
  font-weight: 500;
  font-size: max(14px, calc(16 * var(--u)));
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  height: calc(118 * var(--u));
  min-height: 96px;
  padding-top: max(10px, calc(17 * var(--u)));
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--black);
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--black);
}

/* Champ mal rempli : bordure et message sous le champ (ajoutés par main.js) */
.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field [aria-invalid="true"]:focus {
  box-shadow: inset 0 0 0 1px var(--error);
}

.field-error {
  margin-top: 6px;
  color: var(--error);
  font-weight: 500;
  font-size: max(12px, calc(14 * var(--u)));
  line-height: 1.4;
}

.contact-form .btn--black {
  margin-top: calc(28 * var(--u));
}

.form-note {
  margin-top: calc(14 * var(--u));
  font-weight: 500;
  font-size: max(12px, calc(16 * var(--u)));
  line-height: calc(27 / 16);
}

.form-status {
  margin-top: 8px;
  font-weight: 500;
  font-size: max(13px, calc(16 * var(--u)));
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

/* Retour d'envoi sans JavaScript (envoi.php renvoie vers contact.html#…) */
.form-feedback {
  display: none;
  margin-top: 8px;
  font-weight: 500;
  font-size: max(13px, calc(16 * var(--u)));
  line-height: 1.5;
}

.form-feedback:target {
  display: block;
}

.newsletter {
  margin-top: calc(80 * var(--u));
  padding: calc(76 * var(--u)) 20px calc(78 * var(--u));
  text-align: center;
}

.newsletter__title {
  font-weight: 400;
  font-size: max(20px, calc(40 * var(--u)));
  line-height: 1.2;
  text-transform: uppercase;
}

.newsletter__text {
  margin-top: calc(24 * var(--u));
  font-weight: 400;
  font-size: max(14px, calc(20 * var(--u)));
  line-height: 1.2;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  margin-top: calc(74 * var(--u));
}

.newsletter-form input {
  width: calc(440 * var(--u));
  min-width: 0;
  height: calc(58 * var(--u));
  min-height: 44px;
  padding: 0 max(14px, calc(30 * var(--u)));
  border: 1px solid var(--white);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: max(13px, calc(16 * var(--u)));
  -webkit-appearance: none;
  appearance: none;
}

.newsletter-form input::placeholder {
  color: var(--white);
  opacity: 1;
  text-transform: uppercase;
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--white);
}

.newsletter-form button {
  width: calc(213 * var(--u));
  min-width: 130px;
  height: calc(58 * var(--u));
  min-height: 44px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black);
  font-weight: 500;
  font-size: max(12px, calc(16 * var(--u)));
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.newsletter-form button:hover {
  background: transparent;
  color: var(--white);
}

.newsletter .form-status {
  margin-top: 16px;
}

.newsletter-form [aria-invalid="true"] {
  border-color: var(--error-on-dark);
}

.newsletter-form [aria-invalid="true"]:focus {
  box-shadow: inset 0 0 0 1px var(--error-on-dark);
}

.newsletter .field-error {
  margin-top: 12px;
  color: var(--error-on-dark);
}

/* ==========================================================================
   Pages légales
   ========================================================================== */

.legal {
  width: var(--container);
  margin: calc(139 * var(--u)) auto 0;
  font-weight: 200;
  font-size: max(15px, calc(22 * var(--u)));
  line-height: calc(27 / 22);
}

.legal > * + * {
  margin-top: calc(27 * var(--u));
}

.legal > * + h2,
.legal > * + h3 {
  margin-top: calc(45 * var(--u));
}

.legal h2,
.legal h3 {
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
}

.legal h2 {
  text-transform: uppercase;
}

.legal__note {
  font-style: italic;
  font-size: 0.85em;
  opacity: 0.75;
}

.legal strong {
  font-weight: 400;
}

.legal a {
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal li {
  position: relative;
  padding-left: 1.2em;
}

.legal li::before {
  content: "–";
  position: absolute;
  left: 0;
}

.legal--bullets li::before {
  content: "•";
}

/* Page 404 */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(56 * var(--u));
  padding: calc(160 * var(--u)) 20px calc(60 * var(--u));
  text-align: center;
}

.not-found .page-mark {
  margin-top: 0;
}

.not-found__btn {
  width: auto;
  padding-inline: 28px;
}

@media (max-width: 999px) {
  .not-found {
    gap: 32px;
    padding: 72px var(--pad) 24px;
  }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
  padding: calc(133 * var(--u)) 0 calc(99 * var(--u));
}

/* Espace avant le pied de page, propre à chaque page du XD */
@media (min-width: 1000px) {
  .page-home .site-footer {
    padding-top: calc(115 * var(--u));
  }

  .page-house .site-footer {
    padding-top: calc(157 * var(--u));
  }

  .page-commitments .site-footer {
    padding-top: calc(176 * var(--u));
  }

  .page-contact .site-footer {
    padding-top: calc(122 * var(--u));
  }
}

.footer-nav,
.footer-legal {
  display: grid;
  width: calc(969 * var(--u));
  margin-inline: auto;
}

.footer-nav {
  grid-template-columns: calc(351 * var(--u)) calc(353 * var(--u)) 1fr;
  margin-top: calc(130 * var(--u));
}

.footer-nav h2 {
  font-weight: 500;
  font-size: max(12px, calc(19 * var(--u)));
  line-height: calc(23 / 19);
  text-transform: uppercase;
}

.footer-nav ul {
  margin-top: calc(50 * var(--u));
}

.footer-nav li + li {
  margin-top: calc(22 * var(--u));
}

.footer-nav .footer-nav__tight li + li {
  margin-top: calc(13 * var(--u));
}

.footer-nav a,
.footer-legal {
  font-weight: 300;
  font-size: max(12px, calc(19 * var(--u)));
  line-height: calc(23 / 19);
}

.footer-nav a {
  display: inline;
}

.footer-legal {
  grid-template-columns: calc(353 * var(--u)) calc(433 * var(--u)) 1fr;
  margin-top: calc(152 * var(--u));
  font-style: normal;
}

.footer-legal__label {
  display: block;
  padding-bottom: calc(5 * var(--u));
  border-bottom: 1px solid rgba(33, 33, 33, 0.55);
}

.footer-legal__label--w251 {
  width: calc(251 * var(--u));
}

.footer-legal__label--w332 {
  width: calc(332 * var(--u));
}

.footer-legal__label--w156 {
  width: calc(156 * var(--u));
}

.footer-legal__content {
  margin-top: calc(17 * var(--u));
}

.footer-legal .fw-semibold {
  font-weight: 600;
}

.footer-legal .fw-medium {
  font-weight: 500;
}

.footer-legal a {
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================================
   Tablette et mobile (mise en page empilée)
   ========================================================================== */

@media (max-width: 999px) {
  :root {
    --pad: clamp(20px, 5vw, 48px);
    --container: calc(100% - 2 * var(--pad));
  }

  /* En-tête compact + menu plein écran */
  .site-header {
    padding: 22px var(--pad) 0;
  }

  .brand {
    width: 100px;
  }

  .menu-toggle {
    position: absolute;
    top: 18px;
    right: calc(var(--pad) - 12px);
    z-index: 32;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
  }

  .menu-toggle__bars {
    position: relative;
    width: 26px;
    height: 10px;
  }

  .menu-toggle__bars::before,
  .menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s ease, top 0.3s ease;
  }

  .menu-toggle__bars::before {
    top: 0;
  }

  .menu-toggle__bars::after {
    top: 9px;
  }

  .nav-open .menu-toggle__bars::before {
    top: 5px;
    transform: rotate(45deg);
  }

  .nav-open .menu-toggle__bars::after {
    top: 5px;
    transform: rotate(-45deg);
  }

  .nav-open .site-header {
    color: var(--white);
  }

  .header-panel {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 56px;
    padding: 150px var(--pad) 48px;
    overflow-y: auto;
    background: var(--ink);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  }

  .nav-open .header-panel {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s;
  }

  .nav-open body {
    overflow: hidden;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 26px;
    margin: 0;
  }

  .primary-nav a {
    font-size: 19px;
    letter-spacing: 0.04em;
  }

  .utility-nav {
    position: static;
  }

  .utility-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px 32px;
  }

  .utility-nav a {
    font-size: 11px;
  }

  .utility-nav svg {
    width: 22px;
    margin-bottom: 8px;
  }

  .lang-switch {
    flex-basis: 100%;
    justify-content: center;
    margin-bottom: 4px;
    font-size: 14px;
  }

  /* Typo mobile */
  .quote,
  .page-quote--single,
  .range-intro .quote {
    font-size: clamp(23px, 5.4vw, 36px);
    line-height: 1.3;
  }

  .body-text p + p {
    margin-top: 1em;
  }

  .lead {
    font-size: clamp(19px, 4.4vw, 26px);
    line-height: 1.3;
  }

  .fm-mark {
    width: 38px;
  }

  /* Accueil */
  .hero {
    min-height: 560px;
  }

  .hero__media img {
    object-position: 50% 0;
  }

  .hero__title {
    top: auto;
    bottom: 14vh;
    font-size: clamp(34px, 9.6vw, 66px);
    line-height: 1.02;
  }

  .home-quote,
  .page-quote {
    margin-top: 72px;
  }

  .home-mark,
  .page-mark {
    margin-top: 56px;
  }

  .home-intro,
  .page-intro,
  .range-intro .lead {
    width: var(--container);
    margin-top: 48px;
  }

  .pillars {
    margin-top: 80px;
  }

  .pillar + .pillar::before {
    margin-top: 16px;
  }

  .pillar__label {
    margin-top: 16px;
    max-width: 18em;
  }

  .cta-band {
    margin-top: 88px;
    padding: 72px var(--pad);
  }

  .cta-band .btn {
    margin-top: 48px;
  }

  /* Blocs empilés */
  .split,
  .split--text-first,
  .maison-kine .split,
  .engagements-values,
  .engagements-commit {
    grid-template-columns: 1fr;
    row-gap: 40px;
    width: var(--container);
    margin-inline: auto;
  }

  .split--text-first .split__media {
    order: -1;
  }

  .split__body {
    max-width: 640px;
  }

  .split__body,
  .maison-expertise .split__body,
  .maison-vision .split__body,
  .engagements-values .split__body {
    padding: 0;
  }

  .split__body .body-text,
  .maison-vision .split__body .body-text,
  .maison-kine .split__body .body-text,
  .engagements-values .split__body .body-text,
  .engagements-commit .split__body .body-text {
    margin-top: 20px;
  }

  .split__body .lead,
  .maison-kine .split__body .lead {
    width: auto;
    margin-top: 32px;
    padding-top: 0;
  }

  .maison-top {
    padding-bottom: 80px;
  }

  .maison-expertise {
    margin-top: 64px;
  }

  .maison-vision {
    padding: 80px 0;
  }

  .maison-vision .quote {
    width: auto;
    margin: 40px 0 0;
    padding-top: 0;
  }

  .maison-kine {
    padding: 80px 0;
  }

  .maison-kine .quote {
    margin-top: 64px;
  }

  .engagements-top {
    padding-bottom: 80px;
  }

  .engagements-values {
    margin-top: 64px;
  }

  .engagements-commit {
    margin-top: 80px;
  }

  .engagements-commit .lead,
  .engagements-commit .split__body {
    grid-column: 1;
    grid-row: auto;
    padding-top: 0;
  }

  .engagements-commit .lead {
    order: 2;
  }

  .portraits {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 8px;
    width: var(--container);
    margin: 56px auto 0;
  }

  /* Produits */
  .range-intro {
    margin-top: 56px;
  }

  .range-intro .quote {
    margin-top: 56px;
  }

  .iconics {
    margin-top: 72px;
    padding-bottom: 72px;
  }

  .iconics__grid {
    grid-template-columns: 1fr;
    row-gap: 56px;
    width: min(var(--container), 520px);
    margin-top: 32px;
  }

  .card__title {
    margin-top: 24px;
  }

  .card__text {
    margin: 12px 0 24px;
  }

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

  .product__media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .product__body,
  .product--text-first .product__body {
    order: 0;
    padding: 40px var(--pad) 64px;
  }

  .product__price {
    margin-top: 12px;
  }

  .product__desc {
    margin-top: 28px;
  }

  .product__desc p + p {
    margin-top: 16px;
  }

  .product__natural {
    margin-top: 20px;
  }

  .ingredients {
    margin-top: 40px;
  }

  .ingredients__toggle {
    padding-bottom: 12px;
  }

  .ingredients__inner p {
    padding-top: 14px;
  }

  .product__note {
    padding-top: 32px;
  }

  .products {
    padding-bottom: 72px;
  }

  .pagination {
    gap: 24px;
    margin-top: 64px;
  }

  /* Contact */
  .contact {
    grid-template-columns: 1fr;
    row-gap: 40px;
    margin-top: 48px;
  }

  .contact__intro {
    padding-top: 0;
  }

  .contact__intro .body-text {
    margin-top: 16px;
  }

  .form-grid {
    gap: 14px 12px;
    max-width: none;
  }

  .contact-form .btn--black {
    margin-top: 20px;
  }

  .newsletter {
    margin-top: 80px;
    padding: 64px var(--pad);
  }

  .newsletter__text {
    margin-top: 14px;
  }

  .newsletter-form {
    margin-top: 36px;
  }

  .newsletter-form input {
    flex: 1 1 auto;
    width: auto;
    max-width: 360px;
  }

  /* Pages légales */
  .legal {
    margin-top: 48px;
  }

  .legal > * + * {
    margin-top: 16px;
  }

  .legal > * + h2,
  .legal > * + h3 {
    margin-top: 32px;
  }

  /* Pied de page */
  .site-footer {
    padding: 80px var(--pad) 56px;
  }

  .footer-nav,
  .footer-legal {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
    width: 100%;
    max-width: 760px;
  }

  .footer-nav {
    margin-top: 56px;
  }

  .footer-nav ul {
    margin-top: 18px;
  }

  .footer-nav li + li,
  .footer-nav .footer-nav__tight li + li {
    margin-top: 12px;
  }

  .footer-nav a,
  .footer-legal,
  .footer-nav h2 {
    font-size: 14px;
    line-height: 1.45;
  }

  .footer-legal {
    margin-top: 56px;
  }

  .footer-legal__label--w251,
  .footer-legal__label--w332,
  .footer-legal__label--w156 {
    width: min(100%, 220px);
  }

  .footer-legal__content {
    margin-top: 12px;
  }
}

@media (max-width: 599px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--half {
    grid-column: 1 / -1;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    max-width: 360px;
  }

  .portraits {
    grid-template-columns: 1fr;
    row-gap: 12px;
    width: min(var(--container), 420px);
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
