:root {
  --encre: #17131f;
  --creme: #fffdf5;
  --rose: #ff4f9a;
  --rose-fonce: #e0266f;
  --ciel: #bfe9ff;
  --ciel-bas: #fff4e0;
  --gris: #5b5470;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  color: var(--encre);
  background: linear-gradient(180deg, var(--ciel) 0%, var(--ciel-bas) 55%, var(--creme) 100%);
  line-height: 1.5;
}

a { color: var(--rose-fonce); }

.haut {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.marque {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 26px; text-decoration: none; color: var(--encre);
}
.haut nav a { margin-left: 18px; text-decoration: none; color: var(--encre); font-weight: 600; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}
.badge {
  display: inline-block;
  background: #fff;
  border: 3px solid var(--encre);
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: 600;
  box-shadow: 3px 3px 0 var(--encre);
}
h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.05; margin: 16px 0; }
.intro { font-size: 20px; color: var(--gris); max-width: 32ch; }

.bouton {
  display: inline-block;
  background: var(--rose);
  color: #fff;
  font: 700 20px "Fredoka", sans-serif;
  text-decoration: none;
  border: 4px solid var(--encre);
  border-radius: 18px;
  padding: 12px 24px;
  box-shadow: 4px 4px 0 var(--encre);
  cursor: pointer;
}
.bouton:hover { background: var(--rose-fonce); }
.bouton:disabled { opacity: .6; cursor: wait; }

.hero-animaux { display: flex; align-items: flex-end; justify-content: center; gap: 0; min-height: 300px; }
.hero-animaux img { min-width: 0; filter: drop-shadow(0 10px 12px rgba(0,0,0,.15)); }
.a1 { width: 40%; }
.a2 { width: 30%; margin-left: -4%; }
.a3 { width: 34%; margin-left: -4%; }

.cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
.cartes article {
  background: #fff;
  border: 4px solid var(--encre);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 5px 5px 0 var(--encre);
  text-align: center;
}
.cartes img { width: 150px; height: 150px; object-fit: contain; }
.cartes h2 { margin: 8px 0 4px; font-size: 24px; }
.cartes p { margin: 0; color: var(--gris); }

.liste {
  max-width: 640px;
  margin: 40px auto;
  padding: 28px 24px;
  text-align: center;
  background: #fff;
  border: 4px solid var(--encre);
  border-radius: 28px;
  box-shadow: 6px 6px 0 var(--encre);
}
.liste h2 { font-size: 30px; margin: 0 0 8px; }
.liste form { display: flex; gap: 10px; margin-top: 16px; }
.liste input[type=email] {
  flex: 1;
  min-width: 0;
  font: 400 18px "Fredoka", sans-serif;
  padding: 12px 16px;
  border: 3px solid var(--encre);
  border-radius: 14px;
}
#message { min-height: 1.5em; font-weight: 600; }
.petit { font-size: 14px; color: var(--gris); }
.cache { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer {
  text-align: center;
  padding: 32px 16px 48px;
}
footer a { margin: 0 10px; color: var(--encre); }

/* Pages de texte (confidentialité, mentions légales) */
.texte {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 28px;
  background: #fff;
  border: 4px solid var(--encre);
  border-radius: 24px;
  box-shadow: 5px 5px 0 var(--encre);
}
.texte h1 { font-size: 36px; }
.texte h2 { font-size: 22px; margin-top: 28px; }
.texte table { border-collapse: collapse; width: 100%; font-size: 15px; }
.texte th, .texte td { border: 1px solid #ddd; padding: 8px; text-align: left; vertical-align: top; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 8px; }
  .hero-animaux { min-height: 0; }
  .cartes { grid-template-columns: 1fr; }
  .liste form { flex-direction: column; }
  .haut nav a { margin-left: 10px; }
  .texte { margin: 0 16px 32px; padding: 20px; }
  .texte table { display: block; overflow-x: auto; }
}
