/* ── DESIGN TOKENS ── */
:root {
  --primary-color: #D77B4B;
  --secondary-color: #323232;
  --light-background: #f6f4f2;
  --button-text-color: #fff;
  --border-radius: 8px;
  --font-family-primary: 'Inter', sans-serif;
  --section-padding: 80px 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family-primary);
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: var(--light-background);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.3rem; }
p  { font-size: 1.1rem; margin-bottom: 15px; color: var(--secondary-color); }

.highlight-text { color: var(--primary-color); }

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--button-text-color);
}
.btn-primary:hover { background-color: #c06940; }
.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}
.btn-outline:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

/* ════════════════════════════════
   HERO — split 2 colonnes
════════════════════════════════ */
.hero-section {
  background-color: var(--light-background);
  padding: var(--section-padding);
}

.hero-content-split {
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-text-split {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.hero-text-split h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-text-split p {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 35px;
}

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

.hero-image-split {
  flex: 1;
  text-align: center;
}

.hero-image-split img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--border-radius);
}

/* ════════════════════════════════
   SECTION PROBLÈME
════════════════════════════════ */
.problem-section {
  background-color: var(--light-background);
  padding: var(--section-padding);
}

.problem-section h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.problem-section .section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: rgba(50,50,50,0.75);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: left;
}

.advantage-card .card-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: block;
}

.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.advantage-card p {
  font-size: 1rem;
  color: rgba(50,50,50,0.75);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ════════════════════════════════
   SECTION SOLUTION — ÉTUDIANTS
════════════════════════════════ */
.solution-section {
  background-color: var(--light-background);
  padding: var(--section-padding);
}

.solution-section h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.solution-section .section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 1.1rem;
  color: rgba(50,50,50,0.75);
}

/* Sous-titre de bloc */
.block-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 32px;
  text-align: left;
}

.block-heading span { color: var(--primary-color); }

/* Grille piliers étudiants */
.piliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.pilier-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pilier-card .pilier-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.pilier-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pilier-card p {
  font-size: 1rem;
  color: rgba(50,50,50,0.75);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ════════════════════════════════
   SPLIT ADMIN (image gauche, texte droite)
════════════════════════════════ */
.admin-split-section {
  background-color: var(--light-background);
  padding: 0 0 var(--section-padding);
}

.split-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.split-image {
  flex: 1;
  text-align: left;
}

.split-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

.split-text {
  flex: 1;
  max-width: 50%;
}

.split-text h2 {
  text-align: left;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.split-text .section-intro {
  text-align: left;
  margin: 0 0 32px;
  color: rgba(50,50,50,0.75);
}

.admin-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-feature {
  border-left: 3px solid var(--primary-color);
  padding-left: 18px;
}

.admin-feature strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--secondary-color);
}

.admin-feature span {
  font-size: 0.95rem;
  color: rgba(50,50,50,0.7);
  line-height: 1.5;
}

/* ════════════════════════════════
   COMPARATIF ALL-IN-ONE
════════════════════════════════ */
.comparatif-section {
  background-color: var(--light-background);
  padding: var(--section-padding);
}

.comparatif-section h2 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.comparatif-section .section-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  color: rgba(50,50,50,0.75);
}

.comparatif-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  max-width: 680px;
  margin: 0 auto 20px;
  overflow: hidden;
}

.comparatif-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid #f0ece8;
  gap: 16px;
}

.comparatif-row:last-child { border-bottom: none; }

.comparatif-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.comparatif-icon {
  font-size: 1.4rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.comparatif-tool {
  font-weight: 600;
  font-size: 1rem;
  color: var(--secondary-color);
}

.comparatif-sub {
  font-size: 0.82rem;
  color: rgba(50,50,50,0.5);
  margin-top: 2px;
}

.comparatif-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary-color);
  white-space: nowrap;
  flex-shrink: 0;
}

.comparatif-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background-color: #faf7f5;
  border-top: 2px solid #f0ece8;
}

.comparatif-total-row .total-label {
  font-size: 0.95rem;
  color: rgba(50,50,50,0.5);
  text-decoration: line-through;
}

.comparatif-total-row .total-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(50,50,50,0.4);
  text-decoration: line-through;
}

.comparatif-footer {
  max-width: 680px;
  margin: 0 auto;
  background-color: var(--primary-color);
  border-radius: 12px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.comparatif-footer .footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparatif-footer .footer-icon { font-size: 1.4rem; }

.comparatif-footer .footer-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.comparatif-footer .footer-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
}

.comparatif-footer .footer-right {
  text-align: right;
  flex-shrink: 0;
}

.comparatif-footer .footer-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* ════════════════════════════════
   POUR QUI
════════════════════════════════ */
.pour-qui-section {
  background-color: var(--light-background);
  padding: var(--section-padding);
}

.pour-qui-section h2 { margin-bottom: 20px; }

.pour-qui-section .section-intro {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 50px;
  color: rgba(50,50,50,0.75);
}

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

.persona-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.persona-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.persona-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.persona-card p {
  font-size: 0.98rem;
  color: rgba(50,50,50,0.75);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ════════════════════════════════
   ARGUMENTS DIRECTION
════════════════════════════════ */
.direction-section {
  background-color: var(--light-background);
  padding: var(--section-padding);
}

.direction-section h2 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.direction-section .section-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
  color: rgba(50,50,50,0.75);
}

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

.arg-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.arg-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.arg-card p {
  font-size: 0.95rem;
  color: rgba(50,50,50,0.7);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ════════════════════════════════
   CTA FINAL
════════════════════════════════ */
.cta-section-bottom {
  background-color: var(--light-background);
  padding: var(--section-padding);
  text-align: center;
}

.new-cta-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 60px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.new-cta-content h3 {
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 16px;
  line-height: 1.2;
}

.new-cta-content p {
  font-size: 1.1rem;
  color: rgba(50,50,50,0.7);
  margin-bottom: 36px;
  line-height: 1.5;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  h2 { font-size: 2.2rem; }

  .hero-content-split {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .hero-text-split {
    max-width: 100%;
    text-align: center;
  }
  .hero-actions { justify-content: center; }

  .split-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .split-text {
    max-width: 100%;
  }
  .split-text h2 { text-align: center; }
  .split-text .section-intro { text-align: center; }
  .split-image { text-align: center; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.9rem; }

  .hero-text-split h1 { font-size: 2.2rem; }
  .hero-text-split p  { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .problem-grid,
  .piliers-grid,
  .personas-grid,
  .args-grid { grid-template-columns: 1fr; }

  .comparatif-footer {
    flex-direction: column;
    text-align: center;
  }
  .comparatif-footer .footer-cta {
    width: 100%;
    text-align: center;
  }

  .new-cta-content {
    padding: 40px 20px;
    border-radius: var(--border-radius);
  }
  .new-cta-content h3 { font-size: 1.8rem; }
  .new-cta-content p  { font-size: 1rem; margin-bottom: 28px; }
}

@media (max-width: 480px) {
  h2 { font-size: 1.7rem; }
  .new-cta-content h3 { font-size: 1.5rem; }
}
