/* Holo·Vie — pages statiques (landing + piliers). Autonome, léger, aux
   couleurs du jeu. Le HTML brut porte tout le contenu : ce CSS n'est qu'un
   habillage — la page reste lisible et indexable sans lui. */
@font-face { font-family: "Baloo 2"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/baloo2-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026; }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/baloo2-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026; }
@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/nunito-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026; }
@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/nunito-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026; }

:root {
  --green: #4a9e7f; --green-ink: #2f6b54; --green-soft: #bfe3d2;
  --orange: #e8833a; --orange-ink: #9c5316;
  --bg: #fdf8f2; --surface: #ffffff; --surface-2: #fbf4ea;
  --ink: #2e2a26; --ink-soft: #6f665d; --line: #ece1d2;
  --r: 16px; --r-lg: 24px;
  --shadow: 0 6px 18px rgba(70, 50, 30, 0.12);
  --font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-title: "Baloo 2", var(--font);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
h1, h2, h3 { font-family: var(--font-title); color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(30px, 5.4vw, 46px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
p { margin-bottom: 12px; }
a { color: var(--green-ink); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }

/* Header / nav */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(253, 248, 242, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand .dot { color: var(--orange); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink-soft); font-size: 15.5px; }
.nav a:hover { color: var(--green-ink); }
.btn { display: inline-block; background: var(--orange); color: #fff !important; font-family: var(--font-title); font-weight: 800; font-size: 17px; padding: 13px 26px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 0 var(--orange-ink); transition: transform 0.1s ease; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-ink); }
.btn--green { background: var(--green); box-shadow: 0 4px 0 var(--green-ink); }
.btn--big { font-size: 19px; padding: 16px 34px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; padding: 56px 0 40px; }
.hero p.lead { font-size: 19px; color: var(--ink-soft); margin: 16px 0 24px; }
.hero .visual { text-align: center; }
.hero .visual img { width: min(300px, 70vw); filter: drop-shadow(0 16px 28px rgba(70, 50, 30, 0.22)); }
.eyebrow { font-family: var(--font-title); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; color: var(--green-ink); }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--ink-soft); }

/* Sections */
section { padding: 40px 0; }
section.alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); font-family: var(--font-title); font-weight: 800; margin-bottom: 10px; }
.card img.icon { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; border: 3px solid var(--green-soft); margin-bottom: 10px; }

/* Royaumes */
.realms { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 20px; }
.realm { border-radius: var(--r); padding: 20px; color: #2e2a26; border: 1px solid var(--line); }
.realm.terre { background: linear-gradient(160deg, #d8ecbf, #bfe09a); }
.realm.eau { background: linear-gradient(160deg, #d6f3f0, #a8d6ef); }
.realm.feu { background: linear-gradient(160deg, #ffe3b0, #f0b266); }
.realm.air { background: linear-gradient(160deg, #eaf3ff, #cfe6df); }
.realm h3 { margin-bottom: 4px; }
.realm p { font-size: 15px; margin: 0; }

/* Grille de totems */
.totem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; margin-top: 20px; }
.totem-tile { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 8px; box-shadow: var(--shadow); }
.totem-tile img { width: 84px; height: 84px; object-fit: contain; }
.totem-tile b { display: block; font-family: var(--font-title); font-size: 15px; }
.totem-tile span { font-size: 12.5px; color: var(--ink-soft); }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; font-family: var(--font-title); font-size: 17px; cursor: pointer; }
.faq details p { margin: 10px 0 2px; color: var(--ink-soft); }

/* Prose (pages piliers / légales) */
.prose { max-width: 760px; padding: 40px 0 56px; }
.prose h1 { margin-bottom: 10px; }
.prose h2 { margin-top: 30px; }
.prose ul, .prose ol { margin: 0 0 14px 24px; }
.prose li { margin-bottom: 6px; }
.prose .lead { font-size: 19px; color: var(--ink-soft); }
.prose figure { margin: 18px 0; text-align: center; }
.prose figure img { border-radius: var(--r); box-shadow: var(--shadow); }
.prose figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.callout { background: var(--green-soft); border-radius: var(--r); padding: 16px 20px; margin: 18px 0; }
.cta-band { text-align: center; background: linear-gradient(160deg, #d8ecbf, var(--green-soft)); border-radius: var(--r-lg); padding: 36px 24px; margin: 30px 0; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 18px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--surface-2); padding: 28px 0 40px; margin-top: 30px; font-size: 14.5px; color: var(--ink-soft); }
.site-foot .cols { display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.site-foot a { color: var(--ink-soft); }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 6px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero .visual { order: -1; }
  .nav a.nav-link { display: none; }
}

/* ── Landing v2 : « La vie est un jeu » ────────────────────────────── */
.btn--ghost { background: transparent; color: var(--green-ink) !important; box-shadow: inset 0 0 0 2px var(--green-soft); }
.btn--ghost:active { box-shadow: inset 0 0 0 2px var(--green-soft); }
.hero--v2 { display: block; padding: 0; background: linear-gradient(180deg, #eef6ee 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; padding-top: 56px; padding-bottom: 44px; }
.hero h1 .hl { color: var(--green-ink); }
.hero-proof { list-style: none; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 14.5px; color: var(--ink-soft); }
.hero__scene { position: relative; width: min(360px, 88vw); margin: 0 auto; }
.hero__scene > picture img { width: 100%; filter: drop-shadow(0 18px 30px rgba(70, 50, 30, 0.22)); }
.phone-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.45; }
.phone-card p { margin: 0; }
.phone-card__kicker { font-family: var(--font-title); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; color: var(--green-ink); margin-bottom: 4px !important; }
.phone-card--sky { position: absolute; left: -8%; bottom: 14%; width: 62%; border-left: 4px solid #6fa8dc; transform: rotate(-3deg); }
.phone-card--climat { position: absolute; right: -6%; top: 8%; width: 58%; border-left: 4px solid var(--orange); transform: rotate(2deg); }
.phone-card--static { margin-bottom: 14px; border-left: 4px solid var(--green); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 22px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.step__num { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--font-title); font-weight: 800; }
.step__img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 8px; }
.step__img--round { border-radius: 50%; object-fit: cover; border: 3px solid var(--green-soft); }
.step__wheel { width: 84px; height: 84px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

.saison-v2 { background: linear-gradient(180deg, var(--bg), #fbf1e3); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.tool__kicker { font-family: var(--font-title); font-weight: 800; color: var(--green-ink); margin: 0; }
.tool__field { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.tool__field input { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); width: 100%; background: var(--surface-2); }
.tool__hemi { border: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.tool__hemi legend { font-weight: 700; margin-bottom: 4px; }
.tool button { border: 0; cursor: pointer; justify-self: start; }
.tool__result:empty { display: none; }
.tool__result { border-top: 1px solid var(--line); padding-top: 12px; }
.tool__name { font-family: var(--font-title); font-weight: 800; font-size: 22px; margin: 0 0 4px; }
.tool__simple { font-size: 16px; margin-bottom: 10px; }
.tool__label { font-family: var(--font-title); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--green-ink); margin-bottom: 8px; }
.tool__totems { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.tool__totem { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; }
.tool__totem img { width: 40px; height: 40px; object-fit: contain; }
.tool__more { margin-left: 12px; font-size: 15px; }
.bridge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.bridge__col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.bridge__col p:last-child { margin: 0; font-size: 15px; color: var(--ink-soft); }
.bridge__x { font-family: var(--font-title); font-weight: 800; font-size: 34px; color: var(--orange); }
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 28px; }
.feature p:last-child { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.center { text-align: center; margin-top: 22px; }
a.totem-tile { text-decoration: none; color: inherit; display: block; transition: transform 0.12s ease; }
a.totem-tile:hover { transform: translateY(-3px); }

@media (max-width: 760px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 28px; }
  .hero__visual { order: -1; }
  .hero__scene { width: min(300px, 80vw); }
  .phone-card--sky, .phone-card--climat { width: 70%; }
  .tool-grid { grid-template-columns: 1fr; }
  .bridge { grid-template-columns: 1fr; }
  .bridge__x { text-align: center; }
}

/* ── Le téléphone du hero, la fresque ─────────────────────────────── */
.hero__scene { width: min(400px, 92vw); }
.phone { width: 236px; margin: 0 auto; border-radius: 34px; background: #2e2a26; padding: 10px; box-shadow: 0 30px 60px rgba(46, 42, 38, 0.32), inset 0 0 0 2px #3f3a35; }
.phone__screen { position: relative; height: 460px; border-radius: 26px; overflow: hidden; background-size: cover; background-position: center top; font-family: var(--font); }
.phone__screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(253, 248, 242, 0.96) 0, rgba(253, 248, 242, 0.96) 96px, rgba(253, 248, 242, 0) 130px); }
.phone__top { position: relative; display: flex; justify-content: space-between; padding: 12px 14px 0; font-family: var(--font-title); font-weight: 800; font-size: 11.5px; color: var(--ink); }
.phone__voice { position: relative; display: flex; align-items: center; gap: 6px; margin: 8px 10px 0; background: #fff; border-radius: 12px; padding: 5px 8px; font-size: 11px; color: var(--ink); box-shadow: 0 2px 6px rgba(70, 50, 30, 0.12); }
.phone__voice img { width: 24px; height: 24px; object-fit: contain; }
.phone__sky { position: relative; margin: 6px 10px 0; background: #fff; border: 1px solid #dfe9f1; border-left: 3px solid #6fa8dc; border-radius: 10px; padding: 5px 8px; font-size: 10.5px; color: var(--ink-soft); }
.phone__sky b { color: var(--ink); }
.phone__path { position: absolute; left: 0; top: 130px; width: 100%; height: 300px; }
.phone__step { position: absolute; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(70, 50, 30, 0.22); background: #fff; object-fit: cover; }
.phone__step--now { width: 60px; height: 60px; border-color: var(--green); box-shadow: 0 0 0 5px rgba(74, 158, 127, 0.28), 0 6px 14px rgba(70, 50, 30, 0.25); }
.phone__step--locked { width: 46px; height: 46px; opacity: 0.55; filter: grayscale(0.6); }
.phone__cta { position: absolute; transform: translate(-50%, -100%); background: var(--green); color: #fff; font-family: var(--font-title); font-weight: 800; font-size: 11px; padding: 5px 10px; border-radius: 999px; box-shadow: 0 3px 0 var(--green-ink); white-space: nowrap; }
.phone__totem { position: absolute; width: 64px; height: 64px; object-fit: contain; transform: translate(-50%, -60%); filter: drop-shadow(0 6px 8px rgba(70, 50, 30, 0.3)); }
.phone__nav { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; background: #fff; border-top: 1px solid var(--line); padding: 7px 4px 9px; font-size: 8.5px; font-weight: 800; color: var(--ink-soft); }
.phone__nav span { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 3px 6px; border-radius: 8px; }
.phone__nav .is-on { background: var(--green-soft); color: var(--green-ink); }
.phone-card--climat { right: -4%; top: 16%; width: 54%; }
.phone-card--duo { position: absolute; left: -6%; bottom: 12%; width: 56%; border-left: 4px solid #6fa8dc; transform: rotate(-3deg); }
.bridge--fresque { grid-template-columns: 1fr; gap: 12px; }
.bridge--fresque .bridge__col { padding: 14px 16px; }
.bridge--fresque .bridge__x { display: none; }
.fresque { text-align: center; }
.fresque figcaption { font-size: 13px; color: var(--ink-soft); max-width: 260px; margin: 6px auto 0; line-height: 1.4; }
@media (max-width: 760px) {
  .phone-card--climat, .phone-card--duo { width: 64%; }
  .bridge--fresque { grid-template-columns: 1fr; }
}
