/* Site Fisherman Spin : mêmes couleurs et même police que l'application (src/app/globals.css). La police est
   hébergée avec le site (fonts/) : aucune visite n'est transmise à un autre serveur. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --fond: #ffffff;
  --fond-doux: #f4f8f8;
  --texte: #171717;
  --texte-doux: #525b5b;
  --accent: #0f766e;
  --accent-texte: #ffffff;
  --accent-doux: #e3f1ef;
  --bord: #e3e8e8;
  --a-completer: #fff4c2;
  --ombre: 0 18px 50px -24px rgba(15, 118, 110, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0b0e0f;
    --fond-doux: #11171a;
    --texte: #e8eaea;
    --texte-doux: #9aa4a5;
    --accent: #2dd4bf;
    --accent-texte: #042f2e;
    --accent-doux: #12302d;
    --bord: #1f2a2c;
    --a-completer: #4a3d0a;
    --ombre: 0 18px 50px -24px rgba(45, 212, 191, 0.25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: "Geist", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img, svg { display: block; }
.conteneur { width: min(1100px, 100% - 32px); margin-inline: auto; }
.etroit { width: min(760px, 100% - 32px); margin-inline: auto; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--bord); }
.entete .conteneur { display: flex; align-items: center; gap: 16px; height: 64px; }
.marque { display: flex; align-items: center; gap: 10px; color: var(--texte); text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.marque .pastille { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--accent-texte); }
.marque b { color: var(--accent); font-weight: 650; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.menu a { color: var(--texte-doux); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 8px; }
.menu a:hover { color: var(--texte); background: var(--fond-doux); }
@media (max-width: 640px) { .menu .secondaire { display: none; } }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, opacity 0.15s; }
.bouton:hover { transform: translateY(-1px); }
.bouton.plein { background: var(--accent); color: var(--accent-texte); }
.bouton.contour { border-color: var(--bord); color: var(--texte); background: var(--fond); }
.menu .bouton { padding: 8px 14px; font-size: 14px; color: var(--accent-texte); }
.menu .bouton:hover { background: var(--accent); color: var(--accent-texte); }

/* Accueil */
.heros { position: relative; overflow: hidden; padding: 88px 0 72px; background: radial-gradient(ellipse 60% 70% at 70% 0%, var(--accent-doux), transparent 70%); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: var(--accent-doux); color: var(--accent); font-size: 13px; font-weight: 500; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.035em; margin: 20px 0 16px; max-width: 14ch; }
h1 em { font-style: normal; color: var(--accent); }
.chapeau { font-size: 19px; color: var(--texte-doux); max-width: 60ch; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.petit { font-size: 13px; color: var(--texte-doux); }
.heros .petit { margin-top: 14px; }

section { padding: 72px 0; }
section.doux { background: var(--fond-doux); }
h2 { font-size: clamp(26px, 3.5vw, 36px); letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 12px; }
.intro { color: var(--texte-doux); max-width: 62ch; margin: 0 0 36px; font-size: 17px; }

.grille { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.carte { border: 1px solid var(--bord); border-radius: 16px; padding: 24px; background: var(--fond); }
.carte .icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-doux); color: var(--accent); margin-bottom: 16px; }
.carte h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.carte p { margin: 0; color: var(--texte-doux); font-size: 15px; }

.confiance { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.confiance div { border-left: 3px solid var(--accent); padding-left: 16px; }
.confiance b { display: block; font-size: 17px; margin-bottom: 4px; }
.confiance span { color: var(--texte-doux); font-size: 15px; }

/* Tarifs */
.durees { display: inline-flex; padding: 4px; border: 1px solid var(--bord); border-radius: 12px; background: var(--fond); margin-bottom: 24px; }
.durees button { border: 0; background: transparent; color: var(--texte-doux); font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 9px; cursor: pointer; }
.durees button[aria-pressed="true"] { background: var(--accent-doux); color: var(--accent); font-weight: 600; }
.formules { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.formule { display: flex; flex-direction: column; border: 1px solid var(--bord); border-radius: 18px; padding: 28px; background: var(--fond); }
.formule.vedette { border: 2px solid var(--accent); box-shadow: var(--ombre); position: relative; }
.formule.vedette::before { content: "Le plus complet"; position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-texte); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.formule h3 { margin: 0; font-size: 20px; }
.prix { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.periode { color: var(--texte-doux); font-size: 14px; min-height: 22px; }
.formule ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; flex: 1; }
.formule li { display: flex; gap: 10px; font-size: 15px; }
.formule li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.formule li.non { color: var(--texte-doux); }
.formule li.non::before { content: "–"; color: var(--texte-doux); }
.jetons { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; padding: 18px 24px; border: 1px dashed var(--bord); border-radius: 14px; }
.jetons b { font-variant-numeric: tabular-nums; }

/* Questions */
details { border-bottom: 1px solid var(--bord); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--texte-doux); margin: 10px 0 0; }

/* Pages de texte (CGV, mentions, confidentialité) */
.texte { padding: 56px 0 80px; }
.texte h1 { max-width: none; font-size: clamp(30px, 5vw, 44px); }
.texte h2 { font-size: 22px; margin-top: 40px; }
.texte p, .texte li { color: var(--texte); }
.texte table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.texte th, .texte td { border: 1px solid var(--bord); padding: 10px 12px; text-align: left; vertical-align: top; }
.texte th { background: var(--fond-doux); }
.a-completer { background: var(--a-completer); padding: 1px 6px; border-radius: 4px; }
.maj { color: var(--texte-doux); font-size: 14px; }

/* Téléchargement et retour de paiement */
.centre { text-align: center; }
.centre .intro { margin-inline: auto; }
.etapes { counter-reset: etape; list-style: none; padding: 0; display: grid; gap: 14px; text-align: left; }
.etapes li { counter-increment: etape; display: flex; gap: 14px; align-items: flex-start; }
.etapes li::before { content: counter(etape); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-doux); color: var(--accent); font-weight: 700; font-size: 14px; }
.encart { border: 1px solid var(--bord); border-radius: 14px; padding: 18px 22px; background: var(--fond-doux); text-align: left; }
.resultat .icone { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-doux); color: var(--accent); font-size: 30px; font-weight: 700; }

/* Pied de page */
.pied { border-top: 1px solid var(--bord); padding: 40px 0; font-size: 14px; color: var(--texte-doux); }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pied a { color: var(--texte-doux); text-decoration: none; }
.pied a:hover { color: var(--texte); }
.responsable { width: 100%; padding-top: 16px; border-top: 1px solid var(--bord); }
