/* currycoco Design System - Piste E Petit Potager */
:root {
  --bg-main: #f2fbf6;
  --bg-surface: #ffffff;
  --bg-mist: #eef5f0;
  --bg-mint: #bdebd2;
  --bg-butter: #ffe58f;
  --bg-peach: #ffc9b0;

  --text-cacao: #4a2f27;
  --text-subtle: #6e5a53;
  --text-white: #ffffff;

  --accent-green: #1e7a4c;
  --accent-green-dark: #14532f;
  --border-light: #d5e9dd;
  --alert-soft: #9c3a1f;

  --curry: #e39a12;
  --shell: #8a5a44;

  --font-title: 'Baloo 2', cursive, system-ui, -apple-system, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-main);
  color: var(--text-cacao);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--text-cacao);
  line-height: 1.15;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(28px, 5vw, 56px);
}
h2 {
  font-size: clamp(24px, 4vw, 40px);
}
h3 {
  font-size: clamp(20px, 3vw, 28px);
}

a {
  color: var(--text-cacao);
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-green);
}

.brand-wordmark {
  font-family: var(--font-title);
  font-weight: 800;
  display: inline-flex;
  align-items: baseline;
}

.brand-curry {
  color: var(--curry);
}
.brand-coco {
  color: var(--shell);
}

/* Layout Containers */
.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header & Navbar - Mobile Responsive */
.site-header {
  background-color: rgba(242, 251, 246, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--border-light);
  padding: 12px 0;
  min-height: 64px;
  display: flex;
  align-items: center;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 28px;
  min-height: 44px;
  white-space: nowrap;
}

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .logo-link {
    font-size: 22px;
    gap: 6px;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-cacao);
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-green);
  background-color: rgba(30, 122, 76, 0.08);
}

.mobile-cta-item {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  background: var(--bg-surface);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-cacao);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--accent-green);
}

@media (max-width: 860px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .header-cta-desktop {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--bg-surface);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 16px 32px rgba(74, 47, 39, 0.12);
    gap: 8px;
    z-index: 1001;
  }

  .nav-links.nav-links-open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
    font-size: 16px;
    padding: 12px 16px;
    background-color: var(--bg-main);
    border-radius: 12px;
    text-align: center;
    width: 100%;
  }

  .mobile-cta-item {
    display: block;
    margin-top: 4px;
  }

  .mobile-cta-item .btn {
    width: 100%;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  min-height: 48px;
  border-radius: 16px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-green);
  color: var(--text-white);
  box-shadow: 0 4px 0 var(--accent-green-dark);
}

.btn-primary:hover {
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--accent-green-dark);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--accent-green-dark);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-cacao);
  border: 2px solid var(--border-light);
  box-shadow: 0 4px 0 var(--border-light);
}

.btn-secondary:hover {
  color: var(--accent-green);
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

/* Page Banner / Page Header */
.page-header {
  padding: 40px 0 28px;
  text-align: center;
  background-color: var(--bg-surface);
  border-bottom: 2px solid var(--border-light);
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  font-size: 19px;
  color: var(--text-subtle);
  max-width: 720px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  padding: 40px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    padding: 24px 0 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--bg-mint);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  color: var(--accent-green-dark);
  margin-bottom: 16px;
}

.hero-title {
  margin-bottom: 16px;
}

.hero-text {
  font-size: 18px;
  color: var(--text-subtle);
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .hero-cta-group {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }
}

.hero-badge-notice {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-green);
  background-color: var(--bg-surface);
  padding: 8px 14px;
  border-radius: 12px;
  display: inline-block;
  border: 1px solid var(--border-light);
}

/* App Card / Mockup */
.mockup-card {
  background-color: var(--bg-surface);
  border: 3px solid var(--border-light);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 32px rgba(74, 47, 39, 0.06);
  position: relative;
}

@media (max-width: 480px) {
  .mockup-card {
    padding: 16px;
    border-radius: 20px;
  }
}

.coco-bubble {
  background-color: var(--bg-mint);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.coco-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.coco-bubble-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-cacao);
  line-height: 1.4;
  text-align: left;
}

/* Feature Badges */
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.chip-mint {
  background-color: var(--bg-mint);
  color: var(--accent-green-dark);
}
.chip-butter {
  background-color: var(--bg-butter);
  color: var(--text-cacao);
}
.chip-peach {
  background-color: var(--bg-peach);
  color: var(--text-cacao);
}
.chip-white {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
}

/* Features Grid */
.features-section {
  padding: 56px 0;
  background-color: var(--bg-surface);
  border-top: 2px solid var(--border-light);
  border-bottom: 2px solid var(--border-light);
}

@media (max-width: 768px) {
  .features-section {
    padding: 36px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-subtle);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

@media (max-width: 480px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background-color: var(--bg-main);
  border: 2px solid var(--border-light);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(74, 47, 39, 0.08);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.icon-mint {
  background-color: var(--bg-mint);
}
.icon-butter {
  background-color: var(--bg-butter);
}
.icon-peach {
  background-color: var(--bg-peach);
}

.feature-card h3 {
  font-size: 22px;
}

.feature-card p {
  color: var(--text-subtle);
  font-size: 16px;
  line-height: 1.5;
}

/* Guarantee / Commitments Banner */
.guarantee-banner {
  margin: 48px 0;
  background: linear-gradient(135deg, var(--bg-butter) 0%, var(--bg-peach) 100%);
  border-radius: 28px;
  padding: 32px;
  border: 3px solid var(--text-cacao);
}

@media (max-width: 768px) {
  .guarantee-banner {
    margin: 32px 0;
    padding: 20px;
    border-radius: 20px;
  }
}

.guarantee-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 860px) {
  .guarantee-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.guarantee-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
}

.check-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--accent-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 2px;
}

/* Content Article / Legal Pages */
.legal-page {
  padding: 40px 0 56px;
  flex: 1;
}

@media (max-width: 600px) {
  .legal-page {
    padding: 20px 0 36px;
  }
}

.legal-card {
  background-color: var(--bg-surface);
  border: 2px solid var(--border-light);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(74, 47, 39, 0.04);
}

@media (max-width: 600px) {
  .legal-card {
    padding: 20px;
    border-radius: 18px;
  }
}

.legal-card h1 {
  margin-bottom: 18px;
  border-bottom: 3px solid var(--bg-mint);
  padding-bottom: 10px;
}

.legal-card h2 {
  margin: 28px 0 12px;
  font-size: 22px;
}

.legal-card h3 {
  margin: 18px 0 10px;
  font-size: 18px;
}

.legal-card p,
.legal-card ul,
.legal-card ol {
  margin-bottom: 14px;
  color: var(--text-cacao);
  line-height: 1.6;
}

.legal-card ul,
.legal-card ol {
  padding-left: 20px;
}

.legal-card li {
  margin-bottom: 6px;
}

/* Form Controls */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-cacao);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-cacao);
  background-color: var(--bg-main);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-green);
  background-color: var(--bg-surface);
}

/* Footer */
.site-footer {
  background-color: var(--text-cacao);
  color: var(--bg-main);
  padding: 44px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  font-size: 26px;
  text-decoration: none;
}

.footer-tagline {
  color: #bdebd2;
  font-size: 15px;
  max-width: 400px;
}

.footer-links-title {
  color: var(--bg-surface);
  font-size: 17px;
  margin-bottom: 12px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #d5e9dd;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.footer-links-list a:hover {
  color: var(--bg-butter);
}

.footer-bottom {
  border-top: 1px solid rgba(213, 233, 221, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #bdebd2;
}
