/*
Theme Name: Belle Peau
Theme URI: https://bellepeau.com.br
Author: Belle Peau
Author URI: https://bellepeau.com.br
Description: Tema premium para clínica de estética Belle Peau - Design moderno e sofisticado
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: belle-peau
Tags: one-column, custom-colors, custom-menu, featured-images, theme-options
*/

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
  /* Colors */
  --color-background: 30 20% 98%;
  --color-foreground: 30 15% 15%;
  --color-nude: 25 30% 90%;
  --color-nude-dark: 25 25% 80%;
  --color-rose: 350 30% 75%;
  --color-rose-muted: 350 20% 85%;
  --color-gold: 38 70% 50%;
  --color-gold-light: 38 65% 60%;
  --color-gold-dark: 38 75% 40%;
  --color-cream: 40 40% 96%;
  --color-cream-dark: 40 30% 92%;
  --color-muted: 30 10% 45%;
  --color-border: 30 20% 90%;
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: 5rem;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
  --shadow-elegant: 0 20px 60px -15px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::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.6;
  color: hsl(var(--color-foreground));
  background-color: hsl(var(--color-background));
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: hsl(var(--color-foreground));
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  color: hsl(var(--color-muted));
  font-weight: 300;
}

.text-gold {
  color: hsl(var(--color-gold));
}

/* ========================================
   Layout
   ======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  background-color: hsl(var(--color-cream));
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold {
  background: linear-gradient(135deg, hsl(var(--color-gold)), hsl(var(--color-gold-dark)));
  color: white;
  box-shadow: 0 4px 15px -3px hsla(var(--color-gold), 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px hsla(var(--color-gold), 0.5);
}

.btn-outline-gold {
  background: transparent;
  color: hsl(var(--color-gold));
  border: 2px solid hsl(var(--color-gold));
}

.btn-outline-gold:hover {
  background: hsl(var(--color-gold));
  color: white;
}

.btn-hero {
  background: linear-gradient(135deg, hsl(var(--color-gold)), hsl(var(--color-gold-dark)));
  color: white;
  padding: 1.25rem 3rem;
  font-size: 1rem;
  box-shadow: 0 10px 40px -10px hsla(var(--color-gold), 0.5);
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.5s ease;
}

.site-header.scrolled {
  background: hsla(var(--color-background), 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-logo span {
  color: hsl(var(--color-gold));
}

.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    gap: 2.5rem;
  }
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--color-muted));
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: hsl(var(--color-gold));
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: hsl(var(--color-foreground));
}

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

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: block;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsla(var(--color-cream), 0.95) 0%,
    hsla(var(--color-nude), 0.85) 50%,
    hsla(var(--color-rose-muted), 0.75) 100%
  );
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 8rem 0 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsla(var(--color-gold), 0.1);
  border: 1px solid hsla(var(--color-gold), 0.3);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: hsl(var(--color-gold-dark));
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========================================
   Procedures Section
   ======================================== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-header p {
  margin-top: 1rem;
}

.procedures-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.procedure-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: white;
  box-shadow: var(--shadow-soft);
  transition: all 0.5s ease;
}

.procedure-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elegant);
}

.procedure-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.procedure-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.procedure-card:hover .procedure-image img {
  transform: scale(1.1);
}

.procedure-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(var(--color-foreground), 0.6), transparent 50%);
}

.procedure-content {
  padding: 1.5rem;
}

.procedure-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.procedure-content p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.procedure-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--color-gold));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.procedure-link:hover {
  gap: 0.75rem;
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  box-shadow: var(--shadow-elegant);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  border: 2px solid hsl(var(--color-gold));
  z-index: -1;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid hsl(var(--color-border));
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: hsl(var(--color-gold));
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--color-muted));
  margin-top: 0.25rem;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.testimonial-card {
  background: white;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

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

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  fill: hsl(var(--color-gold));
}

.testimonial-text {
  font-style: italic;
  color: hsl(var(--color-muted));
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--color-nude)), hsl(var(--color-rose-muted)));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  color: hsl(var(--color-gold-dark));
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.75rem;
  color: hsl(var(--color-muted));
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

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

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: hsla(var(--color-gold), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--color-gold));
}

.contact-item h4 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.875rem;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 2.5rem;
  box-shadow: var(--shadow-elegant);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: hsl(var(--color-foreground));
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid hsl(var(--color-border));
  background: hsl(var(--color-cream));
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: hsl(var(--color-gold));
  box-shadow: 0 0 0 3px hsla(var(--color-gold), 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: hsl(var(--color-foreground));
  color: hsl(var(--color-background));
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

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

.footer-brand .site-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: hsla(var(--color-background), 0.7);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: hsla(var(--color-background), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: hsl(var(--color-gold));
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-column h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: hsl(var(--color-background));
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  font-size: 0.875rem;
  color: hsla(var(--color-background), 0.7);
}

.footer-column a:hover {
  color: hsl(var(--color-gold));
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsla(var(--color-background), 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: hsla(var(--color-background), 0.5);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsla(var(--color-background), 0.5);
}

.footer-links a:hover {
  color: hsl(var(--color-gold));
}

/* ========================================
   Utilities
   ======================================== */
.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;
}

/* WordPress specific */
.alignnone { margin: 0; }
.aligncenter { display: block; margin: 0 auto; }
.alignright { float: right; margin: 0 0 1em 1em; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: hsl(var(--color-muted)); }
