/* =============================================
   Bellabel — Salão de Beleza
   ============================================= */

:root {
  --color-bg: #faf8f5;
  --color-bg-alt: #f3ede6;
  --color-surface: #ffffff;
  --color-primary: #8b4f6f;
  --color-primary-dark: #6d3d57;
  --color-accent: #c9a962;
  --color-text: #2d2a26;
  --color-text-muted: #6b6560;
  --color-border: #e8e0d8;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(45, 42, 38, 0.06);
  --shadow-md: 0 8px 32px rgba(45, 42, 38, 0.1);
  --radius: 8px;
  --max-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary-dark);
}

/* ---- Typography ---- */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.4rem; }

p + p { margin-top: 1rem; }

/* ---- Layout ---- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ---- Header ---- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.logo__tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.nav a:hover,
.nav a.active {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f3ede6 0%, #faf8f5 50%, #ede4db 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(139, 79, 111, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 640px;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Section headers ---- */

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-header__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-header__title {
  margin-bottom: 1rem;
}

.section-header__desc {
  color: var(--color-text-muted);
}

/* ---- Services ---- */

.services {
  background: var(--color-surface);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 79, 111, 0.1);
  border-radius: 50%;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ---- About ---- */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-align: center;
}

.stat__value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about__visual {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about__visual-text {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  text-align: center;
  line-height: 1.1;
  padding: 2rem;
}

/* ---- Contact CTA ---- */

.cta {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta p {
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta .btn--primary {
  background: #fff;
  color: var(--color-primary);
}

.cta .btn--primary:hover {
  background: var(--color-bg);
}

/* ---- Contact Page ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 79, 111, 0.1);
  border-radius: 50%;
  font-size: 1.2rem;
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--color-text);
}

.contact-info__value a {
  color: var(--color-text);
}

.contact-info__value a:hover {
  color: var(--color-primary);
}

.contact-card {
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.business-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.business-info h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.business-info dl {
  display: grid;
  gap: 0.75rem;
}

.business-info dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.business-info dd {
  font-size: 0.95rem;
  margin-left: 0;
}

/* ---- Legal Pages ---- */

.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.85;
  font-size: 0.95rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0.75rem 0 0.75rem 1.5rem;
}

.legal-content li + li {
  margin-top: 0.5rem;
}

.legal-meta {
  background: var(--color-bg-alt);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.legal-meta strong {
  color: var(--color-text);
}

/* ---- Footer ---- */

.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand .logo__name {
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
}

.footer__links li + li {
  margin-top: 0.6rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: #fff;
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer__legal-info {
  line-height: 1.8;
}

.footer__legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__legal-links a:hover {
  color: #fff;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-surface);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .about__grid,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .about__visual {
    aspect-ratio: 16/9;
  }

  section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: 70vh;
  }
}
