/* ============================================================
   CURATED WINE EXPERIENCES ALSACE
   Charte graphique complète — version finale
   Palette extraite de la photo vignoble
   hello@curated-wine.fr · curated-wine.fr
   ============================================================ */


/* ------------------------------------------------------------
   1. VARIABLES GLOBALES
   ------------------------------------------------------------ */
:root {
  /* Couleurs — extraites de la photo terra rossa */
  --cwe-nuit:        #2B1208;   /* Nuit de terre — textes, fond sombre */
  --cwe-terre:       #773415;   /* Terre rouge vive — terracotta principal */
  --cwe-or:          #A48F58;   /* Or raisin — accent, CTA, liens */
  --cwe-paille:      #DEC9A8;   /* Paille dorée — bordures douces */
  --cwe-lin:         #FBF5EE;   /* Lin lumière — fond principal */
  --cwe-vigne:       #625D1D;   /* Feuille de vigne — vert naturel */

  /* Teintes légères (fonds badges, hovers) */
  --cwe-or-light:    #F7EDDA;
  --cwe-terre-light: #F5E8DF;
  --cwe-vigne-light: #EAF0E2;

  /* Textes */
  --cwe-text-primary:   #2B1208;
  --cwe-text-secondary: #773415;
  --cwe-text-muted:     #9A7050;

  /* Fond sombre (footer, section nuit) */
  --cwe-dark-bg:   #1A0A04;
  --cwe-dark-card: #2B1208;

  /* Typographie */
  --cwe-font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --cwe-font-body:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Espacements */
  --cwe-radius-sm: 6px;
  --cwe-radius-md: 10px;
  --cwe-radius-lg: 16px;

  /* Bordures */
  --cwe-border:      0.5px solid #DEC9A8;
  --cwe-border-or:   1px solid #A48F58;
}


/* ------------------------------------------------------------
   2. TYPOGRAPHIE
   Import à ajouter dans le <head> :
   <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap" rel="stylesheet">
   ------------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--cwe-font-title);
  color: var(--cwe-nuit);
  line-height: 1.2;
}

h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 600; }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

body, p, li, td {
  font-family: var(--cwe-font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--cwe-text-primary);
}

.cwe-label {
  font-family: var(--cwe-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cwe-text-secondary);
}

.cwe-italic {
  font-family: var(--cwe-font-title);
  font-style: italic;
  color: var(--cwe-text-muted);
}

a {
  color: var(--cwe-or);
  text-decoration: none;
}
a:hover { text-decoration: underline; }


/* ------------------------------------------------------------
   3. MISE EN PAGE
   ------------------------------------------------------------ */

.cwe-section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cwe-section--dark {
  background: var(--cwe-dark-bg);
  color: #F5E8D8;
}

.cwe-divider {
  width: 48px;
  height: 2px;
  background: var(--cwe-or);
  margin: 1rem 0;
}
.cwe-divider--center { margin: 1rem auto; }


/* ------------------------------------------------------------
   4. BOUTONS
   ------------------------------------------------------------ */

.btn-cwe {
  display: inline-block;
  background: var(--cwe-nuit);
  color: var(--cwe-lin);
  border: none;
  border-radius: var(--cwe-radius-sm);
  padding: 12px 28px;
  font-family: var(--cwe-font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}
.btn-cwe:hover { opacity: 0.82; color: var(--cwe-lin); text-decoration: none; }

/* Accent or */
.btn-cwe--or {
  background: var(--cwe-or);
  color: var(--cwe-nuit);
}

/* Terracotta */
.btn-cwe--terre {
  background: var(--cwe-terre);
  color: var(--cwe-lin);
}

/* Contour */
.btn-cwe--outline {
  background: transparent;
  color: var(--cwe-nuit);
  border: 1.5px solid var(--cwe-nuit);
}
.btn-cwe--outline:hover {
  background: var(--cwe-nuit);
  color: var(--cwe-lin);
}

/* Contour clair (sur fond sombre) */
.btn-cwe--outline-light {
  background: transparent;
  color: var(--cwe-lin);
  border: 1.5px solid var(--cwe-paille);
}
.btn-cwe--outline-light:hover {
  background: var(--cwe-paille);
  color: var(--cwe-nuit);
}


/* ------------------------------------------------------------
   5. BADGES
   ------------------------------------------------------------ */

.badge-cwe {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 20px;
  font-family: var(--cwe-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-cwe--or {
  background: var(--cwe-or-light);
  color: #6B5010;
  border: 0.5px solid #D4A84A;
}

.badge-cwe--terre {
  background: var(--cwe-terre-light);
  color: #6B2808;
  border: 0.5px solid #C47858;
}

.badge-cwe--vigne {
  background: var(--cwe-vigne-light);
  color: #3A5020;
  border: 0.5px solid #8AAA6A;
}


/* ------------------------------------------------------------
   6. CARDS
   ------------------------------------------------------------ */

.card-cwe {
  background: var(--cwe-lin);
  border: var(--cwe-border);
  border-radius: var(--cwe-radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card-cwe:hover {
  border-color: var(--cwe-or);
  box-shadow: 0 4px 24px rgba(164, 143, 88, 0.12);
}

.card-cwe__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--cwe-radius-md);
  margin-bottom: 1rem;
}

.card-cwe__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cwe-text-secondary);
  margin-bottom: 6px;
}

.card-cwe__title {
  font-family: var(--cwe-font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--cwe-nuit);
  margin-bottom: 6px;
}

.card-cwe__text {
  font-size: 14px;
  color: var(--cwe-text-muted);
  line-height: 1.7;
}

.card-cwe__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: var(--cwe-border);
}

.card-cwe__price {
  font-family: var(--cwe-font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--cwe-nuit);
}


/* ------------------------------------------------------------
   7. FORMULAIRES
   ------------------------------------------------------------ */

.input-cwe {
  width: 100%;
  border: 0.5px solid var(--cwe-paille);
  border-radius: var(--cwe-radius-sm);
  padding: 11px 14px;
  font-family: var(--cwe-font-body);
  font-size: 14px;
  color: var(--cwe-nuit);
  background: var(--cwe-lin);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-cwe::placeholder { color: var(--cwe-text-muted); }
.input-cwe:focus {
  border-color: var(--cwe-or);
  box-shadow: 0 0 0 3px rgba(164, 143, 88, 0.15);
}

label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--cwe-text-secondary);
  margin-bottom: 5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ------------------------------------------------------------
   8. NAVIGATION
   ------------------------------------------------------------ */

.nav-cwe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: var(--cwe-lin);
  border-bottom: var(--cwe-border);
}

.nav-cwe__logo {
  font-family: var(--cwe-font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--cwe-nuit);
  text-decoration: none;
}
.nav-cwe__logo span { color: var(--cwe-or); }

.nav-cwe__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-cwe__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cwe-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-cwe__links a:hover,
.nav-cwe__links a.active { color: var(--cwe-terre); }


/* ------------------------------------------------------------
   9. HERO
   ------------------------------------------------------------ */

.hero-cwe {
  position: relative;
  padding: 6rem 2rem;
  background: var(--cwe-lin);
  overflow: hidden;
}

span.tracking-label.text-cwe-muted, span.text-cwe-muted.person {color: white}

.hero-cwe::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--cwe-lin) 60%, rgba(164,143,88,0.08) 100%);
  pointer-events: none;
}

.hero-cwe__eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cwe-terre);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-cwe__title {
  font-family: var(--cwe-font-title);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  color: var(--cwe-nuit);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-cwe__title em {
  font-style: italic;
  color: var(--cwe-or);
}

.hero-cwe__sub {
  font-size: 17px;
  color: var(--cwe-text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-cwe__price {
  font-family: var(--cwe-font-title);
  font-size: 14px;
  color: var(--cwe-text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}
.hero-cwe__price strong {
  font-size: 28px;
  color: var(--cwe-nuit);
  margin-right: 4px;
}

/* ------------------------------------------------------------
   12. UTILITAIRES
   ------------------------------------------------------------ */

.cwe-text-center  { text-align: center; }
.cwe-text-muted   { color: var(--cwe-text-muted); }
.cwe-text-or      { color: var(--cwe-or); }
.cwe-text-terre   { color: var(--cwe-terre); }

.cwe-bg-lin       { background: var(--cwe-lin); }
.cwe-bg-dark      { background: var(--cwe-dark-bg); }

.cwe-mt-sm  { margin-top: 0.5rem; }
.cwe-mt-md  { margin-top: 1rem; }
.cwe-mt-lg  { margin-top: 2rem; }
.cwe-mt-xl  { margin-top: 4rem; }

.cwe-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cwe-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

@media (max-width: 768px) {
  .cwe-grid-2,
  .cwe-grid-3 { grid-template-columns: 1fr; }
  .nav-cwe__links { display: none; }
}

.eyebrow-cwe{font-family:var(--cwe-font-body);font-size:11px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--cwe-text-secondary)}
.divider-cwe{width:48px;height:2px;background:var(--cwe-or)}

/* FOOTER */

.cwe-ft{background:var(--cwe-dark-bg);color:#d4bf9a;padding:4rem 1.5rem 2rem;font-family:var(--cwe-font-body)}
.cwe-ft__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cwe-ft__inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1.6fr 1fr 1.2fr 1fr;gap:2.5rem}
.cwe-ft__logo{font-family:var(--cwe-font-title);font-size:20px;font-weight:700;color:var(--cwe-lin);text-decoration:none;line-height:1.2}
.cwe-ft__logo span{color:var(--cwe-or)}
.cwe-ft__tagline{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--cwe-or);margin:.6rem 0 1rem;opacity:.85}
.cwe-ft__pitch{font-size:13px;line-height:1.7;color:#b89a78;max-width:34ch;margin-bottom:1.25rem}
.cwe-ft__social{font-size:13px;font-weight:500;color:var(--cwe-paille);text-decoration:none;transition:color .2s}
.cwe-ft__social:hover{color:var(--cwe-or)}
.cwe-ft__col{display:flex;flex-direction:column;gap:.7rem}
.cwe-ft__title{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--cwe-paille);margin-bottom:.3rem}
.cwe-ft__col a{font-size:13px;color:#c9b48f;text-decoration:none;transition:color .2s;width:fit-content}
.cwe-ft__col a:hover{color:var(--cwe-or)}
.cwe-ft__muted{font-size:13px;line-height:1.6;color:#8a7358}
.cwe-ft__lang{margin-top:.4rem;font-weight:500;color:var(--cwe-or)}
.cwe-ft__bottom{max-width:1100px;margin:2.5rem auto 0;padding-top:1.5rem;border-top:.5px solid #3d1a0a;display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem}
.cwe-ft__copy{font-size:11px;color:#7a6144;letter-spacing:.02em}
@media(max-width:820px){.cwe-ft__inner{grid-template-columns:1fr 1fr}.cwe-ft__brand{grid-column:1/-1}}
@media(max-width:480px){.cwe-ft__inner{grid-template-columns:1fr}.cwe-ft__bottom{flex-direction:column}}