/* ==========================================================================
   Nid'Envol : page « Soutien mensuel » (soutenir.html)
   Complète assets/css/style.css : n'ajoute que ce qui n'existe pas encore
   (le nid, les cartes d'oiseaux, le module de paiement). Tout le reste
   (boutons, cartes, encadrés, FAQ, bandeau, en-tête, pied) vient du site.
   ========================================================================== */
/* Le site ne masque pas les éléments [hidden] : on le garantit ici
   (champ « montant libre », panneaux d'onglets). */
#main [hidden] { display: none !important; }

:root {
  --nuee-bark:  #7a5a3c;
  --nuee-twig:  #a8875f;
  --nuee-straw: #d9c59f;
  --nuee-empty: #cddcda;
}

/* ---------- Accroche : le nid à la place de la photo ---------- */
.hero { overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.nuee-frame {
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-s) var(--radius-xl) var(--radius-s);
  box-shadow: var(--shadow-l);
  padding: clamp(1rem, 3vw, 1.8rem) clamp(1rem, 3vw, 1.8rem) clamp(4.8rem, 9vw, 5.6rem);
  display: grid; gap: 1rem;
}
.nuee-nest { width: 100%; height: auto; }
.hero-media img.nuee-tree { width: min(100%, 380px); height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; margin-inline: auto; }
.hero-badge img { flex: none; }
.nuee-nest .b-on  { stroke: none; }
.nuee-nest .b-off { fill: transparent; stroke: var(--nuee-empty); stroke-width: 1.2; }

/* ---------- Objectif ---------- */
.nuee-goal {
  display: grid; gap: .9rem 1.6rem; align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
}
.nuee-goal__figure {
  font-family: var(--font-display); font-weight: 600; line-height: 1;
  font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--rose-600);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ---------- Transparence ---------- */
.nuee-trust {
  margin-top: clamp(1.1rem, 2.5vw, 1.6rem);
  display: grid; gap: .4rem 1.4rem; align-items: start;
  grid-template-columns: auto minmax(0, 1fr);
}
.nuee-trust .card-icon { margin-bottom: 0; }
.nuee-trust h3 { font-size: var(--step-1); }
.nuee-trust p { max-width: 75ch; }

/* ---------- Cartes d'oiseaux ---------- */
.nuee-bird {
  position: relative;
  display: grid; gap: .3rem;
  grid-template-rows: auto auto auto auto 1fr auto;
  border: 2px solid var(--line);
}
.nuee-bird[aria-current="true"], .nuee-free[aria-current="true"] { border-color: var(--rose-600); box-shadow: var(--shadow); }
.nuee-bird h3, .nuee-free h3 { font-size: var(--step-1); margin: .4rem 0 0; }
.nuee-bird__tagline {
  margin: 0 0 .5rem; font-family: var(--font-display); font-style: italic;
  font-size: var(--step-0) !important; color: var(--teal-700) !important; line-height: 1.35;
}
.nuee-bird p { font-size: var(--step--1); }
.nuee-bird .btn { margin-top: 1rem; width: 100%; white-space: nowrap; padding-inline: .9em; }
.nuee-bird__art { width: 84px; height: 70px; }
.nuee-bird__price { margin: 0 0 .6rem; color: var(--ink-soft); font-weight: 700; }
.nuee-bird__price b {
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-3);
  line-height: 1.1; color: var(--rose-600); font-variant-numeric: tabular-nums;
}
.nuee-bird__price span { font-size: var(--step--1); color: var(--ink-mute); font-weight: 700; }
.nuee-bird__badge {
  position: absolute; top: -.8rem; left: 1.4rem;
  background: var(--leaf-500); color: var(--teal-900);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: 999px;
}
.nuee-free {
  margin-top: clamp(1.1rem, 2.5vw, 1.9rem);
  display: grid; gap: 1rem 1.6rem; align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  border: 2px solid var(--line);
}
.nuee-free > div { display: grid; gap: .1rem; }
.nuee-free p { margin: 0; }
.nuee-free .nuee-bird__price { margin: 0 0 .4rem; }
.nuee-free .nuee-bird__price b { font-size: var(--step-2); }

/* ---------- Module « Comment donner » ---------- */
.nuee-give {
  display: grid; gap: clamp(1.2rem, 3vw, 2rem); align-items: start;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
}
.nuee-choice { display: grid; gap: 1.1rem; }
.nuee-choice__bird { display: flex; align-items: center; gap: 1rem; }
.nuee-choice__bird svg { width: 70px; height: 59px; flex: none; }
.nuee-choice__bird h3 { font-size: var(--step-2); margin: 0 0 .15rem; }
.nuee-choice__bird p { margin: 0; color: var(--ink-soft); font-weight: 700; }

.nuee-field { display: grid; gap: .35rem; }
.nuee-field label { font-weight: 800; font-size: var(--step--1); color: var(--teal-900); }
.nuee-field input, .nuee-field select {
  font: inherit; color: var(--ink); width: 100%;
  padding: .75rem 1rem;
  background: var(--white);
  border: 2px solid var(--line); border-radius: var(--radius-s);
}
.nuee-field input:focus-visible, .nuee-field select:focus-visible { outline: none; border-color: var(--teal-700); }
.nuee-field small { color: var(--ink-mute); font-size: .84rem; line-height: 1.5; }

.nuee-panel { padding: 0; overflow: hidden; }
.nuee-tabs { display: flex; flex-wrap: wrap; gap: .3rem; padding: .7rem; border-bottom: 1px solid var(--line); background: var(--cream); }
.nuee-tab {
  flex: 1 1 auto;
  font: 700 .96rem/1.2 var(--font-body); color: var(--ink-soft);
  background: transparent; border: 0; border-radius: 999px;
  padding: .65rem 1rem; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nuee-tab:hover { background: var(--teal-100); color: var(--teal-900); }
.nuee-tab[aria-selected="true"] { background: var(--rose-050); color: var(--rose-600); }
.nuee-tabpanel { padding: clamp(1.3rem, 3vw, 2rem); }
.nuee-tabpanel > * + * { margin-top: 1.1rem; }
.nuee-tag {
  display: inline-block;
  font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--leaf-700); background: var(--leaf-100);
  padding: .35rem .75rem; border-radius: 999px;
}
.nuee-rows { margin: 0; border-top: 1px solid var(--line); }
.nuee-row {
  display: grid; gap: .3rem 1rem; align-items: center;
  grid-template-columns: 8.5rem minmax(0, 1fr) auto;
  padding: .75rem 0; border-bottom: 1px solid var(--line);
}
.nuee-row dt { font-size: var(--step--1); font-weight: 800; color: var(--ink-mute); }
.nuee-row dd { margin: 0; font-weight: 700; color: var(--teal-900); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.nuee-mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace; letter-spacing: .03em; color: var(--rose-600) !important; }
.nuee-steps { margin: 0; padding-left: 1.3rem; display: grid; gap: .45rem; color: var(--ink-soft); }
.nuee-note { font-size: var(--step--1); color: var(--ink-mute); }
#nuee-stripe[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.nuee-qr-wrap { display: grid; gap: 1.3rem; align-items: center; grid-template-columns: auto minmax(0, 1fr); }
.nuee-qr {
  width: 172px; height: 172px; padding: 10px;
  background: var(--white); border: 2px dashed var(--rose-100); border-radius: var(--radius-s);
  display: grid; place-items: center; color: var(--ink-mute); font-size: .85rem; text-align: center;
}
.nuee-qr svg { width: 100%; height: 100%; }

/* ---------- Entreprises ---------- */
.nuee-pro { display: grid; gap: 1.5rem 2.5rem; align-items: center; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.nuee-pro h2 { font-size: var(--step-2); }

/* ---------- Bandeau final ---------- */
.nuee-flight { width: min(220px, 60%); height: auto; margin-bottom: 1.4rem; }
.cta-band .nuee-sign { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: #fff; margin-top: .4rem; }

/* ---------- Petits écrans ---------- */
@media (max-width: 900px) {
  .nuee-give, .nuee-pro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nuee-trust { grid-template-columns: minmax(0, 1fr); }
  .nuee-goal { grid-template-columns: minmax(0, 1fr); }
  .nuee-free { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .nuee-free > div { justify-self: stretch; }
  .nuee-row { grid-template-columns: minmax(0, 1fr) auto; }
  .nuee-row dt { grid-column: 1 / -1; }
  .nuee-qr-wrap { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

/* Le badge du site réduit tous ses <span> : on rétablit la taille dans le titre */
.hero-badge b span { font-size: inherit; color: inherit; }


/* Aperçu uniquement */
.site-header { top: env(safe-area-inset-top, 0px); }

/* Visuel d'accroche : l'arbre entouré de sa nuée (statique) */
.nuee-nuee { width: 100%; height: auto; display: block; }
