:root {
  --petrol: #0b5661;
  --petrol-dark: #063f48;
  --petrol-deep: #07343b;
  --green: #a9cbb9;
  --green-dark: #6e9f87;
  --green-soft: #e8f1eb;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --text: #243739;
  --muted: #5f7375;
  --line: #dbe5df;
  --lilac: #9a86b8;
  --shadow: 0 18px 45px rgba(6, 63, 72, 0.18);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 34px);
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  margin-bottom: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(219, 229, 223, 0.85);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 42px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--petrol-dark);
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--petrol-dark);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--green-soft);
  outline: none;
}

.site-nav .nav-cta {
  color: var(--petrol-dark);
  background: var(--green);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.menu-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--petrol-dark);
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.hero .section-inner {
  width: min(1240px, calc(100% - 44px));
}

.hero {
  padding-top: clamp(46px, 7vw, 76px);
  padding-bottom: clamp(52px, 8vw, 90px);
  background:
    radial-gradient(circle at 12% 20%, rgba(154, 134, 184, 0.24), transparent 28%),
    linear-gradient(135deg, var(--petrol) 0%, var(--petrol-dark) 58%, var(--petrol-deep) 100%);
  color: rgba(255, 255, 255, 0.9);
}

.hero__grid,
.split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 5.5vw, 66px);
}

.split__grid--reverse {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--petrol);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--green);
}

h1,
h2 {
  color: var(--petrol-dark);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.05rem, 5vw, 3.55rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  line-height: 1.55;
}

.professional-card {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin: 12px 0 22px;
  padding: 0 0 0 18px;
  color: #fff;
  border-left: 3px solid var(--lilac);
}

.professional-card strong {
  color: #fff;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0;
}

.professional-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.hero__content > p:not(.eyebrow):not(.lead) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
}

#psicoterapia,
.approach,
#consultorio,
#sobre,
#online,
#duvidas,
#agendar {
  scroll-margin-top: calc(var(--header-height) + 34px);
}

.hero__image,
.soft-image {
  margin: 0;
}

.hero__image img,
.soft-image img,
.consultorio__images img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero__image img {
  max-height: 620px;
  aspect-ratio: 0.86 / 1;
  object-position: center 18%;
  border: 4px solid rgba(255, 255, 255, 0.18);
}

.soft-image img {
  aspect-ratio: 4 / 3;
}

.portrait img {
  aspect-ratio: 4 / 5;
  object-position: center 16%;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary,
.btn-secondary {
  color: var(--petrol-dark);
  background: var(--green);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  background: #bdd8c9;
}

.btn-light {
  color: var(--petrol-dark);
  background: var(--green);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: #bdd8c9;
}

.quick-info {
  padding: 22px 0;
  background: var(--petrol-deep);
}

.quick-info__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.22);
}

.quick-info article {
  min-height: 104px;
  display: flex;
  align-items: center;
  padding: 18px;
  background: #0d5d68;
}

.quick-info h3 {
  margin: 0;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.35;
}

.approach,
.about {
  background: var(--cream);
}

.cta-band,
.final-cta {
  padding: clamp(46px, 8vw, 78px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(154, 134, 184, 0.18), transparent 28%),
    var(--petrol);
}

.cta-band__content,
.final-cta__content {
  max-width: 850px;
  text-align: center;
}

.cta-band h2,
.final-cta h2,
.cta-band .eyebrow,
.final-cta .eyebrow {
  color: #fff;
}

.cta-band p,
.final-cta p {
  color: rgba(255, 255, 255, 0.9);
}

.section-heading {
  max-width: 760px;
}

.consultorio {
  display: grid;
  gap: 30px;
}

.consultorio__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.consultorio__images img {
  aspect-ratio: 4 / 3;
}

.online {
  background: #eef5f0;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 86, 97, 0.06);
}

summary {
  min-height: 58px;
  padding: 17px 46px 17px 18px;
  color: var(--petrol-dark);
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  position: relative;
}

summary::marker {
  content: "";
}

summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--petrol);
  font-size: 1.35rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.site-footer {
  padding: 30px 0 104px;
  color: #dce8e5;
  background: var(--petrol-deep);
  text-align: center;
}

.site-footer p {
  margin: 0.25rem 0;
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 8px;
  bottom: 8px;
  z-index: 18;
  min-height: 38px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  color: var(--petrol-dark);
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(6, 63, 72, 0.2);
  font-weight: 800;
  font-size: 0.8rem;
  text-decoration: none;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 18px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 50px;
    justify-content: center;
  }

  .hero__grid,
  .split__grid,
  .split__grid--reverse,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .quick-info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__image {
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .hero .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 50px;
  }

  .hero__image {
    max-width: 246px;
    margin-inline: auto;
  }

  .hero__image img {
    max-height: 292px;
    object-position: center 12%;
  }

  .approach,
  #consultorio,
  .about,
  .faq {
    padding-top: 76px;
  }

  #psicoterapia,
  .approach,
  #consultorio,
  #sobre,
  #online,
  #duvidas,
  #agendar {
    scroll-margin-top: calc(var(--header-height) + 44px);
  }

  .quick-info__grid,
  .consultorio__images {
    grid-template-columns: 1fr;
  }

  .quick-info article,
  .quick-info article:last-child {
    grid-column: auto;
    min-height: 66px;
    padding: 14px 16px;
  }

  .soft-image {
    margin-top: 18px;
  }

  .soft-image img {
    max-height: 330px;
  }

  .consultorio {
    gap: 34px;
  }

  .consultorio__images {
    gap: 18px;
  }

  #consultorio,
  #sobre {
    padding-bottom: 74px;
  }

  .portrait {
    max-width: 216px;
    margin-inline: auto;
  }

  .portrait img {
    max-height: 270px;
    object-position: center 12%;
  }

  .faq {
    padding-bottom: 140px;
  }

  .faq-list {
    gap: 14px;
  }

  .final-cta {
    padding-top: 78px;
    padding-bottom: 134px;
  }

  .site-footer {
    padding-bottom: 142px;
  }

  .btn {
    width: 100%;
  }

  .floating-whatsapp {
    display: inline-flex;
  }
}
