:root {
  --bg:#0b0b0f;
  --bg-alt:#12121a;
  --text:#ececec;
  --muted:#bfbfbf;
  --gold:#f4b41a;
  --accent:#f7941d;
  --border:#242433;
  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.35);
}

/* RESET */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  scroll-behavior:smooth;
  overflow-x:hidden;
}
.container{width:min(1200px,92%);margin-inline:auto}

/* HEADER MODERNE */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(10,10,15,0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.header.scrolled {
  background: rgba(10,10,15,0.9);
  box-shadow: 0 2px 15px rgba(0,0,0,0.4);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand__logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  transition: transform .3s;
}
.brand__logo:hover { transform: scale(1.05); }

/* NAVIGATION */
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color .3s;
  padding: 4px 8px;
}
.nav a:hover { color: var(--gold); }

/* BURGER MENU */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .4rem;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
}

/* MENU MOBILE ANIMÉ */
@media(max-width:900px){
  .nav {
    position:fixed;
    top:0;right:-100%;
    width:75%;
    height:100vh;
    background:rgba(15,15,20,0.95);
    backdrop-filter:blur(12px);
    border-left:1px solid rgba(255,255,255,0.05);
    box-shadow:-5px 0 15px rgba(0,0,0,0.4);
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:2rem;
    z-index:999;
    transition:right .45s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .nav.open { right:0; }

  .nav a {
    font-size:1.2rem;
    font-weight:500;
    letter-spacing:.5px;
    text-transform:uppercase;
    opacity:0;
    transform:translateY(20px);
    animation:slideIn .4s forwards;
  }
  .nav.open a:nth-child(1){animation-delay:.1s}
  .nav.open a:nth-child(2){animation-delay:.2s}
  .nav.open a:nth-child(3){animation-delay:.3s}
  .nav.open a:nth-child(4){animation-delay:.4s}
  .nav.open a:nth-child(5){animation-delay:.5s}
  .nav.open a:nth-child(6){animation-delay:.6s}
  @keyframes slideIn { to {opacity:1;transform:translateY(0);} }

  .nav__toggle {display:flex;position:relative;z-index:1000;}
  .nav__toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
  .nav__toggle.active span:nth-child(2){opacity:0;}
  .nav__toggle.active span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px);}
}

/* HERO */
.hero {
  height:100vh;
  background-size:cover !important;
  background-position:center !important;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:#fff;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.85));
}
.hero__content {
  position:relative;z-index:2;
  padding:2rem;max-width:850px;
}
.hero__content h1 {
  font-family:"Playfair Display",serif;
  font-size:clamp(2rem,4vw,3.4rem);
  margin-bottom:.8rem;
}
.hero__content p {
  color:var(--muted);
  font-size:clamp(1rem,2vw,1.25rem);
  margin-bottom:1.5rem;
}

/* FADE-IN */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.4s ease forwards;
}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* SECTIONS */
.section {padding:80px 0;border-top:1px solid var(--border);}
.section--alt {background:var(--bg-alt);}
.section__title {
  font-family:"Playfair Display",serif;
  text-align:center;
  font-size:clamp(1.6rem,3vw,2.2rem);
  color:#fff;margin:0 0 10px;
}
.section__desc {
  text-align:center;color:var(--muted);
  margin:0 auto 30px;max-width:700px;
}

/* FORM */
.form {
  max-width:900px;margin:10px auto 0;
  background:#14141d;border:1px solid var(--border);
  padding:24px;border-radius:var(--radius);
  box-shadow:var(--shadow);
  text-align:center;
}
.form__row {
  display:grid;grid-template-columns:1fr 1fr;gap:16px;
}
.form input,.form select,.form textarea {
  width:100%;padding:12px 14px;border-radius:12px;
  border:1px solid var(--border);
  background:#0f0f16;color:var(--text);
}
.form input:focus,.form select:focus,.form textarea:focus {
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(244,180,26,.15);
}
textarea {resize:vertical;}
.btn {
  display:inline-block;
  padding:.9rem 2rem;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  border:0;
  background:linear-gradient(135deg,var(--gold),var(--accent));
  color:#111;
  margin-top:20px;
  cursor:pointer;
  box-shadow:var(--shadow);
  transition:all .3s ease;
}
.btn:hover {filter:brightness(1.1);transform:translateY(-2px);}
.form__privacy {
  font-size:.85rem;color:var(--muted);
  margin-top:14px;text-align:center;
}

/* FOOTER */
.footer {
  border-top:1px solid var(--border);
  background:#0a0a0e;
  padding:40px 0 10px;
  text-align:center;
}
.footer__inner {
  display:flex;flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:20px;
  margin-bottom:10px;
}
.footer__inner p {margin:0;font-size:.95rem;color:var(--muted);}
.footer__links a {
  color:var(--muted);
  text-decoration:none;
  margin:0 10px;
  font-weight:500;
  transition:color .3s;
}
.footer__links a:hover {color:var(--gold);}
.footer p:last-child {
  font-size:.85rem;
  color:#777;
  margin-top:15px;
}
.footer p a {
  color:var(--gold);
  text-decoration:none;
  transition:color .3s;
}
.footer p a:hover {color:var(--accent);}

/* CARDS & TILES */
.cards,.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
  margin-top:30px;
}
.card,.tile {
  background:#14141d;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .5s ease, box-shadow .5s ease, filter .5s ease;
}
.card img,.tile img {
  width:100%;
  height:220px;
  object-fit:cover;
  transition:transform .8s ease;
}
.card:hover,.tile:hover {
  transform:translateY(-6px) scale(1.02);
  box-shadow:0 15px 35px rgba(0,0,0,0.5);
  filter:brightness(1.05);
}
.card:hover img,.tile:hover img {transform:scale(1.08);}
.card__body,.tile__body {padding:20px;}
.card__body h3,.tile__body h3 {color:var(--gold);margin:8px 0 6px;}
.card__body p,.tile__body p {color:var(--muted);margin:0 0 10px;}

/* COOKIE BANNER */
.cookie-banner {
  position:fixed;bottom:0;left:0;width:100%;
  background:rgba(20,20,28,.95);color:#eee;
  border-top:1px solid rgba(255,255,255,.1);
  display:none;z-index:9999;
}
.cookie-content {
  max-width:900px;margin:auto;padding:18px;
  display:flex;flex-direction:column;gap:10px;
  align-items:center;text-align:center;
}
.cookie-buttons {
  display:flex;gap:10px;flex-wrap:wrap;justify-content:center;
}
.cookie-buttons button {
  border:0;padding:10px 16px;border-radius:999px;
  font-weight:600;cursor:pointer;
}
#acceptCookies {
  background:linear-gradient(135deg,#f4b41a,#f7941d);
  color:#111;
}
#rejectCookies {
  background:#2a2a3a;color:#eee;
}
.cookie-buttons a {
  color:var(--gold);
  text-decoration:none;
  margin-left:5px;
}

/* TRANSITION ENTRE SECTIONS */
.section {
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(11,11,15,1) 0%, rgba(11,11,15,0) 100%);
}

/* RESPONSIVE */
@media(max-width:760px){
  .form__row{grid-template-columns:1fr;}
  .brand__logo{height:45px;}
  .hero{height:80vh;}
  .hero__content{padding:1.2rem;}
}

/* --- IMAGES RESPONSIVE --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ajustement du hero sur mobile */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    background-position: center top !important;
  }
  .card img, .tile img {
    height: auto;
  }
}

/* === GALERIE SLIDER === */
/* === GALERIE AVEC FONDU === */
.section--gallery {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  text-align: center;
}

.gallery-fade {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0; /* coins droits */
  box-shadow: none;
}

/* Boutons navigation */
.gallery-fade-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  font-size: 2.4rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
  z-index: 10;
}
.gallery-fade-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.1);
}
.gallery-fade-btn.prev { left: 25px; }
.gallery-fade-btn.next { right: 25px; }

/* Responsive */
@media(max-width:900px){
  .gallery-fade { height: 55vh; }
  .gallery-fade-btn { font-size: 2rem; }
}
@media(max-width:600px){
  .gallery-fade { height: 45vh; }
  .gallery-fade-btn { font-size: 1.6rem; }
}

/* === FORMULAIRE DE CONTACT === */
.contact-form {
  background: rgba(20,20,30,0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.form__group {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.6rem;
}

.form__group.full {
  grid-column: 1 / -1;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15,15,22,0.95);
  color: var(--text);
  font-size: 1rem;
  transition: all .3s ease;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244,180,26,0.15);
  outline: none;
}

/* Label flottant */
.form__group label {
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all .3s ease;
}

.form__group input:focus + label,
.form__group input:not(:placeholder-shown) + label,
.form__group textarea:focus + label,
.form__group textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 0.9rem;
  font-size: 0.8rem;
  background: var(--bg-alt);
  padding: 0 6px;
  color: var(--gold);
}

/* Disposition */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form__actions {
  text-align: center;
  margin-top: 1rem;
}

.btn--big {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow);
  transition: all .25s ease;
}
.btn--big:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 760px) {
  .form__row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 1.8rem;
  }
}

/* === BOUTIQUE & PLATEAUX : GRILLE 2x3 === */
/* === BOUTIQUE & PLATEAUX : GRILLE 2x3 === */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

@media (min-width: 1000px) {
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    max-width: 1200px;
    margin-inline: auto;
  }
  .shop-grid .tile {
    aspect-ratio: 4 / 3;
  }
}

/* CARTES PRODUITS */
.tile {
  display: flex;
  flex-direction: column;
  background: #14141d;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .4s ease, box-shadow .4s ease;
}
.tile:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.tile img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.tile:hover img {
  transform: scale(1.06);
}

/* CONTENU SOUS IMAGE */
.tile__body {
  flex: 1;
  padding: 22px 18px 28px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(20,20,25,0.9), rgba(10,10,15,1));
}

.tile__body h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  color: var(--gold);
  font-size: 1.3rem;
}

.tile__body p {
  margin: 0;
  color: #ddd;
  line-height: 1.6;
  font-size: 0.96rem;
}

/* ANIMATION ENTRÉE DOUCE */
.tile.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tile.reveal.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
