/* ============================================================
   PATRONAGE SAINT JEAN-PAUL II — style.css
   patrostjeanpaul2.fr
   ============================================================ */

/* ---------- FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: #2D2D2D;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: 'Inter', sans-serif; cursor: pointer; }

/* ---------- VARIABLES ---------- */
:root {
  --blue:        #3B7DD8;
  --blue-light:  #EBF3FF;
  --blue-dark:   #185FA5;
  --green:       #6BAE8E;
  --green-light: #EAF5F0;
  --green-dark:  #2D7A5E;
  --beige:       #F7F3EE;
  --beige-mid:   #E8E0D8;
  --amber:       #C9A96E;
  --purple:      #9B7CD8;
  --text:        #2D2D2D;
  --muted:       #6B7280;
  --light:       #9CA3AF;
  --border:      #E5E7EB;
  --dark-bg:     #1E293B;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --shadow:      0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

/* ---------- TYPOGRAPHY ---------- */
.font-display { font-family: 'Montserrat', sans-serif; }

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: .5rem;
}

/* ---------- LAYOUT ---------- */
.container { max-width: 920px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 4rem 1.5rem; max-width: 920px; margin: 0 auto; }

/* ---------- NAVIGATION ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-logo-mark {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.navbar-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
  line-height: 1.2;
}

.navbar-logo-sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}

.navbar-links a:hover { color: var(--blue); }

.navbar-links a.active { color: var(--blue); }

.btn-nav {
  background: var(--blue);
  color: #fff !important;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  transition: background .2s;
  text-decoration: none;
  display: inline-block;
}

.btn-nav:hover { background: var(--blue-dark); color: #fff !important; }

.navbar-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.navbar-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

.navbar-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: .75rem;
}

.navbar-mobile.open { display: flex; }
.navbar-mobile a { font-size: 15px; font-weight: 600; color: var(--text); padding: .5rem 0; border-bottom: 1px solid var(--border); }
.navbar-mobile .btn-nav { text-align: center; margin-top: .5rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  text-decoration: none;
  line-height: 1;
}

.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary  { background: var(--blue);  color: #fff; }
.btn-green    { background: var(--green); color: #fff; font-size: 14px; padding: 15px 28px; }
.btn-outline  { background: transparent; color: var(--blue); border: 2px solid var(--blue); padding: 11px 26px; }
.btn-white    { background: #fff; color: var(--blue); }

.btn-tag {
  font-size: 10px;
  font-weight: 700;
  opacity: .8;
  letter-spacing: .03em;
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(160deg, var(--blue-light) 0%, var(--green-light) 60%, var(--beige) 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(59,125,216,.12);
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  max-width: 640px;
  margin: 0 auto .75rem;
}

.hero h1 em { color: var(--blue); font-style: normal; }

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-note {
  font-size: 11px;
  color: var(--light);
  font-style: italic;
  margin-top: .75rem;
}

.hero-buttons {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-pills {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  display: flex;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 1.5rem .5rem;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- SECTION HEADERS ---------- */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: .5rem; }
.section-header p  { color: var(--muted); font-size: 15px; max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ---------- CARDS ---------- */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.card-beige { background: var(--beige); border-color: transparent; }

/* ---------- GRIDS ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-2-3 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; }

/* ---------- VALUE CARDS ---------- */
.value-card {
  background: var(--beige);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 24px;
}

.value-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: .4rem;
  letter-spacing: .01em;
}

.value-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- ACTIVITY CARDS ---------- */
.act-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.act-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: .75rem;
}

.act-card h3 { font-size: 14px; font-weight: 800; margin-bottom: .4rem; }
.act-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- TESTIMONIALS ---------- */
.testi-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.testi-stars  { color: #F59E0B; font-size: 13px; margin-bottom: .75rem; }
.testi-quote  { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }

.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
}

.testi-name { font-size: 13px; font-weight: 700; font-family: 'Montserrat', sans-serif; }
.testi-role { font-size: 11px; color: var(--muted); }

/* ---------- TABLE TARIFS ---------- */
.tarif-table { width: 100%; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }

.tarif-head {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  background: var(--blue);
  color: #fff;
}

.tarif-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
}

.tarif-row:nth-child(even) { background: var(--beige); }
.tarif-row:nth-child(odd)  { background: #fff; }

.tarif-head div, .tarif-row div {
  padding: 11px 16px;
  font-size: 13px;
  border-right: 1px solid rgba(0,0,0,.08);
}

.tarif-head div:last-child, .tarif-row div:last-child { border-right: none; }
.tarif-head div { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tarif-row div:first-child { font-weight: 600; }

/* ---------- PHOTO GRID ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.photo-grid-item { border-radius: var(--radius-md); overflow: hidden; }
.photo-grid-item:first-child { grid-column: span 2; grid-row: span 2; }

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.photo-placeholder i    { font-size: 28px; opacity: .7; }
.photo-placeholder span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.photo-placeholder.big  { min-height: 290px; }

/* ---------- CTA DOUBLE ---------- */
.cta-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.cta-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}

.cta-card p { font-size: 13px; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.6; }
.cta-card i { font-size: 32px; display: block; margin-bottom: .75rem; }

/* ---------- FORMULAIRE BÉNÉVOLE ---------- */
.benev-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.benev-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  color: var(--text);
}

.benev-pill:hover, .benev-pill.active {
  background: var(--blue-light);
  border-color: var(--blue);
  color: var(--blue-dark);
}

/* ---------- FORM ---------- */
.form-group { margin-bottom: 1rem; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 5px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,125,216,.1);
}

textarea { height: 110px; resize: vertical; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-check label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-success {
  display: none;
  background: #EAF5EE;
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--green-dark);
}

.form-success.show { display: flex; }
.form-success strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; margin-bottom: 2px; }

/* ---------- INFO BLOCKS ---------- */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.info-row:last-child { border-bottom: none; }
.info-row-label { color: var(--muted); font-weight: 500; }
.info-row-val   { font-weight: 700; color: var(--text); text-align: right; }

.info-block-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue-light);
}

/* ---------- DON BLOCK ---------- */
.don-amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: 1rem;
}

.don-amount-btn {
  border: 2px solid var(--border);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 9px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  color: var(--text);
}

.don-amount-btn:hover, .don-amount-btn.active {
  border-color: var(--green);
  color: var(--green-dark);
}

.don-note {
  background: var(--green-light);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-bg);
  color: #94A3B8;
  padding: 3.5rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 920px;
  margin: 0 auto 2rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: .75rem;
}

.footer-brand-mark {
  height: 34px;
  width: auto;
  display: block;
}

.footer-brand-name { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; }
.footer-brand-text { font-size: 13px; line-height: 1.7; }

.footer-col-title {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: #94A3B8;
  font-size: 13px;
  margin-bottom: .5rem;
  transition: color .2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 920px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ---------- PAGE HEADERS ---------- */
.page-hero {
  padding: 4rem 2rem;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: .75rem; }
.page-hero p  { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 auto; line-height: 1.7; }

.bg-blue-grad  { background: linear-gradient(160deg, var(--blue-light), var(--green-light)); }
.bg-green-grad { background: linear-gradient(160deg, var(--green-light), var(--blue-light)); }
.bg-beige-grad { background: linear-gradient(160deg, var(--beige), var(--blue-light)); }
.bg-beige      { background: var(--beige); }
.bg-white      { background: #fff; }

/* ---------- MISSION STRIP ---------- */
.mission-strip {
  background: var(--blue);
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.mission-strip h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: .4rem; }
.mission-strip p  { font-size: 15px; opacity: .85; max-width: 540px; margin: 0 auto 1.5rem; line-height: 1.6; }

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.fade-in.visible { opacity: 1; transform: none; }

/* ---------- BADGES ---------- */
.badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 10px;
  border-radius: 12px;
}

.badge-blue   { background: var(--blue-light); color: var(--blue-dark); }
.badge-green  { background: var(--green-light); color: var(--green-dark); }
.badge-amber  { background: #FEF3E2; color: #633806; }
.badge-purple { background: #EEF2FF; color: #3C3489; }

/* ---------- CHECKLIST ---------- */
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '✓'; color: var(--green); font-weight: 800; font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* ---------- ALERT HELLOASSO ---------- */
.helloasso-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59,125,216,.08);
  border: 1px solid rgba(59,125,216,.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--blue);
  font-weight: 600;
  margin-top: .5rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-burger { display: block; }

  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2-3 { grid-template-columns: 1fr; }

  .hero { padding: 3rem 1.25rem 2.5rem; }
  .hero-pills { gap: 1rem; }

  .stats-bar { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-bottom: 1px solid var(--border); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; }

  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid-item:first-child { grid-column: 1 / -1; grid-row: auto; }

  .tarif-head, .tarif-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .tarif-head div, .tarif-row div { padding: 9px 10px; font-size: 12px; }

  .form-row { grid-template-columns: 1fr; }

  .section { padding: 3rem 1.25rem; }
  .page-hero { padding: 2.5rem 1.25rem; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
  .don-amounts { grid-template-columns: 1fr 1fr; }
}

/* ---------- PRINT ---------- */
@media print {
  .navbar, .footer, .hero-buttons { display: none; }
}
