/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  --bg:         #FAF8F5;
  --bg-muted:   #F4F2EB;
  --bg-soft:    #F7F4EE;
  --card:       #FFFFFF;
  --text:       #15181F;       /* slightly darker for stronger contrast */
  --text-muted: #4F5660;       /* AAA on cream */
  --text-soft:  #6B7280;       /* for very light contexts only */
  --border:     #D4D7DC;       /* darker, more visible separator */
  --border-soft:#E5E7EB;
  --primary:    #A5CDDB;       /* pastel blue */
  --primary-d:  #2E6A7C;       /* AA-compliant for text/icons on white */
  --secondary:  #B5D9CB;       /* pastel green */
  --secondary-d:#3D8268;       /* darker green for icons/text */
  --accent:     #EFC9D4;       /* pastel pink */
  --accent-d:   #B7506B;       /* darker pink for AA contrast */
  --warning:    #F0B429;
  --radius:     12px;
  --radius-lg:  16px;
  --radius-pill:999px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.04);
  --shadow:     0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10);
  --nav-h:      72px;
  --max-w:      1200px;
  --font:       'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; color: inherit; }

/* Keyboard focus accessibility */
*:focus-visible {
  outline: 3px solid var(--primary-d);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible {
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.8vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--text-muted); line-height: 1.7; }

/* ── Layout helpers ────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.text-center { text-align: center; }
.section-title { margin-bottom: 16px; }
.section-sub   { max-width: 680px; margin: 0 auto 56px; font-size: 1.1rem; }

/* ── Lucide icons ──────────────────────────────────────────────── */
[data-lucide] { width: 20px; height: 20px; stroke-width: 2; }

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  z-index: 100;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}
.nav__logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
}
img.nav__logo-mark { background: transparent; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > li > a,
.nav__links > li > .nav__dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.nav__links > li > a:hover,
.nav__links > li > .nav__dd-trigger:hover {
  background: var(--primary);
  color: var(--text);
}
.nav__links > li > a.active {
  background: var(--primary);
  color: var(--text);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--primary-d);
}
.nav__links a [data-lucide], .nav__dd-trigger [data-lucide] { width: 16px; height: 16px; }
.has-dropdown { position: relative; }
/* Invisible bridge between trigger and dropdown so hover doesn't break */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: none;
}
.has-dropdown:hover::after,
.has-dropdown:focus-within::after { pointer-events: auto; }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 6px;
  min-width: 250px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s, transform 0.18s ease;
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--text);
  border-radius: 8px;
  transition: background 0.15s;
}
.dropdown a:hover { background: var(--bg-muted); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, visibility 0s, transform 0.18s ease;
}
/* When trigger is active (current page), keep its highlight even after closing */
.has-dropdown.open .nav__dd-trigger { background: var(--primary); color: var(--text); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s, transform 0.15s;
  border: 1px solid transparent;
}
.nav__cta:hover { background: var(--primary-d); transform: translateY(-1px); }
.nav__cta [data-lucide] { width: 14px; height: 14px; }

/* Hamburger */
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.nav__burger:hover { background: var(--bg-muted); }
.nav__burger [data-lucide] { width: 24px; height: 24px; }
.nav__burger .icon-close { display: none; }
.nav__burger.open .icon-menu { display: none; }
.nav__burger.open .icon-close { display: block; }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 99;
  box-shadow: var(--shadow);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}
.nav__mobile a:hover, .nav__mobile a.active { background: var(--primary); }
.nav__mobile .mobile-cta {
  margin-top: 8px;
  text-align: center;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* ── Page top padding ──────────────────────────────────────────── */
.page-content { padding-top: var(--nav-h); }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-h));
  padding-top: calc(var(--nav-h) + 90px);
  padding-bottom: 60px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../assets/hero.jpg') center/cover no-repeat;
  background-color: #1a2e2a;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 24px;
}
.hero__title { color: #fff; margin-bottom: 24px; text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn [data-lucide] { width: 18px; height: 18px; }
.btn-light    { background: #fff; color: var(--text); border: 1px solid rgba(255,255,255,0.4); }
.btn-light:hover { background: #f5f5f5; }
.btn-outline  { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-dark     { background: var(--text); color: #fff; }
.btn-dark:hover { background: #2a2f37; }
.btn-primary  { background: var(--primary); color: var(--text); }
.btn-primary:hover { background: var(--primary-d); }
.btn-ghost    { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--card); border-color: var(--text); }

/* ── Cards ─────────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon [data-lucide] { width: 28px; height: 28px; }
.card-icon.bg-blue   { background: rgba(79, 143, 163, 0.18);  color: var(--primary-d); }
.card-icon.bg-green  { background: rgba(61, 130, 104, 0.18);  color: var(--secondary-d); }
.card-icon.bg-pink   { background: rgba(183, 80, 107, 0.18);  color: var(--accent-d); }
.card-icon.bg-amber  { background: rgba(180, 120, 23, 0.18);  color: #8B5A12; }

.card h3 { margin-bottom: 12px; }
.card p  { font-size: 0.95rem; }

/* MVV (mission/vision/values on home) */
.mvv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.mvv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mvv-card .card-icon { margin: 0 auto 20px; }
.mvv-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.mvv-card p { font-size: 0.9rem; }

/* ── Service cards (home) ──────────────────────────────────────── */
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card h3 { margin: 0; }
.service-card p  { flex: 1; font-size: 0.95rem; }
.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-d);
  margin-top: 6px;
  transition: gap 0.2s;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.service-card .service-link:hover { gap: 10px; text-decoration-thickness: 2px; }
.service-card .service-link [data-lucide] { width: 16px; height: 16px; }

/* ── How it works ──────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step { text-align: center; }
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.9rem; }

/* ── CTA banner ────────────────────────────────────────────────── */
.cta-banner {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}
.cta-banner h2 { margin-bottom: 16px; color: #fff; }
.cta-banner p { max-width: 600px; margin: 0 auto 32px; font-size: 1.05rem; color: rgba(255,255,255,0.85); }

/* ── Page hero (inner pages) ───────────────────────────────────── */
.page-hero {
  padding: 80px 0 56px;
  text-align: center;
  background: linear-gradient(180deg, rgba(165, 205, 219, 0.12), transparent);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p  { max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.page-hero__breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.page-hero__breadcrumbs [data-lucide] { width: 14px; height: 14px; }
.page-hero__breadcrumbs a:hover { color: var(--text); }
.page-hero__tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-d);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Q&A cards (Sobre page) ────────────────────────────────────── */
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qa-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.qa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.qa-card .card-icon { margin: 0 auto 20px; }
.qa-card h3 { margin-bottom: 12px; }
.qa-card p { font-size: 0.95rem; }

/* ── Bio section (Sobre page) ──────────────────────────────────── */
.bio-section { background: linear-gradient(180deg, rgba(165, 205, 219, 0.10), transparent); }
.bio-content { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 40px; align-items: start; }
.bio-content__photo {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  box-shadow: var(--shadow);
}
.bio-content__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-content__photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.04em;
}
.bio-content__text h2 { margin-bottom: 24px; }
.bio-content__text p { font-size: 1rem; line-height: 1.85; margin-bottom: 18px; color: var(--text); }
.bio-content__text p:last-child { margin-bottom: 0; }
@media (max-width: 540px) {
  .bio-content { grid-template-columns: 1fr; gap: 24px; }
  .bio-content__photo { max-width: 220px; margin: 0 auto; }
}

/* ── Notice / aviso ────────────────────────────────────────────── */
.notice-section { background: var(--bg-muted); }
.notice {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.notice__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.notice__head h2 { font-size: 1.5rem; margin: 0; }
.notice__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(240, 180, 41, 0.18);
  color: #B47817;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.notice__icon [data-lucide] { width: 22px; height: 22px; }
.notice p.lead { margin-bottom: 18px; font-size: 1rem; color: var(--text); }
.notice ul { padding-left: 0; }
.notice ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.notice ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ── Services full grid (servicos.html) ────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-full-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-full-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-full-card__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.service-full-card__head .card-icon { margin-bottom: 0; flex-shrink: 0; }
.service-full-card__head h3 { margin-bottom: 6px; }
.service-full-card__tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.service-full-card p { flex: 1; margin-bottom: 20px; font-size: 0.95rem; }
.service-full-card .btn { align-self: flex-start; }

/* ── Service detail page (subpages) ────────────────────────────── */
.service-detail-hero {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, rgba(165, 205, 219, 0.12), transparent);
}
.service-detail-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.service-detail-hero__content { padding: 0; }
.service-detail-hero__content h1 { margin-bottom: 20px; line-height: 1.1; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.service-detail-hero__content > p { max-width: 540px; margin-bottom: 28px; font-size: 1.05rem; line-height: 1.7; }
.service-detail-hero__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-detail-hero__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}
.detail-side {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
}
.detail-side__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.detail-side__icon [data-lucide] { width: 26px; height: 26px; }
.detail-side h4 { margin-bottom: 16px; font-size: 1.1rem; font-weight: 700; color: var(--text); font-family: var(--font); }
.detail-side .detail-side__big {
  background: var(--card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.4;
}
.detail-side p { font-size: 0.92rem; line-height: 1.7; }

.detail-main h2 {
  margin-bottom: 28px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-main h2 [data-lucide] {
  color: #fff;
  background: var(--primary-d);
  padding: 6px;
  border-radius: 8px;
  box-sizing: content-box;
  width: 18px; height: 18px;
}
.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.detail-list li {
  display: flex;
  gap: 10px;
  padding: 12px 18px;
  font-size: 0.95rem;
  color: var(--text);
  align-items: flex-start;
  line-height: 1.5;
  background: rgba(181, 217, 203, 0.35);
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.15s;
}
.detail-list li:hover {
  background: rgba(181, 217, 203, 0.6);
  transform: translateX(2px);
}
.detail-list li [data-lucide] {
  flex-shrink: 0;
  color: #fff;
  background: var(--secondary-d);
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
  width: 14px; height: 14px;
  margin-top: 2px;
  stroke-width: 3;
}

/* Mentoria timeline as 4-column grid */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.timeline-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.timeline-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.timeline-item__week {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary-d);
  background: var(--secondary);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.timeline-item__title { font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--text); }
.timeline-item__desc  { font-size: 0.875rem; line-height: 1.6; color: var(--text-muted); flex: 1; }

@media (max-width: 1024px) {
  .service-detail-hero__grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .detail-list { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}

/* ── Contact / Form ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p  { margin-bottom: 24px; font-size: 1rem; }
.contact-info__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
}
.contact-info__email [data-lucide] { width: 18px; height: 18px; color: var(--primary-d); }

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-card--wide { max-width: 820px; margin: 0 auto; }
.form-title { margin-bottom: 28px; font-size: 1.5rem; }
.form-section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary-d);
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.form-section-title:first-child { margin-top: 0; }
.form-group__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

/* Chip-style multi-select for services */
.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.3;
  user-select: none;
}
.checkbox-item:hover { border-color: var(--primary); background: rgba(165, 205, 219, 0.08); }
.checkbox-item input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  accent-color: var(--primary-d);
  cursor: pointer;
  margin: 0;
}
.checkbox-item:has(input:checked) {
  background: var(--primary);
  border-color: var(--primary-d);
  color: var(--text);
  font-weight: 600;
}
.checkbox-item__text a { color: var(--primary-d); text-decoration: underline; }

/* Full-width consent checkbox keeps the original block style */
.checkbox-item--full {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.55;
  width: 100%;
}
.checkbox-item--full:hover { background: var(--bg-soft); border-color: var(--border); }
.checkbox-item--full input[type="checkbox"] { margin-top: 2px; }
.checkbox-item--full:has(input:checked) {
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--text);
  font-weight: normal;
}

.consent-group { margin-top: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group label .req { color: var(--accent-d); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.92rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(165, 205, 219, 0.30);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
  width: auto;
}
.form-submit [data-lucide] { width: 16px; height: 16px; }
.form-submit:hover { background: #2a2f37; transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-msg { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; }
.form-msg.success { display: block; background: #ECFDF5; border: 1px solid #86EFAC; color: #166534; }
.form-msg.error   { display: block; background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; }
.form-consent { font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; line-height: 1.6; }
.form-consent a { color: var(--primary-d); text-decoration: underline; }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--primary); }
.faq-item__q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
}
.faq-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  color: var(--primary-d);
  transition: transform 0.3s;
}
.faq-item.open .faq-item__icon { transform: rotate(180deg); }
.faq-item__icon [data-lucide] { width: 22px; height: 22px; }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item__a-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.faq-item.open .faq-item__a { max-height: 500px; }

/* ── Termos page ───────────────────────────────────────────────── */
.legal {
  max-width: 800px;
  margin: 0 auto;
}
.legal__ref {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}
.legal h1 { font-size: 2.4rem; margin-bottom: 12px; }
.legal__sub { font-size: 1.1rem; margin-bottom: 40px; color: var(--text-muted); }
.legal h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin-bottom: 14px; line-height: 1.8; color: var(--text); font-size: 0.98rem; }
.legal ul { padding-left: 22px; margin-bottom: 14px; list-style: disc; }
.legal ul li { margin-bottom: 10px; line-height: 1.7; color: var(--text); }
.legal a { color: var(--primary-d); text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 700; font-size: 1.1rem; }
.footer__brand .nav__logo-mark { width: 32px; height: 32px; border-radius: 8px; }
.footer__col p { font-size: 0.9rem; line-height: 1.7; max-width: 380px; }
.footer__col h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer__col ul li [data-lucide] { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; color: var(--text-muted); }
.footer__col ul li a:hover { color: var(--text); }
.footer__col ul li a { color: var(--text-muted); transition: color 0.2s; }
.footer__socials { display: flex; gap: 8px; margin-top: 16px; }
.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer__socials a:hover { background: var(--primary); color: var(--text); transform: translateY(-2px); }
.footer__socials [data-lucide] { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer__bottom a { transition: color 0.2s; }
.footer__bottom a:hover { color: var(--text); }
.footer__sep { opacity: 0.5; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 900px) {
  .card-grid-3, .qa-grid, .services-grid, .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .card-grid-3, .qa-grid, .services-grid, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .section { padding: 56px 0; }
  .form-card { padding: 24px 20px; }
  .legal h1 { font-size: 1.8rem; }
}
