/* =========================================================
   Budgetiz.fr → Monelio.fr — page de déménagement

   Réutilise les polices et jetons de couleur de Monelio, poussés
   en version « fête foraine » : plus de saturation, plus de mouvement,
   parce que cette page n'a qu'un seul message à faire passer et qu'on
   peut se permettre d'en faire des caisses (au sens propre).
   ========================================================= */

@font-face {
  font-family: 'Fredoka';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/fredoka-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fredoka';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/fredoka-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fredoka';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/fredoka-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/poppins-800.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --ink: #131B2C;
  --ink-soft: #37425A;
  --accent: #17509F;
  --accent-hover: #12408A;
  --accent-on: #FFFFFF;
  --gold: #F2C94C;
  --gold-text: #7A5300;
  --brown-text: #7E3F17;
  --card: #FFFCF6;
  --border: #E7DCC6;
  --focus: #0E2E63;
  --font-display: 'Fredoka', 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --shadow-card: 0 16px 34px -18px rgba(19, 27, 44, 0.4);
  --shadow-soft: 0 22px 46px -20px rgba(19, 27, 44, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: #FFF3DC;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.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;
}

/* ===== Ruban ===== */
.brand-ribbon {
  height: 8px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 26px,
    var(--gold) 26px 52px,
    #E4572E 52px 78px
  );
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 20px 0 70px;
  text-align: center;
  background:
    radial-gradient(60% 55% at 85% 0%, rgba(242, 201, 76, 0.55), transparent 60%),
    radial-gradient(55% 50% at 5% 15%, rgba(23, 80, 159, 0.22), transparent 60%),
    #FFF3DC;
  overflow: hidden;
}

.confetti {
  position: absolute;
  border-radius: 4px;
  opacity: 0.85;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--accent);
  padding: 9px 20px;
  border-radius: 999px;
  margin: 10px 0 22px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-card);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 11vw, 92px);
  line-height: 1;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-shadow:
    3px 3px 0 var(--gold),
    -2px -2px 0 rgba(255,255,255,0.6);
  transform: rotate(-1.4deg);
}

.hero-title .exclam { color: #E4572E; }

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 3vw, 26px);
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.4;
}

.hero-subtitle strong { color: var(--accent); }

.hero-visual {
  position: relative;
  margin: 10px auto 24px;
  max-width: 720px;
}

.hero-mascot {
  width: 100%;
  display: block;
  filter: drop-shadow(0 22px 26px rgba(19, 27, 44, 0.28));
  animation: bob 4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-box {
  position: absolute;
  z-index: 1;
  font-size: 40px;
  filter: drop-shadow(0 10px 12px rgba(19, 27, 44, 0.22));
}

.hero-box--3 { bottom: 6%; left: 2%; animation: bob2 4.4s ease-in-out infinite 1.2s; }
.hero-box--4 { top: 4%; right: 4%; font-size: 32px; animation: bob2 3.8s ease-in-out infinite 0.5s; }

@keyframes bob2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
}

/* ===== CTA ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.6vw, 24px);
  color: var(--accent-on);
  background: linear-gradient(135deg, #E4572E 0%, var(--accent) 100%);
  padding: 20px 40px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  border: 3px solid #FFFFFF;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 50px -18px rgba(19, 27, 44, 0.55);
}

.btn-cta .arrow { font-size: 1.15em; }

.hero-microcopy {
  margin: 18px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ===== Section explication ===== */
.story {
  padding: 70px 0 90px;
  background: var(--card);
  border-top: 6px dashed #E7C98C;
  border-bottom: 6px dashed #E7C98C;
}

.story-card {
  background: #FFFFFF;
  border: 2px solid var(--border);
  border-radius: 30px;
  padding: 44px 40px;
  box-shadow: var(--shadow-card);
  transform: rotate(0.6deg);
}

.story-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--ink);
  margin: 0 0 22px;
  text-align: center;
}

.story-title .acorn { display: inline-block; transform: translateY(2px); }

.story p {
  font-size: 17.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.story p:last-child { margin-bottom: 0; }

.story strong { color: var(--ink); }

.story .highlight {
  color: var(--accent);
  font-weight: 700;
}

.story-signoff {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--brown-text);
  text-align: center;
}

/* ===== CTA bas de page ===== */
.final-cta {
  padding: 80px 0 90px;
  text-align: center;
  background:
    radial-gradient(60% 60% at 20% 100%, rgba(242, 201, 76, 0.35), transparent 60%),
    radial-gradient(60% 60% at 90% 0%, rgba(23, 80, 159, 0.18), transparent 60%),
    #FFF3DC;
}

.final-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 34px);
  color: var(--ink);
  margin: 0 0 30px;
}

/* ===== Pied de page ===== */
.mini-footer {
  padding: 30px 0 40px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: #FFF3DC;
}

.mini-footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .story-card { padding: 32px 24px; }
  .hero-box { display: none; }
  .hero-visual { margin: 10px auto 20px; }
}
