/* ==========================================================================
   ARTIFIE MOI v2 — Registre royal africain, chaleureux
   ========================================================================== */

:root {
  --cream: #FBF4E8;
  --cream-card: #FFFFFF;
  --ink: #241A14;
  --ink-muted: #6B5C4F;

  --dark-bg: #1B120E;
  --dark-bg-2: #241811;
  --dark-border: rgba(212, 175, 79, 0.18);

  --gold: #D4AF37;
  --gold-light: #E8CE84;
  --gold-dark: #9A7B2E;
  --terracotta: #B5502D;

  --whatsapp: #25D366;
  --whatsapp-dark: #1CBD59;

  --font-display: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { width: 92%; max-width: var(--wrap); margin: 0 auto; }
.wrap-narrow { width: 92%; max-width: 720px; margin: 0 auto; }

.section { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--dark-bg); color: #F1E9DC; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title-light { color: #FBF4E8; }

.section-text {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 640px;
}
.section-text-light { color: #D9CBB8; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, #E8CE84, #D4AF37 55%, #9A7B2E);
  color: #241811;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
}
.btn-whatsapp {
  width: 100%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.icon-whatsapp { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.icon-check { width: 20px; height: 20px; stroke: var(--gold); stroke-width: 2.5; fill: none; flex-shrink: 0; }
.icon-lg { width: 34px; height: 34px; stroke: var(--gold-dark); stroke-width: 1.6; fill: none; margin-bottom: 10px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 30% 20%, #2A1B12 0%, var(--dark-bg) 60%);
  color: #F1E9DC;
  padding: 48px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(212,175,55,0.10), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(181,80,45,0.12), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.hero-logo { height: 64px; width: 64px; margin-bottom: 20px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  color: #FBF4E8;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #D9CBB8;
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}
.hero-img { width: 100%; height: auto; }

/* ============ GALERIE ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--dark-border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* ============ COMMENT CA MARCHE ============ */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 8px;
}
.how-step h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 10px 0 6px; }
.how-step p { color: var(--ink-muted); font-size: 0.95rem; }
.how-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-light);
  color: #241811;
  font-family: var(--font-display);
  font-weight: 700;
}

/* ============ IDENTITE ============ */
.identity-box {
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  background: var(--dark-bg-2);
}
.identity-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.identity-list li { display: flex; align-items: center; gap: 10px; color: #F1E9DC; font-weight: 500; }

/* ============ PRIX ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
  max-width: 640px;
}
.price-card {
  background: var(--cream-card);
  border: 1px solid rgba(154, 123, 46, 0.25);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.price-card-highlight { border-color: var(--gold); box-shadow: 0 12px 30px rgba(212,175,55,0.15); }
.price-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 10px; }
.price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold-dark); }
.price span { font-size: 1rem; font-weight: 500; }
.price-detail { font-size: 0.85rem; color: var(--ink-muted); margin-top: 6px; }
.pricing-note { margin-top: 18px; font-size: 0.9rem; color: var(--ink-muted); }

/* ============ REASSURANCE ============ */
.reassurance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
}
.reassurance-item h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.reassurance-item p { font-size: 0.9rem; color: var(--ink-muted); }
.reassurance-item svg { margin-left: auto; margin-right: auto; }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.faq-item {
  background: var(--cream-card);
  border: 1px solid rgba(154, 123, 46, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-dark);
  margin-left: 12px;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 10px; color: var(--ink-muted); font-size: 0.92rem; line-height: 1.55; }

/* ============ FORMULAIRE ============ */
.order-form { margin-top: 24px; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: #D9CBB8;
}
.optional { text-transform: none; font-weight: 400; opacity: 0.7; }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(255,255,255,0.04);
  color: #FBF4E8;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #9A897A; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.form-row select option { color: #241811; }
.form-row textarea { resize: vertical; }

.type-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-card {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.type-card:hover { border-color: var(--gold); }
.type-card.active { border-color: var(--gold); background: rgba(212, 175, 55, 0.12); }
.type-name { font-weight: 700; font-size: 0.92rem; color: #FBF4E8; }
.type-price { font-size: 0.82rem; color: var(--gold-light); }

.form-reassurance { margin-top: 14px; font-size: 0.82rem; color: #B8A990; text-align: center; }

/* ============ FOOTER ============ */
.footer { background: #120B08; color: #B8A990; padding: 44px 0; }
.footer-grid { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-logo { height: 48px; width: 48px; opacity: 0.9; }
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
}
.footer-copy { font-size: 0.78rem; opacity: 0.6; margin-top: 6px; }

/* ============ WHATSAPP FLOTTANT ============ */
.float-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 50;
  transition: transform 0.2s ease;
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp .icon-whatsapp { width: 28px; height: 28px; }

/* ============ RESPONSIVE ============ */
@media (min-width: 720px) {
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .reassurance-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin-left: auto; }
  .gallery-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 320px; }
}
