/* =====================================================
   deblo.ci — Feuille de style principale
   Site vitrine Côte d'Ivoire — 100 % statique
   ===================================================== */

/* --- Variables ---------------------------------------- */
:root {
  --green:      #22c55e;
  --green-dk:   #16a34a;
  --green-lt:   #4ade80;
  --indigo:     #6366f1;
  --yellow:     #eab308;
  --teal:       #14b8a6;
  --orange:     #f97316;
  --slate-900:  #0f172a;
  --slate-800:  #1e293b;
  --slate-700:  #334155;
  --slate-600:  #475569;
  --slate-500:  #64748b;
  --slate-400:  #94a3b8;
  --slate-300:  #cbd5e1;
  --slate-200:  #e2e8f0;
  --slate-100:  #f1f5f9;
  --slate-50:   #f8fafc;
  --white:      #ffffff;

  --font-heading:     'Jost', 'DM Sans', sans-serif;
  --font-handwritten: 'Caveat', cursive;
  --font-body:        'DM Sans', 'Jost', sans-serif;

  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.08);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.12);
  --shadow-green: 0 4px 16px rgba(34,197,94,0.3);
}

/* --- Reset & Base ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection { background: #bbf7d0; color: #15803d; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }

/* --- Typographie fluide ------------------------------- */
.font-handwritten { font-family: var(--font-handwritten) !important; }
.font-heading      { font-family: var(--font-heading)     !important; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

.text-hero    { font-size: clamp(2rem,   5vw, 3.5rem); font-weight: 800; }
.text-h2      { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.text-h3      { font-size: clamp(1.1rem, 2vw, 1.5rem);  font-weight: 600; }
.text-tagline { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-family: var(--font-handwritten); }

/* --- Animations (portées depuis app.css) ------------- */
@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.3) translateY(30px); }
  60%  { transform: scale(1.1) translateY(-5px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes doodleFloat {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.18; }
  50%  { transform: translateY(-12px) rotate(8deg); opacity: 0.25; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.18; }
}

@keyframes blobMorph {
  0%   { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  25%  { border-radius: 58% 42% 30% 70% / 55% 30% 70% 45%; }
  50%  { border-radius: 30% 70% 55% 45% / 65% 40% 60% 35%; }
  75%  { border-radius: 70% 30% 45% 55% / 35% 60% 40% 65%; }
  100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRevealUp {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes counterPop {
  0%   { transform: scale(0.9); opacity: 0; }
  60%  { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes heartFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0.15; }
  50%  { transform: translateY(-14px) scale(1.1); opacity: 0.25; }
  100% { transform: translateY(0) scale(1); opacity: 0.15; }
}

/* --- Utilitaires -------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-md {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-pad { padding: 5rem 0; }
@media (max-width: 640px) { .section-pad { padding: 3.5rem 0; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { background: var(--green-dk); }

.btn-white {
  background: var(--white);
  color: var(--green-dk);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.badge-green  { background: rgba(34,197,94,0.15); color: var(--green-dk); }
.badge-white  { background: rgba(255,255,255,0.2); color: var(--white); }
.badge-yellow { background: rgba(234,179,8,0.15);  color: #92400e; }

/* Scroll reveal — état initial */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
  backdrop-filter: blur(8px);
}
.nav-cta:hover { background: rgba(255,255,255,0.3); }

/* =====================================================
   SECTION 1 — HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(135deg, #ff9f43, #ff6b6b, #22c55e);
  background-size: 300% 300%;
  animation: gradientShift 8s ease-in-out infinite;
}

.hero-doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-doodles svg {
  position: absolute;
  opacity: 0.15;
}
.hero-doodle-pencil  { top: 18%; left: 8%; animation: doodleFloat 6s ease-in-out infinite; }
.hero-doodle-star    { top: 22%; right: 10%; animation: doodleFloat 7s ease-in-out 1s infinite; }
.hero-doodle-book    { bottom: 30%; left: 5%; animation: doodleFloat 8s ease-in-out 0.5s infinite; }
.hero-doodle-plus    { top: 50%; right: 6%; animation: doodleFloat 5s ease-in-out 2s infinite; }
.hero-doodle-div     { bottom: 40%; right: 15%; animation: doodleFloat 6s ease-in-out 0.8s infinite; }

.hero-body {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.25rem 4rem;
}

.hero-logo {
  height: 64px;
  width: auto;
  margin: 0 auto 1rem;
  display: block;
  filter: brightness(0) invert(1);
  animation: bounceIn 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}

.hero-slogan {
  font-family: var(--font-handwritten);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.75rem;
  animation: bounceIn 0.7s cubic-bezier(0.34,1.56,0.64,1) both;
}

.hero-mascot {
  margin: 0 auto 1.5rem;
  animation: bounceIn 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.1s both;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4.5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  max-width: 900px;
  animation: slideUp 0.6s ease-out 0.15s both;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 520px;
  margin: 0 auto 2rem;
  animation: slideUp 0.6s ease-out 0.25s both;
}

/* Bulle personnage — intro Déblo en Nouchi */
.hero-bubble {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  text-align: left;
  backdrop-filter: blur(10px);
  animation: slideUp 0.6s ease-out 0.25s both;
}
.hero-bubble-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-bubble-content { flex: 1; }
.hero-bubble-greeting {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.3rem;
}
.hero-bubble-body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  margin: 0 0 0.45rem;
  line-height: 1.55;
}
.hero-bubble-punch {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fef08a;
  margin: 0;
  line-height: 1.5;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  animation: slideUp 0.6s ease-out 0.35s both;
}

.hero-cta-wrap {
  animation: slideUp 0.6s ease-out 0.45s both;
}

/* Wave separator bottom of hero */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  z-index: 10;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: auto; display: block; }

/* =====================================================
   SECTION 2 — C'est quoi Déblo ?
   ===================================================== */
.section-what { background: var(--white); }

.cards-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card-what {
  background: var(--slate-50);
  border-radius: var(--radius-2xl);
  padding: 2rem 1.75rem;
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-what:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-what.teal   { border-left-color: var(--teal); }
.card-what.indigo { border-left-color: var(--indigo); }

.card-what-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.card-what-icon.green  { background: rgba(34,197,94,0.12); }
.card-what-icon.teal   { background: rgba(20,184,166,0.12); }
.card-what-icon.indigo { background: rgba(99,102,241,0.12); }

.card-what h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--slate-800); }
.card-what p  { font-size: 0.95rem; color: var(--slate-500); line-height: 1.6; }

/* =====================================================
   SECTION 3 — Impact social
   ===================================================== */
.section-impact {
  background: linear-gradient(135deg, var(--green-dk), var(--teal));
  padding: 4rem 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item { color: var(--white); }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  opacity: 0;
}
.stat-number.popped { animation: counterPop 0.6s ease-out both; opacity: 1; }
.stat-label { font-size: 0.85rem; opacity: 0.8; margin-top: 0.35rem; }

.impact-quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  font-style: italic;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

/* =====================================================
   SECTION 4 — Pour les élèves
   ===================================================== */
.section-features { background: var(--white); }

.feature-block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .feature-block { flex-direction: row; }
  .feature-block.reverse { flex-direction: row-reverse; }
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 180px; height: 180px;
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  animation: blobMorph 10s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.feature-icon-wrap.green  { background: rgba(34,197,94,0.15); }
.feature-icon-wrap.teal   { background: rgba(20,184,166,0.15); }
.feature-icon-wrap.indigo { background: rgba(99,102,241,0.15); }

.feature-text { flex: 1; }
.feature-text .tagline {
  font-family: var(--font-handwritten);
  font-size: 1.25rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.feature-text h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--slate-800);
  margin-bottom: 0.75rem;
}
.feature-text p {
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}
.feature-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* =====================================================
   SECTION 5 — Marquee
   ===================================================== */
.section-marquee {
  background: var(--green);
  padding: 1.5rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  font-family: var(--font-handwritten);
  font-size: 1.5rem;
  color: var(--white);
}
.marquee-sep { margin: 0 1.25rem; opacity: 0.6; }

/* =====================================================
   SECTION 6 — Fait en Côte d'Ivoire
   ===================================================== */
.section-ivoire {
  background: var(--slate-800);
  position: relative;
}

.ivoire-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-2xl);
  padding: 3rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.ivoire-card .tagline {
  font-family: var(--font-handwritten);
  font-size: 1.5rem;
  color: var(--green-lt);
  margin-bottom: 0.5rem;
}
.ivoire-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 1.75rem;
}

.ivoire-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2.5rem;
  list-style: none;
}
@media (max-width: 480px) { .ivoire-list { grid-template-columns: 1fr; } }

.ivoire-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.07);
}
.ivoire-list li .check {
  color: var(--green-lt);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.payment-logos img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.payment-logos img:hover { opacity: 1; }

/* =====================================================
   SECTION 7 — Témoignages
   ===================================================== */
.section-testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--slate-50);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.25rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--green);
  opacity: 0.25;
  line-height: 1;
}

.testimonial-stars {
  display: flex; gap: 0.2rem;
  margin-bottom: 0.75rem;
  color: #f59e0b;
  font-size: 0.9rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }

.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--slate-800); }
.testimonial-role { font-size: 0.8rem; color: var(--slate-500); }

/* =====================================================
   SECTION 8 — CTA final
   ===================================================== */
.section-cta {
  background: linear-gradient(135deg, var(--green), var(--green-dk));
  position: relative;
  overflow: hidden;
}

.cta-doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-doodles span {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.15;
}
.cta-d1 { top: 15%; left: 8%;   animation: heartFloat 5s ease-in-out infinite; }
.cta-d2 { top: 25%; right: 10%; animation: heartFloat 6s ease-in-out 1s infinite; }
.cta-d3 { bottom: 20%; left: 15%; animation: heartFloat 7s ease-in-out 0.5s infinite; }
.cta-d4 { bottom: 30%; right: 12%; animation: heartFloat 5.5s ease-in-out 1.5s infinite; }

.cta-body {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cta-body .tagline {
  font-family: var(--font-handwritten);
  font-size: 1.75rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}
.cta-body h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-body p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--slate-900);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-logo { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-tagline {
  font-family: var(--font-handwritten);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-social { display: flex; gap: 1rem; align-items: center; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-payment-logos img {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: opacity 0.2s;
}
.footer-payment-logos img:hover { opacity: 0.7; }

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  width: 100%;
  text-align: center;
}

/* =====================================================
   WIDGET CHAT FLOTTANT
   ===================================================== */
.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 4px 20px rgba(34,197,94,0.45);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(34,197,94,0.55); }
.chat-fab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Overlay backdrop */
.chat-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(3px);
}
.chat-overlay.open { display: block; }

/* Panel */
.chat-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 100;
  width: 420px;
  height: 600px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
@media (max-width: 480px) {
  .chat-panel {
    bottom: 0; right: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 0;
  }
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--green);
  color: var(--white);
}
.chat-panel-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}
.chat-close-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.chat-close-btn:hover { background: rgba(255,255,255,0.3); }
.chat-close-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; }

.chat-iframe-wrap { flex: 1; background: var(--white); }
.chat-iframe-wrap iframe {
  width: 100%; height: 100%;
  border: none;
}

/* =====================================================
   Section heading helper
   ===================================================== */
.section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-heading .tagline {
  font-family: var(--font-handwritten);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.4rem;
}
.section-heading h2 { margin-bottom: 0.5rem; color: var(--slate-800); }
.section-heading p  { color: var(--slate-500); font-size: 0.975rem; }

/* =====================================================
   Mascot inline SVG wrapper
   ===================================================== */
.mascot-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mascot-wrap.bounce {
  animation: bounceIn 0.8s cubic-bezier(0.34,1.56,0.64,1) both;
}

/* =====================================================
   NAV LINKS (desktop)
   ===================================================== */
.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--white); }

/* =====================================================
   SECTION REALITY — Mission sociale
   ===================================================== */
.section-reality {
  background: linear-gradient(180deg, #ffffff 0%, #fff1f2 100%);
}

.reality-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .reality-grid { grid-template-columns: repeat(3, 1fr); } }

.reality-stat-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2rem 1.5rem;
  border-top: 4px solid #f43f5e;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.reality-stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.reality-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #f43f5e;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.reality-stat-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--slate-700);
  margin-bottom: 0.75rem;
}

.reality-stat-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.reality-quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--slate-700);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  font-style: italic;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(20,184,166,0.06));
  border-left: 4px solid var(--green);
}
.reality-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--green-dk);
  font-weight: 700;
  margin-top: 0.75rem;
}

/* =====================================================
   SECTION AUDIENCES — Pour chaque profil
   ===================================================== */
.section-audiences { background: var(--slate-50); }

.audience-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: repeat(4, 1fr); } }

.audience-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  border-top: 4px solid var(--green);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--slate-800);
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.audience-card.rose   { border-top-color: #f43f5e; }
.audience-card.sky    { border-top-color: #0ea5e9; }
.audience-card.indigo { border-top-color: var(--indigo); }

.audience-card-icon {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.25rem;
  color: currentColor;
}
.audience-card-icon svg { width: 32px; height: 32px; }

.audience-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 0;
}

.audience-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
}

.audience-card p {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.6;
  flex: 1;
}

.audience-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.audience-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-dk);
  margin-top: 0.5rem;
}
.audience-cta::after { content: ' →'; }

/* =====================================================
   SECTION PRO — Déblo Pro
   ===================================================== */
.section-pro {
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  color: var(--white);
}

.pro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.pro-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pro-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.pro-domains {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.pro-domain-tag {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  transition: background 0.2s, color 0.2s;
}
.pro-domain-tag:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.pro-cta-wrap {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* =====================================================
   SECTION PARRAINAGE
   ===================================================== */
.section-parrainage { background: var(--slate-50); }

.parrainage-card {
  background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(34,197,94,0.06));
  border: 2px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-2xl);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.parrainage-icon {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--orange);
}
.parrainage-icon svg { width: 48px; height: 48px; }

.parrainage-card .tagline {
  font-family: var(--font-handwritten);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.4rem;
}

.parrainage-card h2 { margin-bottom: 0.75rem; }

.parrainage-card p {
  color: var(--slate-500);
  margin-bottom: 1.5rem;
  font-size: 0.975rem;
}

.parrainage-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* =====================================================
   Responsive tweaks
   ===================================================== */
@media (max-width: 640px) {
  .hero-doodle-book, .hero-doodle-pencil, .hero-doodle-div { display: none; }
  .ivoire-card { padding: 2rem 1.25rem; }
  .ivoire-list { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .pro-stats { gap: 1.25rem; }
  .parrainage-card { padding: 2rem 1.25rem; }
  .pro-cta-wrap { flex-direction: column; align-items: center; }
}
