/* ====== Base ====== */
:root{
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #0f2a23;
  --muted: #4b5b56;
  --accent: #1f6feb;
  --border: #e6e8ec;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
}

body{
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* ====== Header / Hero ====== */
.site-header{
  /* IMPORTANT: si ton CSS est dans /css/app.css, alors ../images/ pointe vers /images/ */
  background-image:
    linear-gradient(rgba(0,0,0,0.50), rgba(0,0,0,0.50)),
    url("../images/oip1.jpg");
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;

  color: #fff;
  min-height: 260px;
  display: flex;
  align-items: center;
}

.header-inner{
  width: min(1000px, 92%);
  margin: 0 auto;
  padding: 28px 0;
  text-align: center;
}

.site-header h1{
  margin: 0 0 8px 0;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: 0.2px;
}

.site-header p{
  margin: 0 0 18px 0;
  color: rgba(255,255,255,0.90);
  font-size: 1rem;
}

/* ====== Nav ====== */
.site-nav{
  display: inline-flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}

.nav-link{
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav-link:hover{
  background: rgba(255,255,255,0.18);
}

.nav-link.is-active{
  background: rgba(255,255,255,0.26);
}

/* ====== Layout ====== */
.container{
  width: min(1000px, 92%);
  margin: 28px auto;
}

/* ====== Cards / Sections ====== */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  margin-bottom: 18px;
}

.card h2{
  margin: 0 0 10px 0;
  font-size: 1.35rem;
  color: var(--text);
}

/* Liste “avantages” */
.feature-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.feature-list li{
  padding: 12px 12px;
  border-left: 4px solid var(--accent);
  background: #eef5ff;
  border-radius: 10px;
}

/* ====== Footer ====== */
.site-footer{
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-inner{
  margin-top: 0;
  padding: 18px 0 28px;
  text-align: center;
}

.site-footer h3{
  margin: 0 0 12px 0;
  color: var(--accent);
}

.changelog{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.changelog li{
  color: var(--muted);
  font-size: 0.95rem;
}

.changelog .date{
  font-weight: 600;
  color: #2b3a35;
}

.footer-meta{
  margin: 16px 0 0 0;
  color: var(--muted);
}

/* ====== Responsive ====== */
@media (max-width: 520px){
  .site-nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.animal {
  margin: 50px 0;
}

.animal h3 {
  margin-bottom: 15px;
  color: #1e4fd8;
}

.animal-content {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #f4f6f8;
  padding: 20px;
  border-radius: 12px;
}

.animal-img {
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .animal-content {
    flex-direction: column;
    text-align: center;
  }

  .animal-img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
}
