/* ============================================================
   PF2026 — Mini-site Pokémon GO (/guides/pokemongo/)
   Gabarit : template-parts/guides/hub-go.php · données : inc/go-hub.php
   Identité : ciel bleu-turquoise, carte du jeu, couleurs des trois équipes.
   ============================================================ */

.go { --go-sky: #3FC5E8; --go-blue: #1E6FD9; --go-deep: #0D3B7A; --go-teal: #18B39B; --go-ink: #12233F; --go-muted: #57688A; --go-bg: #F2F8FC; --go-line: #D9E8F2; background: var(--go-bg); color: var(--go-ink); overflow-x: clip; }

.go-crumbs { background: var(--go-deep); }
.go-crumbs .breadcrumb { margin: 0; padding: 10px 0; color: rgba(255, 255, 255, .7); font-size: 13px; background: none; }
.go-crumbs .breadcrumb a { color: rgba(255, 255, 255, .9); }
.go-crumbs .breadcrumb-current { color: #fff; }

/* ---------- Héros ---------- */
.go-hero { position: relative; overflow: hidden; color: #fff; padding: 50px 0 70px; background: linear-gradient(160deg, var(--go-sky) 0%, var(--go-blue) 55%, var(--go-deep) 100%); }
.go-hero__map {
  position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49%, #fff 49% 51%, transparent 51%) 0 0 / 180px 180px,
    linear-gradient(0deg, transparent 49%, #fff 49% 51%, transparent 51%) 0 0 / 180px 180px,
    linear-gradient(35deg, transparent 49.4%, #fff 49.4% 50.6%, transparent 50.6%) 0 0 / 420px 420px;
}
.go-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--go-bg); clip-path: ellipse(70% 100% at 50% 100%); }
.go-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.go-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .18); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.go-hero__title { font-size: clamp(44px, 7vw, 84px); line-height: .95; margin: 0 0 16px; letter-spacing: -.04em; color: #fff; text-shadow: 0 6px 0 rgba(13, 59, 122, .35); }
.go-hero__lead { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .92); max-width: 600px; margin: 0 0 20px; }
.go-chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.go-chips li { background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.go-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.go-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .15s ease; }
.go-btn:hover { transform: translateY(-2px); }
.go-btn--white { background: #fff; color: var(--go-blue); box-shadow: 0 8px 20px rgba(13, 59, 122, .25); }
.go-btn--ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .6); }
.go-btn--blue { background: var(--go-blue); color: #fff; }

/* Téléphone avec la carte du jeu */
.go-phone { justify-self: center; width: 250px; height: 480px; padding: 12px; border-radius: 40px; background: #0E1A2E; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .1); transform: rotate(5deg); }
.go-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: linear-gradient(#A8E6A1, #7FD27A); }
.go-phone__screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, .25) 47% 53%, transparent 53%) 0 0 / 60px 60px; }
.go-phone__road { position: absolute; background: #F4E6B5; border: 3px solid #fff; border-radius: 6px; }
.go-phone__road--1 { left: -10%; right: -10%; top: 58%; height: 26px; transform: rotate(-14deg); }
.go-phone__road--2 { top: -10%; bottom: -10%; left: 30%; width: 24px; transform: rotate(18deg); }
.go-phone__stop { position: absolute; top: 18%; right: 18%; width: 34px; height: 34px; border-radius: 50%; background: #2F9BF0; box-shadow: 0 0 0 5px rgba(47, 155, 240, .35), 0 40px 0 -14px #1C6FBF; }
.go-phone__gym { position: absolute; top: 12%; left: 14%; width: 40px; height: 52px; border-radius: 50% 50% 8px 8px; background: linear-gradient(#F2B807, #E5322D); box-shadow: 0 6px 0 rgba(0, 0, 0, .15); }
.go-phone__mon { position: absolute; left: 50%; top: 34%; width: 130px; height: 130px; transform: translateX(-50%); filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .25)); animation: go-bounce 1.6s ease-in-out infinite; }
.go-phone__ring { position: absolute; left: 50%; top: 52%; width: 110px; height: 34px; transform: translateX(-50%); border-radius: 50%; border: 4px solid #4CD964; opacity: .9; animation: go-ring 1.6s ease-in-out infinite; }
.go-phone__ball { position: absolute; left: 50%; bottom: 8%; width: 46px; height: 46px; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(#E5322D 0 45%, #222 45% 55%, #fff 55%); box-shadow: inset 0 0 0 3px #222, 0 6px 10px rgba(0, 0, 0, .25); }
.go-phone__ball::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #222; }
@keyframes go-bounce { 50% { transform: translate(-50%, -8px); } }
@keyframes go-ring { 50% { transform: translateX(-50%) scale(.8); border-color: #F2B807; } }

/* ---------- Statistiques + sous-navigation ---------- */
.go-stats { list-style: none; margin: -30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 2; }
.go-stats li { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 10px 30px rgba(13, 59, 122, .1); }
.go-stats b { display: block; font-size: 28px; color: var(--go-blue); line-height: 1.1; }
.go-stats span { font-size: 14px; color: var(--go-muted); font-weight: 600; }
.go-nav { position: sticky; top: 66px; z-index: 50; margin-top: 24px; background: rgba(242, 248, 252, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--go-line); }
.go-nav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.go-nav__inner::-webkit-scrollbar { display: none; }
.go-nav a { flex: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--go-muted); text-decoration: none; }
.go-nav a:hover { background: #fff; color: var(--go-blue); }

/* ---------- Sections ---------- */
.go-sec { padding: 60px 0; scroll-margin-top: 110px; }
.go-head { max-width: 760px; margin-bottom: 24px; }
.go-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.go-head__kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--go-teal); margin-bottom: 6px; }
.go-head h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 8px; }
.go-head p { margin: 0; color: var(--go-muted); font-size: 16px; line-height: 1.6; }
.go-more { font-weight: 800; color: var(--go-blue); text-decoration: none; }
.go-empty { padding: 24px; background: #fff; border-radius: 16px; color: var(--go-muted); }

/* Agenda */
.go-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.go-event { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border-radius: 18px; border-left: 6px solid var(--go-line); box-shadow: 0 4px 14px rgba(13, 59, 122, .06); }
.go-event--live { border-left-color: #4CD964; }
.go-event--cd { border-left-color: #F2B807; }
.go-event--raid { border-left-color: #E5322D; }
.go-event--debut { border-left-color: #9141CB; }
.go-event__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--go-bg); }
.go-event__when { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--go-teal); text-transform: capitalize; }
.go-live { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: #4CD964; color: #fff; }
.go-event h3 { margin: 2px 0 2px; font-size: 17px; }
.go-event p { margin: 0; font-size: 14px; color: var(--go-muted); line-height: 1.5; }
.go-event__more { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--go-bg); color: var(--go-blue); font-weight: 800; text-decoration: none; }
.go-event__more:hover { background: var(--go-blue); color: #fff; }

/* Saison */
.go-sec--season { background: linear-gradient(160deg, #3B2A1A, #6B3A1E); color: #fff; }
.go-season { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.go-season__img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.go-season .go-head__kicker { color: #F8B84E; }
.go-season h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 6px; color: #fff; }
.go-season__dates { margin: 0 0 14px; font-weight: 700; color: #F8D49A; }
.go-season ul { margin: 0 0 20px; padding-left: 20px; line-height: 1.7; }
.go-season li::marker { content: "🍂 "; }

/* Cartes « Bien débuter » / « Modes » */
.go-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.go-card { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 4px 14px rgba(13, 59, 122, .06); }
.go-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 24px; background: linear-gradient(160deg, var(--go-sky), var(--go-blue)); margin-bottom: 12px; }
.go-card h3 { margin: 0 0 6px; font-size: 18px; }
.go-card p { margin: 0; color: var(--go-muted); line-height: 1.6; font-size: 15px; }
.go-sec--modes { background: var(--go-deep); }
.go-sec--modes .go-head h2 { color: #fff; }
.go-sec--modes .go-head p { color: rgba(255, 255, 255, .75); }
.go-cards--dark .go-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); box-shadow: none; }
.go-cards--dark .go-card h3 { color: #fff; }
.go-cards--dark .go-card p { color: rgba(255, 255, 255, .78); }

/* Équipes */
.go-teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.go-team { position: relative; overflow: hidden; text-align: center; padding: 24px 20px; border-radius: 22px; color: #fff; background: linear-gradient(160deg, var(--team), color-mix(in srgb, var(--team) 60%, #000)); }
.go-team img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .3)); }
.go-team h3 { margin: 6px 0 2px; font-size: 22px; color: #fff; }
.go-team__leader { display: inline-block; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); margin-bottom: 8px; }
.go-team p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .92); }

/* 10 ans */
.go-sec--history { background: #fff; }
.go-history { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 14px; }
.go-history::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 4px; border-radius: 2px; background: linear-gradient(var(--go-sky), var(--go-blue)); }
.go-history li { position: relative; display: flex; gap: 16px; align-items: baseline; }
.go-history li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--go-blue); }
.go-history b { flex: none; width: 52px; font-size: 18px; color: var(--go-blue); }
.go-history span { color: var(--go-ink); line-height: 1.55; }

/* Actus */
.go-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.go-news__item { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 4px 14px rgba(13, 59, 122, .06); transition: transform .2s ease; }
.go-news__item:hover { transform: translateY(-3px); }
.go-news__img { aspect-ratio: 16 / 9; background: #DDEBF5; overflow: hidden; }
.go-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.go-news__date { font-size: 12px; color: var(--go-muted); padding: 12px 14px 0; }
.go-news__item b { padding: 4px 14px 16px; font-size: 15px; line-height: 1.35; }

/* Pokédex GO + guides (hub) */
.go-sec--dex { background: linear-gradient(160deg, #E4F5FC, #F2F8FC); }
.go-dexbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.go-dexbox h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 8px; }
.go-dexbox p { color: var(--go-muted); line-height: 1.6; margin: 0 0 16px; }
.go-dexsearch { display: flex; gap: 8px; flex-wrap: wrap; }
.go-dexsearch input { flex: 1 1 200px; padding: 12px 16px; border: 1px solid var(--go-line); border-radius: 999px; font-size: 15px; }
.go-dexsearch button { border: 0; cursor: pointer; }
.go-dexspot { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.go-dexspot a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px; border-radius: 18px; background: #fff; text-decoration: none; color: var(--go-ink); text-align: center; box-shadow: 0 4px 14px rgba(13, 59, 122, .08); transition: transform .15s ease; }
.go-dexspot a:hover { transform: translateY(-3px); }
.go-dexspot img { width: 80px; height: 80px; object-fit: contain; }
.go-dexspot b { font-size: 14px; }
.go-dexspot span { font-size: 12px; color: var(--go-muted); }
.go-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.go-guide { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 4px 14px rgba(13, 59, 122, .07); transition: transform .2s ease; }
.go-guide:hover { transform: translateY(-4px); }
.go-guide__img { aspect-ratio: 16 / 9; overflow: hidden; background: #DDEBF5; }
.go-guide__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.go-guide__num { padding: 12px 16px 0; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--go-teal); }
.go-guide b { padding: 2px 16px 0; font-size: 17px; line-height: 1.3; }
.go-guide__excerpt { padding: 6px 16px 18px; font-size: 14px; color: var(--go-muted); line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .go-cards, .go-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .go-hero__inner, .go-season, .go-dexbox { grid-template-columns: minmax(0, 1fr); }
  .go-phone { width: 200px; height: 380px; margin: 0 auto; }
  .go-phone__mon { width: 100px; height: 100px; }
  .go-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .go-teams { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .go-sec { padding: 44px 0; }
  .go-hero { padding: 34px 0 60px; }
  .go-hero__lead { font-size: 16px; }
  .go-cards, .go-news { grid-template-columns: minmax(0, 1fr); }
  .go-event { grid-template-columns: 44px minmax(0, 1fr); }
  .go-event__icon { width: 44px; height: 44px; font-size: 20px; }
  .go-event__more { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .go * { animation: none !important; transition: none !important; }
}
