:root {
  --vert: #087a4b;
  --vert-clair: #e9f6ef;
  --brun: #a46a3a;
  --texte: #2b2b2b;
  --fond: #fffaf4;
  --blanc: #ffffff;
  --rouge: #d62828;
  --orange: #f59e0b;
  --ombre: rgba(0,0,0,.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--fond);
  color: var(--texte);
  line-height: 1.6;
}

a {
  color: inherit;
}

header {
  background: var(--blanc);
  padding: 16px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 15px var(--ombre);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  color: var(--vert);
  font-size: 1.2rem;
}

.logo-header img {
  height: 65px;
}

nav a {
  margin-left: 16px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

nav a:hover {
  color: var(--vert);
}

.menu-toggle {
  display: none;
  background: var(--vert);
  color: white;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: bold;
}

.hero {
  min-height: 78vh;
  padding: 80px 8%;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg,#fffaf4,#e9f6ef);
}

.hero h1 {
  font-size: clamp(2.4rem,5vw,4.8rem);
  line-height: 1.05;
  color: var(--vert);
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 22px;
  max-width: 720px;
}

.hero strong {
  color: var(--brun);
}

.hero-logo {
  background: var(--blanc);
  border-radius: 32px;
  padding: 45px;
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
  text-align: center;
}

.hero-logo img {
  width: 100%;
  max-width: 430px;
  height: auto;
}

section {
  padding: 80px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h1,
.section-title h2 {
  font-size: clamp(2rem,4vw,3rem);
  color: var(--vert);
  margin-bottom: 12px;
}

.section-title p {
  max-width: 820px;
  margin: auto;
  font-size: 1.1rem;
}

.btns,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 15px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: .2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--vert);
  color: white;
}

.btn-secondary {
  background: var(--brun);
  color: white;
}

.btn-danger {
  background: var(--rouge);
  color: white;
}

.btn-light {
  background: white;
  color: var(--vert);
  border: 2px solid var(--vert);
}

.btn-call {
  background: white;
  color: var(--vert) !important;
  border: 2px solid white;
  min-width: 210px;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: .9;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.card {
  background: var(--blanc);
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 28px var(--ombre);
}

.card h3 {
  color: var(--brun);
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.alert-box,
.green-box {
  background: var(--vert);
  color: white;
  border-radius: 30px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.steps {
  list-style: none;
  margin-top: 20px;
}

.steps li {
  background: rgba(255,255,255,.15);
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.text-box,
.don,
.nearest-box {
  background: var(--blanc);
  border-radius: 30px;
  padding: 45px;
  box-shadow: 0 12px 35px var(--ombre);
}

.text-box h2,
.text-box h3,
.don h2,
.nearest-box h3 {
  color: var(--vert);
  margin-bottom: 16px;
}

.text-box p {
  margin-bottom: 16px;
}

.don {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 35px;
  align-items: center;
}

.don img {
  width: 100%;
  border-radius: 18px;
}

.notice {
  margin: 30px 0;
  background: var(--vert-clair);
  border-left: 6px solid var(--vert);
  padding: 22px;
  border-radius: 18px;
}

/* Boutons de filtres vétérinaires */
.veto-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 25px;
}

/* Barre de recherche vétérinaires */
.search-box {
  width: min(1000px, 100%);
  margin: 28px auto 45px;
}

.search-box input {
  width: 100%;
  padding: 20px 28px;
  border-radius: 999px;
  border: 2px solid var(--vert-clair);
  font-size: 1rem;
  outline: none;
  background: var(--blanc);
  color: var(--texte);
  box-shadow: 0 6px 20px var(--ombre);
}

.search-box input:focus {
  border-color: var(--vert);
}

.veto-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.veto-item {
  background: var(--blanc);
  padding: 22px;
  border-radius: 22px;
  box-shadow: 0 8px 22px var(--ombre);
  border-left: 6px solid var(--vert);
}

.veto-item.urgent {
  border-left-color: var(--rouge);
}

.veto-item.home {
  border-left-color: var(--orange);
}

.veto-item h3 {
  color: var(--brun);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.veto-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: bold;
  color: white;
  background: var(--vert);
  padding: 5px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.veto-tag.urgent {
  background: var(--rouge);
}

.veto-tag.home {
  background: var(--orange);
  color: #111;
}

.veto-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.veto-links a {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  color: var(--vert);
  background: var(--vert-clair);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .85rem;
}

.zone-title {
  margin: 55px 0 22px;
  color: var(--vert);
  font-size: 1.9rem;
}

.nearest-result {
  margin-top: 18px;
  padding: 20px;
  border-radius: 20px;
  background: var(--vert-clair);
  display: none;
}

.nearest-result.show {
  display: block;
}

.nearest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

footer {
  background: #25352d;
  color: white;
  padding: 45px 8%;
  text-align: center;
}

footer a {
  color: white;
  font-weight: bold;
}

@media(max-width:1100px) {
  .veto-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:900px) {
  header {
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  nav {
    display: none;
    width: 100%;
    margin-top: 12px;
  }

  nav.open {
    display: block;
  }

  nav a {
    display: block;
    margin: 8px 0;
    padding: 8px 0;
  }

  .hero,
  .alert-box,
  .green-box,
  .don {
    grid-template-columns: 1fr;
  }

  .cards,
  .veto-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo img {
    max-width: 320px;
  }
}

@media(max-width:520px) {
  section {
    padding: 55px 6%;
  }

  .hero {
    padding: 60px 6%;
  }

  .hero-logo,
  .alert-box,
  .green-box,
  .don,
  .text-box,
  .nearest-box {
    padding: 28px;
  }

  .search-box {
    margin: 24px auto 38px;
  }

  .search-box input {
    padding: 17px 22px;
  }
}

@media(prefers-color-scheme:dark) {
  :root {
    --vert: #39b878;
    --vert-clair: #13241b;
    --brun: #d59b64;
    --texte: #f2f2f2;
    --fond: #111814;
    --blanc: #1c261f;
    --ombre: rgba(0,0,0,.35);
  }

  .hero {
    background: linear-gradient(135deg,#111814,#183828);
  }

  footer {
    background: #0b0f0d;
  }

  .btn-light {
    background: transparent;
    color: var(--vert);
    border-color: var(--vert);
  }

  .btn-call {
    background: white;
    color: #087a4b !important;
  }
}