@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700;800&display=swap');

:root {
  --bleu-ciel-haut: #8ecdf1;
  --bleu-ciel-bas: #d9f0fb;
  --jaune: #f6c400;
  --jaune-ombre: #c99900;
  --rouge: #e8272a;
  --rouge-fonce: #b81f22;
  --blanc: #ffffff;
  --marron-ours: #7a4a2b;
  --encre: #1c1c1c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Baloo 2', sans-serif;
  color: var(--encre);
  background: linear-gradient(180deg, var(--bleu-ciel-haut) 0%, var(--bleu-ciel-bas) 55%, #eaf7e6 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

/* ---------- Titres ---------- */

.entete {
  text-align: center;
  margin-bottom: 24px;
}

.entete .presente {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.entete .association {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 14px;
}

.titre-or {
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  font-weight: 800;
  color: var(--jaune);
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 var(--encre),
     1px -1px 0 var(--encre),
    -1px  1px 0 var(--encre),
     1px  1px 0 var(--encre);
  margin: 0;
  line-height: 1.05;
  letter-spacing: 1px;
}

.sous-titre {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 700;
  margin: 10px 0 0;
}

/* ---------- Bandeaux rouges ---------- */

.bandeau {
  background: var(--rouge);
  color: var(--blanc);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 0 var(--rouge-fonce);
}

.bandeau h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.bandeau p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
}

/* ---------- Bloc infos pratiques ---------- */

.infos-pratiques {
  background: var(--blanc);
  border: 3px solid var(--rouge);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 22px 0;
}

.infos-pratiques .entree {
  text-align: center;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.infos-pratiques .entree small {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 4px;
}

.ligne-info {
  padding: 8px 0;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
}

.ligne-info + .ligne-info {
  border-top: 2px dashed #f0d2d2;
}

/* ---------- Reversion association ---------- */

.reversion {
  text-align: center;
  font-weight: 700;
  margin: 18px 0;
}

.reversion span {
  color: var(--rouge);
}

/* ---------- Bouton principal (unique) ---------- */

.bouton-principal-zone {
  display: flex;
  justify-content: center;
  margin: 30px 0 10px;
}

.bouton-gros {
  background: var(--jaune);
  color: var(--encre);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  text-align: center;
  padding: 18px 30px;
  border-radius: 50px;
  border: 3px solid var(--encre);
  box-shadow: 0 5px 0 var(--jaune-ombre);
  cursor: pointer;
  transition: transform 0.1s ease;
  display: inline-block;
}

.bouton-gros:hover {
  transform: translateY(-2px);
}

.bouton-gros:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--jaune-ombre);
}

/* ---------- Retour ---------- */

.lien-retour {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--rouge-fonce);
  text-decoration: none;
}

.lien-retour:hover {
  text-decoration: underline;
}

/* ---------- Ours de mascotte ---------- */

.mascotte {
  text-align: center;
  margin: 30px 0 10px;
}

.mascotte svg {
  width: 130px;
  height: auto;
}

/* ---------- Pastille "en direct" ---------- */

.pastille-direct {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blanc);
  border: 2px solid var(--rouge);
  border-radius: 30px;
  padding: 5px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rouge-fonce);
  margin-bottom: 14px;
}

.point-direct {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rouge);
  animation: clignote 1.4s infinite;
}

@keyframes clignote {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* ---------- Lots (page 2) ---------- */

.carte-lot {
  background: var(--blanc);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  border-left: 8px solid var(--jaune);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.carte-lot .nom-lot {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 2px;
}

.carte-lot .donateur-lot {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.bloc-section {
  margin: 32px 0;
}

.bloc-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--rouge);
  text-align: center;
  margin-bottom: 16px;
}

/* ---------- Proposer un lot (contact) ---------- */

.contact-lot {
  background: var(--blanc);
  border: 3px solid var(--jaune);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}

.contact-lot p {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-lot .contact-ligne {
  font-weight: 700;
}

.contact-lot a {
  color: var(--rouge-fonce);
  text-decoration: none;
}

.contact-lot a:hover {
  text-decoration: underline;
}

/* ---------- Compteur de visiteurs (style panneau de gare) ---------- */

.compteur-zone {
  text-align: center;
  margin: 30px 0;
  padding: 20px 10px;
}

.compteur-label {
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.compteur-digital {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 auto 14px;
}

.compteur-chiffre {
  background: var(--encre);
  color: var(--jaune);
  font-family: 'Courier New', monospace;
  font-weight: 800;
  font-size: clamp(1.8rem, 8vw, 3rem);
  width: clamp(38px, 11vw, 56px);
  height: clamp(54px, 15vw, 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35), inset 0 -2px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.compteur-chiffre::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(0, 0, 0, 0.5);
}

.compteur-sous-texte {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: #555;
}
