/* ════════════════════════════════════════════════════
   PASSIFLORE — STYLE PRINCIPAL
   ════════════════════════════════════════════════════ */

:root {
  --orange:    #E8682A;
  --orange-lt: #F4A06A;
  --orange-bg: #FDF1EA;
  --violet:    #6B3FA0;
  --violet-lt: #9B6BC8;
  --violet-bg: #F3EEF9;
  --dark:      #1E1A2E;
  --mid:       #5A5070;
  --light:     #F8F7FA;
  --white:     #FFFFFF;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(107,63,160,.12);
}

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

body {
  font-family: 'Nunito', Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

a { color: inherit; }

/* ── HEADER ─────────────────────────────────────── */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}
.logo-area {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}
.logo-area img {
  height: 54px; width: auto;
}
.logo-text { line-height: 1.15; }
.logo-text strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px; color: var(--violet);
  letter-spacing: -.3px;
}
.logo-text span { font-size: 12px; color: var(--mid); font-weight: 600; }

/* ── NAV ─────────────────────────────────────────── */
nav.main-nav ul {
  list-style: none;
  display: flex; gap: 4px; flex-wrap: wrap;
}
nav.main-nav ul li a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px; font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
nav.main-nav ul li a:hover,
nav.main-nav ul li a.active {
  background: var(--violet); color: var(--white);
}

.hamburger { display: none; }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--violet) 0%, var(--orange) 100%);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2; margin-bottom: 16px;
  position: relative; z-index: 2;
}
.hero p {
  max-width: 620px; margin: 0 auto 28px;
  font-size: 18px; opacity: .92;
  position: relative; z-index: 2;
}
.hero-badges {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 2;
}
.badge {
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 13px; font-weight: 700;
}

/* ── PAGE INTRO ───────────────────────────────────── */
.container {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.page-intro {
  background: var(--violet-bg);
  border-left: 5px solid var(--violet);
  padding: 28px 32px;
  border-radius: var(--radius);
  margin: 40px auto 32px;
}
.page-intro h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem; color: var(--violet); margin-bottom: 8px;
}
.page-intro p { color: var(--mid); font-size: 15px; }

/* ── ACCORDION (titres cliquables) ───────────────── */
.accordion-wrap {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 48px;
}
.acc-item {
  border-radius: var(--radius);
  border: 2px solid transparent;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .25s;
}
.acc-item.open { border-color: var(--orange); }
.acc-trigger {
  width: 100%; text-align: left;
  padding: 20px 24px;
  font-size: 16px; font-weight: 800;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  transition: background .2s;
}
.acc-trigger:hover { background: var(--orange-bg); }
.acc-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange-lt), var(--orange));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.acc-arrow {
  margin-left: auto;
  font-size: 18px; color: var(--orange);
  transition: transform .3s;
  font-style: normal;
}
.acc-item.open .acc-arrow { transform: rotate(180deg); }
.acc-body {
  display: none;
  padding: 4px 24px 24px 68px;
  color: var(--mid);
  font-size: 15px; line-height: 1.7;
  border-top: 1px solid var(--orange-bg);
}
.acc-item.open .acc-body { display: block; }
.acc-body p { margin-bottom: 10px; white-space: pre-line; }
.acc-body img {
  margin: 14px 0; border-radius: 10px; box-shadow: var(--shadow);
  max-width: 100%;
}

/* ── HOME CARDS ──────────────────────────────────── */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 40px auto 48px;
}
.home-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  text-decoration: none;
  display: block;
  color: var(--dark);
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
}
.home-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.card-icon { font-size: 36px; margin-bottom: 12px; }
.home-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem; color: var(--violet); margin-bottom: 8px;
}
.home-card p { font-size: 14px; color: var(--mid); }
.card-cta {
  display: inline-block; margin-top: 16px;
  background: var(--orange); color: var(--white);
  padding: 8px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 700;
}
.home-card:hover .card-cta { background: var(--violet); }

/* ── STATS ───────────────────────────────────────── */
.stats-box {
  background: linear-gradient(135deg,var(--orange-bg),var(--violet-bg));
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
  margin-bottom: 48px;
}
.stat-row { display: flex; flex-wrap: wrap; gap: 16px; flex: 2; min-width: 280px; }
.stat {
  background: var(--violet); color: var(--white);
  padding: 14px 20px; border-radius: 10px;
  text-align: center; flex: 1; min-width: 120px;
}
.stat.alt { background: var(--orange); }
.stat strong { font-size: 1.6rem; display: block; }
.stat span { font-size: 12px; opacity: .85; }

/* ── FOOTER ──────────────────────────────────────── */
footer.site-footer {
  background: var(--dark);
  color: #ccc;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; padding: 48px 24px 32px;
}
footer h4 {
  color: var(--orange-lt); font-size: 13px; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px; font-weight: 800;
}
footer a { text-decoration: none; color: #ccc; }
footer a:hover { color: var(--orange-lt); }
.footer-address { font-size: 14px; line-height: 1.9; }
.footer-map-btn {
  display: inline-block; margin-top: 10px;
  background: var(--orange); color: var(--white) !important;
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700;
}
.hours-table { font-size: 14px; line-height: 1.9; }
.social-link {
  display: flex; align-items: center; gap: 10px;
  color: #ccc !important; font-size: 14px; margin-bottom: 8px;
}
.social-icon {
  width: 36px; height: 36px; background: #3b5998;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid #333; text-align: center;
  padding: 16px 24px; font-size: 12px; color: #666;
}
.mini-map {
  margin-top: 16px; border-radius: 10px; overflow: hidden;
  border: 1px solid #333;
}
.mini-map iframe { width: 100%; height: 160px; border: 0; display: block; }

/* ── BACK TO TOP / SCROLL ──────────────────────────── */
.page-loading { text-align:center; padding: 80px 24px; color: var(--mid); }

/* ── MOBILE ──────────────────────────────────────── */
@media (max-width: 768px) {
  nav.main-nav { display: none; }
  nav.main-nav.open { display: block; width: 100%; }
  nav.main-nav ul { flex-direction: column; padding: 12px 0; gap: 4px; }
  .hamburger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
  }
  .hamburger span {
    display: block; width: 26px; height: 3px;
    background: var(--violet); border-radius: 3px;
  }
  .acc-body { padding-left: 24px; }
  .stat-row { flex-direction: column; }
  .header-inner { flex-wrap: wrap; }
}
