/* ============================================================
   Silent Dome — feuille de style globale
   Design : sombre, premium, accent champagne.
   ============================================================ */

:root {
  --bg:        #0a0c11;
  --bg-soft:   #11141c;
  --panel:     #151925;
  --panel-2:   #1b2030;
  --line:      #262c3b;
  --text:      #e9ecf2;
  --muted:     #9aa3b5;
  --muted-2:   #6c7689;
  --gold:      #c9a86a;
  --gold-soft: #e0c995;
  --radius:    16px;
  --maxw:      1160px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typographie ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }

.muted { color: var(--muted); }

.accent { color: var(--gold); }

/* ---------- En-tête / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 17, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,106,0.18), 0 0 18px rgba(201,168,106,0.55);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 100%; height: 1px;
  background: var(--gold);
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.lang:hover { border-color: var(--gold); color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #15110a; font-weight: 600; }
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(80px, 14vh, 150px) 0 clamp(70px, 12vh, 130px);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { margin: 22px 0 26px; }
.hero .lead { font-size: 1.32rem; max-width: 56ch; }
.hero .cta-row { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

/* Dôme de cercles concentriques (motif "ondes de silence") */
.dome {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  width: min(1300px, 130vw);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}
.dome span {
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1px solid rgba(201,168,106,0.16);
  border-radius: 50%;
  animation: ripple 7s ease-out infinite;
}
.dome span:nth-child(1) { width: 16%; height: 16%; animation-delay: 0s; }
.dome span:nth-child(2) { width: 34%; height: 34%; animation-delay: 1s; }
.dome span:nth-child(3) { width: 52%; height: 52%; animation-delay: 2s; }
.dome span:nth-child(4) { width: 70%; height: 70%; animation-delay: 3s; }
.dome span:nth-child(5) { width: 88%; height: 88%; animation-delay: 4s; }

@keyframes ripple {
  0%   { opacity: 0;   transform: scale(0.92); }
  30%  { opacity: 0.8; }
  100% { opacity: 0;   transform: scale(1.08); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 42%, rgba(201,168,106,0.10), transparent 70%);
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .dome span { animation: none; opacity: 0.4; }
}

/* ---------- Sections ---------- */

section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 60ch; margin-bottom: 56px; }
.section-head h2 { margin: 16px 0 18px; }

.bg-soft { background: var(--bg-soft); }

/* ---------- Grilles & cartes ---------- */

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(201,168,106,0.45); background: var(--panel-2); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .ico { font-family: var(--serif); font-size: 2rem; color: var(--gold); margin-bottom: 14px; }

/* Chiffres clés */
.stat .num { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; }
.stat .lbl { color: var(--muted); margin-top: 10px; font-size: 0.98rem; }

/* Étapes numérotées */
.step .n {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  border: 1px solid var(--line);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  margin-bottom: 18px;
}

/* Encadré confidentiel / note */
.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--panel);
  border-radius: 12px;
  padding: 26px 30px;
  color: var(--muted);
}
.note strong { color: var(--text); }

/* ---------- Bandeau CTA ---------- */

.cta-band {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: 22px; }
.cta-band .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Formulaire ---------- */

.form { display: grid; gap: 18px; max-width: 560px; }
.form label { font-size: 0.9rem; color: var(--muted); display: block; margin-bottom: 8px; }
.form input, .form textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form textarea { min-height: 150px; resize: vertical; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info a.mail { color: var(--gold); font-size: 1.15rem; }

/* ---------- Pied de page ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 40px;
  color: var(--muted-2);
  font-size: 0.9rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer-links { display: flex; gap: 26px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------- Révélation au scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  .nav-links.open { max-height: 360px; padding: 14px 28px 22px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero .cta-row .btn { flex: 1; justify-content: center; }
}
