/* ===================================================
   Instituto Salubenne – Landing Page Styles v2
   Enhanced Animations | Gamification | Dynamic Design
   =================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #664E3A;
  --color-primary-dark: #4f3a2a;
  --color-primary-light: #8a7262;
  --color-secondary: #C2B19D;
  --color-secondary-light: #d4c8b8;
  --color-bg-main: #E7E4E0;
  --color-detail: #BDBCBA;
  --color-text: #2c2c2c;
  --color-text-light: #5a5a5a;
  --color-white: #fff;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1ebe57;
  --color-star: #F5B731;
  --color-gold: #C9A050;
  --color-badge-bg: rgba(102, 78, 58, .08);

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', 'Segoe UI', Roboto, Arial, sans-serif;

  --header-height: 72px;
  --max-width: 1200px;
  --section-padding: 80px 24px;
  --border-radius: 14px;
  --card-radius: 16px;

  --shadow-sm: 0 2px 8px rgba(102, 78, 58, .06);
  --shadow-md: 0 4px 20px rgba(102, 78, 58, .10);
  --shadow-lg: 0 8px 40px rgba(102, 78, 58, .14);
  --shadow-glow: 0 0 30px rgba(102, 78, 58, .12);

  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --spring: .5s cubic-bezier(.34, 1.56, .64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg-main);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--color-badge-bg);
  color: var(--color-primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: labelPulse 2s infinite;
}

@keyframes labelPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.4);
  }
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .3px;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .6s ease, height .6s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, .3);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes iconBounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes checkmarkDraw {
  0% {
    stroke-dashoffset: 20;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

/* Reveal system */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.85);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children .reveal:nth-child(1) {
  transition-delay: 0s;
}

.stagger-children .reveal:nth-child(2) {
  transition-delay: .1s;
}

.stagger-children .reveal:nth-child(3) {
  transition-delay: .2s;
}

.stagger-children .reveal:nth-child(4) {
  transition-delay: .3s;
}

.stagger-children .reveal:nth-child(5) {
  transition-delay: .4s;
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(231, 228, 224, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(189, 188, 186, .25);
  transition: box-shadow var(--transition), background var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(231, 228, 224, .97);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 70px;
  width: auto;
  transform: scale(2.2);
  transform-origin: left center;
  transition: transform var(--transition);
}

.header__logo:hover img {
  transform: scale(2.3);
}

.header__nav {
  display: none;
}

.header__nav ul {
  display: flex;
  gap: 32px;
}

.header__nav a {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-primary);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__cta {
  display: none;
}

.header__cta .btn {
  padding: 10px 24px;
  font-size: .85rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(231, 228, 224, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: opacity var(--transition);
}

.mobile-nav a:hover {
  opacity: .7;
}

.mobile-nav .btn {
  margin-top: 16px;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 20px) 0 28px;
  background: var(--color-bg-main);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background-image: url('Dra iara hero.jpeg');
  background-size: cover;
  background-position: left 20%;
  pointer-events: none;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-bg-main) 0%, transparent 50%);
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 16px;
}

.hero__content {
  max-width: 65%;
  animation: fadeInLeft .8s ease;
}

.hero__badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(102, 78, 58, .12);
  color: var(--color-primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 14px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero__title em {
  font-style: italic;
  color: var(--color-primary-dark);
}

.hero__subtitle {
  font-size: .92rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 540px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero__cta .btn {
  padding: 14px 28px;
  font-size: .95rem;
  animation: float 3s ease-in-out infinite;
  animation-delay: 1s;
  width: 100%;
  justify-content: center;
}

.hero__cta .btn:hover {
  animation: none;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero__stars {
  display: flex;
  gap: 2px;
}

.hero__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-star);
  animation: scaleIn .4s ease backwards;
}

.hero__stars svg:nth-child(1) {
  animation-delay: .6s;
}

.hero__stars svg:nth-child(2) {
  animation-delay: .7s;
}

.hero__stars svg:nth-child(3) {
  animation-delay: .8s;
}

.hero__stars svg:nth-child(4) {
  animation-delay: .9s;
}

.hero__stars svg:nth-child(5) {
  animation-delay: 1s;
}

.hero__proof-text {
  font-size: .78rem;
  color: var(--color-text-light);
  font-weight: 400;
}

/* Stats bar below hero */
.hero-stats {
  background: var(--color-white);
  border-top: 3px solid var(--color-secondary);
  padding: 32px 24px;
}

.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

.hero-stats__item {
  position: relative;
}

.hero-stats__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stats__label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-detail);
}

/* ===========================
   CLUBE / BENEFÍCIOS
   =========================== */
.clube {
  position: relative;
  padding: var(--section-padding);
  background: var(--color-white);
  overflow: hidden;
}

.clube__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  max-width: 80%;
  opacity: .04;
  pointer-events: none;
}

.clube .container {
  position: relative;
  z-index: 2;
}

.clube__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.clube__card {
  background: var(--color-bg-main);
  border-radius: var(--card-radius);
  padding: 32px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform var(--spring), box-shadow var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.clube__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  transition: height .5s ease;
  border-radius: 0 0 4px 0;
}

.clube__card:hover::before {
  height: 100%;
}

.clube__card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: rgba(102, 78, 58, .08);
}

.clube__card-emoji {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--color-secondary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform var(--spring);
}

.clube__card:hover .clube__card-emoji {
  transform: scale(1.15) rotate(-5deg);
}

.clube__card-content {
  flex: 1;
}

.clube__card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.clube__card p {
  font-size: .93rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===========================
   ESPECIALIDADES (NEW)
   =========================== */
.especialidades {
  padding: var(--section-padding);
  background: var(--color-bg-main);
  position: relative;
}

.especialidades__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.especialidades__card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 40px 28px;
  text-align: center;
  transition: transform var(--spring), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(189, 188, 186, .15);
}

.especialidades__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width .5s ease, left .5s ease;
}

.especialidades__card:hover::after {
  width: 100%;
  left: 0;
}

.especialidades__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.especialidades__card-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--color-secondary-light);
  transition: transform var(--spring), border-color .4s ease;
}

.especialidades__card:hover .especialidades__card-photo {
  transform: scale(1.08);
  border-color: var(--color-primary);
}

.especialidades__card-name {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 12px;
  letter-spacing: .3px;
}

.especialidades__card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-bg-main), var(--color-secondary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--spring), background .4s ease;
}

.especialidades__card:hover .especialidades__card-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary-light));
}

.especialidades__card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s ease;
}

.especialidades__card:hover .especialidades__card-icon svg {
  stroke: var(--color-white);
}

.especialidades__card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.especialidades__card p {
  font-size: .93rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.especialidades__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 5px 14px;
  background: var(--color-badge-bg);
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .5px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease .2s, transform .4s ease .2s;
}

.especialidades__card:hover .especialidades__badge {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   TRATAMENTOS
   =========================== */
.tratamentos {
  padding: var(--section-padding);
  background: var(--color-white);
}

.tratamentos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.tratamentos__card {
  background: var(--color-bg-main);
  border-radius: var(--card-radius);
  padding: 36px 28px;
  border: 1px solid rgba(189, 188, 186, .15);
  transition: transform var(--spring), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.tratamentos__card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 78, 58, .03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

.tratamentos__card:hover::before {
  opacity: 1;
}

.tratamentos__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tratamentos__card-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(102, 78, 58, .06);
  line-height: 1;
  pointer-events: none;
  transition: color .3s ease;
}

.tratamentos__card:hover .tratamentos__card-number {
  color: rgba(102, 78, 58, .12);
}

.tratamentos__card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--spring);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.tratamentos__card:hover .tratamentos__card-icon {
  transform: scale(1.12) rotate(-3deg);
}

.tratamentos__card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tratamentos__card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.tratamentos__card p {
  font-size: .93rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.tratamentos__card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  padding: 4px 12px;
  background: rgba(102, 78, 58, .07);
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: .3px;
}

.tratamentos__cta {
  text-align: center;
}

.tratamentos__cta .btn {
  position: relative;
}

/* ===========================
   SOBRE
   =========================== */
.sobre {
  padding: var(--section-padding);
  background: var(--color-bg-main);
}

.sobre__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.sobre__image {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.sobre__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform .6s ease;
}

.sobre__image:hover img {
  transform: scale(1.03);
}

.sobre__image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

.sobre__image-badge svg {
  width: 16px;
  height: 16px;
}

.sobre__content .section-title {
  text-align: left;
}

.sobre__lead {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-primary);
  border-left: 3px solid var(--color-secondary);
  padding-left: 20px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.sobre__text {
  font-size: 1.02rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 20px;
}

.sobre__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.sobre__highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--color-white);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-primary);
  border: 1px solid rgba(102, 78, 58, .1);
  transition: transform var(--spring), background .3s ease, border-color .3s ease;
}

.sobre__highlights span:hover {
  transform: translateY(-2px) scale(1.04);
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.sobre__highlights span:hover svg {
  stroke: var(--color-white);
}

.sobre__highlights svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2.5;
  transition: stroke .3s ease;
}

/* ===========================
   CONTATO
   =========================== */
.contato {
  padding: var(--section-padding);
  background: var(--color-white);
}

.contato__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contato__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contato__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-white);
  border: 1px solid transparent;
}

a.contato__item:hover {
  background: var(--color-bg-main);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border-color: rgba(102, 78, 58, 0.1);
}

.contato__item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--spring);
}

.contato__item:hover .contato__item-icon {
  transform: scale(1.1) rotate(-5deg);
}

.contato__item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contato__item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contato__item p,
.contato__item a {
  font-size: .95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contato__item a:hover {
  color: var(--color-primary);
}

.contato__map {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-detail);
  min-height: 300px;
}

.contato__map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--color-primary);
  padding: 48px 24px 32px;
  text-align: center;
}

.footer__logo {
  margin: 0 auto 24px;
  max-width: 160px;
}

.footer__logo img {
  width: 100%;
  filter: brightness(0) invert(1) opacity(.85);
}

.footer__copy {
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 12px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-white);
}

/* ===========================
   FLOATING WHATSAPP
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .4);
  animation: pulse 2s infinite;
  transition: transform var(--transition), background var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--color-whatsapp-dark);
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--color-white);
}

/* Tooltip */
.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  color: var(--color-text);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--color-white);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

/* ===========================
   PROGRESS INDICATOR (Gamification)
   =========================== */
.scroll-progress {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  z-index: 1001;
  transition: width .1s linear;
}

/* ===========================
   RESPONSIVE – Tablet (≥768px)
   =========================== */
@media (min-width: 768px) {
  :root {
    --section-padding: 100px 40px;
  }

  .hero-stats .container {
    grid-template-columns: repeat(4, 1fr);
  }

  .clube__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .especialidades__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tratamentos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sobre__wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .contato__wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===========================
   RESPONSIVE – Desktop (≥1024px)
   =========================== */
@media (min-width: 1024px) {
  .header__nav {
    display: block;
  }

  .header__cta {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: calc(var(--header-height) + 80px) 24px 80px;
  }

  .hero__bg {
    opacity: .9;
    background-image: url('Dra iara.jpeg');
    background-position: center;
  }

  .hero__bg::after {
    background: linear-gradient(90deg, var(--color-bg-main) 0%, transparent 40%);
  }

  .hero .container {
    padding: 0;
  }

  .hero__content {
    max-width: 620px;
  }

  .hero__badge {
    padding: 6px 18px;
    background: var(--color-secondary);
    font-size: .8rem;
    margin-bottom: 24px;
  }

  .hero__title {
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    color: var(--color-primary);
    margin-bottom: 20px;
  }

  .hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 36px;
  }

  .hero__cta {
    margin-bottom: 32px;
  }

  .hero__cta .btn {
    padding: 18px 36px;
    font-size: 1.05rem;
    width: auto;
  }

  .hero__stars svg {
    width: 20px;
    height: 20px;
  }

  .hero__proof-text {
    font-size: .9rem;
  }

  .especialidades__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tratamentos__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contato__map {
    min-height: 380px;
  }

  .contato__map iframe {
    min-height: 380px;
  }
}

/* ===========================
   RESPONSIVE – Large Desktop (≥1280px)
   =========================== */
@media (min-width: 1280px) {
  :root {
    --header-height: 80px;
  }

  .hero__title {
    font-size: 3.4rem;
  }
}

/* --- Smooth anchor offset --- */
section[id] {
  scroll-margin-top: var(--header-height);
}