/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --bg-light: #FAF7F4;
  --bg-dark: #1C1C1C;
  --accent: #C4965A;
  --accent-hover: #B0834A;
  --text-primary: #2A2A2A;
  --text-secondary: #5A5A5A;
  --text-light: #FAF7F4;
  --border: #E8E0D8;
  --border-dark: rgba(255,255,255,0.1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --section-padding: 5rem 1.5rem;
  --section-padding-mobile: 4rem 1.25rem;
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   ANIMATIONS & REVEAL SYSTEM
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: opacity, transform;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Base delays for staggering (used by JS) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(196, 150, 90, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(196, 150, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 150, 90, 0); }
}

@keyframes float-glow {
  0%, 100% { filter: drop-shadow(0 0 15px rgba(196, 150, 90, 0.3)); }
  50% { filter: drop-shadow(0 0 35px rgba(196, 150, 90, 0.6)); }
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

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

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

ul { list-style: none; }

/* ============================================================
   GLOBAL UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  touch-action: manipulation;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: normal;
  line-height: 1.4;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 150, 90, 0.35);
}

.btn--pulse {
  animation: pulse-gold 2.5s infinite;
}
.btn--pulse:hover {
  animation: none;
}

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

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--text-primary);
  color: var(--bg-light);
}

.btn--large {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

/* Mobile-first: full width buttons, desktop overrides in component-level min-width blocks */
.btn {
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .btn {
    width: auto;
    text-align: center;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: radial-gradient(circle at 10% 20%, #2A2A2A 0%, var(--bg-dark) 50%);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

/* Mobile: image on top as banner */
.hero__image {
  width: 100%;
  height: 75vw;
  max-height: 480px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.hero__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
}

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

.hero__content {
  padding: 2rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-light);
  max-width: 22ch;
  text-wrap: balance;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.75;
  color: rgba(250, 247, 244, 0.8);
  max-width: 52ch;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(250, 247, 244, 0.65);
  margin-top: -0.25rem;
}

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

.hero .tag {
  color: var(--accent);
  opacity: 0.9;
}

/* Desktop: full-width dark bg + photo absolute right with blend gradient */
@media (min-width: 768px) {
  .hero {
    display: block;
    position: relative;
    height: 100svh;
    min-height: 600px;
    flex-direction: unset;
    overflow: hidden;
  }

  /* Photo: absolute right, bleeds to edge */
  .hero__image {
    position: absolute;
    right: 0;
    top: 0;
    width: 48%;
    height: 100%;
    max-height: none;
    overflow: hidden;
    flex-shrink: unset;
  }

  /* Gradient: dark → transparent, merges photo into background */
  .hero__image::after {
    display: block;
    position: absolute;
    inset: 0;
    bottom: auto;
    height: 100%;
    background: linear-gradient(
      to right,
      var(--bg-dark) 0%,
      rgba(28, 28, 28, 0.65) 20%,
      transparent 55%
    );
  }

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

  /* Content: on top of bg, constrained to left ~62% */
  .hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.75rem;
    height: 100%;
    max-width: 62%;
    padding: 2rem 2rem 2rem 6rem;
  }

  .hero__title {
    font-size: clamp(2.8rem, 4vw, 5.2rem);
    max-width: 20ch;
    line-height: 1.1;
  }

  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 44ch;
  }

  .hero .btn {
    width: auto;
  }
}

@media (min-width: 1200px) {
  .hero__image {
    width: 46%;
  }

  .hero__content {
    padding: 2rem 2rem 2rem 7rem;
    max-width: 60%;
  }

  .hero__title {
    font-size: clamp(3.5rem, 4.2vw, 5.5rem);
    max-width: 20ch;
  }
}

/* ============================================================
   STATS / CREDENCIAIS BAR
   ============================================================ */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat__plus {
  font-size: 0.8em;
  vertical-align: super;
  line-height: 0;
}

.stat__reg {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 0;
}

.stat__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

@media (min-width: 600px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .stats {
    padding: 3rem 1.5rem;
  }
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  background: var(--bg-light);
  padding: var(--section-padding-mobile);
  text-align: center;
}

.problem .section-title {
  max-width: 22ch;
  margin: 0 auto 1.25rem;
}

.problem__intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 55ch;
  margin: 0 auto 2.5rem;
}

.problem__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.problem__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  font-size: 0.97rem;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.problem__item:last-child { border-bottom: none; }
.problem__item:hover { 
  background: #fff; 
  transform: translateY(-3px) scale(1.01); 
  box-shadow: 0 12px 30px rgba(0,0,0,0.06); 
  border-color: transparent;
  z-index: 10;
  position: relative;
  border-radius: 8px;
}

.problem__icon {
  color: var(--accent);
  font-size: 0.7rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.problem__cta-text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 58ch;
  margin: 0 auto 2rem;
  font-style: italic;
  line-height: 1.8;
}

.problem .btn {
  align-self: center;
  display: inline-flex;
  width: 100%;
}

@media (min-width: 768px) {
  .problem .btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  .problem {
    padding: var(--section-padding);
  }
}

/* ============================================================
   TREATMENTS
   ============================================================ */
.treatments {
  background: var(--bg-dark);
  padding: var(--section-padding-mobile);
  text-align: center;
}

.treatments .tag { color: var(--accent); }

.treatments .section-title {
  max-width: 22ch;
  margin: 0 auto 1rem;
}

.treatments__subtitle {
  color: rgba(250, 247, 244, 0.65);
  font-size: 1rem;
  max-width: 55ch;
  margin: 0 auto 3rem;
}

.treatments__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
  text-align: left;
}

.treatment-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
}

.treatment-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(196, 150, 90, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.treatment-card:hover::before {
  height: 100%;
  box-shadow: 0 0 15px var(--accent);
}

.treatment-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(196, 150, 90, 0.3);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.treatment-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.treatment-card__desc {
  font-size: 0.92rem;
  color: rgba(250, 247, 244, 0.65);
  line-height: 1.75;
}

.treatments .btn {
  margin: 0 auto;
}

@media (min-width: 600px) {
  .treatments__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .treatments {
    padding: var(--section-padding);
  }
}

@media (min-width: 1024px) {
  .treatments__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .treatments .btn {
    width: auto;
  }
}

/* ============================================================
   HAIRMETRIX
   ============================================================ */
.hairmetrix {
  background: var(--bg-light);
  padding: var(--section-padding-mobile);
  text-align: center;
}

.hairmetrix .tag { color: var(--accent); }

.hairmetrix .section-title {
  max-width: 18ch;
  margin: 0 auto 1.25rem;
}

.hairmetrix__intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 62ch;
  margin: 0 auto 2rem;
  line-height: 1.85;
}

.hairmetrix__device {
  margin: 0 auto 3rem;
  max-width: 600px;
  position: relative;
}

.hairmetrix__device::before {
  content: '';
  position: absolute;
  top: 8%; left: 8%; right: 8%; bottom: 8%;
  background: var(--accent);
  filter: blur(50px);
  opacity: 0.15;
  z-index: 0;
  animation: pulse-glow 4s infinite alternate;
}

@keyframes pulse-glow {
  from { opacity: 0.1; transform: scale(0.95); }
  to { opacity: 0.3; transform: scale(1.05); }
}

.hairmetrix__device img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(28, 28, 28, 0.15);
  display: block;
  position: relative;
  z-index: 1;
}

.hairmetrix__device figcaption {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.hairmetrix__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.hairmetrix__feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}

.hairmetrix__icon {
  color: var(--accent);
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.hairmetrix__feature-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.hairmetrix__feature-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.hairmetrix .btn {
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hairmetrix {
    padding: var(--section-padding);
  }

  .hairmetrix__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hairmetrix .btn {
    width: auto;
  }
}

/* ============================================================
   RESULTS (BEFORE/AFTER)
   ============================================================ */
.results {
  background: var(--bg-light);
  padding: var(--section-padding-mobile);
  text-align: center;
}

.results .section-title {
  max-width: 18ch;
  margin: 0 auto 2.5rem;
}

.results__track {
  position: relative;
}

@media (min-width: 768px) {
  .results__track::before,
  .results__track::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 3;
    pointer-events: none;
  }
  .results__track::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
  }
  .results__track::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
  }
}

.results__arrow {
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.14);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}

.results__arrow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Mobile: inside the track edges */
.results__arrow--prev { left: 6px; }
.results__arrow--next { right: 6px; }

.results__arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.results__slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding: 0 1.5rem 0.5rem;
  margin: 0 -1.5rem 1rem;
  scrollbar-width: none;
}

.results__slider::-webkit-scrollbar {
  display: none;
}

.results__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.results__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.results__dot--active {
  background: var(--accent);
  transform: scale(1.3);
}

.result-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 0;
  flex: 0 0 80%;
  scroll-snap-align: start;
}

.result-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.result-card:hover img {
  transform: scale(1.02);
}

.result-card__labels {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.result-card__before,
.result-card__after {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.6rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.result-card__before {
  align-items: flex-start;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent);
}

.result-card__after {
  align-items: flex-end;
  padding-bottom: 0.8rem;
  background: linear-gradient(to top, rgba(196, 150, 90, 0.6), transparent);
}

.results__disclaimer {
  font-size: 0.78rem;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto;
  font-style: italic;
}

@media (min-width: 600px) {
  .result-card {
    flex: 0 0 55%;
  }
}

@media (min-width: 768px) {
  .results {
    padding: var(--section-padding);
  }

  .result-card {
    flex: 0 0 44%;
  }
}

@media (min-width: 1024px) {
  .result-card {
    flex: 0 0 32%;
  }

  .results__slider {
    padding: 0 0 0.5rem;
    margin: 0 0 1rem;
  }

  .results__track {
    padding: 0 30px;
  }

  .results__arrow {
    width: 44px;
    height: 44px;
    background: #fff;
    backdrop-filter: none;
  }

  .results__arrow--prev { left: -22px; }
  .results__arrow--next { right: -22px; }
}

/* ============================================================
   BIO / AUTHORITY
   ============================================================ */
.bio {
  background: radial-gradient(circle at 80% 80%, #2A2A2A 0%, var(--bg-dark) 50%);
  padding: var(--section-padding-mobile);
}

.bio__container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.bio__image-wrap {
  width: 100%;
  max-width: 380px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.bio__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(196, 150, 90, 0.25);
}

.bio__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.bio__content {
  max-width: 580px;
}

.bio__content .section-title {
  margin-bottom: 1.5rem;
}

.bio__text {
  font-size: 0.97rem;
  color: rgba(250, 247, 244, 0.75);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.bio__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--accent);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.bio__closing {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.bio__quote {
  border-left: 2px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.75rem 0;
}

.bio__quote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(250, 247, 244, 0.85);
  line-height: 1.7;
}

.bio__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 2rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid rgba(196, 150, 90, 0.4);
  border-radius: 100px;
  color: var(--accent);
  background: rgba(196, 150, 90, 0.07);
}

@media (min-width: 768px) {
  .bio {
    padding: var(--section-padding);
  }

  .bio__container {
    flex-direction: row;
    align-items: flex-start;
    gap: 5rem;
  }

  .bio__image-wrap {
    max-width: 420px;
  }

  .bio .btn {
    width: auto;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--bg-light);
  padding: var(--section-padding-mobile);
  text-align: center;
}

.faq .section-title {
  max-width: 20ch;
  margin: 0 auto 2.5rem;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

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

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  text-align: left;
  transition: color var(--transition);
}

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

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

.faq__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__answer {
  overflow: hidden;
}

.faq__answer p {
  padding: 0 0 1.5rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq__answer[hidden] { display: none; }

@media (min-width: 768px) {
  .faq {
    padding: var(--section-padding);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  padding: var(--section-padding-mobile);
  text-align: center;
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-light);
  max-width: 20ch;
  line-height: 1.25;
}

.footer .btn {
  max-width: 420px;
  width: 100%;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
}

.footer__info-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(250, 247, 244, 0.55);
}

.footer__info-item svg {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.8;
}

.footer__info-item a {
  color: rgba(250, 247, 244, 0.55);
  transition: color var(--transition);
}

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

.footer__legal {
  font-size: 0.78rem;
  color: rgba(250, 247, 244, 0.50);
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .footer {
    padding: var(--section-padding);
  }

  .footer .btn {
    width: auto;
  }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  right: 1.75rem;
  z-index: 9999;
  width: 3.5rem;
  height: 3.5rem;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  touch-action: manipulation;
  transition: transform var(--transition), box-shadow var(--transition), opacity 0.3s ease;
}

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

@media (min-width: 768px) {
  .whatsapp-float {
    width: 4rem;
    height: 4rem;
    bottom: 2rem;
    right: 2rem;
  }
}

/* ============================================================
   ACCESSIBILITY UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  border-bottom-right-radius: var(--radius);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Global focus-visible for all interactive elements */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .result-card:hover img {
    transform: none;
  }

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

  .whatsapp-float:hover {
    transform: none;
  }
}
