/* ===============================
   SERVICES PAGE – CSS CORRIGIDO
   Alinhado com About/Work
================================ */

.page-services {
  background: #000;
}

/* --- HEADER (Cópia exata do About) --- */

/* MOBILE: padding reduzido */
.page-services .header-top {
  background: #000;
  padding: 20px 24px; /* Igual About */
}

.page-services .header-top.compact {
  padding: 12px 24px;
  background: rgba(0,0,0,0.95);
}

/* --- HERO SECTION --- */
.services-hero {
  padding: 160px 6vw 100px; /* Igual About */
  background: linear-gradient(-45deg, #dc512e, #b23e22, #220c07, #4a1a10);
  background-size: 400% 400%;
  animation: gradientMove 9s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.services-hero-content {
  max-width: 880px;
}

.hero-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.6;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.services-hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.services-hero p {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.6;
  opacity: 0.75;
  max-width: 720px;
}

/* --- SERVICES CONTENT --- */
.services-section {
  padding: 80px 6vw;
  max-width: 1600px;
  margin: 0 auto;
  display: block;
}

.services-sticky-text {
  position: relative;
  top: 0;
  height: auto;
  margin-bottom: 64px;
}

.sticky-content h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  transition: opacity 0.4s ease;
}

.sticky-content p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.6;
  max-width: 480px;
  transition: opacity 0.4s ease;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.service-block {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  transition: border-color 0.3s ease;
}

.service-block:hover {
  border-color: rgba(255,255,255,0.3);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.service-number {
  font-size: 14px;
  opacity: 0.4;
  font-weight: 500;
}

.service-header h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.service-items {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.service-items li {
  font-size: 15px;
  opacity: 0.65;
  padding-left: 20px;
  position: relative;
}

.service-items li::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0.4;
}

/* --- CLIENTS SECTION --- */
.clients-section {
  padding: 80px 6vw;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1400px;
  margin: 0 auto;
}

.clients-header {
  margin-bottom: 48px;
}

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.6;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.clients-header h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}

.client-logo {
  aspect-ratio: 1;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: all 0.3s ease;
}

.client-logo img {
  width: 100%;
  height: auto;
  max-width: 80px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-logo:hover {
  background: #111;
  border-color: rgba(255,255,255,0.12);
}

.client-logo:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
  padding: 80px 6vw;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1600px;
  margin: 0 auto;
}

.testimonials-header {
  margin-bottom: 48px;
}

.testimonials-header h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.testimonials-container {
  display: block;
}

.testimonial-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #0a0a0a;
  position: relative;
  max-width: 400px;
  margin: 0 auto 48px;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-image.changing img {
  opacity: 0;
  transform: scale(1.05);
}

.testimonial-content {
  padding: 0;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.9;
  transition: opacity 0.5s ease;
}

.testimonial-quote.changing {
  opacity: 0;
}

.testimonial-author {
  margin-bottom: 40px;
  transition: opacity 0.5s ease;
}

.testimonial-author.changing {
  opacity: 0;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.author-role {
  font-size: 14px;
  opacity: 0.6;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
}

.nav-arrow:active {
  transform: scale(0.95);
}

.testimonial-counter {
  font-size: 14px;
  opacity: 0.6;
}

#currentTestimonial {
  font-weight: 600;
  opacity: 1;
}

/* ===============================
   TABLET: 768px+
   (Sincronizado com About)
================================ */
@media (min-width: 768px) {
  /* Header */
  .page-services .header-top {
    padding: 24px 40px;
  }
  .page-services .header-top.compact {
    padding: 14px 40px;
  }

  /* Content */
  .services-section {
    padding: 100px 6vw;
  }
  .sticky-content h2 {
    margin-bottom: 40px;
  }
  .services-list {
    gap: 64px;
  }
  .service-block {
    padding: 40px 0;
  }
  .service-header {
    margin-bottom: 28px;
  }
  .service-header h3 {
    font-size: 26px;
  }
  .service-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
  }
  .clients-section,
  .testimonials-section {
    padding: 100px 6vw;
  }
  .clients-header {
    margin-bottom: 64px;
  }
  .clients-header h2,
  .testimonials-header h2 {
    font-size: 40px;
  }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .client-logo {
    padding: 32px;
  }
  .client-logo img {
    max-width: 100px;
  }
  .testimonials-header {
    margin-bottom: 64px;
  }
  .testimonial-quote {
    font-size: 19px;
  }
}

/* ===============================
   DESKTOP: 1024px+ 
   (IMPORTANTE: About usa 1024px, Services usava 1200px. Corrigido.)
================================ */
@media (min-width: 1024px) {
  /* Header */
  .page-services .header-top {
    padding: 32px 56px;
  }
  .page-services .header-top.compact {
    padding: 14px 48px;
  }

  /* Content */
  .services-hero {
    padding: 200px 6vw 140px;
  }

  .services-section {
    padding: 120px 6vw;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 120px;
    align-items: flex-start;
  }

  .services-sticky-text {
    position: sticky;
    top: 200px;
    height: fit-content;
    margin-bottom: 0;
  }

  .sticky-content h2 {
    margin-bottom: 84px;
  }

  .services-list {
    gap: 80px;
  }

  .service-block {
    padding: 48px 0;
  }

  .service-header {
    margin-bottom: 32px;
  }

  .service-header h3 {
    font-size: 28px;
  }

  .clients-section,
  .testimonials-section {
    padding: 120px 6vw;
  }

  .clients-header {
    margin-bottom: 80px;
  }

  .clients-header h2,
  .testimonials-header h2 {
    font-size: 48px;
  }

  /* Grid 5 colunas */
  .clients-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .client-logo {
    padding: 20px;
    height: 180px;
  }

  .client-logo img {
    max-width: 180px;
    max-height: 100px;
    width: auto;
    height: auto;
  }

  .testimonials-header {
    margin-bottom: 80px;
  }

  .testimonials-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .testimonial-image {
    max-width: none;
    margin: 0;
  }

  .testimonial-content {
    padding: 40px 0;
  }

  .testimonial-quote {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .testimonial-author {
    margin-bottom: 48px;
  }
}
/* ===============================
   A11Y.CSS — ACESSIBILIDADE
================================ */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 12px 24px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #000;
  transition: top 0.2s ease;
  white-space: nowrap;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid #dc512e;
  outline-offset: 2px;
}
:focus-visible {
  outline: 2px solid #dc512e;
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .about-hero, .contact-hero, .services-hero, body[class*="agendamento"] {
    background-position: 0% 50% !important;
    animation: none !important;
  }
}
@media (forced-colors: active) {
  * { forced-color-adjust: auto; }
  .work-hover, .section-text, .manifesto-text p, .about-hero p, .contact-hero p, .services-hero p {
    opacity: 1 !important;
  }
}
.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;
}
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
[aria-disabled="true"], [disabled] {
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
}
[aria-current="page"] {
  opacity: 1 !important;
  font-weight: 600;
}
.form-group input[aria-invalid="true"], .form-group textarea[aria-invalid="true"], .form-group select[aria-invalid="true"], .form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}
.field-error {
  display: block;
  font-size: 13px;
  color: #e53e3e;
  margin-top: 6px;
  font-weight: 500;
}
.form-group label[data-required]::after, .form-field label[data-required]::after {
  content: " *";
  color: #dc512e;
  font-weight: 600;
}
img[aria-hidden="true"], svg[aria-hidden="true"] {
  pointer-events: none;
}
img:not([alt]) {
  outline: 3px dashed rgba(229, 62, 62, 0.5);
}
.calendar-day:focus-visible {
  outline: 2px solid #0069ff;
  outline-offset: 2px;
  border-radius: 50%;
}
.time-button:focus-visible {
  outline: 2px solid #0069ff;
  outline-offset: 2px;
}
@media (prefers-color-scheme: dark) {
  .booking-card { background: #1a1a1a; color: #f5f5f5; }
  .booking-card input, .booking-card textarea { background: #2a2a2a; color: #f5f5f5; border-color: #444; }
  .booking-card .left-section, .booking-card .right-section { background: #1a1a1a; color: #f5f5f5; }
  .booking-card .booking-subtitle, .booking-card .calendar-month, .booking-card .section-title, .booking-card .confirmation-title { color: #f5f5f5; }
  .booking-card .booking-title, .booking-card .meta-item, .booking-card .booking-description, .booking-card .calendar-day, .booking-card .author-role, .booking-card .confirmation-subtitle { color: #aaa; }
  .booking-card .calendar-day.disabled { color: #555; }
  .booking-card .left-section { border-color: #333; }
  .booking-card .timezone-info { background: #2a2a2a; }
  .booking-card .confirmation-details { background: #2a2a2a; color: #f5f5f5; }
}