/* =========================================================
   Site — Psicóloga Rosane
   Layout original inspirado em landing pages profissionais.
   ========================================================= */

:root {
  --bg: #F2E8D5;
  --surface: #F2E8D5;
  --surface-2: #E9DCC4;
  --ink: #07566A;
  --muted: #496970;
  --green: #00B4D8;
  --green-2: #00A6C8;
  --sage: #68D2E6;
  --sage-soft: #DDF7FB;
  --sand: #E3D2B4;
  --line: rgba(0, 180, 216, 0.24);
  --white: #ffffff;
  --danger-soft: #fff4d8;
  --danger-ink: #71540a;

  --shadow-sm: 0 12px 36px rgba(40, 55, 50, 0.08);
  --shadow-md: 0 24px 70px rgba(40, 55, 50, 0.12);

  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 42px;

  --container: 1180px;
  --header-h: 84px;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.72;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

::selection {
  background: var(--green);
  color: var(--white);
}

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

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

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

.section {
  position: relative;
  padding: 112px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--green-2);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow.light {
  color: #E8FBFE;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  line-height: 0.98;
}

h1 em {
  color: var(--green-2);
  font-style: italic;
  font-weight: 500;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.35;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.btn:focus-visible,
.text-link:focus-visible,
.desktop-nav a:focus-visible,
.footer a:focus-visible,
.faq-question:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(0, 180, 216, 0.30);
  outline-offset: 4px;
}

.btn-small {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.96rem;
}

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(0, 180, 216, 0.24);
}

.btn-primary:hover {
  background: #009BB9;
  box-shadow: 0 16px 36px rgba(0, 180, 216, 0.28);
}

.btn-secondary {
  color: var(--green);
  border-color: rgba(0, 180, 216, 0.34);
  background: rgba(255, 255, 255, 0.38);
}

.btn-secondary:hover {
  background: var(--white);
}

.btn-light {
  color: var(--green);
  background: var(--white);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.13);
}

.btn-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 255, 255, 0.85);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 180, 216, 0.32);
}

.strong-link {
  color: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(242, 232, 213, 0.88);
  backdrop-filter: blur(15px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(32, 48, 43, 0.06);
}

.nav-wrap {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--sage-soft);
}

.brand-mark svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  color: var(--green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.desktop-nav a {
  position: relative;
  color: #08758B;
  font-size: 1rem;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.desktop-cta {
  color: var(--white);
  background: var(--green);
}

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

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 999;
  padding: 24px 20px 36px;
  background: var(--bg);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu nav > a:not(.btn) {
  padding: 17px 6px;
  border-bottom: 1px solid var(--line);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
}

.mobile-menu .btn {
  margin-top: 20px;
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding-top: 74px;
  padding-bottom: 92px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
  align-items: center;
  gap: 70px;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 34px;
  color: #3F6C74;
  font-size: 0.98rem;
  font-weight: 600;
}

.hero-points > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--sage-soft);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.portrait-card {
  position: absolute;
  inset: 20px 32px 24px 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 180px 180px 34px 34px;
  background: #DDF7FB;
  box-shadow: var(--shadow-md);
}

.portrait-frame {
  height: 100%;
  min-height: 560px;
  overflow: hidden;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 50% 22%;
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(20, 35, 31, 0.24) 100%);
  pointer-events: none;
}

.portrait-note {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 18px;
  color: var(--white);
  background: rgba(0, 118, 142, 0.74);
  backdrop-filter: blur(12px);
}

.portrait-note strong,
.portrait-note small {
  display: block;
}

.portrait-note small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
}

.note-symbol {
  font-size: 1.25rem;
}

.floating-card {
  position: absolute;
  z-index: 3;
  min-width: 196px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 15px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.floating-card span,
.floating-card strong {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-card strong {
  margin-top: 3px;
  font-size: 0.98rem;
}

.floating-card-top {
  top: 92px;
  left: -28px;
}

.floating-card-bottom {
  right: -10px;
  bottom: 88px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.75;
}

.hero-orb-1 {
  top: 140px;
  right: -170px;
  width: 480px;
  height: 480px;
  background: #DDF7FB;
}

.hero-orb-2 {
  bottom: -240px;
  left: -160px;
  width: 420px;
  height: 420px;
  background: #EAD9BA;
}

.statement {
  padding: 0 0 32px;
}

.statement-inner {
  padding: 44px 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement p {
  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.25;
  text-align: center;
}

.statement strong {
  color: var(--green-2);
  font-weight: 600;
}

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

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow::before {
  display: none;
}

.section-heading p {
  max-width: 650px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
}

.when {
  background: var(--surface);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.signal-card {
  position: relative;
  min-height: 260px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease;
}

.signal-card:hover {
  z-index: 2;
  background: var(--bg);
  transform: translateY(-4px);
}

.signal-number {
  display: block;
  margin-bottom: 48px;
  color: var(--sage);
  font-size: 0.9rem;
  font-weight: 700;
}

.signal-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.signal-card p {
  margin-bottom: 0;
  font-size: 1.02rem;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.services {
  overflow: hidden;
  background: #F7EFE1;
}

.service-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 84px;
}

.service-intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.service-intro p {
  max-width: 520px;
}

.service-list {
  border-top: 1px solid rgba(0, 180, 216, 0.22);
}

.service-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(0, 180, 216, 0.22);
}

.service-item h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
}

.service-item p {
  max-width: 560px;
  margin-bottom: 0;
}

.service-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 255, 255, 0.68);
}

.service-icon svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 86px;
}

.about-visual {
  position: relative;
}

.about-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 22px 150px 22px 22px;
  background: var(--sage-soft);
  box-shadow: var(--shadow-sm);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.about-badge {
  position: absolute;
  right: -30px;
  bottom: 38px;
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow-md);
}

.about-badge strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.3rem;
  line-height: 1;
}

.about-badge span {
  margin-top: 5px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.about-lead {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 600;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credentials > div {
  padding: 20px 18px 20px 0;
}

.credentials > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.credentials span,
.credentials strong {
  display: block;
}

.credentials span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
}

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

.professional-id {
  display: flex;
  gap: 12px;
  margin: 0 0 30px;
  padding: 14px 16px;
  border: 1px solid #e4ca7c;
  border-radius: 13px;
  background: var(--danger-soft);
}

.professional-id-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: #b28c22;
  font-size: 0.9rem;
  font-weight: 800;
}

.professional-id p {
  margin: 0;
  color: var(--danger-ink);
  font-size: 0.95rem;
}

.talks {
  padding-top: 0;
  background: var(--bg);
}

.talks-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 80px;
  overflow: hidden;
  padding: 62px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(196, 217, 205, 0.16), transparent 35%),
    var(--green);
}

.talks-box h2 {
  max-width: 760px;
}

.talks-box p {
  color: rgba(255, 255, 255, 0.72);
}

.talks-side {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-left: 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.talks-side p {
  font-size: 1.2rem;
}

.talk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.talk-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.process {
  background: var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  min-height: 260px;
  padding: 36px 38px;
}

.step + .step {
  border-left: 1px solid var(--line);
}

.step-dot {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 700;
}

.step h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.step p {
  margin-bottom: 0;
}

.faq {
  background: #F7EFE1;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 88px;
}

.faq-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.accordion {
  border-top: 1px solid rgba(0, 180, 216, 0.24);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 180, 216, 0.24);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.faq-question > span:first-child {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.42rem;
  font-weight: 600;
}

.faq-plus {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 180, 216, 0.30);
  border-radius: 50%;
  font-size: 1.28rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.faq-question[aria-expanded="true"] .faq-plus {
  color: var(--white);
  background: var(--green);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.faq-answer > p {
  overflow: hidden;
  margin: 0;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer > p {
  padding: 0 54px 26px 4px;
}

.final-cta {
  padding-bottom: 90px;
  background: var(--surface);
}

.final-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 56px 60px;
  border-radius: var(--radius-md);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 55%),
    var(--green);
}

.final-card h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.footer {
  padding: 76px 0 26px;
  color: #dce4e0;
  background: #07566A;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 54px;
}

.brand-footer {
  color: white;
}

.brand-footer .brand-mark {
  color: #DDF7FB;
  background: rgba(255, 255, 255, 0.08);
}

.brand-footer small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
  max-width: 360px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer h3 {
  margin-bottom: 9px;
  color: white;
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer a,
.footer span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.footer a:hover {
  color: white;
}

.footer small {
  color: rgba(255, 255, 255, 0.45);
}

.footer-warning {
  color: #ffe6a8 !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom span,
.footer-bottom a {
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(18, 95, 54, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 40px rgba(18, 95, 54, 0.34);
}

.whatsapp-float svg {
  width: 29px;
  fill: white;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 650ms cubic-bezier(.22,.61,.36,1),
    transform 650ms cubic-bezier(.22,.61,.36,1);
}

.reveal-delay {
  transition-delay: 120ms;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

@media (max-width: 1050px) {
  :root {
    --header-h: 76px;
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.78fr;
    gap: 38px;
  }

  .hero-visual {
    min-height: 540px;
  }

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

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

  .about-grid {
    gap: 56px;
  }

  .talks-box {
    gap: 44px;
    padding: 48px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2 / 4;
  }
}

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

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-grid,
  .service-layout,
  .about-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 54px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow {
    justify-content: center;
  }

  .hero-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 530px);
    min-height: 620px;
    margin: 0 auto;
  }

  .portrait-card {
    inset: 20px;
  }

  .portrait-frame,
  .portrait-frame img {
    min-height: 580px;
  }

  .floating-card-top {
    left: 0;
  }

  .floating-card-bottom {
    right: 0;
  }

  .service-layout {
    gap: 44px;
  }

  .service-intro,
  .faq-intro {
    position: static;
  }

  .about-grid {
    gap: 64px;
  }

  .about-visual {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .about-badge {
    right: 18px;
  }

  .talks-box {
    grid-template-columns: 1fr;
  }

  .talks-side {
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

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

  .step + .step {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .final-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}


@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  p {
    line-height: 1.75;
  }

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

  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-actions .text-link {
    width: min(100%, 360px);
    justify-content: center;
  }

  .hero-points {
    align-items: center;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 520px;
  }

  .portrait-card {
    inset: 20px 0;
    border-radius: 130px 130px 28px 28px;
  }

  .portrait-frame,
  .portrait-frame img {
    min-height: 480px;
  }

  .portrait-note {
    right: 16px;
    bottom: 15px;
    left: 16px;
  }

  .floating-card {
    min-width: 0;
    max-width: 172px;
    padding: 11px 13px;
  }

  .floating-card-top {
    top: 78px;
  }

  .floating-card-bottom {
    bottom: 74px;
  }

  .statement-inner {
    padding: 34px 12px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-card {
    min-height: 220px;
  }

  .signal-number {
    margin-bottom: 34px;
  }

  .service-item {
    grid-template-columns: 54px 1fr;
    gap: 18px;
  }

  .service-icon {
    width: 52px;
    height: 52px;
  }

  .about-badge {
    width: 120px;
    height: 120px;
  }

  .about-badge strong {
    font-size: 1.9rem;
  }

  .credentials {
    grid-template-columns: 1fr;
  }

  .credentials > div {
    padding: 16px 0;
  }

  .credentials > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .talks-box {
    padding: 34px 24px;
    border-radius: 26px;
  }

  .step {
    min-height: auto;
    padding: 30px 12px;
  }

  .step-dot {
    margin-bottom: 25px;
  }

  .faq-question {
    gap: 16px;
  }

  .faq-question > span:first-child {
    font-size: 1.15rem;
  }

  .final-card {
    padding: 38px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}


/* =========================================================
   Correções mobile finais — SOMENTE layout/posicionamento.
   A paleta acima permanece exatamente a mesma da V3 aprovada.
   ========================================================= */
@media (max-width: 820px) {
  body.menu-open main,
  body.menu-open footer,
  body.menu-open .whatsapp-float {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #mobile-menu:not([hidden]) {
    display: block !important;
    position: fixed !important;
    top: var(--header-h) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100dvh - var(--header-h)) !important;
    padding: 22px 24px 36px !important;
    overflow-y: auto !important;
    background: var(--bg) !important;
    opacity: 1 !important;
    z-index: 5000 !important;
    border-top: 1px solid var(--line) !important;
  }

  #mobile-menu nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: min(100%, 420px) !important;
    margin: 0 auto !important;
  }

  #mobile-menu nav > a:not(.btn) {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 6px !important;
    border-bottom: 1px solid var(--line) !important;
    color: var(--ink) !important;
    background: transparent !important;
    font-family: "DM Sans", system-ui, sans-serif !important;
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    transform: none !important;
  }

  #mobile-menu .btn {
    width: 100% !important;
    margin-top: 22px !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 620px) {
  .hero-visual {
    min-height: 575px !important;
    padding-top: 14px !important;
  }

  .floating-card {
    min-width: 0 !important;
    max-width: 158px !important;
    padding: 9px 11px !important;
  }

  .floating-card span {
    font-size: 0.70rem !important;
    line-height: 1.2 !important;
  }

  .floating-card strong {
    margin-top: 4px !important;
    font-size: 0.86rem !important;
    line-height: 1.25 !important;
  }

  .floating-card-top {
    top: 12px !important;
    left: 0 !important;
  }

  .floating-card-bottom {
    right: 0 !important;
    bottom: 205px !important;
  }

  .portrait-note {
    right: 16px !important;
    bottom: 15px !important;
    left: 16px !important;
    padding: 13px 14px !important;
  }

  .portrait-note strong {
    font-size: 0.93rem !important;
    line-height: 1.2 !important;
  }

  .portrait-note small {
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
  }
}
