/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.nav-logo img {
    height: 110px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #364e61;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #f59e0b;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #f59e0b;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    text-decoration: none; /* remove sublinhado do <a> */
    background: #f59e0b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    
}

.nav-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1e3a8a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* WhatsApp Fixed Button */
.whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    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);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Ajuste das Imagens */
.image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5; /* Mantém a imagem em segundo plano */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.5s ease-in-out, transform 2s ease-in-out;
}

.image-container img.active {
  opacity: 1;
  transform: scale(1.1);
}

/* Sobreposição escura */
.image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* ============================= */
/* 🔹 TEXTOS SOBRE O BANNER */
/* ============================= */

.texto-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: white;
  text-align: center;
  width: 80%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Título */
.texto-banner h2 {
  font-size: 2.8rem;
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  margin-bottom: 15px;
}

/* Parágrafo */
.texto-banner p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Botão */
.texto-banner button {
  background-color: #f39200;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 15px;
}

.texto-banner button:hover {
  background-color: #d37f00;
  transform: scale(1.05);
}




/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.section-label {
    color: #f59e0b;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 16px 0 24px;
    line-height: 1.2;
}

.about-text p {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.value-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    background: #fef3c7;
    padding: 16px;
    border-radius: 50%;
    display: inline-flex;
    margin-bottom: 24px;
}

.value-icon svg {
    color: #f59e0b;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.value-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Pet */

.terceira {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.carrossel-pet {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden; 
  z-index: 5;
  cursor: grab;

}



.carrossel-track {
  display: flex;
  width: max-content;
  gap: 4px;  /*espaço entre imagens */
}

.carrossel-track img {
  width: 33.33vw;
  height: 80vh; /*diminui tamanho da imagem, para deixar bordas inferiores arredondadas */
  object-fit: cover;
  flex-shrink: 0;
  filter: brightness(40%);
  border-radius: 20px;/*(parte de baixo da imagem está ficando reto, sem borda arredondada*/
  
}

.carrossel-pet,
.carrossel-track {
  overflow-y: hidden; /* Esconde a rolagem vertical */
}

.carrossel-pet.arrastando {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.carrossel-pet,
.carrossel-track,
.carrossel-track img {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}


@keyframes scroll-pet {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.pet-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pet-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.pet-logo {
    width: 150px;
    height: auto;
   
}

.pet-logo-section h2 {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.26);
}

.pet-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0.9;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.26);
}
.btn-primary{
    background: #f59e0b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary:hover{
        background: #d97706;
    transform: translateY(-2px);
}


/* Services Section */
.services {
    padding: 80px 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 32px;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto;
}

.services-intro h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}

.services-intro p {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    
}

.service-card-wide {
    grid-column: span 1;
}

.service-card .service-icon {
    background: #fef3c7;
    padding: 12px;
    border-radius: 12px;
    display: inline-flex;
    margin-bottom: 24px;
}

.service-card .service-icon svg {
    color: #f59e0b;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* BPO Section */
.bpo-section {
    padding: 80px 0;
    background: white;
}

.bpo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.bpo-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.bpo-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}

.bpo-text p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.7;
}

.bpo-list {
    list-style: none;
    margin-bottom: 32px;
}

.bpo-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #374151;
}

.bpo-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Progress Section */
.progress-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.progress-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.progress-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 16px 0 24px;
}

.progress-text p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.7;
}

.progress-bars {
    margin-bottom: 32px;
}

.progress-item {
    margin-bottom: 24px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.progress-bar {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    width: 0;
    transition: width 2s ease-in-out;
    border-radius: 4px;
}

.progress-final {
    font-size: 1rem;
    color: #6b7280;
    font-style: italic;
}

.progress-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #1f2937;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.contact-image img {
    width: 85%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.contact-form > p {
    text-align: center;
    margin-bottom: 32px;
    opacity: 0.8;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
    margin-bottom: 24px;
}

#form-status {
    text-align: center;
    margin-top: 16px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1d3f5a, #3a4f5f);
    color: white;
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 32px;
}

.footer-about {
    grid-column: span 2;
}

.footer-logo {
    height: 145px;
    width: auto;
    margin-bottom: 16px;
}

.footer-about p {
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #e2e8f0;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f59e0b;
}

.contact-info {
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-item svg {
    color: #f59e0b;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f59e0b;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom a {
    color: #f59e0b;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fbbf24;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 25px;
    background: #f59e0b;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-card-wide {
        grid-column: span 1;
    }

    .about-content,
    .bpo-content,
    .progress-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    /* Fix nav-logo being cut off */
    .nav-container {
        height: 70px;
        padding: 0 16px;
    }

    .nav-logo img {
        height: 60px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Fix texto-banner h2 being cut at top */
    .texto-banner {
        width: 90%;
        padding: 20px;
    }

    .texto-banner h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
        padding-top: 10px;
    }

    .texto-banner p {
        font-size: 1rem;
    }

    .texto-banner p br {
        display: none;
    }

    .texto-banner button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .help-content {
        flex-direction: column;
        text-align: center;
    }

    .pet-logo-section {
        flex-direction: column;
        gap: 16px;
    }

    .pet-logo-section h2 {
        font-size: 2rem;
    }

    .form-group {
        grid-template-columns: 1fr;
    }

    /* Fix footer paragraph being cut off */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-about {
        grid-column: span 1;
    }

    .footer-about p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .footer-logo {
        height: 100px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 12px;
        height: 60px;
    }

    .nav-logo img {
        height: 50px;
    }

    .nav-menu {
        top: 60px;
    }

    /* Further adjustments for texto-banner on small screens */
    .texto-banner h2 {
        font-size: 1.5rem;
        padding-top: 15px;
    }

    .texto-banner p {
        font-size: 0.9rem;
    }

    .texto-banner button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-text h2,
    .bpo-text h2,
    .progress-text h2 {
        font-size: 2rem;
    }

    .service-overview-card,
    .service-card,
    .value-card {
        padding: 24px;
    }

    .contact-form {
        padding: 24px;
    }

    /* Additional footer fixes for very small screens */
    .footer-logo {
        height: 80px;
    }

    .footer-about p {
        font-size: 0.9rem;
    }

    .whatsapp-fixed {
        width: 50px;
        height: 50px;
    }

    .whatsapp-fixed svg {
        width: 20px;
        height: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}