/* =========================================================
   Dra. Berta Ponte, Landing Pages Ansiedade e Depressão
   Arquivo: assets/css/style.css
   Foco: performance, responsividade, sofisticação e conversão ética
========================================================= */

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

:root {
  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --sage: #7d9e8c;
  --sage-dark: #3f5f52;
  --sage-soft: #dde8e1;
  --cream: #f7f3ed;
  --gold: #b89f74;
  --gold-soft: #e6d7bd;
  --ink: #1f2e29;
  --text: #47564f;
  --muted: #748078;
  --white: #ffffff;
  --whatsapp: #25d366;

  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(63, 95, 82, 0.16);
  --line-light: rgba(255, 255, 255, 0.2);

  --shadow-sm: 0 12px 32px rgba(31, 46, 41, 0.1);
  --shadow-md: 0 22px 70px rgba(31, 46, 41, 0.16);
  --shadow-lg: 0 34px 110px rgba(31, 46, 41, 0.22);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-xl: 48px;
  --radius-pill: 999px;

  --container: 1180px;
  --header-height: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-lead-modal-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  color: #fff;
  background: rgba(125, 158, 140, 0.65);
}

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

.section {
  position: relative;
  padding: clamp(72px, 8vw, 118px) 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--sage-dark);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s var(--ease);
}

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 300;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  transform-origin: left;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(184, 159, 116, 0.35);
  border-radius: var(--radius-pill);
  color: #f5e8cf;
  background: rgba(184, 159, 116, 0.15);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow.sage,
.sage {
  color: var(--sage-dark);
  background: rgba(125, 158, 140, 0.13);
  border-color: rgba(125, 158, 140, 0.25);
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 18px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  color: #14221d;
  background: linear-gradient(135deg, #f1dfbf 0%, var(--gold) 42%, #d9c291 100%);
  box-shadow: 0 18px 44px rgba(184, 159, 116, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 24px 58px rgba(184, 159, 116, 0.36);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-secondary.light {
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(63, 95, 82, 0.18);
}

.btn-full {
  width: 100%;
}

.btn[disabled] {
  cursor: wait;
  opacity: 0.72;
  pointer-events: none;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link i {
  color: var(--gold);
  transition: transform 0.2s var(--ease);
}

.text-link:hover i {
  transform: translateX(4px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(31, 46, 41, 0.72), rgba(31, 46, 41, 0.16));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 243, 237, 0.88);
  border-color: rgba(63, 95, 82, 0.13);
  box-shadow: 0 16px 42px rgba(31, 46, 41, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(178px, 18vw, 218px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 800;
}

.site-header.is-scrolled .main-nav {
  color: var(--sage-dark);
}

.main-nav a {
  position: relative;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 10px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(37, 211, 102, 0.34);
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(37, 211, 102, 0.16);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
}

.site-header.is-scrolled .header-cta {
  color: var(--sage-dark);
  background: rgba(37, 211, 102, 0.11);
}

.header-cta i {
  color: var(--whatsapp);
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + clamp(34px, 6vh, 72px));
  padding-bottom: clamp(42px, 7vh, 78px);
  color: #fff;
  background: #1f2e29;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31, 46, 41, 0.94) 0%, rgba(31, 46, 41, 0.82) 46%, rgba(31, 46, 41, 0.36) 100%),
    var(--hero-image) center / cover no-repeat;
  transform: scale(1.01);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 75%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(8px);
}

.hero::before {
  width: 360px;
  height: 360px;
  right: -140px;
  top: 130px;
  background: rgba(184, 159, 116, 0.2);
}

.hero::after {
  width: 520px;
  height: 520px;
  left: -190px;
  bottom: -220px;
  background: rgba(125, 158, 140, 0.24);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.74fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
}

.hero-copy,
.approach-copy,
.contact-copy,
.about-copy {
  display: grid;
  gap: 20px;
}

.hero h1,
.section-head h2,
.approach-copy h2,
.about-copy h2,
.office-card h2,
.cross-card h2,
.contact-copy h2,
.index-shell h1,
.modal-head h2 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 3.95vw, 4.2rem);
  line-height: 0.95;
}

.hero-lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.trust-row span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.trust-row i {
  color: #f4dfba;
}

.hero-panel {
  justify-self: end;
  width: min(100%, 450px);
}

.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.hero-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 22px;
  padding: clamp(26px, 4vw, 38px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  pointer-events: none;
}

.panel-kicker {
  position: absolute;
  top: 32px;
  left: 32px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(125, 158, 140, 0.32);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card p {
  position: relative;
  z-index: 1;
  font-family: var(--font-title);
  color: #fff;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.signature {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  color: rgba(255, 255, 255, 0.82);
}

.signature strong {
  color: #fff;
  font-size: 0.98rem;
}

.hero-panel-photo {
  align-self: center;
}

.hero-portrait-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: min(64vh, 610px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(31, 46, 41, 0.06) 0%, rgba(31, 46, 41, 0.18) 42%, rgba(31, 46, 41, 0.88) 100%),
    radial-gradient(circle at 75% 12%, rgba(184, 159, 116, 0.28), transparent 34%);
  pointer-events: none;
}

.hero-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.hero-portrait-overlay {
  position: absolute;
  left: clamp(16px, 4vw, 28px);
  right: clamp(16px, 4vw, 28px);
  bottom: clamp(16px, 4vw, 28px);
  z-index: 2;
  display: grid;
  gap: 9px;
  padding: clamp(16px, 3vw, 22px);
  border-radius: 26px;
  color: #fff;
  background: rgba(31, 46, 41, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.hero-portrait-overlay .panel-kicker {
  position: static;
  color: #fff;
  background: rgba(125, 158, 140, 0.34);
  font-size: 0.66rem;
}

.hero-portrait-overlay p {
  font-family: var(--font-title);
  color: #fff;
  font-size: clamp(1.08rem, 1.45vw, 1.44rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-portrait-overlay strong {
  color: #fff;
  font-size: 0.9rem;
}

.hero-portrait-overlay small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
}

.intro-strip {
  padding: clamp(52px, 6vw, 82px) 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(125, 158, 140, 0.14), transparent 32%),
    linear-gradient(180deg, #f7f3ed 0%, #f4efe7 100%);
  border-top: 1px solid rgba(184, 159, 116, 0.2);
}

.intro-shell {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.intro-head {
  max-width: 760px;
  display: grid;
  gap: 12px;
}

.intro-head p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}

.strip-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-stat {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(63, 95, 82, 0.13);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7));
  box-shadow: 0 20px 60px rgba(31, 46, 41, 0.1);
  backdrop-filter: blur(18px);
}

.mini-stat i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: var(--sage-dark);
  background: rgba(125, 158, 140, 0.14);
}

.mini-stat strong {
  font-family: var(--font-title);
  color: var(--sage-dark);
  font-size: clamp(1.52rem, 2.2vw, 2.2rem);
  line-height: 1;
}

.mini-stat span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.section-head {
  max-width: 800px;
  display: grid;
  gap: 14px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head h2,
.approach-copy h2,
.about-copy h2,
.office-card h2,
.cross-card h2,
.contact-copy h2 {
  color: var(--ink);
  font-size: clamp(2.18rem, 3.5vw, 3.45rem);
  line-height: 0.99;
}

.section-head p,
.approach-copy p,
.about-copy p,
.office-card p,
.cross-card p,
.contact-copy p {
  max-width: 680px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.82;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.sticky-head {
  position: sticky;
  top: calc(var(--header-height) + 34px);
}

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

.soft-card {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 15px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(63, 95, 82, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.soft-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 159, 116, 0.35);
  box-shadow: var(--shadow-md);
}

.icon-badge {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--sage-dark);
  background: linear-gradient(135deg, rgba(125, 158, 140, 0.18), rgba(184, 159, 116, 0.14));
}

.soft-card h3,
.step-card h3 {
  font-family: var(--font-title);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.soft-card p,
.step-card p,
.authority-list span,
.contact-panel span,
.form-note {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.72;
}

.approach {
  color: #fff;
  background:
    radial-gradient(circle at 80% 0%, rgba(184, 159, 116, 0.24), transparent 34%),
    linear-gradient(135deg, #2e473d 0%, #1e3029 58%, #17241f 100%);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.74fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
  background: #26382f;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  opacity: 0.88;
}

.image-frame figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  color: #fff;
  background: rgba(31, 46, 41, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  font-size: 0.86rem;
  font-weight: 800;
}

.approach-copy h2,
.approach-copy p {
  color: #fff;
}

.approach-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.65;
}

.check-list li i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border-radius: 999px;
  color: #13231d;
  background: var(--gold-soft);
}

.check-list strong {
  display: block;
  color: #fff;
  margin-bottom: 3px;
}

.route-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(125, 158, 140, 0.14), transparent 30%),
    linear-gradient(180deg, #f7f3ed 0%, #fffaf3 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(63, 95, 82, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.step-card > span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  font-weight: 900;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
}

.authority-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.authority-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(63, 95, 82, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
}

.authority-list i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--sage-dark);
  background: rgba(125, 158, 140, 0.15);
}

.authority-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(63, 95, 82, 0.13);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
}

.portrait-card img {
  width: 100%;
  height: min(72vh, 650px);
  object-fit: cover;
}

.portrait-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border-radius: 22px;
  color: #fff;
  background: rgba(31, 46, 41, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.portrait-card figcaption strong {
  font-family: var(--font-title);
  font-size: 1.3rem;
}

.portrait-card figcaption span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.85rem;
  font-weight: 700;
}

.office-section {
  padding-top: 0;
  background: var(--cream);
}

.office-card,
.cross-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(63, 95, 82, 0.13);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(221, 232, 225, 0.48));
  box-shadow: var(--shadow-md);
}

.office-details {
  display: grid;
  gap: 12px;
}

.office-details a,
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
}

.office-details i,
.contact-list i {
  width: 20px;
  color: var(--sage-dark);
}

.faq-section {
  color: #fff;
  background:
    radial-gradient(circle at 14% 10%, rgba(184, 159, 116, 0.22), transparent 30%),
    linear-gradient(135deg, #17241f 0%, #2e473d 62%, #17241f 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.86fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.faq-section .section-head h2,
.faq-section .section-head p {
  color: #fff;
}

.faq-section .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

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

details {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  color: #fff;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--gold-soft);
  font-weight: 900;
}

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

details p {
  padding: 0 20px 20px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
  font-size: 0.94rem;
}

.cross-section {
  background: linear-gradient(180deg, #f7f3ed 0%, #eef5f0 100%);
}

.contact-section {
  color: #fff;
  background: #1f2e29;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31, 46, 41, 0.94), rgba(31, 46, 41, 0.74)),
    url('https://bertapontepsicologa.com.br/assets/img/bg-rodape-ansiedade.webp') center / cover no-repeat;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.contact-copy h2,
.contact-copy p {
  color: #fff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 11px;
  margin-top: 8px;
}

.contact-list a {
  color: rgba(255, 255, 255, 0.82);
}

.contact-list i {
  color: var(--gold-soft);
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.contact-panel strong {
  font-family: var(--font-title);
  color: #fff;
  font-size: clamp(1.6rem, 2.5vw, 2.28rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-panel span,
.contact-panel .form-note {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #17241f;
  padding: 44px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
}

.footer-grid img {
  margin-bottom: 14px;
}

.footer-grid p {
  max-width: 440px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 0.84rem;
  font-weight: 800;
}

.footer-nav a,
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease);
}

.lead-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 36, 31, 0.72);
  backdrop-filter: blur(10px);
}

.lead-modal__dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(63, 95, 82, 0.14);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.22s var(--ease);
}

.lead-modal.is-open .lead-modal__dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: var(--sage-dark);
  background: rgba(125, 158, 140, 0.12);
  cursor: pointer;
}

.modal-head {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  padding-right: 34px;
}

.modal-head h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.modal-head p {
  color: var(--text);
  line-height: 1.75;
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.lead-form input:not(.hp-field) {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid rgba(63, 95, 82, 0.16);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(247, 243, 237, 0.72);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.lead-form input:focus {
  border-color: rgba(125, 158, 140, 0.74);
  box-shadow: 0 0 0 4px rgba(125, 158, 140, 0.14);
  background: #fff;
}

.lead-form input.is-invalid {
  border-color: #b94b4b;
  box-shadow: 0 0 0 4px rgba(185, 75, 75, 0.12);
}

.field-error {
  min-height: 16px;
  color: #b94b4b;
  font-size: 0.78rem;
  font-weight: 700;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.index-page {
  min-height: 100svh;
  color: #fff;
  background: #1f2e29;
  isolation: isolate;
}

.index-page::before,
.index-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.index-page::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(31, 46, 41, 0.96) 0%, rgba(31, 46, 41, 0.88) 46%, rgba(31, 46, 41, 0.54) 100%),
    var(--index-bg) center / cover no-repeat;
}

.index-page::after {
  z-index: -1;
  background:
    radial-gradient(circle at 12% 16%, rgba(125, 158, 140, 0.28), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(184, 159, 116, 0.24), transparent 28%);
}

.index-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100svh;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.64fr);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(28px, 5vw, 64px) 0;
}

.index-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.index-logo {
  width: min(250px, 70vw);
  height: auto;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.index-shell h1 {
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(2.65rem, 4.4vw, 4.65rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.index-shell p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.82;
}

.index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.index-tags span,
.index-contact a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.index-tags i,
.index-contact i {
  color: #f1dfbf;
}

.index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.index-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.index-visual {
  justify-self: end;
  width: min(100%, 430px);
}

.index-portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.index-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(31, 46, 41, 0.02), rgba(31, 46, 41, 0.2) 48%, rgba(31, 46, 41, 0.86));
}

.index-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-portrait figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border-radius: 22px;
  color: #fff;
  background: rgba(31, 46, 41, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.index-portrait figcaption strong {
  font-family: var(--font-title);
  font-size: 1.25rem;
}

.index-portrait figcaption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .index-shell,
  .two-col,
  .approach-grid,
  .about-grid,
  .faq-grid,
  .contact-grid,
  .office-card,
  .cross-card {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .index-visual {
    justify-self: stretch;
    width: 100%;
  }

  .hero-card {
    min-height: 320px;
  }

  .sticky-head {
    position: relative;
    top: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-grid p {
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 62px 0;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
  }

  .brand img {
    width: 174px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 44px);
  }

  .hero-portrait-card {
    min-height: 460px;
  }

  .index-shell {
    padding: 28px 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  .hero-actions,
  .index-actions,
  .index-contact {
    display: grid;
  }

  .hero-actions .btn,
  .index-actions .btn,
  .index-contact a {
    width: 100%;
  }

  .strip-grid,
  .cards-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }


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

  .portrait-card img {
    height: 480px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .lead-modal {
    padding: 12px;
  }

  .lead-modal__dialog {
    border-radius: 24px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}


.about-section .eyebrow.sage {
  color: var(--sage-dark);
  background: rgba(125, 158, 140, 0.14);
  border-color: rgba(125, 158, 140, 0.28);
}
