/* Idéal Web 114.38 — page Tarifs
   Une seule feuille dédiée à la structure commerciale de tarifs.html. */

.iw-pricing-hero .page-hero-note {
  max-width: 760px;
  padding: 14px 16px;
  border: 1px solid #cfe2d8;
  border-radius: 14px;
  background: #f3f9f5;
  color: #29483d;
  line-height: 1.65;
}

.iw-pricing-thumbnail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.iw-pricing-thumbnail img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

.iw-payment-path {
  padding: clamp(64px, 7vw, 94px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(15,132,66,.09), transparent 35%),
    var(--surface-soft);
}

.iw-payment-path-heading {
  margin-bottom: 34px !important;
}

.iw-payment-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.iw-payment-steps li {
  position: relative;
  min-width: 0;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 34px rgba(3,36,31,.06);
}

.iw-step-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 900;
}

.iw-payment-steps strong,
.iw-payment-steps b {
  display: block;
}

.iw-payment-steps strong {
  color: var(--ink);
  font-size: 15px;
}

.iw-payment-steps b {
  margin-top: 8px;
  color: var(--green);
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -.035em;
}

.iw-payment-steps p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.iw-pricing-section {
  background: linear-gradient(180deg, #fff 0%, #fbfdfc 100%);
}

.iw-deposit-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto 34px;
  padding: 17px 20px;
  border: 1px solid #abd0bd;
  border-radius: 16px;
  background: #eef8f2;
  color: var(--ink-soft);
  box-shadow: 0 10px 30px rgba(15,132,66,.06);
}

.iw-deposit-banner > span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.iw-deposit-banner p {
  margin: 2px 0 0;
  line-height: 1.6;
}

.iw-pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.iw-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid var(--line);
  background: #fff;
}

.iw-price-card-featured {
  border-color: #74b792;
  background:
    radial-gradient(circle at 100% 0%, rgba(15,132,66,.11), transparent 31%),
    #fff;
}

.iw-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.iw-card-topline .plan-name {
  margin: 0;
}

.iw-plan-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #cbe0d5;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.iw-price-card h3 {
  margin-bottom: 8px;
}

.iw-price-detail {
  min-height: 26px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.iw-price-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.iw-price-breakdown span {
  display: block;
  padding: 12px 14px;
  border: 1px solid #d5e6dd;
  border-radius: 12px;
  background: #f7fbf8;
  color: #3f564d;
  font-size: 12px;
  line-height: 1.45;
}

.iw-price-breakdown strong {
  display: block;
  color: var(--green-dark);
  font-size: 19px;
}

.iw-price-card ul {
  flex: 1;
}

.iw-price-card .button {
  width: 100%;
  margin-top: auto;
}

.iw-card-footnote {
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  line-height: 1.55 !important;
}

.iw-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  -webkit-overflow-scrolling: touch;
}

.iw-table-wrap:focus-visible {
  outline: 3px solid rgba(15,132,66,.25);
  outline-offset: 3px;
}

.iw-comparison-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.iw-comparison-table th,
.iw-comparison-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
  font-size: 13px;
}

.iw-comparison-table thead th {
  background: var(--green-deep);
  color: #fff;
  font-size: 12px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.iw-comparison-table thead th:first-child,
.iw-comparison-table tbody th {
  text-align: left;
}

.iw-comparison-table tbody th {
  width: 36%;
  color: var(--ink-soft);
  font-weight: 800;
}

.iw-comparison-table tbody td {
  color: var(--green-dark);
  font-weight: 850;
}

.iw-comparison-table tbody tr:nth-child(even) {
  background: #f8fbf9;
}

.iw-comparison-table tbody tr:last-child th,
.iw-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.iw-cms-pricing {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(24,210,133,.12), transparent 25%),
    linear-gradient(135deg, #031a17 0%, #072820 52%, #0b3b2b 100%);
  color: #fff;
}

.iw-cms-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(520px,1.18fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.iw-cms-pricing .kicker,
.iw-cms-pricing .text-link {
  color: #74e6ae;
}

.iw-cms-pricing h2 {
  margin: 0;
  max-width: 650px;
  color: #fff;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.048em;
}

.iw-cms-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.75;
}

.iw-cms-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.iw-cms-items span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 12px;
  font-weight: 760;
}

.iw-cms-simple-steps {
  display: grid;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.iw-cms-simple-steps li {
  padding: 13px 15px;
  border-left: 3px solid #48d891;
  border-radius: 0 10px 10px 0;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.55;
}

.iw-cms-simple-steps strong {
  color: #fff;
}

.iw-cms-pricing-media {
  margin: 0;
  min-width: 0;
}

.iw-cms-pricing-media img {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  box-shadow: 0 34px 80px rgba(0,0,0,.34);
}

.iw-cms-pricing-media figcaption {
  margin-top: 12px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 1080px) {
  .iw-payment-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iw-cms-pricing-grid {
    grid-template-columns: 1fr;
  }

  .iw-cms-pricing-copy {
    max-width: 780px;
  }
}

@media (max-width: 800px) {
  .iw-pricing-thumbnail img {
    min-height: 0;
  }

  .iw-pricing-grid {
    grid-template-columns: 1fr;
  }

  .iw-price-card-featured {
    order: -1;
  }
}

@media (max-width: 620px) {
  .iw-payment-steps {
    grid-template-columns: 1fr;
  }

  .iw-payment-steps li {
    padding: 23px 20px;
  }

  .iw-deposit-banner {
    padding: 15px 16px;
  }

  .iw-card-topline {
    align-items: flex-start;
  }

  .iw-price-breakdown {
    grid-template-columns: 1fr;
  }

  .iw-cms-pricing-grid {
    gap: 34px;
  }

  .iw-cms-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .iw-cms-items span {
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .iw-card-topline {
    display: block;
  }

  .iw-plan-chip {
    margin-top: 10px;
  }

  .iw-cms-items {
    grid-template-columns: 1fr;
  }
}


/* V306 — clarté TVA */
.iw-vat-notice {
  max-width: 980px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  border: 1px solid #cfe2d8;
  border-radius: 14px;
  background: #f3f9f5;
  color: #29483d;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.iw-price-card h3 small {
  font-size: .34em;
  font-weight: 900;
  letter-spacing: .08em;
  vertical-align: middle;
}
