/* ═══════════════════════════════════════
   CHEEF GLYCÉMIE — Eco / Nature Organic Minimal
   Font: Playfair Display + Raleway
   SEED: 85310
   ═══════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  /* Colors — matching cheef.fr green palette */
  --primary: #91b970;
  --primary-dark: #7aa85c;
  --primary-darker: #1A6B43;
  --primary-light: #f0f6eb;
  --primary-lighter: #F4FAF6;
  --accent: #d85420;
  --accent-hover: #c24a1a;
  --accent-light: #FFF3EB;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAF9;
  --bg-section: #F0F7F2;
  --bg-dark: #1B2430;
  --text-dark: #1B2430;
  --text-body: #4A5568;
  --text-light: #718096;
  --text-white: #FFFFFF;
  --border: #DCE5DF;
  --border-light: #EDF2EE;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius — organic, rounded */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section {
  padding: var(--space-4xl) 0;
}

.section--light {
  background-color: var(--bg-light);
}

.section--green {
  background-color: var(--primary-lighter);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: var(--space-md);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background-color: #d85420;
  color: #fff;
  box-shadow: 0 4px 16px rgba(216, 84, 32, 0.2);
}

.btn--primary:hover {
  background-color: #c24a1a;
  color: #fff;
  box-shadow: 0 6px 24px rgba(216, 84, 32, 0.3);
  transform: translateY(-2px);
}

.btn--accent {
  background: #d85420;
  color: #fff;
  box-shadow: 0 4px 16px rgba(216, 84, 32, 0.3);
  font-size: 1.05rem;
  padding: 16px 40px;
}

.btn--accent:hover {
  background: #c24a1a;
  color: #fff;
  box-shadow: 0 6px 28px rgba(216, 84, 32, 0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn--white {
  background: var(--bg-white);
  color: var(--primary-dark);
}

.btn--white:hover {
  background: var(--primary-lighter);
  color: var(--primary-darker);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* ── Header (matching cheef.fr style) ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #efe8df;
  border-bottom: 1px solid #ddd5ca;
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #1d1d1d;
  padding: 6px 4px;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.header__nav a:hover,
.header__nav a.active {
  color: #d85420;
}

.header__phone {
  font-weight: 700;
  color: #1d1d1d !important;
  font-size: 0.92rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.header__phone:hover {
  color: #d85420 !important;
}

.header__cta {
  margin-left: 4px;
}

/* Override btn--primary in header to match cheef orange */
.header__cta.btn--primary {
  background-color: #d85420;
  color: #fff;
  box-shadow: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 0.85rem;
}

.header__cta.btn--primary:hover {
  background-color: #c24a1a;
  box-shadow: 0 2px 8px rgba(216, 84, 32, 0.3);
}

/* Mobile menu button */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1d1d1d;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.header__burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.open span:nth-child(2) {
  opacity: 0;
}

.header__burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero (Split: text left, image right) ── */
.hero {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: linear-gradient(170deg, var(--bg-white) 40%, var(--primary-lighter) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.hero__label svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero__title {
  margin-bottom: var(--space-lg);
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.2;
}

.hero__title em {
  color: var(--primary);
  font-style: normal;
}

.hero__desc {
  font-size: 1.08rem;
  color: var(--text-light);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 0.95rem;
  color: var(--text-body);
}

.hero__feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  margin-top: 2px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  line-height: 0;
}

.hero__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero__badges {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
}

.hero__badge-icon {
  font-size: 1.1rem;
}

/* ── Features Section (Cards with icons) ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  text-align: center;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  background: var(--primary);
  color: var(--text-white);
}

.feature-card__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ── How It Works Section ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}

.step-card {
  text-align: center;
  counter-increment: step;
}

.step-card__number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.step-card__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.step-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ── Zigzag / Split section ── */
.zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.zigzag--reverse {
  direction: rtl;
}

.zigzag--reverse > * {
  direction: ltr;
}

.zigzag__img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  line-height: 0;
}

.zigzag__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1;
}

/* ── Avis clients / Trustpilot ── */
.trustpilot-section {
  background-color: #adc3b7; /* proche du fond Trustpilot sur cheef.fr */
}

.trustpilot {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.trustpilot__eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1d1d1d;
  margin-bottom: var(--space-xl);
}

.trustpilot__eyebrow span {
  opacity: 0.75;
}

.trustpilot__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.trustpilot-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
  font-size: 0.88rem;
}

.trustpilot-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.trustpilot-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #00b67a;
}

.trustpilot-card__stars {
  display: inline-flex;
  gap: 2px;
}

.trustpilot-card__star {
  width: 10px;
  height: 10px;
  background-color: #00b67a;
  border-radius: 2px;
}

.trustpilot-card__title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.trustpilot-card__meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.trustpilot-card__text {
  font-size: 0.86rem;
  color: var(--text-body);
}

.trustpilot__note {
  font-size: 0.85rem;
  color: #1d1d1d;
  margin-bottom: var(--space-sm);
}

.trustpilot__note a {
  font-weight: 600;
  text-decoration: underline;
}

.trustpilot__brand {
  font-size: 0.8rem;
  font-weight: 600;
  color: #00b67a;
}

.zigzag__content h2 {
  margin-bottom: var(--space-lg);
}

.zigzag__content p {
  color: var(--text-light);
  font-size: 1rem;
}

.zigzag__list {
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.zigzag__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 0.95rem;
}

.zigzag__list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ── Pricing ── */
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.pricing__toggle-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.pricing__toggle-label.active {
  color: var(--text-dark);
  font-weight: 600;
}

.pricing__switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
  border: none;
  padding: 0;
}

.pricing__switch.active {
  background: var(--primary);
}

.pricing__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--bg-white);
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.pricing__switch.active::after {
  transform: translateX(24px);
}

.pricing__save {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.pricing-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-card__currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
}

.pricing-card__period {
  font-size: 0.88rem;
  color: var(--text-light);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.9rem;
}

.pricing-card__feature--yes::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.pricing-card__feature--no {
  color: var(--text-light);
}

.pricing-card__feature--no::before {
  content: '✗';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #FEE2E2;
  color: #EF4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, #91b970 0%, #7aa85c 50%, #5d9340 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto var(--space-xl);
}

/* ── Footer (matching cheef.fr style) ── */
.footer {
  background: #1d1d1d;
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-3xl) 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-2xl);
}

.footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer__logo-link {
  display: inline-block;
}

.footer__logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: var(--space-xs);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: #d85420;
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer__desc {
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer__links a:hover {
  color: #d85420;
}

.footer__bottom {
  background: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.footer__bottom a {
  font-size: 0.75rem;
  color: #918b84;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__bottom a:hover {
  color: #d85420;
}

.footer__sep {
  font-size: 0.75rem;
  color: #c5bfb7;
}

.footer__copy {
  font-size: 0.75rem;
  color: #918b84;
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  font-size: 0.78rem;
  color: #918b84;
  text-decoration: none;
}

.footer__legal a:hover {
  color: #d85420;
}

/* ── Cookie Consent ── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: var(--space-lg) 0;
  transform: translateY(0);
  transition: transform var(--transition-base);
}

.cookie-bar.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cookie-bar__text {
  font-size: 0.88rem;
  color: var(--text-body);
  flex: 1;
  min-width: 280px;
}

.cookie-bar__text a {
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
}

/* ── Contact Form ── */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(145, 185, 112, 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Billing toggle (contact form) */
.billing-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

/* Plan radio cards */
.plan-radios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.plan-radio {
  position: relative;
}

.plan-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.plan-radio__card {
  display: block;
  padding: var(--space-lg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.plan-radio input:checked + .plan-radio__card {
  border-color: var(--primary);
  background: var(--primary-lighter);
}

.plan-radio__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.plan-radio__price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.form-fine-print {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: var(--space-md);
}

.form-fine-print a {
  text-decoration: underline;
}

/* ── Thank You ── */
.thankyou {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) 0;
}

.thankyou__icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 2.2rem;
  animation: popIn 0.6s var(--ease-out);
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.thankyou__title {
  margin-bottom: var(--space-md);
}

.thankyou__desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto var(--space-2xl);
}

.thankyou__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.thankyou__step-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-weight: 700;
  font-size: 0.9rem;
}

.thankyou__step-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.thankyou__step-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

.thankyou__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ── Legal pages ── */
.legal-page {
  padding: var(--space-4xl) 0;
}

.legal-page__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.legal-page__header p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  font-size: 0.92rem;
  margin-bottom: var(--space-md);
}

.legal-content ul,
.legal-content ol {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  font-size: 0.92rem;
  margin-bottom: var(--space-sm);
}

.legal-content a {
  text-decoration: underline;
}

.legal-content__table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: 0.88rem;
}

.legal-content__table th,
.legal-content__table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal-content__table th {
  background: var(--primary-lighter);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.85rem;
}

.legal-content__table tr:hover {
  background: var(--bg-light);
}

.legal-content__table code {
  background: var(--bg-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
}

.legal-content code {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
  font-size: 0.85em;
  padding: 2px 6px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
}

.legal-content__table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.legal-content__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-content__table th,
.legal-content__table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.legal-content__table th {
  background: var(--bg-section);
  font-weight: 600;
  color: var(--text-dark);
}

.legal-content__table tbody tr:last-child td {
  border-bottom: none;
}

.legal-content__table tbody tr:hover {
  background: var(--primary-lighter);
}

/* ── About page ── */
.about-hero {
  padding: var(--space-3xl) 0;
  background: var(--primary-lighter);
  text-align: center;
}

.about-hero h1 {
  margin-bottom: var(--space-md);
}

.about-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.about-img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  line-height: 0;
  margin: var(--space-2xl) 0;
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 7;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.about-value {
  text-align: center;
  padding: var(--space-xl);
}

.about-value__icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.4rem;
}

.about-value__title {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.about-value__desc {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ── Animations / Scroll reveal ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zigzag {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .zigzag--reverse {
    direction: ltr;
  }

  .zigzag__img-wrap img {
    aspect-ratio: 3/2;
  }

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #efe8df;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px var(--space-xl) var(--space-xl);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    gap: var(--space-lg);
    z-index: 1000;
  }

  .header__nav.open {
    transform: translateX(0);
  }

  .header__cta {
    margin-left: 0;
    margin-top: var(--space-md);
  }

  .header__burger {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card:last-child {
    grid-column: span 1;
    max-width: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__logo-img {
    height: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    padding: 12px 16px;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .plan-radios {
    grid-template-columns: 1fr;
  }

  .hero__badges {
    flex-direction: column;
  }

  .thankyou__steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: var(--space-2xl) var(--space-lg);
  }

  .cookie-bar__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .hero {
    padding: var(--space-2xl) 0 var(--space-3xl);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .btn--lg {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .pricing-card__amount {
    font-size: 2.2rem;
  }
}
