/* ==========================================================================
   nettoyagemoinscher.fr — marketing site
   ========================================================================== */

:root {
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-500: #14b8a6;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --brand-800: #115e59;

  --accent-500: #f97316;
  --accent-600: #ea580c;

  --ink-900: #0b1320;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
  --shadow-lift: 0 24px 48px -16px rgba(15, 23, 42, 0.22);

  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--slate-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
  color: var(--slate-600);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 1.25rem;
}

.wrap-narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-700);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}
.btn-accent {
  background: var(--accent-500);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.btn-accent:hover {
  background: var(--accent-600);
}
.btn-dark {
  background: var(--slate-900);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-dark:hover {
  background: #1e293b;
}
.btn-outline {
  border-color: var(--slate-300);
  color: var(--slate-700);
  background: #fff;
}
.btn-outline:hover {
  border-color: var(--brand-500);
  color: var(--brand-700);
}
.btn-ghost {
  color: var(--slate-600);
}
.btn-ghost:hover {
  color: var(--brand-700);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.85rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate-900);
  flex-shrink: 0;
}
.logo strong {
  color: var(--brand-600);
  font-weight: 800;
}
.main-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  margin-left: 1rem;
}
.main-nav a:hover {
  color: var(--brand-700);
}
.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.nav-toggle {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 0.6rem;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--slate-200);
  background: #fff;
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav a {
  padding: 0.65rem 0.25rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: 0.5rem;
}
.mobile-nav a.btn {
  margin-top: 0.5rem;
  text-align: center;
}

@media (min-width: 900px) {
  .main-nav, .header-cta { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 15% -10%, var(--brand-100), transparent 60%),
    linear-gradient(180deg, var(--brand-50) 0%, #ffffff 65%);
  padding-block: 3.5rem 5rem;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin: 0 0 1.25rem;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand-600);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  color: var(--slate-900);
}
.hero h1 .highlight {
  color: var(--brand-600);
}
.hero .lead {
  font-size: 1.0625rem;
  max-width: 540px;
  color: var(--slate-600);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.75rem 0 2rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}
.hero-stats strong {
  color: var(--slate-900);
  font-size: 1.05rem;
  margin-right: 0.3em;
}

.hero-media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
}
.hero-shot {
  position: absolute;
  left: -12%;
  bottom: -10%;
  width: 78%;
  margin: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 6px solid #fff;
  transform: rotate(-3deg);
}
.hero-shot img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
}
.hero-badge {
  position: absolute;
  top: 6%;
  right: -6%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-900);
  box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero-media {
    justify-self: end;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: 5rem;
}
.section-tinted {
  background: var(--slate-50);
}
.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-600);
  margin: 0 0 0.6rem;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--slate-900);
  max-width: 640px;
}
.section-lead {
  font-size: 1.0625rem;
  max-width: 560px;
  margin-bottom: 2.75rem;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 0.9rem;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: 1rem;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.9375rem;
  margin: 0;
}

/* ---------- Showcase / browser mockups ---------- */
.showcase {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.showcase-row {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.showcase-text h3 {
  font-size: 1.25rem;
  color: var(--slate-900);
}
.showcase-text p {
  font-size: 1rem;
  max-width: 420px;
}
.browser-frame {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--slate-200);
}
.browser-bar {
  display: flex;
  gap: 6px;
  padding: 0.7rem 0.85rem;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}
.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--slate-300);
}
.browser-bar span:nth-child(1) { background: #f87171; }
.browser-bar span:nth-child(2) { background: #fbbf24; }
.browser-bar span:nth-child(3) { background: #4ade80; }
.browser-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
}
.browser-frame img.crop-top {
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: top;
}

@media (min-width: 900px) {
  .showcase-row {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .showcase-row.reverse .showcase-text {
    order: 2;
  }
}

/* ---------- Categories ---------- */
.category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card:hover img {
  transform: scale(1.06);
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.78) 100%);
}
.category-card span {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  z-index: 1;
}

@media (min-width: 640px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 3rem;
}
.step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.9375rem;
  margin: 0;
}
.cta-inline {
  text-align: center;
}

/* ---------- Pro section ---------- */
.pro-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-50) 100%);
}
.pro-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.pro-media img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--slate-700);
  font-size: 0.9375rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--brand-100);
  box-shadow: inset 0 0 0 1px var(--brand-200);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.55em;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: rotate(-45deg);
}

@media (min-width: 900px) {
  .pro-inner {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.1rem 1.35rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--slate-900);
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--brand-600);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: #fff;
  padding-block: 4.5rem;
}
.final-cta-inner {
  text-align: center;
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.final-cta p {
  color: var(--brand-100);
  margin-bottom: 1.75rem;
}
.final-cta .btn-accent {
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.4);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--slate-200);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 2.5rem;
}
.footer-desc {
  font-size: 0.875rem;
  max-width: 260px;
  margin-top: 0.85rem;
}
.footer-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-900);
  margin: 0 0 0.85rem;
}
.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-grid a {
  font-size: 0.875rem;
  color: var(--slate-500);
}
.footer-grid a:hover {
  color: var(--brand-700);
}
.footer-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--brand-600);
  font-size: 0.875rem;
}
.logo-footer {
  font-size: 1rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  border-top: 1px solid var(--slate-100);
  padding-block: 1.5rem;
  font-size: 0.8125rem;
  color: var(--slate-400);
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
