/* Page pilier IFT — toutes les classes CSS sont préfixées ift_ */
.ift_page,
.ift_page * {
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.ift_page {
  --ift_green: #53a10f;
  --ift_dark: #2f551f;
  --ift_ink: #242020;
  --ift_muted: #666561;
  --ift_bg: #f0f0f0;
  color: var(--ift_ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.75;
}
.ift_page a {
  color: #2f551f;
  text-underline-offset: 3px;
}
.ift_page a:hover {
  color: #53a10f;
}
.ift_page :focus-visible {
  outline: 3px solid #53a10f;
  outline-offset: 4px;
}
.ift_container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.ift_hero {
  background: #f0f0f0;
  overflow: hidden;
  padding: clamp(46px, 7vw, 100px) 0;
}
.ift_hero_grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.ift_eyebrow,
.ift_kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  font-weight: 800;
  color: #242020;
  margin: 0 0 18px;
}
.ift_hero h1 {
  font-size: clamp(35px, 4.1vw, 60px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em;
  color: #242020;
  margin: 0 0 24px;
  font-weight: 800;
}
.ift_hero h1 span {
  color: #53a10f;
}
.ift_lead {
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.6;
  margin: 0 0 25px;
}
.ift_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 23px 0;
}
.ift_button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s;
}
.ift_page .ift_button_primary {
  color: #fff;
  background: #53a10f;
}
.ift_page .ift_button_dark {
  color: #fff;
  background: #2f551f;
}
.ift_page .ift_button_outline {
  color: #ffffff;
  background: #2f551f;
  
}

a.ift_button.ift_button_outline:hover{
    color:#ffffff !important

}
.ift_page .ift_button_primary:hover,
.ift_page .ift_button_dark:hover {
  background: #213b16;
  color: #fff;
}
.ift_hero_note {
  font-size: 12px;
  color: #666561;
}
.ift_hero_media {
  margin: 0;
}
.ift_hero_media img {
  display: block;
  width: 100%;
  height: auto;
}
.ift_hero_media figcaption,
.ift_product_visual figcaption {
  font-size: 12px;
  color: #666561;
  margin-top: 10px;
}
.ift_summary {
  background: #2f551f;
  color: white;
}
.ift_summary_inner {
  display: flex;
  gap: 25px;
  align-items: center;
  padding-block: 23px;
}
.ift_summary_inner strong {
  white-space: nowrap;
}
.ift_summary_inner p {
  margin: 0;
  font-size: 16px;
  color: white;
}
.ift_layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(35px, 5vw, 75px);
  padding-block: 75px;
}
.ift_toc {
  align-self: start;
  position: sticky;
  top: 100px;
  background: #f0f0f0;
  padding: 25px;
  border-radius: 14px;
}
.ift_toc_title {
  font-size: 14px !important;
  font-weight: 800;
  margin: 0 0 15px !important;
}
.ift_toc nav {
  display: grid;
  gap: 8px;
}
.ift_toc a {
  font-size: 16px;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid #d9dbd6;
  color: #242020;
  font-weight:500
}
.ift_article {
  min-width: 0;
}
.ift_section {
  scroll-margin-top: 95px;
  margin-bottom: 80px;
}
.ift_article h2 {
  font-size: clamp(26px, 3vw, 35px) !important;
  line-height: 1.25 !important;
  color: #242020;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.ift_article h3 {
  font-size: 20px !important;
  line-height: 1.35 !important;
  color: #242020;
  font-weight: 700;
  margin: 25px 0 10px;
}
.ift_article p {
  margin: 0 0 19px;
  color: #333;
  line-height: 1.8;
}
.ift_article strong {
  font-weight: 750;
}
.ift_notice {
  border-left: 5px solid #53a10f;
  background: #f0f0f0;
  padding: 23px 25px;
  margin: 25px 0;
  border-radius: 0 9px 9px 0;
}
.ift_notice p {
  margin: 4px 0 0;
}
.ift_formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  background: #f0f0f0;
  border-radius: 16px;
  padding: 30px 22px;
  margin: 24px 0;
  font-size: 17px;
  font-weight: 800;
}
.ift_fraction {
  display: grid;
  text-align: center;
  line-height: 1.4;
}
.ift_fraction span:first-child {
  border-bottom: 2px solid #2f551f;
  padding: 0 8px 8px;
}
.ift_fraction span:last-child {
  padding: 8px 8px 0;
}
.ift_formula_equal {
  font-size: 24px;
  color: #53a10f;
}
.ift_steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 27px 0;
}
.ift_steps > div {
  background: #f0f0f0;
  padding: 22px;
  border-radius: 13px;
}
.ift_steps span,
.ift_card_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #53a10f;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.ift_steps h3 {
  font-size: 17px !important;
  margin: 15px 0 5px;
}
.ift_steps p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.ift_table_scroll {
  overflow-x: auto;
}
.ift_table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  text-align: left;
}
.ift_table caption {
  text-align: left;
  font-size: 12px;
  color: #666561;
  padding-bottom: 10px;
}
.ift_table th {
  background: #2f551f;
  color: #fff;
}
.ift_table td,
.ift_table th {
  padding: 14px 12px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}
.ift_result {
  background: #ecf7e3;
  border-radius: 14px;
  margin: 26px 0;
  padding: 22px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.ift_result > div {
  min-width: 145px;
}
.ift_result span {
  display: block;
  font-size: 13px;
  font-weight: 650;
}
.ift_result strong {
  display: block;
  font-size: 48px;
  color: #408009;
  line-height: 1.1;
}
.ift_result p {
  margin: 0;
  font-size: 15px;
}
.ift_textlink {
  font-weight: 750;
}
.ift_cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 25px 0;
}
.ift_card {
  border: 1px solid #e0e2df;
  border-radius: 14px;
  padding: 20px;
}
.ift_card h3 {
  font-size: 17px !important;
  margin: 16px 0 9px;
}
.ift_card p {
  font-size: 14px;
  margin: 0;
}
.ift_product {
  background: #f0f0f0;
  border-radius: 22px;
  padding: clamp(22px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}
.ift_product_visual {
  margin: 0;
}
.ift_product_visual img {
  width: 100%;
  height: auto;
}
.ift_checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.ift_checklist li {
  position: relative;
  padding-left: 30px;
  margin: 8px 0;
}
.ift_checklist li:before {
  content: "✓";
  color: #53a10f;
  position: absolute;
  left: 0;
  font-weight: 900;
}
.ift_proof {
  font-size: 13px;
  color: #666561 !important;
}
.ift_faq_item {
  border-bottom: 1px solid #ddd;
}
.ift_faq_item:first-child {
  border-top: 1px solid #ddd;
}
.ift_faq_item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 2px;
  font-weight: 750;
}
.ift_faq_item summary::-webkit-details-marker {
  display: none;
}
.ift_faq_item summary span {
  font-size: 24px;
  color: #53a10f;
}
.ift_faq_item[open] summary span {
  transform: rotate(45deg);
}
.ift_faq_item p {
  padding: 0 25px 18px 2px;
  font-size: 15px;
}
.ift_sources {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  margin-bottom: 25px;
}
.ift_sources h2 {
  font-size: 24px !important;
}
.ift_sources li {
  margin: 8px 0;
}
.ift_sources .ift_author {
  color: #666561;
  font-size: 13px;
}
.ift_bottom_cta {
  text-align: center;
  background: #53a10f;
  padding: 60px 0;
  color: #fff;
}
.ift_bottom_cta h2 {
  color: #fff;
  font-size: clamp(26px, 3.5vw, 48px) !important;
  line-height: 1.2;
  margin: 0 0 15px;
  font-weight: 900;
}
.ift_bottom_cta p {
  color: #fff;
  margin: 0 0 22px;
}
.ift_bottom_cta .ift_button {
  margin: 0 auto;
}
@media (max-width: 950px) {
  .ift_hero_grid,
  .ift_layout,
  .ift_product {
    grid-template-columns: 1fr;
  }
  .ift_hero_copy {
    text-align: center;
  }
  .ift_actions {
    justify-content: center;
  }
  .ift_hero_media {
    max-width: 570px;
    margin-inline: auto;
  }
  .ift_toc {
    position: static;
  }
  .ift_toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ift_layout {
    padding-top: 36px;
  }
  .ift_steps,
  .ift_cards {
    grid-template-columns: 1fr;
  }
  .ift_product_visual {
    max-width: 440px;
    margin-inline: auto;
  }
}
@media (max-width: 550px) {
  .ift_container {
    width: calc(100% - 32px);
  }
  .ift_hero {
    padding: 38px 0;
  }
  .ift_hero h1 {
    font-size: 34px !important;
  }
  .ift_actions {
    flex-direction: column;
  }
  .ift_button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .ift_summary_inner {
    display: block;
  }
  .ift_summary_inner strong {
    display: block;
    margin-bottom: 5px;
  }
  .ift_toc nav {
    grid-template-columns: 1fr;
  }
  .ift_formula {
    gap: 8px;
    font-size: 12px;
    padding: 22px 10px;
  }
  .ift_fraction span:first-child,
  .ift_fraction span:last-child {
    padding: 6px 3px;
  }
  .ift_result {
    display: block;
  }
  .ift_result p {
    margin-top: 12px;
  }
  .ift_section {
    margin-bottom: 55px;
  }
  .ift_product {
    padding: 24px 18px;
  }
}


a.phyz-pricing-feature-link {
    color: #242020;
}

/* =========================================================
   IFT — CORRECTIFS STICKY / SCROLL / ZOOM
   À ajouter à la fin du CSS existant
   ========================================================= */

/* Sommaire : corrections de positionnement */
@media (min-width: 951px) {

  .ift_page .ift_layout {
    position: relative;
    align-items: start;
  }

  .ift_page .ift_toc {
    z-index: 20;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

}

/* Marge sous le header lors du scroll vers les ancres */
.ift_page [id^="ift_"] {
  scroll-margin-top: 120px;
}

/* Images : zoom progressif au survol */
.ift_page .ift_hero_media,
.ift_page .ift_product_visual {
  overflow: hidden;
  border-radius: 18px;
}

.ift_page .ift_hero_media img,
.ift_page .ift_product_visual img {
  cursor: zoom-in;
  transition: transform 0.45s ease;
  transform-origin: center center;
}

@media (hover: hover) and (pointer: fine) {
  .ift_page .ift_hero_media img:hover,
  .ift_page .ift_product_visual img:hover {
    transform: scale(1.055);
  }
}

/* Lightbox plein écran */
.ift_zoom_overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: rgba(20, 25, 18, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ift_zoom_overlay.ift_zoom_open {
  opacity: 1;
  visibility: visible;
}

.ift_zoom_image {
  display: block;
  max-width: 95vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.ift_zoom_open .ift_zoom_image {
  transform: scale(1);
}

.ift_zoom_close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #242020;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.ift_zoom_close:hover {
  background: #53a10f;
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .ift_page .ift_hero_media img,
  .ift_page .ift_product_visual img,
  .ift_zoom_overlay,
  .ift_zoom_image {
    transition: none;
  }
}










/* =====================================================
   PHYZ — IFT PARCELLAIRE
   Extension du CSS de la page pilier
   ===================================================== */

.ift_calc_page .ift_section {
  scroll-margin-top: 120px;
}

.ift_calc_page .ift_hero_copy > p:not(.ift_eyebrow):not(.ift_lead):not(.ift_hero_note) {
  color: #515651;
  line-height: 1.8;
}

.ift_calc_tool,
.ift_calc_tool *,
.ift_calc_tool *::before,
.ift_calc_tool *::after {
  box-sizing: border-box;
}

.ift_calc_tool {
  background: #f4f7f1;
  
  border-radius: 24px;
  padding: clamp(20px, 4vw, 38px);
  margin: 30px 0 34px;

}

.ift_calc_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.ift_calc_label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  color: #53A10F;
  margin-bottom: 10px;
}

.ift_calc_header h3 {
  margin: 0 0 7px !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #242020;
}

.ift_calc_header p,
.ift_calc_subhead p {
  margin: 0 !important;
  font-size: 13px;
  color: #647060;
}

.ift_calc_reset {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid #cad9c1;
  border-radius: 10px;
  color: #42543c;
  padding: 11px 15px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.ift_calc_reset:hover {
  border-color: #53A10F;
  color: #2F551F;
  background: #fff;
}

.ift_calc_field {
  margin-bottom: 24px;
}

.ift_calc_field label,
.ift_calc_item label {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  color: #343b32;
  margin-bottom: 8px;
}

.ift_calc_input_unit {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #d8e1d2;
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color .2s ease;
}

.ift_calc_input_unit:focus-within {
  border-color: #53A10F;
}

.ift_calc_input_unit input {
  width: 100%;
  min-width: 0;
  height: 49px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
  margin: 0 !important;
  color: #242020;
  font-size: 16px;
  font-weight: 700;
}

.ift_calc_input_unit span {
  flex-shrink: 0;
  font-size: 12px;
  color: #727b6d;
}

.ift_calc_subhead {
  margin-bottom: 16px;
  padding-top: 22px;
  border-top: 1px solid #dce7d5;
}

.ift_calc_subhead h4 {
  margin: 0 0 5px !important;
  font-size: 17px !important;
  font-weight: 800;
}

.ift_calc_rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ift_calc_row {
  padding: 18px;
  background: #fff;
  border: 1px solid #e1e8dc;
  border-radius: 16px;
}

.ift_calc_row_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ift_calc_row_name {
  font-size: 13px;
  font-weight: 800;
  color: #242020;
}

.ift_calc_remove {
  border: 0;
  background: #f6f6f4;
  border-radius: 8px;
  color: #8d3b3b;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ift_calc_remove:hover {
  background: #fbe5e5;
}

.ift_calc_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ift_calc_item {
  min-width: 0;
}

.ift_calc_row_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #eff2ec;
  gap: 12px;
}

.ift_calc_row_footer span {
  color: #747d71;
  font-size: 12px;
}

.ift_calc_row_footer strong {
  font-size: 21px;
  color: #2F551F;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ift_calc_add {
  width: 100%;
  border: 2px dashed #b8d3a9;
  border-radius: 13px;
  background: #fff;
  color: #2F551F;
  min-height: 52px;
  margin: 16px 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.ift_calc_add span {
  font-size: 22px;
  line-height: 1;
}

.ift_calc_add:hover {
  border-color: #53A10F;
  background: #f9fff5;
}

.ift_calc_error {
  padding: 13px 16px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #fff0ec;
  color: #9c3522;
  border: 1px solid #f0c8bd;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
}

.ift_calc_error[hidden] {
  display: none !important;
}

.ift_calc_result {
  background: #2F551F;
  color: #fff;
  border-radius: 17px;
  padding: 24px;
}

.ift_calc_result_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ift_calc_result_top span {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 600;
}

.ift_calc_result_top strong {
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: -.06em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ift_calc_result_bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: 15px;
  border-top: 1px solid rgba(255,255,255,.25);
}

.ift_calc_result_bottom span {
  color: rgba(255,255,255,.72);
  font-size: 11px;
}

.ift_calc_breakdown {
  margin-top: 17px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ift_calc_breakdown:empty {
  display: none;
}

.ift_calc_breakdown_line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.87);
}

.ift_calc_breakdown_line strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.ift_calc_disclaimer {
  font-size: 12px;
  line-height: 1.75;
  color: #61705b;
  margin: 19px 0 22px !important;
}

.ift_calc_cta {
  display: flex !important;
  justify-content: center;
  text-align: center;
  width: 100%;
}

@media (max-width: 700px) {
  .ift_calc_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ift_calc_header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ift_calc_result_top {
    align-items: flex-start;
    flex-direction: column;
  }

  .ift_calc_result_bottom {
    flex-direction: column;
  }

  .ift_calc_row {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ift_calc_tool button,
  .ift_calc_input_unit {
    transition: none !important;
  }
}
