/* ========================================
   Dra. Ana Cláudia - Site Institucional
   Clean · Elegante · Performance
   ======================================== */

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --secondary: #134e4a;
  --accent: #14b8a6;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-soft: #f0fdfa;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Animations ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}
.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.btn-white {
  background: white;
  color: var(--primary-dark);
}
.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--secondary);
  z-index: 10;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(13,148,136,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(20,184,166,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 24px 80px;
}

.hero-text {
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
}

.trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll a {
  display: flex;
  color: var(--primary);
  opacity: 0.5;
  animation: bounce 2s infinite;
  transition: opacity 0.3s;
}

.hero-scroll a:hover { opacity: 1; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ========== Differentials ========== */
.differentials {
  padding: 40px 0 80px;
  background: var(--bg);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-card {
  padding: 32px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.diff-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.diff-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  margin-bottom: 20px;
}

.diff-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--secondary);
}

.diff-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ========== About ========== */
.about {
  padding: 100px 0;
  background: var(--bg-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-img-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: white;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-badge strong {
  display: block;
  font-size: 1rem;
  color: var(--secondary);
}

.about-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
  font-size: 1.05rem;
}

.about-list {
  margin-bottom: 32px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.about-list svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ========== Services ========== */
.services {
  padding: 100px 0;
}

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

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--bg-alt);
}

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

.service-card:hover .service-image img {
  transform: scale(1.04);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-card.skeleton,
.testimonial-card.skeleton {
  min-height: 180px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border: none;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========== Carousel ========== */
.carousel {
  position: relative;
  width: 100%;
}

.carousel-track-wrap {
  overflow: hidden;
  margin: 0 40px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 33.333%;
  padding: 0 12px;
  box-sizing: border-box;
}

.carousel-slide .service-card,
.carousel-slide .testimonial-card {
  height: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  color: var(--secondary);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  z-index: 2;
  line-height: 1;
  padding: 0;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ========== CTA Banner ========== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: white;
  margin-bottom: 8px;
}

.cta-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}

/* ========== Testimonials ========== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px 28px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

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

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.9rem;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== Contact ========== */
.contact {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--secondary);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  white-space: pre-line;
}

.contact-social {
  display: flex;
  gap: 12px;
}

.contact-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--transition);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.contact-cta-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
}

.contact-cta-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.contact-cta-card > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.contact-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== Footer ========== */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.footer-logo {
  display: block;
  font-weight: 700;
  font-size: 1.15rem;
  color: white;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

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

/* ========== WhatsApp Float ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-badge {
    right: 16px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .carousel-track-wrap {
    margin: 0 36px;
  }
}

@media (max-width: 600px) {
  .carousel-track-wrap {
    margin: 0 32px;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 90px 24px 32px;
    gap: 4px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 5;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav .btn {
    margin-top: 16px;
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-trust {
    gap: 16px;
  }

  .trust-divider {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .contact-cta-card {
    padding: 28px 20px;
  }
}
