
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #172033;
  background: #fff;
}

.sim-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e9edf3;
  position: sticky;
  top: 0;
  z-index: 100;
}

.sim-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.sim-brand img {
  width: 155px;
  height: auto;
  display: block;
}

.sim-nav nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.sim-nav nav a {
  color: #4d5668;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.sim-nav nav a:hover {
  color: #f26a21;
}

.sim-header-cta {
  padding: 11px 18px;
  background: #f26a21;
  color: #fff;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.sim-hero {
  padding: 46px 0 54px;
  background:
    radial-gradient(circle at 82% 10%, rgba(242,106,33,.11), transparent 27%),
    linear-gradient(180deg,#f8fafc 0%,#fff 100%);
  border-bottom: 1px solid #eef1f5;
}

.sim-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 38px;
  font-size: 13px;
  color: #8a93a3;
}

.sim-breadcrumb a {
  color: #687284;
  text-decoration: none;
}

.sim-hero-copy {
  max-width: 850px;
  text-align: center;
  margin: 0 auto;
}

.sim-kicker,
.section-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ed6a22;
  font-weight: 800;
  margin-bottom: 14px;
}

.sim-hero h1 {
  font-size: clamp(38px,5vw,62px);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 0;
  color: #18243a;
}

.sim-hero-copy > p {
  max-width: 730px;
  margin: 23px auto 0;
  color: #657084;
  line-height: 1.75;
  font-size: 18px;
}

.sim-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.sim-benefits span {
  padding: 8px 12px;
  border: 1px solid #e4e8ef;
  border-radius: 999px;
  background: #fff;
  color: #596477;
  font-size: 13px;
  font-weight: 650;
}

.simulator-section {
  padding: 72px 0 90px;
  background: #f5f7fa;
}

.simulator-layout {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(330px,.65fr);
  gap: 26px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.calculator-card,
.results-card {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 18px;
  box-shadow: 0 15px 45px rgba(23,32,51,.06);
}

.calculator-card {
  padding: 34px;
}

.calculator-heading {
  padding-bottom: 25px;
  border-bottom: 1px solid #edf0f4;
}

.calculator-heading > span,
.results-heading > span {
  color: #ef6b21;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}

.calculator-heading h2,
.results-heading h2 {
  margin: 7px 0 8px;
  color: #1b273d;
}

.calculator-heading h2 {
  font-size: 27px;
}

.calculator-heading p {
  margin: 0;
  color: #737d8e;
  line-height: 1.55;
}

.form-section {
  padding: 27px 0;
  border-bottom: 1px solid #edf0f4;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}

.form-section-title > span {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #fff1e8;
  color: #ed671e;
  font-weight: 800;
  font-size: 13px;
}

.form-section-title strong,
.form-section-title small {
  display: block;
}

.form-section-title strong {
  color: #263248;
  font-size: 15px;
}

.form-section-title small {
  color: #8991a0;
  margin-top: 2px;
  font-size: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid label > span {
  display: block;
  margin-bottom: 7px;
  color: #5c6678;
  font-size: 12px;
  font-weight: 700;
}

.form-grid input,
.form-grid select {
  width: 100%;
  min-height: 47px;
  border: 1px solid #dce1e8;
  border-radius: 9px;
  background: #fff;
  color: #283449;
  font: inherit;
  padding: 0 13px;
  outline: none;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: #f28a52;
  box-shadow: 0 0 0 3px rgba(242,106,33,.09);
}

.input-unit {
  display: flex;
  border: 1px solid #dce1e8;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}

.input-unit:focus-within {
  border-color: #f28a52;
  box-shadow: 0 0 0 3px rgba(242,106,33,.09);
}

.input-unit input {
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.input-unit b {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #8790a0;
  background: #f7f8fa;
  border-left: 1px solid #e5e8ed;
  white-space: nowrap;
  font-size: 12px;
}

.calculate-button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  margin-top: 26px;
  padding: 15px 20px;
  background: #f26a21;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.calculate-button:hover {
  filter: brightness(.97);
}

.calculator-error {
  background: #fff0ee;
  color: #a44337;
  border: 1px solid #f2d1cd;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 13px;
}

.results-card {
  position: sticky;
  top: 100px;
  overflow: hidden;
}

.results-heading {
  padding: 28px 28px 19px;
}

.results-heading h2 {
  font-size: 21px;
}

.main-result {
  margin: 0 28px;
  padding: 25px 18px;
  text-align: center;
  border-radius: 13px;
  background: linear-gradient(135deg,#17243b,#223651);
  color: #fff;
}

.main-result small {
  display: block;
  color: #bfc8d5;
  margin-bottom: 8px;
}

.main-result strong {
  font-size: 48px;
  line-height: 1;
}

.main-result span {
  display: block;
  margin-top: 5px;
  color: #d9dfe8;
  font-size: 12px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 22px 28px;
}

.comparison > div:not(.comparison-arrow) {
  padding: 14px;
  background: #f7f8fa;
  border: 1px solid #eceef2;
  border-radius: 10px;
  text-align: center;
}

.comparison span,
.comparison small {
  display: block;
  color: #9098a5;
  font-size: 10px;
}

.comparison strong {
  display: block;
  color: #263248;
  font-size: 22px;
  margin: 3px 0;
}

.comparison-arrow {
  color: #ed6a22;
  font-weight: 900;
}

.performance-block {
  padding: 0 28px 22px;
}

.performance-heading {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #687285;
}

.performance-heading strong {
  color: #ed6a22;
}

.performance-bar {
  height: 7px;
  background: #edf0f4;
  border-radius: 999px;
  overflow: hidden;
  margin: 9px 0;
}

.performance-bar span {
  display: block;
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background: #f26a21;
  transition: width .35s ease;
}

.performance-block p {
  margin: 0;
  font-size: 11px;
  color: #89919e;
  line-height: 1.5;
}

.result-list {
  border-top: 1px solid #edf0f4;
  padding: 8px 28px;
}

.result-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 12px;
}

.result-list span {
  color: #727c8e;
}

.result-list strong {
  color: #283449;
  text-align: right;
}

.result-disclaimer {
  margin: 0;
  padding: 17px 28px 24px;
  color: #969da8;
  font-size: 10px;
  line-height: 1.5;
}

.narrow {
  max-width: 900px;
}

.explanation-section,
.seo-content,
.faq-section {
  padding: 90px 0;
}

.explanation-section {
  background: #fff;
}

.explanation-section h2,
.seo-content h2,
.faq-section h2 {
  color: #1b273d;
  letter-spacing: -.025em;
}

.explanation-section h2,
.faq-section h2 {
  font-size: clamp(30px,4vw,42px);
  margin: 0 0 16px;
}

.section-intro {
  color: #687386;
  line-height: 1.75;
  font-size: 17px;
  max-width: 730px;
}

.formula-card {
  margin-top: 35px;
  padding: 25px;
  border: 1px solid #e3e7ed;
  border-radius: 14px;
  background: #f8fafc;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 25px;
  align-items: center;
}

.formula-card div {
  text-align: center;
  border-right: 1px solid #e1e5eb;
}

.formula-card small {
  display: block;
  color: #f26a21;
  font-size: 10px;
  font-weight: 800;
}

.formula-card strong {
  display: block;
  margin-top: 6px;
  color: #1b273d;
  font-size: 31px;
}

.formula-card p {
  margin: 0;
  color: #697487;
  line-height: 1.7;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 25px;
}

.content-grid article {
  padding: 24px;
  border: 1px solid #e5e8ed;
  border-radius: 13px;
}

.content-grid article > span {
  color: #f26a21;
  font-size: 11px;
  font-weight: 800;
}

.content-grid h3 {
  color: #263248;
  font-size: 17px;
  margin: 9px 0;
}

.content-grid p {
  color: #737d8d;
  line-height: 1.65;
  font-size: 13px;
  margin: 0;
}

.professional-section {
  padding: 35px 0 80px;
}

.professional-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: 45px;
  border-radius: 20px;
  background: linear-gradient(135deg,#16243b,#243b5b);
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 45px;
  align-items: center;
}

.section-kicker.light {
  color: #ff9c67;
}

.professional-card h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 15px;
  letter-spacing: -.03em;
}

.professional-card p {
  color: #c4ccd8;
  line-height: 1.7;
}

.professional-card small {
  display: block;
  margin-top: 13px;
  color: #aeb8c6;
}

.professional-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 23px;
}

.pro-primary,
.pro-secondary {
  padding: 12px 17px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 750;
  font-size: 13px;
}

.pro-primary {
  background: #f26a21;
  color: #fff;
}

.pro-secondary {
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
}

.pro-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.pro-metrics div {
  padding: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
}

.pro-metrics strong,
.pro-metrics span {
  display: block;
}

.pro-metrics strong {
  font-size: 15px;
}

.pro-metrics span {
  margin-top: 4px;
  color: #aeb8c6;
  font-size: 11px;
}

.seo-content {
  background: #f7f9fb;
}

.seo-content h2 {
  font-size: 28px;
  margin: 35px 0 12px;
}

.seo-content h2:first-child {
  margin-top: 0;
}

.seo-content p {
  color: #667286;
  line-height: 1.8;
}

.seo-content a {
  color: #e8641d;
  font-weight: 700;
}

.faq-section details {
  border-bottom: 1px solid #e4e7ec;
}

.faq-section summary {
  padding: 20px 0;
  cursor: pointer;
  color: #29354a;
  font-weight: 700;
}

.faq-section details p {
  margin: -5px 0 22px;
  color: #6e7889;
  line-height: 1.7;
}

.bottom-cta {
  padding: 85px 0;
  text-align: center;
  background: #f6f8fa;
}

.bottom-cta span {
  color: #ed6a22;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 800;
}

.bottom-cta h2 {
  max-width: 700px;
  margin: 10px auto;
  color: #1b273d;
  font-size: 37px;
}

.bottom-cta p {
  color: #6e788a;
  margin-bottom: 25px;
}

.bottom-cta a {
  display: inline-block;
  padding: 14px 21px;
  background: #f26a21;
  color: #fff;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 800;
}

.sim-footer {
  padding: 38px 0;
  background: #17243a;
  color: #aeb8c7;
}

.sim-footer .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sim-footer img {
  width: 135px;
  filter: brightness(0) invert(1);
}

.sim-footer p {
  flex: 1;
  font-size: 12px;
}

.sim-footer div div {
  display: flex;
  gap: 18px;
}

.sim-footer a {
  color: #d5dbe4;
  text-decoration: none;
  font-size: 12px;
}

@media (max-width: 900px) {
  .sim-nav nav {
    display: none;
  }

  .simulator-layout,
  .professional-card {
    grid-template-columns: 1fr;
  }

  .results-card {
    position: static;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .sim-header-cta {
    display: none;
  }

  .sim-hero {
    padding-top: 30px;
  }

  .sim-breadcrumb {
    margin-bottom: 25px;
  }

  .sim-hero h1 {
    font-size: 38px;
  }

  .sim-hero-copy > p {
    font-size: 16px;
  }

  .simulator-section {
    padding: 40px 0 60px;
  }

  .calculator-card {
    padding: 22px 17px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .formula-card {
    grid-template-columns: 1fr;
  }

  .formula-card div {
    border-right: 0;
    border-bottom: 1px solid #e1e5eb;
    padding-bottom: 18px;
  }

  .professional-card {
    padding: 28px 20px;
  }

  .professional-card h2 {
    font-size: 27px;
  }

  .pro-metrics {
    grid-template-columns: 1fr;
  }

  .sim-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .sim-footer p {
    margin: 0;
  }
}


/* ==========================================================
   THERMALYZE_SIMULATEUR_COMBLES_V2
   ========================================================== */

.v2-progress {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin: 22px 0 4px;
}

.v2-progress > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  background: #fafbfc;
}

.v2-progress span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #fff1e8;
  color: #ec681f;
  font-size: 10px;
  font-weight: 800;
}

.v2-progress strong {
  color: #596477;
  font-size: 11px;
}

.thickness-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
}

.thickness-presets > span {
  margin-right: 3px;
  color: #7d8796;
  font-size: 11px;
  font-weight: 700;
}

.thickness-presets button {
  padding: 7px 10px;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  background: #fff;
  color: #596477;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.thickness-presets button:hover,
.thickness-presets button.active {
  border-color: #f3ae86;
  background: #fff3eb;
  color: #e66018;
}

.v2-margin-row {
  margin-top: 18px;
}

.target-status {
  margin: 0 28px 14px;
  padding: 13px 16px;
  border-radius: 10px;
  text-align: center;
}

.target-status small,
.target-status strong {
  display: block;
}

.target-status small {
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.target-status strong {
  font-size: 14px;
}

.target-success {
  border: 1px solid #ccebd8;
  background: #edf9f1;
  color: #257849;
}

.target-warning {
  border: 1px solid #f4d9b4;
  background: #fff7e9;
  color: #a96513;
}

.v2-target-card {
  margin: 0 28px 22px;
  padding: 17px;
  border: 1px solid #e4e8ee;
  border-radius: 11px;
  background: #f8fafc;
  text-align: center;
}

.v2-target-card > span,
.v2-target-card > strong,
.v2-target-card > small {
  display: block;
}

.v2-target-card > span {
  color: #737e90;
  font-size: 10px;
  font-weight: 700;
}

.v2-target-card > strong {
  margin: 7px 0 5px;
  color: #1d2a40;
  font-size: 26px;
}

.v2-target-card > small {
  color: #929aa7;
  font-size: 9px;
  line-height: 1.45;
}

.v2-result-actions {
  display: grid;
  gap: 8px;
  padding: 15px 28px 2px;
  border-top: 1px solid #edf0f4;
}

.v2-result-actions button,
.v2-result-actions a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 9px;
  text-decoration: none;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.v2-result-actions button {
  border: 1px solid #dde2e9;
  background: #fff;
  color: #556175;
}

.v2-result-actions a {
  border: 1px solid #f26a21;
  background: #f26a21;
  color: #fff;
}

@media (max-width:650px) {
  .v2-progress {
    grid-template-columns:1fr;
  }
}

@media print {

  .sim-header,
  .sim-hero,
  .calculator-card,
  .explanation-section,
  .professional-section,
  .seo-content,
  .faq-section,
  .bottom-cta,
  .sim-footer {
    display:none !important;
  }

  body,
  .simulator-section {
    background:#fff !important;
  }

  .simulator-section {
    padding:0 !important;
  }

  .simulator-layout {
    display:block !important;
  }

  .results-card {
    position:static !important;
    width:100% !important;
    max-width:700px !important;
    margin:20px auto !important;
    box-shadow:none !important;
  }

  .v2-result-actions {
    display:none !important;
  }

  .results-card::before {
    content:"ThermAlyze — Simulation isolation combles";
    display:block;
    padding:22px 28px 5px;
    color:#18243a;
    font-size:20px;
    font-weight:800;
  }
}
