/* Fish Haven — landing page. Valeurs issues du design system (project/tokens). */
:root {
  --fh-encre: #082F49;
  --fh-encre-survol: #0E4466;
  --fh-havre: #087E8B;
  --fh-eau-claire: #DDF1F0;
  --fh-ecume: #F7F8F5;
  --fh-ardoise: #64747B;
  --fh-signal: #E8A23A;
  --fh-blanc: #FFFFFF;
  --fh-surface-terre: #F4F5F0;
  --fh-surface-mer: #D6EBEA;
  --fh-encre-07: rgba(8, 47, 73, .07);
  --fh-encre-08: rgba(8, 47, 73, .08);
  --fh-encre-10: rgba(8, 47, 73, .10);
  --fh-encre-15: rgba(8, 47, 73, .15);
  --fh-signal-16: rgba(232, 162, 58, .16);
  --fh-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Roboto, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--fh-ecume);
  color: var(--fh-encre);
  font-family: var(--fh-font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fh-havre); }
a:hover { color: var(--fh-encre); }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }

.container { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  align-items: center;
}
.stack { display: flex; flex-direction: column; }
.band { background: var(--fh-blanc); border-top: 1px solid var(--fh-encre-08); border-bottom: 1px solid var(--fh-encre-08); }

/* Typographie */
.eyebrow { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fh-ardoise); }
.label { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fh-ardoise); }
.h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -.3px; text-wrap: balance; }
.lead { font-size: 17px; line-height: 26px; text-wrap: pretty; }
.h3 { font-size: 20px; line-height: 26px; font-weight: 600; }
.muted { font-size: 15px; line-height: 22px; color: var(--fh-ardoise); text-wrap: pretty; }

/* Boutons */
.btn {
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap; text-decoration: none; font-weight: 600;
  border-radius: 12px; min-height: 48px; padding: 0 24px;
  font-size: 17px; line-height: 24px;
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; line-height: 20px; }
.btn--primary { background: var(--fh-encre); color: var(--fh-ecume); }
.btn--primary:hover { background: var(--fh-encre-survol); color: var(--fh-ecume); }
.btn--secondary { border: 1.5px solid var(--fh-encre); color: var(--fh-encre); }
.btn--secondary:hover { background: var(--fh-eau-claire); color: var(--fh-encre); }
.btn--inverse { background: var(--fh-ecume); color: var(--fh-encre); }
.btn--inverse:hover { background: var(--fh-eau-claire); color: var(--fh-encre); }
.btn:focus-visible, .nav-link:focus-visible, .faq-q:focus-visible, .vis-option:focus-visible, .store:focus-visible {
  outline: 2px solid var(--fh-havre); outline-offset: 2px;
}

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 248, 245, .96);
  border-bottom: 1px solid var(--fh-encre-10);
}
.site-header__inner { padding-top: 12px; padding-bottom: 12px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: var(--fh-encre); }
.brand:hover { color: var(--fh-encre); }
.brand img { width: 36px; height: 36px; flex: none; }
.brand span { font-size: 17px; line-height: 24px; font-weight: 600; white-space: nowrap; }
.site-nav {
  flex: 1; min-width: 0; max-width: max-content; margin-left: auto;
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
}
.nav-link {
  padding: 8px 12px; border-radius: 8px; text-decoration: none; white-space: nowrap;
  font-size: 15px; line-height: 20px; font-weight: 500; color: var(--fh-ardoise);
}
.nav-link:hover { color: var(--fh-encre); }
.nav-link.is-active { background: var(--fh-eau-claire); color: var(--fh-encre); }
.site-header .btn { flex: none; }
@media (max-width: 1079.98px) {
  .site-nav { display: none; }
  .site-header .btn { margin-left: auto; }
}

/* Accueil */
.hero { padding-top: 64px; padding-bottom: 80px; }
.hero__text { gap: 24px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -.8px; text-wrap: balance; }
.hero__intro { max-width: 520px; font-size: 19px; line-height: 28px; text-wrap: pretty; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 8px; }
.hero__facts div { display: flex; flex-direction: column; gap: 2px; }
.hero__facts strong { font-size: 20px; line-height: 26px; font-weight: 600; }
.hero__facts span { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--fh-ardoise); }

/* Maquette téléphone : écran 402×874 réduit à 282 px de large */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 302px; height: 648px; flex: none; border-radius: 44px; padding: 10px;
  background: #1A1A1C; box-shadow: 0 12px 40px rgba(8, 47, 73, .22);
}
.phone__screen { width: 282px; height: 628px; border-radius: 36px; overflow: hidden; position: relative; background: var(--fh-surface-mer); }
.phone__canvas { width: 402px; height: 874px; transform: scale(.7015); transform-origin: top left; position: absolute; left: 0; top: 0; }
.phone__canvas > * { position: absolute; }
.map-bg { inset: 0; }
.map-label { font-weight: 600; text-transform: uppercase; }
.map-label--town { left: 150px; top: 214px; font-size: 11px; line-height: 14px; letter-spacing: .14em; color: var(--fh-encre); opacity: .6; }
.map-label--bay { left: 24px; top: 568px; font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: .16em; color: var(--fh-havre); opacity: .75; }
.map-search {
  left: 20px; right: 20px; top: 58px; min-height: 44px; padding: 0 12px;
  display: flex; align-items: center; gap: 8px;
  background: var(--fh-ecume); border-radius: 12px; box-shadow: 0 1px 4px rgba(8, 47, 73, .12);
  font-size: 17px; line-height: 24px; color: var(--fh-ardoise);
}
.weather-pin {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px;
  background: var(--fh-ecume); border-radius: 12px; box-shadow: 0 2px 8px rgba(8, 47, 73, .16);
}
.weather-pin div { display: flex; flex-direction: column; }
.weather-pin strong { font-size: 15px; line-height: 20px; font-weight: 600; }
.weather-pin span { font-size: 11px; line-height: 14px; font-weight: 600; color: var(--fh-ardoise); }
.spot-marker { left: 212px; top: 500px; width: 64px; height: 64px; filter: drop-shadow(0 2px 4px rgba(8, 47, 73, .25)); }
.sheet {
  left: 0; right: 0; bottom: 0; padding: 12px 20px 44px;
  background: var(--fh-ecume); border-radius: 24px 24px 0 0; box-shadow: 0 -2px 12px rgba(8, 47, 73, .1);
}
.sheet__grip { width: 40px; height: 4px; border-radius: 50px; background: rgba(8, 47, 73, .2); margin: 0 auto 16px; }
.sheet__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sheet__head strong { font-size: 20px; line-height: 26px; font-weight: 600; }
.badge { padding: 4px 8px; border-radius: 8px; background: var(--fh-eau-claire); color: var(--fh-encre); font-size: 11px; line-height: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sheet__tiles { display: flex; gap: 8px; }
.tile { flex: 1; padding: 12px; border-radius: 12px; background: var(--fh-eau-claire); display: flex; flex-direction: column; gap: 4px; }
.tile__value { font-size: 17px; line-height: 24px; font-weight: 600; }
.tile__sub { font-size: 13px; line-height: 18px; color: var(--fh-ardoise); }

/* Fonctionnalités */
.features { padding-top: 80px; padding-bottom: 80px; gap: 40px; }
.section-head { gap: 12px; max-width: 680px; }
.section-head--wide { max-width: 720px; }
.card-grid { display: grid; gap: 16px; }
.card-grid--240 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card-grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature-card { background: var(--fh-ecume); border: 1px solid var(--fh-encre-10); border-radius: 16px; padding: 24px; gap: 12px; }
.feature-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--fh-eau-claire); display: flex; align-items: center; justify-content: center; }

/* Météo */
.section-pad { padding-top: 80px; padding-bottom: 80px; }
.gap-16 { gap: 16px; }
.conditions { gap: 12px; background: var(--fh-blanc); border: 1px solid var(--fh-encre-10); border-radius: 16px; padding: 24px; }
.conditions__spot { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.2px; }
.conditions__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 4px; }
.conditions__tiles .tile__value { display: flex; align-items: center; gap: 6px; }
.alert { display: flex; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--fh-signal-16); font-size: 13px; line-height: 18px; font-weight: 500; }

/* Vos spots */
.spots { background: var(--fh-encre); color: var(--fh-ecume); }
.spots .eyebrow { color: var(--fh-eau-claire); }
.vis-panel { gap: 8px; background: var(--fh-ecume); color: var(--fh-encre); border-radius: 16px; padding: 20px; }
.vis-option {
  display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 60px; cursor: pointer;
  border-radius: 12px; background: var(--fh-blanc); border: 1px solid var(--fh-encre-15);
}
.vis-option[aria-checked="true"] { background: var(--fh-eau-claire); border: 1.5px solid var(--fh-havre); }
.vis-option__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vis-option__text strong { font-size: 17px; line-height: 24px; font-weight: 600; }
.vis-option__text span { font-size: 13px; line-height: 18px; color: var(--fh-ardoise); }
.radio { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid rgba(8, 47, 73, .25); }
.vis-option[aria-checked="true"] .radio { border: 0; background: var(--fh-havre); box-shadow: inset 0 0 0 7px var(--fh-havre), inset 0 0 0 11px var(--fh-ecume); }

/* Android et iPhone */
.platforms { gap: 32px; }
.plain-card { background: var(--fh-blanc); border: 1px solid var(--fh-encre-10); border-radius: 16px; padding: 24px; gap: 8px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; padding: 80px 20px; gap: 24px; }
.faq__list { border: 1px solid var(--fh-encre-10); border-radius: 16px; overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--fh-encre-07); background: var(--fh-blanc); }
.faq__item h3 { font-size: 17px; line-height: 24px; font-weight: 600; }
.faq-q {
  width: 100%; border: 0; background: transparent; padding: 18px 20px; min-height: 60px;
  display: flex; align-items: center; gap: 16px; text-align: left; cursor: pointer;
  font: inherit; color: var(--fh-encre);
}
.faq-q:hover { background: var(--fh-ecume); }
.faq-q span { flex: 1; }
.faq-q svg { flex: none; transition: transform .18s ease; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__a { padding: 0 20px 20px; font-size: 15px; line-height: 22px; color: var(--fh-ardoise); text-wrap: pretty; }

/* Offres */
.offers { padding-top: 80px; gap: 32px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: stretch; }
.plan { border-radius: 16px; padding: 28px; gap: 20px; }
.plan--free { background: var(--fh-blanc); border: 1px solid var(--fh-encre-10); }
.plan--premium { background: var(--fh-encre); color: var(--fh-ecume); }
.plan__head { gap: 4px; }
.plan__name { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.2px; }
.plan__tagline { font-size: 15px; line-height: 20px; color: var(--fh-ardoise); }
.plan--premium .plan__tagline { color: var(--fh-eau-claire); }
.plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 24px; }
.plan__list svg { flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; padding: 0; }

/* Télécharger */
.download { padding-top: 96px; padding-bottom: 96px; }
.download__box {
  background: var(--fh-eau-claire); border-radius: 24px;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px);
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.download__box .h2 { max-width: 640px; }
.download__box .lead { max-width: 560px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.store {
  min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 12px;
}
.store:hover { color: #fff; }
.store__text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.store__text small { font-size: 11px; line-height: 14px; }
.store__text strong { font-size: 20px; line-height: 24px; font-weight: 600; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--fh-encre-10); }
.site-footer__inner { padding-top: 32px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; }
.site-footer__brand img { width: 28px; height: 28px; flex: none; }
.site-footer__brand strong { font-size: 15px; line-height: 20px; font-weight: 600; }
.site-footer__brand span { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--fh-ardoise); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { font-size: 15px; line-height: 20px; font-weight: 500; color: var(--fh-ardoise); text-decoration: none; }
.site-footer nav a:hover { color: var(--fh-encre); }
.site-footer nav a.privacy { color: var(--fh-havre); text-decoration: underline; }

/* Page légale (politique de confidentialité) */
.legal { max-width: 800px; margin: 0 auto; padding: 64px 20px 96px; gap: 40px; }
.legal__head { gap: 12px; }
.legal__head h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.6px; text-wrap: balance; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--fh-havre); text-decoration: none; }
.legal__back:hover { color: var(--fh-encre); }
.toc { background: var(--fh-blanc); border: 1px solid var(--fh-encre-10); border-radius: 16px; padding: 20px 24px; gap: 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: block; padding: 6px 12px; border-radius: 8px; background: var(--fh-eau-claire); color: var(--fh-encre); text-decoration: none; font-size: 15px; line-height: 20px; font-weight: 500; }
.toc a:hover { background: var(--fh-encre); color: var(--fh-ecume); }
.legal-section { gap: 16px; padding-top: 32px; border-top: 1px solid var(--fh-encre-10); }
.legal-section h2 { font-size: clamp(22px, 2.8vw, 28px); line-height: 1.25; font-weight: 600; letter-spacing: -.2px; }
.legal-section p, .legal-section li { font-size: 17px; line-height: 26px; text-wrap: pretty; }
.legal-section strong { font-weight: 600; }
.legal-section ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.legal-section ul li { position: relative; padding-left: 22px; }
.legal-section ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--fh-havre); }
.legal__date { font-size: 15px; line-height: 20px; color: var(--fh-ardoise); }
.legal-section h3 { font-size: 20px; line-height: 26px; font-weight: 600; margin-top: 8px; }
.bref { gap: 12px; padding: 24px; border-radius: 16px; background: var(--fh-eau-claire); }
.bref h2 { font-size: 20px; line-height: 26px; font-weight: 600; }
.bref ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bref li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 24px; }
.bref svg { flex: none; margin-top: 2px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--fh-encre-10); border-radius: 16px; background: var(--fh-blanc); }
.table-wrap table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.table-wrap th { text-align: left; padding: 12px 16px; background: var(--fh-eau-claire); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fh-encre); }
.table-wrap td { padding: 14px 16px; border-top: 1px solid var(--fh-encre-07); vertical-align: top; }
.table-wrap td:first-child { font-weight: 600; }
.lieux { display: flex; flex-wrap: wrap; gap: 6px; }
.lieu { display: inline-block; padding: 2px 8px; border-radius: 8px; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; vertical-align: 1px; }
.lieu--tel { background: var(--fh-eau-claire); color: var(--fh-encre); }
.lieu--srv { background: var(--fh-encre); color: var(--fh-ecume); }
.contact-card { gap: 4px; padding: 20px 24px; border-radius: 16px; background: var(--fh-blanc); border: 1px solid var(--fh-encre-10); font-size: 15px; line-height: 20px; color: var(--fh-ardoise); }
.contact-card a { font-size: 20px; line-height: 26px; font-weight: 600; color: var(--fh-havre); }
.contact-box { gap: 8px; padding: 24px; border-radius: 16px; background: var(--fh-encre); color: var(--fh-ecume); }
.contact-box p { font-size: 15px; line-height: 22px; }
.contact-box a { color: var(--fh-eau-claire); font-weight: 600; }
.contact-box a:hover { color: var(--fh-ecume); }
.site-footer nav a[aria-current="page"] { color: var(--fh-encre); font-weight: 600; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-q svg { transition: none; }
}
