/* ================================================================
   tarifs.css — Page Tarifs (+ blog.php et 404.php qui réutilisent ces styles)
   Dépend de vendor.css + style.css + header.css
   ================================================================ */

/* ── Hero ────────────────────────────────────────────────────── */
.tarifs-hero {
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.4rem);
  text-align: center;
}

.tarifs-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  line-height: 1.08;
}

.tarifs-hero p {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5750;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  max-width: 740px;
  margin: 2rem auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(167, 196, 160, 0.3);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(107, 144, 128, 0.1);
  text-align: left;
}

.hero-note span {
  margin-top: 2px;
  font-size: 1.15rem;
  line-height: 1;
}

.hero-note p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #4e5b54;
}

/* ── Formules ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem 2rem;
  border: 1px solid rgba(167, 196, 160, 0.34);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(107, 144, 128, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(107, 144, 128, 0.55);
  box-shadow: 0 22px 46px rgba(107, 144, 128, 0.18);
}

.pricing-card.featured {
  border: 2px solid var(--sage);
  box-shadow: 0 22px 50px rgba(107, 144, 128, 0.16);
}

.badge-popular {
  position: absolute;
  top: -15px;
  left: 50%;
  padding: 7px 17px;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.pricing-name {
  margin-bottom: 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
}

.pricing-title {
  margin-bottom: 0.3rem;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.pricing-subtitle {
  margin-bottom: 1.6rem;
  font-size: 0.92rem;
  color: #66736b;
}

.pricing-price {
  margin-bottom: 0.45rem;
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 4vw, 3.3rem);
  line-height: 1;
  color: var(--forest);
}

.pricing-price span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #66736b;
}

.pricing-price--text {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  padding-block: 0.35rem;
}

.pricing-price-recurring {
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5c6962;
}

.pricing-note-highlight {
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--olive-dark);
}

.pricing-card hr {
  margin: 1.4rem 0;
  border: 0;
  border-top: 1px solid rgba(167, 196, 160, 0.4);
}

.feature-list {
  flex: 1;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.78rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: #3e4a43;
}

.feature-list .check,
.feature-list .cross {
  margin-top: 4px;
}

.feature-list .check { color: var(--olive); }
.feature-list .cross { color: #c3c9c5; }
.feature-list li.disabled { color: #a3aca7; }

.pricing-hero-note {
  margin-top: 3rem;
}

/* ── Process ─────────────────────────────────────────────────── */
.process-section {
  background: #fff;
}

.process-intro {
  max-width: 44rem;
  margin: 0.8rem auto 0;
  color: #5c6962;
  line-height: 1.8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  padding: 1.8rem;
  border: 1px solid rgba(167, 196, 160, 0.3);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(107, 144, 128, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(107, 144, 128, 0.14);
}

.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(167, 196, 160, 0.3);
  color: var(--olive-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s var(--ease);
}

.process-step:hover .step-number {
  background: var(--olive);
  color: #fff;
  transform: rotate(-10deg) scale(1.08);
}

.process-step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.process-step p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.75;
  color: #5c6962;
}

/* ── Transparence ────────────────────────────────────────────── */
.transparency-band {
  background: #EEF5F0;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(167, 196, 160, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
}

.note-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(167, 196, 160, 0.3);
  color: var(--olive-dark);
}

.note-item h3 {
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.note-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #5c6962;
}

/* ── FAQ (accordéon accessible, sans Bootstrap) ──────────────── */
.faq-shell {
  max-width: 920px;
}

.modern-faq {
  margin-top: 2.4rem;
}

.accordion-item {
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(167, 196, 160, 0.28);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(107, 144, 128, 0.06);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.accordion-item.is-open {
  border-color: rgba(107, 144, 128, 0.5);
  box-shadow: 0 16px 36px rgba(107, 144, 128, 0.14);
}

.accordion-header {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
}

.accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.35rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button:hover {
  background: rgba(167, 196, 160, 0.1);
}

.accordion-item.is-open .accordion-button {
  color: #2a574c;
  background: linear-gradient(180deg, rgba(167, 196, 160, 0.14), rgba(167, 196, 160, 0.02));
}

.accordion-button:focus-visible {
  outline-offset: -4px;
}

.acc-icon {
  color: var(--sage-deep);
  transition: transform 0.35s var(--ease);
}

.accordion-item.is-open .acc-icon {
  transform: rotate(180deg);
}

.accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.4s var(--ease), visibility 0s linear 0.4s;
}

.accordion-item.is-open .accordion-collapse {
  grid-template-rows: 1fr;
  visibility: visible;
  transition-delay: 0s;
}

.accordion-inner {
  overflow: hidden;
  min-height: 0;
}

.accordion-body {
  padding: 0 1.35rem 1.35rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #55625b;
}

/* Sans JavaScript : toutes les réponses sont visibles */
.no-js .accordion-collapse {
  grid-template-rows: 1fr;
  visibility: visible;
}

/* ── Blog (liste « bientôt ») ────────────────────────────────── */
.blog-list {
  background: #fff;
}

.post-grid--cards {
  margin-bottom: 0;
}

.post-card {
  padding: 1.9rem;
  border: 1px solid rgba(167, 196, 160, 0.3);
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(107, 144, 128, 0.16);
}

.post-card .meta-tags {
  color: var(--muted);
}

.post-card .post-title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.post-card p {
  margin: 0;
  color: #55625b;
}

.soon-badge {
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(69, 125, 66, 0.12);
  color: var(--olive-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ── Page 404 ────────────────────────────────────────────────── */
.notfound {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.notfound-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 2vw, 1.4rem);
  margin-bottom: 1.4rem;
}

.nf-digit {
  font-family: var(--font-head);
  font-size: clamp(6rem, 22vw, 12rem);
  line-height: 1;
  color: var(--sage);
}

.nf-olive {
  width: clamp(54px, 13vw, 96px);
  height: auto;
  color: var(--olive);
  filter: drop-shadow(0 12px 10px rgba(30, 58, 43, 0.2));
  animation: roll 4s ease-in-out infinite;
}

@keyframes roll {
  0%, 100% { transform: rotate(-18deg) translateY(0); }
  50%      { transform: rotate(18deg) translateY(-12px); }
}

.notfound h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 4.6vw, 3rem);
}

.notfound p {
  max-width: 34rem;
  margin: 0 auto 1.8rem;
  color: var(--muted);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
    gap: 2.2rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 2.2rem 1.5rem 1.7rem;
  }

  .hero-note {
    padding: 16px 18px;
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .accordion-button {
    padding: 1.1rem 1rem;
    font-size: 0.95rem;
  }

  .accordion-body {
    padding: 0 1rem 1.15rem;
  }

  .post-card {
    padding: 1.5rem 1.3rem;
  }
}
