/* ===========================
   Ici Pour Vous — Tarifs
   =========================== */

/* --- Nav active link --- */
.nav-link-active {
  color: var(--terra) !important;
  font-weight: 700;
}

/* ========================
   HERO TARIFS
========================= */
.t-hero {
  background: var(--noir);
  padding: 140px 0 80px;
  overflow: hidden;
}

.t-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.t-hero-left h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--blanc);
  line-height: 1.15;
  margin: 16px 0 24px;
  letter-spacing: -0.03em;
}

.t-hero-left h1 em {
  font-style: normal;
  color: var(--terra);
}

.t-hero-left p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
}

.t-tag {
  display: inline-block;
  background: rgba(0,153,176,0.15);
  color: var(--terra);
  border: 1px solid rgba(0,153,176,0.3);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.t-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.t-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid;
}

.t-badge-green {
  color: #34d399;
  border-color: rgba(52,211,153,0.3);
  background: rgba(52,211,153,0.08);
}

/* Hero card */
.t-hero-right {
  display: flex;
  justify-content: flex-end;
}

.t-hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 36px 40px;
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 380px;
}

.t-hero-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

.t-hero-card-prix {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.t-hero-card-ligne {
  display: flex;
  align-items: center;
  gap: 16px;
}

.t-hero-card-before {
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

.t-hero-card-before small,
.t-hero-card-after small {
  font-size: 0.7em;
  font-weight: 500;
}

.t-hero-card-ligne > svg {
  color: var(--terra);
  flex-shrink: 0;
}

.t-hero-card-after {
  display: flex;
  flex-direction: column;
}

.t-hero-card-after span {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blanc);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.t-hero-card-after em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--terra);
  font-weight: 600;
  margin-top: 2px;
}

.t-hero-card-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.t-hero-card-note svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.3);
}

/* ========================
   FORMULES
========================= */
.t-formules {
  background: var(--creme);
  padding: 96px 0;
}

.t-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
}

.t-card {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.t-card:hover {
  box-shadow: 0 12px 48px rgba(60,79,94,0.1);
  transform: translateY(-4px);
}

.t-card-featured {
  background: var(--noir);
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(0,153,176,0.25);
}

.t-card-featured:hover {
  box-shadow: 0 16px 56px rgba(0,153,176,0.35);
}

.t-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terra);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.t-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.t-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0,153,176,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--terra);
}

.t-card-featured .t-card-icon {
  background: rgba(0,153,176,0.2);
}

.t-card-type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 4px;
}

.t-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--noir);
  letter-spacing: -0.02em;
  margin: 0;
}

.t-card-featured h3 {
  color: var(--blanc);
}

.t-card > p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gris);
  margin-bottom: 28px;
}

.t-card-featured > p {
  color: rgba(255,255,255,0.6);
}

/* Prix bloc */
.t-prix-bloc {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--creme);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 28px;
}

.t-card-featured .t-prix-bloc {
  background: rgba(255,255,255,0.08);
}

.t-prix-before,
.t-prix-after {
  flex: 1;
}

.t-prix-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 4px;
}

.t-card-featured .t-prix-label {
  color: rgba(255,255,255,0.45);
}

.t-prix-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--noir);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.t-prix-value span {
  font-size: 0.75em;
  font-weight: 600;
}

.t-prix-before .t-prix-value {
  color: var(--gris);
  text-decoration: line-through;
  text-decoration-color: rgba(90,110,122,0.4);
  font-size: 1.4rem;
}

.t-card-featured .t-prix-value {
  color: var(--blanc);
}

.t-card-featured .t-prix-before .t-prix-value {
  color: rgba(255,255,255,0.35);
}

.t-prix-sub {
  font-size: 0.68rem;
  color: var(--gris);
  margin-top: 2px;
}

.t-card-featured .t-prix-sub {
  color: rgba(255,255,255,0.35);
}

.t-prix-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.t-prix-arrow svg {
  color: var(--terra);
  width: 18px;
  height: 18px;
}

.t-prix-arrow span {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--terra);
  letter-spacing: 0.05em;
}

/* Inclus */
.t-inclus {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-inclus li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gris);
  line-height: 1.5;
}

.t-inclus li svg {
  width: 16px;
  height: 16px;
  color: var(--terra);
  flex-shrink: 0;
  margin-top: 2px;
}

.t-card-featured .t-inclus li {
  color: rgba(255,255,255,0.65);
}

/* Boutons */
.t-card-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--creme);
  color: var(--noir);
  border: 1.5px solid var(--border);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.t-card-btn:hover {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

.t-card-btn-featured {
  background: var(--terra);
  color: var(--blanc);
  border-color: var(--terra);
}

.t-card-btn-featured:hover {
  background: var(--terra-h);
  border-color: var(--terra-h);
  color: var(--blanc);
}

/* Note bas de section */
.t-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gris);
  margin-top: 36px;
  padding: 18px 24px;
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: 12px;
  line-height: 1.6;
}

.t-note svg {
  flex-shrink: 0;
  color: var(--terra);
  margin-top: 1px;
}

/* ========================
   CRÉDIT D'IMPÔT
========================= */
.t-credit {
  background: var(--noir-2);
  padding: 96px 0;
  overflow: hidden;
}

.t-credit-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.t-credit-left p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Exemple calcul */
.t-credit-exemple {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 32px;
  flex-wrap: wrap;
}

.t-credit-col {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.t-credit-col-after .t-credit-montant {
  color: var(--terra) !important;
}

.t-credit-sep {
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.t-credit-sep svg {
  width: 20px;
  height: 20px;
}

.t-credit-montant {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.t-credit-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  line-height: 1.4;
}

.t-credit-etat {
  flex: 1;
  min-width: 100px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 16px;
}

.t-credit-montant-etat {
  font-size: 2rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* SAP card */
.t-sap-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,153,176,0.3);
  border-radius: 20px;
  padding: 40px;
}

.t-sap-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0,153,176,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.t-sap-icon svg {
  width: 26px;
  height: 26px;
  color: var(--terra);
}

.t-sap-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blanc);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.t-sap-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

.t-sap-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.t-sap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.t-sap-item svg {
  color: #34d399;
  flex-shrink: 0;
}

/* ========================
   FAQ
========================= */
.t-faq {
  background: var(--blanc);
  padding: 96px 0;
}

.t-accordion {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.t-acc-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.t-acc-item.open {
  border-color: var(--terra);
}

.t-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--noir);
  text-align: left;
  transition: color 0.2s;
}

.t-acc-item.open .t-acc-btn {
  color: var(--terra);
}

.t-acc-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gris);
}

.t-acc-item.open .t-acc-icon {
  transform: rotate(180deg);
  color: var(--terra);
}

.t-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
}

.t-acc-item.open .t-acc-body {
  max-height: 600px;
  padding: 0 28px 24px;
}

.t-acc-body p {
  font-size: 0.93rem;
  color: var(--gris);
  line-height: 1.75;
  margin-bottom: 12px;
}

.t-acc-body p:last-child {
  margin-bottom: 0;
}

.t-acc-body ul {
  padding-left: 20px;
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.t-acc-body ul li {
  font-size: 0.91rem;
  color: var(--gris);
  line-height: 1.6;
}

/* ========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .t-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .t-hero-right {
    justify-content: flex-start;
  }

  .t-hero-card {
    max-width: 100%;
  }

  .t-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .t-credit-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .t-hero {
    padding: 100px 0 60px;
  }

  .t-hero-inner {
    padding: 0 20px;
  }

  .t-card {
    padding: 28px 24px;
  }

  .t-prix-bloc {
    flex-wrap: wrap;
    gap: 8px;
  }

  .t-credit-exemple {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .t-credit-etat {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-left: 0;
    padding-top: 16px;
  }

  .t-acc-btn {
    padding: 18px 20px;
    font-size: 0.93rem;
  }

  .t-acc-body,
  .t-acc-item.open .t-acc-body {
    padding-left: 20px;
    padding-right: 20px;
  }
}
