/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --card:    #3d3b3b;
  --border:  #2a2a2a;
  --red:     #e8001c;
  --red-h:   #ff1a35;
  --white:   #ffffff;
  --gray:    #999999;
  --textbox: #d9d9d9;
  --light:   #cccccc;
  --font:    'Inter', 'Segoe UI', Arial, sans-serif;
  --radius:  10px;
  --trans:   0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--red); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--red-h); }

img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

main { flex: 1; }



/* ===== HEADER / NAV ===== */
header {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px; /* était 64px */
}


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

.nav-logo img {
  height: 56px;   /* était 36px — ajuste entre 40px et 56px selon ton logo */
  width: auto;
}


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

.nav-links a {
  color: var(--light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--trans);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--trans) !important;
}

.nav-cta:hover { background: var(--red-h) !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--trans);
}


/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 50vh;
  max-height: 600px;
  display: flex;
  align-items: center;
  overflow: visible; /* ← était hidden, coupait le bouton */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* ← overlay sombre au lieu de blanc */
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 80px; /* ← réduit pour le mobile */
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.hero-logo {
  width: 80px;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  white-space: nowrap;
}

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

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--trans);
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-h);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,0,28,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-lg { padding: 18px 44px; font-size: 1.1rem; }

/* ===== FEATURES ===== */
.features {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--trans), transform var(--trans);
}

.feature-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ===== OFFER SECTION ===== */
.offer {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  font-style: italic;
  margin-bottom: 12px;
}

.section-title span { color: var(--red); }

.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 48px;
  font-size: 0.95rem;
}

.offer-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--red);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
}

.offer-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.offer-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 24px;
}

.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--light);
}

.offer-list li::before {
  content: '✔';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.offer-card .btn { width: 100%; justify-content: center; }

/* ===== FORM ===== */
.form-section {
  padding: 80px 0;
}
/* Séparateur de section dans le formulaire */
.form-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 24px;
}

.form-separator::before,
.form-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-separator span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  white-space: nowrap;
}

/* Hint sous un champ */
.field-hint {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 6px;
  line-height: 1.5;
}

.field-hint strong {
  color: var(--light);
}

.form-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
}

.form-wrap h2 {
  font-size: 1.6rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 8px;
}

.form-wrap p.sub {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-group label .req { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--textbox);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color var(--trans);
  font-family: var(--font);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }

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

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--light);
  font-size: 0.92rem;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}
.confirmation-bloc {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  border: 1px solid #d4edda;
  border-radius: 8px;
  background: #f8fff9;
}
.confirmation-bloc h2 {
  color: #28a745;
  margin-bottom: 1rem;
}
.confirmation-bloc h3 {
  margin-top: 1.5rem;
  color: #333;
  border-bottom: 1px solid #ccc;
  padding-bottom: .3rem;
}
.confirmation-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .5rem;
}
.confirmation-table th,
.confirmation-table td {
  text-align: left;
  padding: .4rem .6rem;
  border-bottom: 1px solid #eee;
}
.confirmation-table th {
  width: 40%;
  color: #555;
  font-weight: 600;
}
.form-error {
  color: #dc3545;
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
}


/* Success message */
.success-msg {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-msg .icon { font-size: 3rem; margin-bottom: 16px; }

.success-msg h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-msg p { color: var(--gray); font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq { padding: 80px 0; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color var(--trans);
}

.faq-q:hover { color: var(--red); }

.faq-q .arrow {
  font-size: 0.8rem;
  transition: transform var(--trans);
  flex-shrink: 0;
  color: var(--red);
}

.faq-item.open .faq-q .arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--trans);
  padding: 0 24px;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ===== APP PAGE ===== */
.app-section {
  padding: 100px 0;
  text-align: center;
}

.app-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1px 1px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color var(--trans), transform var(--trans);
  min-width: 206px;
}

.app-btn:hover {
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.app-btn .store-icon { font-size: 1.6rem; }

.app-open {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

/* ===== GARANTIE ===== */
.garantie-section { padding: 80px 0; }

.garantie-form {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.status-result {
  display: none;
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
}

.status-active   { background: rgba(0,200,80,0.1);  border: 1px solid #00c850; color: #00c850; }
.status-inactive { background: rgba(255,180,0,0.1); border: 1px solid #ffb400; color: #ffb400; }
.status-archived { background: rgba(150,150,150,0.1); border: 1px solid #666; color: #999; }

/* ===== SUPPORT ===== */
.support-section { padding: 80px 0; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: border-color var(--trans);
}

.support-card:hover { border-color: var(--red); }
.support-card .icon { font-size: 2rem; margin-bottom: 12px; }
.support-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.support-card p { font-size: 0.875rem; color: var(--gray); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: auto;
}

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

.footer-brand img { height: 32px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.8rem; color: var(--gray); max-width: 240px; }

.footer-links h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.85rem; color: var(--light); }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; color: var(--gray); }

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-switch a {
  font-size: 0.8rem;
  color: var(--gray);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: var(--trans);
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--white);
  border-color: var(--red);
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  font-style: italic;
}

.page-header h1 span { color: var(--red); }

.page-header p { color: var(--gray); margin-top: 8px; font-size: 0.95rem; }

/* ===== RESPONSIVE ===== */
/* ── MOBILE GÉNÉRAL (portrait + paysage) ── */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--dark);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
  }
  .nav-links.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: block;
  }
  .nav-links.open li:last-child a { border: none; }

  .burger { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 32px 24px; }
  .offer-card { padding: 28px 24px; }
  .footer-top { flex-direction: column; }

  .hero {
    max-height: none;
    min-height: 60vh;
    overflow: visible;
  }

  .hero-content {
    padding: 100px 24px 60px;
  }
}


/* ── PAYSAGE MOBILE ── */
@media (max-width: 1024px) and (orientation: landscape) {
  nav { height: 52px; }

  .nav-logo img { height: 36px; }

  .nav-links.open {
    top: 52px;
    max-height: calc(100svh - 52px);
    overflow-y: auto;
  }

  .hero {
    min-height: 100svh;
    overflow-y: auto;
  }

  .hero-content {
    padding: 64px 24px 40px;
  }

  .hero-content h1 {
    font-size: clamp(1rem, 3.5vw, 1.4rem);
  }

  .hero-content p {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    margin-bottom: 14px;
	
  }
}

.cgv-content {
      max-width: 800px;
      margin: 0 auto;
      padding: 60px 24px 100px;
    }
    .cgv-content h2 {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--white);
      margin: 48px 0 12px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border);
    }
    .cgv-content h3 {
      font-size: 1rem;
      font-weight: 600;
      color: var(--light);
      margin: 24px 0 8px;
    }
    .cgv-content p {
      color: var(--gray);
      font-size: 0.92rem;
      line-height: 1.8;
      margin-bottom: 12px;
    }
    .cgv-content ul {
      color: var(--gray);
      font-size: 0.92rem;
      line-height: 1.8;
      margin: 8px 0 12px 20px;
    }
    .cgv-content ul li { margin-bottom: 6px; }
    .cgv-content .highlight {
      background: var(--card);
      border-left: 3px solid var(--red);
      padding: 16px 20px;
      border-radius: 0 var(--radius) var(--radius) 0;
      margin: 20px 0;
      color: var(--light);
      font-size: 0.92rem;
      line-height: 1.7;
    }
    .cgv-content .date {
      color: var(--gray);
      font-size: 0.82rem;
      margin-bottom: 40px;
    }

