/* ==========================================================================
   doucefrance.org — site vitrine de l'association
   Identité : ivoire, encre, et le rose Douce France de la radio.
   Fraunces pour les titres, Inter pour le texte. Aucun framework.
   ========================================================================== */

:root {
  --ivoire: #faf7f2;
  --blanc: #ffffff;
  --encre: #14121c;
  --encre-2: #1d1a28;
  --texte: #2b2833;
  --gris: #6f6a78;
  --ligne: #e7e0d6;
  --rose: #b83980;
  --rose-fonce: #932c66;
  --rose-pale: #f6e7f0;
  --bleu: #2b4a7f;
  --or: #c8a45c;
  --radius: 18px;
  --contenu: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--rose); color: #fff; }

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

a { color: var(--rose-fonce); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

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

/* --- Typographie ---------------------------------------------------------- */

h1, h2, h3, .voeu {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  color: var(--encre);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.9rem, 7.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 0.55em; }
h3 { font-size: 1.35rem; line-height: 1.25; margin-bottom: 0.45em; }

.etiquette {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.1rem;
}

.chapo { font-size: 1.22rem; line-height: 1.6; color: var(--gris); max-width: 38em; }

/* --- Boutons -------------------------------------------------------------- */

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.bouton:hover { text-decoration: none; transform: translateY(-2px); }

.bouton--plein {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 10px 28px rgba(184, 57, 128, 0.32);
}
.bouton--plein:hover { background: var(--rose-fonce); box-shadow: 0 14px 34px rgba(184, 57, 128, 0.4); }

.bouton--ligne {
  border: 1.5px solid var(--encre);
  color: var(--encre);
}
.bouton--ligne:hover { background: var(--encre); color: var(--ivoire); }

.bouton--clair { border: 1.5px solid rgba(255,255,255,0.55); color: #fff; }
.bouton--clair:hover { background: #fff; color: var(--encre); }

/* --- En-tête -------------------------------------------------------------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ligne);
}

.entete .contenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.marque {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 620;
  color: var(--encre);
  letter-spacing: -0.01em;
}
.marque:hover { text-decoration: none; }
.marque span { color: var(--rose); }
.marque small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gris);
  margin-top: -2px;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { color: var(--encre); font-weight: 550; font-size: 0.98rem; }
.nav .bouton { padding: 0.62em 1.4em; font-size: 0.95rem; }
.nav .bouton:hover { text-decoration: none; }

@media (max-width: 780px) {
  .nav a:not(.bouton) { display: none; }
}

/* --- Héros ---------------------------------------------------------------- */

.heros { position: relative; overflow: hidden; padding: clamp(5rem, 11vw, 9.5rem) 0 clamp(6rem, 12vw, 10rem); }

.heros h1 { max-width: 11em; }
.heros h1 em { font-style: italic; color: var(--rose); }

.heros .chapo { margin: 1.8rem 0 2.6rem; }

.heros-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Ondes — le motif de la maison : trois lignes souples, bleu, or, rose. */
.ondes {
  position: absolute;
  inset: auto 0 -2px 0;
  width: 100%;
  height: clamp(90px, 14vw, 170px);
  pointer-events: none;
}

.mention-jo {
  margin-top: 3.2rem;
  font-size: 0.85rem;
  color: var(--gris);
}

/* --- Sections ------------------------------------------------------------- */

section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section--blanche { background: var(--blanc); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.section--sombre { background: var(--encre); }
.section--sombre h2, .section--sombre h3 { color: var(--ivoire); }
.section--sombre p { color: #b7b2c0; }

/* --- Manifeste ------------------------------------------------------------ */

.manifeste { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
@media (max-width: 880px) { .manifeste { grid-template-columns: 1fr; } }

.manifeste p + p { margin-top: 1.1em; }

.objet {
  border-left: 3px solid var(--rose);
  background: var(--rose-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.9rem;
  margin-top: 2rem;
}
.objet p { font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; line-height: 1.45; color: var(--encre); }
.objet cite { display: block; font-family: "Inter", sans-serif; font-style: normal; font-size: 0.82rem; color: var(--gris); margin-top: 0.8rem; }

/* --- Cartes d'action ------------------------------------------------------ */

.cartes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
@media (max-width: 1020px) { .cartes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cartes { grid-template-columns: 1fr; } }

.carte {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.carte:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20, 18, 28, 0.09); }

.carte .icone {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--rose-pale);
  color: var(--rose);
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
}
.carte p { font-size: 0.98rem; color: var(--gris); }
.carte a { font-weight: 600; }

/* --- Bande de chiffres ---------------------------------------------------- */

.chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 780px) { .chiffres { grid-template-columns: repeat(2, 1fr); gap: 2.6rem 1rem; } }

.chiffre strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 560;
  color: var(--ivoire);
  line-height: 1;
}
.chiffre strong em { color: var(--rose); font-style: normal; }
.chiffre span { display: block; margin-top: 0.7rem; font-size: 0.92rem; color: #b7b2c0; }

/* --- Bande radio ---------------------------------------------------------- */

.radio-grille { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (max-width: 880px) { .radio-grille { grid-template-columns: 1fr; } }

.radio-grille ul { list-style: none; margin-top: 1.6rem; }
.radio-grille li { position: relative; padding-left: 1.7rem; margin-bottom: 0.85rem; }
.radio-grille li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rose);
}

/* Vinyle décoratif en CSS pur. */
.vinyle {
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--rose) 0 17%, var(--ivoire) 17% 19%, transparent 19%),
    repeating-radial-gradient(circle at center, #221e2e 0 3px, #2c2739 3px 6px);
  box-shadow: 0 30px 70px rgba(20, 18, 28, 0.35);
  position: relative;
}
.vinyle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 45%);
}

/* --- Appel au don --------------------------------------------------------- */

.appel {
  background: linear-gradient(120deg, var(--rose-fonce), var(--rose) 55%, #d4589c);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.8rem, 6vw, 4.5rem);
  text-align: center;
  color: #fff;
}
.appel h2 { color: #fff; }
.appel p { color: rgba(255, 255, 255, 0.88); max-width: 34em; margin: 0 auto 2.2rem; }
.appel .bouton--plein { background: #fff; color: var(--rose-fonce); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22); }
.appel .bouton--plein:hover { background: var(--ivoire); }

/* --- Page dons ------------------------------------------------------------ */

.dons-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 3rem;
  align-items: start;
}
@media (max-width: 880px) { .dons-grille { grid-template-columns: 1fr; } }

.panneau {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
}
.panneau .etiquette { margin-bottom: 0.7rem; }
.panneau p { color: var(--gris); font-size: 0.98rem; }

.don-iframe {
  width: 100%;
  max-width: 500px;
  min-height: 900px;
  border: none;
  border-radius: 12px;
  margin-top: 1.4rem;
}

.rib { width: 100%; border-collapse: collapse; margin-top: 1.4rem; }
.rib th, .rib td { text-align: left; padding: 0.75rem 0.4rem; border-bottom: 1px solid var(--ligne); font-size: 0.95rem; }
.rib th { color: var(--gris); font-weight: 550; width: 34%; }
.rib td { font-family: "Space Mono", ui-monospace, monospace; font-size: 0.9rem; color: var(--encre); }

.badge-provisoire {
  display: inline-block;
  background: #fdf3d8;
  color: #8a6716;
  border: 1px solid #ecd9a0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin-left: 0.6rem;
  vertical-align: middle;
}

.avertissement {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: #fdf3d8;
  border: 1px solid #ecd9a0;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #6d5313;
}

/* --- Pied de page --------------------------------------------------------- */

.pied { background: var(--encre); color: #b7b2c0; padding: 4.5rem 0 2.5rem; }

.pied-grille {
  display: grid;
  grid-template-columns: 5fr 3fr 3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
@media (max-width: 780px) { .pied-grille { grid-template-columns: 1fr; } }

.pied .marque { color: var(--ivoire); }
.pied .marque small { color: #8d8898; }
.pied h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8d8898;
  margin-bottom: 1rem;
}
.pied a { color: #d8d4e0; }
.pied p { font-size: 0.95rem; }
.pied ul { list-style: none; }
.pied li { margin-bottom: 0.55rem; }

.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2.2rem;
  font-size: 0.85rem;
  color: #8d8898;
}
