:root {
  --red: #ef1717;
  --red-dark: #cc1010;
  --blue: #5b5ff2;
  --blue-dark: #252968;
  --purple: #7f4bf2;
  --ink: #20213a;
  --muted: #6d7085;
  --soft: #f6f7fb;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(34, 37, 86, .12);
}

html { scroll-behavior: smooth; }
body { font-family: "Nunito", sans-serif; color: var(--ink); background: #fff; }
a { text-decoration: none; }

.navbar {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(34,37,86,.07);
  padding: .7rem 0;
}
.navbar-brand img { width: 135px; height: 64px; object-fit: contain; }
.nav-link { color: var(--ink); font-weight: 700; padding: .8rem .75rem !important; }
.nav-link:hover, .nav-link:focus { color: var(--red); }
.btn-don, .btn-primary-custom {
  background: linear-gradient(135deg, var(--red), #ff4343);
  color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.35rem; font-weight: 800;
  box-shadow: 0 10px 24px rgba(239,23,23,.24);
}
.btn-don:hover, .btn-primary-custom:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-custom { border: 2px solid var(--blue); color: var(--blue); border-radius: 999px; padding: .78rem 1.35rem; font-weight: 800; }
.btn-outline-custom:hover { background: var(--blue); color: #fff; }

.hero-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff 0%, #f8f7ff 50%, #fff4f4 100%); }
.hero-section::after { content:""; position:absolute; inset:auto -10% -35% auto; width:520px; height:520px; border-radius:50%; background:rgba(91,95,242,.08); }
.hero-shape { position:absolute; border-radius:50%; filter: blur(2px); }
.hero-shape-one { width:260px; height:260px; background:rgba(239,23,23,.08); top:15%; left:-90px; }
.hero-shape-two { width:180px; height:180px; background:rgba(91,95,242,.10); right:12%; top:18%; }
.eyebrow, .section-kicker { display:inline-flex; align-items:center; gap:.5rem; color:var(--red); font-weight:800; text-transform:uppercase; letter-spacing:.1em; font-size:.78rem; }
.hero-section h1 { font-size:clamp(2.8rem, 6vw, 5.7rem); line-height:.98; font-weight:800; margin:1.2rem 0 1.5rem; max-width:780px; }
.hero-lead { color:var(--muted); font-size:1.25rem; line-height:1.7; max-width:670px; margin-bottom:2rem; }
.hero-logo-card { background:#fff; border-radius:38px; padding:3rem; box-shadow:var(--shadow); transform:rotate(2deg); position:relative; z-index:2; }
.hero-logo-card img { max-height:360px; }

.section-padding { padding: 110px 0; }
.bg-light-soft { background: var(--soft); }
.section-heading { max-width:760px; }
h2 { font-size:clamp(2.2rem, 4vw, 3.7rem); font-weight:800; line-height:1.08; margin:1rem 0 1.5rem; }
p { color:var(--muted); line-height:1.75; }

.mission-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.25rem; }
.mission-card { background:#fff; border:1px solid #ececf4; border-radius:var(--radius); padding:1.8rem; box-shadow:0 12px 35px rgba(34,37,86,.07); transition:.25s ease; }
.mission-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
.mission-card h3 { font-size:1.3rem; font-weight:800; margin-top:1.2rem; }
.mission-card p { margin-bottom:0; }
.icon-box { width:58px; height:58px; border-radius:18px; display:inline-grid; place-items:center; color:#fff; font-size:1.5rem; }
.icon-box.red { background:var(--red); }
.icon-box.blue { background:var(--blue); }
.icon-box.purple { background:var(--purple); }
.icon-box.white { background:#fff; color:var(--red); }
.highlight-card { background:linear-gradient(135deg,var(--blue),var(--purple)); }
.highlight-card h3, .highlight-card p { color:#fff; }

.agenda-section { background:linear-gradient(180deg,#fafaff,#fff); }
.event-card { background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:0 18px 50px rgba(34,37,86,.10); border:1px solid #ececf4; transition:.25s ease; }
.event-card:hover { transform:translateY(-7px); }
.event-visual { min-height:190px; display:flex; align-items:center; justify-content:center; position:relative; color:#fff; font-size:4rem; }
.event-visual-red { background:linear-gradient(135deg,var(--red),#ff6161); }
.event-visual-blue { background:linear-gradient(135deg,var(--blue),var(--purple)); }
.event-month { position:absolute; top:18px; left:18px; background:#fff; color:var(--ink); border-radius:999px; padding:.45rem .8rem; font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.event-body { padding:1.75rem; }
.event-date { color:var(--red); font-weight:800; font-size:.9rem; }
.event-body h3 { font-size:1.45rem; font-weight:800; margin:.8rem 0; }
.event-meta { list-style:none; padding:0; margin:1.25rem 0 0; display:grid; gap:.55rem; color:var(--muted); }
.event-meta i { color:var(--blue); margin-right:.4rem; }
.event-card-empty { border:2px dashed #cfd1e6; background:transparent; display:grid; place-items:center; text-align:center; padding:2rem; }
.add-icon { width:70px; height:70px; border-radius:50%; background:#fff; color:var(--blue); display:inline-grid; place-items:center; font-size:2rem; box-shadow:0 12px 35px rgba(34,37,86,.10); margin-bottom:1rem; }

.televie-section { background:linear-gradient(135deg,#262a70,#5b5ff2 60%,#7f4bf2); color:#fff; position:relative; overflow:hidden; }
.televie-section p { color:rgba(255,255,255,.82); font-size:1.1rem; }
.televie-symbol { width:280px; height:280px; border-radius:40% 60% 60% 40% / 40% 45% 55% 60%; background:rgba(255,255,255,.12); display:grid; place-items:center; margin:auto; font-size:8rem; color:#fff; transform:rotate(-6deg); }

.donation-card { background:#fff; border-radius:32px; padding:3rem; box-shadow:var(--shadow); }
.donation-logo { max-width:250px; }
.bank-box { display:grid; grid-template-columns:2fr 1fr 2fr; gap:1rem; margin-top:1.5rem; }
.bank-box > div { background:var(--soft); border-radius:18px; padding:1rem 1.2rem; }
.bank-box small { display:block; color:var(--muted); margin-bottom:.3rem; }
.bank-box strong { display:block; color:var(--ink); }
.tax-note { display:flex; gap:.75rem; align-items:flex-start; background:#fff6e8; padding:1rem 1.2rem; border-radius:16px; color:#9b6300; }
.tax-note i { margin-top:.15rem; }

.contact-card { text-align:center; padding:2.2rem; border-radius:var(--radius); background:#fff; box-shadow:0 15px 45px rgba(34,37,86,.08); border:1px solid #ececf4; }
.contact-card > i { width:64px; height:64px; display:inline-grid; place-items:center; border-radius:20px; background:var(--soft); color:var(--red); font-size:1.8rem; }
.contact-card h3 { font-weight:800; margin:1.2rem 0 .8rem; }
.contact-card a { color:var(--blue); font-weight:800; }
.btn-facebook { background:#1877f2; color:#fff !important; border-radius:999px; padding:.75rem 1rem; }
.btn-facebook:hover { background:#0d63d4; color:#fff; }

.site-footer { background:#171936; color:#fff; padding:4rem 0 1.5rem; }
.site-footer h3 { font-weight:800; }
.site-footer p, .site-footer span { color:rgba(255,255,255,.68); }
.site-footer a { color:#fff; }
.footer-links { display:flex; flex-wrap:wrap; gap:.8rem 1.4rem; }
.footer-links a:hover, .back-top:hover { color:#ff7474; }
.site-footer hr { border-color:rgba(255,255,255,.14); margin:2rem 0 1.25rem; }
.back-top { font-weight:800; }

@media (max-width: 991.98px) {
  .navbar-collapse { padding:1rem 0 1.25rem; }
  .hero-section { padding-top:70px; }
  .hero-section .min-vh-100 { min-height:auto !important; padding-top:7rem !important; padding-bottom:5rem !important; }
  .mission-grid { grid-template-columns:1fr 1fr; }
  .bank-box { grid-template-columns:1fr; }
}
@media (max-width: 767.98px) {
  .section-padding { padding:78px 0; }
  .mission-grid { grid-template-columns:1fr; }
  .hero-logo-card { padding:1.5rem; border-radius:26px; }
  .donation-card { padding:1.5rem; }
  .televie-symbol { width:210px; height:210px; font-size:5.5rem; }
  .navbar-brand img { width:110px; height:54px; }
}

/* Promotion T-shirt 2026 */
.tshirt-section {
  background:
    radial-gradient(circle at 10% 15%, rgba(239, 23, 23, .08), transparent 28%),
    radial-gradient(circle at 90% 85%, rgba(91, 95, 242, .10), transparent 30%),
    #fff;
}

.promo-poster-card {
  background: #fff;
  border-radius: 32px;
  padding: 1rem;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
  border: 1px solid #ececf4;
}

.promo-poster-card img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  border-radius: 24px;
  display: block;
}

.promo-price-box {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  background: linear-gradient(135deg, var(--red), #d21f59);
  color: #fff;
  border-radius: 22px;
  padding: 1rem 1.4rem;
  margin: .5rem 0 1.5rem;
  box-shadow: 0 14px 30px rgba(239, 23, 23, .22);
}

.promo-price-box span,
.promo-price-box small {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}

.promo-price-box strong {
  font-size: 2.35rem;
  line-height: 1;
}

.promo-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .9rem;
}

.promo-features li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 700;
}

.promo-features i {
  color: var(--blue);
  font-size: 1.15rem;
  margin-top: .1rem;
}

.promo-features li:last-child i {
  color: var(--red);
}

.promo-alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.6rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: #fff4d8;
  border: 1px solid #ffe2a0;
}

.promo-alert > i {
  color: #d58b00;
  font-size: 1.45rem;
}

.promo-alert p {
  color: #7d6220;
}

@media (max-width: 991.98px) {
  .promo-poster-card {
    max-width: 620px;
    margin: 0 auto;
  }
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .875rem;
}

.footer-aventweb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.footer-aventweb img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-aventweb span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-aventweb strong {
  font-weight: 700;
}

.footer-heart {
  color: #e30613;
  font-size: .9rem;
}

.footer-aventweb:hover {
  color: inherit;
  opacity: .8;
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .footer-bottom-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-aventweb {
    justify-content: center;
  }

  .footer-aventweb span {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Agenda dynamique — flyers A4 */
.event-flyer-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(13, 28, 61, .09);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(13, 28, 61, .08);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.event-flyer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(13, 28, 61, .14);
}
.event-flyer-image-wrap {
  width: 100%;
  aspect-ratio: 210 / 297;
  background: #f7f8fb;
  overflow: hidden;
}
.event-flyer-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.event-flyer-info {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(13, 28, 61, .07);
}
.event-flyer-date {
  display: block;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.event-flyer-title {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
}
.events-empty {
  max-width: 560px;
  margin: 2rem auto 0;
  padding: 2.5rem;
  text-align: center;
  border: 1px dashed rgba(13, 28, 61, .18);
  border-radius: 22px;
  background: rgba(255,255,255,.65);
}
.events-empty i { font-size: 2rem; color: var(--red); }
.events-empty h3 { margin: .8rem 0 .35rem; font-size: 1.25rem; }
.flyer-modal-content { background: transparent; border: 0; align-items: center; }
.flyer-modal-content img { max-height: 88vh; width: auto; border-radius: 12px; box-shadow: 0 20px 70px rgba(0,0,0,.35); }
.flyer-modal-close { position: absolute; z-index: 2; top: -12px; right: -12px; background-color: #fff; opacity: 1; padding: .7rem; border-radius: 50%; }

/* AventWeb — hébergement responsable */
.aw-green-badge {
  position: fixed; right: 18px; bottom: 18px; z-index: 1035;
  width: 54px; height: 54px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: #31824a;
  box-shadow: 0 8px 28px rgba(0,0,0,.16); font-size: 1.35rem;
}
.aw-green-popover {
  position: fixed; right: 18px; bottom: 82px; z-index: 1035;
  width: min(330px, calc(100vw - 36px)); padding: 16px 18px;
  background: #fff; color: #183021; border: 1px solid #dceade; border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,.15); font-size: .88rem;
}
.aw-green-popover strong { display:block; margin-bottom:4px; }
.aw-green-popover p { margin:0; color:#54705c; }
.aw-cookie-note {
  position: fixed; left: 16px; bottom: 16px; z-index: 1040;
  width: min(390px, calc(100vw - 32px)); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  background: #0d1c3d; color: #fff; border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,.2); font-size: .82rem;
}
.aw-cookie-note p { margin:0; flex:1; color:rgba(255,255,255,.8); }
.aw-cookie-note strong { color:#fff; }
.aw-cookie-close { border:0; background:#fff; color:#0d1c3d; border-radius:999px; padding:7px 12px; font-weight:800; white-space:nowrap; }


/* Agenda Wanitou — module Agenda AventWeb */
.event-no-image {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(145deg, #fff4f5, #f3f6ff); color: var(--red);
}
.event-no-image i { font-size: 3.2rem; }
.event-no-image span { color: var(--ink); font-weight: 800; letter-spacing: .02em; }
.event-contact-card {
  height: 100%; display: block; overflow: hidden; text-decoration: none;
  background: #fff; border: 1px solid rgba(13,28,61,.09); border-radius: 22px;
  box-shadow: 0 18px 45px rgba(13,28,61,.08); transition: transform .25s ease, box-shadow .25s ease;
}
.event-contact-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(13,28,61,.14); }
.event-contact-visual {
  aspect-ratio: 210 / 297; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 30px;
  background: linear-gradient(145deg, var(--red), #c9173d 58%, #244eaa); color: #fff;
}
.event-contact-visual i { font-size: 3.4rem; margin-bottom: 18px; }
.event-contact-visual span { font-size: 1.45rem; line-height: 1.15; font-weight: 800; }

/* Mise en avant Agenda + animation coeur du hero */
.hero-heart-logo {
  transform-origin: center;
  animation: wanitou-heartbeat 1.65s ease-in-out infinite;
  will-change: transform;
}
@keyframes wanitou-heartbeat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.055); }
  22% { transform: scale(1); }
  34% { transform: scale(1.085); }
  48% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-heart-logo { animation: none; }
}
.agenda-nav-link { font-weight: 800 !important; }
.agenda-nav-link i { color: var(--red); }
.hero-agenda-btn {
  position: relative;
  box-shadow: 0 12px 30px rgba(239,23,23,.25);
  animation: agenda-cta-glow 2.2s ease-in-out infinite;
}
.hero-agenda-btn::after {
  content: ""; position: absolute; inset: -5px; border: 2px solid rgba(239,23,23,.22);
  border-radius: inherit; pointer-events: none;
}
@keyframes agenda-cta-glow {
  0%,100% { box-shadow: 0 12px 30px rgba(239,23,23,.22); }
  50% { box-shadow: 0 14px 38px rgba(239,23,23,.42); }
}
.agenda-section { position: relative; z-index: 3; }

/* Affiches Agenda : remplissent toute la zone A4 sans bandes blanches latérales */
.event-flyer-image { object-fit: cover; object-position: center; }
