/* Nettoyage Pristine — brand matches the quote & business card */
:root {
  --navy: #0f1e3d;
  --navy-2: #16294f;
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --teal-tint: #e6f6f4;
  --ink: #0f1e3d;
  --muted: #5b6b82;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-tint: #f5f7fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 30, 61, .08);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.6 var(--font-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* Bilingual: show only the active language */
html[lang="fr"] [lang="en"], html[lang="en"] [lang="fr"] { display: none !important; }
html[lang="fr"] .lang-toggle [lang="fr"], html[lang="en"] .lang-toggle [lang="en"] { display: inline !important; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: .8em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--teal); color: #fff; font-weight: 600; border: 2px solid var(--teal); border-radius: 999px; padding: .7em 1.4em; cursor: pointer; font: inherit; font-weight: 600; transition: background .2s, transform .2s, border-color .2s; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.btn--sm { padding: .45em 1.1em; font-size: .92rem; }
.btn--lg { padding: .9em 1.7em; font-size: 1.02rem; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--block { width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(15, 30, 61, .96); backdrop-filter: blur(8px); color: #fff; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 10px; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.brand__name b { color: var(--teal); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn) { opacity: .85; transition: opacity .2s; }
.nav a:not(.btn):hover { opacity: 1; color: var(--teal); }
.header__tools { display: flex; align-items: center; gap: 8px; }
.lang-toggle { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: .35em .7em; font: 600 .85rem var(--font-body); cursor: pointer; letter-spacing: .05em; }
.lang-toggle:hover { border-color: var(--teal); color: var(--teal); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }

/* Hero */
.hero { position: relative; color: #fff; background:
  radial-gradient(900px 500px at 85% 0%, rgba(20,184,166,.22), transparent 60%),
  linear-gradient(135deg, #0f1e3d 0%, #142b58 60%, #1b3f72 100%);
  overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--teal); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-block: 88px 104px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__lead { font-size: 1.12rem; color: #c6d2e6; max-width: 36em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li { font-size: .88rem; color: #dbe4f2; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: .35em .9em; border-radius: 999px; }
.hero__chips li::before { content: "✓ "; color: var(--teal); font-weight: 700; }

.hcard { background: #fff; color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.3); transform: rotate(1.5deg); }
.hcard__top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.hcard__top img { border-radius: 12px; }
.hcard__title { font: 700 1.1rem var(--font-head); }
.hcard__sub { color: var(--muted); font-size: .9rem; }
.hcard__list { list-style: none; padding: 0; margin: 16px 0; }
.hcard__list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-weight: 500; }
.hcard__list i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hcard__foot { display: flex; align-items: center; justify-content: space-between; background: var(--teal-tint); color: var(--teal-dark); font-weight: 600; padding: 12px 16px; border-radius: 12px; }

/* Sections */
.section { padding-block: 96px; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark .muted, .section--dark p { color: #c6d2e6; }
.section__head { max-width: 680px; margin-bottom: 48px; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--teal); display: grid; place-items: center; margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; }

.checklist { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.checklist h3 { display: flex; align-items: center; gap: 12px; }
.checklist ul { list-style: none; padding: 0; margin: 16px 0 0; }
.checklist li { position: relative; padding: 8px 0 8px 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.chip-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: var(--teal); display: inline-grid; place-items: center; }
.chip-icon svg { width: 18px; height: 18px; }
.allin { text-align: center; margin: 32px 0 0; color: var(--muted); }
.allin b { color: var(--ink); }

.feature { padding: 26px; border-left: 3px solid var(--teal); background: var(--bg-tint); border-radius: 0 var(--radius) var(--radius) 0; }
.feature__num { font: 800 1.6rem var(--font-head); color: var(--teal); margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 30px; }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 1.1rem var(--font-head); margin-bottom: 18px; }
.steps p { margin: 0; }

.area { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.area__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.area__list li { display: flex; align-items: center; gap: 14px; font: 600 1.25rem var(--font-head); background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.area__list svg { width: 26px; height: 26px; color: var(--teal); }

/* Quote form */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-lines { display: grid; gap: 12px; margin-top: 28px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; }
.contact-lines a:hover { color: var(--teal-dark); }
.form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: 400 1rem var(--font-body); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: .75em .9em; background: #fbfcfe; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,.18); background: #fff; }
.form .invalid { border-color: #e11d48; }
.form textarea { resize: vertical; }
.form__status { margin: 0; font-size: .92rem; min-height: 1.4em; color: var(--teal-dark); }
.form__status.error { color: #e11d48; }

/* Footer */
.footer { background: var(--navy); color: #c6d2e6; padding-top: 56px; border-top: 6px solid var(--teal); }
.brand--light { color: #fff; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; }
.footer__tag { margin: 14px 0 0; font-size: .92rem; }
.footer__links { display: grid; gap: 8px; justify-items: end; font-weight: 500; }
.footer__links a:hover { color: var(--teal); }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; font-size: .85rem; color: #8596b0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 980px) {
  .hero__inner, .quote, .area { grid-template-columns: 1fr; }
  .hero__card { max-width: 420px; }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px 24px 20px; border-top: 1px solid rgba(255,255,255,.08); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding-block: 72px; }
  .hero__inner { padding-block: 56px 72px; }
  .grid--2, .grid--4, .form__row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .brand__name { font-size: 1.05rem; }
  .footer__links { justify-items: start; }
  .hcard { transform: none; }
}
