/* ============================================================
   CSS SITE — Variables & Reset
============================================================ */
:root {
  --gradient-start: #1a0f2e;
  --gradient-end: #e65c25;
  --primary-color: #c0390e;
  --primary-dark:   #8a2208;
  --gradient-mid:   #c0390e;
  --orange:         #e65c25;
  --orange-deep:    #c0390e;
  --secondary-color: #4a1a00;
  --text-light: #ffffff;
  --text-dark: #333333;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --white: #ffffff;
}

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

body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
}

p {
  text-align: justify;
}

/* =========================
   UTILITAIRES
========================= */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }

.text-center { text-align: center; }
.gradient-bg { background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%); }

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0; width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 50;
}

.main-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 850px; margin: 0 auto; padding: 12px 24px;
}

.logo img { height: 48px; width: auto; }

.navMenu { display: none; cursor: pointer; padding: 8px; }
.navMenu svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform 0.3s ease; }
.navMenu:hover svg { transform: scale(1.1); }

#navInput { display: none; }

.nav ul { display: flex; list-style: none; align-items: center; gap: 24px; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: #374151; font-weight: 500; font-size: 14px; transition: color 0.3s ease; position: relative; }
.nav a:hover { color: var(--primary-color); }
.nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 50%; background-color: var(--primary-color); transition: all 0.3s ease; transform: translateX(-50%); }
.nav a:hover::after { width: 100%; }

.close-nav { display: none; }
.fullclose { display: none; position: fixed; }

/* =========================
   BOUTONS
========================= */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  margin-top: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.cta-button:hover { background: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-start) 100%); }

.cta-button--light {
  background: white;
  color: var(--primary-color);
}
.cta-button--light:hover { background: #f5f5f5; }

.cta-button--outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.cta-button--outline:hover { background: white; color: var(--primary-color); }

.cta-button--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  letter-spacing: .02em;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   HERO LANDING
========================= */
.hero-landing {
  background: linear-gradient(135deg, var(--gradient-start) 0%, #3d1a0a 50%, var(--gradient-end) 100%);
  color: white;
  padding: 130px 24px 80px;
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(230,92,37,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(26,15,46,0.6) 0%, transparent 70%);
  pointer-events: none;
}

/* motif géométrique discret */
.hero-landing::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-landing__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-landing__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.25rem;
}
.hero-landing__eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--gradient-end);
  border-radius: 2px;
}

.hero-landing h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  color: white;
  text-align: left;
  margin-bottom: 1.25rem;
}

.hero-landing h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-landing__lead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
  text-align: left;
}

.hero-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .5rem;
}

/* Stats dans le hero */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat__value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.hero-stat__label {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .25rem;
}

/* Logos clients dans le hero */
.hero-landing__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.client-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background .25s, transform .25s;
  min-height: 80px;
}
.client-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-3px);
}
.client-card img {
  max-height: 48px;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .8;
}
.client-card span {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* =========================
   SECTION COMMUNE
========================= */
.section {
  padding: 80px 0;
}
.section--alt {
  background: white;
}
.section--dark {
  background: linear-gradient(135deg, #1a0f2e 0%, #3d1a08 60%, #8a2208 100%);
  color: white;
}

.section__eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
  text-align: center;
  display: block;
}
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.section--dark .section__title { color: white; }

.section__lead {
  text-align: center;
  color: #666;
  max-width: 640px;
  margin: 0 auto 3.5rem;
  font-size: .95rem;
  line-height: 1.75;
}
.section--dark .section__lead { color: rgba(255,255,255,.65); }

.section__divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
  border-radius: 2px;
  margin: .75rem auto 0;
}

/* =========================
   OFFRE — 3 PILIERS
========================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: #f9f9f9;
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  border: 1px solid #eee;
  transition: box-shadow .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.pillar-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary-dark), var(--orange));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.pillar-card__icon svg {
  width: 26px; height: 26px;
  stroke: white; fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-card h3 {
  font-size: 1.15rem;
  text-align: left;
  color: var(--text-dark);
  margin-bottom: .75rem;
}

.pillar-card p {
  font-size: .88rem;
  color: #666;
  line-height: 1.7;
  text-align: left;
}

/* =========================
   COMMENT ÇA MARCHE
========================= */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 2rem;
}

.step:last-child { padding-bottom: 0; }

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), transparent);
}

.step__num {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 16px rgba(192,57,14,.4);
  z-index: 1;
}

.step__content { padding-top: .75rem; }
.step__content h3 { font-size: 1rem; text-align: left; color: white; margin-bottom: .4rem; }
.step__content p { font-size: .87rem; color: rgba(255,255,255,.65); line-height: 1.65; text-align: left; }

/* =========================
   AVANTAGES / BADGES
========================= */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.badge-card {
  background: white;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  border: 1px solid #eee;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow .25s, transform .25s;
}
.badge-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.badge-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(192,57,14,.1), rgba(230,92,37,.18));
  display: flex; align-items: center; justify-content: center;
}
.badge-card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--orange-deep); fill: none;
  stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.badge-card h3 { font-size: .95rem; text-align: left; color: var(--text-dark); margin-bottom: .3rem; }
.badge-card p  { font-size: .83rem; color: #777; line-height: 1.6; text-align: left; }

/* =========================
   FORMULAIRE / CTA FINAL
========================= */
.signup-section {
  padding: 80px 0;
  background: white;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.signup-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: left;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.signup-info p {
  font-size: .9rem;
  color: #666;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.signup-info__list {
  list-style: none;
  margin: 1.5rem 0;
}
.signup-info__list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text-dark);
  margin-bottom: .75rem;
  font-weight: 500;
}
.signup-info__list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--orange));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7l3.5 3.5 5.5-6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* Contact block dans signup */
.signup-contact {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #f9f9f9;
  border-radius: 12px;
  border-left: 4px solid var(--orange);
}
.signup-contact p {
  font-size: .85rem; color: #555; margin-bottom: .4rem; text-align: left;
}
.signup-contact a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}
.signup-contact a:hover { text-decoration: underline; }

/* Formulaire */
.signup-form {
  background: #f9f9f9;
  border-radius: 16px;
  padding: 2rem 2rem;
  border: 1px solid #eee;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.signup-form h3 {
  font-size: 1.1rem;
  text-align: left;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #555;
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Quicksand', sans-serif;
  font-size: .9rem;
  color: var(--text-dark);
  background: white;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(192,57,14,.18);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

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

.form-submit {
  width: 100%;
  margin-top: .5rem;
  text-align: center;
  justify-content: center;
}

/* =========================
   SITE FOOTER
========================= */
.site-footer {
  background: linear-gradient(135deg, #1a0f2e 0%, #e65c25 100%);
  color: rgba(255,255,255,0.75);
  padding: 56px 24px 24px;
  font-size: 0.875rem;
}
.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer .footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.site-footer .footer-brand img {
  height: 42px; width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
  display: block;
}
.site-footer .footer-brand p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  text-align: left;
}
.site-footer .footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.site-footer .footer-contact a:hover { color: #e65c25; }
.site-footer .footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.site-footer .footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
}
.site-footer .footer-col ul li {
  margin-bottom: 10px;
}
.site-footer .footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.site-footer .footer-col a:hover { color: white; }
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.site-footer .footer-bottom strong { color: rgba(255,255,255,0.55); }
@media (max-width: 768px) {
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer .footer-top { grid-template-columns: 1fr; }
  .site-footer .footer-bottom { flex-direction: column; text-align: center; }
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-fade-up {
  opacity: 0;
  animation: fadeUp .7s ease forwards;
}
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .25s; }
.anim-delay-3 { animation-delay: .4s; }
.anim-delay-4 { animation-delay: .55s; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .badges-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .navMenu { display: block; }

  /* Cache la nav par défaut en mobile */
  .nav { display: none; }

  #navInput:checked ~ .nav {
    display: block; position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
    background: white; padding: 2rem 1.5rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15); z-index: 100; overflow-y: auto;
  }
  #navInput:checked ~ .nav ul {
    display: flex; flex-direction: column; align-items: center; gap: 0;
  }
  #navInput:checked ~ .nav ul li {
    width: 100%; border-bottom: 1px solid #f0f0f0; text-align: center;
  }
  #navInput:checked ~ .nav ul li a {
    display: block; padding: .85rem 0; font-size: 1rem;
  }
  #navInput:checked ~ .fullclose {
    display: block; position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,0.4);
  }
  .close-nav { display: list-item; }
  .close { cursor: pointer; display: flex; align-items: center; gap: .5rem; color: var(--primary-color); font-weight: 600; margin-bottom: 1.5rem; }
  .close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

  .hero-landing__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-landing { min-height: auto; padding: 110px 24px 60px; }
  .hero-landing h1 { font-size: 1.9rem; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .signup-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .badges-grid  { grid-template-columns: 1fr; }
  .hero-stats   { flex-wrap: wrap; gap: 1.25rem; }
  .form-row     { grid-template-columns: 1fr; }
  .hero-landing__actions { flex-direction: column; }
  .hero-landing__actions .cta-button { text-align: center; }
}