/* Geneva Distribution Group : feuille de style (mobile-first) */

:root {
  --green: #1f3d2f;
  --green-deep: #16291f;
  --green-soft: #2f5a45;
  --cream: #f7f4ee;
  --sand: #ece6da;
  --ink: #1d221f;
  --muted: #5a625d;
  --line: #d9d2c4;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 6px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: var(--cream);
  padding: .75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid #b48a3c; outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; min-height: 64px; gap: .5rem;
}
.logo {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1rem, 4.6vw, 1.35rem);
  letter-spacing: .01em; color: var(--green); text-decoration: none;
}

.nav-toggle { display: none; }
.site-nav { width: 100%; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding-bottom: .75rem; }
.site-nav a {
  display: inline-block; padding: .35rem 0; font-size: .95rem; font-weight: 500;
  text-decoration: none; color: var(--ink);
}
.site-nav a:hover { color: var(--green-soft); }
.nav-cta { color: var(--green) !important; border-bottom: 2px solid var(--green); }

/* Menu repliable seulement si JS actif */
.js .nav-toggle {
  display: inline-flex; align-items: center; gap: .6rem;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .5rem .8rem; font: inherit; font-size: .9rem; font-weight: 500;
  color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--green); content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.js .site-nav ul { flex-direction: column; gap: 0; padding: .25rem 0 1rem; }
.js .site-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.js .nav-cta { border-bottom: 1px solid var(--line); }

/* Typographie */
h1, h2, h3 { font-family: var(--serif); color: var(--green); line-height: 1.15; }
h1 { font-size: 2.2rem; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.9rem; font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-soft); margin-bottom: .9rem;
}
.lead { font-size: 1.1rem; color: var(--muted); margin-top: 1.25rem; max-width: 40rem; }

/* Boutons */
.btn {
  display: inline-block; padding: .85rem 1.4rem; border-radius: var(--radius);
  font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { border-color: var(--green); color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--green-deep); }
.btn-light:hover { background: var(--white); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(circle at 92% 8%, rgba(47, 90, 69, .12) 0 9rem, transparent 9.1rem),
    radial-gradient(circle at 98% 26%, rgba(180, 138, 60, .14) 0 4rem, transparent 4.1rem),
    var(--cream);
}
.hero-inner { display: grid; gap: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.hero-facts li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--green); margin-bottom: .2rem; }
.hero-facts span { display: block; font-size: .95rem; color: var(--muted); }

/* Sections */
.section { padding: 3.5rem 0; }
.section--tint { background: var(--sand); }
.section-head { max-width: 44rem; margin-bottom: 2.25rem; }
.section-intro { color: var(--muted); margin-top: 1rem; }

/* Cartes sélection */
.cards { display: grid; gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-visual { height: 120px; background-color: var(--green); }
.card-visual--orchard {
  background-color: var(--green);
  background-image:
    radial-gradient(circle at 30% 60%, rgba(247,244,238,.16) 0 34px, transparent 35px),
    radial-gradient(circle at 62% 40%, rgba(247,244,238,.10) 0 46px, transparent 47px),
    radial-gradient(circle at 86% 72%, rgba(180,138,60,.35) 0 22px, transparent 23px);
}
.card-visual--softs {
  background-color: #6b2f2f;
  background-image:
    repeating-linear-gradient(135deg, rgba(247,244,238,.10) 0 2px, transparent 2px 16px),
    radial-gradient(circle at 80% 30%, rgba(247,244,238,.14) 0 28px, transparent 29px);
}
.card-visual--beer {
  background-color: #3a3a2c;
  background-image:
    radial-gradient(rgba(180,138,60,.45) 2px, transparent 3px),
    radial-gradient(rgba(247,244,238,.14) 2px, transparent 3px);
  background-size: 26px 26px, 26px 26px;
  background-position: 0 0, 13px 13px;
}
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-note { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .82rem !important; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green-soft) !important; }

/* Publics */
.audience { display: grid; gap: 0; border-top: 1px solid var(--line); }
.audience li { padding: 1.3rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .4rem; }
.audience p { color: var(--muted); }

/* Pourquoi nous */
.reasons { display: grid; gap: 1.75rem; }
.reason { padding-top: 1.25rem; border-top: 2px solid var(--green); }
.reason-num { display: block; font-family: var(--serif); font-size: 1.1rem; color: #8a6a2c; font-weight: 700; margin-bottom: .4rem; }
.reason h3 { margin-bottom: .6rem; }
.reason p { color: var(--muted); }

/* Contact */
.section--dark { background: var(--green); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark .eyebrow { color: #d9c08a; }
.contact-grid { display: grid; gap: 2.5rem; }
.contact-intro > p { color: rgba(247,244,238,.85); margin-top: 1rem; }
.contact-details { margin-top: 1.75rem; display: grid; gap: .9rem; }
.contact-details li { display: grid; gap: .1rem; font-size: 1rem; }
.contact-details span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #d9c08a; font-weight: 600; }
.contact-details a { text-decoration-color: rgba(247,244,238,.4); text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration-color: var(--cream); }

.contact-form { display: grid; gap: 1rem; background: rgba(247,244,238,.07); border: 1px solid rgba(247,244,238,.2); border-radius: var(--radius); padding: 1.5rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--cream);
  border: 1.5px solid transparent; border-radius: var(--radius); padding: .75rem .9rem;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus { outline: 3px solid #d9c08a; outline-offset: 0; }
.field input.is-invalid, .field textarea.is-invalid { border-color: #e2846f; }
.form-foot { gap: .8rem; align-items: start; }
.form-note { font-size: .85rem; color: rgba(247,244,238,.8); }
.form-note.is-error { color: #ffc9bd; font-weight: 600; }

/* Footer */
.site-footer { background: var(--green-deep); color: rgba(247,244,238,.85); padding: 2.5rem 0 1.5rem; font-size: .92rem; }
.footer-inner { display: grid; gap: 1.5rem; }
.footer-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--cream); margin-bottom: .2rem; }
.footer-small { margin-top: .6rem; font-size: .85rem; color: rgba(247,244,238,.65); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { text-decoration-color: rgba(247,244,238,.35); text-underline-offset: 3px; }
.footer-links a:hover { color: var(--cream); }
.footer-copy { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(247,244,238,.15); font-size: .8rem; color: rgba(247,244,238,.6); }

/* Tablette */
@media (min-width: 720px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  .container { padding: 0 2rem; }
  .hero { padding: 5rem 0 4rem; }
  .section { padding: 5rem 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card-visual { height: 140px; }
  .reasons { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .audience { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .contact-form { grid-template-columns: 1fr 1fr; padding: 2rem; }
  .field--full { grid-column: 1 / -1; }
  .form-foot { grid-template-columns: auto 1fr; align-items: center; gap: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
}

/* Bureau : navigation toujours visible */
@media (min-width: 900px) {
  .header-inner { flex-wrap: nowrap; }
  .site-nav { width: auto; }
  .js .nav-toggle { display: none; }
  .js .site-nav, .js .site-nav.is-open { display: block; }
  .site-nav ul, .js .site-nav ul { flex-direction: row; flex-wrap: nowrap; gap: 1.75rem; padding: 0; }
  .js .site-nav a, .site-nav a { padding: .35rem 0; border-bottom: 0; }
  .nav-cta, .js .nav-cta { border-bottom: 2px solid var(--green); }
  .hero-inner { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 4rem; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
}

@media (min-width: 1400px) {
  html { font-size: 106.25%; }
  :root { --max: 1240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
