/*
Theme Name: Dr. Matheus Beltrami Silveira
Theme URI: https://drmatheusbeltrami.com.br
Author: Dr. Matheus Beltrami
Author URI: https://drmatheusbeltrami.com.br
Description: Tema profissional para o site do Dr. Matheus Beltrami Silveira - Médico Psiquiatra
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: dr-matheus-theme
*/

/* =============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
============================================= */
:root {
  /* Colors - Light Mode */
  --background: 150 20% 98%;
  --foreground: 150 30% 15%;
  --card: 0 0% 100%;
  --card-foreground: 150 30% 15%;
  --primary: 152 45% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 150 25% 94%;
  --secondary-foreground: 150 30% 25%;
  --muted: 150 15% 92%;
  --muted-foreground: 150 15% 45%;
  --accent: 152 40% 88%;
  --accent-foreground: 152 45% 25%;
  --border: 150 20% 88%;
  --ring: 152 45% 45%;
  --radius: 0.75rem;

  /* Custom Shadows */
  --shadow-soft: 0 4px 20px -4px hsl(150 30% 15% / 0.08);
  --shadow-card: 0 8px 30px -8px hsl(150 30% 15% / 0.12);
  --shadow-hover: 0 12px 40px -8px hsl(152 45% 45% / 0.2);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(152 45% 45%) 0%, hsl(160 40% 55%) 100%);
}

/* =============================================
   RESET & BASE STYLES
============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

/* =============================================
   UTILITY CLASSES
============================================= */
.section-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .section-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .section-container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .section-container {
    padding: 0 3rem;
  }
}

.section-spacing {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-spacing {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section-spacing {
    padding: 8rem 0;
  }
}

.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   BUTTONS
============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 10px 25px -5px hsl(var(--primary) / 0.4);
  transform: scale(1.05);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid hsl(var(--primary));
  color: hsl(var(--primary));
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* =============================================
   CARDS
============================================= */
.card {
  background-color: hsl(var(--card));
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

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

/* =============================================
   HEADER
============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
}

.site-header.scrolled {
  background-color: hsl(var(--card) / 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 0;
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.header-logo:hover .header-logo-icon {
  background-color: hsl(var(--primary) / 0.2);
}

.header-logo-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.2;
}

.header-logo-crm {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.05em;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

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

.nav-link:hover {
  color: hsl(var(--primary));
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--secondary));
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
  background-color: hsl(var(--accent));
}

.mobile-menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--foreground));
}

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

/* Mobile Navigation */
.mobile-nav {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.mobile-nav.open {
  max-height: 24rem;
  margin-top: 1.5rem;
}

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

.mobile-nav-content {
  background-color: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: hsl(var(--primary));
}

/* =============================================
   HERO SECTION
============================================= */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 5rem;
  }
}

/* Background Decorations */
.hero-bg-gradient {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, hsl(var(--accent) / 0.3), transparent);
  z-index: -1;
}

.hero-bg-circle-1 {
  position: absolute;
  top: 5rem;
  right: 5rem;
  width: 18rem;
  height: 18rem;
  background-color: hsl(var(--primary) / 0.05);
  border-radius: 50%;
  filter: blur(48px);
  z-index: -1;
  animation: float 6s ease-in-out infinite;
}

.hero-bg-circle-2 {
  position: absolute;
  bottom: 5rem;
  left: 2.5rem;
  width: 12rem;
  height: 12rem;
  background-color: hsl(var(--accent) / 0.4);
  border-radius: 50%;
  filter: blur(32px);
  z-index: -1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Hero Content */
.hero-content {
  order: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: hsl(var(--accent));
  border-radius: 9999px;
  margin-bottom: 1rem;
  animation: fadeIn 0.5s ease-out;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: hsl(var(--primary));
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--accent-foreground));
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeIn 0.5s ease-out 0.1s backwards;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 32rem;
  animation: fadeIn 0.5s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  animation: fadeIn 0.5s ease-out 0.3s backwards;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

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

/* Hero Features */
.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  animation: fadeIn 0.5s ease-out 0.4s backwards;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: hsl(var(--card));
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.hero-feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  background-color: hsl(var(--accent));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-feature-icon svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.hero-feature-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  display: block;
}

.hero-feature-subtitle {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Hero Image */
.hero-image-wrapper {
  order: 2;
  display: flex;
  justify-content: center;
  animation: fadeIn 0.5s ease-out 0.2s backwards;
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    justify-content: flex-end;
  }
}

.hero-image-container {
  position: relative;
}

.hero-image {
  width: 16rem;
  height: 20rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.2), hsl(var(--accent)));
}

@media (min-width: 768px) {
  .hero-image {
    width: 20rem;
    height: 26.25rem;
  }
}

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

.hero-decoration-1 {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 1rem;
  transform: rotate(12deg);
}

.hero-decoration-2 {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(var(--accent));
  border-radius: 50%;
}

/* =============================================
   ABOUT SECTION
============================================= */
.about-section {
  background-color: hsl(var(--secondary) / 0.3);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* Stats */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

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

.about-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
  display: block;
}

.about-stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.about-stat-divider {
  width: 1px;
  height: 3rem;
  background-color: hsl(var(--border));
  display: none;
}

@media (min-width: 640px) {
  .about-stat-divider {
    display: block;
  }
}

/* Formation Cards */
.formation-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

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

.formation-card {
  background-color: hsl(var(--card));
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: all 0.3s ease;
}

.formation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.formation-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: hsl(var(--accent));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.formation-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--primary));
}

.formation-title {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.formation-institution {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

/* =============================================
   AREAS SECTION
============================================= */
.areas-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

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

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

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: hsl(var(--primary) / 0.2);
}

.area-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: hsl(var(--accent));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.area-card:hover .area-icon {
  background-color: hsl(var(--primary));
  transform: scale(1.1);
}

.area-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--primary));
  transition: color 0.3s ease;
}

.area-card:hover .area-icon svg {
  color: hsl(var(--primary-foreground));
}

.area-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.area-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.areas-cta {
  text-align: center;
  margin-top: 3rem;
}

.areas-cta-text {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

/* =============================================
   WHEN TO SEEK SECTION
============================================= */
.when-seek-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.when-seek-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--primary-foreground));
}

.symptoms-card {
  max-width: 56rem;
  margin: 0 auto;
  background-color: hsl(var(--card));
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border));
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .symptoms-card {
    padding: 2.5rem;
  }
}

.symptoms-grid {
  display: grid;
  gap: 1.25rem;
}

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

.symptom-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.symptom-check {
  width: 1.5rem;
  height: 1.5rem;
  background-color: hsl(var(--primary) / 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.symptom-check svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.symptom-text {
  color: hsl(var(--foreground));
  line-height: 1.6;
}

.symptom-highlight {
  color: hsl(var(--primary));
  font-weight: 500;
}

.symptoms-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}

.symptoms-footer-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.symptoms-footer-highlight {
  color: hsl(var(--foreground));
  font-weight: 500;
}

/* =============================================
   CONTACT SECTION
============================================= */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

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

.contact-info-card {
  background-color: hsl(var(--card));
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
  .contact-info-card {
    padding: 2rem;
  }
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

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

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

.contact-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.contact-item-label {
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
  display: block;
}

.contact-item-value {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.contact-item-value a {
  transition: color 0.3s ease;
}

.contact-item-value a:hover {
  color: hsl(var(--primary));
}

/* WhatsApp CTA Card */
.whatsapp-card {
  background: linear-gradient(to bottom right, hsl(var(--primary)), hsl(var(--primary) / 0.85));
  border-radius: 1rem;
  padding: 1.5rem;
  color: hsl(var(--primary-foreground));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 17.5rem;
}

@media (min-width: 768px) {
  .whatsapp-card {
    padding: 2rem;
  }
}

.whatsapp-decoration-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.whatsapp-decoration-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6rem;
  height: 6rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

.whatsapp-content {
  position: relative;
  z-index: 10;
}

.whatsapp-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.whatsapp-icon svg {
  width: 2rem;
  height: 2rem;
}

.whatsapp-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.whatsapp-description {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: white;
  color: hsl(var(--primary));
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.whatsapp-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

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

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(var(--primary) / 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.footer-brand-name {
  font-size: 1.125rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

.footer-brand-crm {
  font-size: 0.75rem;
  opacity: 0.7;
}

.footer-brand-description {
  opacity: 0.7;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 18rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-link {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-link:hover {
  opacity: 1;
  color: hsl(var(--primary));
}

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

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background-color: hsl(var(--primary));
}

.footer-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

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

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

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.6;
}

.footer-disclaimer {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* =============================================
   CUSTOM SCROLLBAR
============================================= */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--muted));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--primary) / 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary) / 0.7);
}

/* =============================================
   RESPONSIVE VISIBILITY
============================================= */
.hidden-mobile {
  display: none;
}

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

.hidden-desktop {
  display: block;
}

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