/* ====== CHARTE SMATCHY ====== */
:root {
  --deep: #0A4A60;
  --darkest: #12333D;
  --mid: #1F4E5F;
  --orange: #FCA13B;
  --orange2: #F08A2E;
  --cream: #FDF6EC;
  --ice: #E2F6F6;
  --line: #EBDCC8;
  --grey: #5B7680;
  --white: #ffffff;
  --gutter: max(18px, env(safe-area-inset-left));
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--cream); }
body { min-height: 100vh; background: var(--cream); color: var(--darkest); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.fill { fill: currentColor; stroke: none; }

.page { max-width: 480px; margin: 0 auto; padding: 16px var(--gutter) 36px; display: flex; flex-direction: column; gap: 26px; }

/* En-tête : le seul bloc foncé */
.hero {
  background: radial-gradient(120% 80% at 50% 0%, #11607A 0%, var(--deep) 70%);
  color: var(--white); border-radius: 32px; padding: 30px 16px 16px;
  display: flex; flex-direction: column; gap: 22px;
}
.profile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.avatar { width: 88px; height: 88px; border-radius: 24px; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.profile h1 { font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; margin-top: 4px; }
.bio { font-size: .98rem; line-height: 1.5; color: var(--ice); font-size: clamp(.82rem, 3.6vw, .98rem); }
.bio .line { white-space: nowrap; }
.bio em { font-style: italic; font-weight: 900; color: var(--orange); }

.download { background: var(--orange); color: var(--darkest); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.dl-label { font-size: 1.1rem; font-weight: 900; text-align: center; }
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.store { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 16px; background: var(--darkest); color: var(--white); transition: transform .15s ease; }
.store svg { width: 22px; height: 22px; }
.store strong { font-size: .95rem; font-weight: 800; }
.store:hover { transform: translateY(-2px); }

/* Blocs */
.block, .rubrique { display: flex; flex-direction: column; gap: 12px; }
.rubrique { scroll-margin-top: 16px; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--deep); }
.rub-title { font-size: 1.45rem; font-weight: 900; letter-spacing: -.02em; }

/* Réseaux */
.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.social { min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 14px; border-radius: 22px; color: var(--white); transition: transform .15s ease, filter .15s ease; }
.social.wide { grid-column: span 2; }
.social svg { width: 28px; height: 28px; flex: none; }
.social .dot { fill: currentColor; stroke: none; }
.social span { display: flex; flex-direction: column; min-width: 0; }
.social strong { font-size: 1rem; font-weight: 800; }
.social small { font-size: .78rem; font-weight: 500; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social.ig { background: linear-gradient(135deg, var(--deep), var(--orange2) 75%, var(--orange)); }
.social.tt { background: var(--darkest); }
.social.yt { background: var(--orange); color: var(--darkest); }
.social.fb { background: var(--deep); }
.social.li { background: var(--white); color: var(--deep); border: 1.5px solid var(--line); }
.social:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* Rubriques */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 99px; background: var(--white); border: 1.5px solid var(--darkest); font-size: .85rem; font-weight: 700; }
.chip:hover { background: var(--darkest); color: var(--cream); }

.link {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 62px; padding: 10px 58px;
  border-radius: 99px; background: var(--white); color: var(--darkest); text-align: center; font-weight: 800; font-size: .95rem;
  box-shadow: 0 4px 14px rgba(18, 51, 61, .06); transition: transform .15s ease;
}
.link .ico { position: absolute; left: 8px; width: 46px; height: 46px; border-radius: 50%; background: var(--ice); color: var(--deep); display: grid; place-items: center; }
.link .ico svg { width: 22px; height: 22px; }
.link:hover { transform: translateY(-2px); }

.sports { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
.sports::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
.sports span { flex: none; padding: 9px 14px; border-radius: 99px; background: var(--ice); color: var(--deep); font-size: .82rem; font-weight: 700; }

/* Carrousels */
.arrows { display: flex; gap: 6px; flex: none; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--darkest); background: transparent; color: var(--darkest); display: grid; place-items: center; cursor: pointer; }
.arrow svg { width: 20px; height: 20px; }
.arrow:hover { background: var(--darkest); color: var(--cream); }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.story { flex: none; width: 70%; max-width: 280px; min-height: 180px; scroll-snap-align: start; border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.story .kind { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.story strong { font-size: 1.12rem; font-weight: 900; line-height: 1.15; flex: 1; }
.story .facts { font-size: .8rem; font-weight: 700; }
.story .read { font-size: .85rem; font-weight: 800; }
.story .read::after { content: " →"; }
.s-orange { background: var(--orange); color: var(--darkest); }
.s-deep { background: var(--deep); color: var(--white); }
.s-deep .kind { color: var(--orange); }
.s-ice { background: var(--ice); color: var(--darkest); }
.s-ice .kind { color: var(--deep); }
.s-white { background: var(--white); color: var(--darkest); border: 1.5px solid var(--line); }
.s-white .kind { color: var(--orange2); }
.story:hover { filter: brightness(1.03); }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots span { width: 7px; height: 7px; border-radius: 99px; background: #C9DBE0; transition: width .2s ease, background .2s ease; }
.dots span.on { width: 22px; background: var(--deep); }

.footer { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--grey); }
.foot-logo { height: 30px; width: auto; }
.foot-logo { filter: none; }

a:focus-visible, button:focus-visible, .carousel:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .link, .store, .social, .dots span { transition: none; }
  .link:hover, .store:hover, .social:hover { transform: none; }
}
