/* Kadyco.fr – feuille de style commune (remplace le CDN Tailwind) */
:root {
  --teal: #1F8A85;
  --teal-dark: #166B67;
  --teal-soft: #E3F1EF;
  --orange: #E8743B;
  --orange-ink: #C2551F;
  --orange-soft: #FFF1E8;
  --ink: #22313F;
  --ink-soft: #4F5D6B;
  --cream: #F8F6F1;
  --line: #ECE8E1;
  --phone: #14181C;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: Nunito, Roboto, sans-serif; color: var(--ink); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-header .logo img { height: 40px; width: auto; }
.main-nav { display: flex; gap: 28px; flex-grow: 1; font-weight: 500; font-size: 15px; }
.main-nav a { color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--teal); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-family: inherit; }
.btn-orange { background: var(--orange); color: #fff; padding: 12px 22px; font-size: 15px; }
.btn-orange:hover { background: #d4652f; color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: none; background: #F1EDE6; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; margin-left: auto; }

/* Héros */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 56px; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.pill { display: inline-block; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; margin: 0 0 18px; }
.hero h1 { margin: 0; font-weight: 900; font-size: 64px; line-height: 1.05; letter-spacing: -1px; }
.hero h1 span { color: var(--teal); }
.hero .lead { margin: 22px 0 0; font-size: 20px; line-height: 1.55; color: var(--ink-soft); max-width: 560px; }
.stores { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn { display: flex; align-items: center; gap: 12px; background: #141414; color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 14px; min-width: 200px; }
.store-btn:hover { background: #000; color: #fff; }
.store-btn small { display: block; font-size: 11px; line-height: 1.1; }
.store-btn strong { display: block; font-size: 19px; line-height: 1.15; }
.hero .note { margin: 18px 0 0; font-size: 14px; color: #5B6875; }
.hero-phone { flex: 0 1 360px; display: flex; justify-content: center; }
.phone { padding: 12px; background: var(--phone); border-radius: 44px; box-shadow: 0 30px 60px rgba(31, 138, 133, 0.25); width: 300px; }
.phone img { border-radius: 34px; width: 100%; height: auto; }

/* Bandeau enseignes */
.band { background: var(--teal); color: #fff; }
.band .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 18px; }
.band h2 { margin: 0; color: #fff; font-weight: 900; font-size: 34px; }
.band p { margin: 0; font-size: 17px; opacity: 0.92; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { background: rgba(255, 255, 255, 0.14); color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 999px; font-weight: 500; }
.chips a:hover { background: rgba(255, 255, 255, 0.26); color: #fff; }

/* Étapes */
.section { padding: 80px 0; }
.section-title { margin: 0 0 40px; font-weight: 900; font-size: 40px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: 24px; padding: 28px; }
.step-num { width: 48px; height: 48px; border-radius: 24px; background: var(--orange-soft); color: var(--orange-ink); font-family: Nunito, sans-serif; font-weight: 900; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.card h3 { margin: 18px 0 8px; font-size: 21px; font-weight: 800; }
.card p { margin: 0; color: var(--ink-soft); line-height: 1.55; }

/* Fonctionnalités */
.features { display: flex; flex-direction: column; gap: 72px; }
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.feature.reverse { flex-direction: row-reverse; }
.feature-img { flex: 0 1 300px; display: flex; justify-content: center; margin: 0 auto; }
.feature-img img { width: 270px; height: auto; border-radius: 30px; border: 10px solid var(--phone); }
.feature-text { flex: 1 1 480px; min-width: 0; }
.kicker { margin: 0; color: var(--orange-ink); font-weight: 700; letter-spacing: 1px; font-size: 14px; text-transform: uppercase; }
.feature h2 { margin: 10px 0 14px; font-weight: 900; font-size: 38px; line-height: 1.15; }
.feature p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; padding: 72px 24px; }
.faq details { background: #fff; border-radius: 16px; padding: 20px 24px; margin-bottom: 12px; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); line-height: 1.6; }

/* Appel final */
.cta { background: var(--orange); color: #fff; border-radius: 32px; padding: 56px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-bottom: 72px; }
.cta div { flex: 1 1 480px; min-width: 0; }
.cta h2 { margin: 0; color: #fff; font-weight: 900; font-size: 40px; line-height: 1.1; }
.cta p { margin: 14px 0 0; font-size: 18px; opacity: 0.95; }
.btn-white { background: #fff; color: var(--orange-ink); font-weight: 800; font-size: 18px; padding: 18px 30px; }
.btn-white:hover { color: var(--orange-ink); background: #FFF7F2; }

/* Pied de page */
.site-footer { background: var(--ink); color: #D7DEE4; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; font-size: 15px; }
.site-footer a { color: #D7DEE4; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand strong { font-family: Nunito, sans-serif; font-weight: 900; font-size: 22px; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px 24px; align-items: flex-start; }
.socials { display: flex; gap: 16px; }
.socials svg { width: 24px; height: 24px; fill: currentColor; }

/* Pages de texte (confidentialité, mentions légales) */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 40px; font-weight: 900; margin: 0 0 28px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 32px 0 8px; }
.legal p { color: var(--ink-soft); line-height: 1.65; margin: 0 0 12px; }
.legal .box { background: #fff; border-radius: 16px; padding: 20px 24px; margin-top: 24px; }

/* Mobile */
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .site-header .btn-orange { display: none; }
  .wrap { padding: 0 16px; }
  .hero .wrap { padding-top: 32px; padding-bottom: 32px; gap: 28px; }
  .hero h1 { font-size: 42px; }
  .hero .lead { font-size: 17px; }
  .stores { flex-direction: column; }
  .store-btn { justify-content: center; }
  .phone { width: 250px; padding: 10px; border-radius: 38px; }
  .phone img { border-radius: 29px; }
  .band h2 { font-size: 26px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 28px; margin-bottom: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .features { gap: 48px; }
  .feature, .feature.reverse { flex-direction: column; gap: 20px; text-align: center; }
  .feature h2 { font-size: 28px; }
  .feature p { font-size: 16px; }
  .feature-img img { width: 230px; }
  .cta { padding: 28px 20px; border-radius: 26px; }
  .cta h2 { font-size: 28px; }
  .cta .btn-white { width: 100%; }
  .legal h1 { font-size: 30px; }
}

/* Bloc collaboratif */
.collab { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 6px; }
.collab div { background: rgba(255, 255, 255, 0.12); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.collab strong { font-family: Nunito, sans-serif; font-weight: 800; font-size: 19px; color: #fff; }
.collab span { font-size: 15px; line-height: 1.5; opacity: 0.95; }
.band .band-note { font-size: 14px; opacity: 0.85; }
.caption { margin: 40px auto 0; max-width: 760px; text-align: center; font-size: 13px; color: #5B6875; }

/* Avertissement en pied de page */
.disclaimer { padding-top: 0 !important; padding-bottom: 32px !important; display: block !important; font-size: 13px; line-height: 1.55; color: #AEB8C1; }
.disclaimer p { margin: 0 0 6px; }

/* Bandeau cookies */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cookie-banner p { margin: 0; flex: 1 1 380px; font-size: 14px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn { min-width: 110px; height: 44px; border-radius: 999px; border: 2px solid var(--teal); background: #fff; color: var(--teal); font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit; }
.cookie-btn[data-choice="accept"] { background: var(--teal); color: #fff; }

@media (max-width: 860px) {
  .collab { grid-template-columns: minmax(0, 1fr); }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* Vidéo */
.video-section { padding-top: 64px; padding-bottom: 24px; }
.video-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.video-text { max-width: 640px; text-align: center; }
.video-text h2 { margin: 10px 0 14px; font-weight: 900; font-size: 38px; line-height: 1.15; }
.video-text p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.video-frame { width: 100%; max-width: 320px; margin: 0 auto; }
.video-frame video { width: 100%; max-width: 320px; height: auto; aspect-ratio: 9 / 16; border-radius: 28px; border: 10px solid var(--phone); background: var(--phone); display: block; margin: 0 auto; }

/* Réseaux sociaux */
.social-block { background: #fff; border-radius: 32px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-bottom: 8px; }
.social-intro { flex: 1 1 360px; min-width: 0; }
.social-intro h2 { margin: 8px 0 12px; font-weight: 900; font-size: 34px; }
.social-intro p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.social-cards { flex: 1 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.social-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px; background: var(--cream); color: var(--ink); text-decoration: none; border: 2px solid transparent; }
.social-card:hover { border-color: var(--teal); color: var(--ink); }
.social-card strong { font-size: 16px; }
.social-card span { font-size: 14px; color: var(--ink-soft); }
.social-card.fb { background: #1877F2; color: #fff; }
.social-card.fb span { color: rgba(255, 255, 255, 0.9); }
.social-card.fb:hover { color: #fff; border-color: #0b5fcc; }
.social-card.fb-page { background: #E7F0FD; }

@media (max-width: 860px) {
  .video-text { text-align: center; }
  .video-text h2 { font-size: 28px; }
  .social-block { padding: 24px 18px; border-radius: 26px; }
  .social-intro h2 { font-size: 26px; }
  .social-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Bandeau concours : affiché seulement quand /api/concours indique un concours en cours */
.contest-bar { background: var(--orange); color: #fff; font-size: 14px; line-height: 1.45; }
.contest-bar .wrap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: center; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.contest-bar strong { font-weight: 700; }
.contest-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
