:root {
  --yellow:#ffd200;
  --dark:#1f1f1f;
  --light:#fffdf5;
}

*{box-sizing:border-box;margin:0;padding:0}

html,body{
  width:100%;
  overflow-x:hidden;
  font-family:'Montserrat',sans-serif;
  background:var(--light);
  color:var(--dark);
}

img{max-width:100%;height:auto;display:block}

/* HEADER */
.main-header{
  background:var(--yellow);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 22px;
}
.main-header img{max-height:46px}
.main-nav a{
  margin-left:18px;
  font-weight:600;
  text-decoration:none;
  color:#000;
}
.lang-switch{margin-left:24px;font-weight:700}

/* HERO */
.home-hero{
  background:linear-gradient(135deg,#fff6c8,#ffe066);
  padding:90px 20px;
  text-align:center;
}
.home-hero h1{
  font-family:'Playfair Display',serif;
  font-size:42px;
  margin-bottom:18px;
}
.home-brand-text{
  max-width:780px;
  margin:auto;
  font-size:17px;
  line-height:1.6;
}

/* GAMMES HOME */
.home-gammes{
  max-width:1200px;
  margin:60px auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:36px;
}
.home-gamme-card{
  max-width:320px;
  position:relative;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 18px 35px rgba(0,0,0,.18);
}
.home-gamme-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  color:#fff;
}
.home-gamme-overlay h3{
  font-family:'Playfair Display',serif;
  font-size:26px;
}
.home-gamme-overlay a{
  margin-top:14px;
  background:#000;
  color:#fff;
  padding:12px 28px;
  border-radius:30px;
  text-decoration:none;
  font-weight:700;
}

/* SECTIONS */
.section{
  padding:80px 20px;
  text-align:center;
}
.products{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:32px;
}
.product-card{
  max-width:260px;
  background:#fff;
  padding:24px;
  border-radius:16px;
  box-shadow:0 16px 30px rgba(0,0,0,.08);
}

/* FOOTER */
footer{
  background:#000;
  color:#fff;
  text-align:center;
  padding:24px;
}

/* MOBILE */
@media(max-width:768px){
  .home-hero h1{font-size:30px}
  .home-gamme-card{max-width:90%}
  .main-header img{max-height:36px}
}
/* ================= BOUTON RETOUR EN HAUT ================= */

#backToTop {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #000;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
  transform: translateY(-3px);
  background: var(--yellow);
  color: #000;
}

@media (max-width: 768px) {
  #backToTop {
    width: 42px;
    height: 42px;
    font-size: 16px;
    bottom: 16px;
    right: 16px;
  }
}
/* ================= DISTINCTIONS PREMIUM ================= */

.distinctions-grid {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
}

.distinction-card {
  max-width: 260px;
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 16px 30px rgba(0,0,0,.08);
}

.distinction-card img {
  max-width: 140px;
  margin: 0 auto 18px;
}

.distinction-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 6px;
}

.distinction-year {
  font-size: 13px;
  opacity: .7;
}

/* Mobile */
@media (max-width: 768px) {
  .distinction-card {
    max-width: 90%;
  }
}
/* ================= MICRO-ANIMATIONS PREMIUM ================= */

.fade-up {
  animation: fadeUp .9s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover luxe */
.product-card:hover,
.gamme-card:hover,
.distinction-card:hover {
  transform: translateY(-6px);
  transition: transform .35s ease;
}

/* Boutons */
a.btn-primary,
.home-gamme-overlay a {
  transition: all .3s ease;
}

a.btn-primary:hover,
.home-gamme-overlay a:hover {
  transform: scale(1.05);
}
/* === MENU PRODUITS AVEC SOUS-MENU === */

.nav-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  background: #fff;
  top: 100%;
  left: 0;
  min-width: 240px;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
  display: none;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #ffd200;
}

/* Sous-menu */
.dropdown-sub {
  position: relative;
}

.dropdown-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
  display: none;
}

.dropdown-sub:hover .dropdown-submenu {
  display: block;
}

