:root {
  --bg-main: #020617;       /* fond très sombre/chic */
  --bg-light: #0f172a;
  --bg-alt: #020617;
  --primary: #eab308;       /* doré pour le côté premium */
  --primary-soft: rgba(234, 179, 8, 0.12);
  --text-main: #f9fafb;
  --text-muted: #cbd5f5;
  --card-bg: rgba(15, 23, 42, 0.9);
  --border-soft: rgba(148, 163, 184, 0.3);
  --error: #f97373;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
}

/* RESET SIMPLE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(234, 179, 8, 0.18), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.16), transparent 60%),
    linear-gradient(to bottom, #020617, #020617 40%, #020617);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER / HERO */
.header {
  padding: 2.5rem 0 2rem;
}

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.branding {
  text-align: center;
  max-width: 650px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
  border-radius: 1.5rem;
  padding: 2.5rem 2rem 2.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(20px);
}

/* LOGO + TITRES */
.logo {
  width: 120px;
  height: auto;
  border-radius: 999px;
  border: 2px solid rgba(234, 179, 8, 0.6);
  padding: 4px;
  background: radial-gradient(circle at top left, #020617, #020617);
  margin-bottom: 1.25rem;
}

.site-title {
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.site-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* BADGES */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.hero-badges span {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
}

/* BOUTONS (HAUT + FORMULAIRE) */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Style de base pour tous les boutons principaux */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;   /* plus petit qu’avant */
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;      /* texte réduit */
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.15s ease,
              box-shadow 0.15s ease,
              background 0.15s ease,
              border-color 0.15s ease;
}

/* Bouton doré premium (utilisé aussi pour "Envoyer ma demande") */
.btn-primary {
  background: linear-gradient(135deg, #fbbf24, #eab308);
  color: #0f172a;
  box-shadow: 0 10px 22px rgba(234, 179, 8, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(234, 179, 8, 0.42);
}

/* On garde .btn-secondary et .btn-outline au cas où, mais tu utilises .btn-primary pour les 3 boutons du haut */
.btn-secondary {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
}

.btn-secondary:hover {
  background: rgba(22, 163, 74, 0.18);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* Le bouton "plein" du formulaire (Envoyer ma demande) */
.btn-full {
  width: 100%;
  margin-top: 0.8rem;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(2, 6, 23, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.nav-inner {
  display: flex;
  justify-content: center;
}

.nav ul {
  list-style: none;
  padding: 0.4rem 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--primary);
}

/* SECTIONS */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(27, 37, 89, 0.8), rgba(15, 23, 42, 1));
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  margin: 0 auto 2.1rem;
  max-width: 620px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* GRID SERVICES */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--card-bg);
  border-radius: 1.2rem;
  padding: 1.4rem 1.3rem 1.3rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.85);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* FORMULAIRE */
.form {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.98);
  padding: 1.8rem 1.6rem 1.7rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.form input,
.form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.6);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.contact-grid p {
  margin: 0.25rem 0;
}

.contact-grid a {
  color: var(--primary);
  text-decoration: none;
}

.contact-grid a:hover {
  text-decoration: underline;
}

/* FOOTER */
.footer {
  padding: 1.4rem 0 1.7rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
}

/* BOUTONS FLOTTANTS */
.fab {
  position: fixed;
  right: 1.2rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  color: #0f172a;
  z-index: 20;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}

.fab-call {
  bottom: 1.2rem;
  background: linear-gradient(135deg, #fbbf24, #eab308);
}

.fab-whatsapp {
  bottom: 4.5rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ecfdf5;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .branding {
    padding: 2rem 1.4rem 1.7rem;
  }

  .site-title {
    font-size: 1.75rem;
  }

  .site-subtitle {
    font-size: 0.8rem;
  }

  .nav ul {
    gap: 0.9rem;
  }

  .fab {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  /* Sur mobile : boutons du haut en pleine largeur */
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }
}
