/* CleanPro Services : feuille de style principale */
:root {
  --blue: #1873c9;
  --blue-dark: #0f4f8f;
  --blue-soft: #eaf3fc;
  --green: #7cb342;
  --green-soft: #eef6e5;
  --ink: #0f1c2e;
  --text: #3d4a5c;
  --muted: #6b7788;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 28, 46, .05), 0 8px 24px rgba(15, 28, 46, .06);
  --wrap: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--text); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn svg { width: 18px; height: 18px; }

/* En-tête */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.header__logo img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 600; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { font-weight: 700; color: var(--ink); white-space: nowrap; }
.header__actions .btn { padding: 11px 20px; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Haut de page */
.hero { padding: 64px 0 80px; background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__lead { font-size: 1.2rem; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cb342' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.hero__media { position: relative; }
.hero__media img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.hero__badge {
  position: absolute; left: -24px; bottom: 28px; max-width: 250px;
  background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow);
  font-size: .88rem; line-height: 1.45;
}
.hero__badge strong { display: block; color: var(--ink); font-size: .95rem; }

/* Bande de confiance */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 28px 22px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; }
.trust__num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--blue); line-height: 1.1; }
.trust__label { font-size: .93rem; color: var(--text); display: block; line-height: 1.45; margin-top: 4px; }

/* Cartes de services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfdcea; }
.card__icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card p { font-size: .97rem; }
.card ul { list-style: none; margin: 0 0 18px; display: grid; gap: 6px; font-size: .94rem; }
.card ul li { padding-left: 18px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.card__link { margin-top: auto; font-weight: 700; }
.card--cta { background: var(--blue); border-color: var(--blue); color: #e6f0fb; }
.card--cta h3 { color: #fff; }
.card--cta .btn { background: #fff; color: var(--blue); margin-top: auto; align-self: flex-start; }

/* Avant / après */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ba { margin: 0; }
.ba__frame {
  position: relative; overflow: hidden; border-radius: var(--radius); background: #ddd;
  user-select: none; touch-action: pan-y; box-shadow: var(--shadow);
}
.ba__frame img { width: 100%; height: 100%; object-fit: cover; }
.ba__frame--wide { aspect-ratio: 3 / 2; }
.ba__frame--tall { aspect-ratio: 3 / 2; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px;
  background: #fff; pointer-events: none;
}
.ba__line::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231873c9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__tag {
  position: absolute; top: 14px; padding: 4px 11px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; pointer-events: none;
}
.ba__tag--before { left: 14px; background: rgba(15, 28, 46, .75); color: #fff; }
.ba__tag--after { right: 14px; background: var(--green); color: #fff; }
.ba figcaption { padding: 14px 4px 0; font-size: .95rem; }
.ba figcaption strong { color: var(--ink); display: block; }
.note { font-size: .88rem; color: var(--muted); margin-top: 26px; }

/* Pourquoi nous */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; max-height: 600px; }
.features { display: grid; gap: 22px; }
.feature { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 4px; }
.feature p { margin: 0; font-size: .97rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step p { margin: 0; font-size: .97rem; }

/* Zone */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-weight: 600; color: var(--ink); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative;
  font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 18px; margin: 0; }

/* Appel à l'action */
.cta-band { background: var(--ink); color: #c7d2e0; border-radius: 24px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-band .btn--ghost:hover { border-color: #fff; }

/* Pied de page */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__logo img { height: 64px; width: auto; margin-bottom: 14px; }
.footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--text); }
.footer a:hover { color: var(--blue); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.social a:hover { border-color: var(--blue); color: var(--blue); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }

/* Bandeau de page intérieure */
.page-hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%); }
.page-hero p { max-width: 640px; font-size: 1.15rem; margin: 0; }

/* Page services */
.service-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-block__placeholder {
  border-radius: var(--radius); aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.service-block__placeholder svg { width: 72px; height: 72px; opacity: .8; }
.service-block h2 { font-size: 1.7rem; }
.service-block .for { font-size: .95rem; color: var(--muted); margin-bottom: 18px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; list-style: none; margin-bottom: 24px; }
.cols li { padding-left: 26px; position: relative; font-size: .97rem; }
.cols li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 17px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cb342' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Formulaire */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfd7e2; border-radius: 10px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 115, 201, .15); }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; margin-top: 6px; }
.form__small { font-size: .85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.alert { padding: 14px 16px; border-radius: 10px; margin-top: 16px; font-weight: 600; }
.alert--ok { background: var(--green-soft); color: #3f6b14; }
.alert--err { background: #fdecec; color: #a12626; }
.aside-card { background: var(--bg-soft); border-radius: 18px; padding: 30px; margin-bottom: 20px; }
.aside-card h3 { margin-bottom: 14px; }
.contact-line { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.contact-line svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* Responsive */
@media (max-width: 1020px) {
  .nav, .header__phone { display: none; }
  .menu-toggle { display: block; }
  .header.is-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    padding: 12px 22px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 28, 46, .08);
  }
  .header.is-open .nav a { padding: 10px 0; font-size: 1.05rem; width: 100%; }
  .hero__grid, .split, .zone, .contact-grid, .service-block { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { max-width: 460px; }
  .hero__badge { left: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px; }
  .split__media { order: -1; max-width: 460px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .header__inner { height: 68px; }
  .header__logo img { height: 44px; }
  .header.is-open .nav { top: 68px; }
  .header__actions .btn { padding: 9px 14px; font-size: .88rem; }
  .hero { padding: 40px 0 56px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .cards, .ba-grid, .steps, .form__row, .cols { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .cta-band { padding: 32px 24px; border-radius: 18px; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
