/* Playfair Display pour les titres */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');

/* --------- Global --------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Georgia", serif;
  background: #000;           /* fond noir uni */
  color: #eee;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
a { color: inherit; text-decoration: none; }

/* --------- Titres --------- */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #C38C48; /* doré */
  margin-bottom: 12px;
}
h1 {
  font-size: 2.4em;
  position: relative;
  display: inline-block;
}
h1::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 64px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #C38C48, transparent);
}
h2 {
  font-size: 1.2em;
  font-weight: 400;
  color: #a67c52;
  margin-top: 8px;
}

/* --------- Barre de navigation --------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0,0,0,.6);
  border-bottom: 1px solid #1a1a1a;
  backdrop-filter: saturate(120%) blur(6px);
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 32px; height: auto; display: block; }   /* <= icône nav corrigée */
.brand-title { color: #C38C48; letter-spacing: .03em; font-weight: 600; }

.menu { display: flex; gap: 18px; font-size: .95rem; }
.menu a {
  padding: 8px 10px; border-radius: 10px; color: #ddd;
  text-transform: uppercase; letter-spacing: .06em; font-size: .88rem;
  transition: color .3s, background .3s;
}
.menu a:hover, .menu a.active { background: #0f0f0f; color: #fff; }

/* --------- Hero --------- */
.hero {
  padding: 50px 20px 28px;
  text-align: center;
  background: #000; /* sobre, sans halo */
}
.hero .biglogo {
  width: 140px;     /* taille du grand logo en hero */
  height: auto;
  display: block;
  margin: 0 auto 18px;
  opacity: 0;
  animation: fadeIn .9s ease-out 60ms forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* --------- Sections & texte --------- */
section {
  max-width: 800px;
  margin: 40px auto;
  padding: 60px 20px;
  border-top: 1px solid rgba(195,140,72,0.18); /* séparateur doré subtil */
  text-align: center;
}
p { line-height: 1.6; font-size: 1.1em; color: #ddd; }

/* --------- Grille & cartes --------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #0b0b0b;
  border: 1px solid rgba(195,140,72,0.12);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: left;
}
.card h3 { margin: 0 0 10px; color: #f0e6d8; }
.card p { margin: 0; color: #ddd; line-height: 1.55; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.45); }
.badge { display:inline-block; padding:6px 10px; border:1px solid #3a2a18; border-radius:999px; color:#e8cba0; font-size:.88rem; margin-bottom:10px; }

/* --------- Formulaires / CTA --------- */
.form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
input[type="email"], input[type="text"], textarea {
  background: #0e0e0e; border: 1px solid #1b1b1b; color: #fff;
  padding: 12px 14px; border-radius: 12px; min-width: 280px;
}
textarea { min-height: 120px; width: 100%; max-width: 760px; }
.btn {
  background: #C38C48; color: #000; padding: 12px 22px; border-radius: 28px;
  font-weight: bold; display: inline-block;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { background: #A15C2F; color: #fff; transform: translateY(-2px); }
.cta { margin-top: 30px; text-align: center; }

/* --------- Footer --------- */
footer {
  margin-top: 50px;
  font-size: 0.9em;
  color: #777;
  padding-bottom: 20px;
}

/* --------- Responsive --------- */
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .hero .biglogo { width: 120px; }
  h1 { font-size: 2rem; }
  .menu { gap: 10px; }
}
