/* Inter (variable, 300-700) - self-hosted
   Source: Google Fonts (fonts.gstatic.com), SIL Open Font License 1.1 */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ez-press-bg: #f8fafc;
  --ez-press-border: #e2e8f0;
  --ez-press-title: #64748b;
  --ez-press-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ez-logo-height: 40px; 
} 

.ez-press-banner {
  background-color: var(--ez-press-bg);
  border-top: 1px solid var(--ez-press-border);
  border-bottom: 1px solid var(--ez-press-border);
  padding: 2.5rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--ez-press-font);
  margin-top: 40px;
}

/* main.min.css sets font-family:'Onest' directly on * and every element name,
   so descendants never inherit from the banner - target them explicitly. */
.ez-press-banner,
.ez-press-banner * {
  font-family: var(--ez-press-font);
}

.ez-press-banner__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.ez-press-banner__title {
  color: var(--ez-press-title);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 2.25rem 0;
  opacity: 0.9;
}

/* Force Flex-Nowrap for desktop to keep everything on one line */
.ez-press-banner__grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem; /* Gap is smaller because width is distributed */
}

/* Distribute width evenly among the 6 logos */
.ez-press-banner__item {
  flex: 1 1 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ez-press-banner__logo {
  height: var(--ez-logo-height);
  width: 100%;
  max-width: 160px; /* Prevent logos from getting too wide */
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.ez-press-banner__item:hover .ez-press-banner__logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* Responsive: Allow wrapping on tablets and phones */
@media (max-width: 992px) {
  .ez-press-banner__grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  .ez-press-banner__item {
    flex: 0 1 auto; /* Remove equal width distribution */
  }
  .ez-press-banner__logo {
    max-width: 130px;
  }
}

@media (max-width: 576px) {
  .ez-press-banner__logo {
    height: 32px;
  }
}

/* ---------- Home: slogan + photo (template-parts/front/proof.php) ---------- */
.main-proof {
  padding: 60px 0 20px;
  text-align: center;
}
.main-proof-in {
  max-width: 1200px;
  margin: 0 auto;
}
.main-proof-img img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 30px;
  border-radius: 10px;
}
.main-proof-quote {
  color: #2C3542;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}
.main-proof-logo {
  display: inline-block;
  height: 2.2em;
  width: auto;
  margin: 0 6px -1px;
  vertical-align: baseline;
}

/* ---------- Home: impact table (template-parts/front/impact.php), same look as Praticien page ---------- */
.main-impact {
  position: relative;
  z-index: 2;
  padding: 0 0 40px;
}
.main-impact-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.main-impact-left {
  width: 100%;
  max-width: 60%;
  padding-right: 40px;
}
.main-impact-img {
  width: 100%;
  max-width: 40%;
}
.main-impact-img img {
  display: block;
  width: 100%;
  border-radius: 10px;
}
.main-impact-ttl {
  color: #333;
  font-size: 30px;
  font-weight: 300;
  line-height: 40px;
  margin-bottom: 25px;
}
.main-impact-table-wrap {
  overflow-x: auto;
}
.main-impact-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.main-impact-table thead tr {
  border-bottom: 2px solid #eee;
}
.main-impact-table th {
  color: #555;
  padding: 15px 10px;
  font-size: 1.1em;
  font-weight: 700;
}
.main-impact-table th.ez {
  color: #5987cc;
}
.main-impact-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
}
.main-impact-table td {
  color: #666;
  padding: 15px 10px;
}
.main-impact-table td.ez {
  color: #333;
  font-weight: 600;
}
.main-impact-table tbody tr:last-child td {
  font-weight: 700;
}
.main-impact-txt {
  color: #666;
  margin-top: 20px;
}
@media (max-width: 1199.98px) {
  .main-impact-left {
    max-width: 100%;
    padding-right: 0;
  }
  .main-impact-img {
    max-width: 100%;
    margin-top: 30px;
  }
}
@media (max-width: 767.98px) {
  .main-impact-in {
    padding: 25px 15px;
  }
  .main-impact-ttl {
    font-size: 24px;
    line-height: 32px;
  }
}

/* ---------- Home: INSA logo in details title + resistance tests (template-parts/front/details.php) ---------- */
.main-details-ttl-x {
  color: #ffffff;
}
.main-details-ttl-logo {
  display: inline-block;
  height: 1.577em;
  width: auto;
  vertical-align: baseline;
  margin: -.321em -.361em -.306em -.32em;
  filter: drop-shadow(0 0 2px rgba(255,255,255,.9))
          drop-shadow(0 0 6px rgba(255,255,255,.6));
}
.main-details-tests {
  max-width: 1000px;
  margin: 0 auto;
}
.main-details-tests-btn-wrap {
  text-align: center;
}
.main-details-tests .main-details-tests-btn {
  width: auto;
  max-width: none;
  display: inline-block;
}
.main-details-tests-btn .icon svg {
  transform: rotate(90deg);
  transition: transform 0.4s;
}
.main-details-tests.active .main-details-tests-btn .icon svg {
  transform: rotate(-90deg);
}
.main-details-tests-body {
  display: none;
  padding-top: 20px;
}
.main-details-tests-tbl {
  overflow-x: auto;
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20, 40, 80, 0.18);
}
.main-details-tests-tbl table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  color: #2C3542;
  font-size: 16px;
  line-height: 26px;
}
.main-details-tests-tbl th,
.main-details-tests-tbl td {
  padding: 10px 20px;
  text-align: left;
}
.main-details-tests-tbl thead tr {
  background: #ffffff;
  border-bottom: 2px solid #FF9300;
}
.main-details-tests-tbl th {
  color: #2C3542;
  font-weight: 600;
  padding-top: 14px;
  padding-bottom: 14px;
}
.main-details-tests-tbl tbody tr {
  background: #ffffff;
}
.main-details-tests-tbl tbody tr:nth-child(2n) {
  background: #F5F7FA;
}
.main-details-tests-tbl tbody tr:first-child td {
  font-weight: 600;
}
.main-details-tests-tbl td.bar {
  position: relative;
  width: 40%;
}
/* solid yellow-orange bar (all rows except eZtain) */
.main-details-tests-tbl .bar-fill {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 20px;
  max-width: calc(100% - 40px);
  background: #FFB600;
  border-radius: 6px;
}
/* eZtain row: orange + light halo */
.main-details-tests-tbl tbody tr:first-child .bar-fill {
  background: #FF9300;
  box-shadow: 0 3px 10px rgba(255, 147, 0, 0.35);
}
.main-details-tests-tbl .bar-val {
  position: relative;
  padding-left: 10px;
  color: #2C3542;
}
.main-details-tests-tbl tbody tr:first-child .bar-val {
  color: #2C3542;
  font-weight: 700;
}

/* ---------- Home: CTA under steps (template-parts/front/steps.php), same as Praticien page ---------- */
.main-steps-cta {
  text-align: center;
  margin: 40px 0 0;
}
.main-steps-cta .btn-praticien-custom {
  display: inline-block;
  background-color: #5987cc;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.main-steps-cta .btn-praticien-custom:hover {
  background-color: #3e6fb8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(62, 111, 184, 0.3);
}

/* ---------- Home: labels on impact photo ---------- */
.main-impact-img {
  position: relative;
}
.main-impact-img-lbl {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(30, 36, 48, 0.75);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}
.main-impact-img-lbl.l1 {
  left: 12px;
}
.main-impact-img-lbl.l2 {
  right: 12px;
  background: #5987CC;
}

/* ---------- Home: «Commander» in 3D section (template-parts/front/contention.php) ---------- */
.main-contnt-btn {
  padding: 15px 10px;
}
