/*
Theme Name: Japanzon Travel
Description: Thème officiel Japanzon Travel — marketplace de guides et expériences au Japon.
Author: Japanzon Co., Ltd.
Version: 0.1.0
Text Domain: japanzontravel
*/

:root {
  --brand: #FF0000;
  --brand-dark: #C40000;
  --accent: #3EC1F0;
  --ink: #1A1A1A;
  --paper: #FFFFFF;
  --gray: #F5F5F7;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0,0,0,.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-weight: 900; font-size: 1.35rem; letter-spacing: .5px; white-space: nowrap; }
.logo .t { color: var(--brand); }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--brand); }
.btn {
  display: inline-block; background: var(--brand); color: #fff; font-weight: 700;
  padding: 12px 26px; border-radius: 999px; transition: .2s; border: none; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); border: 2px solid #fff; }
.btn.ghost:hover { background: transparent; color: #fff; }
.header-cta { padding: 10px 20px; font-size: .9rem; }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: 86vh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; animation: heroFade 18s infinite; transform: scale(1);
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.05); }
  4% { opacity: 1; }
  33% { opacity: 1; transform: scale(1.12); }
  40% { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.55) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 140px 20px 90px; max-width: 860px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.15; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero p.sub { font-size: clamp(1.05rem, 2vw, 1.35rem); margin: 18px 0 34px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .cta-row .btn { font-size: 1.05rem; padding: 15px 34px; }
.trust { position: relative; z-index: 2; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 46px; font-size: .92rem; font-weight: 600; opacity: .95; }
.trust span::before { content: "✔ "; color: #7CFC9A; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--gray); }
.kicker { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; }
h2.title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; margin: 8px 0 14px; }
.lead { color: #555; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

.grid { display: grid; gap: 22px; margin-top: 44px; }
.grid.cols3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 26px; transition: .25s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.13); }
.card .emoji { font-size: 2.2rem; }
.card h3 { margin: 12px 0 8px; font-size: 1.15rem; font-weight: 800; }
.card p { color: #666; font-size: .95rem; }
.card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--brand); transform: scaleX(0); transition: .25s; transform-origin: left; }
.card:hover::before { transform: scaleX(1); }

.steps { counter-reset: step; }
.step { text-align: center; padding: 10px 18px; }
.step .num {
  counter-increment: step; display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 1.5rem; font-weight: 900;
}
.step .num::before { content: counter(step); }
.step h3 { font-weight: 800; margin-bottom: 8px; }
.step p { color: #666; font-size: .95rem; }

.banner-cta { background: var(--brand); color: #fff; text-align: center; }
.banner-cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 12px; }
.banner-cta p { opacity: .92; max-width: 640px; margin: 0 auto 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #bbb; padding: 54px 0 30px; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid #333; padding-top: 22px; text-align: center; color: #888; }

/* ---------- Catalogue WooCommerce (fiches excursions) ---------- */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; list-style: none; margin: 30px 0 0 !important; padding: 0 !important; }
.woocommerce ul.products li.product { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: .25s; width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.woocommerce ul.products li.product img { width: 100%; height: 190px; object-fit: cover; margin: 0 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.05rem !important; font-weight: 800; padding: 14px 16px 4px !important; }
.woocommerce ul.products li.product .price { color: var(--brand) !important; font-weight: 900; font-size: 1.1rem !important; padding: 0 16px 8px; display: block; }
.woocommerce ul.products li.product .jt-guide-line { color: #777; font-size: .88rem; padding: 0 16px 16px; display: block; }
.woocommerce ul.products li.product .button { display: none !important; }
.woocommerce-breadcrumb, .woocommerce-result-count, .woocommerce-ordering { display: none !important; }

/* ---------- Contenu interne ---------- */
.page-content { padding: 130px 0 80px; }
.page-content h1 { font-size: 2rem; font-weight: 900; margin-bottom: 20px; }

@media (max-width: 760px) {
  .nav { display: none; }
  .hero { min-height: 78vh; }
}
