/* ===== Variables ===== */
:root {
  --noir: #0d0d0d;
  --blanc-casse: #f2efe9;
  --anthracite: #242322;
  --accent: #cdbfa0;
  --font-titre: 'Cormorant Garamond', serif;
  --font-texte: 'Jost', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--noir);
  color: var(--blanc-casse);
  font-family: var(--font-texte);
}

body.nav-open {
  overflow: hidden;
  height: 100vh;
}

/* ===== Page d'entrée (index.html) ===== */
.entry-body {
  height: 100dvh;
  overflow: hidden;
  position: fixed;
  inset: 0;
}

.entry-hero {
  position: relative;
  width: 100%;
  height: 100%;
}

.entry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: grayscale(20%);
}

.entry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.35) 55%, rgba(13,13,13,0.85) 100%);
}

.entry-content {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 0 1.5rem;
  text-align: center;
}

.entry-tagline {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--blanc-casse);
  max-width: 320px;
}

.entry-btn {
  text-decoration: none;
  color: var(--blanc-casse);
  font-family: var(--font-texte);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.9rem 2.8rem;
  border: 1px solid var(--accent);
  transition: background 0.4s ease, color 0.4s ease;
}

.entry-btn:hover,
.entry-btn:active {
  background: var(--accent);
  color: var(--noir);
}

@media (min-width: 768px) {
  .entry-tagline { font-size: 2.1rem; max-width: 500px; }
  .entry-btn { font-size: 0.9rem; padding: 1rem 3.2rem; }
}

/* ===== Redirection (menu flouté) ===== */
.landing-body {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  position: fixed;
  inset: 0;
}

.landing-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(35px);
  transform: scale(1.15);
}

.landing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.landing-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  gap: 4rem;
}

.landing-logo {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: 2.2rem;
  letter-spacing: 0.4em;
  color: var(--blanc-casse);
  text-align: center;
  text-transform: uppercase;
}

.landing-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  width: 100%;
}

.landing-link {
  position: relative;
  text-decoration: none;
  color: rgba(242, 239, 233, 0.75);
  font-family: var(--font-texte);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.landing-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s ease, left 0.4s ease;
}

.landing-link:active,
.landing-link:hover {
  color: var(--blanc-casse);
  letter-spacing: 0.4em;
}

.landing-link:active::after,
.landing-link:hover::after {
  width: 100%;
  left: 0;
}

@media (min-width: 768px) {
  .landing-logo { font-size: 2.8rem; }
  .landing-menu { gap: 2rem; }
  .landing-link { font-size: 0.85rem; }
}

/* ===== Header (pages internes) ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  z-index: 200;
  background: linear-gradient(to bottom, rgba(13,13,13,0.75), transparent);
}

.site-logo {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  letter-spacing: 0.25em;
  color: var(--blanc-casse);
  text-decoration: none;
  text-transform: uppercase;
}

/* ===== Burger ===== */
.burger {
  width: 28px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 210;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--blanc-casse);
  transition: transform 0.35s ease, opacity 0.35s ease, top 0.35s ease;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

.burger.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ===== Menu plein écran ===== */
.fullscreen-nav {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.fullscreen-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-link {
  text-decoration: none;
  color: rgba(242, 239, 233, 0.8);
  font-family: var(--font-texte);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 1rem;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
  letter-spacing: 0.4em;
}

/* ===== Hero (accueil) ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0.55) 100%);
}

.hero-text {
  position: absolute;
  bottom: 3rem;
  left: 0;
  width: 100%;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-text h1 {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.3;
  color: var(--blanc-casse);
}

/* ===== Intro (accueil) ===== */
.intro {
  padding: 3.5rem 1.5rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.intro p {
  font-family: var(--font-texte);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(242, 239, 233, 0.85);
}

/* ===== Titre de page (Photo, Vidéo, Contact) ===== */
.page-title {
  padding: 7rem 1.5rem 2rem;
  text-align: center;
}

.page-title h1 {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blanc-casse);
}

.page-subtitle {
  font-family: var(--font-texte);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(242, 239, 233, 0.65);
  max-width: 480px;
  margin: 1rem auto 0;
}

/* ===== Galerie ===== */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0 0.5rem 3rem;
}

.gallery-item {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  cursor: pointer;
  filter: grayscale(15%);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  filter: grayscale(0%);
}

/* ===== Lightbox (photo) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--blanc-casse);
  cursor: pointer;
  line-height: 1;
  z-index: 310;
}

/* ===== Vidéo — message en préparation ===== */
.video-soon {
  max-width: 480px;
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}

.video-soon-text {
  font-family: var(--font-texte);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(242, 239, 233, 0.8);
}

/* ===== Contact ===== */
.contact-section {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(242, 239, 233, 0.25);
  color: var(--blanc-casse);
  font-family: var(--font-texte);
  font-weight: 300;
  font-size: 0.95rem;
  padding: 0.7rem 0.2rem;
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(242, 239, 233, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-submit {
  margin-top: 1rem;
  align-self: center;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--blanc-casse);
  font-family: var(--font-texte);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-submit:hover {
  background: var(--accent);
  color: var(--noir);
}

.contact-direct {
  margin-top: 3rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 1rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: rgba(242, 239, 233, 0.8);
  transition: color 0.3s ease, transform 0.3s ease;
  flex: 1 1 30%;
  min-width: 90px;
}

.contact-row:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.contact-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-text {
  font-family: var(--font-texte);
  font-weight: 300;
  letter-spacing: 0.03em;
  font-size: 0.78rem;
  text-align: center;
  word-break: break-word;
}

@media (min-width: 768px) {
  .hero-text h1 { font-size: 3.2rem; }
  .intro p { font-size: 1.1rem; }
  .site-logo { font-size: 1.5rem; }
  .page-title h1 { font-size: 2.6rem; }
  .page-subtitle { font-size: 1rem; }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 0 1.5rem 4rem;
  }
  .contact-text { font-size: 0.9rem; }
  .video-soon-text { font-size: 1.1rem; }
}