:root {
  --brand: #9a1760;
  --brand-dark: #7a1150;
  --brand-tint: #fdf1f6;
  --text: #2b2b2b;
  --muted: #676767;
  --border: #ececec;
  --radius: 12px;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
}

img { max-width: 100%; height: auto; }

h1, h2, .brand-link .name {
  font-family: 'Baloo 2', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--brand);
}

a { color: var(--brand); }

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

/* Header */
header.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand-link img { width: 108px; height: auto; flex-shrink: 0; }
.brand-link > span { min-width: 0; }
.brand-link .name { font-size: 2.25rem; line-height: 1; }
.brand-link .tagline { font-size: 1.28rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 480px) {
  .brand-link img { width: 64px; }
  .brand-link .name { font-size: 1.6rem; }
  .brand-link .tagline { font-size: 0.95rem; }
}

nav.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
nav.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
nav.site-nav a:hover { background: var(--brand-tint); }
nav.site-nav a.active { background: var(--brand); color: #fff; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  nav.site-nav { flex-basis: 100%; }
  nav.site-nav ul {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0 4px;
  }
  nav.site-nav ul.open { display: flex; }
  nav.site-nav a { padding: 12px 16px; border-radius: 8px; }
}

/* Main layout */
main.wrap { padding: 40px 20px 64px; }
.page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.page-grid > .content,
.page-grid > .info-card {
  min-width: 0;
}
@media (max-width: 820px) {
  .page-grid { grid-template-columns: 1fr; }
}

.content h1 { font-size: 1.7rem; margin: 0 0 20px; }
.content h2 { font-size: 1.15rem; color: var(--text); margin: 30px 0 12px; }
.content p { margin: 0 0 14px; }
.content .lede { font-size: 1.08rem; color: var(--text); }

.cta {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  margin-top: 6px;
}
.cta:hover { background: var(--brand-dark); }

/* Sidebar card */
.info-card {
  background: var(--brand-tint);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 24px;
}
.info-card h2 { margin-top: 0; font-size: 1.1rem; color: var(--brand); }
.info-card .highlight { color: var(--brand); font-weight: 700; font-style: italic; }
.info-card img.assoc-logo { width: 100%; max-width: 180px; display: block; margin: 16px auto 0; }

/* Photo frame */
.photo-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(154, 23, 96, 0.12);
  margin: 20px 0;
}
.photo-frame img { width: 100%; display: block; }

/* Shop link cards */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}
.shop-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.shop-card:hover {
  box-shadow: 0 8px 20px rgba(154, 23, 96, 0.15);
  transform: translateY(-2px);
}
.shop-card img { max-width: 100%; height: auto; }
.shop-card span { font-weight: 700; color: var(--brand); font-size: 0.92rem; }

/* 3-photo grid */
.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.photo-grid-3 img { width: 100%; min-width: 0; border-radius: var(--radius); display: block; }
@media (max-width: 600px) {
  .photo-grid-3 { grid-template-columns: 1fr; }
}

/* Numbered steps (search help) */
.step { margin: 26px 0; }
.step .step-label {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.step img {
  display: block;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 8px;
}

/* Modalites definition list */
.modalites dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px 20px;
  margin: 20px 0;
}
.modalites dt { font-weight: 700; color: var(--brand); }
.modalites dd { margin: 0; }
@media (max-width: 600px) {
  .modalites dl { grid-template-columns: 1fr; gap: 4px 0; }
  .modalites dd { margin-bottom: 10px; }
}

/* Contact links */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  max-width: 420px;
}
.contact-info a.contact-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
}
.contact-info a.contact-link .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.contact-info a.contact-link .value {
  font-weight: 700;
  color: var(--brand);
}
.contact-info a.contact-link:hover { border-color: var(--brand); }

/* External page feature image */
.feature-link {
  display: block;
  text-decoration: none;
  margin: 20px 0 8px;
}
.feature-link img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(154, 23, 96, 0.12);
}
.feature-caption {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Full-width iframe page: fills the viewport exactly, no page scrollbar */
body.iframe-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}
body.iframe-page header.site-header {
  flex: 0 0 auto;
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
}
body.iframe-page.header-hidden header.site-header {
  max-height: 0;
  padding: 0;
  border-bottom-color: transparent;
}
main.iframe-main {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}
main.iframe-main iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}
