@font-face {
  font-family: NotoSans;
  src: url("fonts/NotoSans.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: NotoSerif;
  src: url("fonts/NotoSerif.woff") format("woff");
  font-display: swap;
}
/* Police des étiquettes des flacons, utilisée pour les titres. */
@font-face {
  font-family: PlayfairDisplay;
  src: url("fonts/PlayfairDisplay.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #102237;
  --mute: #4e5a67;
  --paper: #faf8f3;
  --gold: #e8c994;
  --night: #0c1a2b;
  --line: #d7d3c9;
  --serif: PlayfairDisplay, NotoSerif, Georgia, serif;
  --sans: NotoSans, Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.8vw, 6.5rem);
  --masthead-height: 3.75rem;
  --panel-shadow: 0 3px 9px #10223710, 0 16px 36px #10223719;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--masthead-height) + .75rem); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
h1, h2, h3, p, dl { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(2.15rem, 4.15vw, 4.2rem); letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2.35rem); letter-spacing: -.012em; }
a { color: inherit; text-underline-offset: .24em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a9732c; outline-offset: 4px; }
.skip { position: fixed; z-index: 3; transform: translateY(-150%); left: 1rem; top: .5rem; padding: .6rem 1rem; background: white; }
.skip:focus { transform: none; }

.masthead, .footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
}
.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 2;
  min-height: 3.75rem;
  padding-block: .25rem;
  background: var(--night);
  color: var(--paper);
  border-bottom: 1px solid #e8c9944d;
  box-shadow: 0 2px 6px #07101c26, 0 9px 26px #07101c2e;
}
.masthead + main { padding-top: var(--masthead-height); }
.wordmark { flex: none; }
.wordmark img { display: block; width: auto; height: 2.6rem; }
nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 3rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; text-decoration: none; white-space: nowrap; }
nav a:not(.navOrder):hover { text-decoration: underline; }
.navOrder, .button, .orderSubmit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: .72rem 1.22rem;
  font: 500 .9rem/1.5 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .22s, border-color .22s, color .22s, transform .16s;
}
.navOrder { border-color: #e8c99485; color: var(--gold); }
.navOrder:hover { background: #ffffff12; }
.orderSubmit, .estimateAction { color: var(--paper); background: var(--ink); }
.orderSubmit:hover, .estimateAction:hover, .confirmation .button:hover { background: #244263; }
:is(.navOrder, .button, .orderSubmit):active { transform: translateY(1px); }

.hero {
  /* --hero-rise : hauteur dont les pointes dépassent sur les deux cases au repos.
     --hero-lift : hauteur supplémentaire gagnée par les sommets au défilement. */
  --hero-rise: 7.3vw;
  --hero-rise: 7.3cqw;
  --hero-lift: 2.6vw;
  --hero-lift: 2.6cqw;
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  overflow: hidden;
  background: var(--paper);
}
.heroText {
  align-self: center;
  padding: 3.5rem var(--gutter) calc(3.5rem + var(--hero-rise));
  /* Aligne le texte sur la grille de 88rem des sections suivantes. */
  padding-left: max(var(--gutter), calc((100vw - 88rem) / 2 + var(--gutter)));
}
.origin { display: flex; align-items: center; gap: .8rem; color: #715326; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.origin::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
h1 { margin: 1.3rem 0; font-size: clamp(3.9rem, 6.8vw, 7.4rem); line-height: 1.03; letter-spacing: -.03em; }
.hero h1 { margin: 1.4rem 0 1.25rem; font-size: clamp(2.7rem, 4.5vw, 4.7rem); line-height: 1.12; letter-spacing: -.012em; }
.intro { max-width: 27rem; color: var(--mute); font-size: 1.05rem; line-height: 1.65; }
.heroActions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.6rem; margin-top: 2rem; }
.heroButton { min-height: 48px; background: var(--ink); color: var(--paper); }
.heroButton:hover { background: #244263; }
.heroLink { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration-thickness: 1px; }
.heroLink:hover { color: #715326; }
.heroProduct {
  position: relative;
  margin: 0;
  min-height: calc(clamp(26rem, 40vw, 46rem) + var(--hero-rise));
  background: #8b8b90;
}
.heroBottle {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Seconde photo (Douceur hivernale devant), révélée en fondu par interactions.css. */
.heroBottleAlt { opacity: 0; }
.heroScenery {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * (var(--hero-rise) + var(--hero-lift)));
  height: calc(var(--hero-rise) + var(--hero-lift) + clamp(10rem, 21vw, 22rem));
  overflow: hidden;
  pointer-events: none;
}
/* La même photo est posée deux fois, exactement superposée : en bande pleine sous le bord
   des cases, et détourée le long de la crête au-dessus. Les deux glissent ensemble au
   défilement (--hero-scroll, de 0 à 1, vient de interactions.js). */
.heroLandscape {
  position: absolute;
  top: var(--hero-lift);
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  translate: 0 calc(-1 * var(--hero-lift) * var(--hero-scroll, 0));
}
.heroBand {
  position: absolute;
  inset: calc(var(--hero-rise) + var(--hero-lift)) 0 0;
  overflow: hidden;
}
.heroBand .heroLandscape { top: calc(-1 * var(--hero-rise)); }
.heroPeaks {
  clip-path: polygon(0% 22.79%, 2.67% 22.79%, 2.73% 22.53%, 3.32% 22.01%, 3.91% 21.74%, 4.43% 21.74%, 4.49% 22.79%, 7.81% 22.79%, 7.88% 22.14%, 8.14% 21.35%, 8.46% 21.22%, 8.79% 20.57%, 8.92% 20.57%, 9.05% 20.05%, 9.51% 19.53%, 9.7% 19.01%, 10.03% 18.88%, 10.29% 18.49%, 10.55% 18.49%, 11.07% 17.58%, 11.26% 17.58%, 11.52% 17.19%, 11.91% 17.19%, 11.98% 16.28%, 13.09% 16.02%, 13.67% 14.84%, 14.32% 14.45%, 16.34% 11.98%, 16.8% 11.2%, 17.25% 10.81%, 17.32% 10.55%, 17.51% 10.55%, 17.97% 10.03%, 18.88% 8.59%, 19.47% 8.2%, 19.73% 8.2%, 19.99% 8.85%, 21.22% 9.77%, 21.48% 10.29%, 22.2% 10.03%, 22.4% 10.29%, 23.31% 10.29%, 23.83% 10.81%, 24.41% 11.07%, 25% 11.07%, 25.13% 10.81%, 25.46% 10.81%, 26.04% 10.94%, 26.37% 11.33%, 28.39% 10.94%, 28.84% 11.33%, 30.53% 11.46%, 30.86% 11.72%, 30.92% 12.76%, 31.18% 12.76%, 31.38% 10.42%, 31.64% 9.51%, 31.9% 9.11%, 32.03% 7.94%, 32.36% 7.16%, 33.01% 6.64%, 33.46% 5.73%, 33.92% 5.86%, 34.18% 6.64%, 34.38% 6.64%, 34.7% 7.68%, 35.42% 8.59%, 35.74% 9.24%, 36.2% 10.94%, 36.59% 11.33%, 36.91% 12.37%, 37.17% 12.37%, 37.5% 12.89%, 38.35% 13.41%, 38.67% 14.19%, 39% 14.19%, 39.06% 13.93%, 39.32% 13.8%, 39.78% 13.8%, 39.97% 14.19%, 40.49% 14.58%, 42.25% 14.58%, 43.23% 13.54%, 43.42% 13.54%, 44.27% 12.5%, 45.05% 10.81%, 45.51% 10.16%, 46.61% 8.98%, 47.33% 8.72%, 47.79% 8.98%, 48.31% 10.29%, 48.5% 10.29%, 48.63% 10.55%, 48.76% 11.2%, 49.28% 12.24%, 49.8% 13.02%, 50% 13.02%, 50.13% 13.41%, 50.65% 13.67%, 51.43% 13.67%, 51.76% 13.93%, 52.34% 13.93%, 52.8% 13.41%, 53.39% 13.28%, 54.3% 13.67%, 54.95% 14.32%, 55.99% 15.89%, 57.29% 16.8%, 58.92% 19.53%, 63.22% 19.53%, 64.39% 18.36%, 66.34% 15.49%, 67.84% 12.76%, 68.95% 11.2%, 69.34% 10.16%, 69.79% 9.77%, 70.7% 9.24%, 71.16% 9.24%, 71.48% 9.51%, 71.94% 9.38%, 72.27% 9.77%, 73.18% 11.85%, 74.02% 11.46%, 74.8% 12.5%, 75.07% 13.15%, 75.26% 13.15%, 75.52% 12.5%, 76.37% 11.85%, 76.5% 11.2%, 77.15% 11.07%, 77.21% 10.68%, 78.58% 9.51%, 80.14% 7.55%, 81.64% 6.12%, 81.9% 5.6%, 82.42% 5.73%, 83.01% 5.47%, 83.79% 6.25%, 84.05% 6.25%, 84.77% 7.55%, 85.22% 7.68%, 85.94% 8.98%, 86.26% 9.11%, 86.72% 10.55%, 87.3% 10.94%, 88.15% 11.98%, 88.41% 11.98%, 88.61% 12.37%, 88.87% 12.37%, 89.06% 12.89%, 90.04% 13.93%, 90.56% 15.36%, 90.76% 15.49%, 90.95% 16.02%, 91.41% 16.28%, 92.38% 18.36%, 92.64% 18.36%, 92.97% 18.88%, 93.55% 19.01%, 94.4% 20.57%, 94.47% 20.96%, 94.66% 20.96%, 94.92% 21.88%, 95.12% 21.88%, 95.44% 22.4%, 97.79% 22.4%, 98.24% 22.14%, 99.67% 22.27%, 100% 22.01%, 100% 100%, 0 100%);
}

/* Variante sombre du bandeau d’accueil. */
.heroDark { background: #0f1d30; color: #fffaf0; }
.heroDark .origin { color: var(--gold); }
.heroDark .intro { color: #d5dae1; }
.heroDark .heroButton { background: var(--gold); color: var(--ink); }
.heroDark .heroButton:hover { background: #f5dfb6; }
.heroDark .heroLink:hover { color: var(--gold); }

.wrap { max-width: 88rem; margin-inline: auto; padding: clamp(3rem, 5.2vw, 6rem) var(--gutter); }
.heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.4rem, 2.5vw, 2.6rem); }
.heading p { font-size: .85rem; color: var(--mute); }
.heading span, .footer p span { padding-inline: .25em; }
.scents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 2.4vw, 3rem); }
.scentVisual {
  box-shadow: var(--panel-shadow);
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  overflow: hidden;
  background: #8b8b90;
}
.scentVisual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-out; }
@media (hover: hover) {
  .scentVisual:hover img, .scentVisual:focus-within img { transform: scale(1.025); }
}
.scentText { padding-top: 1.25rem; }
.scentText p, .offerIntro { margin-top: .65rem; color: var(--mute); }
.textLink {
  display: inline-flex;
  gap: .9rem;
  align-items: center;
  min-height: 44px;
  padding-block: .45rem;
  font-size: .88rem;
  text-decoration-thickness: 1px;
  font-weight: 600;
}
.textLink:hover { color: #715326; }
.scentText .textLink { margin-top: .4rem; }
.offers { background: #eeeff0; }
.offerGrid { display: grid; gap: clamp(2rem, 4.8vw, 5.5rem); }
.offerGrid:has(.estimator:not([hidden])) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.offerSelector { min-width: 0; margin: 0 0 1.6rem; padding: 0; border: 0; }
.offerSelector legend { padding: 0; margin-bottom: .55rem; font-size: .875rem; color: var(--mute); }
.offerChoices { display: flex; flex-wrap: wrap; gap: .4rem; }
.offerChoices label { position: relative; cursor: pointer; }
.offerChoices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.offerChoices span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .7rem;
  border: 1px solid #959da7;
  border-radius: 2px;
  font-size: .875rem;
  transition: background-color .2s, color .2s;
}
.offerChoices label:hover span { background: #e1e5e9; }
.offerChoices input:checked + span { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.offerChoices input:focus-visible + span { outline: 3px solid #a9732c; outline-offset: 3px; }
.offerPanel { padding-block: 1.25rem; border-top: 1px solid #aeb6bf; }
.offerPanel .textLink { margin-top: .55rem; }
.price { margin: 1.35rem 0 .3rem; font: 400 clamp(2.7rem, 4vw, 4.4rem)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.price small { font: .9rem var(--sans); letter-spacing: 0; color: var(--mute); }
.tarifs { margin-block: .75rem; font-size: .95rem; }
.tarifs > div { display: flex; gap: .65rem; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #c7cdd3; padding: .55rem 0; }
.tarifs dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.note { font-size: .875rem; color: var(--mute); }
.estimator { padding: clamp(1.25rem, 3vw, 2.65rem); background: var(--paper); border: 1px solid var(--line); border-top: 2px solid #ae894b; }
.estimator { box-shadow: var(--panel-shadow); }
.estimator h3 { margin-bottom: 1.15rem; }
.estimator label { display: block; margin-bottom: .3rem; font-size: .9rem; }
.estimator input {
  width: 8rem;
  max-width: 100%;
  min-height: 44px;
  padding: .45rem .65rem;
  border: 1px solid #87919d;
  border-radius: 2px;
  color: var(--ink);
  background: #fffefa;
  font: inherit;
}
.estimator output { display: block; min-height: 5.75rem; margin-block: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.estimateAmount { display: block; font: clamp(1.65rem, 3vw, 2.6rem)/1.12 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.estimateDetail { display: block; margin-top: .4rem; color: var(--mute); font-size: .875rem; min-height: 2.8em; }
.estimateAction { max-width: 100%; }

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(1.5rem, 5vw, 5rem); }
.faq > div:first-child p { margin-top: .75rem; color: var(--mute); }
.faqList { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .75rem;
  min-height: 54px;
  padding-block: .85rem;
  list-style: none;
  font-weight: 600;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: .55rem; height: .55rem; margin-right: .2rem; border: solid #775b30; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary:hover { color: #715326; }
.faq details p { max-width: 62ch; padding-bottom: 1.05rem; color: var(--mute); }
.faq details a { color: var(--ink); }

.orderSection { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.orderIntro h2 { margin-bottom: 1.25rem; }
.orderIntro p { max-width: 38ch; }
.orderEmail { display: inline-block; margin: 1rem 0 1.5rem; overflow-wrap: anywhere; }
.orderOrigin { color: var(--mute); border-top: 1px solid var(--line); padding-top: 1.25rem; font-size: .86rem; }
.orderForm, .orderIdentity, .orderDetails { display: grid; gap: 1.25rem; }
.orderForm {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
  box-shadow: var(--panel-shadow);
}
.orderIdentity { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.orderDetails:has(label[for="order-quantity"]:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(9rem, .5fr); }
.orderForm label { min-width: 0; display: block; font-size: .9rem; font-weight: 600; }
.orderForm label[hidden] { display: none; }
.orderForm label span { font-weight: 400; color: var(--mute); }
.orderForm :is(input:not([type="hidden"]), select, textarea) {
  display: block;
  width: 100%;
  margin-top: .45rem;
  padding: .65rem .8rem;
  border: 1px solid #90998e;
  border-radius: 2px;
  font: 400 1rem/1.5 var(--sans);
  color: var(--ink);
  background-color: #fffefa;
  transition: border-color .18s;
}
.orderForm textarea { min-height: 7rem; resize: vertical; }
.orderForm textarea::placeholder { color: #647065; opacity: 1; }
.orderSubmit:disabled { opacity: .65; cursor: progress; }
.orderPrivacy { margin-top: .75rem; font-size: .82rem; color: var(--mute); }
#order-status:not(:empty) { margin-top: .8rem; }
#order-fallback { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
.footer { color: #e6e9df; background: #101c2a; padding-block: 1.35rem; }
.footerBrand img { display: block; object-fit: contain; }
.footer p, .backTop { font-size: .8rem; }
.footerLegal {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.2rem;
}
.footerLegal a { font-size: .8rem; text-decoration: underline; }
.legalPage { max-width: 54rem; margin-inline: auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter); }
.legalPage h1 { margin: 0 0 1.25rem; font-size: clamp(2.25rem, 5.5vw, 4.4rem); letter-spacing: -.02em; }
.legalPage h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.legalPage h3 { margin-top: 1.5rem; font-size: clamp(1.15rem, 2.3vw, 1.45rem); }
.legalPage p { margin-top: .7rem; }
.legalPage a { overflow-wrap: anywhere; }
.legalPage address { margin-top: .7rem; font-style: normal; }
.legalPage section { padding-block: 1.8rem; border-top: 1px solid var(--line); }
.legalNav { display: flex; flex-wrap: wrap; column-gap: 1.25rem; margin-bottom: 1rem; }
.legalNav a { white-space: normal; text-decoration: underline; }
.legalBack { display: inline-flex; align-items: center; min-height: 44px; text-align: right; }
.backTop { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; }
.confirmation { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; }
.confirmation main { width: min(100%, 44rem); padding: 2rem var(--gutter); }
.confirmation h1 { font-size: clamp(2.6rem, 7.5vw, 4.8rem); margin: 2rem 0 1rem; }
.confirmation .button { margin-top: 1.5rem; background: var(--ink); color: var(--paper); }

@media (max-width: 740px) {
  .wordmark img { height: 2.35rem; }
  .hero { --hero-rise: 11.68vw; --hero-rise: 11.68cqw; --hero-lift: 4.2vw; --hero-lift: 4.2cqw; grid-template-columns: 1fr; }
  .heroText { padding-block: 2.4rem 2.6rem; }
  .origin { gap: .55rem; letter-spacing: .09em; }
  .origin::before { width: 1rem; flex-shrink: 0; }
  .hero h1 { font-size: clamp(2.3rem, 9.6vw, 3.4rem); margin: 1rem 0 .9rem; }
  .intro { font-size: 1rem; }
  .heroActions { margin-top: 1.5rem; }
  .heroProduct { min-height: 0; aspect-ratio: 1 / 1.06; }
  .heroScenery { height: calc(var(--hero-rise) + var(--hero-lift) + min(9.5rem, 60vw)); }
  .heroLandscape { left: -45%; width: 160%; }
  .orderSection, .faq, .offerGrid:has(.estimator:not([hidden])) { grid-template-columns: 1fr; }
}
@media (max-width: 570px) {
  nav { gap: .85rem; }
  nav a { font-size: .875rem; }
  .navFaq { display: none; }
  .navOrder { padding: .5rem .55rem; font-size: .875rem; }
  .heading { flex-wrap: wrap; gap: .4rem 1rem; }
  .scents { grid-template-columns: 1fr; gap: 2rem; }
  .orderIdentity { grid-template-columns: 1fr; }
  .orderDetails:has(label[for="order-quantity"]:not([hidden])) { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; column-gap: .8rem; }
  .footerLegal { flex-basis: 100%; order: 1; border-top: 1px solid #e8c99440; padding-top: .4rem; }
  .legalNav { column-gap: 1rem; }
}
@media (max-width: 390px) {
  .masthead { gap: .55rem; padding-inline: .8rem; }
  nav { gap: .55rem; }
  .footer p { max-width: 13ch; }
}
@media (max-width: 350px) {
  .masthead { flex-wrap: wrap; gap: .35rem; padding-inline: .65rem; }
  nav { gap: .4rem; }
  .navOrder { padding-inline: .3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }

}
