/* Willians Hair Concept — Design System */
:root {
  --color-rose: #c9a8a8;
  --color-rose-dark: #a88585;
  --color-rose-light: #e8d5d5;
  --color-charcoal: #2d2d2d;
  --color-charcoal-soft: #3d3d3d;
  --color-off-white: #faf8f6;
  --color-cream: #f3efeb;
  --color-text: #2d2d2d;
  --color-text-muted: #5c5c5c;
  --color-white: #ffffff;
  --color-success: #2e7d4f;

  --font-heading: "Zilla Slab", "Bitter", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

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

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(45, 45, 45, 0.06);
  --shadow-md: 0 8px 24px rgba(45, 45, 45, 0.1);
  --shadow-lg: 0 16px 48px rgba(45, 45, 45, 0.12);

  --header-height: 72px;
  --mobile-bar-height: 64px;
  --max-width: 720px;
  --max-width-wide: 1080px;

  --transition: 0.25s ease;
}

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

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-off-white);
  padding-bottom: var(--mobile-bar-height);
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

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

a {
  color: var(--color-rose-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--color-charcoal); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin: 0 0 var(--space-sm); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 var(--space-md); }
h3 { font-size: 1.25rem; margin: 0 0 var(--space-xs); }

p { margin: 0 0 var(--space-sm); }

ul, ol { margin: 0 0 var(--space-sm); padding-left: 1.25rem; }

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  z-index: 9999;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-sm);
  outline: 2px solid var(--color-rose);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-rose-light);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-sm);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-charcoal);
  line-height: 1.1;
  min-height: 48px;
  justify-content: center;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-rose-dark);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.header-actions .btn-icon {
  display: none;
}

@media (min-width: 768px) {
  .header-actions .btn-icon { display: inline-flex; }
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-charcoal);
  border-radius: var(--radius-sm);
}

.menu-toggle:hover { background: var(--color-cream); }

.menu-toggle:focus-visible {
  outline: 2px solid var(--color-rose-dark);
  outline-offset: 2px;
}

.menu-toggle-icon {
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
  display: block;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition);
}

.menu-toggle-icon::before { top: -7px; }
.menu-toggle-icon::after { top: 7px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) {
  .menu-toggle { display: none; }
}

/* Mobile nav — direct body child, full-viewport opaque overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100dvh;
  height: 100dvh;
  background: #faf8f6;
  z-index: 200;
  overflow-y: auto;
  padding: calc(var(--header-height) + var(--space-md)) var(--space-sm) var(--space-xl);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Keep hamburger above the full-screen overlay so it can close the menu */
body.menu-open .site-header {
  z-index: 250;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list li { border-bottom: 1px solid var(--color-rose-light); }

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: var(--space-sm) 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-charcoal);
  text-decoration: none;
}

.mobile-nav-list a:hover,
.mobile-nav-list a[aria-current="page"] {
  color: var(--color-rose-dark);
}

.mobile-nav-cta {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .mobile-nav { display: none; }
}

/* Desktop nav in header */
.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }

  .desktop-nav a {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    text-decoration: none;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  .desktop-nav a:hover,
  .desktop-nav a[aria-current="page"] {
    color: var(--color-charcoal);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--color-charcoal);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
}

.btn-primary:hover {
  background: var(--color-charcoal-soft);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-charcoal);
}

.btn-secondary:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: var(--color-white);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

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

.section-intro {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-bottom: var(--space-lg);
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-rose-dark);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

/* Hero */
.hero {
  padding: var(--space-lg) 0 var(--space-xl);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-charcoal-soft);
  background: var(--color-cream);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: var(--space-md);
}

.hero-promise {
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  max-width: 42ch;
  margin-bottom: var(--space-md);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Trust bar */
.trust-bar {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-md) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  text-align: center;
}

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

.trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-rose-light);
}

.trust-item span {
  font-size: 0.8125rem;
  opacity: 0.85;
}

/* Cards */
.card-grid {
  display: grid;
  gap: var(--space-md);
}

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

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); }

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.card-body {
  padding: var(--space-md);
}

.card-price {
  font-weight: 600;
  color: var(--color-rose-dark);
  font-size: 0.9375rem;
}

/* Diferenciais */
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-md);
}

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

.features-list li {
  padding: var(--space-md);
  background: var(--color-white);
  border-left: 3px solid var(--color-rose);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Testimonials */
.testimonial {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: #f5a623;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
}

.rating-banner {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.rating-banner .big {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-charcoal);
  line-height: 1;
}

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

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item:hover img { transform: none; }
}

/* Location */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-rose-light);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}

/* FAQ */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-rose-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 56px;
  padding: var(--space-sm) 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  text-align: left;
  color: var(--color-charcoal);
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-rose-dark);
  outline-offset: 2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-rose-dark);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; transition: transform var(--transition); }

.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item.is-open .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding-bottom: var(--space-md);
  color: var(--color-text-muted);
}

/* CTA band */
.cta-band {
  background: var(--color-charcoal);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
}

.cta-band h2 { color: var(--color-white); }

.cta-band p {
  color: var(--color-rose-light);
  max-width: 48ch;
  margin: 0 auto var(--space-md);
}

/* Footer */
.site-footer {
  background: var(--color-charcoal-soft);
  color: var(--color-rose-light);
  padding: var(--space-xl) 0 var(--space-lg);
}

.site-footer h2,
.site-footer h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

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

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

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-grid a {
  color: var(--color-rose-light);
  text-decoration: none;
}

.footer-grid a:hover { color: var(--color-white); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
}

/* Mobile sticky bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  background: var(--color-white);
  border-top: 1px solid var(--color-rose-light);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  height: var(--mobile-bar-height);
}

@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--mobile-bar-height);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.mobile-bar-whatsapp {
  background: #25d366;
  color: var(--color-white);
}

.mobile-bar-call {
  background: var(--color-charcoal);
  color: var(--color-white);
}

/* Page hero (inner pages) */
.page-hero {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-rose-light);
  margin-bottom: var(--space-lg);
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--color-charcoal); }

/* Service detail */
.service-detail {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-rose-light);
}

.service-detail:last-child { border-bottom: none; }

/* Team */
.team-grid {
  display: grid;
  gap: var(--space-md);
}

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

.team-member {
  text-align: center;
}

.team-member img {
  border-radius: 50%;
  width: 160px;
  height: 160px;
  object-fit: cover;
  margin: 0 auto var(--space-sm);
}

/* Agende page */
.agende-options {
  display: grid;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

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

.agende-card {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.agende-card.featured {
  border: 2px solid var(--color-rose);
}

/* Privacy */
.legal-content h2 {
  font-size: 1.25rem;
  margin-top: var(--space-lg);
}

.legal-content h2:first-child { margin-top: 0; }

/* Utilities */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
