/* ============================================
   Easy Camp — Landing page (turquoise + soleil)
   ============================================ */

:root {
  --turquoise-50: #e8f7f7;
  --turquoise-100: #b8e8e8;
  --turquoise-200: #6dd4d4;
  --turquoise-400: #2ec4c4;
  --turquoise-500: #00b4b4;
  --turquoise-600: #009a9a;
  --turquoise-700: #007a7a;
  --gold-50: #fff9e6;
  --gold-100: #ffefbf;
  --gold-400: #ffd24d;
  --gold-500: #f5c400;
  --gold-600: #d4a800;
  --white: #ffffff;
  --bg: #f6fbfc;
  --text: #1a2b3c;
  --text-muted: #5a6b7d;
  --border: #e2eaef;
  --font: 'Outfit', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 8px 32px rgba(0, 100, 120, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 100, 120, 0.12);
  --header-h: 72px;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--turquoise-600); text-decoration: none; }
a:hover { color: var(--turquoise-700); }

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

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}

.header-scrolled {
  box-shadow: 0 4px 24px rgba(0, 80, 100, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--turquoise-700);
  text-decoration: none;
}

.logo-mark { font-size: 1.35rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-list a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-list a:hover { color: var(--turquoise-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--turquoise-500), var(--turquoise-600));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 180, 180, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 180, 180, 0.4);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--turquoise-700);
  border: 2px solid var(--turquoise-200);
}

.btn-secondary:hover {
  background: var(--turquoise-50);
  border-color: var(--turquoise-400);
  color: var(--turquoise-700);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--text);
  box-shadow: 0 4px 20px rgba(245, 196, 0, 0.4);
}

.btn-gold:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---- Hero ---- */
.hero {
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: linear-gradient(180deg, var(--turquoise-50) 0%, var(--white) 55%);
  overflow: hidden;
}

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

.badge {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--turquoise-700);
  background: var(--white);
  border: 1px solid var(--turquoise-100);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero illustration */
.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.illus-phone {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  padding: 10px;
  background: linear-gradient(145deg, #2a3a4a, #1a2b3c);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.illus-screen {
  background: var(--white);
  border-radius: 20px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.illus-qr {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--turquoise-600);
  border: 2px dashed var(--turquoise-300);
  border-radius: 8px;
}

.illus-line {
  width: 80%;
  height: 8px;
  background: var(--turquoise-50);
  border-radius: 4px;
}

.illus-line.short { width: 50%; }

.illus-btn {
  width: 70%;
  padding: 8px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: var(--turquoise-500);
  border-radius: 8px;
}

.illus-map {
  position: absolute;
  bottom: 12%;
  left: 5%;
  width: 55%;
  height: 45%;
  background: linear-gradient(135deg, var(--turquoise-100), var(--turquoise-50));
  border-radius: var(--radius-lg);
  border: 2px solid var(--white);
  box-shadow: var(--shadow);
}

.pin {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--gold-500);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.pin-1 { top: 25%; left: 30%; }
.pin-2 { top: 55%; left: 60%; }
.pin-3 { top: 40%; left: 75%; }

.illus-van {
  position: absolute;
  bottom: 5%;
  right: 5%;
  font-size: 3.5rem;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
  z-index: 2;
}

/* ---- Sections ---- */
.section {
  padding: 88px 0;
}

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

.section-gold {
  background: linear-gradient(180deg, var(--gold-50) 0%, var(--white) 100%);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ---- Cards ---- */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.card-problem .card-icon {
  background: #fff5f5;
  color: #c53030;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  font-size: 1.4rem;
  background: var(--gray-50, #f1f5f7);
  border-radius: 12px;
}

.card-icon-turquoise {
  background: var(--turquoise-50);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-compact h3 { font-size: 1rem; }

/* ---- Benefits pills ---- */
.benefits-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border-radius: 999px;
  border: 1px solid var(--gold-100);
  box-shadow: var(--shadow);
}

.benefit-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  background: var(--gold-500);
  border-radius: 50%;
}

/* ---- Steps ---- */
.steps-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--turquoise-500), var(--turquoise-600));
  border-radius: 50%;
}

.step-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.step-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---- CTA box ---- */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--turquoise-600) 0%, var(--turquoise-700) 100%);
}

.cta-box {
  text-align: center;
  padding: 56px 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ---- Footer ---- */
.footer {
  padding: 48px 0 32px;
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tagline { font-size: 0.95rem; }

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer-links a:hover { color: var(--gold-400); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  text-align: center;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-illustration { max-width: 320px; }
}

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

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav .btn { width: 100%; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section { padding: 64px 0; }
  .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .step-item { flex-direction: column; gap: 16px; }
  .cta-box { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
}
