/* ===== Fontes Oficiais Premium ===== */
@font-face {
  font-family: 'Brandon';
  src: url('./fonts/BRANDON_MED.OTF') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playlist';
  src: url('./fonts/playlist-script.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
  /* Cores oficiais da marca Turquesa */
  --brand-turquesa: rgb(0, 161, 175);
  --brand-bronze: rgb(154, 103, 52);
  
  --turquesa: var(--brand-turquesa);
  --turquesa-dark: #008A96;
  --turquesa-light: #E5F5F6;
  --marrom: var(--brand-bronze);
  --marrom-dark: #7A5229;
  --marrom-light: #C4956A;
  
  /* Cores neutras */
  --white: #ffffff;
  --off-white: #F8F9FA;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --charcoal: #2D2D2D;
  
  /* Tipografia Editorial VIP */
  --font-sans: 'Brandon', sans-serif;
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans-old: 'Univers 57 Light Condensed', 'Inter', system-ui, sans-serif;
  
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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


.noise-bg {
  position: relative;
  will-change: transform;
  transform: translateZ(0);
}

/* ===== Accessibility ===== */

/* Skip link — visualmente oculto, aparece apenas ao receber foco */
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--brand-turquesa);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 2rem;
  text-decoration: none;
  /* Oculta até receber foco */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-120%);
  transition: opacity 0.2s, transform 0.2s;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  outline: 3px solid var(--marrom);
  outline-offset: 2px;
}

/* Indicador de foco global — visível apenas para navegação via teclado */
:focus-visible {
  outline: 2px solid var(--brand-turquesa);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove o outline padrão quando não é via teclado */
:focus:not(:focus-visible) {
  outline: none;
}

/* Foco personalizado para botões redondos */
.drawer-close:focus-visible,
.mobile-menu-btn:focus-visible,
.modal-close:focus-visible {
  outline: 2px solid var(--brand-turquesa);
  outline-offset: 3px;
}

/* Foco para os cards de serviço (role=button) */
.service-card:focus-visible {
  outline: 3px solid var(--brand-turquesa);
  outline-offset: 4px;
  border-radius: 16px;
}

/* Foco para links de navegação */
.nav-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-radius: 2px;
}

.header.scrolled .nav-link:focus-visible {
  outline-color: var(--brand-turquesa);
}

/* ===== Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ===== Typography ===== */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--marrom);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 500px;
}

/* ===== Buttons ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em; /* Bastante espaçamento para botões estruturais */
  border-radius: 2rem;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.cta-button.primary {
  background: var(--turquesa);
  color: var(--white);
}

.cta-button.primary:hover {
  background: var(--turquesa-dark);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: var(--marrom);
  color: var(--white);
}

.cta-button.secondary:hover {
  background: var(--marrom-dark);
  transform: translateY(-2px);
}

.cta-button.large {
  padding: 1.125rem 2.5rem;
  font-size: 1rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  transition: color 0.3s var(--ease-out);
}

.cta-link:hover {
  color: var(--turquesa);
}

.cta-link svg {
  transition: transform 0.3s var(--ease-out);
}

.cta-link:hover svg {
  transform: translate(4px, -4px);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease-out);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: -1;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.header.scrolled {
  background-color: var(--white);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--gray-100);
}

.header.scrolled::before {
  opacity: 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 40px !important;
  width: auto !important;
  filter: brightness(0) invert(1);
  transition: filter 0.4s var(--ease-out);
}

.header.scrolled .logo-img {
  filter: none;
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em; /* All caps com tracking muito aberto */
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.header.scrolled .nav-link {
  color: var(--brand-turquesa);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--turquesa);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--turquesa);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  background: var(--turquesa);
  border: 1px solid var(--turquesa);
  color: var(--white);
}

.header-cta:hover {
  background: var(--turquesa-dark);
  border-color: var(--turquesa-dark);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s var(--ease-out);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section (Video Background) ===== */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 42, 46, 0.4) 0%,   /* Turquesa Escuro com 40% (Onde o texto está) */
    rgba(0, 42, 46, 0.2) 50%,  /* Transição suave */
    rgba(0, 42, 46, 0) 100%    /* Transparência total na base */
  );
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 6rem 2rem 2rem;
}

/* ===== Hero Eyebrow (Localização — Arquitetura Tipográfica) ===== */
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 1rem; /* Dobrado conforme solicitado (antes: 10px) */
  font-weight: 700; /* Mais bold (antes: 500) */
  letter-spacing: 0.2em; /* Reduzido levemente o espaçamento dado o tamanho maior */
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500; /* Medium verificado: Mantém a força das linhas no Bronze */
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
  /* Sem sombras de texto: usando A Solução Cartier de Overlay no Fundo */
  text-shadow: none;
}

.hero-title .text-script {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.5em;
  color: var(--off-white);
  text-transform: none; /* Letras minúsculas forçadas caso herde */
  font-style: normal;
  line-height: 1;
  margin-top: 0.2rem;
  text-shadow: none;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.6rem; /* Dobrado conforme solicitado (antes: 1.125rem) */
  color: var(--white);
  max-width: 800px; /* Aumentado max-width para acomodar o texto maior */
  margin: 0 auto 2rem;
  line-height: 1.4; /* Reduzido o line-height proporcionalmente ao tamanho gigante */
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-cta .cta-button.primary {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--brand-turquesa);
  color: var(--white);
}

.hero-cta .cta-button.primary:hover {
  background: var(--brand-bronze);
  transform: translateY(-2px);
}


/* ===== Services Section ===== */
.services {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: -1px auto 0;
  background: var(--white);
  position: relative;
  z-index: 10;
}

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

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

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

/* ===== Services Grid (Bento Desktop + Click-to-Reveal) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr); /* 3 linhas iguais, sem ultrapassar o container */
  grid-template-areas:
    "cabelo  cabelo  unhas   cilios"
    "cabelo  cabelo  depil   depil"
    "facial  facial  facial  corporal";
  gap: 16px;
  height: clamp(624px, calc(90vh - 80px), 936px); /* +20% nos limites fixos */
}

/* Named grid areas (bento) */
.service-card:nth-child(1) { grid-area: cabelo; }
.service-card:nth-child(2) { grid-area: unhas; }
.service-card:nth-child(3) { grid-area: cilios; }
.service-card:nth-child(4) { grid-area: depil; }
.service-card:nth-child(5) { grid-area: facial; }
.service-card:nth-child(6) { grid-area: corporal; }

/* --- Service Card --- */
.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--charcoal);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

/* Estética Facial: imagem muito "zoomed in" — reduz escala para mostrar mais contexto */
.service-card:nth-child(5) img {
  transform: scale(1);
  transform-origin: center center;
  object-position: center 30%;
}

.service-card:hover img {
  transform: scale(1.06);
}

/* --- Dark overlay gradient --- */
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 42, 46, 0.55) 0%,
    rgba(0, 42, 46, 0.15) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: background 0.4s var(--ease-out);
  z-index: 1;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 42, 46, 0.70) 0%,
    rgba(0, 42, 46, 0.25) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* --- Card text (centered) --- */
.service-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  gap: 0.5rem;
}

.service-card-content h3 {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.3vw, 0.95rem);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.35;
}

/* "Ver serviços" — reveals on hover */
.service-card-cta {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.service-card:hover .service-card-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Drawer Overlay ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 22, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Service Drawer (Side Panel) ===== */
.service-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.32, 0, 0.15, 1);
}

.service-drawer.active {
  transform: translateX(0);
}

/* --- Drawer Header --- */
.drawer-header {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.drawer-eyebrow {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.drawer-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 500;
  color: var(--brand-bronze);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding-right: 2.5rem;
}

.drawer-close {
  position: absolute;
  top: 1.75rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  background: var(--gray-100);
  transition: background 0.2s, color 0.2s;
}

.drawer-close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

/* --- Service List --- */
.drawer-services {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}

.drawer-services li {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gray-700);
  letter-spacing: 0.04em;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.2s;
}

.drawer-services li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-bronze);
  opacity: 0.6;
}

.drawer-services li:hover {
  color: var(--brand-turquesa);
}

.drawer-services li:last-child {
  border-bottom: none;
}

/* --- Drawer Footer --- */
.drawer-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.drawer-footer .cta-button {
  width: 100%;
}


/* ===== Space Section (Horizontal Parallax) ===== */
.space {
  position: relative;
  padding: 7rem 0;
  background: var(--gray-50);
  overflow: hidden;
}

.space-sticky {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.space-header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.horizontal-scroll {
  flex-shrink: 0; /* Previne que o carrossel seja esmagado pelo flexbox pai */
  overflow: hidden;
  padding: 0; /* O espaçamento agora fica dentro da track para o cálculo de maxScroll bater 100% */
}

.horizontal-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  /* Espaço lateral simétrico e dinâmico com o limite de 1400px do site */
  padding-left: max(2rem, calc((100vw - 1400px) / 2 + 2rem));
  padding-right: max(2rem, calc((100vw - 1400px) / 2 + 2rem));
  box-sizing: content-box;
  user-select: none; /* evita seleção de texto durante o drag */
}


/* --- Cinematic Space Cards (Portrait Ratio) --- */
.space-card {
  position: relative;
  flex-shrink: 0;
  height: 45vh;
  max-height: 480px;
  min-height: 320px;
  aspect-ratio: 3 / 4; /* Proporção retrato cinematográfica */
  border-radius: 16px;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.space-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-card:hover img {
  transform: scale(1.05);
}

/* --- Constant overlay for text legibility --- */
.space-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.space-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
  pointer-events: none;
}

.space-card-overlay h4 {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 1.2vw, 1.5rem);
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  margin: 0;
}

.space-info {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem; /* Maior respiro para telas curtas (notebok/tablet) */
  padding: 0 2rem;
}

.info-card {
  text-align: center;
}

.info-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--turquesa);
  line-height: 1;
}

.info-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
  display: block;
}

/* ===== Testimonials Section ===== */
.testimonials {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.google-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.google-reviews-badge svg {
  color: #4285F4; /* Google Blue */
}

.google-reviews-stars {
  color: #FBBC05; /* Google Yellow */
  letter-spacing: 1px;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card.testimonial-featured {
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-rating svg {
  fill: var(--marrom);
}

.testimonial-card p {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--gray-700);
  flex-grow: 1;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-card footer strong {
  font-weight: 600;
  color: var(--marrom);
}

.testimonial-card footer span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ===== Manifesto Section ===== */
.manifesto {
  padding: 8rem 2rem;
  background: var(--white);
}

.manifesto-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.manifesto-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.manifesto-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.manifesto-content {
  flex: 1.2;
}

.manifesto-name {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.manifesto-role {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.manifesto-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--marrom);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.manifesto-content p {
  font-size: 1.3rem;
  color: var(--gray-700);
  line-height: 1.6; /* Levemente reduzido para o novo tamanho maior */
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, var(--turquesa-light) 0%, var(--white) 100%);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 2rem;
  opacity: 0.8;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--turquesa);
}

.cta-title em {
  font-style: normal;
  color: var(--turquesa);
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* =========================================
   O RODAPÉ PREMIUM (CÓDIGO BLINDADO)
========================================= */
.footer {
  background-color: #056972; 
  padding: 4rem 2rem 2rem;
  color: #D1D9D9;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* Afasta a marca para a esquerda e contato para a direita */
  align-items: flex-start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bloco da Marca */
.footer-brand-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Força a logo a ficar na margem esquerda */
  gap: 1.5rem;
}

.footer-logo {
  height: 80px !important;
  width: auto !important;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--gray-400);
  transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
  background: var(--turquesa);
  color: var(--white);
  transform: translateY(-2px);
}

/* Bloco de Contato */
.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: right; /* Alinha o texto do endereço à direita no PC */
}

/* Tipografia de Luxo (Micro-Copy) */
.contact-item span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--marrom-light);
  margin-bottom: 0.4rem;
}

.contact-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #D1D9D9;
  margin: 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  padding-top: 2rem;
  color: rgba(209, 217, 217, 0.6);
}

/* --- RESPONSIVO: MOBILE & TABLET --- */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 1.5rem 6rem; /* O 6rem salva o texto do botão flutuante do WhatsApp */
  }

  .footer-container {
    flex-direction: column; /* Empilha tudo verticalmente */
    gap: 3rem;
  }

  .footer-contact-group {
    text-align: left; /* No celular, o endereço volta para a margem esquerda */
    width: 100%;
  }

  .footer-bottom {
    text-align: left; /* Direitos autorais na esquerda */
  }
}

/* ===== Floating Action Button ===== */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
}

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

.fab:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ===== Modal de Agendamento VIP ===== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 42, 46, 0.7); /* Fundo Turquesa super escuro e translúcido */
  backdrop-filter: blur(8px); /* Deixa o site atrás borrado e elegante */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--white); /* CARTÃO BRANCO IMPECÁVEL */
  width: 90%;
  max-width: 420px; /* Não deixa ficar gigante no PC */
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s var(--ease-out);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1.5rem;
  background: none; border: none;
  font-size: 2rem; color: var(--gray-400);
  cursor: pointer; transition: 0.3s;
}

.modal-close:hover { color: var(--marrom); }

.modal-header {
  margin-bottom: 2rem;
}

.modal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.modal-title {
  font-family: var(--font-serif);
  color: var(--marrom);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.modal-subtitle {
  color: var(--gray-600);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* --- Botões do Modal --- */
.modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-text strong { 
  font-family: var(--font-sans);
  font-size: 0.95rem; 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
}
.btn-text span { font-family: var(--font-sans); font-size: 0.9rem; opacity: 0.8; }

/* WhatsApp: O Protagonista */
.btn-primary-wa {
  background: var(--turquesa);
  color: var(--white);
  border: 1px solid var(--turquesa);
}
.btn-primary-wa:hover { background: var(--turquesa-dark); transform: translateY(-2px); }

/* Coadjuvantes de Luxo: Ligação e Mapa */
.btn-secondary-call, .btn-secondary-maps {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--gray-300);
}
.btn-secondary-call:hover, .btn-secondary-maps:hover { border-color: var(--turquesa); color: var(--turquesa); transform: translateY(-2px); }

/* Moved 768px block to correct order */

/* Correção do Header Esmagado (Tablet/Telas Médias) */
@media (max-width: 1024px) {
  .nav {
    gap: 1rem !important; /* Diminui os buracos gigantes entre os links */
  }
  
  .nav-link {
    white-space: nowrap !important; /* PROÍBE "O ESPAÇO" de virar duas linhas */
    font-size: 0.85rem !important;
  }
  
  .header-cta {
    padding: 0.6rem 1.2rem !important;
    white-space: nowrap !important; /* PROÍBE o botão de quebrar em dois */
    font-size: 0.85rem !important;
  }
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "cabelo   cabelo"
      "unhas    cilios"
      "depil    depil"
      "facial   corporal";
  }
  
  .bento-item {
    min-height: 220px;
  }
  
  .testimonials {
    padding-bottom: 6rem; /* Espaço para o FAB do WhatsApp não tampar o último card */
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem; /* Respiro lateral: desgruda os cards da borda da tela */
  }
  

}

@media (max-width: 1024px) {
  /* Bento em 2 colunas no tablet — mantém proporção visual coerente */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-template-areas:
      "cabelo   unhas"
      "cabelo   cilios"
      "depil    depil"
      "facial   corporal";
    grid-auto-rows: unset;
    height: clamp(560px, calc(90vh - 80px), 820px);
    gap: 12px;
  }

  /* Mantém as áreas nomeadas no tablet */
  .service-card:nth-child(1) { grid-area: cabelo; aspect-ratio: unset; }
  .service-card:nth-child(2) { grid-area: unhas;  aspect-ratio: unset; }
  .service-card:nth-child(3) { grid-area: cilios;  aspect-ratio: unset; }
  .service-card:nth-child(4) { grid-area: depil;  aspect-ratio: unset; }
  .service-card:nth-child(5) { grid-area: facial;  aspect-ratio: unset; }
  .service-card:nth-child(6) { grid-area: corporal; aspect-ratio: unset; }


  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
  }
  
  .nav.active {
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    font-size: 1.5rem;
  }
  
  .header-cta {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
    z-index: 101;
  }


  
  .space-sticky {
    padding-top: 80px; /* Header no mobile é levemente menor */
    justify-content: center; 
  }

  .space-header {
    margin-bottom: 1rem;
  }
  
  .space-card {
    height: 45vh;
    min-height: 280px;
    max-height: 380px;
  }
  
  .space-info {
    margin-top: 2rem;
  }
  
  .space-info .info-card {
    flex: 1 1 30%;
  }

  .space-info .info-number {
    font-size: 2rem;
  }

  .space-info .info-label {
    font-size: 0.8rem;
    line-height: 1.2;
    display: block;
  }
  
  /* Tablet single-column removed for better layout */

  .hero-cta {
    flex-direction: column;
  }

  /* Depoimentos: Carrossel horizontal no tablet */
  .testimonials {
    padding-left: 0;
    padding-right: 0;
  }

  .testimonials-header {
    padding: 0 2rem;
  }

  .testimonials-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2rem; /* Alinha o snap com o padding esquerdo */
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 0.5rem 2rem 1.5rem;
    scrollbar-width: none;
  }

  /* Pseudo-elemento para forçar o espaçamento final (padding direito no flex) */
  .testimonials-grid::after {
    content: '';
    flex: 0 0 calc(2rem - 1.25rem); /* Padding da tela menos o gap */
    width: 1px;
    display: block;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex-shrink: 0;
    width: 80vw;
    height: auto; /* flex stretch equaliza todos os cards à altura do maior */
    scroll-snap-align: start;
  }

  .testimonials-grid .testimonial-card:last-child {
    display: flex;
  }
}

/* Responsivo do Manifesto e Ajustes Auditoria Mobile */
@media (max-width: 768px) {
  .manifesto-container {
    flex-direction: column;
    gap: 2rem;
  }

  /* 1. Cura do "Site Longo Demais" */
  .services, .testimonials, .cta-section, .manifesto {
    padding: 4rem 1.5rem;
  }

  /* 2. Compactando os Serviços no Mobile (2 colunas) */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card {
    aspect-ratio: 3 / 4;
  }

  .service-card-content h3 {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  /* 3. Adaptação do Manifesto para evitar cortes */
  .manifesto-content p {
    line-height: 1.6;
  }
  /* 4. Respiro no Hero Subtitle */
  .hero-eyebrow {
    font-size: 0.8rem; /* Ajuste para caber bem no mobile */
    letter-spacing: 0.1em;
  }

  .hero-subtitle {
    font-size: 1.3rem; /* Escala menor para mobile, mas ainda grande */
    line-height: 1.4;
  }

  /* 5. Depoimentos: Carrossel horizontal no mobile */
  .testimonials {
    padding-left: 0;
    padding-right: 0;
  }

  .testimonials-header {
    padding: 0 1.5rem;
  }

  .testimonials-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1.5rem; /* Alinha o snap com o padding esquerdo */
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0.5rem 1.5rem 1.5rem;
    /* Oculta barra de rolagem nativa */
    scrollbar-width: none;
  }

  /* Pseudo-elemento para forçar o espaçamento final no mobile */
  .testimonials-grid::after {
    content: '';
    flex: 0 0 calc(1.5rem - 1rem); /* Padding desejado menos o gap atual */
    width: 1px;
    display: block;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex-shrink: 0;
    width: 80vw;
    height: auto; /* flex stretch equaliza todos os cards à altura do maior */
    scroll-snap-align: start;
  }

  /* Remove o display:none — todos os cards visíveis */
  .testimonials-grid .testimonial-card:last-child {
    display: flex;
  }

  /* Ajustes da Seção Espaço Mobile */
  .space {
    padding: 0; 
  }

  .horizontal-scroll {
    overflow-x: auto; /* Permite rolar para o lado com o dedo */
    scroll-snap-type: x mandatory; /* Efeito magnético de puxar o card */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2rem; /* Respiro para não cortar a sombra */
    /* Esconde a barra de rolagem nativa para ficar elegante */
    scrollbar-width: none; 
  }
  
  .horizontal-scroll::-webkit-scrollbar {
    display: none;
  }

  .horizontal-track {
    padding-left: 1.5rem; /* Margem inicial */
    padding-right: 1.5rem; /* Margem final */
  }

  .space-card {
    scroll-snap-align: center; /* O card sempre para no meio da tela */
    width: 80vw; /* Mostra 80% do card, deixando um "pedacinho" do próximo visível para induzir o clique */
    height: 400px; /* Altura fixa confortável */
  }
}

/* ===== Tablet: Horizontal Scroll Nativo (769px – 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .horizontal-scroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2rem;
    scrollbar-width: none;
  }

  .horizontal-scroll::-webkit-scrollbar {
    display: none;
  }

  .horizontal-track {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .space-card {
    scroll-snap-align: center;
    width: 28vw; /* Tablet mostra ~3 cards na tela (28*3 = 84vw + gaps) */
    height: 420px;
    min-height: unset;
  }
}

/* Cursor grab + Header CTA + FAB — somente no desktop real (>1024px) */
@media (min-width: 1025px) {
  /* Scrolljacking (Sticky Parallax) */
  .space {
    height: 100vh;
    padding: 0;
  }

  .space-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    justify-content: center;
    overflow: hidden;
  }

  .horizontal-track {
    cursor: grab;
  }
  .horizontal-track.is-dragging {
    cursor: grabbing;
  }

  /* Header CTA: oculto no topo, revela com scroll */
  .header-cta {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s var(--ease-out);
  }

  .header.scrolled .header-cta {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Ocultar elementos estritamente mobile no desktop */
  .fab {
    display: none !important;
  }
}

/* Apenas SmartPhones realizam ligações diretas */
@media (min-width: 769px) {
  .btn-secondary-call {
    display: none !important;
  }
}
