/* ============================================================
   Helen Morelli Psicologia — style.css
   Design: Digital Bloom
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --primary:       #bfa7d6;
  --primary-dark:  #8e7bb5;
  --primary-light: #e6ddf2;
  --primary-xlight:#f0ebf8;

  --accent:        #8e7bb5;
  --accent-hover:  #7a6aa0;

  --dark:          #4b2e5a;
  --text:          #3d2b22;
  --text-mid:      #6b4f42;
  --text-light:    #9a7a6e;

  --bg:            #f5efe6;
  --bg-warm:       #faf5ef;
  --bg-light:      #f0ebf8;

  --border:        #e6ddf2;
  --shadow-sm:     0 2px 12px rgba(42, 31, 26, 0.07);
  --shadow-md:     0 8px 32px rgba(42, 31, 26, 0.10);
  --shadow-lg:     0 20px 60px rgba(42, 31, 26, 0.13);

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     40px;

  --font-heading:  'Poppins', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;

  --container:     1160px;

  --header-h:      72px;

  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 500;
  color: var(--dark);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); }

em { font-style: italic; color: var(--accent); }

p { max-width: 68ch; }

strong { font-weight: 600; color: var(--dark); }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--warm  { background: var(--bg-warm); }
.section--light { background: var(--bg-light); }
.section--map   { background: var(--bg); padding-bottom: 0; }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section__title { margin-bottom: 1rem; }

.section__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.075rem);
  color: var(--text-mid);
  max-width: 60ch;
  margin: 0 auto;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--large { padding: 1rem 2.1rem; font-size: 0.95rem; }
.btn--sm    { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
.btn--full  { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(142, 123, 181, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.btn--white:hover,
.btn--white:focus-visible {
  background: var(--primary-xlight);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.3);
}

.btn--text {
  background: transparent;
  color: var(--accent);
  border: none;
  padding-left: 0;
  padding-right: 0;
  font-weight: 500;
}
.btn--text:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Header ─────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 500;
  transition: var(--transition);
  background: transparent;
}

.header.is-scrolled {
  background: rgba(255, 252, 250, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.header.is-scrolled .header__logo-text { color: var(--dark); }
.header.is-scrolled .nav__link        { color: var(--text); }
.header.is-scrolled .menu-toggle span { background: var(--dark); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 600;
  position: relative;
}

.header__logo-img { height: 45px; width: auto; }

/* Logo: sempre dark (hero claro) */
.header__logo-img--light { display: none; }
.header__logo-img--dark  { display: block; }

.header.is-scrolled .header__logo-img--light { display: none; }
.header.is-scrolled .header__logo-img--dark  { display: block; }

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition);
}

/* ── Navigation (desktop) ───────────────────────────────────── */
.nav__list-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--accent);
  background: rgba(142, 123, 181, 0.10);
}

.header.is-scrolled .nav__link:hover,
.header.is-scrolled .nav__link.is-active {
  background: var(--primary-xlight);
  color: var(--accent);
}

.nav__link--cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 500;
  margin-left: 0.5rem;
}

.nav__link--cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}

/* ── Mobile Nav Overlay ─────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav__close:hover { color: #fff; background: rgba(255,255,255,0.1); }

.mobile-nav__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.mobile-nav__link {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 2.5rem;
  display: block;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav__link:hover { background: rgba(255,255,255,0.08); color: #fff; }

.mobile-nav__link--cta {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 0.85rem 2rem;
}

.mobile-nav__link--cta:hover { background: var(--accent-hover); }

/* ── Mobile Menu ─────────────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  position: relative;
  z-index: 600;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #fff;
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #fff;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f5efe6 0%, #e6ddf2 50%, #f0ebf8 100%);
}

/* Decorative radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(191,167,214,0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(245, 239, 230, 0.4) 0%,
    rgba(230, 221, 242, 0.2) 50%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
  width: 100%;
}

.hero__text { max-width: 580px; }

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero__headline em {
  color: var(--primary);
  font-style: italic;
}

.hero__subheadline {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero visual / photo */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero__photo-frame {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-xl) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--primary) 100%);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Float card — sobreposto no canto inferior esquerdo da foto */
.hero__float-card {
  position: absolute;
  bottom: 1.75rem;
  left: -1.75rem;
  z-index: 2;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.125rem;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  box-shadow: var(--shadow-md);
  max-width: 240px;
  animation: floatCard 3s ease-in-out infinite;
}

.hero__float-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}

.hero__float-text {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.5;
  font-style: italic;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-arrow {
  display: block;
  width: 26px;
  height: 26px;
  border-right: 2px solid rgba(142, 123, 181, 0.6);
  border-bottom: 2px solid rgba(142, 123, 181, 0.6);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50%       { transform: rotate(45deg) translateY(5px); opacity: 0.4; }
}

/* ── Pain Cards ─────────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}

.pain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.pain-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pain-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.875rem;
  display: block;
}

.pain-card__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.625rem;
  color: var(--dark);
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── Solution ───────────────────────────────────────────────── */
.solution-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.solution__img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  background: var(--primary-light);
}

.solution__img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.solution__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.solution__text p { color: var(--text-mid); line-height: 1.75; }
.solution__text .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ── Services ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.service-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.service-card h3 { font-size: 1.3rem; }

.service-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.service-card__list li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding-left: 1.1rem;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-dark);
}

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1a3d 100%);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-section__text { flex: 1; min-width: 280px; }

.cta-section__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff;
  margin-bottom: 0.875rem;
}

.cta-section__text p {
  color: rgba(255,255,255,0.8);
  max-width: 56ch;
  font-size: 1rem;
}

.cta-section__eyebrow { color: var(--primary) !important; }

.cta-section__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Differentials ──────────────────────────────────────────── */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}

.differential {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
}

.differential:hover {
  background: var(--bg-warm);
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.differential__icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.differential h3 { font-size: 1.1rem; }

.differential p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

/* ── About ──────────────────────────────────────────────────── */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about__img-frame {
  border-radius: var(--radius-lg) var(--radius-xl) var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
  background: var(--primary-light);
}

.about__img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about__cred {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.25rem;
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  border: 1px solid var(--border);
}

.about__cred p { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

.about__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__text p { color: var(--text-mid); line-height: 1.8; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.social-link:hover { color: var(--accent-hover); gap: 0.75rem; }

/* ── Steps / Como Funciona ──────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.step:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.step__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
}

.step h3 { font-size: 1.05rem; }

.step p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0 auto;
}

.step__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
}

.step__connector::after {
  content: '→';
  color: var(--primary);
  font-size: 1.5rem;
}

/* ── Contact / Form ─────────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__info p { color: var(--text-mid); }

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-mid);
  transition: color var(--transition);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
}

.contact__link:hover { color: var(--accent); border-color: var(--primary); }
.contact__link-icon  { color: var(--accent); flex-shrink: 0; }

.contact__form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--bg-warm);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(142, 123, 181, 0.12);
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #c0392b;
  background: #fff5f5;
}

.form-error {
  font-size: 0.78rem;
  color: #c0392b;
  font-weight: 500;
  min-height: 1rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
  max-width: none;
}

/* ── Map ────────────────────────────────────────────────────── */
.map-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 3rem;
}

.map-address {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.map-address__content {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.map-address__content h3 { font-size: 1.1rem; }

.map-address__content address {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.map-address__cta { align-self: flex-start; }

.map-address__detail { display: flex; flex-direction: column; gap: 0.75rem; }

.map-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.map-frame iframe { display: block; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,0.75); }

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer__logo { height: 52px; width: auto; filter: brightness(0) invert(1); }

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
}

.footer__brand { display: flex; flex-direction: column; gap: 1rem; }

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 30ch;
}

.footer__social { display: flex; gap: 0.875rem; }

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer__social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.footer__list { display: flex; flex-direction: column; gap: 0.6rem; }

.footer__list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  line-height: 1.5;
}

.footer__list a:hover { color: var(--primary); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); }

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); max-width: none; }

.footer__bottom a { color: var(--primary); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--primary-dark); }

/* ── WhatsApp Float ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 400;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float__label { display: none; }

/* ── Animations ─────────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

.pain-grid .animate-on-scroll:nth-child(2),
.differentials-grid .animate-on-scroll:nth-child(2),
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }

.pain-grid .animate-on-scroll:nth-child(3),
.differentials-grid .animate-on-scroll:nth-child(3),
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.pain-grid .animate-on-scroll:nth-child(4),
.differentials-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.pain-grid .animate-on-scroll:nth-child(5),
.differentials-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }

.pain-grid .animate-on-scroll:nth-child(6),
.differentials-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ── Tablet ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .step__connector { display: none; }

  .solution-wrap { grid-template-columns: 1fr; }
  .solution__visual { order: -1; }
  .solution__img-frame { width: 100%; max-width: 100%; aspect-ratio: unset; height: 420px; min-height: unset; }

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

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

  .map-wrap { grid-template-columns: 260px 1fr; }
}

@media (max-width: 900px) {
  .about-wrap { grid-template-columns: 1fr; }
  .about__visual { max-width: 100%; margin: 0 auto; }
  .about__img-frame { aspect-ratio: unset; height: 420px; border-radius: var(--radius-lg); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Show hamburger, hide desktop nav */
  .menu-toggle { display: flex; }
  .nav__list-desktop { display: none; }

  /* Menu toggle always on top */
  .menu-toggle {
    position: relative;
    z-index: 10000;
  }

  /* When menu open, force white spans (dark overlay behind) */
  .menu-toggle.is-open span { background: #fff !important; }

  /* ── Hero mobile: foto acima do texto ── */
  .hero {
    min-height: auto;
    padding-top: 0;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: var(--header-h);
    padding-bottom: 3rem;
  }

  /* Foto primeiro */
  .hero__visual {
    order: -1;
    width: 100%;
    align-items: stretch;
    margin-bottom: 0;
  }

  .hero__photo-frame {
    width: 100%;
    max-width: 100%;
    aspect-ratio: unset;
    height: 420px;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  /* Float card: ocultar no mobile para não quebrar layout */
  .hero__float-card { display: none; }

  /* Texto abaixo da foto */
  .hero__text {
    max-width: 100%;
    text-align: center;
    padding-top: 2rem;
  }

  .hero__subheadline { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }

  /* Overlay mobile igual desktop */
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(245,239,230,0.3) 0%,
      rgba(230,221,242,0.15) 50%,
      transparent 100%
    );
  }

  /* ── CTA section ── */
  .cta-section__inner { flex-direction: column; text-align: center; }
  .cta-section__text p { margin: 0 auto; }

  /* ── Contact ── */
  .contact-wrap { grid-template-columns: 1fr; }

  /* ── Map ── */
  .map-wrap { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; }
  .footer__brand { grid-column: auto; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  /* ── WhatsApp float ── */
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 50px; height: 50px; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .step__connector { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .pain-grid,
  .differentials-grid { grid-template-columns: 1fr; }

  .whatsapp-float { width: 46px; height: 46px; }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
  .header, .whatsapp-float, .hero__scroll-cue { display: none; }
  .hero { min-height: auto; }
}
