:root {
  --paper: #f6f5ef;
  --ink: #162b29;
  --dark: #102826;
  --hero-text: #f7faf5;
  --accent: #9ee1d4;
  --accent-ink: #123932;
  --at-cta-fundo: var(--accent);
  --at-cta-texto: var(--accent-ink);
  --at-cta-foco: var(--hero-text);
  --at-cta-fonte: var(--fonte-corpo);
  --green-paper: #e1f0e9;
  --gutter: 20px;
  --title-size: 3rem;
  --title-line: 3rem;
  --support-size: 1rem;
  --support-gap: 12px;
  --action-gap: 20px;
  --action-height: 48px;
  --button-feedback: 120ms ease-out;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--dark);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
body { background: var(--paper); line-height: 1.55; }
img { display: block; }
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
section[tabindex]:focus { outline: none; }
.shell { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
h1, h2 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; }

.skip-link {
  position: fixed;
  z-index: 6;
  inset: 8px auto auto var(--gutter);
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 5;
  inset: 0 0 auto;
  color: var(--hero-text);
  background: var(--dark);
  border-bottom: 1px solid #f7faf52e;
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .site-header {
    background: #102826c7;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}
.header-inner {
  display: flex;
  min-height: calc(var(--at-cabecalho-altura) - 1px);
  align-items: center;
  gap: 8px;
}
.brand, .header-actions, .header-actions nav {
  display: flex;
  align-items: center;
}
.brand {
  min-width: 44px;
  min-height: 44px;
  gap: 8px;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.brand img { border-radius: 50%; flex: none; }
.brand span { overflow-wrap: anywhere; }
.header-actions { margin-inline-start: auto; gap: 16px; }
.header-actions nav { display: none; gap: 16px; }
.header-actions nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: .91rem;
  font-weight: 600;
  text-decoration: none;
}
.header-actions nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }

.at-cta-principal:active { --at-cta-fundo: #c2efe5; }

.hero {
  --portrait-width: 314px;
  --portrait-face-x: 50.75%;
  --portrait-eye-offset: .277;
  --portrait-aspect: 1.6354;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  overflow: clip;
  color: var(--hero-text);
  background: var(--dark);
}
.hero-room {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}
.hero-room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% 59%;
  filter: brightness(.76) saturate(.73);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(0deg, #0d16155c, transparent 26%),
    linear-gradient(180deg, #121a17eb 0%, #121a17df 26%, #121a17aa 42%, #121a1740 70%, #121a176f 100%);
  pointer-events: none;
}
.hero-inner {
  grid-row: 1;
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 4px;
}
.hero-portrait {
  position: relative;
  z-index: -1;
  grid-area: 2 / 1;
  min-height: min(305px, 60svh);
  pointer-events: none;
}
.hero-portrait img {
  position: absolute;
  top: max(6px, calc(100% - var(--portrait-width) * var(--portrait-aspect)));
  left: 52%;
  width: var(--portrait-width);
  max-width: none;
  height: auto;
  transform: translateX(calc(-1 * var(--portrait-face-x)));
  filter: brightness(.96) saturate(.92) drop-shadow(0 7px 24px #090f0b80);
}
.hero-copy { width: min(100%, 560px); }
h1 { font-size: var(--title-size); line-height: var(--title-line); letter-spacing: -.02em; }
h1 span { display: block; color: var(--accent); }
.hero-copy p {
  max-width: 31ch;
  margin-top: var(--support-gap);
  font-size: var(--support-size);
  line-height: 1.45;
}
.hero-button.at-cta-principal {
  min-height: var(--action-height);
  margin-top: var(--action-gap);
  padding-inline: 18px;
  gap: 14px;
}
.hero-button [aria-hidden="true"] { font-size: 1.12em; line-height: 1; }

.practice { background: var(--paper); display: grid; align-items: center; }
.practice-inner { display: grid; gap: 16px; padding-block: 32px; }
h2 { font-size: clamp(2.65rem, 5.25vw, 4.75rem); line-height: .98; letter-spacing: -.02em; }
.section-intro { margin-top: 12px; max-width: 39ch; }
.practice-details { margin-top: 20px; max-width: 47ch; }
.practice-details div { border-top: 1px solid #162b2938; padding: 10px 0; }
.practice-details dt { font-weight: 700; margin-bottom: 2px; }
.practice-details dd { color: #354e49; font-size: .94rem; }
.text-link {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 700;
  text-underline-offset: .2em;
}
.practice-photo {
  overflow: hidden;
  border-radius: 11px;
  background: #d9dad0;
  aspect-ratio: 1.55;
}
.practice-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }

.studio { background: var(--green-paper); display: grid; }
.studio-inner { display: grid; grid-template-rows: 1fr auto; }
.studio-copy { display: grid; align-content: center; gap: 30px; padding-block: 55px; }
.studio h2 span { display: block; }
.studio-location { border-top: 1px solid #162b2945; padding-top: 20px; }
address { margin-top: 8px; font-style: normal; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 22px;
  padding: 12px 0 max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid #162b2945;
  font-size: .86rem;
}
.site-footer > div { display: flex; flex-wrap: wrap; gap: 0 15px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .at-cta-principal { transition: background-color var(--button-feedback); }
  .at-cta-principal:hover:not(:active) { --at-cta-fundo: #b7ebdf; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; --title-size: 2.5rem; --title-line: 2.5rem; }
  .brand { font-size: .84rem; gap: 6px; }
}
@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --title-size: 4rem;
    --title-line: 3.875rem;
    --support-size: 1.125rem;
    --support-gap: 16px;
    --action-gap: 24px;
  }
  .header-actions nav { display: flex; }
  .hero {
    --portrait-width: 370px;
    --portrait-top: max(64px, calc(var(--header-height) + (100% - var(--header-height)) / 3 - var(--portrait-width) * var(--portrait-eye-offset)));
    grid-template-rows: 1fr;
    align-items: center;
  }
  .hero-inner { padding-block: calc(var(--header-height) + 24px) 24px; }
  .hero-room img { object-position: 53% 60%; }
  .hero::before {
    background:
      linear-gradient(0deg, #0d16155c, transparent 26%),
      linear-gradient(90deg, #111a17ed 0%, #111a17dc 25%, #111a17ad var(--hero-shade-midpoint, 42%), #111a1752 66%, #111a1780 100%),
      linear-gradient(180deg, #151a1940 0%, transparent 45%);
  }
  .hero-portrait {
    position: absolute;
    inset: 0;
    grid-area: auto;
  }
  .hero-portrait img {
    top: max(var(--portrait-top), calc(100% - var(--portrait-width) * var(--portrait-aspect)));
    right: max(24px, calc((100% - 1280px) / 2 + 12px));
    left: auto;
    transform: none;
  }
  .hero-copy { width: min(60%, 585px); }
  .practice-inner {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(42px, 7vw, 112px);
    padding-block: 56px;
  }
  .section-intro { margin-top: 20px; font-size: 1.15rem; }
  .practice-details { margin-top: 30px; }
  .practice-details div { padding: 14px 0; }
  .practice-photo { aspect-ratio: 1; }
  .studio-copy { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 9%; }
  .studio-location { border-top: 0; border-left: 1px solid #162b2945; padding: 2px 0 2px 28px; }
}
@media (768px <= width < 1024px) {
  .hero { --hero-shade-midpoint: 52%; }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
    --title-size: 5rem;
    --title-line: 4.75rem;
    --support-size: 1.25rem;
    --action-gap: 28px;
    --action-height: 52px;
  }
  .header-actions { gap: 32px; }
  .header-actions nav { gap: 24px; }
  .hero { --portrait-width: 430px; }
}
@media (max-width: 767px) and (hover: none) and (pointer: coarse) {
  .hero { min-height: 100lvh; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

[data-pedir-aula] { -webkit-tap-highlight-color: transparent; }
