/* ISPayout — site vitrine.
   Même grammaire que Wedge : Hanken Grotesk pour les titres, Manrope pour le
   texte, de grands rectangles arrondis, beaucoup de blanc, et le vert de la
   marque pour tout ce qui se clique. */

:root {
  --vert: #058749;
  --vert-fonce: #046b3a;
  --menthe: #05e278;
  --encre: #0c0f15;
  --gris: #5b6663;
  --trait: #e3e6ea;
  --papier: #f5f6f8;
  --rayon: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, system-ui, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--encre);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Hanken Grotesk', Manrope, sans-serif; letter-spacing: -0.8px; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.12; font-weight: 800; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 800; letter-spacing: -0.3px; }
p { margin: 0 0 14px; }
a { color: var(--vert); text-decoration: none; }

.sourcil {
  font-size: 12.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--vert); margin-bottom: 12px;
}
.chapeau { font-size: 17px; color: var(--gris); max-width: 620px; }
.chapeau.centre, .note.centre { margin-left: auto; margin-right: auto; text-align: center; }
.note { font-size: 13.5px; color: var(--gris); }

/* ------------------------------------------------------------- en-tête */

.entete {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 26px;
  padding: 14px 28px; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait);
}
.entete nav { display: flex; gap: 22px; margin-left: auto; }
.entete nav a { color: var(--gris); font-weight: 600; font-size: 14.5px; }
.entete nav a:hover { color: var(--encre); }

.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--vert); color: #fff; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: background 0.15s;
}
.bouton:hover { background: var(--vert-fonce); color: #fff; }
.bouton.grand { padding: 16px 30px; font-size: 16.5px; }
.bouton.clair { background: #eaf7f0; color: var(--vert); }
.bouton.clair:hover { background: #d9efe4; }

/* ---------------------------------------------------------------- héros */

.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  max-width: 1180px; margin: 0 auto; padding: 68px 28px 52px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 16px; }
.hero-image { display: flex; justify-content: center; }
.hero-image img { width: 100%; max-width: 420px; height: auto; }

/* --------------------------------------------------------------- bandes */

.bande { max-width: 1180px; margin: 0 auto; padding: 62px 28px; }
.bande.alt { max-width: none; background: var(--papier); }
.bande.alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.bande h2 { margin-bottom: 26px; }

.etapes, .cartes { display: grid; gap: 16px; }
.etapes { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cartes { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.etapes article, .cartes article {
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 24px;
}
.etapes article p, .cartes article p { color: var(--gris); margin: 10px 0 0; font-size: 15px; }
.numero {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: #eaf7f0;
  color: var(--vert); font-weight: 800; margin-bottom: 14px;
}

/* ---------------------------------------------------------------- pays */

.pays {
  list-style: none; padding: 0; margin: 26px 0 18px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px;
}
.pays li {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--trait); border-radius: 16px; padding: 12px 14px;
}
.pays img { border-radius: 4px; flex: none; }
.pays b { font-size: 15px; }
.pays span { margin-left: auto; color: var(--gris); font-size: 13px; }

/* ----------------------------------------------------------------- FAQ */

.faq { max-width: 820px; }
.faq details {
  background: #fff; border: 1px solid var(--trait); border-radius: 16px;
  padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--vert); }
.faq p { color: var(--gris); margin: 12px 0 0; font-size: 15px; }

/* -------------------------------------------------------------- pied */

footer { background: var(--encre); color: #fff; margin-top: 40px; }
.footer-cta { text-align: center; padding: 64px 28px 48px; max-width: 760px; margin: 0 auto; }
.footer-cta h2 { color: #fff; margin-bottom: 26px; }
.footer-cta .sourcil { color: var(--menthe); }
.footer-cta .note { color: #8a919c; margin-top: 14px; }
.footer-bas {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px;
  max-width: 1180px; margin: 0 auto; padding: 36px 28px; border-top: 1px solid #222a33;
}
.footer-bas b { display: block; margin-bottom: 10px; font-size: 14px; }
.footer-bas a { display: block; color: #b8c0c8; font-size: 14.5px; margin-bottom: 7px; }
.footer-bas a:hover { color: #fff; }
.footer-bas p { color: #8a919c; font-size: 13.5px; margin-top: 12px; }
.mentions {
  max-width: 1180px; margin: 0 auto; padding: 0 28px 34px;
  color: #6f7883; font-size: 12.5px;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 320px; }
  .entete nav { display: none; }
}

/* Pages de texte (conditions, confidentialité, contact) */
.texte { max-width: 780px; }
.texte h1 { margin-bottom: 14px; }
.texte h2 { font-size: 21px; margin: 34px 0 10px; }
.texte ul { color: var(--gris); padding-left: 20px; margin: 0 0 14px; }
.texte li { margin-bottom: 7px; }
.texte p { color: var(--gris); }
.texte p.chapeau { color: var(--gris); font-size: 17px; }
