/* Sauver Lourdes — Premier jet */
:root {
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --gold-dark: #9a7b1a;
  --navy: #1a2744;
  --navy-deep: #0f1829;
  --cream: #faf7f0;
  --cream-dark: #f0ebe0;
  --white: #ffffff;
  --text: #2c3344;
  --text-muted: #5c6478;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(26, 39, 68, 0.12);
  --shadow-lg: 0 24px 64px rgba(15, 24, 41, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
.container { width: min(1140px, 92vw); margin-inline: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }

.section-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.section-intro {
  max-width: 720px;
  margin-inline: auto;
  color: var(--text-muted);
}
.section-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-intro p + p {
  margin-top: 1.25rem;
}
.section-intro strong {
  color: var(--navy);
  font-weight: 600;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(15, 24, 41, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.35rem;
}
.logo:hover { color: var(--gold-light); }
.logo-cross { font-size: 1.1rem; color: var(--gold); }
.logo strong { color: var(--gold-light); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.88); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--gold-light); }
.btn-nav {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); color: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-full { width: 100%; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Basilique_Notre-Dame-du-Rosaire.JPG/1920px-Basilique_Notre-Dame-du-Rosaire.JPG") center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,24,41,0.88), rgba(26,39,68,0.75), rgba(15,24,41,0.85));
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 560px; margin-bottom: 2rem; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15);
}
.stat strong { display: block; font-family: var(--serif); font-size: 2.25rem; color: var(--gold); }
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}

.section { padding: 5.5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.light .section-label, .section-header.light h2 { color: var(--cream); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.mission { background: var(--white); }
.mission-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy) 50% 14% / cover no-repeat
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/d/dc/Basilique_Notre-Dame-du-Rosaire_de_Lourdes_depuis_la_rive.jpg/960px-Basilique_Notre-Dame-du-Rosaire_de_Lourdes_depuis_la_rive.jpg");
  aspect-ratio: 3 / 4;
  min-height: 320px;
  max-height: 640px;
}
.mission-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  clip-path: inset(7% 0 0 0);
  display: block;
}
.mission-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  background: rgba(15,24,41,0.92); padding: 1.25rem 1.5rem;
  border-radius: var(--radius); border-left: 3px solid var(--gold);
}
.mission-badge span { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-light); }
.mission-badge strong { font-family: var(--serif); font-size: 1.15rem; color: var(--white); }
.mission-text p { margin-bottom: 1.25rem; color: var(--text-muted); }
.mission-list { list-style: none; margin-top: 1.5rem; }
.mission-list li {
  display: flex; gap: 0.75rem; padding: 0.65rem 0;
  border-bottom: 1px solid var(--cream-dark); font-weight: 500; color: var(--navy);
}
.mission-list .icon { color: var(--gold); font-size: 0.6rem; margin-top: 0.45rem; }

.why { background: var(--cream); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.card {
  background: var(--white); padding: 2rem 1.75rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-4px); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.5rem; }
.quote-banner {
  text-align: center; padding: 2.5rem 2rem 2rem;
  background: var(--navy); border-radius: var(--radius-lg); color: var(--white);
}
.quote-carousel { position: relative; }
.quote-carousel__track {
  position: relative;
  min-height: 9.5rem;
}
.quote-slide {
  position: absolute; inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.quote-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.quote-banner p,
.quote-slide p {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-style: italic; color: var(--gold-light); margin-bottom: 0.75rem;
  line-height: 1.45;
  max-width: 52rem; margin-left: auto; margin-right: auto;
}
.quote-banner cite,
.quote-slide cite {
  font-size: 0.9rem; color: rgba(255,255,255,0.6); font-style: normal;
}
.quote-carousel__dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 1.75rem;
}
.quote-carousel__dot {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.28); cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.quote-carousel__dot:hover { background: rgba(201,162,39,0.65); }
.quote-carousel__dot.is-active {
  background: var(--gold); transform: scale(1.15);
}
.quote-carousel__dot:focus-visible {
  outline: 2px solid var(--gold-light); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .quote-slide { transition: none; transform: none; }
}

.families { background: var(--white); }
.families-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.family-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; margin: 0;
  box-shadow: var(--shadow); min-height: 220px; background: var(--navy);
}
.family-card--large { grid-row: span 2; min-height: 460px; }
.family-card img {
  width: 100%; height: 100%; min-height: inherit;
  object-fit: cover; display: block; transition: transform 0.6s ease;
}
.family-card:hover img { transform: scale(1.04); }
.family-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem;
  background: linear-gradient(transparent, rgba(15,24,41,0.92)); color: var(--white);
}
.family-card figcaption strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 0.35rem; }
.family-card figcaption p { font-size: 0.88rem; opacity: 0.9; }
.families-cta { text-align: center; margin-top: 2.5rem; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }

.act { background: var(--navy); color: var(--cream); }
.act h3 { color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; list-style: none; }
.step-num {
  display: block; font-family: var(--serif); font-size: 2.5rem;
  font-weight: 700; color: var(--gold); margin-bottom: 1rem;
}
.steps p { color: rgba(250,247,240,0.7); font-size: 0.95rem; margin-top: 0.5rem; }

.donate { background: var(--cream-dark); }
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.donate-info p { color: var(--text-muted); margin-bottom: 2rem; }
.progress-block { background: var(--white); padding: 1.5rem 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.progress-header { display: flex; justify-content: space-between; margin-bottom: 0.75rem; }
.progress-header strong { font-family: var(--serif); color: var(--navy); }
.progress-bar { height: 10px; background: var(--cream-dark); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.progress-note { margin-top: 0.65rem; font-size: 0.85rem; color: var(--gold-dark); font-weight: 600; }

.donate-form {
  background: var(--white); padding: 2rem 2.25rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.donate-form fieldset { border: none; padding: 0; }
.amount-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.amount-btn {
  padding: 0.65rem; border: 2px solid var(--cream-dark); background: var(--cream);
  border-radius: var(--radius); font-weight: 600; color: var(--navy); cursor: pointer;
}
.amount-btn:hover, .amount-btn.active { border-color: var(--gold); background: rgba(201,162,39,0.12); color: var(--gold-dark); }
.donate-form label span { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.donate-form input[type="text"], .donate-form input[type="email"], .donate-form input[type="number"] {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--cream-dark); border-radius: var(--radius);
}
.checkbox { display: flex; align-items: center; gap: 0.6rem; }
.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; }

.newsletter {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 3.5rem 0;
}
.newsletter-inner { text-align: center; }
.newsletter h2 { color: var(--navy-deep); margin-bottom: 1.5rem; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; max-width: 480px; margin-inline: auto; }
.newsletter-form input { flex: 1; min-width: 220px; padding: 0.85rem 1.25rem; border: none; border-radius: 999px; }
.newsletter-form .btn-primary { background: var(--navy); color: var(--white); }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-nav h4, .footer-contact h4 {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 1rem;
}
.footer-nav ul { list-style: none; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,0.75); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; text-align: center; font-size: 0.85rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .grid-2, .donate-grid { grid-template-columns: 1fr; }
  .cards-3, .steps { grid-template-columns: 1fr 1fr; }
  .families-gallery { grid-template-columns: 1fr 1fr; }
  .family-card--large { grid-row: span 1; grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(300px, 85vw); height: 100vh;
    background: var(--navy-deep); flex-direction: column; align-items: flex-start;
    padding: 5rem 2rem 2rem; transition: right var(--transition);
  }
  .nav-links.open { right: 0; }
  .cards-3, .steps, .families-gallery { grid-template-columns: 1fr; }
  .family-card--large { grid-column: span 1; }
  .amount-buttons { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
