/*
Theme Name: Dr. Afonso Dutra Melo
Theme URI: https://afonsomelo.spaceodyssey.com.br
Description: Tema profissional para Dr. Afonso Henrique Dutra Melo - Neurocirurgião
Author: Studio
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afonso-dutra-melo
Domain Path: /languages
*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

* {
  box-sizing: border-box;
}
:root {
  --font-size: 16px;

  /* Premium Dark Medical Theme */
  --background: #0b0f1a;
  --foreground: #e8edf5;
  --card: #151a28;
  --card-foreground: #e8edf5;
  --popover: #151a28;
  --popover-foreground: #e8edf5;

  /* Medical Blue - Sophisticated */
  --primary: #4a90e2;
  --primary-foreground: #ffffff;
  --primary-hover: #3b7ac7;

  /* Secondary Tones */
  --secondary: #1e2537;
  --secondary-foreground: #e8edf5;

  /* Muted & Subtle */
  --muted: #1e2537;
  --muted-foreground: #8b95a8;

  /* Accent */
  --accent: #5ba3f5;
  --accent-foreground: #ffffff;

  /* Destructive */
  --destructive: #e74c3c;
  --destructive-foreground: #ffffff;

  /* Borders & Inputs */
  --border: rgba(74, 144, 226, 0.12);
  --input: rgba(74, 144, 226, 0.15);
  --input-background: #1a2033;
  --switch-background: #1e2537;

  /* Typography */
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Ring/Focus */
  --ring: #4a90e2;

  /* Border Radius */
  --radius: 0.75rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

* {
  border-color: var(--border);
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 400;
  font-size: var(--font-size);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

h1 {
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

h2 {
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

h3 {
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

h4 {
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

label,
button,
input {
  font-size: var(--font-size);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

/* Premium Cards */
.card-premium {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius));
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 2px 4px -1px rgba(0, 0, 0, 0.2);
  transition: all 300ms ease;
}

.card-premium:hover {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 10px 10px -5px rgba(0, 0, 0, 0.2);
  border-color: rgba(74, 144, 226, 0.3);
  transform: translateY(-4px);
}

/* Glass Effect */
.glass-effect {
  background: rgba(21, 26, 40, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Gradient Overlays */
.overlay-gradient-dark {
  background: linear-gradient(
    to bottom,
    rgba(11, 15, 26, 0.3),
    rgba(11, 15, 26, 0.9)
  );
}

.overlay-gradient-primary {
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.1),
    rgba(91, 163, 245, 0.05)
  );
}

/* Button Primary */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 12px 24px;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 500;
  transition: all 300ms ease;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 2px 4px -1px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  text-decoration: none;
}

.btn-primary:hover {
  background: rgba(74, 144, 226, 0.9);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.3),
    0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

/* Button Secondary */
.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 500;
  transition: all 300ms ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Section Container */
.section-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 40px 24px;
}

@media (max-width: 768px) {
  .section-container {
    padding: 60px 24px;
  }
}

/* Animations */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-ping {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}



/* Responsive Grid */
.grid-cols-1 {
  grid-template-columns: 1fr;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-20 {
  gap: 80px;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}
