/* =========================================================
   STYLE GLOBAL TRUE FIRE (VERSION FINALE - CLEAN)
   Contient : Hero, Slider, FAQ, Grille, Panel Tech, Mobile Popup
========================================================= */

/* --- VARIABLES --- */
:root {
  --tf-red: #bd3535;
  --tf-dark: #46415c;
  --tf-muted: #b3b8d0;
  --hero-scale: 1;
  --hero-shift-y: 0px;        
  --hero-content-x: -30px;    
  --hero-img-shift-y: 0px;    
  --hero-max-width: 680px;
  --hero-desc-scale: 1;
  --title-size: 68px;
  --desc-width: 100%;
  --btn-mt: 0px;
  --btn-pad-y: 14px;
  --btn-pad-x: 32px;
  --btn-font-size: 25px; 
  --icon-size: 30px;
}

/* =========================================================
   1. SECTION HERO (Slide Principal)
========================================================= */
.tf-hero {
  position: relative;
  width: 100%;
  min-height: calc(760px * var(--hero-scale));
  background-color: #fff;
  background-image: url("https://true-fire.com/wp-content/uploads/2026/01/Slide-true-fire.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right calc(50% + var(--hero-img-shift-y));
  display: flex;
  align-items: center;
}

.tf-hero-inner {
  width: 100%;
  max-width: 1400px;
  padding-left: 100px;
}

.tf-hero-content {
  max-width: var(--hero-max-width);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transform: translateX(var(--hero-content-x)) translateY(var(--hero-shift-y));
}

.tf-hero-kicker {
  font-family: 'BW Modelica', sans-serif;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.0001em;
  word-spacing: -0.12em;
  font-size: var(--title-size, calc(clamp(34px, 4.4vw, 68px) * var(--hero-scale)));
  color: var(--tf-red);
  margin-bottom: 16px;
}

.tf-hero-title {
  font-family: 'BW Modelica', sans-serif;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.0001em;
  word-spacing: -0.12em;
  font-size: var(--title-size, calc(clamp(34px, 4.4vw, 68px) * var(--hero-scale)));
  color: var(--tf-dark);
}

.tf-hero-title + .tf-hero-title {
  margin-top: 6px;
}

.tf-hero-desc {
  width: var(--desc-width);
  max-width: 100%;
  margin: 15px 0 34px;
  font-family: 'BW Modelica', sans-serif;
  font-weight: 700;
  font-size: calc(clamp(14px, 1.6vw, 20px) * var(--hero-scale) * var(--hero-desc-scale));
  line-height: 1.45;
  color: var(--tf-muted);
}

.tf-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--btn-mt);
  padding: calc(var(--btn-pad-y) * var(--hero-scale)) calc(var(--btn-pad-x) * var(--hero-scale));
  font-family: 'BW Modelica', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: max(13px, calc(clamp(14px, 1.6vw, var(--btn-font-size)) * var(--hero-scale)));
  color: #fff;
  background-color: var(--tf-red);
  border: 2px solid var(--tf-red);
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.tf-hero-btn:hover {
  background: transparent;
  color: var(--tf-red);
}

/* =========================================================
   2. MEDIA QUERIES HERO
========================================================= */
@media (min-width: 2200px) {
  .tf-hero { min-height: 998px; }
  .tf-hero-content { margin-left: 80px; }
}
@media (max-width: 1929px) {
  :root { --hero-scale: 1; --hero-spacer-mt: -200px; --hero-content-x: -50px; --hero-shift-y: -132px; --hero-img-shift-y: -100px; --hero-max-width: 680px; --title-size: 50px; --desc-width: 550px; --hero-desc-scale: 0.85; --btn-mt: 17px; --btn-pad-y: 13px; --btn-pad-x: 19px; --btn-font-size: 25px; --icon-size: 30px; }
}
@media (max-width: 1200px) {
  :root { --hero-scale: 0.78; --hero-spacer-mt: -3px; --hero-content-x: -72px; --hero-shift-y: -118px; --hero-img-shift-y: -100px; --hero-max-width: 680px; --title-size: 41px; --desc-width: 350px; --hero-desc-scale: 0.85; --btn-mt: -1px; }
}
@media (max-width: 920px) {
  :root { --hero-scale: 0.78; --hero-content-x: -80px; --hero-shift-y: -132px; --title-size: 34px; --hero-desc-scale: 0.99; }
}
@media (max-width: 768px) {
  :root { --hero-scale: 0.80; --hero-shift-y: -150px; --hero-max-width: 240px; --hero-spacer-mt: -360px; --hero-content-x: -20px; }
}
@media (max-width: 680px) {
  :root { --hero-scale: 0.90; --hero-shift-y: -170px; --hero-max-width: 400px; --hero-spacer-mt: -320px; --hero-content-x: -40px; --btn-mt: 20px; --btn-pad-y: 8px; --btn-pad-x: 18px; --btn-font-size: 20px; }
}
@media (max-width: 580px) { :root { --hero-shift-y: -170px; --hero-max-width: 400px; --hero-spacer-mt: -330px; --btn-mt: 40px; } }
@media (max-width: 480px) { :root { --hero-shift-y: -170px; --hero-max-width: 320px; --hero-spacer-mt: -360px; --hero-content-x: -50px; --btn-mt: 20px; } }
@media (max-width: 440px) { :root { --hero-max-width: 340px; --hero-content-x: -70px; } }
@media (max-width: 390px) { :root { --hero-max-width: 360px; --btn-mt: 10px; --btn-pad-y: 6px; --btn-font-size: 18px; } }
@media (max-width: 345px) { :root { --hero-scale: 0.85; --hero-shift-y: -150px; --hero-max-width: 330px; --hero-desc-scale: 1.0; --btn-mt: 10px; --btn-font-size: 13px; } }

.tf-slider-wrap { max-width: 1300px; margin: 70px auto; padding: 0 40px; }
.tf-slider-head { text-align: center; max-width: 920px; margin: 0 auto 22px; }
.tf-slider-title { margin: 0 0 10px; font-size: 42px; font-weight: 900; line-height: 1.15; color: #111; }
.tf-slider-sub { margin: 0 auto; max-width: 820px; font-size: 16px; line-height: 1.7; color: #666; }
.tf-slider-card { background: #f6f7fb; border-radius: 28px; padding: 28px; box-shadow: 0 25px 60px rgba(0,0,0,.08); overflow: hidden; max-width: 1300px; margin: 20px auto; }
.tf-slider-card .tf-hero { border-radius: 18px; overflow: hidden; margin: 0; }
.tf-hero-spacer { width: 100%; height: 0; margin-top: var(--hero-spacer-mt, 0); }
