/* pofclimb.com : même direction que l'app (maquettes Figma, page « 10 Site »). */
@font-face {
  font-family: "Funnel Display";
  src: url("fonts/FunnelDisplay-Variable.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Funnel Sans";
  src: url("fonts/FunnelSans-Variable.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --noir: #0b0c0a;
  --encre: #151614;
  --lichen: #d9f05e;
  --papier: #f4f4ef;
  --gris: #1e201c;
  --rayon: 40px;
  --marge: 80px;
  --ecart: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0 var(--ecart) var(--ecart);
  background: var(--noir);
  color: var(--encre);
  font-family: "Funnel Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--lichen); outline-offset: 3px; border-radius: 6px; }

.titre {
  font-family: "Funnel Display", system-ui, sans-serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0;
}
.titre-geant { font-size: clamp(56px, 8.9vw, 128px); }
.titre-grand { font-size: clamp(42px, 6.1vw, 88px); }
.titre-moyen { font-size: clamp(36px, 5vw, 72px); }

/* En-tête */
.entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  padding: 0 40px;
}
.entete .logo img { height: 40px; width: auto; }
.entete nav { display: flex; gap: 36px; }
.entete nav a { color: var(--papier); text-decoration: none; font-size: 17px; }
.entete nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

main { display: flex; flex-direction: column; gap: var(--ecart); }

.carte {
  border-radius: var(--rayon);
  padding: 96px var(--marge) 112px;
  overflow: hidden;
  position: relative;
}
.lichen { background: var(--lichen); }
.papier { background: var(--papier); }
.gris { background: var(--gris); color: var(--papier); }
.encre { background: var(--encre); color: var(--papier); }

.badge img { height: 56px; width: auto; }

/* Promesse */
.promesse { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 40px; padding-bottom: 0; min-height: 780px; }
.promesse .texte { padding-bottom: 96px; }
.promesse .chapeau { font-size: 28px; line-height: 1.25; margin: 40px 0 36px; max-width: 560px; }
.promesse .note { font-size: 17px; opacity: 0.7; margin: 28px 0 0; }
.promesse .visuel { align-self: stretch; margin: -96px -80px 0 0; width: calc(100% + 80px); height: calc(100% + 96px); max-width: none; object-fit: cover; object-position: left bottom; }

html[lang="en"] .promesse .titre { font-size: clamp(52px, 7.2vw, 104px); }

/* Parcours */
.parcours { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 60px; align-items: start; }
.parcours p { font-size: 24px; line-height: 1.35; opacity: 0.8; max-width: 520px; margin: 40px 0 0; }
.pistes { display: flex; flex-direction: column; gap: 22px; padding-top: 14px; }
.piste {
  position: relative;
  border-radius: 28px;
  padding: 40px 40px 44px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}
.piste strong { display: block; font-family: "Funnel Display", sans-serif; font-weight: 700; font-size: 60px; line-height: 0.96; letter-spacing: -0.03em; }
.piste span { display: block; margin-top: 22px; font-size: 26px; opacity: 0.7; }
.piste:nth-child(1) { background: #fff; color: var(--encre); transform: rotate(-3deg); }
.piste:nth-child(2) { background: var(--lichen); color: var(--encre); transform: rotate(2deg); }
.piste:nth-child(3) { background: var(--noir); color: var(--papier); transform: rotate(-2deg); }

.piste .prise-petite { position: absolute; right: 40px; top: 50%; height: 84px; width: auto; transform: translateY(-50%); }

/* Écran par écran */
.ecrans .rangee {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 72px calc(var(--marge) * -1 + 26px) 0;
}
.ecrans .rangee img { border-radius: 24px; width: 100%; }

/* Sans compte */
.promesse-2 .titre { position: relative; z-index: 1; }
.faits { display: grid; grid-template-columns: repeat(3, 280px); gap: 48px; margin-top: 120px; position: relative; z-index: 1; }
.faits h3 { font-size: 24px; font-weight: 600; line-height: 1.2; margin: 0 0 12px; }
.faits p { font-size: 18px; line-height: 1.4; opacity: 0.7; margin: 0; }
.promesse-2 .prise { position: absolute; right: -60px; top: 160px; width: 420px; transform: rotate(-10deg); }

/* Pied de page */
.pied { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding: 72px var(--marge) 56px; }
.pied .badge { display: inline-block; margin-top: 40px; }
.pied ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 20px; }
.pied ul a { text-decoration: none; }
.pied ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pied small { grid-column: 1 / -1; font-size: 14px; opacity: 0.6; }

/* Pages de texte (confidentialité, assistance) */
.deux-colonnes { display: grid; grid-template-columns: 520px 1fr; gap: 80px; }
.deux-colonnes .lead { font-size: 28px; font-weight: 600; line-height: 1.25; margin: 28px 0 0; }
.deux-colonnes .note { font-size: 16px; opacity: 0.6; margin: 20px 0 0; max-width: 420px; }
.points { margin: 0; }
.points div { border-top: 1px solid rgba(21, 22, 20, 0.18); padding: 24px 0 4px; }
.points dt { font-size: 22px; font-weight: 600; }
.points dd { margin: 8px 0 0; opacity: 0.78; }

.contact { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.contact p { font-size: 28px; line-height: 1.25; max-width: 680px; margin: 28px 0 0; }
.pilule {
  display: inline-block;
  background: var(--encre);
  color: var(--papier);
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  padding: 20px 32px;
  border-radius: 999px;
}
.pilule:hover { background: var(--noir); }

.questions details { border-top: 1px solid rgba(21, 22, 20, 0.18); padding: 24px 0; }
.questions summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 22px;
  font-weight: 600;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font-weight: 500; font-size: 28px; line-height: 1; }
.questions details[open] summary::after { content: "–"; }
.questions details p { margin: 12px 0 0; opacity: 0.78; max-width: 600px; }

/* Téléphone */
@media (max-width: 900px) {
  :root { --rayon: 28px; --marge: 26px; --ecart: 6px; }
  body { font-size: 16px; }
  .entete { height: 64px; padding: 0 18px; }
  .entete .logo img { height: 26px; }
  .entete nav { gap: 20px; }
  .entete nav a { font-size: 15px; }
  .carte { padding: 48px var(--marge); }
  .badge img { height: 48px; }
  .promesse, .parcours, .deux-colonnes, .pied { grid-template-columns: minmax(0, 1fr); }
  .titre-grand br, .titre-moyen br { display: none; }
  .titre-geant { font-size: 52px; }
  .promesse-2 .titre { font-size: 46px; }
  .promesse { min-height: 0; padding-bottom: 0; gap: 0; }
  .promesse .texte { padding-bottom: 32px; }
  .promesse .chapeau { font-size: 19px; margin: 22px 0 24px; }
  .promesse .note { font-size: 13px; margin-top: 14px; }
  .promesse .visuel { margin: -40px 0 0 -6px; width: 165%; height: auto; max-width: none; object-fit: fill; }
  .piste .prise-petite { height: 56px; right: 26px; }
  .parcours { gap: 0; }
  .parcours p { font-size: 17px; margin-top: 20px; }
  .pistes { padding-top: 28px; gap: 16px; }
  .piste { padding: 28px 26px 30px; transform: none !important; }
  .piste strong { font-size: 40px; }
  .piste span { font-size: 16px; margin-top: 14px; }
  .ecrans .rangee {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 28px calc(var(--marge) * -1) 0;
    padding: 0 var(--marge) 4px;
  }
  .ecrans .rangee img { width: 234px; flex: none; scroll-snap-align: start; border-radius: 18px; }
  .faits { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .faits h3 { font-size: 20px; }
  .faits p { font-size: 16px; }
  .promesse-2 .prise { display: none; }
  .pied { padding: 48px var(--marge); gap: 20px; }
  .pied .badge { margin-top: 20px; }
  .pied ul { font-size: 17px; gap: 10px; }
  .pied small { font-size: 12px; }
  .deux-colonnes { gap: 20px; }
  .deux-colonnes .lead { font-size: 22px; margin-top: 20px; }
  .deux-colonnes .note { font-size: 14px; }
  .points dt { font-size: 18px; }
  .contact p { font-size: 19px; margin-top: 20px; }
  .pilule { font-size: 18px; padding: 16px 24px; }
  .questions summary { font-size: 17px; }
  .questions details { padding: 18px 0; }
}
