/* ===========================
   CUIDADOS — DESIGN SYSTEM
   =========================== */

/* --- VARIABLES --- */
:root {
  --color-primary: #2FB7A5;
  --color-primary-dark: #1E9E8D;
  --color-secondary: #2F8FB7;
  --color-text: #3A3F45;
  --color-text-muted: #6B7280;
  --color-bg-light: #F2F4F5;
  --color-white: #FFFFFF;
  --color-border: #E5E7EB;

  --gradient-hero: linear-gradient(135deg, #f0fffe 0%, #d4f5f0 60%, #e8f4f8 100%);
  --gradient-cta: linear-gradient(135deg, #2FB7A5 0%, #2F8FB7 100%);
  --gradient-animated: linear-gradient(270deg, #d4f5f0, #e8f4f8, #f0fffe, #d4f5f0);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.13);
  --shadow-primary: 0 8px 32px rgba(47,183,165,0.25);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --container: 1200px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; color: var(--color-text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
p  { color: var(--color-text-muted); font-size: 1.05rem; }

/* --- LAYOUT --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { max-width: 560px; margin-bottom: 48px; font-size: 1.1rem; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gradient-cta);
  color: var(--color-white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(47,183,165,0.35); }
.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.btn-outline:hover { background: var(--color-primary); color: white; transform: translateY(-2px); }
.btn-white { background: white; color: var(--color-primary); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- CARDS --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* --- BADGE / PILL --- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(47,183,165,0.1);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* --- ANIMATIONS --- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}
@keyframes slideInNav {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Scroll-triggered animation base */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: #25D366;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse-wa 2.5s infinite;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* --- DIVIDER --- */
.divider { width: 60px; height: 4px; background: var(--gradient-cta); border-radius: 2px; margin: 16px 0 32px; }
.divider.center { margin: 16px auto 32px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hide-mobile { display: none; }
}
@media (min-width: 769px) {
  .hide-desktop { display: none; }
}
