/* === MEU PET - CLÍNICA VETERINÁRIA === */
/* Paleta de cores baseada na fachada e logotipo */

:root {
  /* Cores principais */
  --primary: #0099cc;           /* Azul ciano da fachada */
  --primary-dark: #007ba7;      /* Azul escuro para hover */
  --primary-light: #33c4ff;     /* Azul claro */
  --accent: #e53935;            /* Vermelho dos telefones */
  --accent-dark: #c62828;       /* Vermelho escuro */

  /* Neutros */
  --white: #ffffff;
  --bg-light: #f0f8ff;          /* Azul bem claro para backgrounds */
  --bg-alt: #e8f4fc;
  --gray-100: #f8fafc;
  --gray-200: #e5e7eb;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #0f172a;

  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, #0099cc 0%, #007ba7 100%);
  --gradient-hero: linear-gradient(135deg, #0099cc 0%, #00b4d8 50%, #48cae4 100%);

  /* Alturas do header */
  --headerH-desktop: 80px;
  --headerH-mobile: 64px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 153, 204, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 153, 204, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 153, 204, 0.15);

  /* Tipografia */
  --font: 'Nunito', system-ui, -apple-system, sans-serif;
  --title: clamp(1.8rem, 2.5vw + 1rem, 2.8rem);
  --subtitle: clamp(1rem, 0.6vw + 0.9rem, 1.2rem);
}

/* === RESET E BASE === */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* === UTILITÁRIOS === */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid.two {
  grid-template-columns: 1fr 1fr;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

/* === BOTÕES === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 153, 204, 0.35);
  color: var(--white);
}

/* Botão de destaque (WhatsApp verde) */
.btn.primary {
  background: #25D366;
  color: var(--white);
}

.btn.primary:hover {
  background: #1da851;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn.outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn.outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(0, 153, 204, 0.35);
}

.btn.small {
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
}

.btn.full {
  width: 100%;
}

.btn-icon {
  display: flex;
  align-items: center;
}

/* === HEADER / TOPBAR === */
.topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--headerH-desktop);
  display: flex;
  align-items: center;
  backdrop-filter: saturate(150%) blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 153, 204, 0.1);
  box-shadow: 0 2px 20px rgba(0, 153, 204, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}

.mainmenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 92%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
}

.brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.main-nav a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gray-800);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 3px;
}

.main-nav a:not(.btn):hover {
  color: var(--primary);
}

.main-nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.main-nav .btn {
  margin-left: 0.5rem;
  color: var(--white) !important;
}

.mobile-menu .btn {
  color: var(--white) !important;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--bg-light);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 20px 20px;
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 50;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gray-800);
  border-radius: 12px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.mobile-menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-menu .btn {
  margin-top: 0.5rem;
  background: var(--accent);
  color: var(--white);
}

/* === HERO === */
.hero {
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.paw-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 45c-2.5 0-4.5-3-4.5-6.7 0-3.7 2-6.7 4.5-6.7s4.5 3 4.5 6.7c0 3.7-2 6.7-4.5 6.7zm-8-12c-1.7 0-3-2-3-4.5s1.3-4.5 3-4.5 3 2 3 4.5-1.3 4.5-3 4.5zm16 0c-1.7 0-3-2-3-4.5s1.3-4.5 3-4.5 3 2 3 4.5-1.3 4.5-3 4.5zm-20-8c-1.7 0-3-2-3-4.5s1.3-4.5 3-4.5 3 2 3 4.5-1.3 4.5-3 4.5zm24 0c-1.7 0-3-2-3-4.5s1.3-4.5 3-4.5 3 2 3 4.5-1.3 4.5-3 4.5z' fill='%23ffffff' fill-opacity='0.08'/%3E%3C/svg%3E");
  animation: float 20s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
}

.hero-text {
  color: var(--white);
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.2rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-text h1 .highlight {
  color: #ffd700;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.hero-text p {
  font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.35rem);
  opacity: 0.95;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero .cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .btn {
  background: var(--white);
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.hero .btn:hover {
  background: #ffd700;
  color: var(--gray-800);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.hero .btn.outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn.outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

/* === SEÇÕES === */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section.alt {
  background: var(--bg-light);
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

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

.section-tag {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: var(--title);
  color: var(--gray-800);
  margin-bottom: 0.8rem;
}

.section-head p {
  font-size: var(--subtitle);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* === SERVIÇOS === */
.service-grid {
  gap: 1.5rem;
}

.card.service {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.card.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card.service:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.2rem;
  background: var(--bg-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

.card.service h3 {
  font-size: 1.25rem;
  color: var(--gray-800);
  margin-bottom: 0.6rem;
}

.card.service p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Animação de entrada dos cards */
.service-grid .card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.service-grid .card:nth-child(1) { animation-delay: 0.1s; }
.service-grid .card:nth-child(2) { animation-delay: 0.2s; }
.service-grid .card:nth-child(3) { animation-delay: 0.3s; }
.service-grid .card:nth-child(4) { animation-delay: 0.4s; }
.service-grid .card:nth-child(5) { animation-delay: 0.5s; }
.service-grid .card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === SOBRE === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(229, 57, 53, 0.4);
}

.about-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge .label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}

.about-content .section-tag {
  margin-bottom: 0.8rem;
}

.about-content h2 {
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.2rem);
  color: var(--gray-800);
  margin-bottom: 1.2rem;
}

.about-content p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-features {
  margin-top: 1.5rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  font-weight: 600;
  color: var(--gray-800);
}

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

/* === DEPOIMENTOS === */
.testimonials-section {
  background: var(--bg-alt);
}

.testimonials-grid {
  gap: 1.5rem;
}

.card.testimonial {
  padding: 2rem;
  text-align: center;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.card.testimonial p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-author strong {
  color: var(--gray-800);
  font-size: 1.05rem;
}

.testimonial-author span {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* === CONTATO === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info .section-tag {
  margin-bottom: 0.8rem;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.2rem);
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.contact-list li:last-child {
  border-bottom: none;
}

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

.contact-icon.emergency {
  background: #fee2e2;
  color: #dc2626;
}

.contact-list li div:not(.contact-icon) {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-list li strong {
  font-size: 0.9rem;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-list li a,
.contact-list li span {
  color: var(--gray-800);
  font-size: 1rem;
  font-weight: 500;
}

.contact-list li a:hover {
  color: var(--primary);
}

/* Formulário */
.contact-form {
  padding: 2rem;
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form label span {
  display: block;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 153, 204, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  margin-top: 0.5rem;
}

/* === MAPA === */
.map-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.map-section iframe {
  box-shadow: var(--shadow-lg);
}

.map-cta {
  text-align: center;
  margin-top: 2rem;
}

.map-cta .btn {
  background: var(--primary);
}

.map-cta .btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 25px rgba(0, 153, 204, 0.35);
}

/* === FOOTER === */
.footer {
  background: var(--gray-800);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand .brand img {
  height: 60px;
}

.footer-brand .brand span {
  font-size: 1.2rem;
  line-height: 1.3;
}

.footer-brand .brand small {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.footer-contact a {
  color: var(--primary-light);
}

.footer-contact a:hover {
  color: var(--white);
}

.emergency-footer {
  background: rgba(220, 38, 38, 0.2);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  border-left: 3px solid #dc2626;
}

.emergency-footer a {
  color: #fca5a5;
}

.emergency-footer a:hover {
  color: #fef2f2;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.footer-bottom .veterinarian {
  color: var(--primary-light);
  font-weight: 600;
}

/* === WHATSAPP FLUTUANTE === */
.floating-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.1); }
}

/* === BARRA MOBILE === */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  gap: 0.5rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  z-index: 80;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.mobile-bar .call {
  background: var(--primary);
  color: var(--white);
}

.mobile-bar .wa {
  background: #25D366;
  color: var(--white);
}

/* === RESPONSIVO === */
@media (max-width: 960px) {
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero .cta-row {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-badge {
    right: 20px;
    bottom: -15px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand .brand {
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .topbar {
    min-height: var(--headerH-mobile);
  }

  .mainmenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
  }

  .brand.center-logo {
    order: 1;
  }

  .brand.center-logo img {
    height: 50px;
  }

  .menu-toggle {
    order: 2;
  }

  .mobile-bar {
    display: flex;
  }

  .floating-whatsapp {
    display: none;
  }

  .hero {
    padding: clamp(2rem, 6vw, 4rem) 0;
  }

  .hero-text h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .hero .cta-row .btn {
    width: 100%;
  }

  .about-badge {
    position: static;
    margin: 1rem auto 0;
    display: inline-flex;
    flex-direction: column;
  }

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

  .contact-form {
    padding: 1.5rem;
  }
}

/* Ano dinâmico no footer */
#year::before {
  content: "2024";
}

/* === HERO CAROUSEL === */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--primary);
}

.hero-carousel .slides {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
}

.hero-carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-carousel .slide.is-active {
  opacity: 1;
}

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

.hero-carousel .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 8%;
  color: var(--white);
}

.hero-carousel h1,
.hero-carousel h2 {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-carousel .highlight {
  color: #ffd700;
  text-shadow: 0 2px 15px rgba(255, 215, 0, 0.4);
}

.hero-carousel p {
  font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.4rem);
  max-width: 550px;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-carousel .cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-carousel .btn {
  font-size: 1.05rem;
  padding: 1rem 1.8rem;
}

.hero-carousel .btn.outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
}

.hero-carousel .btn.outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* Navegação do Carousel */
.hero-carousel .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-carousel .nav:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel .prev {
  left: 20px;
}

.hero-carousel .next {
  right: 20px;
}

/* Dots indicadores */
.hero-carousel .dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-carousel .dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-carousel .dots button:hover {
  background: rgba(255,255,255,0.5);
}

.hero-carousel .dots button.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.2);
}

/* Carousel Responsivo */
@media (max-width: 960px) {
  .hero-carousel .slides {
    height: 60vh;
    min-height: 450px;
  }

  .hero-carousel .overlay {
    padding: 0 5%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    align-items: center;
    text-align: center;
  }

  .hero-carousel h1,
  .hero-carousel h2 {
    max-width: 100%;
  }

  .hero-carousel p {
    max-width: 100%;
  }

  .hero-carousel .cta-row {
    justify-content: center;
  }
}

@media (max-width: 780px) {
  .hero-carousel .slides {
    height: 55vh;
    min-height: 400px;
  }

  .hero-carousel h1,
  .hero-carousel h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-carousel p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-carousel .btn {
    font-size: 0.95rem;
    padding: 0.85rem 1.4rem;
  }

  .hero-carousel .nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .hero-carousel .prev {
    left: 10px;
  }

  .hero-carousel .next {
    right: 10px;
  }

  .hero-carousel .dots {
    bottom: 20px;
  }

  .hero-carousel .dots button {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .hero-carousel .slides {
    height: 65vh;
    min-height: 380px;
  }

  .hero-carousel .cta-row {
    flex-direction: row;
    gap: 0.6rem;
    padding: 0;
  }

  .hero-carousel .btn {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .hero-carousel .btn svg {
    width: 16px;
    height: 16px;
  }

  .hero-carousel .nav {
    display: none;
  }
}
