/* Sena Barbershop Diadema — Design System */
:root {
  --green: #0b3d2e;
  --green-dark: #072a20;
  --green-light: #145c45;
  --cream: #f7f2e8;
  --cream-dark: #ebe4d4;
  --brass: #b8956a;
  --brass-light: #d4b896;
  --brass-dark: #8a7049;
  --text: #1a1f1c;
  --text-muted: #4a524c;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(11, 61, 46, 0.12);
  --shadow-lg: 0 12px 40px rgba(11, 61, 46, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --font: 'Nunito', 'Quicksand', system-ui, sans-serif;
  --header-h: 72px;
  --mobile-bar-h: 64px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 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);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  padding-bottom: var(--mobile-bar-h);
}

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

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

a {
  color: var(--green-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover { color: var(--brass-dark); }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  border-bottom: 2px solid var(--brass);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-sm);
  padding: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo-tag {
  font-size: 0.7rem;
  color: var(--brass-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }
  .nav-desktop a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }
  .nav-desktop a:hover,
  .nav-desktop a[aria-current="page"] {
    color: var(--brass-light);
  }
}

.header-ctas {
  display: none;
  gap: 0.5rem;
}

@media (min-width: 992px) {
  .header-ctas { display: flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  min-width: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brass);
  color: var(--green-dark);
  border-color: var(--brass);
}

.btn-primary:hover {
  background: var(--brass-light);
  color: var(--green-dark);
}

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

.btn-secondary:hover {
  background: var(--brass);
  color: var(--green-dark);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: var(--cream);
}

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

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 2px solid var(--brass);
  border-radius: var(--radius);
  color: var(--cream);
  cursor: pointer;
}

.menu-toggle svg { width: 24px; height: 24px; }

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

body.mobile-menu-open .site-header {
  z-index: 250;
}

/* Mobile nav — direct body child, full-height opaque overlay */
.mobile-nav,
.site-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 200;
  background: var(--green-dark);
  padding: calc(var(--header-h) + var(--space-md)) var(--space-md) var(--space-lg);
  overflow-y: auto;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.mobile-nav.is-open,
body.mobile-menu-open .mobile-nav,
.site-nav.is-open,
body.mobile-menu-open .site-nav {
  display: flex;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 992px) {
  .mobile-nav,
  .mobile-nav.is-open,
  body.mobile-menu-open .mobile-nav,
  .site-nav,
  .site-nav.is-open,
  body.mobile-menu-open .site-nav {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 auto;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.75rem 1rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: var(--green);
  color: var(--brass-light);
}

.mobile-nav-ctas {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Hero split */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-light) 100%);
  color: var(--cream);
  padding: var(--space-lg) 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(184, 149, 106, 0.2);
  border: 1px solid var(--brass);
  color: var(--brass-light);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  font-weight: 800;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--cream-dark);
  margin: 0 0 var(--space-md);
  max-width: 42ch;
}

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

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--brass);
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Trust bar */
.trust-bar {
  background: var(--cream-dark);
  border-block: 1px solid rgba(184, 149, 106, 0.35);
  padding: var(--space-md) 0;
}

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

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

.trust-item {
  text-align: center;
  padding: var(--space-sm);
}

.trust-item strong {
  display: block;
  font-size: 1.35rem;
  color: var(--green);
  font-weight: 800;
}

.trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

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

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

.section-header {
  margin-bottom: var(--space-lg);
  max-width: 680px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 var(--space-sm);
  color: var(--green);
  font-weight: 800;
}

.section-dark .section-header h2 { color: var(--brass-light); }

.section-intro {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

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

.geo-answer {
  background: rgba(184, 149, 106, 0.12);
  border-left: 4px solid var(--brass);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
}

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

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

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  border: 1px solid rgba(184, 149, 106, 0.25);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: box-shadow var(--transition), translate var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  translate: 0 -2px;
}

.card img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--green);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.card-price {
  font-weight: 800;
  color: var(--brass-dark);
  font-size: 1rem;
}

/* Differentials */
.diff-list {
  display: grid;
  gap: var(--space-md);
}

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

.diff-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.diff-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--green);
  color: var(--brass-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
}

.diff-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--green);
}

.diff-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Testimonials */
.stars {
  color: var(--brass);
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.testimonial {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid rgba(184, 149, 106, 0.3);
}

.testimonial blockquote {
  margin: 0 0 var(--space-sm);
  font-style: italic;
  color: var(--text);
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: var(--green);
  font-size: 0.9rem;
}

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

.rating-banner .big {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brass-light);
  line-height: 1;
}

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

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--brass);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: scale var(--transition);
}

.gallery-item:hover img { scale: 1.05; }

/* Location */
.location-grid {
  display: grid;
  gap: var(--space-lg);
}

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

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--brass);
  min-height: 280px;
}

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

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

.hours-table th,
.hours-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
}

.hours-table th {
  color: var(--green);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(184, 149, 106, 0.3);
  overflow: hidden;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brass);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-muted);
}

.faq-item.is-open .faq-answer { display: block; }

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  color: var(--cream);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--cream);
}

.cta-band p {
  margin: 0 0 var(--space-md);
  color: var(--cream-dark);
  max-width: 50ch;
  margin-inline: auto;
}

.cta-band .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: var(--cream-dark);
  padding: var(--space-xl) 0 var(--space-lg);
}

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

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

.site-footer h3 {
  color: var(--brass-light);
  font-size: 1rem;
  margin: 0 0 var(--space-sm);
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover { color: var(--brass-light); }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(184, 149, 106, 0.3);
  font-size: 0.85rem;
  text-align: center;
}

/* Mobile sticky bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  background: var(--green-dark);
  border-top: 2px solid var(--brass);
  min-height: var(--mobile-bar-h);
}

@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-h);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.mobile-bar a:first-child {
  background: var(--brass);
  color: var(--green-dark);
}

.mobile-bar a + a {
  border-left: 1px solid rgba(184, 149, 106, 0.4);
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--green);
  color: var(--cream);
  padding: var(--space-lg) 0;
}

.page-hero h1 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}

.page-hero p {
  margin: 0;
  color: var(--cream-dark);
  max-width: 60ch;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
  color: var(--brass-light);
}

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

.breadcrumb a:hover { text-decoration: underline; }

/* Service detail */
.service-detail {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .service-detail { grid-template-columns: 1fr 1fr; align-items: start; }
}

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

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

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

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

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-sm);
  border: 3px solid var(--brass);
}

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

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

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul { padding-left: 1.25rem; }

/* Booking page */
.booking-options {
  display: grid;
  gap: var(--space-md);
  max-width: 36rem;
  margin: 0 auto;
}

.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  border: 2px solid rgba(184, 149, 106, 0.3);
}

.booking-card.featured {
  border-color: var(--brass);
  background: linear-gradient(180deg, var(--white), var(--cream));
}

.booking-card h3 {
  color: var(--green);
  margin: 0 0 var(--space-sm);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
