/* ============================================
   makedreem. — design pro & confiance
   Bleu profond / blanc / accents nets
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --navy: #0c1f3d;
  --navy-2: #10294e;
  --ink: #12233f;
  --muted: #50617a;
  --line: #e3e9f2;
  --accent: #1d4ed8;
  --accent-dark: #1741b3;
  --accent-2: #7fa7f5;      /* bleu clair, pour les fonds sombres */
  --accent-soft: #eaf0fd;
  --green: #16a34a;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(18, 35, 63, 0.06);
  --shadow-lg: 0 16px 44px rgba(18, 35, 63, 0.12);
  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container { width: min(1160px, 92%); margin-inline: auto; }

.section { padding: 100px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 22px;
}
.section-label::after {
  content: "";
  height: 1px;
  width: 56px;
  background: var(--accent-2);
}

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  margin-bottom: 18px;
  max-width: 720px;
}
.section-title .gold { color: var(--accent); }

.section-intro {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: 52px;
}

.center { text-align: center; }
.center .section-label { justify-content: center; }
.center .section-label::after { display: none; }
.center .section-title, .center .section-intro { margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(29, 78, 216, 0.35); }

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(29, 78, 216, 0.35);
}
.btn--outline:hover { border-color: var(--accent); background: var(--accent-soft); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--muted); }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none !important;
  flex-shrink: 0;
}
.brand .dot { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-cta .btn { padding: 11px 22px; font-size: 0.88rem; }
/* The nav link colour (ink, accent on hover) must not win over the button's white text. */
.nav-links .nav-cta a.btn--primary, .nav-links .nav-cta a.btn--primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero (fond marine = confiance) ---------- */

.hero {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 90% at 75% -20%, rgba(63, 111, 235, 0.28), transparent),
    radial-gradient(ellipse 50% 80% at 10% 110%, rgba(29, 78, 216, 0.18), transparent),
    var(--navy);
  color: #fff;
}

.hero-inner {
  position: relative;
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  border: 1px solid rgba(127, 167, 245, 0.35);
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 800;
  margin-bottom: 26px;
}
.hero h1 .gold { color: var(--accent-2); }

.hero p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  margin: 0 auto 38px;
}
.hero p strong { color: #fff; }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 54px;
}
.hero .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.hero .btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-stats div { text-align: center; }
.hero-stats .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  color: #fff;
  line-height: 1;
}
.hero-stats .lab {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}

/* ---------- Cards ---------- */

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr 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: 34px 28px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: rgba(29, 78, 216, 0.3); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card p strong { color: var(--ink); }

.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.02rem; margin: 26px 0 8px; }
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal p strong { color: var(--ink); }
.legal a { color: var(--accent); }
.legal .legal-update { margin-top: 40px; font-size: 0.85rem; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }
.footer .footer-legal { max-width: none; margin-top: 14px; font-size: 0.85rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.footer-legal a { color: rgba(255, 255, 255, 0.7); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; }

.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; }
.form-status.ok { background: #e7f7ec; color: #0b5d2a; }
.form-status.err { background: #fdecea; color: #9b1c12; }
.form-status a { color: inherit; font-weight: 700; }

.about-photo { margin: 0; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 20px; align-items: center; }
.about-photo img { width: 168px; height: 210px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-photo figcaption strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }
.about-photo figcaption span { color: var(--muted); font-size: 0.92rem; }
.hero .hero-kicker { max-width: none; }
.hero .hero-demo { margin-top: 18px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }
.about-photo figcaption a { display: block; width: fit-content; margin-top: 6px; font-size: 0.9rem; font-weight: 600; color: var(--accent); }

.case-card .case-visual--product { background: linear-gradient(180deg, #F6F8FC 0%, #E8EDF6 100%); padding: 0; }
.case-card .case-visual--product img { display: block; width: 100%; height: 100%; object-fit: cover; }

.real-grid { margin-top: 20px; }
.real-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.card .real-status { margin-top: 14px; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.card .real-status a { color: var(--accent); }

/* ---------- Split / checklist ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.serif-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--accent);
  line-height: 1.4;
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 16px;
}
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.97rem;
}
.check-list li strong { color: var(--ink); }
.check-list svg { color: var(--accent); flex-shrink: 0; margin-top: 5px; }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps--5 .step { padding: 32px 22px; }
.steps--5 .step:first-child { padding-left: 0; }

.step {
  padding: 40px 30px;
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: none; padding-left: 0; }

.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.8rem;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(29, 78, 216, 0.35);
  line-height: 1;
  margin-bottom: 18px;
}

.step .when {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Étude de cas ---------- */

.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.case-visual {
  background: linear-gradient(135deg, #6d5bf6, #9f8bff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  min-height: 320px;
}
.case-visual .name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
}
.case-visual .type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

.case-body { padding: 48px 44px; }
.case-body .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.case-body h3 { font-size: 1.45rem; margin-bottom: 14px; }
.case-body p { color: var(--muted); margin-bottom: 22px; }
.case-body ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.case-body li { display: flex; gap: 12px; color: var(--muted); font-size: 0.94rem; align-items: flex-start; }
.case-body li svg { color: var(--accent); flex-shrink: 0; margin-top: 5px; }

/* ---------- Tarifs ---------- */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 32px;
  box-shadow: var(--shadow);
}
.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 5px;
  white-space: nowrap;
}

.pricing-card .plan {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}
.pricing-card h3 { font-size: 1.2rem; margin-bottom: 16px; }

.pricing-card .price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1;
}
.pricing-card .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.pricing-card .price-note { font-size: 0.85rem; color: var(--muted); margin: 10px 0 28px; }

.pricing-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.pricing-card li { display: flex; gap: 12px; font-size: 0.92rem; color: var(--muted); align-items: flex-start; }
.pricing-card li svg { color: var(--accent); flex-shrink: 0; margin-top: 5px; }
.pricing-card li strong { color: var(--ink); }

.pricing-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 34px;
}
.pricing-footnote strong { color: var(--ink); }

/* ---------- Maintenance ---------- */

.maint-bar {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.maint-bar h3 { font-size: 1.08rem; margin-bottom: 6px; }
.maint-bar p { color: var(--muted); font-size: 0.92rem; max-width: 560px; }
.maint-bar .price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--accent);
  white-space: nowrap;
}
.maint-bar .price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* ---------- À propos ---------- */

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.about-stats .stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-stats .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--accent);
  line-height: 1;
}
.about-stats .lab {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- FAQ ---------- */

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  padding: 21px 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 26px 22px; color: var(--muted); font-size: 0.95rem; }
.faq-item p strong { color: var(--ink); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.contact-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-item .card-icon { margin-bottom: 0; width: 44px; height: 44px; flex-shrink: 0; }
.contact-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.94rem; color: var(--muted); }
.contact-item a { color: var(--accent); font-weight: 600; }

.card-icon--wa { background: #e7f7ec; color: #1da851; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 13px 16px;
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field ::placeholder { color: #93a1b5; }

.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 18px; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(ellipse 60% 120% at 50% -30%, rgba(63, 111, 235, 0.35), transparent),
    var(--navy);
  border-radius: 20px;
  padding: 68px 48px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 540px; margin: 0 auto 34px; }
.cta-band .sub { font-size: 0.84rem; margin-top: 20px; margin-bottom: 0; }
.cta-band a:not(.btn) { color: var(--accent-2); }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 36px;
  margin-top: 100px;
}

.footer .brand { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 46px;
}
.footer p { font-size: 0.9rem; max-width: 320px; margin-top: 14px; color: rgba(255, 255, 255, 0.6); }
.footer h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; text-decoration: none !important; }
.footer ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 26px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page hero (sous-pages) ---------- */

.page-hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(ellipse 65% 90% at 80% -20%, rgba(63, 111, 235, 0.25), transparent),
    var(--navy);
  color: #fff;
}
.page-hero .section-label { color: var(--accent-2); }
.page-hero .section-label::after { background: rgba(127, 167, 245, 0.4); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255, 255, 255, 0.78); max-width: 660px; font-size: 1.06rem; }

/* ---------- Bouton WhatsApp flottant ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.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: 1000px) {
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-left: none; padding-left: 0; }
  .steps--5 .step { padding-left: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: 12px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 24px; }
  .nav-cta { margin: 8px 24px 12px; }

  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .split, .contact-grid, .case-card { grid-template-columns: 1fr; }
  .split { gap: 44px; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .hero { padding: 80px 0 72px; }

  .grid--2, .grid--3, .grid--4, .form-grid, .footer-grid, .steps, .about-stats { grid-template-columns: 1fr; }

  .hero-stats { gap: 32px; }
  .cta-band { padding: 52px 24px; }
  .form-card { padding: 30px 22px; }
  .case-body { padding: 34px 26px; }
  .maint-bar { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 14px; bottom: 14px; width: 48px; height: 48px; }
  .hero .hero-kicker { font-size: 0.78rem; letter-spacing: 0.12em; padding: 7px 14px; }
  .about-stats .num { font-size: 1.5rem; }
  #apropos .split > div:last-child { order: -1; }
  .about-photo { grid-template-columns: 136px minmax(0, 1fr); }
  .about-photo img { width: 136px; height: 170px; }
}
