.sc-tools-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 80% 0,
      rgba(199,244,100,.08),
      transparent 32rem
    ),
    #0b1220;
}

.tools-main {
  padding: 70px 0 100px;
}

.tools-hero {
  max-width: 820px;
  margin-bottom: 50px;
}

.tools-eyebrow {
  color: #c7f464;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tools-hero h1,
.tool-shell h1 {
  margin: 11px 0 18px;
  color: white;
  font-size: clamp(2.7rem,6vw,5rem);
  line-height: .97;
  letter-spacing: -.06em;
}

.tools-hero p,
.tool-intro {
  max-width: 700px;
  color: #9eafc1;
  font-size: .95rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 17px;
  background: #101b2d;
  transition:
    transform .15s ease,
    border-color .15s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(199,244,100,.35);
}

.tool-card-featured {
  grid-column: span 2;
  min-height: 220px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(199,244,100,.12),
      transparent 24rem
    ),
    #101b2d;
}

.tool-number {
  color: #c7f464;
  font-size: .65rem;
  font-weight: 900;
}

.tool-card h2 {
  margin: 15px 0 9px;
  color: white;
  font-size: 1.35rem;
}

.tool-card p {
  margin: 0 0 24px;
  color: #8799ae;
  font-size: .77rem;
}

.tool-card a {
  margin-top: auto;
  color: #c7f464;
  font-size: .76rem;
  font-weight: 850;
}

.tool-shell {
  max-width: 900px;
  margin: 0 auto;
}

.tool-topbar {
  margin-bottom: 45px;
}

.tool-back {
  color: #8596aa;
  font-size: .75rem;
  font-weight: 750;
}

.tool-panel {
  margin-top: 40px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 19px;
  background: #101b2d;
}

.tool-step {
  display: none;
}

.tool-step.is-active {
  display: block;
}

.tool-step h2 {
  margin: 0 0 10px;
  color: white;
  font-size: 1.5rem;
}

.tool-step > p {
  margin: 0 0 25px;
  color: #8fa1b5;
  font-size: .78rem;
}

.tool-fields {
  display: grid;
  gap: 20px;
}

.tool-field {
  display: grid;
  gap: 8px;
}

.tool-field > span,
.tool-label {
  color: #e6edf4;
  font-size: .75rem;
  font-weight: 800;
}

.tool-field small {
  color: #72859b;
  font-size: .64rem;
}

.tool-field input,
.tool-field textarea,
.tool-field select {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 15px;
  color: white;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  outline: none;
  background: #0b1423;
  font: inherit;
  font-size: .8rem;
}

.tool-field textarea {
  min-height: 110px;
  resize: vertical;
}

.tool-field input:focus,
.tool-field textarea:focus,
.tool-field select:focus {
  border-color: rgba(199,244,100,.5);
}

.tool-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tool-option {
  position: relative;
}

.tool-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tool-option span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: #aab8c7;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px;
  background: #0b1423;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 750;
}

.tool-option input:checked + span {
  color: #0b1220;
  border-color: #c7f464;
  background: #c7f464;
}

.tool-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.tool-actions .button {
  min-height: 48px;
}

.tool-result {
  margin-top: 38px;
}

.result-card {
  padding: 30px;
  border: 1px solid rgba(199,244,100,.2);
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(199,244,100,.08),
      transparent 22rem
    ),
    #101b2d;
}

.result-badge {
  display: inline-flex;
  padding: 6px 9px;
  color: #0b1220;
  border-radius: 99px;
  background: #c7f464;
  font-size: .61rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.result-card h2 {
  margin: 17px 0 12px;
  color: white;
  font-size: clamp(1.8rem,4vw,3rem);
  letter-spacing: -.04em;
}

.result-price {
  margin: 18px 0;
  color: #c7f464;
  font-size: 2.7rem;
  font-weight: 950;
  letter-spacing: -.05em;
}

.result-copy,
.result-reasons {
  color: #a5b4c4;
  font-size: .8rem;
}

.result-reasons {
  display: grid;
  gap: 7px;
  margin: 20px 0;
}

.result-reasons div::before {
  content: "✓ ";
  color: #c7f464;
  font-weight: 900;
}

.result-primary {
  width: 100%;
  min-height: 56px;
  margin-top: 20px;
}

.result-no-sale {
  padding: 18px;
  margin-top: 20px;
  border-radius: 12px;
  color: #b9c7d3;
  background: rgba(199,244,100,.05);
  font-size: .76rem;
}

.result-email {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.result-email h3 {
  margin: 0 0 6px;
  color: white;
  font-size: .9rem;
}

.result-email p {
  margin: 0 0 14px;
  color: #7f91a5;
  font-size: .7rem;
}

.inline-email {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}

.inline-email input {
  padding: 12px 13px;
  color: white;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  outline: none;
  background: #0b1423;
}

.tool-error {
  margin-top: 16px;
  padding: 13px;
  color: #ffd0d0;
  border: 1px solid rgba(255,100,100,.22);
  border-radius: 9px;
  background: rgba(255,70,70,.07);
  font-size: .7rem;
}

.tool-success {
  color: #c7f464;
  font-size: .72rem;
  font-weight: 750;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 25px 0;
}

.check-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  padding: 13px;
  border-radius: 10px;
  background: #0b1423;
}

.check-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 950;
}

.check-ok .check-icon {
  color: #0b1220;
  background: #c7f464;
}

.check-warn .check-icon {
  color: #0b1220;
  background: #f4cf64;
}

.check-bad .check-icon {
  color: white;
  background: #c95c5c;
}

.check-row strong {
  display: block;
  color: white;
  font-size: .77rem;
}

.check-row p {
  margin: 3px 0 0;
  color: #7f91a5;
  font-size: .67rem;
}

.score-big {
  color: #c7f464;
  font-size: 4.2rem;
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.07em;
}

.generated-brief {
  white-space: pre-wrap;
  padding: 22px;
  color: #d7e0e8;
  border-radius: 12px;
  background: #08111e;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: .72rem;
  line-height: 1.6;
}

.tool-note {
  padding: 15px;
  border: 1px solid rgba(199,244,100,.14);
  border-radius: 10px;
  color: #899baf;
  background: rgba(199,244,100,.035);
  font-size: .7rem;
}

@media (max-width: 700px) {

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

  .tool-card-featured {
    grid-column: auto;
  }

  .tool-panel,
  .result-card {
    padding: 22px;
  }

  .tool-actions {
    flex-direction: column-reverse;
  }

  .tool-actions .button {
    width: 100%;
  }

  .inline-email {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   SERVICE COMPRIS
   TOOLS HUB V4
========================================================= */


/* =========================================================
   SAFETY / SCROLL
========================================================= */

html:has(.sc-tools-page),
body:has(.sc-tools-page) {
  width: 100% !important;

  height: auto !important;
  min-height: 100% !important;

  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body:has(.sc-tools-page) {
  background: #e9eef2 !important;
}

body:has(.sc-tools-page) .sc-tools-page {
  position: relative !important;

  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;

  overflow: visible !important;

  color: #0b1220;
  background: #e9eef2;
}


/* =========================================================
   HERO
========================================================= */

body:has(.sc-tools-page) .sc-tools-intro {
  width: min(1380px, calc(100% - 64px));

  margin: 38px auto 72px;
  padding: 62px 66px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 70px;
  align-items: end;

  color: #fff;

  background:
    radial-gradient(
      circle at 87% 12%,
      rgba(199, 244, 100, .13),
      transparent 25%
    ),
    #0b1220;

  border: 1px solid #25334a;
  border-radius: 28px;

  box-shadow:
    0 24px 70px rgba(11, 18, 32, .13);
}

body:has(.sc-tools-page)
.sc-tools-intro-copy {
  max-width: 900px;
}

body:has(.sc-tools-page)
.sc-tools-eyebrow,
body:has(.sc-tools-page)
.sc-tools-section-label {
  display: block;

  color: #a8d72e;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .13em;
  text-transform: uppercase;
}

body:has(.sc-tools-page)
.sc-tools-intro h1 {
  max-width: 820px;

  margin: 17px 0 22px;

  color: #f7fafc;

  font-size: clamp(48px, 4.8vw, 70px);
  font-weight: 850;

  line-height: 1;
  letter-spacing: -.052em;
}

body:has(.sc-tools-page)
.sc-tools-intro-copy > p {
  max-width: 720px;
  margin: 0;

  color: #b9c5d3;

  font-size: 18px;
  line-height: 1.7;
}

body:has(.sc-tools-page)
.sc-tools-intro-note {
  padding: 20px 0 4px 25px;

  border-left: 1px solid #405069;
}

body:has(.sc-tools-page)
.sc-tools-intro-note strong {
  display: block;

  margin-bottom: 8px;

  color: #c7f464;

  font-size: 38px;
  font-weight: 900;

  letter-spacing: -.04em;
}

body:has(.sc-tools-page)
.sc-tools-intro-note span {
  color: #aebbc9;

  font-size: 13px;
  line-height: 1.55;
}


/* =========================================================
   SECTION PRINCIPALE
========================================================= */

body:has(.sc-tools-page)
.sc-tools-section {
  width: min(1380px, calc(100% - 64px));

  margin: 0 auto;
  padding: 0 0 88px;
}

body:has(.sc-tools-page)
.sc-tools-section-header {
  margin-bottom: 28px;

  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 50px;
}

body:has(.sc-tools-page)
.sc-tools-section-header h2 {
  max-width: 700px;

  margin: 9px 0 0;

  color: #0b1220;

  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 840;

  line-height: 1.05;
  letter-spacing: -.04em;
}

body:has(.sc-tools-page)
.sc-tools-section-header > p {
  max-width: 370px;
  margin: 0;

  color: #5c6b7d;

  font-size: 14px;
  line-height: 1.6;
}


/* =========================================================
   3 CARTES PRINCIPALES
========================================================= */

body:has(.sc-tools-page)
.sc-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;
}

body:has(.sc-tools-page)
.sc-tool-product {
  min-height: 445px;
  padding: 27px;

  display: flex;
  flex-direction: column;

  background: #f4f6f8;

  border: 1px solid #d2dbe3;
  border-radius: 19px;

  box-shadow:
    0 7px 22px rgba(11, 18, 32, .045);

  transition:
    transform .17s ease,
    border-color .17s ease,
    box-shadow .17s ease;
}

body:has(.sc-tools-page)
.sc-tool-product:hover {
  transform: translateY(-3px);

  border-color: #adc95f;

  box-shadow:
    0 15px 34px rgba(11, 18, 32, .085);
}

body:has(.sc-tools-page)
.sc-tool-product-top {
  margin-bottom: 25px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;
}

body:has(.sc-tools-page)
.sc-tool-product-icon {
  width: 72px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #e9eef2;

  border: 1px solid #d3dce4;
  border-radius: 16px;
}

body:has(.sc-tools-page)
.sc-tool-product-icon img {
  display: block;

  width: 62px;
  height: 62px;
}

body:has(.sc-tools-page)
.sc-tool-product-meta {
  padding: 7px 10px;

  color: #566579;
  background: #e9eef2;

  border: 1px solid #d1dae2;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;
}

body:has(.sc-tools-page)
.sc-tool-product-number {
  margin-bottom: 9px;

  color: #789d0a;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .14em;
}

body:has(.sc-tools-page)
.sc-tool-product h3 {
  max-width: 320px;

  margin: 0 0 14px;

  color: #0b1220;

  font-size: 27px;
  font-weight: 840;

  line-height: 1.08;
  letter-spacing: -.035em;
}

body:has(.sc-tools-page)
.sc-tool-product > p {
  margin: 0 0 23px;

  color: #48586e;

  font-size: 15px;
  line-height: 1.66;
}

body:has(.sc-tools-page)
.sc-tool-product-output {
  margin-top: auto;

  padding: 17px 0 18px;

  border-top: 1px solid #d6dee5;
}

body:has(.sc-tools-page)
.sc-tool-product-output span {
  display: block;

  margin-bottom: 5px;

  color: #779809;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: .1em;
  text-transform: uppercase;
}

body:has(.sc-tools-page)
.sc-tool-product-output strong {
  display: block;

  color: #26354a;

  font-size: 14px;
  font-weight: 720;

  line-height: 1.45;
}

body:has(.sc-tools-page)
.sc-tool-product-link {
  padding-top: 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #0b1220;

  border-top: 1px solid #d6dee5;

  font-size: 14px;
  font-weight: 850;

  text-decoration: none;
}

body:has(.sc-tools-page)
.sc-tool-product-link span:last-child {
  color: #739800;

  font-size: 18px;
}


/* =========================================================
   SECONDARY DARK PANEL
========================================================= */

body:has(.sc-tools-page)
.sc-tools-secondary-section {
  width: min(1380px, calc(100% - 64px));

  margin: 0 auto 72px;
  padding: 54px;

  color: #fff;

  background: #101b2d;

  border: 1px solid #29374d;
  border-radius: 26px;

  box-shadow:
    0 20px 55px rgba(11, 18, 32, .11);
}

body:has(.sc-tools-page)
.sc-tools-secondary-inner {
  width: 100%;
  margin: 0;
}

body:has(.sc-tools-page)
.sc-tools-secondary-section
.sc-tools-section-header {
  margin-bottom: 27px;
}

body:has(.sc-tools-page)
.sc-tools-secondary-section
.sc-tools-section-header h2 {
  color: #f7fafc;
}

body:has(.sc-tools-page)
.sc-tools-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;
}

body:has(.sc-tools-page)
.sc-tool-secondary-card {
  min-height: 220px;
  padding: 25px;

  display: grid;
  grid-template-columns: 72px 1fr;

  gap: 23px;

  background: #152238;

  border: 1px solid #314058;
  border-radius: 17px;
}

body:has(.sc-tools-page)
.sc-tool-secondary-icon {
  width: 66px;
  height: 66px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f2f5f7;

  border-radius: 14px;
}

body:has(.sc-tools-page)
.sc-tool-secondary-icon img {
  width: 57px;
  height: 57px;
}

body:has(.sc-tools-page)
.sc-tool-secondary-content > span {
  display: block;

  margin-bottom: 7px;

  color: #a3d329;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: .1em;
  text-transform: uppercase;
}

body:has(.sc-tools-page)
.sc-tool-secondary-content h3 {
  margin: 0 0 11px;

  color: #f7fafc;

  font-size: 23px;
  font-weight: 820;

  line-height: 1.1;
}

body:has(.sc-tools-page)
.sc-tool-secondary-content p {
  max-width: 470px;

  margin: 0 0 17px;

  color: #b8c4d2;

  font-size: 14px;
  line-height: 1.6;
}

body:has(.sc-tools-page)
.sc-tool-secondary-content a {
  color: #f7fafc;

  font-size: 13px;
  font-weight: 850;

  text-decoration: none;
}

body:has(.sc-tools-page)
.sc-tool-secondary-content a span {
  color: #c7f464;
}


/* =========================================================
   RESSOURCES CTA
========================================================= */

body:has(.sc-tools-page)
.sc-tools-reading {
  width: min(1380px, calc(100% - 64px));

  margin: 0 auto;
  padding: 0 0 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 55px;
}

body:has(.sc-tools-page)
.sc-tools-reading-copy {
  max-width: 690px;
}

body:has(.sc-tools-page)
.sc-tools-reading h2 {
  margin: 10px 0 13px;

  color: #0b1220;

  font-size: clamp(29px, 2.8vw, 40px);
  font-weight: 830;

  line-height: 1.06;
  letter-spacing: -.04em;
}

body:has(.sc-tools-page)
.sc-tools-reading p {
  margin: 0;

  color: #526176;

  font-size: 15px;
  line-height: 1.65;
}

body:has(.sc-tools-page)
.sc-tools-reading-link {
  flex: none;

  min-height: 47px;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;

  gap: 20px;

  color: #0b1220;
  background: #c7f464;

  border-radius: 11px;

  font-size: 13px;
  font-weight: 850;

  text-decoration: none;
}


/* =========================================================
   FOOTER SAFETY
========================================================= */

body:has(.sc-tools-page) footer {
  position: relative !important;

  display: block !important;

  width: 100% !important;

  visibility: visible !important;
  opacity: 1 !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

  body:has(.sc-tools-page)
  .sc-tools-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  body:has(.sc-tools-page)
  .sc-tools-intro-note {
    max-width: 280px;
  }

  body:has(.sc-tools-page)
  .sc-tools-grid {
    grid-template-columns: 1fr;
  }

  body:has(.sc-tools-page)
  .sc-tool-product {
    min-height: 0;
  }

}

@media (max-width: 780px) {

  body:has(.sc-tools-page)
  .sc-tools-intro,
  body:has(.sc-tools-page)
  .sc-tools-section,
  body:has(.sc-tools-page)
  .sc-tools-secondary-section,
  body:has(.sc-tools-page)
  .sc-tools-reading {
    width: calc(100% - 32px);
  }

  body:has(.sc-tools-page)
  .sc-tools-intro {
    margin-top: 20px;
    margin-bottom: 55px;

    padding: 40px 28px;
  }

  body:has(.sc-tools-page)
  .sc-tools-intro h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  body:has(.sc-tools-page)
  .sc-tools-section-header {
    align-items: flex-start;
    flex-direction: column;

    gap: 12px;
  }

  body:has(.sc-tools-page)
  .sc-tools-secondary-section {
    padding: 32px 24px;
  }

  body:has(.sc-tools-page)
  .sc-tools-secondary-grid {
    grid-template-columns: 1fr;
  }

  body:has(.sc-tools-page)
  .sc-tools-reading {
    align-items: flex-start;
    flex-direction: column;

    gap: 25px;
  }

}

@media (max-width: 520px) {

  body:has(.sc-tools-page)
  .sc-tool-product {
    padding: 22px;
  }

  body:has(.sc-tools-page)
  .sc-tool-secondary-card {
    grid-template-columns: 1fr;
  }

}



/* =========================================================
   SERVICE COMPRIS
   DESKTOP TYPO REBALANCE
========================================================= */

@media (min-width: 1440px) {

  body:has(.sc-tools-page) .sc-tools-intro h1 {
    font-size: clamp(44px, 4vw, 60px);
  }

  body:has(.sc-tools-page) .sc-tools-section-header h2,
  body:has(.sc-tools-page) .sc-tools-reading h2 {
    font-size: clamp(28px, 2.4vw, 36px);
  }

  body:has(.sc-tools-page) .sc-tool-product h3 {
    font-size: 24px;
  }

  body:has(.sc-tools-page) .sc-tool-secondary-content h3 {
    font-size: 21px;
  }

}
