/* ===================================================================
   mariages.sudeventsagency.com — styles de base
   Les couleurs viennent des variables CSS --w-* définies inline
   (palette choisie par le couple, voir inc/functions.php > mariages_get_themes)
   =================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  color: var(--w-text, #2C2121);
  background: var(--w-bg, #FFF8F6);
  line-height: 1.65;
}

h1, h2, h3, .font-display {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--w-dark, #4A3439);
}

a { color: var(--w-primary, #C98B93); text-decoration: none; }
a:hover { opacity: .8; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
.w-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.w-nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.w-nav-brand { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--w-dark); }
.w-nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.w-nav-links a { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--w-dark); }
.w-nav-links a:hover { color: var(--w-primary); }

/* ---------- Hero ---------- */
.w-hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover; background-position: center;
  padding: 40px 20px;
}
.w-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.55) 100%);
}
.w-hero-content { position: relative; z-index: 2; max-width: 720px; }
.w-hero-eyebrow {
  text-transform: uppercase; letter-spacing: .3em; font-size: 12px; margin-bottom: 18px; opacity: .9;
}
.w-hero-names {
  font-family: 'Playfair Display', serif; font-size: 58px; color: #fff; margin: 0 0 14px;
  line-height: 1.15;
}
.w-hero-names .amp { color: var(--w-light, #F3DADD); font-style: italic; padding: 0 14px; }
.w-hero-date { font-size: 18px; letter-spacing: .08em; margin-bottom: 22px; }
.w-hero-intro { font-size: 16px; max-width: 560px; margin: 0 auto 26px; opacity: .95; }
.w-hero-countdown { font-size: 14px; letter-spacing: .05em; }
.w-hero-countdown strong { font-size: 22px; display: block; font-family: 'Playfair Display', serif; }

/* ---------- Sections ---------- */
.w-section { padding: 90px 0; }
.w-section-alt { background: var(--w-light, #F3DADD); }
.w-section-title {
  text-align: center; font-size: 34px; margin: 0 0 8px;
}
.w-section-kicker {
  text-align: center; text-transform: uppercase; letter-spacing: .25em; font-size: 12px;
  color: var(--w-primary); margin-bottom: 14px; font-weight: 600;
}
.w-section-lead {
  text-align: center; max-width: 640px; margin: 0 auto 50px; color: var(--w-text); opacity: .85;
}

/* ---------- Notre histoire ---------- */
.w-story { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
.w-story img { flex: 1 1 380px; width: 100%; max-width: 460px; border-radius: 10px; box-shadow: 0 20px 45px rgba(0,0,0,.12); }
.w-story-text { flex: 1 1 320px; }

/* ---------- Lieu ---------- */
.w-venue { text-align: center; }
.w-venue-name { font-size: 26px; margin-bottom: 6px; }
.w-venue-map { margin-top: 30px; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 45px rgba(0,0,0,.12); }
.w-venue-map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Programme (timeline) ---------- */
.w-timeline { max-width: 640px; margin: 0 auto; position: relative; }
.w-timeline::before {
  content: ""; position: absolute; left: 84px; top: 6px; bottom: 6px; width: 2px; background: var(--w-primary-light, var(--w-light));
}
.w-timeline-item { display: flex; gap: 24px; margin-bottom: 34px; position: relative; }
.w-timeline-time {
  flex: 0 0 68px; text-align: right; font-family: 'Playfair Display', serif; font-weight: 600;
  color: var(--w-primary); font-size: 16px; padding-top: 2px;
}
.w-timeline-dot {
  flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--w-primary); margin-top: 4px; box-shadow: 0 0 0 5px var(--w-bg);
  z-index: 1;
}
.w-timeline-body h4 { margin: 0 0 4px; font-size: 18px; }
.w-timeline-body p { margin: 0; opacity: .8; font-size: 14px; }

/* ---------- Cartes génériques (cadeaux / hébergements) ---------- */
.w-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.w-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06); display: flex; flex-direction: column;
}
.w-card img { width: 100%; height: 180px; object-fit: cover; }
.w-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.w-card-body h4 { margin: 0 0 8px; font-size: 18px; }
.w-card-body p { font-size: 14px; opacity: .8; margin: 0 0 12px; flex: 1; }
.w-card-price { font-weight: 600; color: var(--w-primary); margin-bottom: 10px; }
.w-badge {
  display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; align-self: flex-start;
}
.w-badge-dispo { background: #E4F2E6; color: #2F7A3D; }
.w-badge-reserve { background: #FFF2D9; color: #A9720A; }
.w-badge-offert { background: #EAEAEA; color: #666; }
.w-btn {
  display: inline-block; margin-top: auto; text-align: center;
  background: var(--w-primary); color: #fff !important; padding: 10px 18px;
  border-radius: 30px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Cagnotte ---------- */
.w-cagnotte {
  text-align: center; max-width: 620px; margin: 60px auto 0; padding: 40px;
  background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* ---------- FAQ ---------- */
.w-faq { max-width: 720px; margin: 0 auto; }
.w-faq-item { border-bottom: 1px solid rgba(0,0,0,.08); padding: 18px 0; }
.w-faq-q {
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  font-family: 'Playfair Display', serif; font-size: 18px; color: var(--w-dark);
}
.w-faq-q .w-faq-icon { color: var(--w-primary); font-size: 20px; transition: transform .2s; }
.w-faq-item.open .w-faq-icon { transform: rotate(45deg); }
.w-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; opacity: .85; font-size: 14px; }
.w-faq-item.open .w-faq-a { max-height: 400px; padding-top: 10px; }

/* ---------- Footer ---------- */
.w-footer {
  text-align: center; padding: 50px 20px; background: var(--w-dark, #4A3439); color: #fff;
}
.w-footer .w-names { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 10px; }
.w-footer small { opacity: .6; display: block; margin-top: 18px; font-size: 11px; letter-spacing: .05em; }
.w-footer small a { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .w-hero-names { font-size: 38px; }
  .w-section { padding: 60px 0; }
  .w-timeline::before { left: 60px; }
  .w-timeline-time { flex-basis: 48px; font-size: 13px; }
}
