:root {
  --ink: #151814;
  --paper: #fffdf7;
  --cream: #f7f2e8;
  --green: #49dc7b;
  --green-dark: #187a45;
  --green-soft: #dff8d9;
  --yellow: #fff1ad;
  --pink: #ffdce8;
  --blue: #dce9ff;
  --muted: #716b62;
  --line: 3px solid var(--ink);
  --shadow: 0 9px 0 var(--ink);
  --radius: 28px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle, #ddd4c3 1.5px, transparent 1.7px);
  background-size: 22px 22px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 16px;
  transform: translateY(-150%);
  border: var(--line);
  border-radius: 14px;
  background: white;
  font-weight: 900;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(21, 24, 20, .12);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 46px; text-decoration: none; }
.brand-logo { width: clamp(128px, 15vw, 152px); height: auto; }
.brand:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 5px; border-radius: 12px; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 10px 13px; border-radius: 999px; text-decoration: none; font-weight: 850; }
.nav-links a:hover, .nav-links a:focus-visible { background: var(--green-soft); outline: none; }
.nav-links .nav-cta { border: 2px solid var(--ink); background: var(--green); box-shadow: 0 4px 0 var(--ink); }
.menu-button { display: none; border: var(--line); border-radius: 14px; background: white; padding: 8px 11px; font-weight: 900; }

main { overflow: clip; }
.inner-page-main { display: flow-root; overflow: visible; }
.hero { padding: clamp(68px, 10vw, 130px) 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(36px, 7vw, 90px); }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); font-weight: 900; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.04em; }
h1 { margin-top: 22px; max-width: 760px; font-size: clamp(3.1rem, 8vw, 6.9rem); }
h2 { font-size: clamp(2.25rem, 5vw, 4.4rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
.green-text { color: var(--green-dark); }
.lead { max-width: 650px; margin: 24px 0 0; font-size: clamp(1.08rem, 2vw, 1.35rem); color: #3f413e; font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 22px; border: var(--line); border-radius: 999px; background: white; box-shadow: 0 6px 0 var(--ink); text-decoration: none; font-weight: 950; transition: transform .15s, box-shadow .15s; }
.button:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.button.primary { background: var(--green); }
.button.small { min-height: 44px; padding: 8px 17px; box-shadow: 0 4px 0 var(--ink); }
.microcopy { margin: 18px 0 0; color: var(--muted); font-size: .95rem; }

.hero-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.burst { position: absolute; inset: 7%; border: var(--line); border-radius: 50%; background: var(--green-soft); box-shadow: var(--shadow); }
.mascot-card { position: relative; z-index: 2; width: min(82%, 390px); aspect-ratio: 1; display: grid; place-items: center; }
.mascot-card img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 0 rgba(21,24,20,.92)); }
.mascot-fallback { display: none; font-size: 10rem; filter: drop-shadow(0 10px 0 var(--ink)); }
.float-chip { position: absolute; z-index: 3; padding: 11px 16px; border: var(--line); border-radius: 999px; background: white; box-shadow: 0 5px 0 var(--ink); font-weight: 950; }
.chip-one { top: 17%; right: -2%; transform: rotate(5deg); }
.chip-two { bottom: 10%; left: -2%; transform: rotate(-6deg); background: var(--pink); }

.section { padding: 88px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading p { max-width: 540px; margin: 0; color: var(--muted); font-weight: 650; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { border: var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); padding: 26px; }
.card:nth-child(2n) { background: #fffefa; }
.card-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; border: var(--line); border-radius: 18px; background: var(--yellow); font-size: 1.7rem; }
.card:nth-child(2) .card-icon { background: var(--pink); }
.card:nth-child(3) .card-icon { background: var(--green); }
.card:nth-child(4) .card-icon { background: var(--blue); }
.card p { margin: 13px 0 0; color: var(--muted); }

.how { position: relative; background: var(--ink); color: white; }
.how::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(circle, white 1.5px, transparent 1.7px); background-size: 22px 22px; }
.how .container { position: relative; }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.step { counter-increment: steps; padding: 28px; border: 3px solid white; border-radius: var(--radius); background: #222722; }
.step::before { content: counter(steps); display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border: 3px solid white; border-radius: 50%; background: var(--green); color: var(--ink); font-size: 1.5rem; font-weight: 1000; }
.step p { color: #d6dbd4; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 24px; }
.statement { padding: clamp(30px, 5vw, 58px); border: var(--line); border-radius: 40px; background: var(--yellow); box-shadow: var(--shadow); }
.statement.green { background: var(--green); }
.statement p { margin: 18px 0 0; font-size: 1.1rem; font-weight: 650; }
.check-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 11px; align-items: start; font-weight: 800; }
.check-list li::before { content: "✓"; flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; background: white; }

.faq { display: grid; gap: 14px; }
.faq details { border: var(--line); border-radius: 20px; background: white; box-shadow: 0 5px 0 var(--ink); overflow: hidden; }
.faq summary { cursor: pointer; padding: 20px 23px; font-weight: 950; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 1.4rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 23px 22px; color: var(--muted); }

.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: clamp(30px, 6vw, 64px); border: var(--line); border-radius: 40px; background: var(--green); box-shadow: var(--shadow); }
.cta-panel p { margin: 12px 0 0; font-weight: 700; }

.site-footer { margin-top: 80px; padding: 58px 0 28px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.footer-copy { max-width: 370px; color: #cbd0c9; }
.footer-title { margin-bottom: 13px; font-weight: 950; color: var(--green); }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links a { color: #e9ede7; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 20px; border-top: 1px solid #454b45; color: #b5bbb4; font-size: .92rem; }

/* Pages intérieures */
.page-hero { padding: 72px 0 38px; text-align: center; }
.page-hero h1 { margin-inline: auto; max-width: 950px; }
.page-hero p { max-width: 700px; margin: 22px auto 0; color: var(--muted); font-size: 1.15rem; }
/* Grande carte des pages intérieures — ombre Kiwwi */
.page-shell { width: min(calc(100% - 36px), 900px); margin: 24px auto 140px; padding: clamp(26px, 5vw, 56px); border: var(--line); border-radius: 36px; background: white; box-shadow: 0 10px 0 var(--ink); }
.page-shell h2 { margin: 42px 0 15px; font-size: clamp(1.65rem, 3vw, 2.4rem); }
.page-shell h2:first-child { margin-top: 0; }
.page-shell h3 { margin: 28px 0 10px; font-size: 1.3rem; }
.page-shell p, .page-shell li { color: #45433f; }
.page-shell li + li { margin-top: 8px; }
.page-shell a { color: #116f3d; font-weight: 850; }
.notice { padding: 18px 20px; border: 2px solid var(--ink); border-radius: 18px; background: var(--yellow); }
.legal-meta { margin-bottom: 32px; padding-bottom: 22px; border-bottom: 2px dashed #d9d1c4; color: var(--muted); }

.security-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 22px 24px;
  border: var(--line);
  border-radius: 24px;
  background: var(--pink);
  box-shadow: 0 7px 0 var(--ink);
}
.security-alert-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: white;
  font-size: 1.5rem;
}
.security-alert h2,
.security-alert h3 { margin: 0 0 5px; font-size: 1.25rem; }
.security-alert p { margin: 0; color: #3d3935; font-weight: 750; }
.security-alert a { white-space: nowrap; }
.security-alert.compact { grid-template-columns: auto 1fr; box-shadow: none; }

.security-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 8px;
}
.security-card {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 23px;
  background: var(--cream);
}
.security-card:nth-child(2n) { background: var(--green-soft); }
.security-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: white;
  font-size: 1.3rem;
}
.security-card h2,
.security-card h3 { margin: 0 0 10px; font-size: 1.28rem; }
.security-card p { margin: 0; }
.vigilance-list { display: grid; gap: 13px; margin: 22px 0 0; padding: 0; list-style: none; }
.vigilance-list li {
  position: relative;
  margin: 0 !important;
  padding: 15px 17px 15px 50px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: #fffefa;
  font-weight: 750;
}
.vigilance-list li::before {
  position: absolute;
  top: 14px;
  left: 15px;
  content: "!";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 1000;
}
.trust-line { padding-left: 16px; border-left: 5px solid var(--green); font-weight: 800; }

.support-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; }
.contact-card { padding: 26px; border: var(--line); border-radius: 26px; background: var(--green-soft); box-shadow: 0 6px 0 var(--ink); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 900; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 15px; background: white; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }

.delete-steps { counter-reset: delete; display: grid; gap: 15px; margin: 25px 0; padding: 0; list-style: none; }
.delete-steps li { counter-increment: delete; display: flex; gap: 14px; align-items: center; padding: 15px 18px; border: 2px solid var(--ink); border-radius: 16px; background: var(--cream); font-weight: 850; }
.delete-steps li::before { content: counter(delete); flex: 0 0 36px; display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--ink); border-radius: 50%; background: var(--green); }

.not-found { min-height: 70vh; display: grid; place-items: center; padding: 50px 18px; text-align: center; }
.not-found .card { max-width: 650px; }
.big-code { font-size: clamp(5rem, 18vw, 10rem); line-height: .8; color: var(--green); -webkit-text-stroke: 3px var(--ink); }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav-links { position: absolute; top: calc(100% + 8px); left: 18px; right: 18px; display: none; padding: 14px; border: var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .hero-grid, .split, .support-grid, .security-overview { grid-template-columns: 1fr; }
  .hero-art { min-height: 430px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container, .page-shell { width: min(calc(100% - 24px), var(--max)); }
  .hero { padding-top: 52px; }
  .hero-art { min-height: 360px; }
  .float-chip { font-size: .83rem; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .section-heading, .cta-panel, .footer-bottom { align-items: start; flex-direction: column; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 50px; }
  .brand-logo { width: 128px; }
  .security-alert { grid-template-columns: auto 1fr; padding: 18px; }
  .security-alert .button { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
