/* Horus AIS — styles communs. Un seul fichier pour toutes les pages. */
:root {
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.45);
  --bg: #050505;
  --text: #e8e0d0;
  --muted: #a89f8c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: var(--gold); text-decoration: none; }
img { max-width: 100%; display: block; }

nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 1.5rem;
  background: rgba(5, 5, 5, 0.85);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
nav.top .brand { display: flex; align-items: center; gap: 0.6rem; }
nav.top .brand img { width: 64px; height: 64px; border-radius: 50%; }
nav.top .brand span {
  color: var(--gold); letter-spacing: 0.18em;
  font-size: 0.95rem; text-transform: uppercase;
}
nav.top ul { display: flex; gap: 1.4rem; list-style: none; }
nav.top ul a {
  color: var(--muted); font-size: 0.92rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
nav.top ul a:hover,
nav.top ul a.current { color: var(--gold); }
@media (max-width: 640px) { nav.top ul { display: none; } }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}
.hero.cosmos {
  background:
    linear-gradient(rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0.85)),
    url("fond_cosmos_1920x1080.jpg") center / cover no-repeat;
}
.hero.presentatio {
  min-height: 70vh;
  background:
    linear-gradient(rgba(5, 5, 5, 0.6), rgba(5, 5, 5, 0.92)),
    url("fond_presentatio_1920x1080.jpg") center / cover no-repeat;
}
.hero.contact-bg {
  min-height: 70vh;
  background:
    linear-gradient(rgba(5, 5, 5, 0.65), rgba(5, 5, 5, 0.92)),
    url("fond_contact_1920x1080.jpg") center / cover no-repeat;
}
.hero.logo-bg {
  min-height: 50vh;
  background:
    linear-gradient(rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0.88)),
    url("logo_text_1920x1080.jpg") center / cover no-repeat;
}
.hero .logo-wrap {
  position: relative;
  width: min(680px, 90vw);
  margin-bottom: 1.5rem;
  cursor: pointer;
}
.hero .logo-wrap img {
  width: 100%; height: auto; border-radius: 4px;
}
#dust-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 5;
}
.hero h1 {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
  margin-bottom: 0.8rem;
}
.hero .tagline { color: var(--muted); max-width: 520px; margin-bottom: 2rem; }
.actions { display: flex; flex-direction: column; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero .actions {
  position: absolute;
  left: 50%;
  bottom: 4.5rem;
  transform: translateX(-50%);
  z-index: 20;
  margin: 0;
  width: max-content;
  max-width: 90vw;
}

.hero.contact-bg .actions {
  width: min(520px, 90vw);
}
.hero.contact-bg .btn {
  width: 100%;
}
.hero.logo-bg .actions {
  width: min(520px, 90vw);
}
.hero.logo-bg .btn {
  width: 100%;
}
.hero.liens .liens-center {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  z-index: 20;
  width: min(520px, 90vw);
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}
.hero.liens .liens-center .actions {
  position: static;
  transform: none;
  left: auto;
  bottom: auto;
  width: 100%;
}

.hero.liens .liens-center .btn {
  width: 100%;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.7rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold); font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(5, 5, 5, 0.35);
  backdrop-filter: blur(2px);
}
.btn:hover { background: rgba(212, 175, 55, 0.18); }
.btn.primary { background: rgba(212, 175, 55, 0.22); }
.scroll-hint {
  position: absolute; bottom: 1.5rem;
  color: #5a5348; font-size: 0.7rem; letter-spacing: 0.2em;
}

section { padding: 5rem 1.5rem; }
.wrap { max-width: 1000px; margin: 0 auto; }
.wrap.narrow { max-width: 640px; }
.section-title {
  color: var(--gold); font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; font-size: 1.1rem; margin-bottom: 0.6rem;
}
.section-sub { color: var(--muted); margin-bottom: 2.5rem; max-width: 600px; }

.about {
  min-height: 80vh;
  display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.55) 55%, rgba(5, 5, 5, 0.25) 100%),
    url("hero_1920x1080.jpg") right center / cover no-repeat;
}
.about .wrap { max-width: 560px; }
.about h1, .about h2 {
  color: var(--gold); font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 1rem; margin-bottom: 1rem;
}
.about p { color: var(--muted); margin-bottom: 0.9rem; }
.about ul { list-style: none; }
.about li {
  color: #d8d0c2; padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
}
.about li::before {
  content: "\25B6"; position: absolute; left: 0;
  color: var(--gold); font-size: 0.7rem; top: 0.55rem;
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.card {
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1.6rem 1.4rem; background: rgba(10, 10, 10, 0.55);
}
.card h3 {
  color: var(--gold); font-size: 0.95rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem;
}
.card p { color: var(--muted); font-size: 0.88rem; }
.card .price { color: var(--text); font-size: 0.82rem; margin-top: 0.8rem; }
.card .price span { color: var(--gold); }

.particuliers, .prestations {
  background:
    linear-gradient(rgba(5, 5, 5, 0.75), rgba(5, 5, 5, 0.92)),
    url("fond_presentatio_1920x1080.jpg") center / cover no-repeat;
}
.pros {
  background:
    linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.95)),
    url("fond_cosmos_1920x1080.jpg") center / cover no-repeat;
}
.tarifs { background: #050505; }
.table-wrap { overflow-x: auto; border: 1px solid rgba(212, 175, 55, 0.15); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.9rem 1.2rem; border-bottom: 1px solid #1a1a1a; }
th { color: var(--gold); font-weight: 400; text-transform: uppercase; font-size: 0.78rem; }
td { color: #d8d0c2; }
.note { color: #5a5348; font-size: 0.78rem; margin-top: 1.2rem; }

.cta { text-align: center; background: #030303; }
.page-body { padding: 7rem 1.5rem 4rem; text-align: center; }
.block { margin-bottom: 1.6rem; }
.block h2 {
  color: var(--gold); font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 400; margin-bottom: 0.5rem;
}
.block p { color: var(--muted); margin-bottom: 0.5rem; }

a.row {
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  padding: 0.95rem 1rem; margin-bottom: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem;
  text-align: center;
}
a.row:hover { background: rgba(212, 175, 55, 0.08); }

footer {
  background: #030303;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  padding: 2rem 1.5rem; text-align: center;
}
footer .links {
  display: flex; gap: 1.2rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 1rem;
}
footer .links a {
  color: #5a5348; font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
footer .links a:hover { color: var(--gold); }
footer .copy { color: #3a3530; font-size: 0.7rem; }

/* Mentions légales uniquement */
body.mentions .page-body,
body.mentions .block p {
  font-size: 1.125rem;
}
body.mentions .block h2 {
  font-size: 0.95rem;
}
body.mentions .btn {
  font-size: 1rem;
}
body.mentions footer .links a {
  font-size: 0.9rem;
}
body.mentions footer .copy {
  font-size: 0.8rem;
}
/* Liens uniquement */
body.liens .tagline {
  font-size: 1.125rem;
}
body.liens .btn {
  font-size: 1rem;
}
body.liens footer .links a {
  font-size: 0.9rem;
}
body.liens footer .copy {
  font-size: 0.8rem;
}
/* Contact uniquement */
body.contact .page-body {
  font-size: 1.125rem;
}
body.contact .btn {
  font-size: 1rem;
}
body.contact footer .links a {
  font-size: 0.9rem;
}
body.contact footer .copy {
  font-size: 0.8rem;
}

/* Prestations uniquement */
body.page-prestations .section-sub,
body.page-prestations .card p,
body.page-prestations .note {
  font-size: 1.125rem;
}
body.page-prestations .card h3 {
  font-size: 1.05rem;
}
body.page-prestations th,
body.page-prestations td {
  font-size: 1rem;
}
body.page-prestations .btn {
  font-size: 1rem;
}
body.page-prestations footer .links a {
  font-size: 0.9rem;
}
body.page-prestations footer .copy {
  font-size: 0.8rem;
}
/* À propos uniquement */
body.page-apropos .about p,
body.page-apropos .about li {
  font-size: 1.125rem;
}
body.page-apropos .about h1 {
  font-size: 1.15rem;
}
body.page-apropos .btn {
  font-size: 1rem;
}
body.page-apropos footer .links a {
  font-size: 0.9rem;
}
body.page-apropos footer .copy {
  font-size: 0.8rem;
}

/* Accueil uniquement */
body.page-accueil .tagline {
  font-size: 1.125rem;
}
body.page-accueil .btn {
  font-size: 1rem;
}
body.page-accueil footer .links a {
  font-size: 0.9rem;
}
body.page-accueil footer .copy {
  font-size: 0.8rem;
}
@media (max-width: 640px) {
  .hero .actions {
    bottom: 3.5rem;
    gap: 0.6rem;
  }
  .hero.liens .liens-center {
    top: 34%;
  }
  .btn {
    padding: 0.7rem 1.1rem;
    font-size: 0.75rem;
  }
}
