/* ══════════════════════════════════════════════════════
   HERO SPLIT
══════════════════════════════════════════════════════ */
.hero-div{
  background-color: var(--dark-bg);
}

.hero-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 36px;
}

.hero-content .hero-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  max-height: 560px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.5));
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

h1 span {
  color: var(--accent);
}

.cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-dark);
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.93rem;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.93rem;
}

.btn-secondary:hover { border-color: var(--accent); }

/* ══════════════════════════════════════════════════════
   VISION FEATURES
══════════════════════════════════════════════════════ */
.vision-section {
  background: var(--text);
  padding: 90px 48px;
}

.vision-label {
  text-align:center;
  font-size:.78rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#0A1433;
  opacity:.5;
  margin-bottom:10px;
}

.vision-title {
  text-align:center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color:#0A1433;
}

.features-grid {
  max-width:1050px;
  margin:70px auto 0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:70px 80px;
}

.feature-card {
  display:flex;
  align-items:center;
  gap:30px;
}

.feature-circle {
  width: 280px;
  height: 220px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  flex-shrink: 0;

  border-radius: 20px;
  background: #0F1829;

  padding: 12px;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 8px 24px rgba(0,0,0,.18);
}

.feature-circle svg {
  display: block;

  width: calc(100% + 24px);
  height: calc(100% + 24px);

  transform: scale(1.12);
  transform-origin: center center;
}

.feature-content h3 {
  margin:0 0 12px;
  color:#0A1433;
  font-size:1.05rem;
}

.feature-content p {
  margin:0;
  color:#3A4A5C;
  font-size:.92rem;
  line-height:1.6;
}

.visual-disclaimer {
  width: 100%;
  max-width: 800px;
  margin: 48px auto 0;
  margin-bottom: -48px auto 0;
  text-align: center;
}

.visual-disclaimer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dark);
  opacity: 0.75;
}

@media(max-width:900px){
  .features-grid {
    grid-template-columns:1fr;
    gap:45px;
  }
}

@media(max-width:600px){
  .vision-section {
    padding:70px 24px;
  }
  .feature-card {
    gap:20px;
  }
  .feature-circle {
    width:150px;
    height:120px;
  }
}

/* ══════════════════════════════════════════════════════
   SECTION PROBLÈME — titre à gauche, cards à droite
══════════════════════════════════════════════════════ */
.section-probleme {
  padding: 100px 48px;
}

.probleme-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.probleme-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border: none;
  overflow: visible;
}

.probleme-header .section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--border);
  margin-bottom: 20px;
}

.probleme-title {
  max-width: 100%; /* ou 100% si tu veux vraiment toute la largeur */
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-dark);
}



.probleme-card {
  background: var(--muted);
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.probleme-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.probleme-card p {
  color: var(--text-dark);
  font-size: 0.93rem;
}


/* ══════════════════════════════════════════════════════
   SECTION FICHE — centré, SVG pleine largeur
══════════════════════════════════════════════════════ */
.section-fiche {
  background: var(--text);
  padding: 100px 48px;
}

.fiche-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.section-fiche .section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--border);
  margin-bottom: 12px;
}

.fiche-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: #0A1433;
  margin-bottom: 48px;
  line-height: 1.2;
}

.fiche-svg {
  background: #fff;
  border: 1px solid #D0D7DC;
  border-radius: var(--radius);
  padding: 16px;
}

.fiche-svg svg {
  width: 100%;
  display: block;
}


/* ══════════════════════════════════════════════════════
   SECTION STEPS
══════════════════════════════════════════════════════ */
.section--dark {
  background: var(--text);
  padding: 100px 48px;
}

.section--dark .section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  color: var(--border);
}

.section--dark .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  color: #0A1433;
}

.section--dark .steps-flow {
  max-width: 1100px;
  margin: 0 auto;
}


@media (max-width: 900px) {
  .probleme-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-probleme,
  .section-fiche,
  .section--dark {
    padding: 60px 20px;
  }
}


/* ══════════════════════════════════════════════════════
   ÉTAPES — img alternée gauche/droite, steps décalés
══════════════════════════════════════════════════════ */
.steps-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 24px 0;
}

.step:nth-child(1) { margin-top: 0; }
.step:nth-child(2) { margin-top: -120px; }
.step:nth-child(3) { margin-top: -120px; }

/* Img à gauche = ordre naturel, img à droite = img en 2e */
.step-img--right {
  order: 2;
}

.step-img--left {
  order: 1;
}

.step-img--right ~ .step-text {
  order: 1;
}

.step-img--left ~ .step-text,
.step-text:has(~ .step-img--right) {
  order: 1;
}

.step-img {
  display: block;
  max-height: 580px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 20px 56px rgba(0,0,0,0.5));
  justify-self: center;
}

.step-text {
  text-align: center;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 10px;
}

.step-text h3 {
  color: var(--text-dark);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-text p {
  color: var(--text-dark);
  font-size: 0.93rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .step {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 32px 0;
  }

  .step:nth-child(2),
  .step:nth-child(3) { margin-top: 0; }

  .step-img--left,
  .step-img--right {
    order: 0;
  }

  .step-text {
    text-align: left;
    order: 1 !important;
  }
}


/* ══════════════════════════════════════════════════════
   CTA BAND + FOOTER
══════════════════════════════════════════════════════ */
hr {
  border: none;
}

.cta-band,
.cta-band-light {
  text-align: center;
  padding: 80px 24px;
  margin: 0 auto;
}

.cta-div{
  background-color: var(--dark-bg);
}

.cta-band {
  max-width: 700px;
}

.cta-band-light {
  background-color: var(--muted);
  padding: 80px 24px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
}

.cta-content {
  margin: 0 auto;
  text-align: center;
}

/* Titres */
.cta-band h2,
.cta-band-light h2 {
  font-family: var(--font-display);
  margin-bottom: 16px;
}

.cta-band h2 {
  color: var(--text);
}

.cta-band-light h2 {
  color: var(--text-dark);
}

/* Paragraphes */
.cta-band p {
  color: var(--muted);
  margin-bottom: 32px;
}

.cta-band-light p {
  color: var(--text-dark);
  margin-bottom: 32px;
}

/* =====================================================
   RESPONSIVE OVERRIDES
===================================================== */

/* Ultra Wide */
@media (min-width:1800px) {
}

/* Desktop */
@media (max-width:1400px) {

  .hero-split {
    max-width: 1200px;
    gap:48px;
  }

  .features-grid {
    max-width:1000px;
    gap:60px;
  }

  .feature-card {
    gap:24px;
  }

  .feature-circle {
    width:240px;
    height:190px;
  }
  .step {
    gap:36px;
  }
}

/* Laptop */
@media (max-width:1200px) {

  .hero-split {
    padding:80px 36px 70px;
    gap:40px;
  }

  .hero-phone {
    max-height:500px;
  }

  .features-grid {
    grid-template-columns:1fr;
    max-width:900px;
    gap:50px;
  }

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

  .step {
    gap:32px;
  }

  .step-img {
    max-height:480px;
  }
}

/* Tablet */
@media (max-width:992px) {

  .hero-split {
    grid-template-columns:1fr;
    text-align:center;
    padding:70px 32px;
    gap:50px;
  }

  .hero-content {
    align-items:center;
    text-align:center;
  }

  .hero-content p {
    max-width:600px;
  }

  .hero-phone {
    max-height:420px;
  }

  .cta-group {
    justify-content:center;
  }

  .features-grid {
    grid-template-columns:1fr;
    margin-top:50px;
  }

  .feature-card {
    justify-content:center;
  }

  .probleme-cards {
    grid-template-columns:1fr;
  }

  .section-probleme,
  .section-fiche,
  .section--dark {
    padding:70px 32px;
  }

  .step {
    grid-template-columns:1fr;
    gap:30px;
    padding:40px 0;
  }

  .step:nth-child(2),
  .step:nth-child(3) {
    margin-top:0;
  }

  .step-img {
    max-height:360px;
  }

  .step-img--left,
  .step-img--right {
    order:0;
  }
  .step-text {
    order:1 !important;
    text-align:center;
  }
}

/* Mobile Landscape / Large Mobile */
@media (max-width:768px) {
  .hero-split {
    padding:60px 24px;
  }

  h1 {
    font-size:2.2rem;
  }

  .hero-phone {
    max-height:320px;
  }

  .feature-card {
    flex-direction:column;
    text-align:center;
  }

  .feature-circle {
    width:min(280px,80vw);
    height:auto;
    aspect-ratio:4 / 3;
  }

  .feature-content h3 {
    margin-bottom:10px;
  }

  .vision-section {
    padding:60px 24px;
  }

  .section-probleme,
  .section-fiche,
  .section--dark {
    padding:60px 24px;
  }

  .fiche-title {
    margin-bottom:32px;
  }

  .fiche-svg {
    padding:10px;
  }

  .step-img {
    max-height:280px;
  }

  .cta-band,
  .cta-band-light {
    padding:60px 20px;
  }

}

/* Small Mobile */
@media (max-width:480px) {
  .hero-split {
    padding:45px 18px;
  }

  h1 {
    font-size:2rem;
  }

  .hero-content p {
    font-size:1rem;
  }

  .cta-group {
    flex-direction:column;
    width:100%;
  }

  .btn-primary,
  .btn-secondary {
    width:100%;
    text-align:center;
  }

  .feature-circle {
    width:220px;
  }

  .feature-content p {
    font-size:.88rem;
  }

  .probleme-card {
    padding:22px;
  }

  .step-text h3 {
    font-size:1.05rem;
  }

  .step-text p {
    font-size:.88rem;
  }

}

/* Mobile Landscape height optimization */
@media (max-height:500px) and (max-width:900px) {
  .hero-split {
    padding-top:35px;
    padding-bottom:35px;
  }

  .hero-phone {
    max-height:240px;
  }

}