:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-300: #fdba74;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --ink-900: #1c1917;
  --ink-700: #44403c;
  --ink-400: #a8a29e;
  --paper: #ffffff;
  --paper-alt: #fafaf9;
  --border: #e7e5e4;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(28, 25, 23, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-900);
  text-decoration: none;
}

.brand-logo { width: 30px; height: 30px; }

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

.nav a {
  color: var(--ink-700);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-cta {
  background: var(--orange-500);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
}

.nav-cta:hover { background: var(--orange-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-open span:nth-child(2) { opacity: 0; }
.nav-toggle-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--orange-50), var(--paper));
  padding: 88px 0 72px;
}

.hero-inner { text-align: center; max-width: 760px; }

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 20px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-700);
  margin: 0 auto 32px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange-500);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-600); }

.btn-secondary {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--orange-500); color: var(--orange-600); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--paper-alt); }

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-align: center;
  margin: 0 0 16px;
}

.section-lead {
  text-align: center;
  color: var(--ink-700);
  max-width: 640px;
  margin: 0 auto 40px;
}

.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

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

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

  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }

  .nav.nav-open { max-height: 320px; }

  .nav a {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
  }

  .nav a:first-child { border-top: none; }

  .nav-cta {
    margin: 12px 20px;
    text-align: center;
  }

  .hero { padding: 56px 0 48px; }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }

  .section { padding: 48px 0; }
  .section-lead { margin-bottom: 28px; }

  .pricing-card { padding: 28px 22px; }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px; /* évite le zoom automatique iOS au focus */
  }

  .footer-inner { flex-direction: column; text-align: center; }
}

.card, .feature {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3, .feature h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--orange-600);
}

.card p, .feature p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.95rem;
}

/* Pricing */
.pricing-card {
  max-width: 380px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
  text-align: center;
}

.pricing-amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange-600);
  margin-bottom: 24px;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-400);
}

.pricing-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.pricing-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-list li:last-child { border-bottom: none; }

/* Contact */
.contact-inner { text-align: center; }

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-700);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink-900);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange-500);
}

.contact-form button {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

/* Legal page */
.legal-section { padding-top: 56px; }

.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 32px;
}

.legal-content h2 {
  font-size: 1.1rem;
  color: var(--orange-600);
  margin: 32px 0 10px;
}

.legal-content p {
  color: var(--ink-700);
  margin: 0 0 8px;
}

.legal-content a { color: var(--orange-600); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-400);
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--ink-700);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--orange-600); }
