/* ══════════════════════════════════════════════════
   POMPETTE — Design System v2 · CSS Partagé
   Règles : brut, minimaliste, zéro dégradé,
   zéro bordure forte, très peu de noir,
   contrastes jaune/rouge sur blanc
══════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --jaune:        #f8b140;
  --rouge:        #b4282f;
  --fond:         #fbfbfb;
  --noir:         #000000;
  --gris:         #eeeeee;
  --gris-moyen:   #cccccc;
  --texte:        #000000;
  --texte-light:  #555555;
  --texte-para:   #555555;
  --font-titre:   'Bebas Neue', Arial, sans-serif;
  --font-corps:   'Lato', Arial, sans-serif;
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-corps);
  background: var(--fond);
  color: var(--texte);
  font-size: 16px;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAVBAR ───────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--jaune);
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 72px; width: auto; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links li a {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--noir);
  padding: 8px 18px;
  display: block;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-links li a:hover { color: var(--rouge); }
.nav-links li a.nav-cta {
  background: var(--rouge);
  color: #fff;
  margin-left: 12px;
  padding: 10px 24px;
}
.nav-links li a.nav-cta:hover { background: #8a1a1f; color: #fff; }
.nav-links li a.active { color: var(--rouge); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--noir); }

/* ── BOUTONS ──────────────────────────────────── */
.btn {
  font-family: var(--font-corps);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 36px;
  display: inline-block;
  transition: background var(--transition), color var(--transition);
}
.btn-primary { background: var(--rouge); color: #fff; }
.btn-primary:hover { background: #8a1a1f; }
.btn-secondary { background: var(--jaune); color: var(--noir); }
.btn-secondary:hover { background: #e0a030; }
.btn-outline {
  background: transparent;
  color: var(--rouge);
  border: 2px solid var(--rouge);
}
.btn-outline:hover { background: var(--rouge); color: #fff; }

/* ── LAYOUT ───────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── TYPOGRAPHIE COMMUNE ──────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rouge);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-titre);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--texte);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.section-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--texte-light);
  line-height: 1.85;
}

/* ── PAGE HERO (pages intérieures) ────────────── */
.page-hero {
  background: var(--fond);
  padding: 80px 32px 64px;
  border-bottom: 1px solid var(--gris);
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.page-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rouge);
  display: block;
  margin-bottom: 16px;
}
.page-hero-title {
  font-family: var(--font-titre);
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--texte);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 20px;
}
.page-hero-title span { color: var(--rouge); }
.page-hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--texte-para);
  max-width: 580px;
  line-height: 1.8;
}
.page-hero-accent {
  display: inline-block;
  background: var(--jaune);
  color: var(--texte);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  margin-top: 28px;
}

/* ── SECTION INTRO ────────────────────────────── */
.intro-section {
  padding: 72px 32px;
  background: var(--fond);
  border-bottom: 1px solid var(--gris);
}
.intro-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--texte-para);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* ── GRILLE VINS ──────────────────────────────── */
.vins-section {
  padding: 72px 32px;
  background: var(--fond);
}
.vins-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gris);
}
.vin-card {
  background: var(--fond);
  padding: 40px 32px;
  transition: background var(--transition);
}
.vin-card:hover { background: rgba(248,177,64,0.08); }
.vin-card-region {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 10px;
}
.vin-card-name {
  font-family: var(--font-titre);
  font-size: 1.6rem;
  color: var(--rouge);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.vin-card-producer {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--texte-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.vin-card-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--texte-para);
  line-height: 1.75;
  margin-bottom: 20px;
}
.vin-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vin-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texte);
  background: var(--jaune);
  padding: 4px 10px;
}

/* ── SECTION JAUNE (CTA / highlight) ─────────── */
.section-jaune {
  background: var(--jaune);
  padding: 72px 32px;
}
.section-jaune .section-label { color: var(--rouge); }
.section-jaune .section-title { color: var(--texte); }
.section-jaune .section-text { color: rgba(0,0,0,0.6); }

/* ── SECTION GRISE (alternance) ──────────────── */
.section-grise {
  background: var(--gris);
  padding: 72px 32px;
}

/* ── NEWSLETTER ───────────────────────────────── */
.newsletter-section {
  background: var(--jaune);
  padding: 72px 32px;
}
.newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.newsletter-inner .section-label { color: var(--rouge); }
.newsletter-inner .section-title { color: var(--texte); }
.newsletter-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(0,0,0,0.6);
  line-height: 1.8;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-form input {
  padding: 14px 20px;
  font-family: var(--font-corps);
  font-size: 0.9rem;
  border: none;
  outline: none;
  background: #fff;
  color: var(--texte);
  width: 100%;
}
.newsletter-form input::placeholder { color: #aaa; }
.newsletter-form button {
  background: var(--rouge);
  color: #fff;
  font-family: var(--font-corps);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: background var(--transition);
  align-self: flex-start;
}
.newsletter-form button:hover { background: #8a1a1f; }
.form-disclaimer {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.4);
}
.newsletter-feedback {
  font-size: 0.85rem;
  font-family: var(--font-corps);
  padding: 8px 0;
}
.newsletter-feedback.success { color: #1a5c1a; }
.newsletter-feedback.error   { color: var(--rouge); }

/* ── FOOTER ───────────────────────────────────── */
.footer {
  background: var(--fond);
  border-top: 1px solid var(--gris);
  padding: 48px 32px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img { height: 38px; margin-bottom: 14px; }
.footer-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  color: #aaa;
  line-height: 1.7;
}
.footer-nav-title {
  font-family: var(--font-titre);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--texte);
  margin-bottom: 14px;
}
.footer-nav ul { list-style: none; }
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav ul li a {
  font-size: 0.85rem;
  font-weight: 300;
  color: #aaa;
  transition: color var(--transition);
}
.footer-nav ul li a:hover { color: var(--rouge); }
.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--gris);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: #ccc; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .vins-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--jaune);
    padding: 16px 0;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .page-hero,
  .intro-section,
  .vins-section,
  .section-jaune,
  .newsletter-section { padding: 56px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .vins-grid { grid-template-columns: 1fr; }
}
