/* ═══════════════════════════════════════════════════════════════
   base.css — Reset, body, fond géométrique, header, container
   ═══════════════════════════════════════════════════════════════ */

/* ─── RESET ─────────────────────────────────────────────────── */
.sidra-form-wrapper, .sidra-form-wrapper *{ margin: 0; padding: 0; box-sizing: border-box; }

.sidra-form-wrapper{ scroll-behavior: smooth; }

.sidra-form-wrapper{
  font-family: 'Outfit', sans-serif;
  background:  var(--bg);
  color:       var(--ink);
  min-height:  100vh;
  overflow-x:  hidden;
  transition:  background 0.35s ease, color 0.35s ease;
}

/* ─── FOND RADIAL (décoratif — s'adapte au thème via tints) ─── */
.sidra-form-wrapper::before{
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, var(--emerald-tint-05) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, var(--gold-tint-06)    0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ─── HEADER ────────────────────────────────────────────────── */
.sidra-form-wrapper .header-band{
  background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald) 50%, var(--emerald-light) 100%);
  padding: 2.5rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Décoration subtile : halos dorés statiques (pas de motif répété) */
.sidra-form-wrapper .header-band::before{
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%,  rgba(232,213,154,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 100%, rgba(201,168,76,0.08)  0%, transparent 60%);
  pointer-events: none;
}

/* Arrondi bas — couleur du body courant (light/dark) */
.sidra-form-wrapper .header-band::after{
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 24px;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  transition: background 0.35s ease;
}

/* Enfants du header au-dessus du halo */
.sidra-form-wrapper .header-band > *{ position: relative; z-index: 1; }

.sidra-form-wrapper .header-bismillah{
  font-family: 'Amiri', serif;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}

.sidra-form-wrapper .header-logo{
  font-family: 'Cormorant Garamond', 'Amiri', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2.6rem;
  color: var(--gold-light);
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.sidra-form-wrapper .header-subtitle{
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── CONTAINER ─────────────────────────────────────────────── */
.sidra-form-wrapper .container{
  max-width: 680px;
  margin: -1rem auto 3rem;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}
.sidra-form-wrapper .container.flush-top{ margin-top: 1.5rem; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.sidra-form-wrapper .footer{
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.sidra-form-wrapper .footer a{
  color: var(--emerald-accent);
  text-decoration: none;
}

/* ─── SECTIONS ─────────────────────────────────────────────── */
.sidra-form-wrapper .section{ display: none; }
.sidra-form-wrapper .section.visible{ display: block; }

/* ─── HEADINGS ──────────────────────────────────────────────── */
.sidra-form-wrapper h1,
.sidra-form-wrapper h2{ line-height: 1.15; letter-spacing: 0.01em; }
.sidra-form-wrapper h3{ line-height: 1.2; }

/* ─── RESPONSIVE HEADER ─────────────────────────────────────── */
@media (max-width: 480px) {
  .sidra-form-wrapper .header-logo{ font-size: 2rem; }
}
