/* Chop AI Landing — mobile-first, lightweight */

:root {
  --cream: #fff8f0;
  --cream-dark: #f5efe6;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --green: #2d7a3a;
  --green-dark: #1b5e2a;
  --orange: #e8501a;
  --orange-hover: #cf4616;
  --gold: #f5a623;
  --terracotta: #c45a2c;
  --shadow: 0 4px 24px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 26, 26, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --sticky-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Wax motif — très subtil */
.wax-bg {
  position: relative;
}

.wax-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E8501A' fill-opacity='1'%3E%3Cpath d='M0 0h20v20H0zM40 0h20v20H40zM20 20h20v20H20zM60 20h20v20H60zM0 40h20v20H0zM40 40h20v20H40zM20 60h20v20H20zM60 60h20v20H60z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.wax-bg > * {
  position: relative;
  z-index: 1;
}

/* Header minimal */
.site-header {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 122, 58, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.logo-tagline {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .logo-tagline {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(232, 80, 26, 0.35);
}

.btn-primary:hover {
  background: var(--orange-hover);
  box-shadow: 0 8px 28px rgba(232, 80, 26, 0.4);
}

.btn-secondary {
  background: var(--green);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--green-dark);
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.store-badge {
  display: inline-block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-badge:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.store-badge img,
.store-badge svg {
  height: 44px;
  width: auto;
  display: block;
}

@media (min-width: 640px) {
  .store-badge img,
  .store-badge svg {
    height: 50px;
  }
}

/* Hero */
.hero {
  padding: 2rem 0 3rem;
  background-color: #fcf8f2;
  background-image: radial-gradient(
    ellipse 85% 65% at 50% 58%,
    #fbc8a4 0%,
    rgba(251, 200, 164, 0.5) 38%,
    #fcf8f2 72%
  );
}

.hero.wax-bg::before {
  display: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: #1a1a1a;
}

.hero-content .subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: #4a4a4a;
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--green-dark);
}

.hero-proof strong {
  font-weight: 700;
  color: var(--green);
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  max-width: 300px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .phone-mockup {
    margin-inline: auto 0;
    max-width: 320px;
  }
}

.phone-frame {
  background: #111;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #111;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 9 / 19.5;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(232, 80, 26, 0.15) 0%, transparent 70%);
  z-index: -1;
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 2rem;
  text-align: center;
  max-width: 28rem;
  margin-inline: auto;
}

.section-title.left {
  text-align: left;
  margin-inline: 0;
  max-width: none;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 36rem;
  margin: -1rem auto 2rem;
}

/* Problem cards */
.problem-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 122, 58, 0.06);
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.problem-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.step-screenshot {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.step-screenshot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Features grid */
.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}

.feature-card:nth-child(even) {
  border-left-color: var(--green);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Social proof */
.social-proof {
  position: relative;
  background-color: #fdfaf5;
}

.early-adopters {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.trust-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: none;
  border: 1px solid rgba(249, 160, 115, 0.18);
  border-top: 3px solid var(--orange);
}

.trust-card:nth-child(2) {
  border-top-color: var(--green);
}

.trust-card:nth-child(3) {
  border-top-color: var(--gold);
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.trust-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.launch-note {
  text-align: center;
  max-width: 36rem;
  margin: 2rem auto 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.launch-note a {
  font-weight: 600;
  color: var(--green-dark);
}

.download-counter {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow);
  margin: 1.5rem 0;
}

.counter-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.counter-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.testimonial-placeholder {
  background: var(--white);
  border: 2px dashed rgba(232, 80, 26, 0.35);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}

.testimonial-placeholder .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.testimonial-placeholder p {
  margin: 0;
  font-style: italic;
  color: var(--text-muted);
}

.testimonial-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Story */
.story {
  position: relative;
  overflow: hidden;
  background-color: #fdfaf5;
  background-image: radial-gradient(
    ellipse 75% 58% at 50% 38%,
    rgba(249, 168, 117, 0.42) 0%,
    rgba(249, 168, 117, 0.14) 42%,
    transparent 72%
  );
  padding-bottom: 2.5rem;
}

.story > .container {
  position: relative;
  z-index: 1;
}

.story .section-title.left {
  text-align: center;
  margin-inline: auto;
}

.story-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
    max-width: 46rem;
    margin-inline: auto;
  }
}

.story-text {
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: center;
  color: #2d2d2d;
  max-width: 38rem;
  margin-inline: auto;
}

.story-text p {
  margin: 0 0 1.25rem;
}

.story-signature {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green-dark);
  margin-top: 1.5rem;
}

.story-visual {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .story-visual {
    position: absolute;
    right: -1rem;
    top: 52%;
    transform: translateY(-50%);
    justify-content: flex-end;
  }
}

.story-visual img {
  width: 120px;
  max-width: 100%;
  margin-inline: auto;
  filter: drop-shadow(0 8px 24px rgba(249, 160, 115, 0.25));
}

/* FAQ */
.faq {
  background-color: #fdfaf5;
  padding-top: 2rem;
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  background: transparent;
  border-radius: 0;
  margin-bottom: 0.5rem;
  box-shadow: none;
  overflow: hidden;
  border: none;
  border-bottom: 1px solid rgba(249, 160, 115, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0.5rem 1.2rem 1.25rem;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  color: #2d2d2d;
  position: relative;
}

.faq-question::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 26px;
  border-radius: 4px;
  background: #f9a073;
}

.faq-question:hover {
  background: rgba(249, 160, 115, 0.06);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(249, 160, 115, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 400;
  color: #f9a073;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(249, 160, 115, 0.25);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 2.5rem 1.25rem 1.25rem;
  color: #5c5c5c;
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  background-color: #104a1f;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600' fill='none'%3E%3Cpath d='M-20 120 Q280 40 520 200 T900 80' stroke='rgba(255,252,232,0.12)' stroke-width='1.5'/%3E%3Cpath d='M-40 380 Q200 280 420 420 T820 320' stroke='rgba(255,252,232,0.08)' stroke-width='1.2'/%3E%3Cpath d='M600 -20 Q720 180 640 360' stroke='rgba(255,252,232,0.1)' stroke-width='1.2'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 50% 45% at 92% 6%, rgba(30, 100, 50, 0.55) 0%, transparent 68%),
    linear-gradient(180deg, #104a1f 0%, #3d7a3a 32%, #6c8d62 58%, #b8c9a0 78%, #fefce8 100%);
  color: var(--white);
  text-align: center;
  padding-bottom: 4.5rem;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: -8%;
  right: -6%;
  width: 42%;
  height: 55%;
  background: radial-gradient(circle, rgba(46, 120, 60, 0.45) 0%, transparent 72%);
  pointer-events: none;
}

.final-cta > .container {
  position: relative;
  z-index: 1;
}

.final-cta .section-title {
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.final-cta .cta-sub {
  opacity: 0.92;
  margin: -1rem auto 2rem;
  max-width: 28rem;
}

.final-cta .btn-primary {
  font-size: 1.1rem;
  padding: 1rem 2.25rem;
  background: linear-gradient(180deg, #ffc896 0%, #ffb37b 55%, #ff9f5a 100%);
  color: #2a1810;
  box-shadow:
    0 6px 28px rgba(255, 159, 90, 0.5),
    0 2px 10px rgba(255, 179, 123, 0.35);
}

.final-cta .btn-primary:hover {
  background: linear-gradient(180deg, #ffd4ab 0%, #ffc090 100%);
  box-shadow:
    0 8px 36px rgba(255, 159, 90, 0.6),
    0 3px 12px rgba(255, 179, 123, 0.4);
}

.final-reminder {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  opacity: 0.88;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  color: var(--white);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.65;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.social-links a:hover {
  color: var(--gold);
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: rgba(255, 248, 240, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(232, 80, 26, 0.15);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta .btn {
  width: 100%;
  padding: 0.85rem 1rem;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .sticky-cta {
    display: none;
  }
}

/* Placeholder highlight for editable values */
.placeholder-value {
  background: rgba(245, 166, 35, 0.25);
  padding: 0 0.2em;
  border-radius: 4px;
  border-bottom: 1px dashed var(--gold);
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}

.bg-white {
  background: var(--white);
}

/* Problème & Solution — dégradé crème pêche / menthe */
.problem,
.solution {
  background-color: #faf7ee;
  background-image:
    radial-gradient(ellipse 55% 45% at 22% 30%, rgba(251, 231, 214, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 78% 70%, rgba(226, 244, 236, 0.5) 0%, transparent 65%),
    linear-gradient(180deg, #fdfbf5 0%, #faf7ee 50%, #faf4e6 100%);
}

.problem.wax-bg::before,
.solution.wax-bg::before {
  display: none;
}

/* Social proof, Story & FAQ — template crème / pêche */
.social-proof.wax-bg::before,
.faq.wax-bg::before {
  display: none;
}

.story.bg-white {
  background-color: #fdfaf5;
  background-image: radial-gradient(
    ellipse 75% 58% at 50% 38%,
    rgba(249, 168, 117, 0.42) 0%,
    rgba(249, 168, 117, 0.14) 42%,
    transparent 72%
  );
}
