:root {
  --color-brand: #556b2f;
  --color-cta: #ff6a00;
  --text-muted: #777;
  --border: #ccc;
  --bg-light: #f4f4f0;
  --bg-card: #fff;
  --text-dark: #222;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

img, video, iframe, svg, canvas {
  max-width: 100%;
  height: auto;
}

.tarifs-hero {
  background-color: var(--color-brand);
  padding: 72px 24px 64px;
  text-align: center;
}

.tarifs-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.tarifs-hero__title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin: 0 0 18px;
}

.tarifs-hero__sub {
  font-size: 1.1rem;
  color: #dde8c4;
  line-height: 1.6;
  margin: 0 0 32px;
}

.tarifs-hero__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.tarifs-hero__mention {
  font-size: 0.9rem;
  color: #c8d9a0;
  line-height: 1.6;
  margin: 0;
}

.btn-cta {
  display: inline-block;
  background-color: var(--color-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-cta:hover {
  background-color: #e05a00;
}

.btn-cta--sm {
  padding: 10px 22px;
  font-size: 0.92rem;
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 6px;
  border: 2px solid #fff;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--color-brand);
}

.btn-outline--light {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline--light:hover {
  background-color: #fff;
  color: var(--color-brand);
}

.tarifs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.tarifs-intro {
  background-color: var(--bg-light);
  padding: 40px 24px;
}

.tarifs-intro__text {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

.tarifs-grille {
  background-color: #fff;
  padding: 64px 24px;
}

.tarifs-grille__title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.6;
  text-align: center;
  margin: 0 0 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.service-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.service-card__icon {
  background-color: var(--bg-light);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ddd;
}

.service-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.6;
  margin: 0 0 8px;
}

.service-card__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0 0 16px;
}

.service-card__includes {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.service-card__includes li {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.service-card__includes li:last-child {
  border-bottom: none;
}

.service-card__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand);
}

.service-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.service-card__link {
  font-size: 0.88rem;
  color: var(--color-brand);
  text-decoration: underline;
  line-height: 1.6;
  transition: color 0.2s;
}

.service-card__link:hover {
  color: #3a4a1f;
}

.tarifs-mention {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  margin: 0;
  padding: 0 16px;
}

.tarifs-tableau {
  background-color: var(--bg-light);
  padding: 64px 24px;
}

.tarifs-tableau__title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.6;
  text-align: center;
  margin: 0 0 40px;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

thead {
  background-color: var(--color-brand);
}

thead th {
  padding: 16px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  line-height: 1.6;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid #e8e8e8;
  transition: background-color 0.2s;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background-color: #f8fbf2;
}

tbody td {
  padding: 14px 20px;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

tbody td:first-child {
  font-weight: 700;
  color: var(--color-brand);
}

tbody td:nth-child(3) {
  font-weight: 700;
  color: var(--text-dark);
}

.tarifs-garanties {
  background-color: var(--color-brand);
  padding: 64px 24px;
}

.tarifs-garanties__title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 48px;
}

.garanties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.garantie-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.garantie-item__icon {
  width: 64px;
  height: 64px;
  background-color: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.garantie-item__text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 8px;
}

.garantie-item__text p {
  font-size: 0.9rem;
  color: #c8d9a0;
  line-height: 1.6;
  margin: 0;
}

.tarifs-cta {
  background-color: #3a4a1f;
  padding: 72px 24px;
}

.cta-bloc {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-bloc__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin: 0 0 16px;
}

.cta-bloc__text {
  font-size: 1rem;
  color: #c8d9a0;
  line-height: 1.6;
  margin: 0 0 32px;
}

.cta-bloc__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.cta-bloc__horaires {
  font-size: 0.88rem;
  color: #aab888;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .tarifs-hero {
    padding: 48px 16px 40px;
  }

  .tarifs-hero__title {
    font-size: 1.7rem;
  }

  .tarifs-hero__sub {
    font-size: 1rem;
  }

  .tarifs-hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

  .tarifs-grille {
    padding: 40px 16px;
  }

  .tarifs-grille__title {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card__actions {
    flex-direction: column;
  }

  .btn-cta--sm {
    width: 100%;
    text-align: center;
  }

  .tarifs-tableau {
    padding: 40px 16px;
  }

  .tarifs-tableau__title {
    font-size: 1.5rem;
  }

  thead th {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  tbody td {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .tarifs-garanties {
    padding: 40px 16px;
  }

  .tarifs-garanties__title {
    font-size: 1.5rem;
  }

  .garanties-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tarifs-cta {
    padding: 48px 16px;
  }

  .cta-bloc__title {
    font-size: 1.5rem;
  }

  .cta-bloc__actions {
    flex-direction: column;
    align-items: center;
  }

  .tarifs-container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .tarifs-hero__title {
    font-size: 1.4rem;
  }

  .service-card__price {
    font-size: 1.2rem;
  }

  .cta-bloc__title {
    font-size: 1.3rem;
  }

  .tarifs-grille__title,
  .tarifs-tableau__title,
  .tarifs-garanties__title {
    font-size: 1.3rem;
  }

  table {
    min-width: 480px;
  }
}