/* Cockpit Saisonnier — Landing Page */

:root {
  --steel: #475569;
  --steel-light: #64748b;
  --steel-dark: #1e293b;
  --gold: #C9A961;
  --gold-light: #e0c989;
  --gold-dark: #a68a3e;
  --white: #ffffff;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --text: #334155;
  --text-light: #94a3b8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { height: 48px; }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--steel);
  margin: 5px 0;
  transition: 0.3s;
}

/* ─── Hero ─── */
.hero {
  padding: 160px 24px 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(201,169,97,0.12);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--steel-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--gold); }

.hero p {
  font-size: 18px;
  color: var(--steel-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-target {
  font-size: 15px;
  color: var(--steel-light);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,97,0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--white);
  color: var(--steel);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid var(--border);
  transition: all 0.2s;
}

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

/* ─── Sections ─── */
section { padding: 100px 24px; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--steel-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--steel-light);
  max-width: 600px;
  line-height: 1.7;
}

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

/* ─── Constat ─── */
.constat-grid {
  margin-top: 48px;
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.constat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.constat-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.constat-problem,
.constat-solution {
  padding: 24px 28px;
  font-size: 15px;
  line-height: 1.6;
}

.constat-problem {
  color: var(--steel-light);
  border-right: 1px solid var(--border);
  position: relative;
  padding-left: 48px;
}

.constat-problem::before {
  content: "—";
  position: absolute;
  left: 24px;
  color: var(--steel-light);
  font-weight: 700;
}

.constat-solution {
  color: var(--steel-dark);
  font-weight: 500;
  position: relative;
  padding-left: 48px;
}

.constat-solution::before {
  content: "\2713";
  position: absolute;
  left: 24px;
  color: var(--gold);
  font-weight: 700;
}

.constat-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.constat-header span {
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--steel-light);
}

.constat-header span:first-child {
  border-right: 1px solid var(--border);
}

/* ─── Screenshots ─── */
.screenshots {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.screenshot-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.screenshot-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.screenshot-card .caption {
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--steel-dark);
}

.screenshot-card .caption span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 4px;
}

/* ─── Modules ─── */
.modules-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.module-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--steel-dark);
  margin-bottom: 12px;
}

.module-card p {
  font-size: 14px;
  color: var(--steel-light);
  line-height: 1.7;
}

/* ─── Tarifs ─── */
.pricing-card {
  max-width: 560px;
  margin: 48px auto 0;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
}

.pricing-header {
  padding: 48px 40px 32px;
  background: linear-gradient(135deg, var(--steel-dark), var(--steel));
  color: var(--white);
}

.pricing-price {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.pricing-price span {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.8;
}

.pricing-label {
  font-size: 16px;
  opacity: 0.8;
  margin-top: 8px;
}

.pricing-body { padding: 32px 40px; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--bg-alt);
  position: relative;
  padding-left: 28px;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.pricing-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pricing-badge {
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--steel);
}

/* ─── Timeline ─── */
.timeline {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--border);
}

.timeline-step {
  text-align: center;
  padding: 0 32px;
  position: relative;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 12px;
  position: relative;
  z-index: 2;
}

.timeline-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--steel-dark);
  margin-bottom: 4px;
}

.timeline-step p {
  font-size: 13px;
  color: var(--text-light);
}

/* ─── Contact / Footer ─── */
.contact-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201,169,97,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
}

.contact-card h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 15px;
  color: var(--steel-dark);
  font-weight: 500;
}

.contact-card a {
  color: var(--gold-dark);
  text-decoration: none;
}

.contact-card a:hover { text-decoration: underline; }

.footer {
  background: var(--steel-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
}

.footer a {
  color: var(--gold-light);
  text-decoration: none;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .hero { padding: 120px 24px 60px; }
  .hero h1 { font-size: 32px; }

  .constat-row { grid-template-columns: 1fr; }
  .constat-problem { border-right: none; border-bottom: 1px solid var(--border); }
  .constat-header { grid-template-columns: 1fr; }
  .constat-header span:first-child { border-right: none; border-bottom: 1px solid var(--border); }

  .screenshots { grid-template-columns: 1fr 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .timeline::before {
    width: 2px;
    height: 80%;
    top: 0;
    left: 50%;
  }

  section { padding: 60px 24px; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Forms ─── */
.forms-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.form-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--steel-dark);
  margin-bottom: 6px;
}

.form-card .form-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}

.form-success.show { display: block; }

.form-success .check-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201,169,97,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: var(--gold);
}

.form-success h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--steel-dark);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 14px;
  color: var(--text-light);
}

.form-error {
  display: none;
  background: #fef2f2;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}

.form-error.show { display: block; }

.form-consent {
  margin-bottom: 12px;
}

.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--steel-light);
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.form-consent a {
  color: var(--gold-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .forms-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── FAQ ─── */
.faq-grid {
  margin-top: 48px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: var(--gold); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.faq-question span {
  font-size: 15px;
  font-weight: 600;
  color: var(--steel-dark);
}

.faq-question svg {
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--steel-light);
  line-height: 1.7;
}

/* ─── Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
