/* =========================
   TIPOGRAFIA
   Adicione os arquivos licenciados em assets/fonts/
========================= */

@font-face {
  font-family: "Boston Angel";
  src:
    local("Boston Angel"),
    local("Boston Angel Regular"),
    url("assets/fonts/BostonAngel-Regular.woff2") format("woff2"),
    url("assets/fonts/BostonAngel-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Glacial Indifference";
  src:
    local("Glacial Indifference"),
    local("Glacial Indifference Regular"),
    url("assets/fonts/GlacialIndifference-Regular.woff2") format("woff2"),
    url("assets/fonts/GlacialIndifference-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Glacial Indifference";
  src:
    local("Glacial Indifference Bold"),
    url("assets/fonts/GlacialIndifference-Bold.woff2") format("woff2"),
    url("assets/fonts/GlacialIndifference-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================
   CONFIGURAÇÕES GERAIS
========================= */

:root {
  --background: #F8F3EE;
  --surface: #FFFFFF;
  --surface-soft: #F0E4D8;
  --text: #3B2A24;
  --text-soft: #715C52;
  --green: #6D2C2A;
  --green-dark: #4F2B1F;
  --line: rgba(79, 43, 31, 0.14);
  --shadow: 0 22px 60px rgba(79, 43, 31, 0.10);
  --radius: 24px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Glacial Indifference", "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.65;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-light {
  background: var(--surface);
}

.section-dark {
  background: var(--green-dark);
  color: white;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.section-dark .eyebrow {
  color: #F0E4D8;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1,
h2 {
  font-family: "Boston Angel", Georgia, serif;
  font-weight: 500;
}

h1 {
  max-width: 800px;
  font-size: clamp(2.5rem, 3vw, 3.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--text-soft);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}


h1,
h2,
h3,
.service-card h3,
.attendance-card h3,
.step h3,
.image-placeholder span {
  font-family: "Boston Angel", Georgia, serif;
  font-weight: 400;
}

body,
p,
a,
button,
span,
small,
strong,
.menu,
.logo-text,
.eyebrow,
.contact-details,
.faq-question {
  font-family: "Glacial Indifference", "Helvetica Neue", Arial, sans-serif;
}

/* =========================
   ACESSIBILIDADE
========================= */

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--text);
  color: white;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(15px);
  transition: 0.25s ease;
}

.header.scrolled {
  border-color: var(--line);
}

.nav-container {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.logo-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  font-family: "Boston Angel", Georgia, serif;
  font-size: 1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text strong {
  font-size: 0.98rem;
}

.logo-text small {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu > a:not(.button) {
  position: relative;
  font-size: 0.93rem;
  font-weight: 600;
}

.menu > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.menu > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 25px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--text);
  transition: 0.25s ease;
}

/* =========================
   BOTÕES
========================= */

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--green-dark);
  border-radius: 999px;
  background: var(--green-dark);
  color: white;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #5D2523;
}

.button-small {
  min-height: 44px;
  padding-inline: 20px;
  font-size: 0.9rem;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.secondary-link span {
  transition: transform 0.2s ease;
}

.secondary-link:hover span {
  transform: translateX(5px);
}

/* =========================
   HERO
========================= */

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  padding-top: 75px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.hero-description {
  max-width: 700px;
  margin-top: 28px;
  font-size: 1.12rem;
}

.hero-buttons {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-info {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-info span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.hero-image-wrapper {
  position: relative;
}

.image-frame {
  min-height: 620px;
  overflow: hidden;
  position: relative;
  border-radius: 210px 210px 30px 30px;
  background: #d9d7da;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center 24%;
}

.image-placeholder {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px;
  text-align: center;
  color: #666;
}

.image-placeholder span {
  font-family: "Boston Angel", Georgia, serif;
  font-size: 1.6rem;
}

.image-placeholder small {
  font-size: 0.8rem;
}

.floating-card {
  position: absolute;
  right: -45px;
  bottom: 45px;
  max-width: 280px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.floating-card-icon {
  font-size: 1.45rem;
  color: var(--green);
}

.floating-card div {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  font-size: 0.88rem;
}

.floating-card small {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.74rem;
}

/* =========================
   SOBRE
========================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 8vw, 120px);
}

.about-text > p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.mini-cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.mini-cards article {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--background);
}

.mini-cards span {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

/* =========================
   ÁREAS
========================= */

.section-heading {
  max-width: 770px;
  margin-bottom: 55px;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin-top: 22px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: white;
}

.card-number {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
}

.service-card h3 {
  margin-top: auto;
  margin-bottom: 14px;
  font-family: "Boston Angel", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.service-card p {
  font-size: 0.92rem;
}

/* =========================
   ATENDIMENTO
========================= */

.section-heading-light {
  max-width: 800px;
}

.attendance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.attendance-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
}

.attendance-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  font-size: 1.3rem;
}

.attendance-card h3 {
  margin-top: auto;
  margin-bottom: 14px;
  font-family: "Boston Angel", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.attendance-card span {
  margin-top: 18px;
  color: rgba(255,255,255,0.58);
  font-size: 0.83rem;
}

/* =========================
   PROCESSO
========================= */

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(55px, 9vw, 130px);
}

.process-intro p:last-child {
  margin-top: 22px;
}

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.step:first-child {
  padding-top: 0;
}

.step > span {
  color: var(--green);
  font-weight: 700;
}

.step h3 {
  margin-bottom: 8px;
  font-family: "Boston Angel", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
}

/* =========================
   FAQ
========================= */

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(55px, 8vw, 120px);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.plus {
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.faq-item.active .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 45px 25px 0;
}

/* =========================
   CONTATO
========================= */

.contact-section {
  padding-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  padding: clamp(45px, 7vw, 85px);
  border-radius: 36px;
  background: #E6CFC2;
}

.contact-content p {
  max-width: 640px;
  margin-top: 22px;
}

.contact-content .button {
  margin-top: 30px;
}

.contact-details {
  display: grid;
  align-content: start;
  gap: 0;
}

.contact-details > div {
  display: flex;
  flex-direction: column;
  padding: 21px 0;
  border-bottom: 1px solid rgba(37,40,36,0.14);
}

.contact-details span {
  margin-bottom: 5px;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.contact-details strong {
  font-size: 1rem;
}

/* =========================
   FOOTER
========================= */

.footer {
  padding: 45px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-text {
  max-width: 520px;
  text-align: right;
}

.footer-text p {
  font-size: 0.78rem;
}

.footer-text p + p {
  margin-top: 5px;
}

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--green-dark);
  color: white;
  box-shadow: 0 10px 35px rgba(0,0,0,0.2);
  font-size: 0.85rem;
  font-weight: 700;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 960px) {
  .section {
    padding: 85px 0;
  }

  .menu-button {
    display: block;
  }

  .menu {
    position: absolute;
    top: 86px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about-grid,
  .process-grid,
  .faq-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 60px;
  }

  .hero-image-wrapper {
    max-width: 620px;
    margin: 0 auto;
  }

  .image-frame,
  .image-frame img,
  .image-placeholder {
    min-height: 560px;
    height: 560px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-card {
    right: 15px;
  }

  .contact-card {
    gap: 35px;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .nav-container {
    min-height: 76px;
  }

  .menu {
    top: 76px;
    right: 14px;
    left: 14px;
  }

  .logo-text strong {
    font-size: 0.86rem;
  }

  .logo-text small {
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .hero {
    padding-top: 55px;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-info {
    gap: 8px;
  }

  .hero-info span {
    font-size: 0.75rem;
  }

  .image-frame,
  .image-frame img,
  .image-placeholder {
    min-height: 470px;
    height: 470px;
  }

  .image-frame {
    border-radius: 160px 160px 25px 25px;
  }

  .floating-card {
    right: 10px;
    bottom: 20px;
    left: 10px;
    max-width: none;
  }

  .mini-cards,
  .cards-grid,
  .attendance-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 235px;
  }

  .attendance-card {
    min-height: 285px;
  }

  .step {
    grid-template-columns: 45px 1fr;
  }

  .contact-card {
    padding: 35px 22px;
    border-radius: 25px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-text {
    text-align: left;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}

/* =========================
   FOTOS PROFISSIONAIS
========================= */

.section-photo {
  margin-top: 38px;
  overflow: hidden;
  border-radius: 28px;
  background: #e2d7de;
  box-shadow: var(--shadow);
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo {
  height: 520px;
}

.about-photo img {
  object-position: center 30%;
}

.judicial-photo {
  height: 500px;
}

.judicial-photo img {
  object-position: center 26%;
}

/* =========================
   ATUAÇÃO SOCIOJURÍDICA
========================= */

.legal-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(55px, 8vw, 120px);
  align-items: start;
}

.legal-intro-text {
  padding-top: 60px;
}

.legal-intro-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.legal-intro-text .button {
  margin-top: 12px;
}

.legal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}

.legal-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 35px rgba(79, 43, 31, 0.05);
}

.legal-card-number {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.legal-card h3 {
  margin-top: auto;
  margin-bottom: 14px;
  font-size: 1.7rem;
}

.legal-card p {
  font-size: 0.93rem;
}

.legal-note {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.legal-note-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  font-size: 1.35rem;
}

.legal-note h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

@media (max-width: 960px) {
  .legal-intro-grid {
    grid-template-columns: 1fr;
  }

  .legal-intro-text {
    padding-top: 0;
  }

  .legal-cards {
    grid-template-columns: 1fr;
  }

  .legal-card {
    min-height: 230px;
  }
}

@media (max-width: 650px) {
  .legal-note {
    grid-template-columns: 1fr;
  }
}


/* =========================
   SÍMBOLO DA PSICOLOGIA — PSI
========================= */

.logo-mark {
  position: relative;
  overflow: visible;
}

.logo-initials {
  position: relative;
  z-index: 2;
  font-family: "Glacial Indifference", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.logo-psi {
  position: absolute;
  right: -7px;
  bottom: -7px;
  z-index: 3;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid var(--background);
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  line-height: 1;
}

.hero-content {
  position: relative;
}

.hero-psi {
  position: absolute;
  z-index: 0;
  top: -95px;
  left: -62px;
  color: rgba(109, 44, 42, 0.07);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(11rem, 22vw, 21rem);
  font-weight: 400;
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
}

.hero-content > *:not(.hero-psi) {
  position: relative;
  z-index: 1;
}

.section-symbol-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-symbol-row .eyebrow {
  margin-bottom: 0;
}

.section-psi {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(109, 44, 42, 0.20);
  border-radius: 50%;
  background: rgba(191, 150, 130, 0.35);
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1;
}

.footer-psi {
  margin-bottom: 8px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 650px) {
  .hero-psi {
    top: -45px;
    left: -24px;
    font-size: 11rem;
  }

  .logo-psi {
    right: -5px;
    bottom: -5px;
  }
}


/* =========================
   PALETA VINHO + BEGE + MARROM + ROSÉ
========================= */

body {
  background: #F8F3EE;
  color: #3B2A24;
}

.header {
  background: rgba(248, 243, 238, 0.92);
}

.section-light {
  background: #FFFDFC;
}

.section-dark {
  background: #4F2B1F;
}

.section-dark .eyebrow {
  color: #F0E4D8;
}

.logo-mark,
.button,
.whatsapp-float,
.legal-note-icon {
  background: #4F2B1F;
  border-color: #4F2B1F;
}

.button:hover {
  background: #6D2C2A;
}

.eyebrow,
.card-number,
.step > span,
.floating-card-icon,
.legal-card-number,
.footer-psi {
  color: #6D2C2A;
}

.logo-psi {
  background: #6D2C2A;
  border-color: #F8F3EE;
}

.hero-psi {
  color: rgba(109, 44, 42, 0.065);
}

.section-psi {
  border-color: rgba(109, 44, 42, 0.18);
  background: rgba(191, 150, 130, 0.28);
  color: #4F2B1F;
}

.contact-card {
  background: #E7D1C4;
}

.mini-cards article {
  background: #F0E4D8;
}

.service-card {
  background: rgba(255, 253, 252, 0.72);
}

.service-card:hover {
  background: #FFFDFC;
  box-shadow: 0 18px 45px rgba(79, 43, 31, 0.08);
}

.attendance-card {
  border-color: rgba(240, 228, 216, 0.18);
  background: rgba(240, 228, 216, 0.055);
}

.image-frame,
.section-photo {
  background: #E8D9D0;
}

.legal-note {
  background: #F0E4D8;
}

.hero-info span,
.service-card,
.mini-cards article,
.contact-details > div,
.legal-card {
  border-color: rgba(79, 43, 31, 0.14);
}

.faq-item {
  border-color: rgba(79, 43, 31, 0.14);
}

.menu > a:not(.button)::after {
  background: #6D2C2A;
}

::selection {
  background: #BF9682;
  color: #4F2B1F;
}

/* =========================
   AJUSTES DE COMPACTAÇÃO
   Reduz espaços verticais sem comprometer a leitura
========================= */

/* Seções gerais */
.section {
  padding: 72px 0;
}

/* Header mais compacto */
.nav-container {
  min-height: 72px;
  gap: 22px;
}

.logo-mark {
  width: 40px;
  height: 40px;
}

.menu {
  gap: 24px;
}

/* Hero */
.hero {
  min-height: auto;
  padding-top: 48px;
  padding-bottom: 64px;
}

.hero-grid {
  gap: clamp(34px, 5vw, 64px);
}

.hero-description {
  margin-top: 18px;
  font-size: 1.05rem;
}

.hero-buttons {
  margin-top: 26px;
  gap: 20px;
}

.hero-info {
  margin-top: 28px;
  gap: 10px;
}

.image-frame {
  min-height: 520px;
}

.image-frame img {
  height: 520px;
}

.image-placeholder {
  min-height: 520px;
}

.floating-card {
  right: -24px;
  bottom: 28px;
  padding: 15px 18px;
}

/* Títulos e textos */
.eyebrow {
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.3rem, 2.7vw, 3.35rem);
}

h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.45rem);
}

/* Sobre */
.about-grid {
  gap: clamp(34px, 5vw, 70px);
}

.about-text > p {
  margin-bottom: 14px;
}

.section-photo {
  margin-top: 24px;
}

.about-photo {
  height: 430px;
}

.mini-cards {
  margin-top: 26px;
  gap: 10px;
}

.mini-cards article {
  min-height: 105px;
  padding: 16px;
}

/* Atuação */
.legal-intro-grid {
  gap: clamp(34px, 5vw, 70px);
}

.legal-intro-text {
  padding-top: 34px;
}

.legal-intro-text p {
  margin-bottom: 14px;
}

.judicial-photo {
  height: 420px;
}

.legal-cards {
  margin-top: 38px;
  gap: 14px;
}

.legal-card {
  min-height: 240px;
  padding: 22px;
}

.legal-card h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.legal-note {
  margin-top: 16px;
  gap: 18px;
  padding: 22px;
}

/* Como funciona */
.process-grid {
  gap: clamp(34px, 6vw, 78px);
}

.process-intro p:last-child {
  margin-top: 15px;
}

.step {
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 20px 0;
}

.step h3 {
  margin-bottom: 5px;
  font-size: 1.4rem;
}

/* FAQ */
.faq-grid {
  gap: clamp(34px, 5vw, 72px);
}

.faq-question {
  padding: 17px 0;
}

.faq-answer p {
  padding: 0 34px 18px 0;
}

/* Contato */
.contact-card {
  gap: 45px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 28px;
}

.contact-content p {
  margin-top: 15px;
}

.contact-content .button {
  margin-top: 22px;
}

.contact-details > div {
  padding: 15px 0;
}

/* Rodapé */
.footer {
  padding: 30px 0;
}

.footer-grid {
  gap: 28px;
}

/* Tablets */
@media (max-width: 960px) {
  .section {
    padding: 62px 0;
  }

  .nav-container {
    min-height: 68px;
  }

  .menu {
    top: 68px;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 54px;
  }

  .hero-grid {
    gap: 40px;
  }

  .image-frame,
  .image-frame img,
  .image-placeholder {
    min-height: 500px;
    height: 500px;
  }

  .legal-intro-text {
    padding-top: 0;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .section {
    padding: 48px 0;
  }

  .nav-container {
    min-height: 64px;
  }

  .menu {
    top: 64px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.95rem, 9vw, 2.65rem);
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 44px;
  }

  .hero-description {
    margin-top: 14px;
  }

  .hero-buttons {
    margin-top: 20px;
  }

  .hero-info {
    margin-top: 20px;
  }

  .image-frame,
  .image-frame img,
  .image-placeholder {
    min-height: 410px;
    height: 410px;
  }

  .section-photo {
    margin-top: 18px;
  }

  .about-photo,
  .judicial-photo {
    height: 360px;
  }

  .mini-cards {
    margin-top: 20px;
  }

  .legal-cards {
    margin-top: 28px;
  }

  .legal-card {
    min-height: auto;
    padding: 20px;
  }

  .legal-note {
    padding: 20px;
  }

  .step {
    grid-template-columns: 40px 1fr;
    padding: 17px 0;
  }

  .faq-question {
    padding: 15px 0;
  }

  .contact-card {
    padding: 28px 20px;
    gap: 28px;
  }

  .footer {
    padding: 24px 0;
  }
}


/* Foto da seção de perguntas frequentes */
.faq-photo {
  height: 430px;
  margin-top: 24px;
}

.faq-photo img {
  object-position: center 20%;
}

@media (max-width: 650px) {
  .faq-photo {
    height: 390px;
  }
}
