/* CityWorld : site public. Même identité que le jeu : ciel, herbe, formes rondes. */
:root { --ink:#24443a; --ink-2:#5b6f66; --green:#3baa6a; --green-d:#2b8452; --sun:#f2b134; --sun-d:#c98a14; --coral:#e8566b; --paper:#fffdf7; --line:#e7dfcc;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--green-d); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.small { font-size: 14px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.site-head { position: sticky; top: 0; z-index: 10; background: rgba(255,253,247,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 24px; color: var(--green-d); text-decoration: none; letter-spacing: -.5px; }
.logo span { color: var(--sun-d); }
.logo img { border-radius: 10px; }
.logo.small { font-size: 22px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 99px; }
.main-nav a:hover, .main-nav a[aria-current] { background: #eef6ea; color: var(--green-d); }
.menu-btn { display: none; border: 0; background: #eef6ea; color: var(--ink); font: inherit; font-weight: 800; padding: 8px 14px; border-radius: 99px; }

.hero { background: radial-gradient(160px 50px at 15% 18%, rgba(255,255,255,.8), transparent 70%), radial-gradient(220px 60px at 82% 12%, rgba(255,255,255,.6), transparent 70%), linear-gradient(180deg, #9fd8f0 0%, #c8ecf4 55%, #e3f4dc 100%); padding: 56px 0 30px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.kicker { font-weight: 900; color: var(--green-d); text-transform: uppercase; font-size: 13px; letter-spacing: .08em; margin: 0; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 10px 0 16px; letter-spacing: -1px; }
h1 span { color: var(--green-d); }
.lead { font-size: 19px; color: var(--ink-2); }
.hero .lead { color: #335a4e; }
.phone { width: min(320px, 80vw); margin-inline: auto; border-radius: 44px; padding: 12px; background: #1f2a28; box-shadow: 0 30px 60px rgba(36,68,58,.3); transform: rotate(3deg); }
.phone img { border-radius: 34px; display: block; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 10px; }
.store { display: inline-flex; flex-direction: column; background: #111; color: #fff; text-decoration: none; padding: 9px 18px 10px; border-radius: 14px; font-weight: 800; line-height: 1.15; min-width: 170px; }
.store small { font-weight: 600; font-size: 11px; opacity: .85; }
.store.soon { background: #fff; color: var(--ink); border: 2px dashed #b9c9bf; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 50px auto; }
.pillars article { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 24px; }
.pill-ico { font-size: 40px; }
.pillars h2 { margin: 6px 0; font-size: 22px; }
.pillars p { margin: 0; color: var(--ink-2); }
.band { background: linear-gradient(180deg, #fbe7cb, #f6f0dc); padding: 50px 0; margin: 30px 0; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.shot { border-radius: 30px; box-shadow: 0 20px 40px rgba(36,68,58,.2); max-height: 560px; width: auto; display: block; margin-inline: auto; }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 12px; }
.checks { padding: 0; list-style: none; }
.checks li { padding-left: 32px; position: relative; margin: 8px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; font-size: 13px; display: grid; place-items: center; }
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 900; padding: 13px 24px; border-radius: 16px; border: 0; font: inherit; font-weight: 900; cursor: pointer; box-shadow: inset 0 -4px 0 var(--green-d); }
.btn.danger { background: var(--coral); box-shadow: inset 0 -4px 0 #c13d51; }
.safety { margin: 60px auto; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid3 > div { background: #eef6ea; border-radius: 20px; padding: 20px; }
.grid3 p { margin: 6px 0 0; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 60px; }
.card-link { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 18px; text-decoration: none; color: var(--ink); }
.card-link:hover { border-color: var(--green); }
.card-link small { color: var(--ink-2); }
.card-link span { color: var(--ink-2); }

.page { padding: 40px 0 70px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); }
.page h2 { font-size: 24px; margin-top: 30px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 64px; margin: 26px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 16px; background: var(--sun); color: #5b3c00; font-weight: 900; font-size: 22px; display: grid; place-items: center; }
.steps h2 { margin: 0 0 4px; font-size: 22px; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.features > div { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 20px; }
.features h3 { margin: 0 0 6px; }
.features p { margin: 0; color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.gallery figure { margin: 0; text-align: center; }
.gallery img { border-radius: 26px; box-shadow: 0 12px 30px rgba(36,68,58,.18); }
.gallery figcaption { font-weight: 800; color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.news-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.news-item h2 { margin: 2px 0; font-size: 24px; }
.news-item h2 a { color: var(--ink); text-decoration: none; }
.event { --c: #f2b134; border-left: 6px solid var(--c); background: #fff; border-radius: 16px; padding: 16px 20px; margin: 16px 0; box-shadow: 0 4px 14px rgba(36,68,58,.08); }
.event h2 { margin: 6px 0 2px; }
.event .when { font-weight: 800; color: var(--ink-2); margin: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 900; padding: 3px 10px; border-radius: 99px; background: #eee; }
.tag.active { background: #e3f6ea; color: var(--green-d); }
.tag.upcoming { background: #fff4d6; color: var(--sun-d); }
.faq { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }
.form { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 22px; margin: 16px 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 15px; }
.form label.check { flex-direction: row; align-items: center; gap: 10px; }
.form input, .form select, .form textarea { font: inherit; color: var(--ink); border: 2px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fff; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--green); }
.form .btn { align-self: flex-start; }
.notice { border-radius: 14px; padding: 14px 18px; font-weight: 700; margin: 16px 0; }
.notice.ok { background: #e3f6ea; color: var(--green-d); }
.notice.error { background: #fde8eb; color: #a52f43; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.shared { border-radius: 24px; box-shadow: 0 20px 40px rgba(36,68,58,.2); margin: 10px auto 20px; display: block; }
.shared + p .code, .code { letter-spacing: 3px; background: #eef6ea; padding: 2px 8px; border-radius: 8px; }
.site-foot { background: #24443a; color: #d6e5dd; padding: 40px 0 20px; }
.site-foot a { color: #fff; text-decoration: none; display: block; margin: 4px 0; }
.site-foot .logo { color: #fff; display: inline-flex; }
.site-foot h4 { margin: 0 0 8px; color: #9fb7ab; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.copy { font-size: 13px; color: #9fb7ab; margin-top: 26px; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .hero-grid, .split, .pillars, .grid3, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 30px; }
  .phone { transform: none; }
}
.pill-art { display: block; width: 120px; height: 120px; object-fit: contain; margin: 0 auto 8px; filter: drop-shadow(0 8px 10px rgba(36,68,58,.12)); }
.logo img { border-radius: 0; object-fit: contain; }
