/*
  ============================================================
  DRA. FLÁVIA VIANA — Medicina Estética
  style.css
  Responsive Layout Checker (skill) aplicada:
  ✅ overflow-x: hidden no body/html
  ✅ box-sizing: border-box global
  ✅ Sem larguras fixas que quebram mobile
  ✅ Imagens com max-width: 100%
  ✅ dvh em vez de vh para altura full-screen
  ✅ Touch targets mínimos de 44px
  ✅ Tipografia com clamp() em todos os títulos
  ✅ Breakpoints: 320px → 480px → 640px → 768px → 1024px → 1280px+
  ============================================================
*/

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

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background-color: #FDF8F0;
  color: #453628;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  touch-action: manipulation; /* prevent delay on mobile */
}

/* ── ACCESSIBILITY ── */
:focus-visible {
  outline: 2px solid #B8917A;
  outline-offset: 3px;
  border-radius: 4px;
}

.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 {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: #B8917A;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ── DESIGN TOKENS ── */
:root {
  --cream-50:  #FFFDF9;
  --cream-100: #FDF8F0;
  --cream-200: #F7EFE2;
  --cream-300: #EDE3D1;
  --cream-400: #DED0B8;

  --warm-600: #7A6652;
  --warm-700: #5E4B3B;
  --warm-800: #453628;
  --warm-900: #2F241A;

  --accent:       #B8917A;
  --accent-light: #D4B8A5;
  --accent-dark:  #956F58;
  --accent-bg:    rgba(184, 145, 122, 0.08);
  --accent-bg2:   rgba(184, 145, 122, 0.15);

  --nude:       #C9A592;
  --nude-light: #E8D5CA;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.09);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.12);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Responsive section vertical padding — mobile-first */
  --section-py: clamp(3rem, 8vw, 7rem);
  /* Responsive horizontal padding */
  --section-px: clamp(1.25rem, 5vw, 2.5rem);

  /* Touch target minimum */
  --touch-min: 44px;

  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── TYPOGRAPHY SCALE (clamp-based, fluid) ── */
.text-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw + 1rem, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.text-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.8rem);
  font-weight: 600;
  line-height: 1.18;
}

.text-h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.2rem, 2vw + 0.2rem, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
}

.text-body {
  font-size: clamp(0.925rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
}

.text-small {
  font-size: clamp(0.8rem, 1.2vw, 0.9375rem);
}

.text-label {
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── LAYOUT UTILS ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--section-px);
}

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

/* ── SECTION LABEL ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--touch-min);
  padding: 0.75rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(184, 145, 122, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: rotate(25deg);
  animation: gold-shimmer 4.5s infinite;
  pointer-events: none;
}
@keyframes gold-shimmer {
  0%   { left: -60%; }
  22%  { left: 140%; }
  100% { left: 140%; }
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(184, 145, 122, 0.45);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--warm-700);
  border: 2px solid rgba(184, 145, 122, 0.35);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── HEADER ── */
#header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 999;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
  padding-block: 1.125rem;
}

#header.scrolled {
  background: rgba(253, 248, 240, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(184, 145, 122, 0.12);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  padding-block: 0.75rem;
}

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

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}
.logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--warm-900);
  letter-spacing: 0.01em;
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: -1px;
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--warm-700);
  transition: color var(--transition);
  padding-block: 0.5rem;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
}
.nav-desktop a:hover {
  color: var(--accent);
}

/* Mobile hamburger */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--warm-800);
  font-size: 1.6rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  flex-shrink: 0;
}
.menu-btn:hover {
  background: var(--accent-bg);
}

/* Mobile overlay */
#mobileOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
#mobileOverlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile drawer */
#mobileDrawer {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(85vw, 320px);
  height: 100dvh;
  background: var(--cream-50);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  gap: 0.25rem;
  box-shadow: -4px 0 40px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
#mobileDrawer.active {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--warm-700);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.drawer-close:hover {
  background: var(--accent-bg);
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  min-height: var(--touch-min);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--warm-700);
  border-bottom: 1px solid var(--cream-300);
  padding-block: 0.5rem;
  transition: color var(--transition);
}
.nav-mobile-link:hover,
.nav-mobile-link:focus {
  color: var(--accent);
}

.drawer-cta {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* ── HERO ── */
#hero {
  min-height: 90dvh;
  display: flex;
  align-items: center;
  padding-top: clamp(5.5rem, 15vw, 8rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  padding-inline: var(--section-px);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 60%, var(--cream-200) 100%);
  z-index: -2;
}
.hero-orb {
  position: absolute;
  top: -10%;
  right: -8%;
  width: clamp(200px, 40vw, 500px);
  height: clamp(200px, 40vw, 500px);
  background: rgba(184, 145, 122, 0.07);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}

/* On large screens, image first (right column) */
.hero-text { order: 2; }
.hero-image-wrap { order: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-badge::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 6vw + 0.5rem, 3.8rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--warm-900);
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #C5A059 0%, #EBD9B4 45%, #B8917A 75%, #956F58 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  color: var(--warm-600);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.25rem;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-300);
}
.pillar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  font-weight: 500;
  color: var(--warm-600);
}
.pillar i {
  color: var(--accent);
  font-size: 1rem;
}

/* Hero image */
.hero-image-wrap {
  position: relative;
}
.hero-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255,255,255,0.6);
}
.hero-image-card img {
  width: 100%;
  height: clamp(280px, 45vw, 520px);
  object-fit: cover;
  object-position: center top;
}
.hero-badge-float {
  position: absolute;
  bottom: -1rem;
  left: clamp(-0.5rem, -2vw, 1.5rem);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 145, 122, 0.15);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}
.badge-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent-bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}
.badge-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.badge-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--warm-600);
  line-height: 1.4;
}

/* ── ABOUT ── */
#sobre {
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img img {
  width: 100%;
  height: clamp(320px, 45vw, 500px);
  object-fit: cover;
  object-position: top;
}
.about-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--warm-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.about-body {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--warm-600);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}
.about-body strong {
  color: var(--warm-800);
}
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}
.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--accent-bg);
  color: var(--accent-dark);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
}
.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.highlight-card {
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color var(--transition), transform var(--transition);
}
.highlight-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
}
.highlight-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-bg2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.highlight-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--warm-800);
  margin-bottom: 0.25rem;
}
.highlight-desc {
  font-size: 0.78rem;
  color: var(--warm-600);
  line-height: 1.55;
}

/* ── PROCEDIMENTOS ── */
#procedimentos {
  background: var(--cream-100);
}
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--warm-900);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--warm-600);
  max-width: 600px;
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-300);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.07);
}
.service-img img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

/* ── BEFORE / AFTER SLIDER ── */
.ba-container {
  position: relative;
  overflow: hidden;
  --position: 50%;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
}
.ba-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
  z-index: 2;
}
.ba-after {
  z-index: 1;
}
.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 3px;
  background-color: #fff;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.ba-slider-handle i {
  position: absolute;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  padding: 0.5rem;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.ba-badge {
  position: absolute;
  bottom: 0.75rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
}
.badge-antes {
  left: 0.75rem;
  opacity: calc((var(--position) - 15%) * 10);
}
.badge-depois {
  right: 0.75rem;
  opacity: calc((85% - var(--position)) * 10);
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}
.service-body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.service-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--warm-900);
  margin-bottom: 0.5rem;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--warm-600);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  min-height: var(--touch-min);
  transition: gap var(--transition), color var(--transition);
}
.service-link:hover {
  color: var(--accent-dark);
  gap: 0.625rem;
}
.services-cta {
  text-align: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ── OUTROS PROCEDIMENTOS (LISTA) ── */
.other-services {
  margin-top: clamp(3rem, 5vw, 5rem);
  padding: clamp(2rem, 4vw, 3rem);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-300);
}
.other-services-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--warm-800);
  margin-bottom: 1.5rem;
  text-align: center;
}
.other-services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem 2rem;
}
.other-services-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--warm-700);
  line-height: 1.4;
}
.other-services-list i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}
.service-subtext {
  display: block;
  font-size: 0.85rem;
  color: var(--warm-600);
  margin-top: 0.25rem;
}

/* ── MENTORIA VIP ── */
.mentoria-section {
  background-color: var(--warm-900);
  color: var(--cream-100);
}
.mentoria-section .section-label {
  color: var(--accent);
}
.mentoria-section .section-title {
  color: var(--cream-100);
}
.mentoria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 992px) {
  .mentoria-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.mentoria-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--cream-200);
  margin-bottom: 1.5rem;
}
.mentoria-topics {
  list-style: none;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}
.mentoria-topics li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: var(--cream-100);
}
.mentoria-topics i {
  color: var(--accent);
  font-size: 1.5rem;
}
.btn-mentoria {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-mentoria:hover {
  background-color: #b38b59;
  border-color: #b38b59;
}

/* CARROSSEL MENTORIA */
.mentoria-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 1/1; /* Deixei quadrado para aumentar a altura vertical */
}
.mentoria-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.mentoria-slides {
  width: 100%;
  height: 100%;
  position: relative;
}
.mentoria-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.mentoria-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.mentoria-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
  z-index: 10;
}
.mentoria-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}
.mentoria-prev {
  left: 1rem;
}
.mentoria-next {
  right: 1rem;
}
.mentoria-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.mentoria-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
  padding: 0;
}
.mentoria-dot.active {
  background: #fff;
}

/* ── DEPOIMENTOS ── */
#depoimentos {
  background: #fff;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
}
.testimonial-card {
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 1.875rem);
  display: flex;
  flex-direction: column;
}
.stars {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: clamp(0.875rem, 1.3vw, 0.9375rem);
  color: var(--warm-700);
  font-style: italic;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.patient-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.patient-avatar {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
  background: var(--accent);
}
.patient-avatar.nude { background: var(--nude); }
.patient-avatar.warm { background: var(--warm-600); }
.patient-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--warm-800);
}
.patient-procedure {
  font-size: 0.75rem;
  color: var(--warm-600);
}

/* ── DIFERENCIAIS ── */
#diferenciais {
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-200) 100%);
}
.differentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
}
.diff-card {
  background: #fff;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 1.875rem);
  text-align: center;
}
.diff-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--accent-bg2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--accent);
}
.diff-title {
  font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
  font-weight: 700;
  color: var(--warm-800);
  margin-bottom: 0.5rem;
}
.diff-desc {
  font-size: 0.875rem;
  color: var(--warm-600);
  line-height: 1.65;
}

/* ── FAQ ── */
#faq {
  background: #fff;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 800px;
  margin-inline: auto;
}
.faq-item {
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.active {
  border-color: var(--accent-light);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.375rem) clamp(1.25rem, 3vw, 1.5rem);
  text-align: left;
  min-height: var(--touch-min);
}
.faq-question-text {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 600;
  color: var(--warm-800);
}
.faq-chevron {
  font-size: 1.125rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 clamp(1.25rem, 3vw, 1.5rem) 1.25rem;
  font-size: clamp(0.85rem, 1.3vw, 0.9375rem);
  color: var(--warm-600);
  line-height: 1.7;
}

/* ── CTA / CONTATO ── */
#contato {
  background: var(--warm-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contato-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 100%);
  height: 400px;
  background: rgba(184, 145, 122, 0.12);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.contato-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.contato-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw + 0.5rem, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}
.contato-title em {
  color: var(--accent-light);
  font-style: italic;
  font-weight: 500;
}
.contato-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.0625rem);
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.contato-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}
.contato-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--touch-min);
  transition: color var(--transition);
}
.contato-info-item:is(a):hover {
  color: var(--accent-light);
}
.contato-info-item i {
  color: var(--accent-light);
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: clamp(1rem, 4vw, 1.75rem);
  right: clamp(1rem, 4vw, 1.75rem);
  width: clamp(48px, 12vw, 58px);
  height: clamp(48px, 12vw, 58px);
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 997;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  65%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ── FOOTER ── */
footer {
  background: #1a1714;
  color: rgba(255,255,255,0.6);
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: 1.5rem;
  padding-inline: var(--section-px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 0.625rem;
}
.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 320px;
}
.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a {
  font-size: 0.875rem;
  transition: color var(--transition);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
}
.footer-links a:hover { color: var(--accent-light); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  min-height: var(--touch-min);
  align-items: center;
}
.footer-contact-item i { color: var(--accent-light); flex-shrink: 0; }
.footer-contact-item a { transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal a { transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   RESPONSIVE BREAKPOINTS — Mobile-First Strategy
   320px / 480px / 640px / 768px / 1024px / 1280px
   ============================================================ */

/* 480px+ — Small phones landscape, large phones */
@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .hero-ctas .btn {
    flex: none;
  }
}

/* 640px+ — Tablets portrait / large phones */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .hero-image-card img {
    height: clamp(320px, 48vw, 460px);
  }
}

/* 768px+ — Tablets landscape */
@media (min-width: 768px) {
  .differentials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contato-info {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1024px+ — Desktop */
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-text {
    order: 1;
    text-align: left;
  }
  .hero-image-wrap {
    order: 2;
  }
  .hero-subtitle {
    margin-inline: 0;
  }
  .hero-ctas {
    justify-content: flex-start;
  }
  .hero-pillars {
    justify-content: flex-start;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
  .hero-badge-float {
    left: 1.5rem;
  }
}

/* 1280px+ — Large desktop */
@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
  }
  .hero-image-card img {
    height: 520px;
  }
  .about-img img {
    height: 500px;
  }
}

/* ── EXTRA: Print safe ── */
@media print {
  .wa-float, #mobileDrawer, #mobileOverlay, .menu-btn { display: none !important; }
}


/* ============================================================
   PREMIUM EFFECTS — 8 efeitos visuais elevados
   ============================================================ */

/* ── EFEITO 2 (complementar): Gradiente metálico no contato title em ── */
.contato-title em {
  background: linear-gradient(135deg, #D4B8A5 0%, #EBD9B4 50%, #B8917A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-style: italic;
  font-weight: 500;
}

/* ── EFEITO 3: Aurora — animação flutuante no orbe do hero ── */
.hero-orb {
  animation: float-orb 14s ease-in-out infinite alternate;
}
@keyframes float-orb {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
  33%  { transform: translate(30px, -45px) scale(1.12); opacity: 1; }
  66%  { transform: translate(-15px, 25px) scale(0.92); opacity: 0.8; }
  100% { transform: translate(10px, -20px) scale(1.05); opacity: 0.9; }
}

/* Segundo orbe complementar */
.hero-orb-2 {
  position: absolute;
  bottom: 5%;
  left: -5%;
  width: clamp(160px, 28vw, 360px);
  height: clamp(160px, 28vw, 360px);
  background: radial-gradient(circle, rgba(201, 165, 146, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
  animation: float-orb-2 18s ease-in-out infinite alternate;
}
@keyframes float-orb-2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-25px, 35px) scale(1.08); }
  100% { transform: translate(20px, -15px) scale(0.94); }
}

/* ── EFEITO 4: Glassmorphism border nos service-cards ── */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(184, 145, 122, 0.5) 50%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 2;
}
.service-card:hover::after {
  opacity: 1;
}

/* ── EFEITO 5: Scrollbar personalizada ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream-100);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-light);
  border-radius: 6px;
  border: 2px solid var(--cream-100);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ── EFEITO 6: Aspas gigantes em marca d'água nos depoimentos ── */
.testimonial-card {
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -18px;
  right: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 12vw, 8.5rem);
  line-height: 1;
  color: rgba(184, 145, 122, 0.09);
  pointer-events: none;
  font-style: italic;
  user-select: none;
  transition: color 0.4s ease;
}
.testimonial-card:hover::before {
  color: rgba(184, 145, 122, 0.18);
}

/* ── EFEITO 7: Tilt 3D — CSS base (JS injeta transform inline) ── */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}
.tilt-card:hover {
  box-shadow: 0 24px 56px rgba(0,0,0,0.10);
}
.tilt-card.tilt-reset {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

/* ── EFEITO 8: Image soft reveal / enhancement ── */
.service-img img {
  filter: saturate(92%) brightness(97%);
  transition: filter 0.55s ease, transform 0.55s ease;
}
.service-card:hover .service-img img {
  filter: saturate(113%) brightness(103%) contrast(1.02);
  transform: scale(1.055);
}
.hero-image-card img {
  filter: saturate(95%) brightness(99%);
  transition: filter 0.6s ease;
}
.hero-image-card:hover img {
  filter: saturate(108%) brightness(101%);
}
.about-img img {
  filter: saturate(93%) brightness(97%);
  transition: filter 0.55s ease, transform 0.55s ease;
}
.about-img:hover img {
  filter: saturate(108%) brightness(102%);
  transform: scale(1.02);
}

