/* Charte reprise des fiches dégustation des Caves Maillol :
   bandeaux anthracite, rouge Maillol, bleu-vert pâle des encadrés.
   Polices web proches des polices InDesign (non diffusables sur le web) :
   Kaushan Script ≈ Mirella · Raleway Light ≈ Biko Light ·
   Source Sans 3 ≈ Myriad Pro · Barlow Condensed ≈ Myriad Condensed. */

:root {
  --anthracite: #1d2731;
  --anthracite-2: #2b2b2b;
  --rouge: #b3282d;
  --rouge-fonce: #8f1f23;
  --bleu-vert: #b4dcdc;
  --bleu-vert-pale: #e3f2f2;
  --papier: #ffffff;
  --fond: #f4f1ec;
  --texte: #222222;
  --texte-doux: #5c5c5c;
  --bord: #d9d4cc;
  --ok: #2f6b3a;

  /* Jamais « cursive » en secours : sous Windows, c'est Comic Sans MS. */
  --f-manuscrit: "Kaushan Script", "Segoe Script", "Brush Script MT", Georgia, serif;
  --f-titre: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --f-texte: "Source Sans 3", "Myriad Pro", "Segoe UI", Arial, sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--rouge); }

/* ---------- Bandeau ---------- */
.bandeau {
  background: var(--anthracite);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}
.bandeau-logo img { display: block; width: 72px; height: 72px; }
.bandeau-titre {
  margin: 0;
  font-family: var(--f-manuscrit);
  font-size: 30px;
  line-height: 1.1;
}
.bandeau-titre span { display: block; font-family: var(--f-titre); font-weight: 200; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Contenu ---------- */
main { max-width: 640px; margin: 0 auto; padding: 20px 16px 32px; }

.bienvenue {
  margin: 0 0 12px;
  font-family: var(--f-cond);
  font-size: 19px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rouge);
}

.carte {
  background: var(--papier);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.titre-fin {
  margin: 0 0 8px;
  font-family: var(--f-titre);
  font-weight: 200;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.rouge { color: var(--rouge); }
.accroche { margin: 0 0 20px; color: var(--texte-doux); }
.discret { color: var(--texte-doux); font-weight: 400; }

.manuscrit { font-family: var(--f-manuscrit); color: var(--rouge); font-size: 26px; margin: 0; }
.manuscrit.grand { font-size: 40px; }

.lot {
  background: var(--bleu-vert);
  border-radius: 12px;
  padding: 14px 18px 16px;
  margin: 0 0 22px;
}
.lot-nom { margin: 2px 0 0; font-size: 21px; font-weight: 700; }
.lot-detail { margin: 4px 0 0; font-size: 15px; }
.lot-detail:empty { display: none; }

/* ---------- Formulaires ---------- */
form { display: grid; gap: 14px; }
label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
input[type="text"], input:not([type]), input[type="email"] {
  font: inherit;
  font-weight: 400;
  padding: 11px 12px;
  border: 1px solid var(--bord);
  border-radius: 8px;
  background: #fff;
  color: var(--texte);
  width: 100%;
}
input:focus-visible { outline: 3px solid var(--bleu-vert); outline-offset: 1px; border-color: var(--anthracite); }
.ligne-2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .ligne-2 { grid-template-columns: 1fr; } }

.case { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; line-height: 1.4; }
.case input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--rouge); }
.case-option { background: var(--bleu-vert-pale); border-radius: 8px; padding: 10px 12px; }

fieldset { border: 1px solid var(--bord); border-radius: 10px; padding: 12px 14px 14px; margin: 0; }
legend { font-weight: 700; padding: 0 6px; }
.choix { display: grid; gap: 8px; margin-top: 6px; }
.choix label { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.choix input { width: 20px; height: 20px; accent-color: var(--rouge); }

.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bouton {
  font: inherit;
  font-family: var(--f-cond);
  font-size: 22px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rouge);
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  justify-self: start;
}
.bouton:hover { background: var(--rouge-fonce); }
.bouton:disabled { opacity: .6; cursor: wait; }

.message { margin: 0; min-height: 1.5em; font-weight: 600; }
.message.erreur { color: var(--rouge); }
.petit { margin: 0; font-size: 13px; color: var(--texte-doux); }

.merci p { margin: 0 0 10px; }

/* ---------- Pied de page ---------- */
.pied {
  background: var(--anthracite-2);
  color: #fff;
  padding: 24px 16px 28px;
  text-align: center;
  font-family: var(--f-cond);
  font-size: 17px;
  letter-spacing: .02em;
}
.pied p { margin: 2px 0; }
.pied a { color: #fff; }
.pied-boutiques { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; max-width: 640px; margin: 0 auto 14px; }
@media (max-width: 520px) { .pied-boutiques { grid-template-columns: 1fr; } }
.pied-ville { color: #e0585c; font-size: 20px; text-transform: uppercase; }
.pied-contact { margin-top: 10px !important; font-size: 18px; }
.pied-reseaux { display: flex; justify-content: center; gap: 18px; margin: 12px 0 !important; }
.pied-reseaux a { display: inline-flex; }
.pied-legal { font-size: 14px; color: #c9c9c9; }
.pied-mention { font-size: 14px; color: #c9c9c9; margin-top: 8px !important; }

/* ---------- Pages de texte (règlement, confidentialité) ---------- */
.texte-long h1 { font-family: var(--f-titre); font-weight: 300; font-size: 30px; margin: 0 0 6px; }
.texte-long h2 { font-family: var(--f-cond); font-weight: 500; font-size: 22px; text-transform: uppercase; color: var(--rouge); margin: 26px 0 6px; letter-spacing: .03em; }
.texte-long p, .texte-long li { font-size: 16px; }
.a-completer { background: #fff3c4; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.avertissement { background: #fff3c4; border-left: 4px solid #c99a00; padding: 10px 14px; border-radius: 6px; font-size: 15px; }
