@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --craie: #f4f1ea;
  --sable: #e5ded0;
  --or: #9a8055;
  --or-clair: #b7a075;
  --vigne: #3e4a3d;
  --encre: #1c1b18;
  --encre-doux: #57544c;

  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype",
    Palatino, Georgia, serif;
  --texte: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --large: 1080px;
  --etroit: 660px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--craie);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.lien-sortie {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--encre);
  color: var(--craie);
  padding: 12px 20px;
  z-index: 100;
}
.lien-sortie:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}

.contenance {
  width: 100%;
  max-width: var(--large);
  margin: 0 auto;
  padding: 0 28px;
}

.contenance-etroite {
  width: 100%;
  max-width: var(--etroit);
  margin: 0 auto;
  padding: 0 28px;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.005em;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
}
h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}
h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}

p {
  margin: 0 0 1.1em;
}

.surtitre {
  font-family: var(--texte);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or);
  margin: 0 0 1.4rem;
}

.chapeau {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.55;
  color: var(--encre);
}

.discret {
  color: var(--encre-doux);
  font-size: 0.9rem;
}

.a-completer {
  background: rgba(154, 128, 85, 0.14);
  border-bottom: 1px solid var(--or);
  padding: 0 3px;
}

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

.entete {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(28, 27, 24, 0.08);
}

.entete-interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.marque {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navigation a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--encre-doux);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.navigation a:hover,
.navigation a[aria-current="page"] {
  color: var(--encre);
  border-bottom-color: var(--or);
}

.bouton-menu {
  display: none;
  background: none;
  border: 1px solid rgba(28, 27, 24, 0.2);
  border-radius: 2px;
  padding: 8px 12px;
  font-family: var(--texte);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--encre);
}

/* ---------- Héro ---------- */

.hero {
  position: relative;
  padding: clamp(70px, 12vw, 130px) 0 0;
  overflow: hidden;
}

.hero-texte {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero h1 {
  margin-bottom: 1.6rem;
}

.hero .chapeau {
  max-width: 30ch;
}

.strates {
  display: block;
  width: 100%;
  height: clamp(180px, 26vw, 300px);
  margin-top: clamp(40px, 6vw, 70px);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(64px, 9vw, 110px) 0;
}

.section-sable {
  background: var(--sable);
}

.section-vigne {
  background: var(--vigne);
  color: var(--craie);
}
.section-vigne .surtitre {
  color: var(--or-clair);
}
.section-vigne .discret {
  color: rgba(244, 241, 234, 0.72);
}

.filet {
  border: 0;
  border-top: 1px solid rgba(28, 27, 24, 0.12);
  margin: 0;
}

/* ---------- Échelle du temps (élément signature) ---------- */

.temps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  align-items: end;
  margin-top: 3rem;
}

.temps-colonne {
  text-align: left;
}

.temps-barre {
  position: relative;
  width: 74px;
  max-width: 100%;
  background: repeating-linear-gradient(
    to bottom,
    #f4f1ea 0 7px,
    #e8e0d0 7px 9px,
    #f0ebe0 9px 17px,
    #dbd0b9 17px 18px
  );
  border: 1px solid rgba(28, 27, 24, 0.16);
  border-bottom: 3px solid var(--or);
  overflow: hidden;
  transform-origin: bottom;
  animation: pousse 1.1s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.temps-colonne:nth-child(2) .temps-barre {
  animation-delay: 0.12s;
}
.temps-colonne:nth-child(3) .temps-barre {
  animation-delay: 0.24s;
}

@keyframes pousse {
  from {
    transform: scaleY(0.15);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.temps-mesure {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  margin: 0 0 0.15em;
}

.temps-unite {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--encre-doux);
  display: block;
  margin-bottom: 14px;
}

.temps-nom {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 14px 0 0;
}

/* ---------- Cuvées ---------- */

.cuvees {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
}

.cuvee {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid rgba(28, 27, 24, 0.12);
}

.cuvee:last-child {
  border-bottom: 1px solid rgba(28, 27, 24, 0.12);
}

.cuvee-vignette {
  width: 56px;
  height: auto;
}

.cuvee-corps h3 {
  margin-bottom: 0.5rem;
}

.cuvee-meta {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
  margin: 0 0 0.9rem;
}

.cuvee-corps p {
  max-width: 56ch;
}

.cuvee-tarif {
  text-align: right;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--encre-doux);
  white-space: nowrap;
}

.cuvee-tarif strong {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--encre);
  display: block;
  line-height: 1.3;
}

/* ---------- Blocs divers ---------- */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin-top: 2.5rem;
}

.labels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
}

.labels li {
  border: 1px solid var(--or);
  border-radius: 2px;
  padding: 7px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or);
}

.coordonnees {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  font-size: 1rem;
  line-height: 2.1;
}

.coordonnees a {
  text-decoration: none;
  border-bottom: 1px solid var(--or);
}

.lien-souligne {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--or);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.lien-souligne:hover {
  border-bottom-color: var(--encre);
}

.section-vigne .lien-souligne {
  border-bottom-color: var(--or-clair);
}
.section-vigne .lien-souligne:hover {
  border-bottom-color: var(--craie);
}

/* ---------- Tableau tarifs ---------- */

.tableau {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.94rem;
}

.tableau caption {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--encre-doux);
  padding-bottom: 14px;
}

.tableau th,
.tableau td {
  text-align: left;
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid rgba(28, 27, 24, 0.1);
  vertical-align: top;
}

.tableau th {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-doux);
}

.tableau td:last-child,
.tableau th:last-child {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
}

/* ---------- Pied de page ---------- */

.pied {
  background: var(--encre);
  color: rgba(244, 241, 234, 0.78);
  padding: clamp(52px, 7vw, 78px) 0 32px;
  font-size: 0.88rem;
}

.pied a {
  color: rgba(244, 241, 234, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 128, 85, 0.6);
}

.pied a:hover {
  color: var(--craie);
}

.pied-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.pied h2 {
  font-size: 1.5rem;
  color: var(--craie);
  margin-bottom: 0.8rem;
}

.pied-titre {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--or-clair);
  margin: 0 0 1rem;
}

.pied ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}

.sanitaire {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
  display: grid;
  gap: 14px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(244, 241, 234, 0.86);
}

.sanitaire p:first-child {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.sanitaire p + p {
  color: rgba(244, 241, 234, 0.66);
  font-size: 0.78rem;
}

.sanitaire p {
  margin: 0;
}

.pictogramme {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Portail d'âge ---------- */

.portail {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--craie);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.portail[hidden] {
  display: none;
}

.portail-boite {
  max-width: 460px;
}

.portail h2 {
  margin-bottom: 1.2rem;
}

.portail-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.portail-actions button {
  font-family: var(--texte);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.bouton-oui {
  background: var(--encre);
  color: var(--craie);
  border: 1px solid var(--encre);
}
.bouton-oui:hover {
  background: var(--vigne);
  border-color: var(--vigne);
}

.bouton-non {
  background: transparent;
  color: var(--encre);
  border: 1px solid rgba(28, 27, 24, 0.3);
}
.bouton-non:hover {
  border-color: var(--encre);
}

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

@media (max-width: 860px) {
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }
  .cuvee {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .cuvee-vignette {
    width: 48px;
  }
  .cuvee-tarif {
    grid-column: 2;
    text-align: left;
  }
  .cuvee-tarif strong {
    display: inline-block;
    margin-right: 10px;
  }
}

@media (max-width: 720px) {
  .bouton-menu {
    display: block;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--craie);
    border-bottom: 1px solid rgba(28, 27, 24, 0.12);
    padding: 8px 28px 22px;
  }
  .navigation.ouverte {
    display: flex;
  }
  .navigation a {
    padding: 12px 0;
    width: 100%;
  }
  .entete-interieur {
    position: relative;
  }
  .temps {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }
  .temps-barre {
    min-height: 12px !important;
    height: 12px !important;
  }
}

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

@media print {
  .entete,
  .portail,
  .bouton-menu {
    display: none;
  }
  body {
    background: #fff;
  }
}

/* ---------- Utilitaires d'espacement ---------- */
/* Genere automatiquement : evite tout style en ligne, que la
   politique de securite de contenu (CSP) interdit. */

.h-124px {
  height: 124px;
}

.h-165px {
  height: 165px;
}

.h-206px {
  height: 206px;
}

.m-0 {
  margin: 0;
}

.mt-12rem {
  margin-top: 1.2rem;
}

.mt-14rem {
  margin-top: 1.4rem;
}

.mt-16rem {
  margin-top: 1.6rem;
}

.mt-18rem {
  margin-top: 1.8rem;
}

.mt-24rem {
  margin-top: 2.4rem;
}

.mt-2rem {
  margin-top: 2rem;
}

.mt-35rem {
  margin-top: 3.5rem;
}

.mt-3rem {
  margin-top: 3rem;
}

.mw-20ch {
  max-width: 20ch;
}

.mw-44ch {
  max-width: 44ch;
}

.mw-46ch {
  max-width: 46ch;
}

.mw-52ch {
  max-width: 52ch;
}

.mw-58ch {
  max-width: 58ch;
}

.mw-60ch {
  max-width: 60ch;
}

.pt-0 {
  padding-top: 0;
}
