/* Tableau comparatif site web: autonome pour pages Webflow */
.compare-frame {
  --ink: #141414;
  --muted: #6a6a72;
  --brand: #e4002b;
  --line: rgb(20 20 20 / 0.12);
  margin: 1.75rem 0 1.25rem;
}
table.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
}
table.compare-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
table.compare-table th,
table.compare-table td {
  text-align: left;
  vertical-align: top;
  background: transparent !important;
  border: 0;
}
table.compare-table thead th {
  padding: 0 24px 14px 0;
  border-bottom: 1px solid #141414 !important;
  font-size: 11px;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a6a72 !important;
}
table.compare-table thead th.compare-axis {
  width: 16%;
}
table.compare-table thead th.is-them {
  width: 40%;
  color: #6a6a72 !important;
}
table.compare-table thead th.is-us {
  width: 44%;
  padding-right: 0;
  color: #e4002b !important;
}
table.compare-table tbody th {
  width: 16%;
  padding: 18px 24px 18px 0;
  border-top: 1px solid rgb(20 20 20 / 0.12) !important;
  background: transparent !important;
  color: #6a6a72 !important;
  font-size: 13px;
  font-weight: 500 !important;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}
table.compare-table tbody td {
  padding: 18px 24px 18px 0;
  border-top: 1px solid rgb(20 20 20 / 0.12) !important;
  font-size: 15px;
  font-weight: 400 !important;
  line-height: 1.5;
}
table.compare-table tbody td:nth-child(2) {
  width: 40%;
  color: #6a6a72 !important;
}
table.compare-table tbody td:nth-child(3) {
  width: 44%;
  padding-right: 0;
  color: #141414 !important;
}
table.compare-table tbody tr:first-child th,
table.compare-table tbody tr:first-child td { border-top: 0 !important; }
.compare-sum {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.compare-sum + .compare-sum { margin-top: 6px; }
.compare-sum b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: #141414 !important;
}
.compare-sum small {
  font-size: 13px;
  font-weight: 400;
  color: #6a6a72 !important;
}
a.compare-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 0;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: #e4002b !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
a.compare-cta .cta-ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #e4002b;
}
a.compare-cta .cta-ico svg { width: 16px; height: 16px; }

@media (max-width: 760px) {
  table.compare-table { table-layout: auto; }
  table.compare-table thead { display: none; }
  table.compare-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  table.compare-table tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding: 22px 0 8px;
    font-size: 12px;
    font-weight: 600 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #141414 !important;
  }
  table.compare-table tbody td {
    width: auto;
    padding: 8px 16px 20px 0;
  }
  table.compare-table tbody td:nth-child(2) {
    padding-right: 16px;
    border-right: 1px solid rgb(20 20 20 / 0.12);
  }
  table.compare-table tbody td:nth-child(3) { padding-left: 16px; }
  table.compare-table tbody td:nth-child(2)::before,
  table.compare-table tbody td:nth-child(3)::before {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  table.compare-table tbody td:nth-child(2)::before { content: "Agence classique"; }
  table.compare-table tbody td:nth-child(3)::before {
    content: "Notre accompagnement";
    color: #e4002b;
  }
}
