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

:root {
  --black:   #0D0D0B;
  --white:   #F0EDE6;
  --grey:    #B0ABA3;
  --gold:    #45A8D8;
  --pop:     #E8FF47;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Filigrane aigle retiré du fond de page (était fixe + répété, non voulu) */

nav, section, footer { position: relative; z-index: 1; }
.logo-blue { color: var(--gold); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 2.4rem;
  background: rgba(13,13,11,.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background .4s;
}
nav.scrolled { background: rgba(13,13,11,.97); }
.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: .06em;
  color: var(--white); text-decoration: none;
}
.nav-links { display: flex; list-style: none; }
.nav-links li:not(:last-child) { margin-right: 2rem; }
.nav-links a {
  font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pop);
  text-decoration: none;
  transition: color .25s;
}
.nav-links a:hover { color: var(--white); }

/* BURGER — caché sur desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
  padding: 0; position: relative; z-index: 200;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform .35s ease, opacity .25s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MENU MOBILE PLEIN ECRAN */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  background: var(--black);
  z-index: 150;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 2rem 2.4rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s ease, visibility 0s linear .45s;
  overflow: hidden;
}
.mobile-menu::before {
  content: '';
  position: absolute; top: -25%; right: -25%;
  width: 65%; height: 65%;
  background: radial-gradient(circle, rgba(69,168,216,.14) 0%, transparent 70%);
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .45s ease, visibility 0s linear 0s;
}
.mobile-menu-links {
  list-style: none;
  display: flex; flex-direction: column;
  width: 100%; position: relative; z-index: 1;
}
.mobile-menu-links li { overflow: hidden; }
.mobile-menu-links a {
  font-family: var(--serif);
  font-size: clamp(2rem, 10vw, 3rem);
  font-weight: 700;
  color: var(--pop);
  text-decoration: none;
  display: inline-block;
  padding: .45rem 0;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .5s ease, transform .5s ease, color .25s ease;
}
.mobile-menu.open .mobile-menu-links a { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-menu-links li:nth-child(1) a { transition-delay: .12s; }
.mobile-menu.open .mobile-menu-links li:nth-child(2) a { transition-delay: .2s; }
.mobile-menu.open .mobile-menu-links li:nth-child(3) a { transition-delay: .28s; }
.mobile-menu.open .mobile-menu-links li:nth-child(4) a { transition-delay: .36s; }
.mobile-menu-links a:active { color: var(--white); }
.mobile-menu-links .num {
  font-family: var(--sans);
  font-size: .68rem; font-weight: 500;
  color: var(--gold);
  vertical-align: super;
  margin-right: .7rem;
  letter-spacing: .1em;
}
.mobile-menu-footer {
  position: absolute; bottom: 2rem; left: 2.4rem; right: 2.4rem; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey);
  opacity: 0; transition: opacity .5s ease;
}
.mobile-menu.open .mobile-menu-footer { opacity: 1; transition-delay: .45s; }
@media (min-width: 769px) {
  .mobile-menu { display: none; }
}

/* HERO */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: url('img/hero_b.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.72);
  animation: drift 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift {
  from { transform: scale(1.04) translateX(0); }
  to   { transform: scale(1.08) translateX(-1%); }
}
.hero-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(13,13,11,1) 0%, rgba(13,13,11,.25) 55%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 5rem 2.4rem 5rem;
  max-width: 860px;
}
.hero-eyebrow {
  font-size: .7rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  opacity: 0;
  transition: opacity .8s ease 2.5s;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900; line-height: .95;
  margin-bottom: 1.2rem; color: var(--white);
}
.hero-title em { font-style: italic; color: var(--pop); }
.hero-sub {
  font-size: 1rem; color: rgba(240,237,230,.75);
  max-width: 480px; line-height: 1.7; margin-bottom: 2.4rem;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--pop); color: var(--black);
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding: .85rem 2rem;
  border: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: #d4ea30; transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: .6rem;
  background: transparent; color: var(--white);
  font-family: var(--sans); font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding: .85rem 2rem;
  border: 1px solid rgba(240,237,230,.3); margin-left: 1rem;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(240,237,230,.06); }

/* SCROLL INDICATOR */
.scroll-hint {
  position: absolute; bottom: 2rem; right: 2.4rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--grey); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--grey), transparent);
  animation: lineDown 2s ease-in-out infinite;
}
@keyframes lineDown {
  0%,100% { opacity:.3; transform: scaleY(.5) translateY(-10px); }
  50%      { opacity:1;  transform: scaleY(1) translateY(0); }
}

/* SECTIONS */
section { padding: 7rem 2.4rem; }
.contact-section { padding: 5rem 2.4rem 3rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: .68rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .8rem;
  display: block;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.15;
  color: var(--white); margin-bottom: 1.6rem;
}

/* GALERIE — grille fixe et stable (même rendu garanti sur tous les navigateurs) */
.gallery-section { padding: 0; background: var(--black); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  height: 0;
  padding-top: 125%; /* ratio 4:5, compatible avec tous les navigateurs (contrairement a aspect-ratio) */
}

.gallery-item img,
.gallery-item--video video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(.85);
  transition: transform .6s ease, filter .4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.03);
  filter: brightness(1);
}

/* Légende + voile au survol */
.gallery-item::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(13,13,11,.75) 0%, transparent 45%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item::before {
  content: attr(data-caption);
  position: absolute; left: 1rem; right: 1rem; bottom: .9rem;
  font-family: var(--serif);
  font-size: .95rem; font-style: italic;
  color: var(--white);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 1; pointer-events: none;
}
.gallery-item:hover::before { opacity: 1; transform: translateY(0); }

/* Icône zoom discrète au survol */
.gallery-item .zoom-hint {
  position: absolute; top: .8rem; right: .8rem;
  width: 26px; height: 26px;
  border: 1px solid rgba(240,237,230,.5);
  color: var(--white); font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.85);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 1; pointer-events: none;
}
.gallery-item:hover .zoom-hint { opacity: 1; transform: scale(1); }

/* LIGHTBOX */
.lightbox {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  z-index: 300;
  background: rgba(13,13,11,.97);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
  padding: 4rem 1.5rem 2rem;
}
.lightbox.open {
  opacity: 1; visibility: visible;
  transition: opacity .35s ease, visibility 0s linear 0s;
}
.lightbox-stage {
  max-width: min(90vw, 1000px);
  max-height: 74vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%; max-height: 74vh;
  width: auto; height: auto;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-caption {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--white);
  margin-top: 1.4rem; text-align: center;
}
.lightbox-close {
  position: absolute; top: 1.4rem; right: 1.6rem;
  background: none; border: none; color: var(--white);
  font-size: 2rem; line-height: 1; cursor: pointer;
  transition: color .2s;
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--white);
  font-size: 2.6rem; line-height: 1; cursor: pointer; padding: .5rem 1rem;
  transition: color .2s;
}
.lightbox-nav:hover { color: var(--gold); }
.lightbox-prev { left: .4rem; }
.lightbox-next { right: .4rem; }


/* PHILOSOPHIE / HISTOIRE */
.philo-section { background: var(--black); }
.philo-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.philo-image img { width: 100%; display: block; filter: brightness(.9); }
.philo-image img + img { margin-top: 6px; }
.big-quote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-style: italic; line-height: 1.5;
  color: var(--white);
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold);
  margin-bottom: 1.8rem;
  quotes: none;
}
.philo-text p {
  color: var(--grey); font-size: .95rem; line-height: 1.85;
  margin-bottom: 1.2rem;
}
.philo-text p strong { color: #9DD0EE; font-weight: 500; }

/* SERVICES */
.services-section { background: #111110; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  margin-top: 3.5rem;
}
.service-card {
  background: #111110; padding: 2.4rem;
  position: relative; transition: background .25s;
}
.service-card:hover { background: #181815; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 2.4rem; right: 2.4rem;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured-pop { background: linear-gradient(135deg,#16150F 0%,#1A1810 100%); }
.service-card.featured-blue { background: linear-gradient(135deg,#0E1015 0%,#101318 100%); }
.service-tag {
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem; display: block;
}
.service-name {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  color: var(--white); margin-bottom: .8rem; line-height: 1.25;
}
.service-desc { font-size: .88rem; color: var(--grey); line-height: 1.75; margin-bottom: 1.6rem; }
.service-price {
  font-family: var(--serif); font-size: 1.6rem;
  color: var(--white); margin-bottom: .3rem;
}
.service-card.featured-pop .service-price { color: var(--pop); }
.service-card.featured-blue .service-price { color: var(--gold); }
.service-price span { font-family: var(--sans); font-size: .75rem; color: var(--grey); font-weight: 300; margin-left: .4rem; }
.service-details { list-style: none; margin-bottom: 2rem; }
.service-details li {
  font-size: .82rem; color: var(--grey); padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; gap: .6rem;
}
.service-details li::before { content: '—'; color: var(--gold); flex-shrink: 0; }
.btn-service {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); padding: .65rem 1.2rem;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent; cursor: pointer; font-family: var(--sans);
  transition: all .2s;
}
.btn-service:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* PROCESS */
.process-section { background: var(--black); }
.process-steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 3rem; margin-top: 3.5rem;
}
.step-num {
  font-family: var(--serif); font-size: 3.5rem; font-weight: 900;
  color: rgba(69,168,216,.15); line-height: 1; margin-bottom: .6rem;
}
.step-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.step-desc { font-size: .88rem; color: var(--grey); line-height: 1.75; }

/* CONTACT */
.contact-title em { font-style: italic; color: var(--gold); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--white); font-family: var(--sans);
  font-size: .9rem; padding: .9rem 1.2rem;
  outline: none; transition: border-color .2s;
  width: 100%; border-radius: 0;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--grey); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--gold); }
.contact-form select option { background: #111; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .row { margin-bottom: 1rem; }
.contact-form select,
.contact-form textarea { margin-bottom: 1rem; }
.form-note { font-size: .75rem; color: var(--grey); margin-bottom: 1.2rem; display: block; }

/* TOAST */
.toast {
  position: fixed; top: 1.6rem; left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: var(--black);
  border: 1px solid rgba(232,255,71,.35);
  border-left: 3px solid var(--pop);
  color: var(--white);
  font-family: var(--sans);
  font-size: .82rem; font-weight: 400; letter-spacing: .02em;
  padding: .9rem 1.6rem;
  display: flex; align-items: center; gap: .7rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .45s;
  z-index: 999; pointer-events: none;
  opacity: 0; visibility: hidden;
  white-space: nowrap;
}
.toast::before {
  content: '✓';
  color: var(--pop);
  font-weight: 700;
  font-size: 1rem;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }

/* REVEAL — le texte est visible par défaut. C'est le JS qui, s'il tourne
   correctement, ajoute la classe "js-reveal" sur <html> pour activer
   l'effet d'apparition. Si le JS est bloqué / plante / navigateur trop
   ancien : le contenu reste simplement visible, jamais caché pour toujours. */
.reveal { opacity: 1; transform: none; }
html.js-reveal .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js-reveal .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.4rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  section { padding: 4.5rem 1.4rem; }
  .contact-section { padding: 4.5rem 1.4rem 2.5rem; }
  .toast { white-space: normal; width: calc(100vw - 1.6rem); max-width: 360px; font-size: .78rem; padding: .8rem 1.1rem; gap: .5rem; }
  .hero-content { padding: 4rem 1.4rem 4rem; }
  .philo-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 2rem; }
  .row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #toast {
    background: #000 !important;
    color: #F0EDE6 !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    border-left: 3px solid var(--pop) !important;
    padding: 1rem 1.4rem !important;
    white-space: normal !important;
    max-width: calc(100vw - 2.8rem) !important;
    font-size: .78rem !important;
  }
}
button::-webkit-validation-bubble {
  display: none !important;
}




