/* Landing page para clínica de psicologia */

:root {
  --color-ink: #20302d;
  --color-ink-strong: #102320;
  --color-muted: #65736e;
  --color-soft: #f8f5ee;
  --color-surface: #fffdf8;
  --color-card: #ffffff;
  --color-sage: #6d8378;
  --color-sage-dark: #415d54;
  --color-sage-deep: #263c36;
  --color-clay: #b68066;
  --color-gold: #c7a56d;
  --color-blue: #dfecef;
  --color-border: #e5ddd0;
  --shadow-soft: 0 16px 42px rgba(31, 47, 43, 0.08);
  --shadow-lift: 0 26px 76px rgba(31, 47, 43, 0.14);
  --radius-card: 8px;
  --radius-pill: 999px;
  --motion: 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  --whatsapp-bottom: max(24px, env(safe-area-inset-bottom));
  --font-body: "Open Sans", Arial, sans-serif;
  --font-title: "Montserrat", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  width: 100%;
}

body::before {
  background:
    linear-gradient(130deg, rgba(223, 236, 239, 0.64), rgba(248, 245, 238, 0) 43%),
    linear-gradient(310deg, rgba(199, 165, 109, 0.16), rgba(255, 253, 248, 0) 50%);
  content: "";
  height: 680px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-ink-strong);
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.05;
  max-width: 840px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.16;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
}

p {
  color: var(--color-muted);
  font-size: 17px;
  margin: 0;
  overflow-wrap: anywhere;
}

a,
button {
  touch-action: manipulation;
  transition: background-color var(--motion), border-color var(--motion), color var(--motion), transform var(--motion), box-shadow var(--motion), opacity var(--motion);
}

a {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(109, 131, 120, 0.38);
  outline-offset: 4px;
}

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

iframe {
  max-width: 100%;
}

/* Header */
.site-header {
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(229, 221, 208, 0.82);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav {
  padding: 14px 0;
}

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

.brand:hover {
  color: var(--color-sage-dark);
  transform: translateY(-1px);
}

.brand-logo-shell {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.brand-logo-shell img {
  display: block;
  height: 48px;
  max-width: 176px;
  object-fit: contain;
  width: auto;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, var(--color-sage-dark), var(--color-clay));
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  box-shadow: 0 14px 26px rgba(65, 93, 84, 0.18);
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-text strong {
  color: var(--color-ink-strong);
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.brand-text small {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav .nav-link {
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 3px;
  padding: 10px 13px;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover {
  background: rgba(109, 131, 120, 0.1);
  color: var(--color-sage-dark);
}

.nav-cta,
.mobile-action,
.button {
  align-items: center;
  border-radius: var(--radius-pill);
  display: inline-flex;
  font-family: var(--font-title);
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0;
}

.nav-cta {
  background: var(--color-sage-dark);
  box-shadow: 0 12px 28px rgba(65, 93, 84, 0.16);
  color: #ffffff;
  font-size: 14px;
  margin-left: 12px;
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

.mobile-action {
  background: var(--color-sage-dark);
  color: #ffffff;
  height: 44px;
  margin-left: auto;
  margin-right: 12px;
  width: 44px;
}

.nav-cta:hover,
.mobile-action:hover {
  background: var(--color-clay);
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-cta:hover i,
.mobile-action:hover i,
.button:hover i,
.text-link:hover i,
.contact-card:hover i,
.quick-links a:hover i,
.value-card:hover i,
.process-card:hover i,
.floating-whatsapp:hover i {
  transform: scale(1.06);
}

.menu-button {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  height: 44px;
  padding: 0;
  width: 44px;
}

.menu-button:focus {
  box-shadow: none;
}

.menu-button .navbar-toggler-icon {
  background-image: none;
  height: 2px;
  position: relative;
  width: 21px;
}

.menu-button .navbar-toggler-icon,
.menu-button .navbar-toggler-icon::before,
.menu-button .navbar-toggler-icon::after {
  background: var(--color-ink-strong);
  border-radius: var(--radius-pill);
  display: inline-block;
}

.menu-button .navbar-toggler-icon::before,
.menu-button .navbar-toggler-icon::after {
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 21px;
}

.menu-button .navbar-toggler-icon::before {
  top: -7px;
}

.menu-button .navbar-toggler-icon::after {
  top: 7px;
}

/* Shared */
.section {
  padding: 108px 0;
  position: relative;
}

.section-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-sage-dark);
  display: inline-flex;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0;
  min-height: 36px;
  padding: 0 14px;
}

.section-heading {
  margin-bottom: 42px;
}

.split-heading {
  align-items: end;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
}

.split-heading h2,
.centered-heading h2 {
  margin-top: 16px;
}

.split-heading p {
  border-left: 3px solid var(--color-clay);
  color: var(--color-ink);
  font-size: 19px;
  padding-left: 24px;
}

.centered-heading {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  text-align: center;
}

.centered-heading p {
  margin: 18px auto 0;
  max-width: 630px;
}

.button {
  border: 2px solid transparent;
  font-size: 16px;
  min-height: 54px;
  padding: 0 24px;
  text-align: center;
}

.button-primary {
  background: var(--color-sage-dark);
  box-shadow: 0 16px 34px rgba(65, 93, 84, 0.18);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--color-clay);
  box-shadow: 0 18px 42px rgba(182, 128, 102, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--color-border);
  color: var(--color-ink-strong);
}

.button-secondary:hover {
  background: #ffffff;
  border-color: var(--color-sage);
  box-shadow: 0 14px 30px rgba(31, 47, 43, 0.08);
  color: var(--color-sage-dark);
  transform: translateY(-2px);
}

.button-light {
  background: #ffffff;
  color: var(--color-sage-deep);
}

.button-light:hover {
  background: var(--color-blue);
  color: var(--color-sage-deep);
}

.icon-box {
  align-items: center;
  background: var(--color-blue);
  border-radius: 50%;
  color: var(--color-sage-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 22px;
  height: 52px;
  justify-content: center;
  transition: background-color var(--motion), color var(--motion), transform var(--motion);
  width: 52px;
}

/* Hero */
.hero-section {
  overflow: hidden;
  padding: 88px 0 72px;
  position: relative;
}

.hero-section::before {
  background:
    linear-gradient(120deg, rgba(248, 245, 238, 0) 0%, rgba(248, 245, 238, 0.96) 42%, rgba(223, 236, 239, 0.7) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0));
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

.hero-section::after {
  background: linear-gradient(90deg, rgba(199, 165, 109, 0.42), rgba(109, 131, 120, 0.06), rgba(223, 236, 239, 0.5));
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.8fr);
}

.hero-brand-line {
  color: var(--color-sage-dark);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  margin-top: 28px;
}

.hero-copy h1 {
  margin-top: 18px;
}

.hero-lead {
  color: #52625d;
  font-size: 20px;
  margin-top: 22px;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  max-width: 760px;
}

.trust-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(229, 221, 208, 0.9);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 32px rgba(31, 47, 43, 0.05);
  color: var(--color-ink);
  display: flex;
  gap: 10px;
  min-height: 70px;
  padding: 14px;
  transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion), background-color var(--motion);
}

.trust-item:hover {
  background: #ffffff;
  border-color: rgba(109, 131, 120, 0.38);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.trust-item i {
  color: var(--color-clay);
  font-size: 21px;
  transition: transform var(--motion);
}

.trust-item span {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

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

.image-feature {
  background: #ffffff;
  border: 1px solid rgba(229, 221, 208, 0.95);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  margin: 0;
  overflow: hidden;
  position: relative;
  transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion);
}

.image-feature:hover {
  border-color: rgba(199, 165, 109, 0.72);
  box-shadow: 0 30px 84px rgba(31, 47, 43, 0.16);
  transform: translateY(-6px);
}

.hero-image-frame {
  overflow: hidden;
  position: relative;
}

.hero-image-frame::after {
  background:
    linear-gradient(180deg, rgba(16, 35, 32, 0), rgba(16, 35, 32, 0.18)),
    linear-gradient(120deg, rgba(255, 253, 248, 0.18), rgba(109, 131, 120, 0.08));
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.image-feature img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--motion);
  width: 100%;
}

.image-feature:hover img {
  transform: scale(1.03);
}

.image-feature figcaption {
  background: #ffffff;
  display: grid;
  gap: 6px;
  padding: 24px;
}

.image-feature figcaption span {
  color: var(--color-sage-dark);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.image-feature figcaption strong {
  color: var(--color-ink-strong);
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.floating-card {
  align-items: flex-start;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(229, 221, 208, 0.95);
  border-radius: var(--radius-card);
  bottom: 150px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 14px;
  left: -34px;
  max-width: 300px;
  padding: 18px;
  position: absolute;
}

.hero-visual .floating-card {
  transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion);
}

.hero-visual .floating-card:hover {
  border-color: rgba(109, 131, 120, 0.52);
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.floating-card i {
  align-items: center;
  background: var(--color-sage-dark);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 19px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

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

.floating-card strong {
  color: var(--color-ink-strong);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.floating-card span {
  color: var(--color-muted);
  font-size: 14px;
  margin-top: 5px;
}

/* Quick links */
.intro-band {
  background: var(--color-sage-deep);
  padding: 0;
}

.intro-band .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1320px;
}

.quick-links a {
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: grid;
  gap: 3px 16px;
  grid-template-columns: 46px 1fr;
  justify-content: center;
  min-height: 118px;
  padding: 26px 34px;
}

.quick-links a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
}

.quick-links i {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-blue);
  display: inline-flex;
  font-size: 22px;
  grid-row: span 2;
  height: 46px;
  justify-content: center;
  transition: transform var(--motion), background-color var(--motion);
  width: 46px;
}

.quick-links span,
.quick-links strong {
  display: block;
  line-height: 1.25;
}

.quick-links span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 700;
}

.quick-links strong {
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* About */
.about-section {
  background: linear-gradient(180deg, var(--color-surface) 0%, #fbf8f1 100%);
}

.about-layout {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.about-story,
.value-card,
.clinic-visual-card,
.process-card,
.professional-card,
.contact-card,
.contact-map-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion), background-color var(--motion);
}

.about-story {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 238, 0.92)),
    linear-gradient(0deg, rgba(109, 131, 120, 0.08), rgba(109, 131, 120, 0));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 410px;
  padding: 34px;
}

.about-story:hover,
.value-card:hover,
.clinic-visual-card:hover,
.process-card:hover,
.professional-card:hover,
.contact-card:hover,
.contact-map-card:hover {
  border-color: rgba(109, 131, 120, 0.52);
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.story-label {
  color: var(--color-clay);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-story h3 {
  font-size: 28px;
  margin-top: 22px;
}

.about-story p {
  margin-top: 16px;
}

.text-link {
  align-items: center;
  color: var(--color-sage-dark);
  display: inline-flex;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  gap: 8px;
  margin-top: 30px;
}

.text-link:hover {
  color: var(--color-clay);
  transform: translateX(3px);
}

.text-link i {
  transition: transform var(--motion);
}

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

.value-card {
  min-height: 196px;
  padding: 26px;
}

.value-card:hover {
  border-color: rgba(182, 128, 102, 0.48);
}

.value-card h3 {
  margin-top: 20px;
}

.value-card p {
  font-size: 15px;
  margin-top: 10px;
}

.clinic-visuals {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  margin-top: 28px;
}

.clinic-visual-card {
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.clinic-visual-card img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform var(--motion);
  width: 100%;
}

.clinic-visual-card:hover img {
  transform: scale(1.03);
}

.clinic-visual-card::after {
  background: linear-gradient(180deg, rgba(16, 35, 32, 0), rgba(16, 35, 32, 0.56));
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.clinic-visual-card figcaption {
  bottom: 0;
  display: grid;
  gap: 5px;
  left: 0;
  padding: 24px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.clinic-visual-card span {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.clinic-visual-card strong {
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 21px;
  line-height: 1.25;
}

.clinic-visual-card:not(.clinic-visual-card-large) img {
  object-position: 70% center;
}

/* Process */
.process-section {
  background: linear-gradient(180deg, #fbf8f1 0%, #f6f1e9 100%);
}

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

.process-steps::before {
  background: linear-gradient(90deg, rgba(109, 131, 120, 0.12), rgba(199, 165, 109, 0.38), rgba(109, 131, 120, 0.12));
  content: "";
  height: 1px;
  left: 12%;
  position: absolute;
  right: 12%;
  top: 54px;
  z-index: 0;
}

.process-card {
  min-height: 246px;
  padding: 28px;
  position: relative;
  z-index: 1;
}

.process-card:hover {
  border-color: rgba(199, 165, 109, 0.72);
}

.process-card .icon-box {
  display: flex;
  height: 58px;
  margin-bottom: 28px;
  width: 58px;
}

.process-card h3 {
  margin-bottom: 10px;
}

.process-card p {
  font-size: 15px;
}

/* Professionals */
.professionals-section {
  background: linear-gradient(180deg, #f6f1e9 0%, #f1ede4 100%);
}

.professionals-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.professional-card {
  display: flex;
  flex-direction: column;
  min-height: 370px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.professional-card::before {
  background: linear-gradient(90deg, var(--color-sage), var(--color-clay));
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.professional-photo {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(223, 236, 239, 0.66), rgba(255, 255, 255, 0.96)),
    linear-gradient(45deg, rgba(109, 131, 120, 0.16), rgba(182, 128, 102, 0.12));
  border: 1px solid rgba(229, 221, 208, 0.92);
  border-radius: var(--radius-card);
  display: flex;
  justify-content: center;
  margin: 0 0 20px;
  min-height: 154px;
  overflow: hidden;
  position: relative;
}

.professional-photo::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 253, 248, 0.5)),
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 54%);
  bottom: 0;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.professional-icon {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(229, 221, 208, 0.95);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(31, 47, 43, 0.08);
  color: var(--color-sage-dark);
  display: inline-flex;
  font-size: 42px;
  height: 86px;
  justify-content: center;
  position: relative;
  transition: background-color var(--motion), color var(--motion), transform var(--motion), box-shadow var(--motion);
  width: 86px;
  z-index: 1;
}

.professional-card:hover .professional-icon {
  background: var(--color-sage-dark);
  color: #ffffff;
  transform: scale(1.06);
}

.professional-content {
  padding: 0 4px;
}

.professional-card h3 {
  margin-bottom: 10px;
}

.professional-role {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.professional-card a {
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-sage-dark);
  display: inline-flex;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  margin-top: auto;
  min-height: 46px;
  padding: 0 15px;
  text-align: center;
}

.professional-card a:hover {
  background: var(--color-sage-dark);
  border-color: var(--color-sage-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, #f1ede4 0%, var(--color-surface) 100%);
  padding-bottom: 96px;
}

.contact-layout {
  background:
    linear-gradient(135deg, rgba(38, 60, 54, 0.98), rgba(32, 48, 45, 0.98)),
    linear-gradient(90deg, rgba(199, 165, 109, 0.16), rgba(223, 236, 239, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  padding: 48px;
}

.contact-copy .section-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

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

.contact-copy h2 {
  margin-top: 18px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 16px;
  max-width: 560px;
}

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

.contact-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.contact-card {
  align-items: center;
  color: var(--color-ink-strong);
  display: grid;
  gap: 2px 18px;
  grid-template-columns: 52px 1fr;
  min-height: 112px;
  padding: 24px;
}

.contact-card .icon-box {
  grid-row: span 2;
}

.contact-card:hover {
  border-color: var(--color-gold);
}

.contact-card strong {
  color: var(--color-ink-strong);
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
}

.contact-card small {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-map-card {
  min-height: 224px;
  overflow: hidden;
  position: relative;
}

.contact-map-card iframe {
  border: 0;
  display: block;
  height: 100%;
  min-height: 224px;
  width: 100%;
}

.contact-map-card a {
  align-items: center;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(229, 221, 208, 0.92);
  border-radius: var(--radius-pill);
  bottom: 16px;
  box-shadow: 0 12px 28px rgba(31, 47, 43, 0.12);
  color: var(--color-sage-dark);
  display: inline-flex;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  left: 16px;
  min-height: 42px;
  padding: 0 15px;
  position: absolute;
  text-align: center;
}

.contact-map-card a:hover {
  background: var(--color-sage-dark);
  border-color: var(--color-sage-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 34px 0 26px;
}

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

.footer-brand .brand-text strong {
  font-size: 17px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  display: inline-flex;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
}

.footer-links a:hover {
  background: var(--color-sage-dark);
  border-color: var(--color-sage-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 12px 28px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
}

.footer-bottom a {
  color: var(--color-sage-dark);
  font-weight: 700;
}

.footer-bottom a:hover {
  color: var(--color-clay);
}

.floating-whatsapp {
  align-items: center;
  background: var(--color-sage-dark);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  bottom: var(--whatsapp-bottom);
  box-shadow: 0 18px 44px rgba(31, 47, 43, 0.2);
  color: #ffffff;
  display: inline-flex;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  z-index: 999;
}

.floating-whatsapp i {
  align-items: center;
  display: inline-flex;
  font-size: 21px;
  justify-content: center;
  line-height: 1;
  transition: transform var(--motion);
}

.floating-whatsapp:hover {
  background: var(--color-clay);
  box-shadow: 0 22px 54px rgba(31, 47, 43, 0.24);
  color: #ffffff;
  transform: translateY(-4px);
}

.floating-whatsapp.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

/* Responsiveness */
@media screen and (max-width: 1199px) {
  h1 {
    font-size: 48px;
  }

  .hero-grid {
    gap: 44px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  }

  .main-nav .nav-link {
    font-size: 13px;
    padding: 9px 9px;
  }

  .nav-cta {
    font-size: 13px;
    margin-left: 8px;
    padding: 0 14px;
  }

  .professionals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media screen and (max-width: 991px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .main-nav .navbar-collapse {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    margin-top: 14px;
    padding: 10px;
  }

  .main-nav .nav-link {
    display: block;
    margin: 0;
    padding: 12px 14px;
  }

  .section {
    padding: 84px 0;
  }

  .hero-section {
    padding: 66px 0 58px;
  }

  .hero-grid,
  .split-heading,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
  }

  .image-feature img {
    aspect-ratio: 16 / 10;
  }

  .floating-card {
    bottom: 122px;
    left: 24px;
  }

  .quick-links,
  .trust-row,
  .professionals-grid,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-steps::before {
    bottom: 12%;
    height: auto;
    left: 45px;
    right: auto;
    top: 56px;
    width: 1px;
  }

  .clinic-visuals {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: 0;
  }

  .about-story {
    min-height: 0;
  }
}

@media screen and (max-width: 991px) {
  .floating-whatsapp {
    min-height: 52px;
    padding: 0;
    width: 52px;
  }

  .floating-whatsapp span {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 36px;
    line-height: 1.09;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 19px;
  }

  p {
    font-size: 16px;
  }

  .main-nav {
    padding: 12px 0;
  }

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

  .brand-logo-shell img {
    height: 42px;
    max-width: 142px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text small {
    font-size: 11px;
  }

  .mobile-action {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .hero-section {
    padding: 52px 0 48px;
  }

  .hero-brand-line {
    margin-top: 22px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 52px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .trust-row,
  .quick-links,
  .values-grid,
  .professionals-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .quick-links a {
    min-height: 76px;
  }

  .quick-links a,
  .quick-links a:last-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
  }

  .clinic-visual-card,
  .clinic-visual-card img {
    min-height: 260px;
  }

  .split-heading p {
    font-size: 17px;
    padding-left: 18px;
  }

  .about-story,
  .value-card,
  .process-card,
  .professional-card,
  .contact-layout,
  .contact-card {
    padding: 22px;
  }

  .contact-map-card,
  .contact-map-card iframe {
    min-height: 260px;
  }

  .professional-card {
    min-height: 0;
  }

  .professional-photo {
    min-height: 148px;
  }

  .floating-card {
    bottom: auto;
    left: auto;
    margin: 14px 0 0;
    max-width: 100%;
    position: static;
  }

  .hero-visual .floating-card:hover {
    transform: none;
  }

  .image-feature figcaption strong {
    font-size: 19px;
  }

  .contact-layout {
    gap: 30px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .floating-whatsapp {
    right: max(18px, env(safe-area-inset-right));
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 27px;
  }

  .brand-text {
    max-width: 160px;
  }

  .hero-section {
    padding-top: 42px;
  }

  .section-badge {
    font-size: 12px;
    max-width: 100%;
  }

  .image-feature img {
    aspect-ratio: 1 / 1;
  }

  .contact-layout {
    padding: 18px;
  }

  .contact-card {
    grid-template-columns: 46px 1fr;
    padding: 18px;
  }

  .contact-card .icon-box {
    height: 46px;
    width: 46px;
  }

  .contact-map-card a {
    bottom: 12px;
    justify-content: center;
    left: 12px;
    right: 12px;
  }

  .professional-photo {
    min-height: 144px;
  }
}

@media screen and (max-width: 380px) {
  .brand-text {
    max-width: 132px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 10px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .quick-links a {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .quick-links i {
    height: 42px;
    width: 42px;
  }
}

@media screen and (min-width: 1400px) {
  .container {
    max-width: 1240px;
  }

  .intro-band .container {
    max-width: 100%;
  }
}

@media (hover: none) {
  .brand:hover,
  .button:hover,
  .nav-cta:hover,
  .mobile-action:hover,
  .text-link:hover,
  .quick-links a:hover,
  .about-story:hover,
  .value-card:hover,
  .clinic-visual-card:hover,
  .process-card:hover,
  .professional-card:hover,
  .contact-card:hover,
  .contact-map-card:hover,
  .footer-links a:hover,
  .floating-whatsapp:hover {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
