/* =========================================================
   PSYCH&POTES ASBL — STYLES PRINCIPAUX 
   Design System: Mobile-first, accessible WCAG 2.1 AA
========================================================= */

:root {
  --color-dark: #0a1d37;
  --color-light: #f8f7f3;
  --color-accent: #d89f22;
  --color-teal: #08695f;
  --color-secondary: #8f2a3c;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1100px;
  --font-title: "Bebas Neue", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-mono: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(1200px 800px at 20% 10%, rgba(216, 159, 34, 0.14), transparent 60%),
              radial-gradient(900px 700px at 80% 10%, rgba(8, 105, 95, 0.12), transparent 55%),
              linear-gradient(180deg, #07162b, var(--color-dark));
  color: var(--color-light);
  line-height: 1.55;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #111;
  padding: 10px 12px;
  border-radius: 10px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

a {
  color: #d89f22;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(10, 29, 55, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(248, 247, 243, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;                /* Réduit de 14px à 8px */
  padding: 10px 16px;      /* Ajoute padding horizontal */
  max-width: 100%;         /* AJOUT: contrainte largeur */
}


.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative; 
}

.brand img {
  width: 180px;
  height: auto;
}
/* Tagline écologique sous le logo */
.eco-tagline {
  position: absolute;
  bottom: 0px;
  left: 70px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(248, 247, 243, 0.65);
  font-family: var(--font-mono);
  transform: rotate(-2deg);
  white-space: nowrap;
  pointer-events: none;
  animation: gentle-float 3s ease-in-out infinite;
  letter-spacing: 0.3px;
  display: none;
}

/* Animation de flottement doux */
@keyframes gentle-float {
  0%, 100% {
    transform: rotate(-2deg) translateY(0px);
  }
  50% {
    transform: rotate(-1.5deg) translateY(-2px);
  }
}


.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }

  .main-nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
  }
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 0.95rem;      /* Réduit de 1rem à 0.95rem */
  font-weight: 600;
  color: #F8F7F3;
  padding: 10px 12px;      /* Réduit de 18px à 12px (padding horizontal) */
  border-radius: 12px;
  transition: color 0.3s ease;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  white-space: nowrap;     /* AJOUT: empêche le texte de se couper */
}


.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transform: translateY(105%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 12px;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  transform: translateY(0);
}

.nav-link:focus-visible {
  outline: 2px solid #F8F7F3;
  outline-offset: 4px;
}

/* Animations colorées par bouton */
.main-nav li:nth-child(1) .nav-link::before { background-color: #ffffff; }
.main-nav li:nth-child(1) .nav-link:hover,
.main-nav li:nth-child(1) .nav-link:focus-visible { color: #0A1D37; }

.main-nav li:nth-child(2) .nav-link::before { background-color: #08695F; }
.main-nav li:nth-child(2) .nav-link:hover { color: #F8F7F3; }

.main-nav li:nth-child(3) .nav-link::before { background-color: #8F2A3C; }
.main-nav li:nth-child(3) .nav-link:hover { color: #F8F7F3; }

.main-nav li:nth-child(4) .nav-link::before { background-color: #0fa142; }
.main-nav li:nth-child(4) .nav-link:hover { color: #0A1D37; }

.main-nav li:nth-child(5) .nav-link::before { background-color: #08695F; }
.main-nav li:nth-child(5) .nav-link:hover { color: #F8F7F3; }

.main-nav li:nth-child(6) .nav-link::before { background-color: #F8F7F3; }
.main-nav li:nth-child(6) .nav-link:hover { color: #0A1D37; font-weight: 700; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;              /* Réduit de 18px à 12px */
  align-items: center;
  flex-wrap: nowrap;      /* AJOUT: empêche le retour à ligne */
}


.nav-link:focus-visible,
.drawer-link:focus-visible,
.btn:focus-visible,
.dot:focus-visible,
.burger:focus-visible {
  outline: 3px solid rgba(216, 159, 34, 0.9);
  outline-offset: 3px;
}

.nav-link:hover {
  animation: candle-flicker 900ms infinite;
  background: rgba(248, 247, 243, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.header-actions .btn-cta {
  white-space: nowrap;
  font-size: 0.85rem;
  padding: 8px 12px;
  margin: 0;
  height: auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.burger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(248, 247, 243, 0.2);
  background: rgba(248, 247, 243, 0.06);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 10px;
  margin: 0em 1em 0em 0.5em;
  flex-shrink: 0;
}

.burger span {
  width: 100%;
  height: 2px;
  background: var(--color-light);
  display: block;
  border-radius: 2px;
  transition: 0.3s;
}

.burger span + span {
  margin-top: 6px;
}

.mobile-drawer {
  border-top: 1px solid rgba(248, 247, 243, 0.12);
  background: rgba(10, 29, 55, 0.92);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition: max-height 320ms ease, opacity 220ms ease, transform 220ms ease, visibility 0s linear 320ms;
  will-change: max-height, opacity, transform;
}

.mobile-drawer.is-open {
  max-height: 70vh;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: max-height 420ms ease, opacity 260ms ease, transform 260ms ease, visibility 0s;
}

.drawer-list {
  list-style: none;
  margin: 0;
  padding: 12px 16px 16px;
  display: grid;
  gap: 8px;
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
}

.mobile-drawer.is-open .drawer-list {
  transform: translateY(0);
  opacity: 1;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--color-light);
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(248, 247, 243, 0.06);
}

.drawer-link:hover {
  background: rgba(248, 247, 243, 0.1);
}

.drawer-cta {
  background: rgba(216, 159, 34, 0.18);
  border: 1px solid rgba(216, 159, 34, 0.35);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 16px;
  border: 1px solid rgba(248, 247, 243, 0.16);
  cursor: pointer;
  color: var(--color-light);
  background: rgba(248, 247, 243, 0.06);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
  min-height: 44px;
}

.btn:hover {
  transform: translateY(-1px);
  animation: lightbulb 850ms ease-in-out;
}

.btn-primary {
  background: rgba(8, 105, 95, 0.4);
  border-color: rgba(8, 105, 95, 0.5);
}

.btn-ghost {
  background: rgba(143, 42, 60, 0.4);
}

.btn-cta {
  background: transparent;
  border-color: #d89f22;
  color: #d89f22;
  border-width: 3px;
  font-weight: 700;
  margin-right: 1.5em;
}

.btn.is-disabled {
  filter: grayscale(1);
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  pointer-events: auto;
}

.btn.is-disabled:hover {
  animation: none;
  transform: none;
}

/* ========== CAROUSEL HERO ========== */
.carousel {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgba(248, 247, 243, 0.12);
}

.carousel-track {
  position: absolute;
  inset: 0;
}

/* Carousel uniquement (évite collision avec WhyDonate qui utilise aussi .slide) */
.carousel .slide {
  position: absolute;
  margin: 0;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.carousel .slide.is-active {
  opacity: 1;
}

.carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 40px 16px;
  min-height: 78vh;
  background: radial-gradient(900px 520px at 50% 50%, rgba(10, 29, 55, 0.45), rgba(10, 29, 55, 0.78) 60%, rgba(10, 29, 55, 0.9));
}

.hero-kicker {
  margin: 0 0 12px;
  color: rgba(248, 247, 243, 0.92);
  font-family: var(--font-mono);
  font-size: large;
}

.hero-title {
  margin: 0;
  font-family: var(--font-title);
  /* Ajout de !important pour contrer le reset Tailwind du widget */
  font-size: clamp(32px, 5vw, 86px) !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.6;
  padding: 10px 0;
}

.hero-pill {
  display: inline;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(248, 247, 243, 0.08);
  border: 1px solid rgba(248, 247, 243, 0.18);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  margin: 0 6px;
  white-space: normal;
  vertical-align: middle;
}

.hero-subtitle {
  max-width: 56ch;
  font-size: large;
  font-family: var(--font-mono);
  margin: 10px 0 0;
  color: rgba(248, 247, 243, 0.92);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(10, 29, 55, 0.55);
  border: 1px solid rgba(248, 247, 243, 0.16);
  backdrop-filter: blur(10px);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(248, 247, 243, 0.55);
  background: transparent;
  cursor: pointer;
}

.dot.is-active {
  background: var(--color-accent);
  border-color: rgba(216, 159, 34, 0.85);
}

/* ========== SECTIONS ========== */
.section {
  padding: 46px 0;
}

.section-alt {
  background: rgba(248, 247, 243, 0.04);
}

.section-head {
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-family: var(--font-title);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  /* Ajout de !important pour contrer le reset Tailwind */
  font-size: clamp(30px, 4vw, 54px) !important;
}

.section-lead {
  margin: 6px 0 0;
  color: rgba(248, 247, 243, 0.92);
}

/* ========== TEAM ========== */
.team {
  display: grid;
  gap: 14px;
}

.profile {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(248, 247, 243, 0.06);
  border: 1px solid rgba(248, 247, 243, 0.14);
  box-shadow: var(--shadow);
}

.profile-img {
  border-radius: 18px;
  border: 1px solid rgba(248, 247, 243, 0.14);
  transition: transform 250ms ease, filter 250ms ease;
}

.profile:hover .profile-img {
  transform: translateY(-6px);
  filter: saturate(1.08);
}

.profile-body h3 {
  margin: 0 0 6px;
}

.profile-body h4 {
  color: #d89f22;
  font-size: 14px;
  margin-top: auto;
}

.profile-body p {
  margin: 0;
  color: rgba(248, 247, 243, 0.92);
}

/* ========== CARDS ========== */
.cards {
  display: grid;
  gap: 14px;
}

.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(248, 247, 243, 0.06);
  border: 1px solid rgba(248, 247, 243, 0.14);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: auto;
}

.card-body {
  padding: 14px 16px;
}

.card-body h3 {
  margin: 0 0 6px;
}

.card-body p {
  margin: 0;
  color: rgba(248, 247, 243, 0.92);
}

/* ========== REVIEW CALLOUT ========== */
.review-callout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  justify-content: space-between;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(216, 159, 34, 0.1);
  border: 1px solid rgba(216, 159, 34, 0.28);
}

.stars {
  font-size: 22px;
  color: var(--color-accent);
  margin: 8px 0 0;
  letter-spacing: 2px;
}

/* ========== FORMS ========== */
.form {
  margin-top: 1em;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(248, 247, 243, 0.06);
  border: 1px solid rgba(248, 247, 243, 0.14);
  box-shadow: var(--shadow);
}

#rgpdForm select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(248, 247, 243, 0.2);
  background: rgba(10, 29, 55, 0.55);
  color: var(--color-light);
  padding: 12px 12px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23F8F7F3' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

#rgpdForm select:focus {
  outline: none;
  border-color: rgba(216, 159, 34, 0.45);
  box-shadow: 0 0 0 3px rgba(216, 159, 34, 0.15);
}

#rgpdForm select option {
  background: #0a1d37;
  color: var(--color-light);
  padding: 8px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 650;
}

.form input,
.form textarea,
#rgpdForm input,
#rgpdForm textarea,
#newsletterOptInForm input,
#newsletterOptInForm textarea,
.inf-form input,
.inf-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(248, 247, 243, 0.2);
  background: rgba(10, 29, 55, 0.55);
  color: var(--color-light);
  padding: 12px 12px;
  font-size: 16px;
}

textarea {
    resize: vertical;
    min-height: 120px;
}


.form-actions {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.form-hint {
  margin: 0;
  font-size: 14px;
  color: rgba(248, 247, 243, 0.85);
}

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid rgba(248, 247, 243, 0.12);
  padding: 30px 0 18px;
  background: rgba(10, 29, 55, 0.8);
}

.footer-grid {
  display: grid;
  gap: 16px;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-links,
.socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--color-light);
}

.site-footer a:hover {
  color: var(--color-accent);
}

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

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(248, 247, 243, 0.12);
  color: rgba(248, 247, 243, 0.85);
  font-size: 14px;
}

.footer-bottom p {
  margin: 6px 0;
  text-align: center;
}

.newsletter {
  display: grid;
  gap: 10px;
}

.footer-note {
  margin: 0;
  font-size: 14px;
  color: rgba(248, 247, 243, 0.85);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== COOKIE MODAL ========== */
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-modal {
  position: fixed;
  text-align: center;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 2000;
}

.cookie-card {
  width: min(720px, 100%);
  border-radius: var(--radius);
  background: rgba(10, 29, 55, 0.96);
  border: 1px solid rgba(248, 247, 243, 0.14);
  box-shadow: var(--shadow);
  padding: 16px;
  text-align: center;
}

.cookie-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cookie-card p {
  margin: 2em;
  color: rgba(248, 247, 243, 0.92);
}

.cookie-actions {
  margin-top: 14px;
  justify-content: center;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========== ANIMATIONS ========== */
@keyframes lightbulb {
  0% { filter: brightness(1); }
  20% { filter: brightness(1.18) drop-shadow(0 0 0 rgba(216, 159, 34, 0)); }
  45% { filter: brightness(1.25) drop-shadow(0 0 20px rgba(216, 159, 34, 0.38)); }
  100% { filter: brightness(1); }
}

@keyframes candle-flicker {
  0% { filter: brightness(1); }
  30% { filter: brightness(1.12); }
  60% { filter: brightness(0.98); }
  100% { filter: brightness(1.08); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ========== RESPONSIVE ========== */
.grid-2 {
  display: grid;
  gap: 12px;
}
/* Réduction logo pour écrans moyens */
@media (min-width: 1024px) and (max-width: 1200px) {
  .brand img {
    width: 200px;  /* Au lieu de 260px par défaut */
  }
}
/* Affichage de la tagline uniquement au-dessus de 685px */
@media (min-width: 685px) {
  .eco-tagline {
    display: block;
  }
}
@media (min-width: 768px) {
  .brand img {
    width: 260px;
  }

  .review-callout {
    flex-direction: row;
    align-items: center;
  }

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

  .form-actions {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }

  .burger {
    display: none;
  }

  .team {
    gap: 16px;
  }

  .profile {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .profile-right .profile-img {
    order: 2;
  }

  .profile-right .profile-body {
    order: 1;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .header-actions {
    gap: 16px;
  }

  .header-actions .btn-cta {
    font-size: 1rem;
    padding: 12px 24px;
    min-height: 44px;
    margin-right: 1em;
    margin-bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slide {
    transition: none;
  }

  .btn:hover {
    animation: none;
  }

  .nav-link:hover {
    animation: none;
  }

  .profile:hover .profile-img {
    transform: none;
  }

  .mobile-drawer,
  .drawer-list {
    transition: none !important;
    transform: none !important;
  }
}

/* ========== PAGE NEWSLETTER SUCCESS ========== */
.success-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  width: 100%;
  text-align: center;
}

.success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.success-visual img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: block;
  max-width: 100%;
  height: auto;
  animation: popIn 0.6s ease-out forwards;
}

.success-content h1 {
  font-size: clamp(40px, 5vw, 60px);
  color: var(--color-accent);
  margin: 0 0 16px 0;
  line-height: 1;
}

.success-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: rgba(248,247,243, 0.9);
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .success-actions {
    flex-direction: column;
    width: 100%;
  }

  .success-actions .btn {
    width: 100%;
  }
}

/* ========== FORMULAIRE NEWSLETTER INFOMANIAK ========== */
.inf-input.inf-error input {
  border-color: var(--color-secondary) !important;
  box-shadow: 0 0 0 1px var(--color-secondary);
}

.inf-input.inf-error .inf-message {
  display: block;
  color: var(--color-secondary);
  font-size: 13px;
  margin-top: 4px;
}

.inf-form altcha-widget {
  display: block;
  color: #0A1D37 !important;
}

.inf-main_9595b8ba8c1ca41c0c83db5af78a5bc7 {
  background: rgba(248, 247, 243, 0.06) !important;
  border: 1px solid rgba(248, 247, 243, 0.14) !important;
  border-radius: 16px !important;
  padding: 16px !important;
}

.inf-main_9595b8ba8c1ca41c0c83db5af78a5bc7 h4,
.inf-main_9595b8ba8c1ca41c0c83db5af78a5bc7 span,
.inf-main_9595b8ba8c1ca41c0c83db5af78a5bc7 label {
  color: var(--color-light) !important;
}

/* ========== FIX CAPTCHA ALTCHA (Shadow DOM safe) ========== */
.pp-captcha-wrap {
  background: #fff;
  color: #0A1D37;
}

.pp-captcha-wrap .altcha-label,
.pp-captcha-wrap .altcha-label span {
  color: #0A1D37 !important;
}

/* ========== PAGE DON (Whydonate) ========== */

.don-page .kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(216, 159, 34, 0.16);
  border: 1px solid rgba(216, 159, 34, 0.35);
  color: var(--color-light);
  font-weight: 700;
}



.don-callouts {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 900px) {
  .don-callouts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.callout {
  background: rgba(10, 29, 55, 0.55);
  border: 1px solid rgba(248, 247, 243, 0.14);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.callout h2 {
  margin: 0 0 6px;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 1.4rem;
  color: var(--color-accent);
}



.don-tip {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(8, 105, 95, 0.35);
  background: rgba(8, 105, 95, 0.14);
}

.don-tip .muted,
.muted {
  color: rgba(248, 247, 243, 0.85);
}

.don-faq h2 {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-light);
    margin-bottom: 24px;
    /* Force une taille explicite pour la FAQ si elle parait petite */
    font-size: clamp(24px, 3vw, 42px) !important; 
}


.faq-item {
    background: rgba(10, 29, 55, 0.5); /* Fond semi-transparent */
    border: 1px solid rgba(248, 247, 243, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    transition: background 0.2s ease;
}

.faq-item:hover {
    background: rgba(10, 29, 55, 0.7);
}

.faq-item summary {
    font-family: var(--font-body); /* Ta police de texte principale */
    font-weight: 600;
    padding: 16px;
    cursor: pointer;
    list-style: none; /* Cache la flèche par défaut */
    position: relative;
    padding-right: 40px;
}

/* Petite flèche perso */
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: var(--color-accent);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-body {
    font-family: var(--font-body);
    padding: 0 16px 16px 16px;
    color: rgba(248, 247, 243, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========== WHYDONATE — CADRE IDENTIQUE (fond blanc) ========== */
/* Le widget est injecté ici : #widget-here-5rXmX.widget-here (don.html) */
.don-page .widget-here {
  /* WhyDonate fait "all: initial" sur .widget-here, donc on redéfinit tout ici */
  display: block;
  width: 100%;
  max-width: 615px; /* aligné sur .preview max-width côté WhyDonate */
  margin: 0 auto;

  /* Look & feel WhyDonate (card blanche + radius 10 + ombre) */
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  /* Important: pas de “double cadre” */
  padding: 0;
  border: 0;
  overflow: hidden; /* coins bien clean */
}

/* On colle le contenu interne au cadre (WhyDonate met des marges sur .preview) */
.don-page .widget-here .preview {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

/* Si la carte interne existe, on évite un 2e arrondi/ombre visuel */
.don-page .widget-here .preview-card {
  margin-top: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Optionnel: un poil d'air sur mobile sans casser le "collé" */
@media (max-width: 600px) {
  .don-page .widget-here {
    max-width: 100%;
  }
}

.don-page .don-widget-section {
  padding-top: 28px;
  padding-bottom: 46px; /* espace avant la FAQ "Questions / Réponses" */
}

/* ========== LISTE DONATEURS (STYLE DON-TIP) ========== */

.don-list-section {
  padding-top: 0;      /* Colle au widget principal */
  padding-bottom: 46px; /* Espace avant la FAQ */
}

/* On reprend le style de .don-tip + Centrage + Max-width */
.don-list-card {
  /* Style visuel (Teal transparent) */
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(8, 105, 95, 0.35);
  background: rgba(8, 105, 95, 0.14);
  color: var(--color-light);
  overflow: hidden;

  /* Centrage et Largeur Max demandée */
  max-width: 700px;
  margin: 0 auto; /* Centre le bloc horizontalement */
}

/* ========== FIX TITRES DON (anti reset Tailwind WhyDonate) ========== */

.don-page .don-hero .kicker{
  /* tu as déjà le style “pill”, on force juste la typo/tailles */
  font-family: var(--font-mono);
  font-size: 1rem !important;
  line-height: 1.2;
}

.don-page .don-hero-title{
  margin: 10px 0 0;
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 86px) !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.1;
}





