/*
Theme Name: Clínica Gabriela Vale
Theme URI: https://clinicagabrielavale.com.br
Author: Clínica Gabriela Vale
Author URI: https://clinicagabrielavale.com.br
Description: Tema premium minimalista para clínica de medicina estética
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clinica-gabriela-vale
*/

/* ===========================
   DESIGN SYSTEM - Premium Minimalist
   =========================== */

:root {
  /* Colors - HSL Format */
  --background: 0 0% 100%;
  --foreground: 30 10% 20%;
  
  --card: 0 0% 100%;
  --card-foreground: 30 10% 20%;
  
  --popover: 0 0% 100%;
  --popover-foreground: 30 10% 20%;
  
  --primary: 30 10% 20%;
  --primary-foreground: 0 0% 100%;
  
  --secondary: 30 5% 96%;
  --secondary-foreground: 30 10% 20%;
  
  --muted: 30 5% 96%;
  --muted-foreground: 30 8% 45%;
  
  --accent: 38 60% 55%;
  --accent-foreground: 30 10% 20%;
  
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;
  
  --border: 30 15% 85%;
  --input: 30 15% 85%;
  --ring: 38 60% 55%;
  
  --radius: 0rem;
  
  /* Custom Colors */
  --beige-light: 35 30% 95%;
  --beige: 35 25% 88%;
  --brown-deep: 30 15% 25%;
  --gold: 38 60% 55%;
}

/* ===========================
   RESET & BASE
   =========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: hsl(var(--muted-foreground));
}

a {
  color: hsl(var(--accent));
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* ===========================
   LAYOUT
   =========================== */

.container-custom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container-custom {
    padding: 0 1.5rem;
  }
}

.section-padding {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

/* ===========================
   HEADER
   =========================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: hsl(var(--foreground));
  letter-spacing: 0.1em;
}

.main-navigation {
  display: none;
}

@media (min-width: 1024px) {
  .main-navigation {
    display: flex;
    gap: 3rem;
  }
  
  .main-navigation a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: hsl(var(--foreground));
    padding: 0.5rem 0;
    position: relative;
  }
  
  .main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: hsl(var(--accent));
    transition: width 0.3s ease;
  }
  
  .main-navigation a:hover::after {
    width: 100%;
  }
}

.mobile-menu-button {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

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

.btn-cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--accent-foreground));
  background-color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent));
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: transparent;
  color: hsl(var(--accent));
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-menu-nav a {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  background-color: hsl(var(--brown-deep));
  color: rgba(255, 255, 255, 0.9);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-section a:hover {
  color: hsl(var(--accent));
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  border-color: hsl(var(--accent));
  background-color: hsl(var(--accent));
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ===========================
   BUTTONS
   =========================== */

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--accent-foreground));
  background-color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent));
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: transparent;
  color: hsl(var(--accent));
}

.btn-outline {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  border-color: hsl(var(--foreground));
}

/* ===========================
   CARDS
   =========================== */

.card {
  background-color: hsl(var(--card));
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===========================
   FORMS
   =========================== */

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: hsl(var(--accent));
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* ===========================
   ANIMATIONS
   =========================== */

.fade-in {
  animation: fadeIn 0.8s ease-in;
}

.fade-in-delay {
  animation: fadeIn 0.8s ease-in 0.3s backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   UTILITIES
   =========================== */

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

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

.bg-beige-light {
  background-color: hsl(var(--beige-light));
}

.bg-beige {
  background-color: hsl(var(--beige));
}

.bg-brown-deep {
  background-color: hsl(var(--brown-deep));
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.1em;
}

.tracking-widest {
  letter-spacing: 0.15em;
}
