/* ============================================================
   Assemblée de Dieu Réparateur des Brèches — feuille de style
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Nunito+Sans:wght@400;600;700&display=swap');

:root {
  --navy: #1e3773;
  --navy-dark: #142855;
  --navy-soft: #2d5096;
  --gold: #c9982f;
  --gold-light: #e6c569;
  --cream: #faf6ec;
  --cream-dark: #f0e8d6;
  --white: #ffffff;
  --text: #2c2b28;
  --text-soft: #56534b;
  --border: #e4dcc8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 39, 90, 0.10);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--gold); }

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

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy-dark); box-shadow: 0 8px 20px rgba(201,152,47,0.35); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-soft); color: var(--white); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- En-tête / Navigation ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand img { height: 52px; width: auto; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--white);
}
.brand-text span { font-size: 0.72rem; color: var(--gold-light); letter-spacing: 0.04em; text-transform: uppercase; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--cream);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; padding-bottom: 12px; }
  .nav-wrap { flex-wrap: wrap; }
}

/* ---------- Bandeau d'annonce ---------- */
.topbar {
  background: var(--navy-dark);
  color: var(--cream-dark);
  font-size: 0.85rem;
  text-align: center;
  padding: 6px 16px;
}
.topbar a { color: var(--gold-light); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 20% 20%, var(--navy-soft), var(--navy) 55%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 90px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(230,197,105,0.10) 1px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero .kicker {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero h1 { color: var(--white); font-size: 2.9rem; }
.hero p.lead { font-size: 1.15rem; color: var(--cream-dark); margin-bottom: 32px; }
.hero .btn-row { justify-content: center; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: var(--cream-dark); max-width: 600px; margin: 0 auto; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-header .kicker {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.verse-block {
  background: var(--cream-dark);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 34px 40px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.verse-block p.verse {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 10px;
}
.verse-block p.ref { font-weight: 700; color: var(--gold); margin: 0; }

/* ---------- Grilles / Cartes ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  text-align: center;
}
.card .icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  color: var(--gold);
}
.card .icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft); margin-bottom: 0; }

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}
.event-card .event-date {
  background: var(--navy);
  color: var(--white);
  padding: 18px;
  text-align: center;
}
.event-card .event-date .day { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; }
.event-card .event-date .month { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold-light); }
.event-card .event-body { padding: 22px; }
.event-card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.event-card .event-time { color: var(--gold); font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }

.note-box {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 20px 26px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 780px;
  margin: 34px auto 0;
}

/* ---------- Placeholders visuels (photos/vidéos à venir) ---------- */
.placeholder-tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy-soft), var(--navy) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream-dark);
  gap: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.placeholder-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(230,197,105,0.14) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.placeholder-tile svg { width: 42px; height: 42px; color: var(--gold-light); position: relative; z-index: 1; }
.placeholder-tile span { position: relative; z-index: 1; font-size: 0.85rem; text-align: center; padding: 0 14px; }

.photo-tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin: 0;
}
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.photo-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(13,28,64,0.85), rgba(13,28,64,0));
}

.video-tile {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy) 80%);
}
.video-tile .play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.video-tile .play-btn svg { width: 22px; height: 22px; color: var(--navy-dark); margin-left: 3px; }

/* ---------- Témoignages ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 30px;
  position: relative;
}
.testimonial-card .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.testimonial-card p.body { color: var(--text-soft); font-style: italic; }
.testimonial-card .author { font-weight: 700; color: var(--navy); }

/* ---------- Formulaires ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.92rem;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 20px;
  background: var(--cream);
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
textarea { resize: vertical; min-height: 120px; }
.form-status {
  margin-top: 10px;
  font-weight: 600;
  color: var(--navy-soft);
}

/* ---------- Info / Contact blocks ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.info-list .icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 3px;
}
.info-list strong { display: block; color: var(--navy); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

.social-row { display: flex; gap: 14px; margin-top: 18px; }
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { background: var(--gold); color: var(--navy-dark); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--cream-dark); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--navy-dark);
  color: var(--cream-dark);
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 { color: var(--gold-light); font-size: 1rem; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { color: var(--cream-dark); font-size: 0.93rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { height: 48px; border-radius: 50%; }
.footer-brand strong { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.05rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(250,246,236,0.6);
}

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.88rem; color: var(--text-soft); }
