/* ==========================================================================
   Marvin Coaching — variables & reset
   (palette reprise du site marvincoaching.com existant)
   ========================================================================== */
:root {
  --color-bg: #0D0F0A;
  --color-bg-alt: #151A12;
  --color-bg-raised: #1C2416;
  --color-text: #F4F7F2;
  --color-text-muted: #A8B3A0;
  --color-accent: #C0FF72;
  --color-accent-soft: rgba(192, 255, 114, 0.15);
  --color-accent-dark: #2E4D1F;
  --color-provisional: #F0A93E;
  --color-danger: #E5645A;
  --color-border: rgba(192, 255, 114, 0.18);

  --font-base: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-script: 'Dancing Script', cursive;

  --container-w: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
::selection { background: var(--color-accent); color: var(--color-bg); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; color: var(--color-text); }
p { margin: 0 0 1em; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background: var(--color-bg-raised);
  color: var(--color-accent);
  box-shadow: 0 0 22px rgba(192,255,114,.35);
}
.btn-outline { background: transparent; border-color: var(--color-accent); color: var(--color-text); }
.btn-outline:hover { background: var(--color-accent); color: var(--color-bg); }
.btn-whatsapp { background: transparent; color: var(--color-text); border-color: var(--color-accent); }
.btn-whatsapp svg { color: #25D366; }
.btn-whatsapp:hover { background: var(--color-accent); color: var(--color-bg); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13,15,10,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: .01em;
  color: var(--color-text);
}
.logo span { color: var(--color-accent); margin-left: 4px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-text);
}
.primary-nav a:hover { color: var(--color-accent); }
.nav-cta {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--color-bg-raised); color: var(--color-accent) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--color-text);
  overflow: hidden;
  background: var(--color-bg);
}
.hero-media, .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(13,15,10,.82), rgba(13,15,10,.72)),
    linear-gradient(rgba(192,255,114,.10), rgba(192,255,114,.04));
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-content .hero-script,
.hero-content h1,
.hero-content .hero-sub,
.hero-content .btn {
  opacity: 0;
  animation: heroFadeInUp 1.1s ease-out forwards;
}
.hero-content .hero-script { animation-delay: .3s; }
.hero-content h1 { animation-delay: .7s; }
.hero-content .hero-sub { animation-delay: 1.2s; }
.hero-content .btn { animation-delay: 1.7s; }
@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.hero-script {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: .01em;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 4px;
}
.eyebrow.center, h2.center, .section-intro.center, .tarifs-note.center { text-align: center; }
.eyebrow.center { display: block; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.hero-sub { font-size: 1.1rem; max-width: 560px; color: var(--color-text-muted); margin-bottom: 28px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 96px 0; background: var(--color-bg); }
.section-alt { background: var(--color-bg-alt); }
.section-light { background: var(--color-text); color: var(--color-bg); }
.section-light .eyebrow { color: var(--color-accent-dark); }
.section-light h2, .section-light h3 { color: var(--color-bg); }
.section-light .testimonial-card {
  background: #FFFFFF;
  border-color: rgba(13, 15, 10, .1);
  box-shadow: 0 4px 20px rgba(13, 15, 10, .06);
}
.section-light .testimonial-quote { color: var(--color-bg); }
.section-light .testimonial-name { color: var(--color-bg); }
.section-light .testimonial-context { color: rgba(13, 15, 10, .6); }
.section-light .testimonials-google-link a { color: var(--color-accent-dark); }
.section-light .contact-intro p,
.section-light .contact-zone { color: rgba(13, 15, 10, .65); }
.section-light .contact-form {
  background: #FFFFFF;
  border-color: rgba(13, 15, 10, .1);
  box-shadow: 0 4px 20px rgba(13, 15, 10, .06);
}
.section-light .form-row label,
.section-light .form-row legend { color: var(--color-bg); }
.section-light .form-row input[type="text"],
.section-light .form-row input[type="email"],
.section-light .form-row input[type="tel"],
.section-light .form-row textarea {
  background: var(--color-text);
  border-color: rgba(13, 15, 10, .15);
  color: var(--color-bg);
}
.section-light .form-row input::placeholder,
.section-light .form-row textarea::placeholder { color: rgba(13, 15, 10, .4); }
.section-light .radio-label { color: rgba(13, 15, 10, .65); }
.section-light .form-required-note { color: rgba(13, 15, 10, .5); }
.section-light .required-mark { color: var(--color-accent-dark); }
.section-light .btn-outline { border-color: var(--color-accent-dark); color: var(--color-bg); }
.section-light .btn-outline:hover { background: var(--color-accent-dark); color: var(--color-text); }
.section-light .form-status.is-success { color: var(--color-accent-dark); }
.section-light .form-status.is-pending { color: rgba(13, 15, 10, .5); }
.section-light .group-card {
  background: #FFFFFF;
  border-color: rgba(13, 15, 10, .1);
  box-shadow: 0 4px 20px rgba(13, 15, 10, .08);
}
.section-light .group-checks li,
.section-light .group-rates { color: rgba(13, 15, 10, .65); }
.section-light .badges li {
  background: #FFFFFF;
  border-color: rgba(13, 15, 10, .1);
  color: var(--color-accent-dark);
}
.section-light .section-intro { color: rgba(13, 15, 10, .6); }
.section-light .card {
  background: #FFFFFF;
  border-color: rgba(13, 15, 10, .1);
  box-shadow: 0 4px 20px rgba(13, 15, 10, .06);
}
.section-light .card-body p,
.section-light .card ul li { color: rgba(13, 15, 10, .65); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-intro { max-width: 620px; margin: 0 auto 48px; color: var(--color-text-muted); }
.section-intro + .tarifs-note { margin-top: -36px; }
.tarifs-note { margin: 0 auto 40px; }
.tarifs-note .table-tag { margin-left: 0; font-size: .75rem; padding: 5px 14px; }
.section > .container > h2.center { max-width: 700px; margin-left: auto; margin-right: auto; }
#temoignages h2.center { max-width: none; }
@media (min-width: 641px) {
  #temoignages h2.center { white-space: nowrap; }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media img { display: block; width: 85%; height: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; background: var(--color-bg-alt); }
.about-text p { color: var(--color-text-muted); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badges li {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-accent);
  color: var(--color-text);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 700;
}

/* Cards grid (specialites) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-image { aspect-ratio: 4/3; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 28px 28px 32px; }
.card-body p { color: var(--color-text-muted); }
.card ul { margin-top: 16px; }
.card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: .92rem;
  color: var(--color-text-muted);
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Pricing */
.price-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}
.price-card h3 { font-size: clamp(1.35rem, 1.1rem + 0.5vw, 1.5rem); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.price-highlight {
  background: var(--color-bg-raised);
  border-color: var(--color-accent);
  position: relative;
  box-shadow: 0 0 30px rgba(192,255,114,.12), var(--shadow);
}
.price-discovery {
  margin: 24px 0 40px;
  transform: none;
}
.price-discovery-cta {
  align-self: center;
  min-width: 220px;
}
.price-desc { font-size: .9rem; color: var(--color-text-muted); }
.price-discovery-tag { margin-left: 0; }
.price-block-lg { margin: 18px 0 20px; white-space: nowrap; }
.price-block-lg strong.reduced { font-size: 2.4rem; font-weight: 900; color: var(--color-accent); line-height: 1; }
.price-block-lg small { display: block; margin-top: 8px; font-size: .8rem; color: var(--color-text-muted); }

.spotlight-light {
  background: #FFFFFF;
  color: var(--color-bg);
  box-shadow: 0 4px 24px rgba(13, 15, 10, .1);
}
.spotlight-light h3 { color: var(--color-bg); }
.spotlight-light .price-desc { color: rgba(13, 15, 10, .65); }
.spotlight-light .price-block-lg strong.reduced { color: var(--color-accent-dark); }
.spotlight-light .price-block-lg small { color: rgba(13, 15, 10, .55); }

.hexacoop-banner {
  position: relative;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 32px;
  margin: 0 0 40px;
  box-shadow: 0 0 30px rgba(192,255,114,.1);
}
.hexacoop-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}
.hexacoop-percent { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hexacoop-percent strong { font-size: 2.6rem; font-weight: 900; color: var(--color-accent); line-height: 1; }
.hexacoop-percent span { font-size: .9rem; color: var(--color-text-muted); font-weight: 600; }
.hexacoop-badge-group { display: flex; align-items: center; gap: 12px; }
.hexacoop-logo {
  width: 60px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(192,255,114,.2);
}
.table-tag.table-tag-accent { margin-left: 0; }
.hexacoop-desc { margin: 0 0 22px; color: var(--color-text-muted); font-size: .92rem; }
.hexacoop-desc a { color: var(--color-accent); font-weight: 600; }
.hexacoop-desc a:hover { text-decoration: underline; }
.hexacoop-desc strong { color: var(--color-text); }

.hexacoop-steps-title {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text);
}

.hexacoop-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hexacoop-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--color-text-muted);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: .78rem;
  font-weight: 900;
  flex-shrink: 0;
}


.table-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 2px 9px;
  border-radius: 999px;
  vertical-align: middle;
}
.table-tag-accent { background: var(--color-accent); color: var(--color-bg); }
.table-tag-provisional { background: transparent; border: 1px solid var(--color-provisional); color: var(--color-provisional); }
.table-tag-white { background: transparent; border: 1px solid var(--color-text); color: var(--color-text); }

.pricing-note {
  text-align: center;
  margin-top: 32px;
  color: var(--color-text-muted);
  font-size: .9rem;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 40px;
}
.pack-card {
  position: relative;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.pack-card-highlight { border-color: var(--color-accent); box-shadow: 0 0 30px rgba(192,255,114,.12); }
.pack-card h3 { font-size: clamp(1.35rem, 1.1rem + 0.5vw, 1.5rem); margin-bottom: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.pack-card h3 .pack-name-accent { color: var(--color-accent); font-weight: 800; }
.pack-duration {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 3px 10px;
  border-radius: 999px;
}

.group-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
}
.group-card h3 { font-size: 1.05rem; margin-bottom: 18px; }
.group-checks { margin: 0 0 24px; text-align: left; display: inline-block; }
.group-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--color-text-muted); margin-bottom: 12px; }
.group-checks li:last-child { margin-bottom: 0; }
.group-rates { font-size: .88rem; color: var(--color-text-muted); margin-bottom: 24px; }
.pack-sub { font-size: .82rem; color: var(--color-text-muted); margin-bottom: 18px; }
.pack-price { margin: 0; white-space: nowrap; }
.pack-price strong.reduced { font-size: 2.2rem; font-weight: 900; color: var(--color-accent); line-height: 1; }
.pack-unit { font-size: .78rem; color: var(--color-text-muted); margin-left: 4px; white-space: nowrap; }
.pack-caption { display: block; font-size: .92rem; color: var(--color-text); margin-top: 8px; }
.pack-caption strong { color: var(--color-accent); font-weight: 800; }
.pack-caption .dim { display: block; margin-top: 3px; font-size: .72rem; color: var(--color-text-muted); font-weight: 400; }
.pack-divider { height: 1px; background: var(--color-border); margin: 16px 0; }
.pack-line { font-size: .88rem; color: var(--color-text-muted); margin: 0; }
.pack-line strong { color: var(--color-text); font-weight: 800; }
.pack-line .dim { color: var(--color-text-muted); }
.pack-line.pack-feature { color: var(--color-text); font-weight: 700; display: flex; align-items: center; justify-content: flex-start; text-align: left; gap: 8px; }
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: .75rem;
  font-weight: 900;
  flex-shrink: 0;
}
.pack-card .btn { margin-top: 20px; }

/* Testimonials */
.testimonial-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.testimonial-quote { font-size: .98rem; min-height: 12rem; color: var(--color-text); }
.testimonial-meta { margin-top: auto; }
.testimonial-name { font-weight: 800; margin: 0; color: var(--color-accent); }
.testimonial-context { font-size: .82rem; color: var(--color-text-muted); margin: 0; min-height: 2.6rem; }
.testimonial-source { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--color-border); }
.testimonial-source a { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--color-text-muted); text-decoration: none; transition: color .15s ease; }
.testimonial-source a:hover { color: var(--color-accent); }
.section-light .testimonial-source { border-top-color: rgba(13, 15, 10, .12); }
.section-light .testimonial-source a { color: rgba(13, 15, 10, .5); }
.section-light .testimonial-source a:hover { color: var(--color-accent-dark); }
.testimonials-google-link { margin-top: 28px; }
.testimonials-google-link a { color: var(--color-accent); font-weight: 700; text-decoration: none; }
.testimonials-google-link a:hover { text-decoration: underline; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-intro p { color: var(--color-text-muted); }
.contact-alt { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0; }
.contact-zone { color: var(--color-text-muted); font-size: .9rem; }

.contact-form {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label, .form-row legend { font-weight: 700; font-size: .9rem; color: var(--color-text); }
.required-mark { color: var(--color-accent); font-weight: 800; }
.form-required-note { margin: 4px 0 0; font-size: .72rem; color: var(--color-text-muted); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--color-bg);
  color: var(--color-text);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--color-text-muted); }
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}
fieldset.form-row { border: none; padding: 0; margin: 0; }
.radio-label { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9rem; margin-top: 6px; color: var(--color-text-muted); }
.form-status { margin: 0; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status:empty { display: none; }
.form-status.is-pending { color: var(--color-text-muted); }
.form-status.is-success { color: var(--color-accent); }
.form-status.is-error { color: var(--color-danger); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-bg-alt); color: var(--color-text-muted); padding-block: 3rem; border-top: 1px solid var(--color-border); }
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
.footer-row p { margin: 0; font-size: .85rem; }

.footer-icons { display: flex; gap: 12px; }
.footer-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.footer-icons a:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); transform: translateY(-2px); }

.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-legal a:hover { color: var(--color-accent); }

@media (min-width: 700px) {
  .footer-row { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .pack-grid { grid-template-columns: 1fr 1fr; }

  /* En dessous de 900px (tablettes portrait comprises), le nav complet
     (logo + 5 liens + CTA) ne tient plus sur une ligne : logo et "À propos"
     se replient sur 2 lignes et le header déborde. Bascule sur le menu
     mobile plus tôt pour couvrir cette plage. */
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-150%);
    transition: transform .25s ease;
  }
  .primary-nav.is-open { transform: translateY(0); }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
  .primary-nav a:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: 1fr; }
  .hexacoop-headline { flex-direction: column; align-items: flex-start; }
  .hexacoop-steps { grid-template-columns: 1fr; }
  .price-block-lg strong.reduced { font-size: 2rem; }
  .hero { min-height: 100vh; text-align: left; }
}
