/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #FF1A1A;
  --red-dark:  #E00000;
  --gold:      #FFE066;
  --cream:     #FFF8EC;
  --brown:     #3D2814;
  --muted:     #7A5A3E;
  --teal:      #2A9D8F;
  --amber:     #F4A261;
  --rose:      #D4547A;
  --white:     #FFFFFF;
  --radius:    16px;
  --shadow:    0 4px 24px rgba(61,40,20,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  font-size: 16px;
}

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

/* === UTILITIES === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 640px; }

.highlight {
  color: var(--red);
  position: relative;
}
.brand--title {
  font-family: 'Fredoka', 'Poppins', sans-serif;
  letter-spacing: -0.3px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,26,26,.35);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,26,26,.4);
}
.btn--ghost {
  background: transparent;
  color: var(--brown);
  border: 2px solid rgba(61,40,20,.25);
}
.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red);
}
.btn--nav {
  padding: 10px 22px;
  background: var(--red);
  color: var(--white);
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
}
.btn--nav:hover { background: var(--red-dark); }
.btn--large { padding: 16px 36px; font-size: 1.05rem; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,248,236,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61,40,20,.08);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.nav__name {
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--red);
  letter-spacing: -0.3px;
}
.footer__brand .brand {
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
}
.nav__links a:not(.btn--nav):hover { color: var(--red); }

/* === HERO === */
.hero {
  min-height: auto;
  background: linear-gradient(160deg, var(--gold) 0%, var(--cream) 55%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 60px;
  gap: 60px;
  flex-wrap: wrap;
}
.hero__content { flex: 1; min-width: 300px; max-width: 560px; }
.hero__badge {
  display: inline-block;
  background: rgba(255,224,102,.5);
  border: 1px solid rgba(244,162,97,.4);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 480px;
}

/* === PHONE MOCKUP === */
.hero__mockup {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding-top: 46px;
  align-self: stretch;
}
.phone {
  width: 360px;
  height: 100%;
  background: var(--brown);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 64px rgba(61,40,20,.25), 0 2px 8px rgba(61,40,20,.15);
  position: relative;
}
.phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 999px;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--gold) 0%, var(--cream) 100%);
  border-radius: 26px;
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.phone__form { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.phone__logo { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; margin-bottom: 2px; }
.phone__label { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.phone__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 600;
  border: 1.5px solid rgba(61,40,20,.18);
  color: var(--muted);
  background: transparent;
}
.chip--active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.phone__btn {
  margin-top: 8px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: .72rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: default;
  box-shadow: 0 4px 12px rgba(255,26,26,.3);
}

/* === SECTIONS === */
.section { padding: 96px 0; }
.section--alt { background: var(--white); }

.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section__sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 60px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* === STEPS === */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: .9rem;
  border-radius: 50%;
  margin-bottom: 12px;
}
.step__icon { font-size: 2.4rem; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--muted); }
.step__arrow {
  font-size: 1.8rem;
  color: rgba(61,40,20,.2);
  align-self: center;
  flex: 0 0 auto;
  padding-bottom: 40px;
}

/* === STYLE CARDS === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(61,40,20,.14); }
.card--pratique { border-top-color: var(--teal); }
.card--fun      { border-top-color: var(--amber); }
.card--emotionnel { border-top-color: var(--rose); }
.card__badge {
  display: inline-block;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 14px;
  margin-bottom: 16px;
  color: var(--white);
}
.badge--pratique   { background: var(--teal); }
.badge--fun        { background: var(--amber); }
.badge--emotionnel { background: var(--rose); }
.card__icon { font-size: 2.6rem; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: .9rem; color: var(--muted); }

/* === FEATURES === */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature__icon {
  font-size: 2rem;
  flex: 0 0 auto;
  margin-top: 2px;
}
.feature strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 1rem;
}
.feature p { font-size: .9rem; color: var(--muted); }

/* === CTA SECTION === */
.section--cta {
  background: linear-gradient(160deg, var(--gold) 0%, var(--cream) 100%);
  text-align: center;
  padding: 96px 24px;
}
.cta__logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  margin: 0 auto 24px;
  background: var(--white);
  padding: 8px;
  box-shadow: 0 8px 24px rgba(61,40,20,.25), 0 0 0 1px rgba(61,40,20,.08);
}
.cta__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta__sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.8;
}
.cta__note {
  margin-top: 20px;
  font-size: .8rem;
  color: var(--muted);
  opacity: .7;
}

/* === STORE BUTTONS === */
.store-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
  min-width: 200px;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: currentColor;
}
.store-btn span { text-align: left; }
.store-btn small { display: block; font-size: .7rem; font-weight: 400; opacity: .75; }
.store-btn--google {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(61,40,20,.3);
}
.store-btn--google:hover { box-shadow: 0 6px 24px rgba(61,40,20,.4); }
.store-btn--apple {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(61,40,20,.3);
}
.store-btn--apple:hover { box-shadow: 0 6px 24px rgba(61,40,20,.4); }
.store-btn--web {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(61,40,20,.3);
}
.store-btn--web:hover { box-shadow: 0 6px 24px rgba(61,40,20,.4); }

/* === FOOTER === */
.footer {
  background: var(--brown);
  color: rgba(255,248,236,.7);
  padding: 48px 0;
  font-size: .88rem;
  border-top: 1px solid rgba(255,248,236,.08);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 700;
  font-size: 1rem;
}
.footer__logo { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a { opacity: .7; transition: opacity .15s; }
.footer__links a:hover { opacity: 1; }
.footer__copy { opacity: .4; font-size: .8rem; }

/* === FOOTER KEYWORDS === */
.footer__keywords {
  border-bottom: 1px solid rgba(255,248,236,.1);
  padding-bottom: 36px;
  margin-bottom: 36px;
}
.footer__keywords h3 {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .5;
  margin-bottom: 24px;
}
.footer__keywords-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__keywords-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer__col-title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,248,236,.35);
  margin-bottom: 14px;
}
.footer__keywords-col a {
  display: block;
  font-size: .78rem;
  font-weight: 400;
  opacity: .55;
  line-height: 2.0;
  transition: opacity .15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer__keywords-col a:hover {
  opacity: .9;
}

/* === FAQ === */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq__item summary {
  padding: 20px 28px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--red);
  flex: 0 0 auto;
  transition: transform .2s;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__item p {
  padding: 0 28px 20px;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* === PROBLEM / SOLUTION === */
.section--problem { background: var(--white); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.problem__title, .solution__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 28px;
}
.problem__title { color: var(--muted); }
.solution__title { color: var(--red); }
.problem__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.problem__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.problem__icon {
  font-size: 1.6rem;
  flex: 0 0 auto;
  margin-top: 2px;
}
.problem__list p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.6;
}
.solution__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* === OCCASIONS === */
.occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.occasion {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--cream);
  border: 1.5px solid rgba(61,40,20,.1);
  font-size: .92rem;
  font-weight: 600;
  color: var(--brown);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.occasion:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(61,40,20,.1);
  border-color: var(--red);
}

/* === STEP ARROW SVG === */
.step__arrow svg {
  color: rgba(61,40,20,.2);
}

/* === CONVERSION OPTIMIZATIONS === */
.hero__slogan {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 16px;
}

.hero__reassurance {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.reassurance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(42,157,143,.1);
  color: var(--teal);
  border-radius: 20px;
  font-weight: 600;
  font-size: .9rem;
}

.hero__cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  width: fit-content;
}
.hero__cta {
  display: flex;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,26,26,.35);
  font-size: 1.05rem;
  padding: 16px 36px;
  text-align: center;
}
.hero__cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,26,26,.4);
}
.hero__cta-wrap .store-btns {
  flex-wrap: nowrap;
  gap: 10px;
}
.hero__cta-wrap .store-btn {
  flex: 1;
  min-width: 0;
  justify-content: center;
  padding: 12px 16px;
  font-size: .9rem;
}

.phone__results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
}
.phone__app-title {
  font-family: 'Fredoka', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--red);
  margin-top: -8px;
}
.phone__subtitle {
  font-size: .55rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.phone__result-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(61,40,20,.06);
}
.phone__style-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .5rem;
  font-weight: 700;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 8px;
}
.phone__style-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.phone__style-badge--pratique {
  color: var(--teal);
  background: rgba(42,157,143,.15);
  border: 1px solid var(--teal);
}
.phone__style-badge--pratique .phone__style-dot { background: var(--teal); }
.phone__style-badge--fun {
  color: var(--amber);
  background: rgba(244,162,97,.15);
  border: 1px solid var(--amber);
}
.phone__style-badge--fun .phone__style-dot { background: var(--amber); }
.phone__style-badge--emotionnel {
  color: var(--rose);
  background: rgba(212,84,122,.15);
  border: 1px solid var(--rose);
}
.phone__style-badge--emotionnel .phone__style-dot { background: var(--rose); }
.phone__result-title {
  font-size: .7rem;
  font-weight: 700;
  color: var(--brown);
}
.phone__result-desc {
  font-size: .55rem;
  color: var(--muted);
  line-height: 1.3;
}
.phone__card-btn {
  margin-top: 4px;
  width: 100%;
  padding: 5px;
  border: none;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-size: .55rem;
  font-weight: 600;
  cursor: default;
}
.phone__btn-outline {
  width: 100%;
  padding: 7px;
  border: 2px solid var(--red);
  border-radius: 10px;
  background: transparent;
  color: var(--red);
  font-size: .6rem;
  font-weight: 700;
  cursor: default;
  margin-top: 4px;
}
.phone__btn-text {
  border: none;
  background: none;
  color: var(--muted);
  font-size: .55rem;
  font-weight: 500;
  cursor: default;
}

.btn--outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn--outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.steps__cta {
  text-align: center;
  margin-top: 32px;
}

.card__example {
  margin-top: 12px;
  font-size: .85rem;
  font-style: italic;
  color: var(--muted);
}

.social-proof {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.social-proof__item {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
}

.occasion small {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 4px;
}

.faq__cta {
  text-align: center;
  margin-top: 32px;
}


/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 60px 24px 48px; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero .store-btns { justify-content: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__reassurance { justify-content: center; }
  .hero__cta-wrap { width: 100%; }
  .hero__cta-wrap .store-btns { flex-wrap: wrap; }
  .hero__cta-wrap .store-btn { flex: unset; min-width: 200px; }
  .social-proof { flex-direction: column; align-items: center; gap: 12px; }
  .nav__links { display: none; }
  .step__arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .footer__keywords-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__keywords-col a { white-space: normal; }
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
}
