/* Pelangi Partners — feuille de style unique. Polices hébergées sur le site (aucun appel à un service tiers). */
@font-face { font-family: "Spectral"; src: url("fonts/spectral-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #f1f2ec;      /* pierre calcaire */
  --ink: #1c2420;        /* encre */
  --muted: #59625b;      /* garrigue */
  --rule: #cbcfc4;
  --wine: #6b2235;       /* lie-de-vin : liens et boutons */
  --wine-dark: #521a29;
  --blanc: #cdbb6e;
  --rose: #d98e82;
  --rouge: #74202f;
  --biere: #b7852f;
  --the: #7d8c5a;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.6;
}
.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 16px; }
a { color: var(--wine); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--wine-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem .75rem; font-family: var(--sans); }
.skip:focus { left: 16px; }

/* En-tête */
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { max-width: 64rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.5rem; padding-top: 1rem; padding-bottom: .9rem; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; margin-right: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; }
.nav a, .lang { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: .35rem 0; display: inline-block; }
.nav a:hover, .lang:hover { color: var(--wine); }
.nav a[aria-current="page"] { color: var(--wine); box-shadow: inset 0 -2px 0 var(--wine); }
.lang { color: var(--muted); }
@media (max-width: 40rem) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .wordmark { margin-right: 0; }
  .lang { order: -1; position: absolute; right: 16px; top: 1rem; }
  .site-header { position: relative; }
}

/* Contenu */
main.wrap { padding-top: 2.75rem; padding-bottom: 3.5rem; }
h1 { font-weight: 600; font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 1.1rem; max-width: 20ch; }
.home h1 { max-width: 17ch; }
h2 { font-weight: 600; font-size: 1.55rem; line-height: 1.2; margin: 2.6rem 0 .8rem; }
h3 { font-weight: 600; font-size: 1.15rem; margin: 0 0 .4rem; }
p { margin: 0 0 1rem; max-width: 38em; }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--muted); margin-bottom: 1.8rem; }
.small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
strong { font-weight: 600; }

/* Boutons */
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.btn { font-family: var(--sans); font-weight: 600; font-size: 1rem; display: inline-block; padding: .75rem 1.2rem; border: 1.5px solid var(--wine); border-radius: 3px; color: var(--wine); text-decoration: none; background: transparent; }
.btn:hover { background: #e7e1dc; text-decoration: none; }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-dark); border-color: var(--wine-dark); color: #fff; }

/* Ce que nous proposons */
.offer { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.offer li { display: grid; grid-template-columns: 1fr; gap: .15rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.offer-title { font-weight: 600; font-size: 1.2rem; text-decoration: none; }
.offer-title:hover { text-decoration: underline; }
.offer-text { color: var(--muted); }
@media (min-width: 44rem) { .offer li { grid-template-columns: 15rem 1fr; gap: 1.5rem; } }

/* Étapes : une vraie séquence */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1rem 3rem; max-width: 38em; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.15rem; font-weight: 600; font-size: 1.6rem; line-height: 1; color: var(--wine); font-variant-numeric: lining-nums; }

/* Fiches (durée, prix, contacts) */
.facts { margin: 0 0 1.5rem; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 1fr; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--muted); }
.facts dd { margin: 0; }
@media (min-width: 40rem) { .facts div { grid-template-columns: 12rem 1fr; gap: 1rem; } }

/* La carte : l'élément signature du site */
.carte { margin: 2.2rem 0 1.4rem; padding-left: 1.1rem; border-left: 6px solid var(--rule); }
.carte-blanc { border-left-color: var(--blanc); }
.carte-rose { border-left-color: var(--rose); }
.carte-rouge { border-left-color: var(--rouge); }
.carte-biere { border-left-color: var(--biere); }
.carte-the { border-left-color: var(--the); }
.carte h2 { margin-top: 0; }
.carte ul { list-style: none; margin: 0; padding: 0; }
.carte li { padding: .55rem 0; }
.line { display: flex; align-items: baseline; gap: .5rem; }
.name { font-weight: 600; font-size: 1.15rem; }
.dots { flex: 1; border-bottom: 2px dotted #a9aea3; transform: translateY(-.3em); min-width: 1rem; }
.price { font-family: var(--sans); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meta { display: block; font-size: .98rem; color: var(--muted); font-style: italic; }

/* Liste des domaines : le nom compte plus que le lieu */
.domaines dt { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.domaines dd { color: var(--muted); }

/* Modèle de formulaire de rétractation */
.model { margin: 1.5rem 0; padding: 1rem 1.2rem; background: #e6e8df; border-left: 4px solid var(--muted); }
.model p { margin: 0 0 .6rem; font-size: 1rem; }
.model p:last-child { margin-bottom: 0; }

/* Bandeau légal des sites de vente d'alcool en ligne : arrêté du 17 octobre 2016, annexes 4 et 6
   (fond blanc, texte noir, filet d'au moins 3 pt, Helvetica Neue, centré, 60 px minimum, pleine largeur). */
.bandeau-mineurs { background: #fff; color: #000; border: 4px solid #000; min-height: 60px; padding: .55rem 16px .45rem; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.bandeau-mineurs .bandeau-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; max-width: 64rem; margin: 0 auto; }
.bandeau-mineurs .bandeau-logo { height: 60px; width: auto; flex: none; }
.bandeau-mineurs .bandeau-text { display: table; }
@media (max-width: 40rem) { .bandeau-mineurs .bandeau-logo { height: 44px; } .bandeau-mineurs .bandeau-inner { gap: .6rem; } }
.bandeau-mineurs p { margin: 0; max-width: none; text-align: center; line-height: 1.3; }
.bandeau-mineurs .b1 { font-weight: 700; font-size: 1rem; }
.bandeau-mineurs .b2 { font-weight: 400; font-size: .9rem; }
.bandeau-mineurs .b3 { font-weight: 500; font-size: .66rem; text-align: right; letter-spacing: .02em; margin-top: .15rem; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--rule); padding: 1.8rem 0 2.5rem; font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.site-footer p { margin: 0 0 .4rem; max-width: none; }
.site-footer .health { color: var(--ink); font-weight: 500; }
.legal { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.legal a { color: var(--muted); }
.legal .withdraw a { color: var(--wine); font-weight: 600; }

.notfound { padding-top: 4rem; }
.notfound .wordmark { margin-bottom: 2rem; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .site-header .nav, .lang, .cta { display: none; } body { background: #fff; } }
