@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Manrope:wght@400;500;600&display=swap');

:root {
  --bg: oklch(0.968 0.002 67.8);
  --surface: oklch(1 0 89.9);
  --fg: oklch(0.230 0.056 243.5);
  --muted: oklch(0.506 0.031 246.7);
  --border: oklch(0.833 0 89.9);
  --accent: oklch(0.682 0.086 73.9);
  --dark: oklch(0.184 0.041 243.5);
  --whatsapp: #25D366;
  --whatsapp-hover: #1FA855;
  --white: #FFFFFF;
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--font-body); }
body.menu-open { overflow: hidden; }
a, button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.eyebrow { margin: 0; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); }
.nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid oklch(1 0 0 / .18); }
.official-logo { display: block; width: clamp(66px, 5.5vw, 78px); height: auto; object-fit: contain; }
.home-logo { display: block; min-width: 66px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.wa-button) { min-height: 44px; display: inline-flex; align-items: center; color: inherit; font-size: 13px; font-weight: 500; letter-spacing: .02em; text-decoration: none; }
.nav-links > a:not(.wa-button):hover { text-decoration: underline; text-underline-offset: 6px; }
.menu-button { display: none; width: 48px; height: 48px; border: 1px solid oklch(1 0 0 / .45); border-radius: 4px; background: transparent; color: inherit; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 20px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(6.5px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-6.5px) rotate(-45deg); }

.wa-button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--whatsapp); border-radius: 4px; background: var(--whatsapp); color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: .02em; text-decoration: none; transition: background .18s, border-color .18s, transform .18s; }
.wa-button:hover { background: var(--whatsapp-hover); border-color: var(--whatsapp-hover); color: var(--white); transform: translateY(-2px); }
.wa-button:active { transform: translateY(1px); }
.wa-button:focus-visible { outline-color: var(--white); box-shadow: 0 0 0 6px oklch(.66 .17 145 / .55); }
.nav .wa-button { min-height: 44px; width: auto; padding: 0 17px; font-size: 13px; white-space: nowrap; }
.wa-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; text-underline-offset: 6px; }
.microcopy { margin: 12px 0 0; color: oklch(.86 .018 243.5); font-size: 12px; letter-spacing: .01em; }

.hero { position: relative; min-height: 820px; display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); color: var(--white); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(.12 .035 243.5 / .95), oklch(.12 .035 243.5 / .72) 45%, oklch(.12 .035 243.5 / .15) 82%); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; filter: saturate(.78) contrast(1.03); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding: 184px 0 76px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(270px, .55fr); gap: 8vw; align-items: end; }
.hero h1 { max-width: 11ch; margin: 22px 0 28px; font-size: clamp(52px, 6.2vw, 88px); }
.hero-lead { max-width: 58ch; margin: 0 0 32px; color: oklch(.92 .012 243.5); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; }
.hero-aside { padding: 28px 0 4px; border-top: 1px solid oklch(1 0 0 / .35); }
.hero-aside strong { display: block; margin-bottom: 10px; font: 400 23px/1.25 var(--font-display); letter-spacing: -.01em; }
.hero-aside p { max-width: 36ch; margin: 0; color: oklch(.84 .018 243.5); font-size: 14px; }

.lp-hero { min-height: 780px; }
.lp-hero .hero-grid { grid-template-columns: minmax(0, .98fr) minmax(250px, .42fr); }
.lp-hero h1 { max-width: 14ch; font-size: clamp(46px, 5.25vw, 76px); }
.school-hero .hero-image { object-position: 65% center; }
.condo-hero .hero-image { object-position: 58% center; }
.lp-header .nav { justify-content: flex-start; }

.proof { background: var(--surface); border-bottom: 1px solid var(--border); }
.proof-grid { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); }
.proof-intro, .proof-item { min-height: 150px; padding: 30px clamp(20px, 2.8vw, 40px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--border); }
.proof-intro { padding-left: 0; }
.proof-item:last-child { padding-right: 0; border-right: 0; }
.proof-item strong { font: 400 20px/1.3 var(--font-display); letter-spacing: -.012em; }
.proof-item span { margin-top: 6px; color: var(--muted); font-size: 13px; }
.lp-proof .proof-grid { grid-template-columns: repeat(3, 1fr); }
.lp-proof .proof-item:first-child { padding-left: 0; }

.section { padding: clamp(88px, 10vw, 144px) 0; }
.section-head { display: grid; grid-template-columns: .58fr 1.42fr; gap: 48px; margin-bottom: 72px; }
.section-head h2 { max-width: 18ch; margin: 0; font-size: clamp(40px, 4.5vw, 64px); }
.section-copy { max-width: 60ch; margin: 26px 0 0; color: var(--muted); font-size: 18px; }
.split-cards { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); }
.split-card { padding: 42px 48px 44px 0; border-bottom: 1px solid var(--border); }
.split-card:nth-child(even) { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--border); }
.card-index { color: var(--muted); font: 400 11px/1.4 var(--font-mono); letter-spacing: .08em; }
.split-card h3 { margin: 58px 0 16px; font: 400 30px/1.2 var(--font-display); letter-spacing: -.018em; }
.split-card p { max-width: 54ch; margin: 0 0 26px; color: var(--muted); }

.services { background: var(--fg); color: var(--white); }
.services .section-copy, .services .service-row p { color: oklch(.81 .026 243.5); }
.service-list { border-top: 1px solid oklch(1 0 0 / .22); }
.service-row { display: grid; grid-template-columns: 70px 1fr 1.12fr; gap: 34px; padding: 34px 0; border-bottom: 1px solid oklch(1 0 0 / .22); }
.service-row .card-index { color: var(--accent); }
.service-row h3 { margin: 0; font: 400 26px/1.25 var(--font-display); letter-spacing: -.015em; }
.service-row p { max-width: 55ch; margin: 2px 0 0; }

.service-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 54px; }
.service-card { min-width: 0; overflow: hidden; border: 1px solid oklch(1 0 0 / .22); border-radius: 5px; background: oklch(.205 .045 243.5); }
.service-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--dark); cursor: pointer; }
.service-card-media::after { content: "Saiba mais"; position: absolute; right: 14px; bottom: 14px; padding: 7px 11px; border: 1px solid oklch(1 0 0 / .5); border-radius: 999px; background: oklch(.12 .035 243.5 / .82); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(6px); }
.service-card-media:focus-visible { outline: 3px solid var(--whatsapp); outline-offset: -3px; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .service-card-media img { transform: scale(1.025); }
.service-card-copy { padding: 26px; }
.service-card-copy .card-index { color: var(--accent); }
.service-card-copy h3 { margin: 14px 0 10px; font: 400 25px/1.22 var(--font-display); }
.service-card-copy p { margin: 0; color: oklch(.81 .026 243.5); font-size: 14px; }
.segment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.segment-card { min-width: 0; padding: 34px 32px 38px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.segment-card:nth-child(odd) { padding-left: 0; }
.segment-card:nth-child(even) { padding-right: 0; border-right: 0; }
.segment-card h3 { margin: 34px 0 14px; font: 400 28px/1.2 var(--font-display); }
.segment-card p { margin: 0 0 24px; color: var(--muted); }

.lead-modal[hidden] { display: none; }
.lead-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; }
.lead-modal-backdrop { position: absolute; inset: 0; background: oklch(.09 .025 243.5 / .82); backdrop-filter: blur(7px); }
.lead-dialog { position: relative; z-index: 1; width: min(100%, 520px); max-height: calc(100dvh - 40px); overflow-y: auto; padding: clamp(30px, 5vw, 48px); border: 1px solid oklch(1 0 0 / .14); border-radius: 8px; background: var(--surface); color: var(--fg); box-shadow: 0 28px 90px oklch(.06 .02 243.5 / .48); }
.lead-dialog h2 { max-width: 13ch; margin: 14px 0 14px; font-size: clamp(30px, 5vw, 44px); }
.lead-dialog > p:not(.eyebrow) { margin: 0 0 28px; color: var(--muted); }
.lead-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--fg); font-size: 27px; line-height: 1; cursor: pointer; }
.lead-close:hover { background: var(--bg); }
.lead-form { display: grid; }
.lead-form label { margin: 14px 0 7px; font-size: 13px; font-weight: 600; }
.lead-form input { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid var(--border); border-radius: 4px; background: var(--white); color: var(--fg); font: inherit; }
.lead-form input:focus { border-color: var(--fg); outline: 3px solid oklch(.68 .086 73.9 / .28); }
.field-error { min-height: 20px; margin-top: 4px; color: #B42318; font-size: 12px; }
.lead-submit { width: 100%; margin-top: 14px; }
.lead-privacy { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
body.modal-open { overflow: hidden; }

.process-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(56px, 9vw, 128px); }
.process-intro { position: static; align-self: start; }
.process-intro h2 { max-width: 12ch; margin: 22px 0 0; font-size: clamp(42px, 4.5vw, 64px); }
.process-intro p { max-width: 44ch; margin: 26px 0 0; color: var(--muted); font-size: 18px; }
.steps { border-top: 1px solid var(--border); }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.step .card-index { padding-top: 6px; color: var(--accent); }
.step h3 { margin: 0 0 8px; font: 400 23px/1.3 var(--font-display); }
.step p { max-width: 52ch; margin: 0; color: var(--muted); }

.editorial-panel { padding: clamp(92px, 12vw, 168px) 0; background: var(--accent); color: var(--dark); }
.editorial-panel blockquote { max-width: 21ch; margin: 28px 0 0; font: 400 clamp(42px, 5.4vw, 76px)/1.09 var(--font-display); letter-spacing: -.028em; }
.panel-note { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 64px; padding-top: 28px; border-top: 1px solid oklch(.34 .06 73.9 / .5); }
.panel-note p { grid-column: 2; max-width: 56ch; margin: 0; font-size: 18px; }

.region { background: var(--surface); }
.region-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(48px, 9vw, 128px); align-items: start; }
.region h2 { max-width: 12ch; margin: 22px 0 0; font-size: clamp(40px, 4.3vw, 62px); }
.region-copy { border-top: 1px solid var(--border); }
.region-copy p { max-width: 60ch; margin: 0; padding: 30px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 18px; }

.mid-cta { padding: 56px 0; background: var(--dark); color: var(--white); }
.mid-cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.mid-cta h2 { max-width: 20ch; margin: 0; font-size: clamp(28px, 3vw, 42px); }
.mid-cta p { max-width: 48ch; margin: 10px 0 0; color: oklch(.80 .02 243.5); }

.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(48px, 9vw, 128px); }
.faq h2 { max-width: 10ch; margin: 22px 0 0; font-size: clamp(40px, 4.2vw, 60px); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; min-height: 78px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; background: transparent; color: var(--fg); text-align: left; font-weight: 600; cursor: pointer; }
.faq-question::after { content: "+"; font: 400 22px/1 var(--font-mono); }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 64ch; margin: 0; padding: 0 48px 26px 0; color: var(--muted); }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }

.final-cta { padding: clamp(92px, 10vw, 140px) 0; background: var(--dark); color: var(--white); }
.final-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: end; }
.final-cta h2 { max-width: 14ch; margin: 22px 0 0; font-size: clamp(44px, 5vw, 70px); }
.final-action p { max-width: 46ch; margin: 0 0 28px; color: oklch(.80 .026 243.5); font-size: 18px; }
.site-footer { padding: 42px 0; background: var(--dark); color: oklch(.78 .024 243.5); border-top: 1px solid oklch(1 0 0 / .14); }
.footer-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; align-items: start; }
.footer-logo { width: clamp(112px, 10vw, 148px); }
.footer-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 44px; }
.footer-details p { margin: 0; font-size: 13px; }
.footer-details strong { display: block; margin-bottom: 4px; color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.footer-details a { text-underline-offset: 4px; }

.sticky-mobile { position: fixed; z-index: 50; right: 12px; bottom: 12px; left: 12px; display: none; opacity: 0; transform: translateY(130%); pointer-events: none; transition: opacity .2s, transform .2s; }
.sticky-mobile.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-mobile.is-hidden { opacity: 0; transform: translateY(130%); pointer-events: none; }

@media (max-width: 1024px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-intro, .proof-item { padding-left: 24px; border-bottom: 1px solid var(--border); }
  .proof-item:nth-child(even) { border-right: 0; }
  .proof-intro { grid-column: 1 / -1; min-height: 92px; padding-left: 0; border-right: 0; }
  .lp-proof .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-proof .proof-item { border-bottom: 0; }
  .service-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .nav-links { position: fixed; inset: 88px 0 auto; padding: 28px var(--gutter) 34px; display: none; align-items: stretch; flex-direction: column; background: var(--dark); border-bottom: 1px solid oklch(1 0 0 / .18); }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.wa-button) { width: 100%; }
  .menu-button { display: block; }
  .hero-grid, .lp-hero .hero-grid, .section-head, .process-grid, .region-grid, .faq-grid, .final-grid { grid-template-columns: 1fr; }
  .hero { min-height: 760px; }
  .hero-aside { max-width: 520px; }
  .section-head { gap: 18px; }
  .process-intro { position: static; }
  .service-row { grid-template-columns: 58px 1fr; }
  .service-row p { grid-column: 2; }
  .panel-note p { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .segment-grid { grid-template-columns: 1fr; }
  .segment-card, .segment-card:first-child, .segment-card:last-child { padding: 30px 0; border-right: 0; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .nav { min-height: 78px; }
  .official-logo { width: 60px; }
  .nav-links { inset-top: 78px; top: 78px; }
  .hero, .lp-hero { min-height: 720px; }
  .hero-inner { padding: 130px 0 48px; }
  .hero h1, .lp-hero h1 { max-width: 12ch; font-size: clamp(40px, 11.5vw, 56px); }
  .hero-lead { font-size: 17px; }
  .hero::after { background: linear-gradient(90deg, oklch(.12 .035 243.5 / .96), oklch(.12 .035 243.5 / .55)); }
  .school-hero .hero-image { object-position: 64% center; }
  .condo-hero .hero-image { object-position: 58% center; }
  .proof-grid, .lp-proof .proof-grid { grid-template-columns: 1fr; }
  .proof-intro, .proof-item, .lp-proof .proof-item { min-height: 104px; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .split-cards { grid-template-columns: 1fr; }
  .split-card, .split-card:nth-child(even) { padding: 30px 0; border-left: 0; }
  .split-card h3 { margin-top: 36px; }
  .process-intro h2 { font-size: 38px; }
  .editorial-panel blockquote { font-size: 38px; }
  .final-cta h2 { font-size: 40px; }
  .service-row { grid-template-columns: 42px 1fr; gap: 18px; }
  .panel-note { grid-template-columns: 1fr; }
  .mid-cta-grid { align-items: stretch; flex-direction: column; }
  .wa-button { width: 100%; }
  .footer-details { grid-template-columns: 1fr; }
  .service-gallery { grid-template-columns: 1fr; gap: 18px; }
  .service-card-copy { padding: 22px; }
  .sticky-mobile { display: block; }
  .lp-page { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
