/* ============================================================
   DR. ANDRÉ INÁCIO — Premium Medical Design System
   ============================================================ */

/* ── 1. RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ── 2. CSS VARIABLES ── */
:root {
  --primary: #003B5C;
  --primary-dark: #00253A;
  --secondary: #0077B6;
  --accent: #00B4D8;
  --accent-light: #90E0EF;
  --success: #06A77D;
  --gold: #C9A84C;

  --bg: #FAFBFC;
  --bg-alt: #F0F7FF;
  --card: #FFFFFF;
  --text-primary: #1A2332;
  --text-secondary: #5A6778;
  --border: #E8ECF1;

  --gradient-primary: linear-gradient(135deg, #003B5C 0%, #0077B6 100%);
  --gradient-hero: linear-gradient(160deg, #FAFBFC 0%, #EBF4FF 100%);
  --gradient-accent: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%);

  --shadow-sm: 0 2px 8px rgba(0, 59, 92, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 59, 92, 0.09);
  --shadow-lg: 0 20px 48px rgba(0, 59, 92, 0.13);
  --shadow-xl: 0 32px 72px rgba(0, 59, 92, 0.18);
  --shadow-glow: 0 0 60px rgba(0, 180, 216, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 80px;
  --max-w: 1280px;
  --section-py: 120px;
}

/* ── 3. TYPOGRAPHY ── */
h1,
h2,
h3 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
}

p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── 4. LAYOUT UTILITIES ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: var(--section-py);
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(0, 119, 182, 0.08);
  padding: 0.35em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section__title {
  margin-bottom: 1rem;
}

.section__subtitle {
  max-width: 600px;
  margin-inline: auto;
  font-size: 1.0625rem;
}

/* ── 5. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 59, 92, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 59, 92, 0.38);
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: 14px;
}

.btn--white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  border: none;
}

.btn--whatsapp:hover {
  background: #128c7e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.38);
}

/* ── 6. SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── 7. HEADER ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all 0.4s var(--ease);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 251, 252, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}

.header.scrolled::before {
  background: rgba(250, 251, 252, 0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header.scrolled {
  height: 68px;
}

.header__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.header__logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
  flex-shrink: 0;
}

.header__logo-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.header__logo-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.header__nav {
  flex: 1;
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.header__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

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

.header__link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.header__cta {
  flex-shrink: 0;
  padding: 0.625rem 1.375rem;
  font-size: 0.875rem;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.header__toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── 8. HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 50%, var(--primary) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--accent) 0%, transparent 40%);
  pointer-events: none;
}

.hero__bg-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg-lines svg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  opacity: 0.035;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: 5rem;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(0, 119, 182, 0.08);
  border: 1px solid rgba(0, 119, 182, 0.15);
  padding: 0.4em 1.1em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero__highlight {
  color: var(--accent);
  position: relative;
  display: inline;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 59, 92, 0.12);
  padding: 0.4em 0.9em;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.badge svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Hero image */
.hero__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__image-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% top;
  animation: kenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  from {
    transform: scale(1) translate(0, 0);
  }

  to {
    transform: scale(1.04) translate(-1%, 1%);
  }
}

.hero__image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero__image-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.hero__image-badge-text {
  line-height: 1.2;
}

.hero__image-badge-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Lora', serif;
}

.hero__image-badge-text span {
  font-size: 0.775rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.hero__deco-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 180, 216, 0.25);
  top: -30px;
  right: -30px;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.hero__deco-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  bottom: 30%;
  left: -20px;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ── 9. INFO BAR ── */
.info-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 2rem;
}

.info-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-right: 1px solid var(--border);
}

.info-card:last-child {
  border-right: none;
}

.info-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 119, 182, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--secondary);
}

.info-card__title {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.info-card__text {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── 10. POR QUE ORTOPEDISTA ── */
.por-que {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.por-que::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at 70% 30%, rgba(0, 180, 216, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.por-que__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.por-que__question {
  font-size: 1.125rem;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.por-que__question::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.por-que__title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.por-que__title strong,
.por-que__title span {
  color: var(--accent);
  display: block;
}

.por-que__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

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

.por-que__card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.por-que__card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  transform: translateX(6px) translateY(-2px);
  border-left-color: var(--secondary);
}

.por-que__card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.por-que__card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.por-que__card p strong {
  color: var(--primary-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.por-que .btn--whatsapp {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  position: relative;
  z-index: 3;
}

.por-que .btn--whatsapp:hover {
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.1);
}

/* ── 11. TRATAMENTOS ── */
.tratamentos {
  background: var(--bg);
}

.tratamentos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.treatment-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 180, 216, 0.2);
}

.treatment-card:hover::before {
  transform: scaleX(1);
}

.treatment-card--featured {
  background: linear-gradient(145deg, #003B5C 0%, #004E7A 100%);
  border-color: transparent;
  color: white;
}

.treatment-card--featured .treatment-card__title,
.treatment-card--featured .treatment-card__text {
  color: rgba(255, 255, 255, 0.9);
}

.treatment-card--featured .treatment-card__link {
  color: var(--accent-light);
}

.treatment-card--featured::before {
  display: none;
}

.treatment-card--featured::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.treatment-card__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 0.25em 0.75em;
  border-radius: 100px;
}

.treatment-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(0, 119, 182, 0.08);
  color: var(--secondary);
  transition: all 0.3s var(--ease);
}

.treatment-card--featured .treatment-card__icon-wrap {
  background: rgba(0, 180, 216, 0.15);
  color: var(--accent);
}

.treatment-card:hover .treatment-card__icon-wrap {
  background: rgba(0, 180, 216, 0.12);
  color: var(--accent);
  transform: scale(1.08);
}

.treatment-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.treatment-card__text {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}

.treatment-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1rem;
  opacity: 0.6;
}

.treatment-card--featured .treatment-card__divider {
  background: rgba(255, 255, 255, 0.15);
}

.treatment-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  transition: all 0.25s var(--ease);
  margin-top: auto;
}

.treatment-card__link svg {
  transition: transform 0.25s var(--ease-spring);
}

.treatment-card:hover .treatment-card__link {
  color: var(--accent);
}

.treatment-card:hover .treatment-card__link svg {
  transform: translateX(4px);
}

/* ── 11. CTA BANNER ── */
.cta-banner {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding-block: 5rem;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner__content {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-banner__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 500px;
}

.cta-banner__doctor {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cta-banner__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1), var(--shadow-md);
  flex-shrink: 0;
}

.cta-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

.cta-banner__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cta-banner__info strong {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.cta-banner__info span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.robotica {
  background: var(--primary-dark);
  background: radial-gradient(circle at 30% 25%, #003654 0%, var(--primary-dark) 70%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.robotica__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.015) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

.robotica__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.85;
}
.robotica__glow--a {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.robotica__glow--b {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 59, 92, 0.2) 0%, transparent 75%);
  bottom: -150px; right: -50px;
}

.robotica .section__eyebrow {
  color: var(--accent-light);
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35em 1em;
  border-radius: 100px;
}

.robotica__header {
  max-width: 800px;
  margin-bottom: 3.5rem;
}

.robotica__eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.robotica__eyebrow-line {
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.robotica__title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.robotica__title-sub {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 0.75em;
  margin-top: 0.2rem;
}

.robotica__subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 680px;
}
.robotica__subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

/* Metrics bar */
.robotica__metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.875rem 2.5rem;
  margin-bottom: 4.5rem;
  position: relative;
}
.robotica__metrics::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.3), transparent);
}

.robotica__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.robotica__metric-value {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.robotica__metric-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.robotica__metric-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
}

/* Main 2-col grid */
.robotica__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

/* Image */
.robotica__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 180, 216, 0.1);
  transition: transform 0.4s var(--ease);
  max-width: 380px;
  margin-inline: auto;
}
.robotica__image-wrapper:hover {
  transform: translateY(-4px);
}

.robotica__image-frame {
  position: relative;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: #030d1b;
}

.robotica__image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 180, 216, 0.03) 0%, transparent 60%, rgba(3, 13, 27, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

.robotica__image {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.95);
  transition: transform 0.6s var(--ease);
}
.robotica__image-wrapper:hover .robotica__image {
  transform: scale(1.03);
}

/* Tech-frame corner brackets */
.robotica__frame-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
  border-color: var(--accent) !important;
}
.robotica__frame-corner--tl { top: 12px; left: 12px; border-top: 2px solid; border-left: 2px solid; }
.robotica__frame-corner--tr { top: 12px; right: 12px; border-top: 2px solid; border-right: 2px solid; }
.robotica__frame-corner--bl { bottom: 12px; left: 12px; border-bottom: 2px solid; border-left: 2px solid; }
.robotica__frame-corner--br { bottom: 12px; right: 12px; border-bottom: 2px solid; border-right: 2px solid; }

/* Scan-line animation */
.robotica__scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.4), transparent);
  z-index: 2;
  animation: scanLine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanLine {
  0%   { top: 0%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.robotica__image-label {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 37, 58, 0.85);
  border: 1px solid rgba(0, 180, 216, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5em 1.4em;
  border-radius: 100px;
  z-index: 4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* CORI Numbered Features */
.robotica__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cori-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.35s var(--ease);
  cursor: default;
}
.cori-feature:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 180, 216, 0.15);
  transform: translateX(4px);
}

.cori-feature__num {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(0, 180, 216, 0.18);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  text-align: right;
  letter-spacing: -0.02em;
  user-select: none;
  transition: color 0.35s var(--ease);
  padding-top: 0.2rem;
}
.cori-feature:hover .cori-feature__num {
  color: var(--accent);
}

.cori-feature__body {
  flex: 1;
}

.cori-feature__icon-wrap {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.75rem;
  transition: all 0.35s var(--ease);
}
.cori-feature:hover .cori-feature__icon-wrap {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.cori-feature__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
}

.cori-feature__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* Benefits 2×2 grid */
.robotica__benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid rgba(0, 59, 92, 0.06);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 20, 40, 0.12);
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent), var(--secondary));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.benefit-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 20, 40, 0.25);
  border-color: rgba(0, 180, 216, 0.2);
}
.benefit-card:hover::before,
.benefit-card:hover::after {
  opacity: 1;
}

.benefit-card__icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(0, 119, 182, 0.06);
  border: 1px solid rgba(0, 119, 182, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  transition: all 0.35s var(--ease);
}
.benefit-card:hover .benefit-card__icon-wrap {
  background: var(--gradient-accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.benefit-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  font-family: 'DM Sans', sans-serif;
}

.benefit-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Indication / CTA strip */
.robotica__indication {
  background: #ffffff;
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: var(--radius-xl);
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 10px 40px rgba(0, 0, 0, 0.15);
}
.robotica__indication::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, var(--secondary), var(--accent));
}
.robotica__indication::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 55%);
}

.robotica__indication-content {
  flex: 1;
}

.robotica__indication-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.robotica__indication-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 660px;
}
.robotica__indication-text strong {
  color: var(--secondary);
  font-weight: 700;
}
.robotica__indication-cta {
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  transition: all 0.3s var(--ease);
}
.robotica__indication-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

/* ── 13. SOBRE ── */
.sobre {
  background: var(--bg);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}

.sobre__image-wrapper {
  position: relative;
  flex-shrink: 0;
}

.sobre__image-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--card);
  position: relative;
  aspect-ratio: 3/4;
}

.sobre__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 12s ease;
}

.sobre__image:hover {
  transform: scale(1.03);
}

.sobre__image-deco {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80%;
  height: 80%;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(0, 180, 216, 0.2);
  z-index: -1;
}

.sobre__image-deco-2 {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border-radius: var(--radius-lg);
  background: var(--gradient-accent);
  opacity: 0.08;
  z-index: -1;
}

.sobre__crm {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(0, 59, 92, 0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sobre__crm svg {
  color: var(--accent);
  flex-shrink: 0;
}

.sobre__crm-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.sobre__crm-text strong {
  display: block;
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 0.1rem;
}

.sobre__content {
  padding-top: 0.5rem;
}

.sobre__content .section__eyebrow {
  margin-bottom: 0.75rem;
}

.sobre__content .section__title {
  text-align: left;
  margin-bottom: 1.25rem;
}

.sobre__text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.sobre__block {
  margin-bottom: 2rem;
}

.sobre__block-title {
  font-family: 'Lora', serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--border);
}

.sobre__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sobre__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.sobre__list-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(0, 119, 182, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--secondary);
}

/* ── 14. DEPOIMENTOS ── */
.depoimentos {
  background: var(--bg-alt);
}

.depoimentos__carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.depoimentos__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s var(--ease);
}

.review-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex: 0 0 calc((100% - 3rem) / 3);
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 119, 182, 0.15);
}

.review-card__quote {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: 'Lora', serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(0, 119, 182, 0.06);
  user-select: none;
}

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: var(--gold);
}

.review-card__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.review-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-card__author-info {
  flex: 1;
}

.review-card__author-info strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.1rem;
}

.review-card__google {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.review-card__google svg {
  color: #4285F4;
}

.depoimentos__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.depoimentos__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}

.depoimentos__btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.depoimentos__dots {
  display: flex;
  gap: 0.5rem;
}

.depoimentos__dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: var(--border);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.depoimentos__dot.active {
  width: 24px;
  background: var(--secondary);
}

.depoimentos__footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── 15. CONSULTÓRIO ── */
.consultorio {
  background: var(--card);
}

.consultorio__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
}

.consultorio__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.consultorio__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.consultorio__item:first-child {
  padding-top: 0;
}

.consultorio__item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 119, 182, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--secondary);
}

.consultorio__item h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0;
}

.consultorio__item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.consultorio__cta {
  margin-top: 2rem;
}

.consultorio__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--border);
}

.consultorio__map iframe {
  display: block;
  border-radius: 0;
}

/* ── 16. FOOTER ── */
.footer {
  background: var(--primary-dark);
  padding-block: 5rem 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.footer__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.footer__crm {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  padding: 0.3em 0.8em;
  border-radius: 100px;
}

.footer__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
  font-family: 'DM Sans', sans-serif;
}

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

.footer__list li,
.footer__list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

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

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.25s var(--ease);
}

.footer__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 180, 216, 0.1);
}

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

.footer__bottom p {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── 17. WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: all 0.3s var(--ease-spring);
  color: #fff;
}

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

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4em 0.9em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

/* ── 18. ANIMATIONS (REVEAL) ── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] {
  transition-delay: 0.1s;
}

[data-animate-delay="2"] {
  transition-delay: 0.2s;
}

[data-animate-delay="3"] {
  transition-delay: 0.3s;
}

[data-animate-delay="4"] {
  transition-delay: 0.4s;
}

[data-animate-delay="5"] {
  transition-delay: 0.5s;
}

[data-animate-delay="6"] {
  transition-delay: 0.6s;
}

/* Skip animations for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .hero__image {
    animation: none;
  }

  .whatsapp-float::before {
    animation: none;
  }
}

/* ── 19. RESPONSIVE ── */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

  .hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .por-que__grid {
    gap: 3rem;
  }

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

  .robotica__metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0;
    padding: 1.5rem 2rem;
  }
  .robotica__metric-sep { display: none; }

  .robotica__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .robotica__image-wrapper {
    max-width: 300px;
  }

  .sobre__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

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

  .cta-banner__content {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --header-h: 68px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 251, 252, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 999;
  }

  .header__nav.open {
    transform: translateX(0);
  }

  .header__menu {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .header__link {
    font-size: 1.5rem;
    padding: 0.75rem 2rem;
  }

  .header__toggle {
    display: flex;
    position: relative;
    z-index: 1000;
  }

  .header__cta {
    display: none;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 3rem;
  }

  .hero__content {
    order: 2;
  }

  .hero__image-wrapper {
    order: 1;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__image-card {
    max-width: 340px;
    margin-inline: auto;
    aspect-ratio: 3/4;
  }

  .info-bar__grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .info-card:last-child {
    border-bottom: none;
  }

  .por-que__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .por-que__text {
    max-width: 100%;
  }

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

  .cta-banner__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .cta-banner__doctor {
    justify-content: center;
  }

  .cta-banner__content .btn {
    width: 100%;
    justify-content: center;
  }

  .robotica__metrics {
    grid-template-columns: 1fr 1fr;
    padding: 1.25rem 1.5rem;
    margin-bottom: 3.5rem;
  }

  .robotica__benefits-grid {
    grid-template-columns: 1fr;
    margin-bottom: 2.5rem;
  }

  .robotica__indication {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 2rem 2rem 2.5rem;
  }

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

  .sobre__image-wrapper {
    max-width: 360px;
    margin-inline: auto;
  }

  .sobre__image-frame {
    aspect-ratio: 3/4;
  }

  .sobre__content .section__title {
    text-align: center;
  }

  .sobre__content .section__eyebrow {
    display: block;
    text-align: center;
  }

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

  .consultorio__map {
    order: -1;
  }

  .consultorio__map iframe {
    height: 300px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .review-card {
    flex: 0 0 calc(100% - 3rem);
  }

  .depoimentos__track {
    gap: 1rem;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 640px) {
  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}