/* assets/css/tarif.css */

/* 1. Page Header (reuse of .page-header) */
.page-header {
  background: var(--color-light);
  padding: 4rem 0 2rem;
  text-align: center;
}
.page-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.page-header h1 {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: .5rem;
}
.page-header h2 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-text);
}

/* 2. Notes tarifaires */

/* =========================================
   BON À SAVOIR - LUXOSUN
   6 cartes harmonieuses et responsive
========================================= */

/* Grille : 3 colonnes sur ordinateur */
.pricing-notes .notes-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;

  width: 100%;
  margin: 2rem 0 3rem;
  padding: 0;
  list-style: none;
}

/* Carte */
.pricing-notes .note-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 190px;
  padding: 1.8rem 1.5rem;

  background: #fff;
  border: 1px solid rgba(201,172,129,0.25);
  border-radius: 18px;

  text-align: center;

  box-shadow: 0 6px 22px rgba(98,35,35,0.07);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Icônes */
.pricing-notes .note-card i {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  width: 62px;
  height: 62px;
  margin-bottom: 1.2rem;

  background: rgba(201,172,129,0.18);
  border-radius: 18px;

  color: var(--color-primary);
  font-size: 1.65rem;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

/* Texte */
.pricing-notes .note-card p {
  max-width: 28ch;
  margin: 0;

  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: break-word;
}

/* Animations au survol */
@media (hover: hover) {
  .pricing-notes .note-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: 0 14px 30px rgba(98,35,35,0.13);
  }

  .pricing-notes .note-card:hover i {
    background: var(--color-secondary);
    transform: scale(1.08);
  }
}

/* =========================================
   TABLETTE - 2 COLONNES
========================================= */

@media (max-width: 900px) {
  .pricing-notes .notes-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .pricing-notes .note-card {
    min-height: 175px;
    padding: 1.5rem;
  }
}

/* =========================================
   MOBILE - 1 COLONNE
========================================= */

@media (max-width: 560px) {
  .pricing-notes .notes-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 2.5rem;
  }

  .pricing-notes .note-card {
    min-height: 145px;
    padding: 1.4rem;
  }

  .pricing-notes .note-card i {
    width: 52px;
    height: 52px;
    margin-bottom: 0.85rem;
    font-size: 1.4rem;
  }

  .pricing-notes .note-card p {
    font-size: 0.93rem;
  }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .pricing-notes .note-card,
  .pricing-notes .note-card i {
    transition: none;
  }
}


/* 3. Tarifs pet sitting */
.animal-pricing .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.price-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.price-media {
  height: 180px;
  overflow: hidden;
}
.price-media img {
  width: 100%;
  height: 250%;
  object-fit: cover;
}
.price-card h3 {
  margin: 1rem;
  font-size: 1.5rem;
  color: var(--color-secondary);
}
.price-list {
  list-style: none;
  padding: 0 1rem 1rem;
  margin: 0;
}
.price-list li {
  margin-bottom: .75rem;
  color: var(--color-text);
}
.price-list .small-note {
  font-size: .85rem;
  color: var(--color-text-muted);
}

/* 4. Mentions tarifaires */
.small-print {
  font-size: .85rem;
  color: var(--color-text);
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.4;
}

/* 5. Responsive */
@media (max-width: 768px) {
  .pricing-notes .notes-list {
    grid-template-columns: 1fr;
  }
  .animal-pricing .row {
    grid-template-columns: 1fr;
  }
  .price-media {
    height: 140px;
  }
}
@media (max-width: 480px) {
  .page-header {
    padding: 3rem 0 1.5rem;
  }
  .page-header h1 {
    font-size: 2.5rem;
  }
  .page-header h2 {
    font-size: 1.75rem;
  }
  .note-card {
    padding: 1rem;
  }
  .note-card i {
    font-size: 1.5rem;
  }
  .price-card {
    margin-bottom: 1.5rem;
  }
  .small-print {
    margin-top: 1rem;
    font-size: .8rem;
  }
}


/* =========================================
   LUXOSUN - TARIFS CHIENS
========================================= */

.dog-pricing {
  padding: 0 1.2rem 1.5rem;
  min-width: 0;
  overflow-x: auto;
}

.dog-pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  color: var(--color-text);
}

.dog-pricing-table thead {
  background: rgba(201, 172, 129, 0.18);
}

.dog-pricing-table th {
  padding: 0.9rem 0.7rem;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.dog-pricing-table th:first-child {
  border-radius: 10px 0 0 10px;
}

.dog-pricing-table th:last-child {
  border-radius: 0 10px 10px 0;
}

.dog-pricing-table td {
  padding: 1rem 0.7rem;
  border-bottom: 1px solid #eee6df;
  font-size: 0.92rem;
  vertical-align: middle;
}

/* Colonnes des prix */
.dog-pricing-table th:not(:first-child),
.dog-pricing-table td:not(:first-child) {
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Gabarit */
.dog-pricing-table td strong {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dog-pricing-table td span {
  display: block;
  color: #766b66;
  font-size: 0.78rem;
}

/* Prix */
.dog-pricing-table td:not(:first-child) {
  font-weight: 600;
}

/* Hover discret */
@media (hover: hover) {
  .dog-pricing-table tbody tr:hover {
    background: #fbf6ef;
  }
}

/* Mention */
.dog-pricing-note {
  margin: 1.2rem 0 0;
  color: #766b66;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
  .dog-pricing {
    padding: 0 0.75rem 1.2rem;
  }

  .dog-pricing-table th,
  .dog-pricing-table td {
    padding: 0.75rem 0.35rem;
    font-size: 0.8rem;
  }

  .dog-pricing-table td span {
    font-size: 0.72rem;
  }

  .dog-pricing-note {
    font-size: 0.75rem;
  }
}
