/* Appel à dons Colibris 2026 : feuille de style unique de la page. */
:root {
  --vert: #b9cd00;
  --vert-vif: #d9eb00;
  --vert-pale: #ebf0b4;
  --rose: #d283a1;
  --peche: #ffe3d7;
  --jaune: #fcce51;
  --fonce: #0a241b;
  --rouge: #ff494a;
  --blanc: #ffffff;
  --navbar-height: 72px;
  --u: calc(100vw / 1920);
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

@font-face {
  font-family: 'Geomanist';
  src:
    url('../fonts/Geomanist-Light.woff2') format('woff2'),
    url('../fonts/Geomanist-Light.woff') format('woff');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Geomanist';
  src:
    url('../fonts/Geomanist-Book.woff2') format('woff2'),
    url('../fonts/Geomanist-Book.woff') format('woff');
  font-weight: 350;
  font-display: swap;
}
@font-face {
  font-family: 'Geomanist';
  src:
    url('../fonts/Geomanist-Regular.woff2') format('woff2'),
    url('../fonts/Geomanist-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Geomanist';
  src:
    url('../fonts/Geomanist-Medium.woff2') format('woff2'),
    url('../fonts/Geomanist-Medium.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Geomanist';
  src:
    url('../fonts/Geomanist-Bold.woff2') format('woff2'),
    url('../fonts/Geomanist-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Geomanist';
  src:
    url('../fonts/Geomanist-Black.woff2') format('woff2'),
    url('../fonts/Geomanist-Black.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Geomanist';
  src:
    url('../fonts/Geomanist-Ultra.woff2') format('woff2'),
    url('../fonts/Geomanist-Ultra.woff') format('woff');
  font-weight: 900;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Geomanist', Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.3;
  color: var(--fonce);
  background: var(--blanc);
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 0.6em;
}

strong,
.strong {
  font-weight: 700;
}

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

.container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.narrow {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.center {
  text-align: center;
}

.rose-txt {
  color: var(--rose);
}

.blanc-txt {
  color: var(--blanc);
}

.vert-pale-bg {
  background: var(--vert-pale);
}

.rose-bg {
  background: var(--rose);
}

main > section {
  padding: 60px 0;
}

.btn {
  display: inline-block;
  margin: 1em 0 0.5em;
  padding: 0.65em 1em 0.55em;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blanc);
  background: var(--rose);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: scale(1.05);
  background: var(--fonce);
}

.btn-blanc {
  background: var(--blanc);
  color: var(--rose);
}

.btn-blanc:hover,
.btn-blanc:focus-visible {
  color: var(--blanc);
}

.bandeau {
  display: inline-block;
  margin: 1.2em 0 0.4em;
  padding: 0.15em 0.5em 0.05em;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.bandeau.rose {
  background: var(--rose);
  color: var(--blanc);
}

.bandeau.blanc {
  background: var(--blanc);
  color: var(--fonce);
}

.navbar {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: var(--navbar-height);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.navbar.is-solid,
.menu-open .navbar {
  background: var(--vert);
  box-shadow: 0 2px 8px rgb(10 36 27 / 0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1420px;
  height: 100%;
  margin: 0 auto;
  padding: 0 4.5vw;
}

.logo-link img {
  width: 110px;
}

.menu {
  flex: 1;
  margin-top: 10px;
}

.menu ul {
  display: flex;
  justify-content: center;
  gap: 2.4vw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.menu a:hover,
.menu a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-don-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px 5px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--blanc);
  background: var(--rouge);
  transform: rotate(-2deg);
  transition: transform 0.15s ease;
}

.btn-don-header:hover,
.btn-don-header:focus-visible {
  transform: rotate(0) scale(1.05);
}

.btn-don-header svg {
  width: 15px;
  margin-top: -2px;
}

#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: none;
  cursor: pointer;
}

#menu-toggle span {
  display: block;
  height: 3px;
  background: var(--fonce);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-open #menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-open #menu-toggle span:nth-child(2) {
  opacity: 0;
}
.menu-open #menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  background: var(--vert);
}

.hero img {
  width: 100%;
  aspect-ratio: 1920 / 988;
  object-fit: cover;
}

.ruban {
  background-repeat: no-repeat;
  background-size: calc(3554 * var(--u)) auto;
  background-position: calc(-605 * var(--u)) var(--ruban-y);
}

.ruban-pale {
  background-image: url('../images/ruban_pale.svg');
}

.ruban-vif {
  background-color: var(--vert);
  background-image: url('../images/ruban_vif.svg');
}

#intro {
  --ruban-y: calc(-1023 * var(--u));
}

#dons {
  --ruban-y: calc(-1932 * var(--u));
}

#ensemble {
  --ruban-y: calc(-7000 * var(--u));
}

.titre-dons {
  margin: 0 0 30px;
  font-weight: inherit;
}

.titre-dons .surtitre {
  display: block;
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 300;
  line-height: 1.1;
}

.titre-dons .titre {
  display: block;
  font-size: clamp(48px, 8vw, 78px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: var(--blanc);
}

.montants {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-bottom: 20px;
}

.montant {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.montant:hover,
.montant:focus-visible {
  transform: scale(1.06);
}

.montant-cercle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--blanc);
  color: var(--vert);
  font-weight: 700;
  font-size: 57px;
  letter-spacing: -1px;
}

.montant-soit {
  margin-top: -26px;
  padding: 6px 12px 2px;
  font-size: 15px;
  font-weight: 300;
  color: var(--blanc);
  background: var(--rose);
  transform: rotate(-3deg);
}

.montant-soit strong {
  font-size: 26px;
}

.montant-soit sup {
  font-size: 0.55em;
}

.montant-fisc {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
}

.fiscalite {
  max-width: 680px;
  margin: 40px auto 0;
}

.fiscalite-onglet {
  display: inline-block;
  padding: 6px 18px 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--blanc);
  background: var(--rose);
  border-radius: 6px;
}

.fiscalite-boite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: -12px;
  padding: 26px 24px 16px 36px;
  text-align: left;
  background: var(--blanc);
  border-radius: 6px;
}

.fiscalite-chiffre {
  font-size: 84px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--vert);
}

.fiscalite-texte {
  flex: 1;
  font-size: 14px;
}

.fiscalite-texte small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
}

.fiscalite-graphique {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fiscalite-legende {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.fiscalite-fleche {
  width: 28px;
  color: var(--fonce);
}

.camembert {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--rose) 0 34%, var(--vert) 34% 100%);
}

.titre-section {
  position: relative;
  display: table;
  margin: 0 auto 24px;
  font-weight: 900;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
}

.titre-section span {
  display: block;
}

.titre-section .t-sur {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 38px);
  text-transform: none;
}

.titre-section .t-m {
  font-size: clamp(36px, 5.5vw, 52px);
  text-transform: none;
}

.titre-section .t-xl {
  font-size: clamp(46px, 8vw, 76px);
}

.titre-section .t-l {
  font-size: clamp(32px, 5.6vw, 54px);
}

.titre-colibri {
  position: absolute;
  z-index: -1;
  top: -20px;
  right: -40px;
  width: 64px;
  transform: rotate(-12deg);
}

#actions,
#pourquoi,
#questions {
  position: relative;
  z-index: 0;
}

#actions .titre-colibri {
  z-index: 0;
  top: -6px;
  right: -46px;
  width: 115px;
}

.intro {
  max-width: 720px;
  margin: 0 auto 50px;
  font-weight: 350;
}

.action {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  gap: 24px;
  margin: 0 0 70px;
}

.action.inverse .action-visuel {
  order: 2;
}

.action-visuel {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cercle);
}

.action-visuel img {
  position: absolute;
  max-width: none;
  left: var(--img-x);
  top: var(--img-y);
  width: var(--img-w);
}

.action-ecouter {
  --cercle: var(--peche);
  --etiquette: var(--peche);
  --img-x: -44%;
  --img-y: 2%;
  --img-w: 158%;
}

.action-experimenter {
  --cercle: var(--vert-pale);
  --etiquette: var(--vert);
  --etiquette-txt: var(--blanc);
  --img-x: -18%;
  --img-y: 15%;
  --img-w: 122%;
}

.action-relier {
  --cercle: var(--rose);
  --etiquette: var(--rose);
  --etiquette-txt: var(--blanc);
  --img-x: -37%;
  --img-y: 13%;
  --img-w: 146%;
}

.action-transmettre {
  --cercle: var(--jaune);
  --etiquette: var(--jaune);
  --img-x: -22%;
  --img-y: 24%;
  --img-w: 154%;
}

.etiquette {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 6px 1px;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--etiquette-txt, var(--fonce));
  background: var(--etiquette);
}

.action-texte p.strong {
  font-size: 19px;
}

.le-saviez-vous {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 350;
}

#pourquoi .titre-colibri {
  top: -40px;
  right: -10px;
  width: 110px;
}

.sous-titre {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 350;
  text-transform: uppercase;
  color: var(--rose);
}

#pourquoi .intro {
  margin-bottom: 40px;
}

.cartes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.carte {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 280px;
  padding: 5px 5px 18px;
  background: var(--blanc);
  cursor: pointer;
}

.carte img {
  width: 100%;
  aspect-ratio: 395 / 285;
  object-fit: cover;
}

.carte-verbe {
  margin: 18px 0 6px;
  font-size: 15px;
  color: var(--rose);
  text-transform: uppercase;
}

.carte-texte {
  padding: 0 14px;
  font-size: 24px;
  font-weight: 350;
  line-height: 1.15;
}

.carte-verso {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  padding: 12px 16px;
  overflow-y: auto;
  font-size: 15px;
  font-weight: 350;
  line-height: 1.25;
  text-align: center;
  color: var(--fonce);
  background: var(--blanc);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 300ms ease-in,
    visibility 300ms;
}

.carte-verso p {
  margin: 0 0 8px;
}

.carte-verso p:last-child {
  margin-bottom: 0;
}

.carte:hover .carte-verso,
.carte:focus .carte-verso,
.carte:focus-within .carte-verso {
  opacity: 1;
  visibility: visible;
}

.titre-ensemble {
  max-width: 680px;
  margin: 0 auto 12px;
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 700;
  line-height: 1.1;
}

.groupe {
  width: 500px;
  margin: 30px auto 10px;
}

.carrousel {
  max-width: 560px;
  margin: 16px auto 0;
}

.temoignage {
  display: none;
  position: relative;
  margin: 0;
  padding: 0 40px;
  text-align: left;
}

.temoignage.is-active {
  display: block;
}

.temoignage blockquote {
  position: relative;
  margin: 0;
  font-weight: 700;
}

.temoignage blockquote::before,
.temoignage blockquote::after {
  position: absolute;
  z-index: -1;
  font-weight: 900;
  font-size: 110px;
  line-height: 1;
  color: var(--vert);
}

.temoignage blockquote::before {
  content: '“';
  top: -24px;
  left: -26px;
}

.temoignage blockquote::after {
  content: '”';
  bottom: -76px;
  right: -40px;
}

.temoignage figcaption {
  margin-top: 4px;
  font-size: 12px;
  text-transform: uppercase;
}

#ensemble {
  position: relative;
  z-index: 0;
}

.carrousel-points {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.carrousel-points button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--vert-pale);
  cursor: pointer;
}

.carrousel-points button.is-active {
  background: var(--vert);
}

#questions .titre-colibri {
  top: -40px;
  right: 20px;
  width: 110px;
}

#questions .narrow p {
  font-weight: 400;
}

.footer {
  padding: 50px 16px 40px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.3;
  color: var(--blanc);
  background: var(--fonce);
}

.footer-logo {
  width: 140px;
  margin: 0 auto 30px;
}

.footer-reseaux {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 30px;
}

.footer-reseaux svg {
  width: 42px;
  height: 42px;
  transition: transform 0.15s ease;
}

.footer-reseaux a:hover svg,
.footer-reseaux a:focus-visible svg {
  transform: scale(1.1);
}

.footer-reseaux .cercle {
  fill: var(--blanc);
}

.footer-reseaux .symbole {
  fill: var(--fonce);
}

.footer-infos {
  margin-bottom: 14px;
}

.footer a {
  text-decoration: none;
}

.footer-infos a:hover {
  text-decoration: underline;
}

.modale-fond {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgb(10 36 27 / 0.7);
}

.modale-fond[hidden] {
  display: none;
}

.modale {
  position: relative;
  max-width: 480px;
  padding: 24px 32px;
  background: var(--blanc);
}

.modale-fermer {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .navbar-inner {
    gap: 12px;
  }

  #menu-toggle {
    display: flex;
    order: 3;
  }

  .btn-don-header {
    margin-left: auto;
  }

  .menu {
    position: fixed;
    inset: var(--navbar-height) 0 auto;
    display: none;
    padding: 12px 0 20px;
    background: var(--vert);
  }

  .menu-open .menu {
    display: block;
  }

  .menu ul {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .menu a {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  :root {
    --navbar-height: 60px;
  }

  body {
    font-size: 17px;
  }

  main > section {
    padding: 44px 0;
  }

  .logo-link img {
    width: 76px;
  }

  .hero {
    padding-top: var(--navbar-height);
  }

  .action,
  .action.inverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .action.inverse .action-visuel {
    order: 0;
  }

  .action-visuel {
    width: min(78vw, 300px);
    margin: 0 auto;
  }

  .fiscalite-boite {
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px 16px 16px;
    text-align: center;
  }

  .fiscalite-texte {
    flex-basis: 100%;
  }

  .carte {
    width: 100%;
    max-width: 320px;
  }

  .groupe {
    width: 100%;
  }

  .titre-colibri,
  #actions .titre-colibri,
  #pourquoi .titre-colibri,
  #questions .titre-colibri {
    right: -10px;
    width: 56px;
  }
}

#intro .narrow,
#ensemble .narrow {
  max-width: 900px;
}

.action-texte {
  width: 680px;
}

#actions .container {
  max-width: 1100px;
}

.action.inverse {
  grid-template-columns: 680px 420px;
}

.montant-cercle {
  /* width: 116px; */
  /* height: 116px; */
  /* font-size: 46px; */
  width: 140px;
  height: 140px;
  font-size: 57px;
}

.fiscalite-boite {
  border-radius: 6px;
}

.fiscalite-onglet {
  border-radius: 6px;
}

.action-visuel {
  width: 400px;
}

.action {
  grid-template-columns: 420px 680px;
  margin: 0;
}

.action-transmettre {
  --img-x: -9%;
  --img-w: 125%;
}
