/* =====================================================
   ANIMO HANA — Feuille de styles
   Palette : beige / rose poudré / vert sauge
   Inclut : bannière, mode sombre, responsive
   ===================================================== */

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= VARIABLES (mode clair) ================= */
:root {
  --beige: #faf6f0;
  --beige-rose: #f5ece4;
  --rose: #e8b4b8;
  --rose-fonce: #c98a8e;
  --vert: #8ba888;
  --vert-fonce: #5e7d5a;
  --texte: #3a3230;
  --gris: #7a6d68;
  --blanc: #ffffff;
}

/* ================= VARIABLES (mode sombre) ================= */
[data-theme="sombre"] {
  --beige: #1a1816;
  --beige-rose: #242020;
  --rose: #d99aa1;
  --rose-fonce: #e8b4b8;
  --vert: #7ea374;
  --vert-fonce: #8ba888;
  --texte: #f0ece6;
  --gris: #b0a8a2;
  --blanc: #242020;
}

/* ================= BASE ================= */
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--texte);
  background: var(--beige);
  transition: background 0.3s, color 0.3s;
}

h1, h2, h3 { line-height: 1.2; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 2rem;
  background: var(--blanc);
  border-bottom: 1px solid var(--beige-rose);
  box-shadow: 0 2px 10px rgba(58, 50, 48, 0.04);
  transition: background 0.3s, border-color 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--texte);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo img {
  height: 45px;
  width: auto;
  display: block;
}

.nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: var(--texte);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--rose-fonce); }

/* ================= BOUTON THÈME ================= */
.theme-toggle {
  background: transparent;
  border: 2px solid var(--beige-rose);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  color: var(--texte);
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: rotate(20deg);
  border-color: var(--rose);
  background: var(--beige-rose);
}

/* ================= BANNIÈRE ================= */
.banniere {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banniere img {
  width: 100%;
  height: 1200px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.banniere-texte {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  text-align: center;
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 0 4px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.banniere-titre {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.banniere-sous-titre {
  font-size: 1.3rem;
  font-weight: 700;
}

.banniere-infos {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.95;
}

.banniere-infos em {
  font-style: italic;
  opacity: 0.9;
}
/* ================= HERO ================= */
.hero {
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--beige-rose) 0%, var(--beige) 100%);
  transition: background 0.3s;
}

.hero-content { max-width: 780px; margin: 0 auto; }

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--texte);
}

.tagline {
  font-size: 1.1rem;
  color: var(--rose-fonce);
  font-weight: 600;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--gris);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= BOUTONS ================= */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--rose-fonce);
  color: white;
  box-shadow: 0 4px 14px rgba(201, 138, 142, 0.35);
}

.btn-primary:hover { background: #b8777b; }

.btn-secondary {
  background: var(--blanc);
  color: var(--vert-fonce);
  border: 2px solid var(--vert);
}

.btn-secondary:hover {
  background: var(--vert);
  color: white;
}

/* ================= SECTIONS ================= */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section h2 {
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--texte);
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--vert);
  margin: 0.75rem auto 0;
  border-radius: 3px;
}

/* Alternance de fonds */
.pourquoi { background: var(--beige); }
.prestations { background: var(--beige-rose); border-radius: 24px; }
.deplacements { background: var(--beige); }
.reservation { background: var(--beige-rose); border-radius: 24px; }
.apropos { background: var(--beige); }
.avis { background: var(--beige-rose); border-radius: 24px; }
.contact { background: var(--beige); border-radius: 24px; }

/* ================= GRILLES ================= */
.grid-4, .grid-3 {
  display: grid;
  gap: 1.5rem;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ================= CARTES ================= */
.card {
  background: var(--blanc);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(58, 50, 48, 0.06);
  border-bottom: 3px solid var(--beige-rose);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(58, 50, 48, 0.1);
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--vert-fonce);
}

.card p {
  color: var(--gris);
  font-size: 0.95rem;
}

/* ---- Cartes services ---- */
.card.service {
  text-align: center;
  border-top: 4px solid var(--rose);
  border-bottom: 3px solid var(--beige-rose);
}

.card.service h3 {
  color: var(--texte);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card.service .price {
  margin: 0.75rem 0 1.25rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vert-fonce);
}

.card.service .duree {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gris);
  display: block;
  margin-top: 0.15rem;
}

.service-liste {
  list-style: none;
  text-align: left;
  margin-top: 1rem;
}

.service-liste li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.4rem;
  color: var(--gris);
  font-size: 0.95rem;
}

.service-liste li::before {
  content: "✓";
  color: var(--vert-fonce);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Carte populaire */
.card.service.populaire {
  border: 2px solid var(--rose);
  border-top: 4px solid var(--rose);
  transform: scale(1.03);
}

.card.service.populaire:hover {
  transform: scale(1.03) translateY(-4px);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose-fonce);
  color: white;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(201, 138, 142, 0.35);
}

/* ---- Offres spéciales ---- */
.offres-speciales {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.offre {
  background: var(--blanc);
  padding: 1.5rem;
  border-radius: 16px;
  border-left: 4px solid var(--rose);
  box-shadow: 0 4px 16px rgba(58, 50, 48, 0.06);
}

.offre-titre {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vert-fonce);
  margin-bottom: 0.5rem;
}

/* ================= DÉPLACEMENTS ================= */
.deplacements-contenu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.deplacement-item {
  background: var(--blanc);
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  border-left: 4px solid var(--vert);
  box-shadow: 0 4px 16px rgba(58, 50, 48, 0.06);
}

.deplacement-titre {
  font-weight: 700;
  color: var(--vert-fonce);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.deplacement-item .note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--rose-fonce);
  font-weight: 600;
}

/* ================= RÉSERVATION ================= */
.reservation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.resa-card {
  background: var(--blanc);
  padding: 1.75rem;
  border-radius: 16px;
  border-top: 4px solid var(--vert);
  box-shadow: 0 4px 16px rgba(58, 50, 48, 0.06);
}

.resa-card.urgence {
  border-top-color: var(--rose-fonce);
}

.resa-titre {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vert-fonce);
  margin-bottom: 0.75rem;
}

.resa-card.urgence .resa-titre {
  color: var(--rose-fonce);
}

.resa-card p {
  color: var(--gris);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ================= SERVICES OFFERTS / HIGHLIGHT ================= */
.highlight {
  text-align: center;
  background: var(--beige-rose);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  color: var(--vert-fonce);
  max-width: 700px;
  margin: 2rem auto 0;
  border-left: 4px solid var(--rose);
}

/* ================= À PROPOS ================= */
.apropos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.apropos-bloc h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--vert-fonce);
}

.apropos-bloc ul { list-style: none; }

.apropos-bloc li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--gris);
  font-size: 0.95rem;
}

.apropos-bloc li::before {
  content: "•";
  color: var(--rose-fonce);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.apropos-bloc .photo {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  border: 3px solid var(--beige);
}

.apropos-bloc p {
  color: var(--gris);
  font-size: 0.95rem;
}

/* ================= AVIS ================= */
.avis-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--blanc);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(58, 50, 48, 0.06);
  text-align: center;
  border-left: 4px solid var(--rose);
}

.avis-card .stars {
  color: #e5a93c;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.avis-card footer {
  margin-top: 1rem;
  color: var(--gris);
  font-style: italic;
  font-size: 0.9rem;
}

/* ================= CONTACT ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--gris);
}

.contact-infos p { margin-bottom: 1rem; }

.contact-infos a {
  color: var(--rose-fonce);
  font-weight: 600;
  text-decoration: none;
}

.contact-infos a:hover { color: var(--vert-fonce); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  font-size: 0.95rem;
  gap: 0.35rem;
  color: var(--texte);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--beige-rose);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--blanc);
  color: var(--texte);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rose-fonce);
  box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.25);
}

/* ================= FOOTER ================= */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--vert-fonce);
  color: var(--beige-rose);
  font-size: 0.85rem;
  line-height: 1.8;
  transition: background 0.3s;
}

.site-footer a {
  color: var(--rose);
  text-decoration: none;
}

.site-footer a:hover { color: var(--rose-fonce); }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .apropos-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .deplacements-contenu { grid-template-columns: 1fr; }
  .reservation-grid { grid-template-columns: 1fr; }
  .offres-speciales { grid-template-columns: 1fr; }
  .card.service.populaire { transform: none; }
  .card.service.populaire:hover { transform: translateY(-4px); }
}

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .nav ul {
    gap: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero { padding: 3rem 1rem; }
  .hero h1 { font-size: 1.6rem; }
  .tagline { font-size: 1rem; }

  .section { padding: 3rem 1rem; }
  .section h2 { font-size: 1.5rem; }

  .grid-4, .grid-3 { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; text-align: center; }

  .banniere img { height: 250px; }
  .banniere-texte { font-size: 1rem; }
}
/* ================= PAGES LÉGALES ================= */
.section h3 {
  font-size: 1.15rem;
  color: var(--vert-fonce);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.section p {
  color: var(--gris);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.section ul li {
  color: var(--gris);
  margin-bottom: 0.35rem;
}

.section a {
  color: var(--rose-fonce);
  text-decoration: none;
  font-weight: 500;
}

.section a:hover {
  color: var(--vert-fonce);
  text-decoration: underline;
}