/* ===== TOKYO CITY — Luxe Dark Japanese Theme ===== */
:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --text: #f0ece2;
  --text-muted: #8a8578;
  --gold: #c9a96e;
  --gold-light: #dfc08a;
  --red: #b33a3a;
  --border: rgba(201,169,110,0.15);
  --font: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width:100%; height:auto; display:block; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 5%;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 2px;
}

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 28px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?w=1600&q=80') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.7) 60%, rgba(10,10,10,1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-subtitle {
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 16px 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-filled {
  background: var(--gold);
  color: var(--bg);
}

.btn-filled:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

/* ===== QUARTIERS GRID ===== */
.quartiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.quartier-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.quartier-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}

.quartier-card:hover img {
  transform: scale(1.08);
}

.quartier-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.1) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition);
}

.quartier-card:hover .quartier-card-overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%);
}

.quartier-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.quartier-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.quartier-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.quartier-card .card-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}

/* ===== FEATURED (large layout) ===== */
.featured-section {
  padding: 0 5% 120px;
}

.featured-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1300px;
  margin: 0 auto 60px;
  min-height: 500px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}

.featured-row.reverse { direction: rtl; }
.featured-row.reverse > * { direction: ltr; }

.featured-img {
  overflow: hidden;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.featured-row:hover .featured-img img {
  transform: scale(1.05);
}

.featured-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.featured-text .section-label { text-align: left; }

.featured-text h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.featured-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 30px;
}

/* ===== REASSURANCE ===== */
.reassurance {
  padding: 80px 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.reassurance-item {
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  transition: var(--transition);
}

.reassurance-item:hover {
  transform: translateY(-4px);
  background: var(--bg-card);
}

.reassurance-icon {
  margin-bottom: 20px;
}

.reassurance-icon svg {
  stroke: var(--gold);
}

.reassurance-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.reassurance-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg { stroke: var(--gold); }

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  filter: grayscale(0.8) contrast(1.1) brightness(0.7);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 5% 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.footer-logo span { color: var(--gold); }

.footer p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links a:hover { color: var(--gold); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes revealFallback {
  to { opacity:1; transform:translateY(0); }
}
.reveal { animation: revealFallback 0.8s ease 0.5s forwards; }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  position: relative;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-header .hero-bg {
  background-position: center;
  background-size: cover;
}

.page-header .hero-overlay {
  background: linear-gradient(to bottom, rgba(10,10,10,0.5), rgba(10,10,10,0.9) 100%);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header-content h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header-content p {
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* ===== QUARTIERS DETAIL ===== */
.quartier-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 5%;
}

.quartier-detail-block {
  margin-bottom: 80px;
}

.quartier-detail-block h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.quartier-detail-block .tag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-block;
}

.quartier-detail-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.quartier-detail-block img {
  border-radius: 8px;
  margin-bottom: 24px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.quartier-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.highlight-item {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}

.highlight-item h5 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ===== ADMIN ===== */
.admin-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.admin-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 50px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.admin-box h1 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 8px;
}

.admin-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.admin-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 14px;
  outline: none;
  transition: var(--transition);
}

.admin-input:focus { border-color: var(--gold); }

.admin-btn {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition);
  margin-bottom: 14px;
}

.admin-btn:hover { background: var(--gold-light); }

.admin-panel { display: none; }

.admin-panel.active { display: block; }

.domain-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.domain-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.domain-btn:hover { background: var(--gold-light); color: var(--bg); }

.admin-toast {
  position: fixed;
  bottom: 30px; right: 30px;
  padding: 14px 24px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.admin-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .featured-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .featured-row.reverse { direction: ltr; }
  .featured-img { height: 300px; }
  .featured-text { padding: 40px 30px; }
  .quartiers-grid { grid-template-columns: repeat(2, 1fr); }
  .reassurance-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-links.open { right: 0; }

  .hamburger { display: flex; }

  .hero { min-height: 600px; }
  .hero-title { font-size: 36px; }

  .quartiers-grid { grid-template-columns: 1fr; }

  .reassurance-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .contact-info-grid { grid-template-columns: 1fr; }

  .featured-text h3 { font-size: 26px; }
  .featured-text { padding: 30px 20px; }

  .section { padding: 80px 5%; }
  .section-title { font-size: 28px; }

  .quartier-highlights { grid-template-columns: 1fr; }

  .quartier-detail-block img { height: 250px; }
}

@media (max-width: 480px) {
  .reassurance-grid { grid-template-columns: 1fr; }
  .logo { font-size: 22px; }
}
