/* ============================================================
   YASIMAOUS — Location événementielle
   Charte graphique & composants partagés
   ============================================================ */

:root {
  --night:    #12161E;   /* fond sombre, header, footer */
  --gold:     #C4902A;   /* accent principal */
  --gold-lt:  #D9A94A;   /* accent hover */
  --pearl:    #F5F0E8;   /* fond de page */
  --linen:    #EAE3D5;   /* fonds de cartes / sections alternées */
  --stone:    #3D3530;   /* texte principal */
  --mist:     #7A6A5A;   /* texte secondaire */
  --line:     #CEC5B5;   /* bordures */

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --wrap: 1140px;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--pearl);
  color: var(--stone);
  line-height: 1.55;
  font-size: 16px;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 600;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
  letter-spacing: 0.02em;
}
.btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--outline-dark {
  background: transparent;
  color: var(--stone);
  border-color: var(--line);
}
.btn--outline-dark:hover { border-color: var(--stone); }
.btn:active { transform: translateY(1px); }

/* ---------- Label / eyebrow ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.6em;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--night);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo inline */
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.logo-mark circle { fill: rgba(196,144,42,0.15); }
.logo-mark path { stroke: var(--gold); }
.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1;
}
.logo-tag {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
}
.nav a { color: rgba(255,255,255,0.75); }
.nav a:hover { color: #fff; }
.nav a.nav--cta {
  color: var(--gold);
  border: 1px solid rgba(196,144,42,0.4);
  padding: 8px 18px;
  border-radius: 4px;
}
.nav a.nav--cta:hover { background: rgba(196,144,42,0.12); }

/* Burger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: #fff;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--night);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand .logo-name { font-size: 1.4rem; color: #fff; }
.footer__desc { margin-top: 12px; font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer__heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   HERO (accueil)
   ============================================================ */
.hero {
  background: var(--night);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
/* Motif grille dorée subtile */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,144,42,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,144,42,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}
/* Dégradé de fondu sur les bords */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, var(--night) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero__title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero__title em {
  font-style: normal;
  color: var(--gold);
}
.hero__lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Ruban sous le hero */
.ribbon {
  background: var(--gold);
  color: var(--night);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 13px 24px;
  flex-wrap: wrap;
}
.ribbon__sep { opacity: 0.4; }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: 72px 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--pearl);
  padding: 40px 32px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--night);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__num span { color: var(--gold); }
.stat__label { font-size: 0.88rem; color: var(--mist); }

/* ============================================================
   CATÉGORIES
   ============================================================ */
.categories { padding: 0 0 80px; }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-top: 4px; }
.section-head p { color: var(--mist); margin-top: 10px; max-width: 480px; }

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--linen);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.18s, border-color 0.18s;
  cursor: default;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.cat-card__icon {
  width: 44px;
  height: 44px;
  background: var(--night);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.cat-card__icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; }
.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.cat-card p { font-size: 0.88rem; color: var(--mist); line-height: 1.55; }

/* ============================================================
   PROCESSUS
   ============================================================ */
.process { background: var(--night); padding: 80px 0; }
.process .section-head h2 { color: #fff; }
.process .section-head p { color: rgba(255,255,255,0.5); }
.process .eyebrow { color: var(--gold); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.process__grid::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(16% + 20px);
  right: calc(16% + 20px);
  height: 1px;
  background: linear-gradient(90deg, rgba(196,144,42,0.4), rgba(196,144,42,0.4));
}
.process-step { text-align: center; padding-top: 8px; }
.process-step__num {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--night);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.process-step h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
}
.process-step p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--linen); padding: 72px 0; border-top: 1px solid var(--line); }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); }
.cta-band p { color: var(--mist); margin-top: 6px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.page-hero {
  background: var(--night);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,144,42,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,144,42,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-top: 6px; }
.page-hero p { color: rgba(255,255,255,0.55); margin-top: 10px; max-width: 480px; font-size: 1rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  padding: 72px 0 96px;
  align-items: start;
}
.contact-form-section h2 {
  font-size: 1.5rem;
  margin-bottom: 28px;
}

/* Formulaire */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--stone);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--stone);
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; cursor: pointer; }

.form__note { font-size: 0.82rem; color: var(--mist); }
.form__status { font-size: 0.82rem; min-height: 1.2em; }
.form__status[data-ok] { color: #3B6D11; }
.form__status[data-err] { color: #A32D2D; }

/* Infos pratiques */
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.info-card {
  background: var(--linen);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.info-card__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}
.info-card p { font-size: 0.92rem; color: var(--stone); line-height: 1.7; }
.info-card a { border-bottom: 1px solid var(--line); }
.info-card a:hover { color: var(--gold); border-color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .process__grid::before { display: none; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--night);
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .site-header { position: relative; }

  .stats__grid,
  .process__grid,
  .categories__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .ribbon { gap: 12px; font-size: 0.7rem; }
}

/* ===== À PROPOS ===== */
.about {
  background: var(--night);
  padding: 88px 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.about__left h2 {
  font-size: 1.2rem;
  color: black;
  line-height: 1.15;
  margin-bottom: 28px;
}

.about__line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.about__right p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.97rem;
  margin-top: 32px;
}

.about__quote {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(196, 144, 42, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: black;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 760px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__left h2 {
    font-size: 1.9rem;
  }
}

/* ===== SÉLECTEUR DE LANGUE ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.lang-btn.active {
  color: var(--gold);
}