:root {
  --b: #3b4a5a;
  --bd: #0b1320;
  --s: #f0ede6;
  --r: #9f3434;
  --g: #486451;
  --t: #1f2933;
  --m: #667085;
  --bo: #d8d1c3;
  --bg: #f7f4ef;
  --w: #fffdf8;
  --rad: 18px;
  --sh: 0 14px 35px rgba(11, 19, 32, 0.1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--t);
  background: var(--bg);
  line-height: 1.65;
}
a {
  color: var(--b);
  font-weight: 700;
}
.container {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
}
.header {
  background: var(--w);
  border-bottom: 1px solid var(--bo);

  top: 0;
  z-index: 10;
}
.head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
}
.brand {
  text-decoration: none;
  color: var(--bd);
  display: grid;
  padding-left: 20px;
}
.brand span {
  font-size: 1.25rem;
  font-weight: 800;
}
.brand small {
  color: var(--m);
  font-weight: 600;
}
.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--bd);
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover {
  background: var(--s);
}
.hero {
  background: radial-gradient(circle at 88% 18%, rgba(196, 167, 103, 0.08), transparent 32%), linear-gradient(135deg, #020812 0%, #1d252d 100%);
  color: white;
  padding: 78px 0;
}
.hero-in {
  max-width: 900px;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.85;
}
.dark {
  color: var(--b);
  opacity: 1;
}
h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 18px;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  background: white;
  color: var(--bd);
  cursor: pointer;
}
.ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.darkbtn {
  background: var(--bd);
  color: white;
}
.section {
  padding: 56px 0;
}
.alt {
  background: var(--s);
}
.card,
.grid article,
.list article,
.cta-card {
  background: white;
  border: 1px solid var(--bo);
  border-radius: var(--rad);
  box-shadow: var(--sh);
}
.card {
  padding: clamp(24px, 5vw, 48px);
}
h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.15;
  color: var(--bd);
  margin-top: 0;
}
h3 {
  color: var(--bd);
  margin-top: 34px;
}
.notice {
  border-left: 5px solid var(--g);
  background: #eef7f1;
  padding: 18px 20px;
  border-radius: 12px;
  margin: 28px 0;
}
.red {
  border-left-color: var(--r);
  background: #fff1f1;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid article,
.list article {
  padding: 24px;
}
.list {
  display: grid;
  gap: 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
}
th,
td {
  border: 1px solid var(--bo);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--s);
  color: var(--bd);
}
.form {
  display: grid;
  gap: 18px;
}
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--bd);
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--bo);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--t);
}
.check input {
  width: auto;
  margin-top: 6px;
}
.cta {
  padding-top: 20px;
}
.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 5vw, 42px);
  background: linear-gradient(180deg, #fffdf8, #f0ede6);
}
.footer {
  background: var(--bd);
  color: white;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 38px 0;
}
.footer p {
  color: rgba(255, 255, 255, 0.82);
}
.footer a {
  color: white;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px;
  color: rgba(255, 255, 255, 0.75);
}

.important-social {
  padding-top: 20px;
}

.important-card {
  border-left: 6px solid var(--r);
}

.important-card h2 {
  color: var(--bd);
}

.important-card h3 {
  margin-top: 24px;
}

/* Hero avec photo officielle — version stephanevoyance.info */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.hero-photo-card {
  margin: 0;
  justify-self: end;
  width: min(360px, 100%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(4px);
}

.hero-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
}

.hero-photo-card figcaption {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
}

/* Palette V8 — registre officiel : anthracite, ivoire, trait laiton discret */
.hero .btn,
.btn.darkbtn {
  box-shadow: 0 10px 24px rgba(11, 19, 32, 0.16);
}

.hero .btn:not(.ghost) {
  background: #f8f5ee;
  color: #0b1320;
}

.card,
.grid article,
.list article,
.cta-card {
  background: #fffdf8;
}

.notice {
  background: #eef4ef;
}

.notice.red,
.red {
  background: #fff3f1;
}

.header {
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(6px);
}

.brand span {
  letter-spacing: -0.01em;
}

/* Alerte prioritaire en haut du hero : aucun réseau social officiel */
.hero-alert {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(196, 167, 103, 0.48);
  background: rgba(255, 243, 225, 0.1);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.hero-alert strong {
  color: #f5d28a;
}

/* Alerte placée après le hero — aucun compte social officiel */
.social-alert-section {
  padding: 28px 0 0;
}

.social-alert-card {
  background: #fffdf8;
  border: 1px solid #d8d1c3;
  border-left: 6px solid #9f3434;
  border-radius: var(--rad);
  box-shadow: var(--sh);
  padding: clamp(22px, 4vw, 36px);
}

.social-alert-card h2 {
  margin-bottom: 12px;
}

.social-alert-card .btn {
  margin-top: 10px;
}

/* Page Mise en garde */
.legal-warning ul {
  padding-left: 1.25rem;
}

.legal-warning li {
  margin: 8px 0;
}

.legal-warning table a {
  word-break: break-word;
}

/* Grille fluide pour 3 ou 4 cartes selon les pages */
.grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Menu responsive hamburger */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--bo);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--bd);
  padding: 9px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle:focus-visible,
.nav a:focus-visible {
  outline: 3px solid rgba(196, 167, 103, 0.55);
  outline-offset: 3px;
}

.menu-toggle-icon {
  display: grid;
  gap: 4px;
  width: 20px;
}

.menu-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--bd);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.header.nav-open .menu-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header.nav-open .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.header.nav-open .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Responsive principal : menu hamburger + mise en page mobile */
@media (max-width: 900px) {
  .container {
    width: min(1120px, calc(100% - 24px));
  }

  .head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
  }

  .brand span {
    font-size: 1.08rem;
  }

  .brand small {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 0 4px;
    border-top: 1px solid var(--bo);
  }

  .header.nav-open .nav,
  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 11px 12px;
  }

  .nav a:hover {
    background: var(--s);
  }

  .hero {
    padding: 54px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo-card {
    justify-self: center;
    width: min(340px, 100%);
  }

  .twocol,
  .footer-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-card {
    align-items: start;
  }

  .social-alert-section {
    padding-top: 20px;
  }
}

/* Ajustement très petit écran */
@media (max-width: 520px) {
  .container {
    width: min(1120px, calc(100% - 20px));
  }

  .menu-toggle-text {
    display: none;
  }

  .menu-toggle {
    padding: 10px;
  }

  .hero {
    padding: 42px 0;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-menu {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 42px 0;
  }
}
