/* ==========================================================================
   Murfy , Réparation électroménager LP
   Brand tokens mirror the Murfy Webflow design system (murfy.fr)
   so a Webflow rebuild slots in 1:1. Light theme, dark-green primary.
   ========================================================================== */

:root {
  /* Green scale , pulled from murfy.fr production CSS */
  --green-900: #073331;   /* darkest, dark sections */
  --green-800: #0b4744;   /* primary brand green, headings, primary button */
  --green-700: #0f5c58;
  --green-600: #005646;
  --green-500: #0d4743;
  --green-400: #a4e7db;   /* mint accent, pills, highlights */
  --green-300: #c3ecdf;
  --green-200: #e7f3f3;   /* mint tint background */

  /* Secondary accents , from murfy.fr */
  --pink-400: #f59bbb;
  --pink-200: #ffdede;
  --yellow-400: #ffd800;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #fafafa;
  --grey-100: #f3f3f3;
  --grey-200: #e2e2e2;
  --grey-300: #c8c8c8;
  --grey-500: #758696;
  --grey-600: #5d6c7b;
  --ink: #22322f;          /* body text */

  /* Typography , Murfy uses GT Walsheim; Poppins is the closest free fallback */
  --font--primary-family: "GT Walsheim", "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font--primary-family);
  --font-body: var(--font--primary-family);

  /* Spacing */
  --container: 1200px;
  --section-pad-y: 88px;
  --section-pad-y-tight: 64px;

  /* Radii / shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(11, 71, 68, 0.08);
  --shadow-elevated: 0 20px 50px rgba(11, 71, 68, 0.16);
}

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-800);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; }
h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-800);
  background: var(--green-400);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

/* ============ Buttons (mirror murfy.fr) ============ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}
.button .arrow { transition: transform 0.15s ease; }
.button:hover .arrow { transform: translateX(3px); }

.button--primary { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.button--primary:hover { background: var(--green-900); color: var(--white); text-decoration: none; }

.button--pink { background: var(--pink-400); color: var(--green-900); border-color: var(--pink-400); }
.button--pink:hover { background: #f07ba4; color: var(--green-900); text-decoration: none; }

.button--outline {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-800);
}
.button--outline:hover { background: var(--green-200); color: var(--green-800); text-decoration: none; }

.button--light {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
}
.button--light:hover { background: var(--green-200); color: var(--green-800); text-decoration: none; }

.button--lg { padding: 17px 32px; font-size: 17px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--green-600);
}
.text-link:hover .arrow { transform: translateX(3px); }
.text-link--light { color: var(--white); }
.text-link--light:hover { color: var(--green-200); }

/* ============ Top nav (mirror murfy.fr) ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--grey-200);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  height: 78px;
}
.nav__brand { display: flex; align-items: center; }
.nav__brand svg { height: 30px; width: auto; }
.nav__links { display: flex; gap: 30px; list-style: none; padding: 0; margin: 0; }
.nav__links a {
  color: var(--green-800);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
}
.nav__links a:hover { color: var(--green-600); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__cta .text-link { font-size: 15px; }
.nav__cta .button { padding: 11px 20px; font-size: 15px; min-height: 44px; }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__inner { height: 68px; }
  .nav__cta .text-link { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--green-200) 0%, var(--white) 100%);
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -140px -80px auto auto;
  width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(164, 231, 219, 0.7), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -160px; bottom: -220px;
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(245, 155, 187, 0.28), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--green-700);
  max-width: 560px;
  margin-bottom: 24px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.hero__trust-row {
  display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center;
}
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--green-800); }
.hero__trust-item svg { flex: 0 0 auto; color: var(--green-600); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============ Hero lead-capture form (above the fold) ============ */
.lead-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.lead-card h2 { font-size: 22px; margin-bottom: 6px; }
.lead-card__sub { font-size: 15px; color: var(--grey-600); margin-bottom: 20px; }
.lead-form { display: grid; gap: 14px; }
.lead-form label { font-size: 13px; font-weight: 600; color: var(--green-800); display: block; margin-bottom: 6px; }
.lead-form input,
.lead-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 14px;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  color: var(--ink);
  min-height: 48px;
}
.lead-form input:focus,
.lead-form select:focus { outline: none; border-color: var(--green-600); background: var(--white); }
.lead-form .button { width: 100%; margin-top: 4px; }
.lead-card__note { font-size: 12px; color: var(--grey-500); margin: 14px 0 0; line-height: 1.5; text-align: center; }

/* ============ Stat banner ============ */
.stat-banner {
  background: var(--green-800);
  padding: 52px 0;
}
.stat-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: center; }
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: var(--green-400);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label { font-size: 14px; color: rgba(255, 255, 255, 0.82); line-height: 1.4; }
@media (max-width: 720px) {
  .stat-banner__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* ============ Section base ============ */
.section { padding: var(--section-pad-y) 0; }
.section--tight { padding: var(--section-pad-y-tight) 0; }
.section--mint { background: var(--green-200); }
.section--grey { background: var(--off-white); }

.section__intro { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section__intro p { font-size: 18px; color: var(--green-700); }

/* ============ Problem section ============ */
.problem__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 52px;
  align-items: start;
}
.problem__copy p { font-size: 18px; color: var(--ink); }
.stat-callout {
  background: var(--white);
  border: 1px solid var(--green-300);
  border-left: 5px solid var(--green-400);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.stat-callout__big {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 12px;
}
.stat-callout p { margin: 0; font-size: 16px; color: var(--ink); }
.stat-callout p strong { color: var(--green-800); }
.stat-callout__source { font-size: 12px; color: var(--grey-500); margin-top: 12px; display: block; }
@media (max-width: 880px) {
  .problem__layout { grid-template-columns: 1fr; gap: 28px; }
}

/* ============ Alternating feature blocks ============ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature + .feature { margin-top: 72px; }
.feature--reverse .feature__media { order: -1; }
.feature__copy p { color: var(--ink); }
.feature__media {
  background: var(--green-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--green-300);
}
.feature__bullets { list-style: none; padding: 0; margin: 22px 0 0; }
.feature__bullets li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink);
}
.feature__bullets li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px;
  background: var(--green-800);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 10 10'><path d='M2 5l2 2 4-5' stroke='%23a4e7db' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
@media (max-width: 880px) {
  .feature, .feature--reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature--reverse .feature__media { order: 0; }
  .feature + .feature { margin-top: 48px; }
}

/* ============ Steps card (inside feature media) ============ */
.steps { display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  background: var(--white);
  border: 1px solid var(--green-300);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.step__num {
  width: 34px; height: 34px; flex: 0 0 auto;
  background: var(--green-800); color: var(--green-400);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
}
.step strong { display: block; color: var(--green-800); font-size: 16px; margin-bottom: 2px; }
.step span { font-size: 14px; color: var(--grey-600); }

/* ============ Price card (inside feature media) ============ */
.price-card { text-align: center; }
.price-card__tag { font-size: 14px; font-weight: 600; color: var(--green-700); text-transform: uppercase; letter-spacing: 0.06em; }
.price-card__amount { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--green-800); line-height: 1.1; margin: 8px 0; }
.price-card__amount small { font-size: 20px; font-weight: 600; }
.price-card__list { list-style: none; padding: 0; margin: 20px 0 0; text-align: left; }
.price-card__list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; color: var(--ink); }
.price-card__list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }

/* ============ Comparison table ============ */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-card);
}
.compare th, .compare td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--grey-200);
  font-size: 15px;
  vertical-align: middle;
}
.compare thead th {
  background: var(--green-800);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}
.compare thead th:first-child { text-align: left; }
.compare tbody th { font-weight: 600; color: var(--green-800); width: 30%; }
.compare tbody td { text-align: center; color: var(--ink); }
.compare tbody td.us { background: var(--green-200); color: var(--green-900); font-weight: 600; border-left: 1px solid var(--green-300); border-right: 1px solid var(--green-300); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.tick { color: var(--green-600); font-size: 18px; font-weight: 700; }
.cross { color: var(--grey-300); font-size: 18px; }
.partial { color: var(--grey-600); font-size: 13px; font-style: italic; }
.compare-overflow { width: 100%; overflow-x: auto; }

/* ============ Outcome cards ============ */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.outcome {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-card);
}
.outcome__icon {
  width: 48px; height: 48px;
  background: var(--green-400);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--green-800);
}
.outcome h3 { font-size: 22px; }
.outcome p { font-size: 15px; color: var(--grey-600); margin: 0; }
@media (max-width: 880px) { .outcomes { grid-template-columns: 1fr; } }

/* ============ Appliance grid ============ */
.appliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.appliance-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--green-800);
  font-weight: 600;
  font-size: 16px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.appliance-card:hover { border-color: var(--green-400); transform: translateY(-2px); text-decoration: none; }
.appliance-card .ai {
  width: 44px; height: 44px; flex: 0 0 auto;
  background: var(--green-200);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--green-700);
}
@media (max-width: 900px) { .appliance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .appliance-grid { grid-template-columns: 1fr; } }

/* ============ Trust / reassurance badges strip ============ */
.trust-strip {
  background: var(--green-900);
  padding: 48px 0;
}
.trust-strip h3 {
  text-align: center; color: var(--white);
  font-size: 18px; font-weight: 500;
  margin-bottom: 32px; opacity: 0.85;
}
.badges {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; max-width: 940px; margin: 0 auto;
}
.badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(164, 231, 219, 0.28);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}
.badge__top { font-family: var(--font-display); color: var(--green-400); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.badge__sub { color: rgba(255, 255, 255, 0.78); font-size: 13px; line-height: 1.4; }
@media (max-width: 820px) { .badges { grid-template-columns: repeat(2, 1fr); } }

/* ============ FAQ ============ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--grey-200);
  padding: 20px 0;
}
.faq details[open] summary { color: var(--green-600); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--green-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--green-600);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}
.faq details p a { color: var(--green-600); text-decoration: underline; }

/* ============ Final CTA band ============ */
.cta-band {
  background:
    radial-gradient(700px 360px at 82% 115%, rgba(245, 155, 187, 0.22), transparent 60%),
    linear-gradient(180deg, var(--green-800) 0%, var(--green-900) 100%);
  color: var(--white);
  text-align: center;
  padding: 88px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 18px; max-width: 620px; margin: 0 auto 30px; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band__trust { margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* ============ Footer (mirror murfy.fr) ============ */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 36px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px 40px;
  margin-bottom: 48px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 11px; }
.footer__col a { color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.footer__col a:hover { color: var(--white); text-decoration: none; }
.footer__brand-col { padding-right: 24px; }
.footer__brand { display: inline-block; margin-bottom: 18px; }
.footer__brand svg { height: 32px; width: auto; }
.footer__brand-col p { font-size: 14px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer__legal a { color: rgba(255, 255, 255, 0.65); margin-left: 16px; }
.footer__legal a:hover { color: var(--white); }
@media (max-width: 1000px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__brand-col { grid-column: span 3; padding-right: 0; max-width: 460px; }
}
@media (max-width: 600px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__brand-col { grid-column: span 2; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
