/* ============================================================
   CLÍNICA ELANCÉ — styles.css
   Design System + Layout + Components + Responsive
   ============================================================ */

/* ----------------------------------------------------------
   1. GOOGLE FONTS & RESET
   ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

/* ----------------------------------------------------------
   2. DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
  --green-dark: #0a4a2e;
  --green-primary: #0e5e3a;
  --green-mid: #14784a;
  --green-light: #e8f5ee;
  --gold: #c5a059;
  --gold-light: #f5e9d0;
  --white: #ffffff;
  --gray-50: #f9f9f9;
  --gray-100: #f0f0f0;
  --gray-300: #cccccc;
  --gray-600: #555555;
  --gray-900: #1a1a1a;
  --whatsapp: #25D366;

  --container-max: 1200px;
  --section-pad: 90px 20px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, .12);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, .18);
  --shadow-green: 0 6px 24px rgba(14, 94, 58, .35);
}

/* ----------------------------------------------------------
   3. UTILITY CLASSES
   ---------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-title--white {
  color: var(--white);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 580px;
  line-height: 1.7;
}

.section-subtitle--white {
  color: rgba(255, 255, 255, .8);
}

/* ----------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-primary);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn--primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(14, 94, 58, .45);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(197, 160, 89, .4);
}

.btn--gold:hover {
  background: #b88d42;
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  background: var(--white);
  color: var(--green-primary);
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   5. HERO SECTION
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('hero-bg.png') 75% 30% / cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, #ffffff, transparent);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 160px 80px 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__content {
  max-width: 580px;
  animation: fadeInLeft .8s ease both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

.hero__headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}

.hero__headline span {
  color: var(--gold);
  display: block;
}

.hero__subtext {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-top: 40px;
  width: fit-content;
}

.hero__counter-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero__counter-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .8);
  font-weight: 500;
  line-height: 1.4;
}

.hero__image-side {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  animation: fadeInRight .8s ease both;
}

.hero__image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  width: 100%;
}

.hero__image-card img {
  width: 100%;
  border-radius: var(--radius-lg);
}
/* Monitores grandes */
@media (min-width: 1440px) {
  .hero {
    background-position: 60% 35%;
    background-size: 100%;
  }

  .hero__inner {
    padding-left: 120px;
    padding-right: 190px;
  }
}

/* ----------------------------------------------------------
   6. RESULTS SECTION (Before/After Carousel)
   ---------------------------------------------------------- */
.results {
  padding: var(--section-pad);
  background: var(--white);
}

.results__header {
  text-align: center;
  margin-bottom: 60px;
}

.results__header .section-subtitle {
  margin: 0 auto;
}

.results-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
}

.results-carousel__track {
  display: flex;
  gap: 20px;
  padding: 10px 24px;
  animation: scrollLeft 30s linear infinite;
  width: max-content;
}

.results-carousel__track:hover {
  animation-play-state: paused;
}

.results-carousel__slide {
  flex-shrink: 0;
  width: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease;
}

.results-carousel__slide:hover {
  transform: scale(1.03);
}

.results-carousel__slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.results__disclaimer {
  text-align: center;
  font-size: .8rem;
  color: var(--gray-600);
  font-style: italic;
  margin-top: 32px;
}

.results__cta {
  text-align: center;
  margin-top: 40px;
}

/* ----------------------------------------------------------
   7. ABOUT DOCTOR
   ---------------------------------------------------------- */
.about-doctor {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.about-doctor__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-doctor__video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: fadeInLeft .7s ease both;
  background: #000;
}

/* Gumlet iframe — aspect ratio 1080/1919 (portrait) */
.about-doctor__gumlet-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 1919;
  overflow: hidden;
}

.about-doctor__gumlet-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.about-doctor__content {
  animation: fadeInRight .7s ease both;
}

.about-doctor__content .section-title {
  margin-bottom: 20px;
}

.about-doctor__bio {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-doctor__bio:last-of-type {
  margin-bottom: 32px;
}

/* ----------------------------------------------------------
   8. FIRST TESTIMONIAL HIGHLIGHT
   ---------------------------------------------------------- */
.testimonial-highlight {
  padding: var(--section-pad);
  background: url('backgroundVerde.jpg') center / cover no-repeat;
  background-color: var(--green-dark);
  color: var(--white);
}

.testimonial-highlight__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.testimonial-highlight__quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 32px;
  position: relative;
  padding-left: 28px;
}

.testimonial-highlight__quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  opacity: .5;
  font-family: 'Playfair Display', serif;
}

.testimonial-highlight__quote strong {
  color: var(--gold);
}

.testimonial-highlight__video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

/* Gumlet iframe — 9/16 portrait */
.gumlet-wrap--916 {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.gumlet-wrap--916 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ----------------------------------------------------------
   9. SERVICES SECTION
   ---------------------------------------------------------- */
.services {
  padding: var(--section-pad);
  background: var(--white);
}

.services__header {
  text-align: center;
  margin-bottom: 60px;
}

.services__header .section-subtitle {
  margin: 0 auto;
}

.services-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
}

.services-carousel__track {
  display: flex;
  gap: 20px;
  padding: 10px 24px;
  animation: scrollRight 35s linear infinite;
  width: max-content;
}

.services-carousel__track:hover {
  animation-play-state: paused;
}

.services-carousel__slide {
  flex-shrink: 0;
  width: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease;
}

.services-carousel__slide:hover {
  transform: scale(1.03);
}

.services-carousel__slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.services__cta {
  text-align: center;
  margin-top: 52px;
}

/* ----------------------------------------------------------
   10. TESTIMONIALS VIDEOS
   ---------------------------------------------------------- */
.testimonials-video {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.testimonials-video__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 52px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card__video {
  background: #000;
}

.testimonial-card__video video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* Gumlet iframes — same 9:16 ratio as native videos */
.testimonial-card__video--yt {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.testimonial-card__video--yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.testimonial-card__body {
  padding: 24px;
}

.testimonial-card__quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--gray-900);
  line-height: 1.6;
}

.testimonial-card__quote strong {
  color: var(--green-primary);
}

.testimonials-video__cta {
  text-align: center;
  margin-top: 52px;
}

/* ----------------------------------------------------------
   11. ABOUT CLINIC
   ---------------------------------------------------------- */
.about-clinic {
  padding: var(--section-pad);
  background: var(--white);
}

.about-clinic__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-clinic__content {
  animation: fadeInLeft .7s ease both;
}

.about-clinic__content .section-title {
  margin-bottom: 24px;
}

.about-clinic__text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-clinic__video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: fadeInRight .7s ease both;
  background: #000;
}

/* Gumlet iframe — 16:9 landscape */
.gumlet-wrap--169 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gumlet-wrap--169 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ----------------------------------------------------------
   11b. MISSÃO ELANCE
   ---------------------------------------------------------- */
.mission {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.mission__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission__video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}

.mission__content .section-title {
  margin-bottom: 20px;
}

.mission__text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ----------------------------------------------------------
   11c. VALORES DA CLÍNICA
   ---------------------------------------------------------- */
.values {
  padding: var(--section-pad);
  background: linear-gradient(135deg, var(--green-dark) 0%, #073d24 50%, var(--green-primary) 100%);
  position: relative;
  overflow: hidden;
}

.values::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, .08) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.values__header {
  text-align: center;
  margin-bottom: 64px;
}

.values__header .section-subtitle {
  margin: 0 auto;
}

.values__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.values__video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .35);
  background: #000;
}

.values__pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.values__pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  transition: background .3s ease, transform .3s ease;
}

.values__pillar:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateX(6px);
}

.values__pillar-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(197, 160, 89, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.values__pillar-icon svg {
  width: 22px;
  height: 22px;
}

.values__pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.values__pillar-text {
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   12. SOCIAL TESTIMONIALS (Screenshots)
   ---------------------------------------------------------- */
.social-proof {
  padding: var(--section-pad);
  background: url('backgroundsection.png') center / cover no-repeat;
  color: var(--white);
}

.social-proof__header {
  text-align: center;
  margin-bottom: 52px;
}

.social-proof__header .section-title {
  color: var(--white);
}

.social-proof__subtitle {
  color: rgba(255, 255, 255, .75);
  margin: 0 auto;
}

.social-proof__grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.social-proof__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
  max-width: 380px;
  transition: transform .3s ease;
}

.social-proof__image:hover {
  transform: scale(1.03);
}

.social-proof__image img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

/* Depoimentos manual slider with arrows */
.depoimentos-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.depoimentos-slider__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.depoimentos-slider__track {
  display: flex;
  gap: 20px;
  transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
}

.depoimentos-slider__slide {
  flex-shrink: 0;
  width: calc((100% - 40px) / 3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.depoimentos-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* Arrow buttons */
.depoimentos-slider__arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  z-index: 2;
}

.depoimentos-slider__arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
  transform: scale(1.1);
}

.depoimentos-slider__arrow:disabled {
  opacity: .3;
  cursor: default;
  transform: none;
}

.depoimentos-slider__arrow:disabled:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .3);
  color: var(--white);
}

.depoimentos-slider__arrow svg {
  width: 22px;
  height: 22px;
}

/* Counter */
.depoimentos-slider__counter {
  text-align: center;
  margin-top: 20px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .05em;
}

.social-proof__cta {
  text-align: center;
  margin-top: 52px;
}

/* ----------------------------------------------------------
   13. CONTACT SECTION
   ---------------------------------------------------------- */
.contact {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info .section-title {
  margin-bottom: 32px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--green-light);
}

.contact__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--green-primary);
}

.contact__icon--wa {
  background: #dcf5e7;
}

.contact__icon--wa svg {
  fill: #25D366;
}

.contact__icon--ig {
  background: #fce4ec;
}

.contact__icon--ig svg {
  fill: #e91e63;
}

.contact__item-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 4px;
}

.contact__item-text {
  font-size: 1rem;
  color: var(--gray-900);
  font-weight: 500;
  line-height: 1.5;
}

.contact__item-text a {
  color: var(--green-primary);
  font-weight: 600;
  transition: opacity .2s;
}

.contact__item-text a:hover {
  opacity: .75;
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 380px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ----------------------------------------------------------
   13.5 FAQ SECTION
   ---------------------------------------------------------- */
.faq {
  padding: var(--section-pad);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Decorative background orbs */
.faq::before,
.faq::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.faq::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 94, 58, .06) 0%, transparent 70%);
  top: -120px;
  right: -140px;
}

.faq::after {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(197, 160, 89, .08) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
}

.faq__header {
  text-align: center;
  margin-bottom: 64px;
}

.faq__header .section-subtitle {
  margin: 0 auto;
}

/* Grid layout: 2 columns for the first two category cards */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Category card */
.faq__category {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}

.faq__category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--gold));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.faq__category:hover {
  box-shadow: var(--shadow-md);
}

.faq__category:hover::before {
  transform: scaleX(1);
}

/* Full-width card for the last category */
.faq__category--wide {
  grid-column: 1 / -1;
}

/* Category label / title chip */
.faq__category-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-primary);
  background: var(--green-light);
  border-radius: 50px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 24px;
}

.faq__category-label svg {
  width: 14px;
  height: 14px;
  fill: var(--green-primary);
  flex-shrink: 0;
}

/* FAQ list / accordion */
.faq__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Row variant for the wide card */
.faq__list--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.faq__item {
  border-bottom: 1px solid var(--gray-100);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__list--row .faq__item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 0 4px;
}

.faq__list--row .faq__item:last-child {
  border: 1px solid var(--gray-100);
}

/* Accordion button */
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 4px;
  font-family: 'Inter', sans-serif;
  font-size: .97rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  line-height: 1.4;
  transition: color .2s ease;
}

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

/* Plus/Minus icon */
.faq__icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background .25s ease, transform .35s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--green-primary);
  border-radius: 2px;
  transition: transform .35s ease, opacity .25s ease;
}

.faq__icon::before {
  width: 10px;
  height: 2px;
}

.faq__icon::after {
  width: 2px;
  height: 10px;
}

/* Active state */
.faq__question[aria-expanded="true"] .faq__icon {
  background: var(--green-primary);
  transform: rotate(45deg);
}

.faq__question[aria-expanded="true"] .faq__icon::before,
.faq__question[aria-expanded="true"] .faq__icon::after {
  background: var(--white);
}

.faq__question[aria-expanded="true"] {
  color: var(--green-primary);
}

/* Answer panel */
.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s cubic-bezier(0.4, 0, 0.2, 1), opacity .35s ease, padding .35s ease;
  opacity: 0;
  padding-bottom: 0;
}

.faq__answer.faq__answer--open {
  max-height: 400px;
  opacity: 1;
  padding-bottom: 18px;
}

.faq__answer p {
  font-size: .93rem;
  color: var(--gray-600);
  line-height: 1.75;
  padding: 0 4px;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin-left: 0;
}

.faq__answer p strong {
  color: var(--green-primary);
  font-weight: 600;
}

/* CTA strip at bottom */
.faq__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq__cta::before {
  content: '?';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 22rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .04);
  right: -40px;
  top: -60px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.faq__cta-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.faq__cta .btn {
  position: relative;
  z-index: 1;
  background: var(--gold);
  box-shadow: 0 6px 24px rgba(197, 160, 89, .5);
}

.faq__cta .btn:hover {
  background: #b88d42;
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, .65);
  text-align: center;
  padding: 28px 24px;
  font-size: .85rem;
}

/* ----------------------------------------------------------
   15. FLOATING WHATSAPP BUTTON
   ---------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 36px;
  right: 36px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
  z-index: 9999;
  transition: transform .3s ease, box-shadow .3s ease;
  animation: pulse-wa 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .65);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ----------------------------------------------------------
   16. ANIMATIONS
   ---------------------------------------------------------- */
@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 fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes pulse-dot {

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

  50% {
    opacity: .5;
    transform: scale(.7);
  }
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
  }

  50% {
    box-shadow: 0 6px 28px rgba(37, 211, 102, .75);
  }
}

/* Intersection observer animation utility */
.anim-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}

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

/* ----------------------------------------------------------
   17. RESPONSIVE — TABLET (max 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-pad: 70px 20px;
  }

  .hero__inner {
    padding: 120px 32px 100px;
    text-align: left;
  }

  .hero__subtext {
    max-width: 100%;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__social-proof {
    margin: 32px auto 0;
  }

  .hero__image-side {
    display: none;
  }

  .about-doctor__inner,
  .testimonial-highlight__inner,
  .about-clinic__inner,
  .mission__inner,
  .values__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .faq__list--row {
    grid-template-columns: 1fr;
  }

  .about-clinic__inner {
    direction: rtl;
  }

  .about-clinic__inner>* {
    direction: ltr;
  }

  .testimonials-video__grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   18. RESPONSIVE — MOBILE (max 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --section-pad: 56px 16px;
  }

  .btn {
    white-space: normal;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: .9rem;
    line-height: 1.4;
    width: 100%;
  }

  .hero__badge {
    font-size: .72rem;
  }

  .hero__headline {
    font-size: 2rem;
  }

  .hero__subtext {
    font-size: .95rem;
  }

  .about-clinic__inner {
    direction: ltr;
  }

  .results-carousel__slide {
    width: 260px;
  }

  .results-carousel__slide img {
    height: 320px;
  }

  .services-carousel__slide {
    width: 260px;
  }

  .services-carousel__slide img {
    height: 300px;
  }

  .social-proof__image {
    max-width: 100%;
  }

  .depoimentos-slider__slide {
    width: calc(100% - 0px);
  }

  .depoimentos-slider__arrow {
    width: 40px;
    height: 40px;
  }

  .depoimentos-slider__arrow svg {
    width: 18px;
    height: 18px;
  }

  .contact__map {
    height: 280px;
  }

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

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .btn {
    font-size: .88rem;
    padding: 13px 22px;
  }

  .testimonial-highlight__quote {
    padding-left: 0;
  }

  .testimonial-highlight__quote::before {
    position: static;
    display: block;
    font-size: 3.5rem;
    margin-bottom: -10px;
  }

  .faq__cta {
    padding: 36px 24px;
  }

  .faq__cta::before {
    font-size: 14rem;
  }
}
