/* MA FILLE — Galerie d'Art Manga | Style Luxe / Chic */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --card-bg: #161616;
  --text: #f0ede6;
  --text-muted: #8a8578;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --gold-dark: #a68a3a;
  --border: rgba(201,168,76,0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1280px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 5%; }

/* ─── HEADER / NAV ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.logo span { color: var(--text); font-weight: 300; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; 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 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1578632767115-351597cf2477?w=1600') center/cover no-repeat;
  filter: brightness(0.35);
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 5%;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  border: 1px solid var(--gold);
  padding: 8px 20px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 300;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: var(--transition);
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-filled {
  background: var(--gold);
  color: var(--bg);
}

.btn-filled:hover {
  background: var(--gold-light);
  color: var(--bg);
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--text);
  margin-bottom: 16px;
}

.section-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

/* ─── ABOUT / PRÉSENTATION ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.about-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-img::after {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.about-text h3 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 14px;
}

.about-text .btn { margin-top: 20px; }

/* ─── GALLERY / OEUVRES ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 4px;
}

.gallery-overlay span {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── FEATURED / OEUVRE EN VEDETTE ─── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.featured-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.featured-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(201,168,76,0.08);
}

.featured-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.featured-card-info {
  padding: 24px;
}

.featured-card-info h4 {
  font-size: 22px;
  margin-bottom: 6px;
}

.featured-card-info .artist {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.featured-card-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── REASSURANCE ─── */
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.reassurance-item {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
}

.reassurance-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(201,168,76,0.06);
}

.reassurance-icon {
  margin-bottom: 20px;
}

.reassurance-icon svg {
  stroke: var(--gold);
}

.reassurance-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.reassurance-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-block {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg { stroke: var(--gold); }

.contact-info-block h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-info-block p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.5) brightness(0.8) contrast(1.1);
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active { opacity: 1; }

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover { color: var(--gold); }

/* ─── ADMIN ─── */
.admin-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 5%;
}

.admin-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.admin-card h2 {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--gold);
}

.admin-card p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.admin-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.admin-input:focus {
  outline: none;
  border-color: var(--gold);
}

.admin-btn {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 16px;
}

.admin-btn:hover { background: var(--gold-light); }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-panel h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--gold);
}

.admin-panel label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-top: 20px;
}

.domain-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.domain-btn:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.2);
}

/* ─── MOBILE ─── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img img { height: 350px; }
  .about-img::after { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reassurance-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 0;
    border-left: 1px solid var(--border);
    transition: right 0.3s ease;
    z-index: 200;
  }

  .nav-links.open { right: 0; }

  .nav-links li { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links a { font-size: 14px; }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 150;
  }

  .nav-overlay.open { display: block; }

  .hero { min-height: 500px; }
  .hero h1 { font-size: 36px; }

  .section { padding: 60px 0; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-item { aspect-ratio: 2/3; }
  .gallery-overlay { transform: translateY(0); }

  .featured-grid { grid-template-columns: 1fr; }

  .reassurance-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .reassurance-item { padding: 24px 16px; }

  .footer-links { flex-wrap: wrap; gap: 16px; }

  .admin-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .reassurance-grid { grid-template-columns: 1fr; }
}
