/* ═══ Chef Minds — Landing fidèle au mockup ═══ */
:root {
  --green:       #1a6845;
  --green-dark:  #0F4A2F;
  --green-deep:  #0B3D24;
  --green-light: #2E8B57;
  --cream:       #FAF7F1;
  --cream-soft:  #FFFDF9;
  --orange:      #FF9A3D;
  --orange-deep: #FF6B1A;
  --text:        #0F2A1F;
  --text-mid:    #4A5A55;
  --text-soft:   #5F6F68;
  --border:      rgba(15, 42, 31, 0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Accessibilité : skip-link + focus visible */
.skip-link {
  position: absolute; top: -40px; left: 16px;
  background: var(--green); color: #fff;
  padding: 10px 18px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; outline: 3px solid var(--orange); outline-offset: 2px; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .btn-store:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 54px; height: 54px;
  display: block;
  object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 22px; color: var(--text);
  font-weight: 800; letter-spacing: -0.4px;
}
.logo-text em {
  font-style: normal; font-size: 11.5px;
  color: var(--text-soft); font-weight: 500;
  margin-top: 2px;
}
.nav-links {
  display: flex; gap: 34px; align-items: center;
}
.nav-links a {
  font-size: 14.5px; font-weight: 600;
  color: var(--text-mid); transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
/* Burger menu (visible mobile uniquement) */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-cta { display: inline-flex; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px;
  cursor: pointer; border: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 22px rgba(26, 104, 69, 0.32);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(26, 104, 69, 0.42);
}
.btn-ghost {
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.btn-ghost:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,0.08); }
.btn-sm { padding: 11px 22px; font-size: 13.5px; }

/* ─── HERO (image en BG VRAIMENT plein largeur + texte superposé à gauche) ─── */
.hero {
  padding: 30px 0 60px;
  position: relative;
}
.hero-inner {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  aspect-ratio: 1500 / 850;
  overflow: hidden;
  background-image: url('public/images/hero-berta.png?v=4');
  background-size: 100% auto;
  background-position: right center;
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  padding: 20px 40px;
}
/* Overlay cream qui s'estompe vers la droite — laisse le téléphone bien visible */
.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(250, 247, 241, 0.98) 0%,
    rgba(250, 247, 241, 0.95) 22%,
    rgba(250, 247, 241, 0.7) 35%,
    rgba(250, 247, 241, 0.25) 48%,
    rgba(250, 247, 241, 0) 60%);
  z-index: 1;
  pointer-events: none;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: #E8F4EC; color: var(--green);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(46px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 22px 0 22px;
  color: var(--text);
}
.sparkle { color: var(--orange); }
.hero-sub {
  font-size: 17px; line-height: 1.55;
  color: var(--text-mid); max-width: 480px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-pills { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-pills span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-mid);
}

/* ─── HERO LEFT (texte sur fond cream, image en BG derrière) ─── */
.hero-left {
  position: relative;
  z-index: 3;
  padding: 30px 0;
  max-width: 540px;
}

.berta-bubble {
  position: absolute;
  bottom: 6%; right: 4%;
  background: #fff;
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
  z-index: 4;
}
.berta-bubble strong {
  font-family: 'Playfair Display', serif;
  font-size: 14px; line-height: 1.2;
  display: block; color: var(--text);
}
.wave {
  display: flex; justify-content: center;
  gap: 2px; margin-top: 6px;
  height: 16px; align-items: center;
}
.wave i {
  display: inline-block;
  width: 3px; background: var(--green);
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite;
}
.wave i:nth-child(1){ height: 6px;  animation-delay: 0s; }
.wave i:nth-child(2){ height: 10px; animation-delay: .1s; }
.wave i:nth-child(3){ height: 14px; animation-delay: .2s; }
.wave i:nth-child(4){ height: 10px; animation-delay: .3s; }
.wave i:nth-child(5){ height: 6px;  animation-delay: .4s; }
.wave i:nth-child(6){ height: 12px; animation-delay: .5s; }
.wave i:nth-child(7){ height: 8px;  animation-delay: .6s; }
@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.6); }
}

/* ─── BENEFITS ─── */
.benefits { padding: 10px 0 80px; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px 26px;
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 42, 31, 0.05);
}
.benefit { padding: 6px 8px; }
.icon-bubble {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.benefit h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; margin-bottom: 8px;
  color: var(--text); font-weight: 700;
}
.benefit p { font-size: 13.5px; line-height: 1.55; color: var(--text-mid); }

/* ─── EXPERIENCE ─── */
.experience { padding: 70px 0; background: linear-gradient(180deg, transparent, #F3EFE6); }
.exp-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.exp-left {
  display: flex; align-items: center; justify-content: center;
}
.exp-img {
  width: 100%;
  max-width: 820px;
  border-radius: 28px;
  box-shadow: 0 36px 80px rgba(15, 42, 31, 0.22);
}
.exp-right h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.4px;
  margin-bottom: 4px;
}
.exp-right h2::after {
  content: ''; display: block; width: 72px; height: 4px;
  background: var(--orange); margin-top: 16px; border-radius: 2px;
}
.exp-right > p {
  font-size: 16px; line-height: 1.6;
  color: var(--text-mid); margin: 22px 0 36px;
  max-width: 460px;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 480px; }
.stats > div { text-align: center; }
.stat-icon {
  font-size: 22px; display: block; margin-bottom: 12px;
}
.stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 800;
  color: var(--green); display: block;
  letter-spacing: -1px;
}
.stats small { font-size: 12px; color: var(--text-mid); font-weight: 500; }

/* ─── FINAL CTA ─── */
.final-cta { padding: 20px 0 70px; }
.cta-card {
  background: linear-gradient(135deg, #1a6845 0%, #145A32 60%, #0B3D24 100%);
  color: #fff;
  border-radius: 36px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: 0 30px 80px rgba(20, 90, 50, 0.35);
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
/* Image asiatique en absolute, seulement à gauche, pleine hauteur */
.cta-bg-image {
  position: absolute;
  left: 0; top: 0;
  width: 55%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Fondu vert qui démarre transparent à l'extrême gauche et passe à plein vert avant la zone texte/Berta */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 61, 36, 0.15) 0%,
    rgba(11, 61, 36, 0.35) 28%,
    rgba(20, 90, 50, 0.85) 48%,
    #145A32 58%,
    #0B3D24 100%
  );
  z-index: 1;
}
.cta-left, .cta-right { position: relative; z-index: 2; }
.cta-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.cta-left p { font-size: 15.5px; line-height: 1.5; opacity: 0.92; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0F2A1F; color: #fff;
  padding: 12px 22px; border-radius: 14px;
  transition: transform 0.2s;
}
.btn-store:hover { transform: translateY(-2px); }
.btn-store .store-icon {
  display: block;
  width: 30px; height: 30px;
  flex-shrink: 0;
}
.btn-store .store-text {
  display: flex; flex-direction: column;
  line-height: 1.15;
}
.btn-store small { font-size: 10.5px; opacity: 0.7; letter-spacing: 0.3px; }
.btn-store strong { font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
.cta-right { position: relative; text-align: center; }
.cta-berta {
  max-width: 240px; margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}
.cta-bubble {
  background: #fff; color: var(--text);
  padding: 14px 20px; border-radius: 18px;
  font-size: 14px; font-weight: 700; line-height: 1.4;
  display: inline-block;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  position: absolute; top: 0; right: -20px;
  z-index: 3;
}

/* Plat décoratif dans le CTA bottom */
.cta-plate {
  position: absolute;
  bottom: -30px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* ─── Bouton store désactivé (iOS bientôt dispo) ─── */
.btn-store-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border: none;
  font-family: inherit;
}
.btn-store-disabled:hover { transform: none; }

/* ─── FOOTER ─── */
.footer { padding: 40px 0 50px; text-align: center; background: #fff; }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 24px; margin-bottom: 18px;
}
.footer-links a {
  font-size: 13.5px; font-weight: 600;
  color: var(--text-mid); transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }
.footer small { color: var(--text-soft); font-size: 12.5px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .exp-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-inner {
    aspect-ratio: auto;
    min-height: 500px;
    grid-template-columns: 1fr;
    gap: 30px;
    background-size: cover;
    background-position: 75% center;
  }
  .hero-left { padding: 30px 20px; }
}
@media (max-width: 860px) {
  /* Burger menu prend le relais de la nav horizontale */
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream-soft);
    box-shadow: 0 18px 40px rgba(15, 42, 31, 0.12);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    display: block;
    padding: 16px 28px;
    font-size: 15.5px;
  }
}
@media (max-width: 760px) {
  .hero { padding: 16px 0 40px; }
  .hero-left { padding: 28px 22px; }
  .berta-bubble { bottom: 14px; right: 14px; padding: 10px 14px; }
  .berta-bubble strong { font-size: 12px; }
  .cta-plate { width: 120px; height: 120px; bottom: -20px; right: -20px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; padding: 22px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .cta-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .cta-bg-image { width: 100%; opacity: 0.25; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-bubble { position: static; margin-top: 16px; }
  .stats strong { font-size: 28px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
}
@media (max-width: 460px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

/* Respecte prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .wave i { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
