/* ========================================
   MY LITTLE JOURNEYS - Mobile Only CSS
   Container centré max 480px
   ======================================== */

/* Font Punchliner */
@font-face {
  font-family: 'Punchliner';
  src: url('fonts/Punchliner.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Variables */
:root {
  --orange: #FF8201;
  --orange-dark: #FF5101;
  --yellow: #FFB81F;
  --black: #2F1503;
  --white: #FFF7EF;
  --white-pure: #FFFFFF;
  --gray-bg: #F5F5F5;

  --font-display: 'Punchliner', 'Lexend', sans-serif;
  --font-body: 'Lexend', sans-serif;

  --radius-sm: 12px;
  --radius-md: 25px;
  --radius-lg: 43px;

  --shadow: 0 4px 8px rgba(47, 21, 3, 0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--gray-bg);
  color: var(--black);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* Container mobile centré */
.mobile-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background-color: var(--white);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ========================================
   BANNIÈRE URGENCE
   ======================================== */
.banner {
  background-color: var(--yellow);
  padding: 10px 20px;
  text-align: center;
  font-size: 12px;
}

.banner p {
  margin: 0;
}

.banner strong {
  font-weight: 700;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 99;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin: -10px;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

.logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: -40px 0;
}

.header-spacer {
  width: 42px;
}

/* ========================================
   BOUTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: transform 0.2s, opacity 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white-pure);
}

.btn-outline {
  background: transparent;
  color: var(--white-pure);
  border: 3px solid var(--white-pure);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-pattern {
  position: relative;
}

.pattern-bg {
  width: 100%;
  height: auto;
}

.hero-content {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 5;
}

.hero-book {
  width: 100%;
  position: relative;
  z-index: 5;
}

.hero-badge {
  position: absolute;
  top: -109px;
  left: 20px;
  width: 95px;
  z-index: 6;
}

.badge-stroke {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 105%;
  height: 105%;
  pointer-events: none;
}

.hero-cta-block {
  background: linear-gradient(118deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 80px 20px 40px;
  margin-top: -100px;
  text-align: center;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-title {
  position: relative;
  margin-bottom: 25px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  color: var(--white-pure);
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
}

.title-underline {
  width: 85px;
  margin-left: auto;
  margin-right: 20px;
  margin-top: -2px;
}

.hero-subtitle {
  margin-top: 15px;
  font-size: 14px;
  color: var(--white-pure);
  opacity: 0.9;
}

.scroll-arrow {
  position: absolute;
  bottom: 160px;
  left: 52px;
  width: 85px;
  z-index: 10;
}

/* ========================================
   SECTIONS COMMUNES
   ======================================== */
section {
  padding: 50px 20px;
}

section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.17;
}

.section-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--black);
  opacity: 0.8;
  margin-bottom: 25px;
}

/* ========================================
   SECTION CADEAU
   ======================================== */
.section-cadeau {
  text-align: center;
}

.cadeau-card {
  position: relative;
  margin: 25px auto;
  max-width: 320px;
  padding: 12px;
  border: 3px solid var(--orange);
  border-radius: var(--radius-md);
}

.cadeau-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: linear-gradient(139deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 18px;
  z-index: -1;
}

.exemple-img {
  border-radius: 12px;
  width: 100%;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFDAC0;
}

.dot.active {
  background: var(--orange);
}

/* ========================================
   SECTION STEPS
   ======================================== */
.section-steps {
  text-align: center;
}

.steps-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.steps-img {
  max-width: 180px;
}

.steps-labels {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.step-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

/* ========================================
   SECTION STORIES
   ======================================== */
.section-stories {
  background: linear-gradient(162deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 50px 20px 60px;
}

.stories-header {
  text-align: center;
  margin-bottom: 30px;
}

.stories-header h2 {
  color: var(--white);
  margin-bottom: 5px;
}

.stories-header p {
  color: var(--white);
  font-size: 13px;
  opacity: 0.9;
}

.stories-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.card-age {
  position: absolute;
  top: 0;
  left: 0;
  width: 75px;
  height: 75px;
  z-index: 2;
}

.age-star {
  width: 100%;
}

.age-num,
.age-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  color: var(--orange);
  font-weight: 600;
}

.age-num {
  top: 22px;
  font-size: 16px;
  letter-spacing: -1px;
}

.age-label {
  top: 38px;
  font-size: 12px;
}

.card-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 18px;
}

.card-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.card-tags span {
  font-size: 11px;
  font-weight: 500;
  color: var(--orange);
}

.card-content p {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 18px;
  color: var(--black);
  opacity: 0.8;
}

.card-content .btn {
  width: 100%;
  font-size: 14px;
  padding: 14px 20px;
}

/* ========================================
   SECTION FEATURES
   ======================================== */
.section-features {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding: 50px 20px;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.feature-icon.orange {
  background: var(--orange);
}

.feature-icon.yellow {
  background: var(--yellow);
}

.feature-icon.dark {
  background: var(--black);
}

.feature-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.8;
  max-width: 280px;
  margin: 0 auto;
}

/* ========================================
   SECTION REVIEWS
   ======================================== */
.section-reviews {
  padding: 50px 20px;
}

.section-reviews h2 {
  margin-bottom: 25px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review {
  padding: 18px;
  background: var(--white-pure);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.review-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars img {
  width: 12px;
  height: 12px;
}

.review-date {
  font-size: 10px;
  opacity: 0.6;
  margin-left: auto;
}

.review blockquote {
  font-size: 12px;
  line-height: 1.5;
  font-style: normal;
}

/* ========================================
   SECTION FAQ
   ======================================== */
.section-faq {
  padding: 50px 20px;
}

.section-faq h2 {
  margin-bottom: 25px;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(130deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white-pure);
  border-radius: var(--radius-sm);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 13px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 12px;
  height: 12px;
  position: relative;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--white-pure);
  border-radius: 2px;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 5px;
  left: 0;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  top: 0;
  left: 5px;
  transition: transform 0.3s;
}

.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
}

.faq-content {
  padding: 18px;
  font-size: 12px;
  line-height: 1.5;
  background: var(--white-pure);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  margin-top: -6px;
}

/* ========================================
   SECTION CTA FINAL
   ======================================== */
.section-cta-final {
  position: relative;
  padding: 0;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
}

.cta-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--orange) 45%,
    var(--orange-dark) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 35px 25px;
  text-align: center;
  width: 100%;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 12px;
  color: var(--white);
  margin-bottom: 25px;
  line-height: 1.5;
}

.cta-content .btn {
  width: 100%;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 50px 25px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-nav h4 {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 15px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 12px;
  opacity: 0.8;
}

.footer-logo {
  width: 90px;
  align-self: center;
}

/* ========================================
   NAVIGATION MOBILE FIXE
   ======================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: var(--white-pure);
  display: flex;
  justify-content: space-around;
  padding: 10px 10px 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  opacity: 0.7;
}

.nav-item.active {
  opacity: 1;
}

.nav-item img {
  width: 18px;
  height: 18px;
}

.cart-badge {
  width: 18px;
  height: 18px;
  background: var(--black);
  color: var(--white-pure);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
}

