/* ============================================
   DRA. ROZEANE LEAL — Site Institucional
   CSS Custom Properties & Base Styles
   ============================================ */

:root {
  /* Colors */
  --gold: #A9884D;
  --gold-light: #C9AD78;
  --cream: #F7F3EC;
  --dark: #201B14;
  --white: #FFFFFF;
  --text-muted: #6B6259;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Jost', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 760px;
  --header-height: 72px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ========== RESET & BASE ========== */

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

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

address {
  font-style: normal;
}

/* ========== UTILITIES ========== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-2xl) 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section--cream {
  background-color: var(--cream);
}

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

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__line {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin: 0 auto var(--space-md);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

.section__title--light {
  color: var(--white);
}

.section__subtitle {
  margin-top: var(--space-sm);
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

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

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

.btn--outline-light {
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-light:hover {
  background-color: var(--white);
  color: var(--dark);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.7rem;
}

.btn--full {
  width: 100%;
}

.btn--whatsapp {
  background-color: #25D366;
  color: var(--white);
  border: 2px solid #25D366;
  font-size: 0.85rem;
  padding: 1rem 2rem;
}

.btn--whatsapp:hover {
  background-color: #1da851;
  border-color: #1da851;
}

.btn--whatsapp svg {
  width: 22px;
  height: 22px;
}

/* ========== HEADER ========== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(169, 136, 77, 0.15);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(32, 27, 20, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-md);
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ========== LOGO IMAGES ========== */

.logo-img {
  display: block;
  height: auto;
  object-fit: contain;
}

.logo-img--horizontal {
  height: 44px;
  width: auto;
  max-width: min(220px, 55vw);
}

.logo-img--vertical {
  width: auto;
  max-width: 180px;
}

.logo-img--about {
  max-width: 240px;
  max-height: 80%;
  margin: auto;
}

.logo-img--on-dark {
  max-width: 200px;
  margin-bottom: var(--space-md);
  opacity: 0.95;
}

.footer__logo .logo-img--on-dark {
  margin-bottom: var(--space-sm);
  max-width: 200px;
}

.contact-grid__info .logo-img--on-dark {
  max-width: 200px;
  margin-bottom: var(--space-lg);
}

.header__nav {
  display: none;
}

.header__menu {
  display: flex;
  gap: var(--space-md);
}

.header__menu a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
}

.header__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width var(--transition);
}

.header__menu a:hover,
.header__menu a.active {
  color: var(--gold);
}

.header__menu a:hover::after,
.header__menu a.active::after {
  width: 100%;
}

.header__cta {
  display: none;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 1002;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  transition: all var(--transition);
  transform-origin: center;
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(32, 27, 20, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.header__overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile nav open */
.header__nav.open {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background-color: var(--white);
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  box-shadow: -4px 0 30px rgba(32, 27, 20, 0.1);
  animation: slideIn 0.3s ease;
}

.header__nav.open .header__menu {
  flex-direction: column;
  gap: var(--space-lg);
}

.header__nav.open .header__menu a {
  font-size: 1rem;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('hero1.jpg');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(32, 27, 20, 0) 0%,
    rgba(32, 27, 20, 0.08) 22%,
    rgba(32, 27, 20, 0.35) 38%,
    rgba(32, 27, 20, 0.68) 52%,
    rgba(32, 27, 20, 0.88) 62%,
    rgba(32, 27, 20, 0.94) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl) var(--space-lg);
}

.hero__kicker {
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}

.hero__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(420px, 92vw);
  max-height: 140px;
  margin-bottom: calc(var(--space-md) + 0.25rem);
  object-fit: contain;
}

.hero__logo.logo-img--horizontal {
  height: auto;
  max-width: min(420px, 92vw);
}

.hero__signature-line {
  display: block;
  width: min(140px, 42vw);
  height: 1px;
  margin-bottom: calc(var(--space-xl) + 1rem);
  background: linear-gradient(
    to right,
    rgba(201, 173, 120, 0.85),
    rgba(201, 173, 120, 0.15)
  );
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-end;
    justify-content: center;
  }

  .hero__bg {
    background-position: 22% 12%;
    background-size: cover;
  }

  .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(32, 27, 20, 0.97) 0%,
      rgba(32, 27, 20, 0.9) 22%,
      rgba(32, 27, 20, 0.55) 48%,
      rgba(32, 27, 20, 0.15) 72%,
      rgba(32, 27, 20, 0) 100%
    );
  }

  .hero__content {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: calc(var(--header-height) + var(--space-sm)) var(--space-md) calc(var(--space-2xl) + 2.75rem);
  }

  .hero__kicker {
    font-size: clamp(0.82rem, 3.2vw, 0.95rem);
    letter-spacing: 0.18em;
  }

  .hero__logo {
    max-width: min(360px, 88vw);
    max-height: 118px;
    margin-bottom: var(--space-sm);
  }

  .hero__logo.logo-img--horizontal {
    max-width: min(360px, 88vw);
  }

  .hero__signature-line {
    width: min(120px, 36vw);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--space-xl) + 0.75rem);
  }

  .hero__title {
    font-size: clamp(1.85rem, 8.5vw, 2.5rem);
    margin-bottom: var(--space-sm);
  }

  .hero__subtitle {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: var(--space-md);
  }

  .hero .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    gap: var(--space-sm);
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    font-size: 0.72rem;
    white-space: normal;
    line-height: 1.35;
  }

  .hero__scroll {
    display: none;
  }
}

@media (min-width: 1280px) {
  .hero__content {
    padding-right: calc((100vw - var(--container-max)) / 2 + var(--space-lg));
  }
}

/* ========== BRAND QUOTE ========== */

.brand-quote {
  text-align: center;
  padding: var(--space-lg) 0;
}

.brand-quote blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  color: var(--dark);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

.brand-quote__line {
  width: 80px;
  height: 1px;
  background-color: var(--gold);
  margin: var(--space-md) auto;
}

/* ========== HARMONIZAÇÃO LABIAL ========== */

.labial-grid {
  display: grid;
  gap: var(--space-xl);
}

.labial-grid__visual {
  margin-top: var(--space-xl);
  width: 100%;
}

.labial-cta {
  margin-top: var(--space-xl);
  text-align: center;
}

.labial-grid__visual .ba-slider {
  max-width: none;
  margin: 0;
  aspect-ratio: 1690 / 955;
}

.diff-cards {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.diff-card {
  padding: var(--space-lg) var(--space-md);
  border-top: 2px solid var(--gold);
  background-color: var(--cream);
  text-align: center;
}

.diff-card__icon {
  width: 96px;
  height: 96px;
  color: var(--gold);
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(169, 136, 77, 0.28);
  border-radius: 50%;
  background: rgba(169, 136, 77, 0.06);
}

.diff-card__icon svg {
  width: 44px;
  height: 44px;
}

.icon-elegant {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diff-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.diff-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Before/After Slider */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-slider__after,
.ba-slider__before {
  position: absolute;
  inset: 0;
}

.ba-slider__before {
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.ba-slider__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.ba-slider__img--before {
  max-width: none;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  cursor: col-resize;
}

.ba-slider__handle-line {
  width: 2px;
  height: 100%;
  background-color: var(--white);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.ba-slider__handle-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ba-slider__handle-circle svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.ba-slider__labels {
  position: absolute;
  bottom: var(--space-sm);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-sm);
  z-index: 4;
  pointer-events: none;
}

.ba-slider__labels span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background-color: rgba(32, 27, 20, 0.6);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
}

/* ========== PROCEDIMENTOS ========== */

.proc-grid {
  display: grid;
  gap: var(--space-md);
  align-items: stretch;
}

.proc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-lg) var(--space-md);
  background-color: var(--white);
  border: 1px solid rgba(169, 136, 77, 0.15);
  border-top: 2px solid var(--gold);
  border-radius: 4px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.proc-card:hover {
  box-shadow: 0 8px 30px rgba(32, 27, 20, 0.08);
  transform: translateY(-2px);
}

.proc-card__icon {
  width: 96px;
  height: 96px;
  color: var(--gold);
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(169, 136, 77, 0.28);
  border-radius: 50%;
  background: rgba(169, 136, 77, 0.06);
}

.proc-card__icon svg {
  width: 44px;
  height: 44px;
}

.proc-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.proc-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== SOBRE ========== */

.about-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.about-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid rgba(169, 136, 77, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.about-image__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-grid__content .section__line {
  margin-left: 0;
}

.about-grid__content p {
  color: var(--text-muted);
  margin-top: var(--space-md);
  line-height: 1.8;
}

.credentials {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border: 1px solid rgba(169, 136, 77, 0.3);
  border-radius: 4px;
}

.credentials h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.credentials li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  padding-left: var(--space-sm);
  border-left: 2px solid var(--gold-light);
  margin-bottom: var(--space-xs);
}

.about-quote {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid rgba(169, 136, 77, 0.3);
  border-bottom: 1px solid rgba(169, 136, 77, 0.3);
}

.about-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dark);
  max-width: 800px;
  margin: 0 auto;
}

.about-quote cite {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ========== RESULTADOS ========== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(169, 136, 77, 0.3);
  border-radius: 4px;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.result-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: opacity var(--transition), transform var(--transition);
}

.result-card.hidden {
  display: none;
}

.result-card__image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8e0d4 0%, #c9ad78 60%, #a9884d 100%);
  transition: transform var(--transition-slow);
}

.result-card:hover .result-card__image {
  transform: scale(1.05);
}

.result-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  background: linear-gradient(transparent, rgba(32, 27, 20, 0.7));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ========== DEPOIMENTOS / CAROUSEL ========== */

.carousel {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.carousel__track {
  position: relative;
  min-height: 200px;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: var(--space-lg);
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-slide__quote {
  width: 40px;
  height: 40px;
  color: var(--gold-light);
  margin: 0 auto var(--space-md);
}

.testimonial-slide__quote svg {
  width: 100%;
  height: 100%;
}

.testimonial-slide__text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: var(--space-md);
}

.testimonial-slide__author {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.placeholder-tag {
  font-size: 0.7rem;
  color: var(--gold);
  font-style: italic;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.carousel__btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(169, 136, 77, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all var(--transition);
}

.carousel__btn:hover {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.carousel__btn svg {
  width: 20px;
  height: 20px;
}

.carousel__dots {
  display: flex;
  gap: 8px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(169, 136, 77, 0.3);
  border: none;
  transition: all var(--transition);
  cursor: pointer;
}

.carousel__dot.active {
  background-color: var(--gold);
  transform: scale(1.2);
}

/* ========== FAQ ACCORDION ========== */

.accordion__item {
  border-bottom: 1px solid rgba(169, 136, 77, 0.2);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  gap: var(--space-sm);
  transition: color var(--transition);
}

.accordion__trigger:hover {
  color: var(--gold);
}

.accordion__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition);
}

.accordion__item.open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition);
}

.accordion__panel p {
  color: var(--text-muted);
  line-height: 1.8;
  padding-bottom: var(--space-md);
}

.accordion__item.open .accordion__panel {
  max-height: 300px;
}

/* ========== LOCALIZAÇÃO ========== */

.location-grid {
  display: grid;
  gap: var(--space-md);
  align-items: stretch;
}

.location-card {
  padding: var(--space-lg);
  border: 1px solid rgba(169, 136, 77, 0.2);
  border-radius: 4px;
  background-color: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.location-card--featured {
  border-color: var(--gold);
  border-width: 2px;
}

.location-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background-color: var(--gold);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-bottom: var(--space-sm);
}

.location-card__badge--placeholder {
  visibility: hidden;
}

.location-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.location-card__partner {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.location-card address {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: auto;
  margin-bottom: var(--space-md);
}

.location-card__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: 0;
}

/* ========== CONTATO ========== */

.contact-grid {
  display: grid;
  gap: var(--space-xl);
}

.contact-grid__subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(169, 136, 77, 0.3);
  border-radius: 4px;
  padding: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(169, 136, 77, 0.3);
  border-radius: 4px;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C9AD78' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-group select option {
  background-color: var(--dark);
  color: var(--white);
}

.form-group input.error,
.form-group select.error {
  border-color: #c0392b;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: 0.25rem;
  min-height: 1.2em;
}

.form-success {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background-color: rgba(169, 136, 77, 0.15);
  border: 1px solid var(--gold);
  border-radius: 4px;
  text-align: center;
}

.form-success p {
  color: var(--gold-light);
  font-size: 0.95rem;
}

.form-success__fallback {
  margin-top: var(--space-sm);
  font-size: 0.85rem !important;
}

.form-success__fallback a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-success__fallback a:hover {
  color: var(--gold-light);
}

/* ========== AVALIAÇÃO PRÉVIA — FORMULÁRIO ========== */

.form-error--submit {
  text-align: center;
  margin-top: var(--space-sm);
}

.form-group--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.assessment-form {
  background-color: var(--white);
  border: 1px solid rgba(169, 136, 77, 0.2);
  border-radius: 4px;
  padding: var(--space-lg);
  box-shadow: 0 12px 40px rgba(32, 27, 20, 0.06);
}

.assessment-form .form-group label,
.assessment-form .form-group__label {
  color: var(--gold);
}

.assessment-form .form-group__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-label__required {
  color: #c0392b;
  font-weight: 600;
}

.assessment-form .form-group input[type="text"],
.assessment-form .form-group input[type="tel"],
.assessment-form .form-group select {
  color: var(--dark);
  background-color: var(--cream);
  border: 1px solid rgba(169, 136, 77, 0.25);
}

.assessment-form .form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A9884D' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.assessment-form .form-group select option {
  color: var(--dark);
  background-color: var(--white);
}

.assessment-form .form-group input::placeholder {
  color: var(--text-muted);
}

.assessment-form .form-group input:focus {
  border-color: var(--gold);
  background-color: var(--white);
}

.assessment-form .form-group select:focus {
  border-color: var(--gold);
  background-color: var(--white);
  outline: none;
}

.assessment-form .form-group input.error {
  border-color: #c0392b;
}

.assessment-form .form-group select.error {
  border-color: #c0392b;
}

.form-row {
  display: grid;
  gap: var(--space-md);
}

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

.form-fieldset {
  border: none;
  margin: 0 0 var(--space-md);
  padding: 0;
}

.form-fieldset legend {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.form-fieldset__hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.checkbox-grid {
  display: grid;
  gap: var(--space-xs);
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(169, 136, 77, 0.2);
  border-radius: 4px;
  background-color: var(--cream);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}

.checkbox-option:hover {
  border-color: rgba(169, 136, 77, 0.45);
}

.checkbox-option:has(input:checked) {
  border-color: var(--gold);
  background-color: rgba(169, 136, 77, 0.1);
}

.checkbox-option input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-option span {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.5;
}

.file-upload {
  position: relative;
}

.file-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.file-upload__choices {
  display: grid;
  gap: var(--space-sm);
}

.file-upload__choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-lg);
  border: 2px dashed rgba(169, 136, 77, 0.35);
  border-radius: 4px;
  background-color: var(--cream);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
  text-align: center;
  font-family: inherit;
  width: 100%;
}

.form-group label.file-upload__choice,
.assessment-form .form-group label.file-upload__choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: none;
  letter-spacing: normal;
  font-size: inherit;
  font-weight: inherit;
  margin-bottom: 0;
  color: var(--dark);
}

.file-upload__choice:hover {
  border-color: var(--gold);
  background-color: rgba(169, 136, 77, 0.06);
}

.file-upload__choice svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.file-upload__text {
  display: block;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}

.file-upload__sub {
  display: block;
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}

.file-upload.has-file .file-upload__choices {
  display: none;
}

@media (min-width: 768px) {
  .file-upload__choices {
    grid-template-columns: 1fr 1fr;
  }
}

.photo-preview {
  border: 1px solid rgba(169, 136, 77, 0.25);
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--cream);
}

.photo-preview img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background-color: var(--dark);
}

.photo-preview__remove {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background-color: var(--white);
  border-top: 1px solid rgba(169, 136, 77, 0.2);
  cursor: pointer;
  transition: background-color var(--transition);
}

.photo-preview__remove:hover {
  background-color: var(--cream);
}

.camera-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.camera-modal[hidden] {
  display: none;
}

.camera-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 22, 18, 0.72);
}

.camera-modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.camera-modal__title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--dark);
  text-align: center;
}

.camera-modal__hint {
  margin: 0 0 var(--space-md);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.camera-modal__viewport {
  overflow: hidden;
  border-radius: 6px;
  background-color: var(--dark);
  aspect-ratio: 3 / 4;
}

.camera-modal__viewport video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.camera-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.form-success--light {
  background-color: rgba(169, 136, 77, 0.08);
  border-color: var(--gold);
}

.form-success--light p {
  color: var(--dark);
}

.form-success--light .form-success__fallback a {
  color: var(--gold);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-row--location {
    grid-template-columns: minmax(0, 1.6fr) minmax(160px, 0.9fr);
  }

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

/* ========== FOOTER ========== */

.footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__logo {
  display: inline-block;
}

.footer__tagline {
  margin-top: var(--space-xs);
  font-size: 0.85rem;
  color: var(--gold-light);
  font-style: italic;
}

.footer__seo {
  margin-top: var(--space-sm);
  max-width: 28rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer__seo a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.footer__seo a:hover {
  color: var(--gold-light);
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.footer__nav a {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--gold-light);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(169, 136, 77, 0.4);
  border-radius: 50%;
  color: var(--gold);
  transition: all var(--transition);
}

.footer__social a:hover {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__addresses p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.footer__addresses strong {
  color: var(--gold-light);
}

.footer__bottom {
  border-top: 1px solid rgba(169, 136, 77, 0.2);
  padding-top: var(--space-md);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
}

/* ========== WHATSAPP FLOAT ========== */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 999;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: whatsappPulse 2.5s ease infinite;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
}

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

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ========== RESPONSIVE — 480px ========== */

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .location-card__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ========== RESPONSIVE — 768px ========== */

@media (min-width: 768px) {
  .logo-img--horizontal {
    height: 48px;
    max-width: 240px;
  }

  .contact-grid__info .logo-img--on-dark {
    max-width: 240px;
  }

  .footer__logo .logo-img--on-dark {
    max-width: 220px;
  }

  .section {
    padding: calc(var(--space-2xl) + 1rem) 0;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .results-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

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

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 0.5fr 1.5fr;
    align-items: start;
  }
}

/* ========== RESPONSIVE — 1024px ========== */

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__hamburger {
    display: none;
  }

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

/* ========== RESPONSIVE — 1280px ========== */

@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

/* ========== ACCESSIBILITY ========== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
