/* Estilos Gerais */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffbe76;
    --dark-color: #2d3436;
    --light-color: #f9f9f9;
    --text-color: #333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    color: var(--dark-color);
}

h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1rem;
}

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

section {
    padding: 5rem 0;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
    margin: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    background-color: #fff8f8;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ff6b6b" fill-opacity="0.05" d="M0,192L48,176C96,160,192,128,288,122.7C384,117,480,139,576,165.3C672,192,768,224,864,213.3C960,203,1056,149,1152,144C1248,139,1344,181,1392,202.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-cta {
    display: none; /* Ocultar o hero-cta no desktop */
}

.desktop-cta {
    display: inline-block; /* Garantir que o CTA do desktop seja exibido */
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-align: center;
}

.cta-button:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Benefícios */
.beneficios {
    background-color: white;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Exatamente 2 colunas para desktop */
    gap: 2rem;
}

.beneficio-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.beneficio-img {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover; /* Cobre todo o espaço disponível */
}

/* Depoimentos */
.depoimentos {
    background-color: #f8f9fa;
    position: relative;
}

.carousel,
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.beneficio-carousel {
    margin-top: 1rem;
    max-width: 100%;
    position: relative;
    height: 400px; /* Altura fixa para os carrosséis */
    overflow: visible;
    border-radius: 8px;
    width: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Cobre todo o espaço disponível */
}

.primeira-dobra-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mostra a imagem inteira sem cortes */
}

.depoimento-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    display: none;
}

.depoimento-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.depoimento-texto {
    font-style: italic;
    margin-bottom: 1rem;
}

.depoimento-autor {
    font-weight: 600;
    color: var(--primary-color);
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 100;
    pointer-events: none; /* Permite cliques nos elementos abaixo */
    padding: 0 10px;
}

.beneficio-carousel .carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin-top: 0;
    pointer-events: none; /* Permite cliques nos elementos abaixo */
    z-index: 100;
    padding: 0;
}

.beneficio-carousel .carousel-dots {
    display: none; /* Oculta os pontos nos carrosséis de benefícios */
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto; /* Garante que os botões sejam clicáveis */
    z-index: 200;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.beneficio-carousel .prev-btn, .beneficio-carousel .next-btn {
    background-color: rgba(255, 107, 107, 0.5); /* Cor primária com mais transparência */
    color: white;
    position: absolute; /* Voltado para absolute */
    z-index: 200; /* Aumentado para garantir que fique acima de outros elementos */
    pointer-events: auto; /* Permite cliques nos botões */
    width: 40px; /* Aumentado para melhor visibilidade */
    height: 40px; /* Aumentado para melhor visibilidade */
    font-size: 1.2rem; /* Aumentado para melhor visibilidade */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Sombra para destacar */
}

.beneficio-carousel .prev-btn {
    left: 5px;
}

.beneficio-carousel .next-btn {
    right: 5px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #ff5252;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* Estilos para depoimentos */
#depoimentos .carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

#depoimentos .prev-btn, #depoimentos .next-btn {
    background-color: rgba(255, 107, 107, 0.25);
    color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
}

#depoimentos .prev-btn {
    left: 10px;
}

#depoimentos .next-btn {
    right: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Localização */
.localizacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mapa {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.endereco, .horario {
    margin-bottom: 1.5rem;
}

.endereco h3, .horario h3 {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.endereco h3 i, .horario h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.whatsapp-button, .instagram-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin: 1rem auto;
    max-width: 300px;
    width: 100%;
}

.instagram-button {
    background-color: #E1306C;
}

.whatsapp-button i, .instagram-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsividade para o botão flutuante */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Sobre Nós */
.sobre {
    background-color: white;
}

.sobre-content {
    max-width: 1000px;
    margin: 0 auto;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.sobre-texto {
    padding-right: 2rem;
}

.sobre-img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.sobre-img:hover {
    transform: scale(1.03);
}

/* Como Adotar */
.como-adotar {
    padding: 80px 0;
    background-color: #fff;
}

.cta-center {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.adotar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.adotar-texto {
    padding-left: 2rem;
}

.adotar-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.adotar-img:hover {
    transform: scale(1.03);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-footer img {
    height: 60px;
    background-color: transparent;
}

.social-media {
    display: flex;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

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

/* Responsividade */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    html, body {
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }
    
    header {
        background-color: #fec9dd;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        padding: 0.8rem 0;
        margin: 0;
        border: none;
    }
    
    header .container {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 0.8rem;
    }
    
    .logo img {
        height: 45px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.3rem 0.7rem;
    }
    
    nav ul li a {
        font-size: 0.9rem;
    }
    
    .hero {
        padding-top: 9rem;
        padding-bottom: 2rem;
        text-align: center;
    }
    
    .hero-content {
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero .container {
        width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        order: 2;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        display: block;
        order: 3;
        text-align: center;
        margin-top: 1.5rem;
    }
    
    /* Ocultar o CTA do desktop no mobile */
    .desktop-cta {
        display: none;
    }
    
    .carousel-controls {
        padding: 0.5rem 0;
    }
    
    .prev-btn, .next-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .beneficio-carousel .carousel-controls {
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px; /* Espaço para o cabeçalho não fixo */
    }
    
    header {
        position: static; /* Remove posição fixa em mobile */
        background-color: var(--primary-color); /* Faixa rosa */
        padding: 0.5rem 0;
    }
    
    nav {
        display: none; /* Oculta a navegação em mobile */
    }
    
    .logo img {
        height: 50px; /* Tamanho da logo ajustado para mobile */
        margin: 0 auto; /* Centraliza a logo */
    }
    
    header .container {
        justify-content: center; /* Centraliza o conteúdo do cabeçalho */
    }
    
    section {
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .beneficios-grid, .localizacao-grid, .sobre-grid, .adotar-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-texto {
        order: 2;
    }
    
    .sobre-imagem {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .adotar-texto {
        order: 2;
        padding-left: 0;
        margin-top: 1rem;
    }
    
    .adotar-imagem {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .logo-footer {
        margin-bottom: 1rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .beneficio-card {
        padding: 1.5rem;
    }
    
    .beneficio-carousel {
        margin-top: 0.5rem;
    }
    
    .carousel-controls {
        padding: 0.3rem 0;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
}
