/* RESET E ESTILOS GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f9a826;
    --secondary-color: #4ecdc4;
    --dark-color: #2c3e50;
    --light-color: #f7f9fc;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --border-radius: 10px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER E NAVEGAÇÃO */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    flex-wrap: wrap;
}

/* LOGO COM IMAGEM REDONDA */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 75%;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.logo span {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url(../imagens/todos7.jpeg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin: 0 10px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #e09600;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(249, 168, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--text-color);
    transform: translateY(-3px);
}

/* SEÇÃO DE NÚMEROS */
.numeros {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.numero-item {
    padding: 2rem;
}

.numero-item .numero {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.numero-item p {
    font-size: 1.2rem;
}

/* CARDS DE CÃES */
.destaques {
    padding: 5rem 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cao-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.cao-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.cao-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cao-card:hover::after {
    transform: scaleX(1);
}

.cao-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.cao-info {
    padding: 1.5rem;
}

.cao-info h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.cao-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: var(--light-color);
    color: var(--text-color);
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.cao-personalidade {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.cao-historia {
    margin-bottom: 0.2rem;
    line-height: 1.6;
}

.btn-adotar, .btn-apadrinhar {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-adotar {
    background: var(--primary-color);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.btn-apadrinhar {
    background: var(--primary-color);
    color: var(--white);
}

.btn-adotar:hover {
    background: #e09600;
}

.btn-apadrinhar:hover {
    background: #e09600;
}

.center-button {
    text-align: center;
}

/* BOTÃO LER MAIS */
.btn-ler-mais {
    background: transparent;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.2rem 0 0.8rem 0;
    text-decoration: underline;
    transition: all 0.3s;
    display: inline-block;
}

.btn-ler-mais:hover {
    color: #e09600;
    transform: translateX(5px);
}

/* POR QUE ADOTAR */
.porque-adotar {
    padding: 5rem 0;
}

.porque-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.porque-texto h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.porque-texto p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.beneficios-lista {
    list-style: none;
}

.beneficios-lista li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.beneficios-lista i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.porque-imagem img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* DEPOIMENTOS - COM FOTOS MAIORES PARA AS NOVAS RESPONSÁVEIS */
.depoimentos {
    background: var(--light-color);
    padding: 5rem 0;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

/* Fotos maiores para as novas responsáveis */
.depoimento-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(249, 168, 38, 0.3);
}

.depoimento-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.depoimento-card h4 {
    color: var(--dark-color);
    margin-bottom: 0.2rem;
}

.depoimento-card span {
    color: var(--primary-color);
    font-size: 0.9rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-info h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.footer-info p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.redes-sociais {
    display: flex;
    gap: 1rem;
}

.redes-sociais a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.redes-sociais a:hover {
    color: var(--primary-color);
}

.footer-links h4,
.footer-contato h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

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

/* DESTAQUE PARA LINKS ATIVOS NO FOOTER */
.footer-links a.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.footer-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links a.active:hover {
    color: #e09600 !important;
}

.footer-links a.active:hover::after {
    background-color: #e09600;
}

.footer-contato p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-contato i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* FOOTER BOTTOM */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    width: 100%;
}

.footer-bottom p {
    margin: 0 0 0.8rem 0;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.creditos-site {
    font-size: 0.95rem;
    color: #999;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}

.creditos-site a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.creditos-site a:hover {
    color: #e09600;
    text-decoration: underline;
}

/* PÁGINA DE ADOÇÃO */
.page-title {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1548199973-03cce0bbc87b?w=1200');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 8rem 0 4rem;
    margin-top: 60px;
}

.page-title h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-title p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* FILTROS */
.filtros {
    padding: 2rem 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.filtros-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filtros-container select,
.filtros-container button {
    padding: 0.8rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.filtros-container select {
    min-width: 200px;
    background: var(--white);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: var(--border-radius);
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: var(--text-color);
}

.modal h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.modal p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* PLANOS DE APADRINHAMENTO - NOVO ESTILO */
.planos-apadrinhamento {
    margin: 2rem 0;
}

.sobre-apadrinhamento {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.sobre-apadrinhamento p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.sobre-apadrinhamento ul {
    list-style: none;
    padding: 0;
}

.sobre-apadrinhamento li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sobre-apadrinhamento li i {
    color: var(--primary-color);
    width: 20px;
    font-size: 1.1rem;
}

.info-box {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.info-box i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* BOTÃO DO MODAL DE APADRINHAMENTO */
#form-apadrinhamento .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#form-apadrinhamento .btn-primary:hover {
    background: #e09600;
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ANIMAÇÃO DOS CARDS */
.cao-card {
    animation: fadeInUp 0.5s ease backwards;
}

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

/* ===== ESTILOS PARA CUPONS ===== */
.cupons-section {
    margin: 3rem 0;
}

.cupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.cupom-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.cupom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.cupom-logo {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 2px dashed #ddd;
    position: relative;
}

.cupom-logo-img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.cupom-valor {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    padding: 1rem 0 0.5rem;
}

.cupom-descricao {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cupom-codigo {
    background: var(--light-color);
    margin: 1rem;
    padding: 0.8rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
}

.cupom-codigo span {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--dark-color);
}

.btn-copiar-cupom {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn-copiar-cupom:hover {
    background: #e09600;
    transform: scale(1.05);
}

.cupom-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.cupom-info i {
    color: var(--primary-color);
    width: 20px;
}

.cupom-footer {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
    border-top: 1px solid #eee;
}

.cupom-footer i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

/* Cores específicas para cada cupom */
.cupom-zeenow .cupom-logo {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8d4 100%);
}

.cupom-petz .cupom-logo {
    background: linear-gradient(135deg, #e6f0ff 0%, #d4e4ff 100%);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 4%;
    }
    
    .logo {
        max-width: 70%;
        gap: 6px;
    }
    
    .logo span {
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--white);
        width: 85%;
        height: calc(100vh - 60px);
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 20px;
        gap: 0.5rem;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 5px 0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 15px;
        font-size: 1rem;
        width: 100%;
        border-radius: 8px;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--light-color);
        color: var(--primary-color);
    }
    
    /* Animação do hamburger */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 1rem auto;
        width: 80%;
    }
    
    .numeros-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .porque-content {
        grid-template-columns: 1fr;
    }
    
    .porque-imagem {
        order: -1;
    }
    
    .filtros-container {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .filtros-container select,
    .filtros-container button {
        width: 100%;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
    
    .sobre-apadrinhamento {
        padding: 1rem;
    }
    
    .sobre-apadrinhamento li {
        font-size: 0.95rem;
    }
    
    /* Fotos das responsáveis ficam um pouco menores no mobile */
    .depoimento-card img {
        width: 120px;
        height: 120px;
    }
    
    /* Ajuste do footer no mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .redes-sociais {
        justify-content: center;
    }
    
    /* ===== AJUSTE PARA TÍTULOS LONGOS NO CELULAR (SEM HIFEN) ===== */
    .page-title h1 {
        font-size: 2rem;
        word-break: break-word;
        line-height: 1.3;
        padding: 0 15px;
    }
    
    .page-title {
        padding: 6rem 0 3rem;
    }
    
    .section-title {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    /* ===== CORREÇÃO PARA FORMULÁRIO DE CONTATO ===== */
    .contato-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .contato-info,
    .contato-form {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contato-form .form-group input,
    .contato-form .form-group select,
    .contato-form .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
    }
    
    .contato-form .btn-enviar {
        width: 100%;
        padding: 0.8rem;
    }
    
    /* CENTRALIZAR ÍCONES E INFORMAÇÕES NO CONTATO - CELULAR */
    .info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .info-icon {
        margin: 0 auto 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .info-text {
        text-align: center;
        width: 100%;
    }
    
    .info-text h3 {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .info-text p {
        text-align: center;
        margin: 0.25rem 0;
    }
    
    .info-text a {
        display: inline-block;
        text-align: center;
    }
    
    .social-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* ===== AJUSTE PARA CUPONS NO CELULAR ===== */
    .cupons-grid {
        grid-template-columns: 1fr;
    }
    
    .cupom-card {
        max-width: 100%;
    }
    
    .cupom-valor {
        font-size: 2rem;
    }
    
    .cupom-codigo span {
        font-size: 1rem;
    }
    
    .cupom-logo-img {
        max-width: 100px;
        max-height: 50px;
    }
}

/* ===== BOTÃO MODO ESCURO ===== */
.btn-tema {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.btn-tema:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: rotate(20deg);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== TRANSIÇÕES SUAVES PARA DARK MODE ===== */
body,
.navbar,
.nav-menu,
.cao-card,
.depoimento-card,
.destaques,
.depoimentos,
.filtros,
.modal-content,
.cupom-card,
.tag {
    transition: background-color 0.4s ease, color 0.3s ease,
                border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ===== MODO ESCURO ===== */

/* Sobrescreve variáveis CSS globais — resolve a maioria dos textos/fundos de uma vez */
[data-theme="dark"] {
    --dark-color: #e2e8f0;
    --light-color: #1e293b;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
}

[data-theme="dark"] body {
    background: #0f172a;
    color: #e2e8f0;
}

/* Footer usa --dark-color como fundo; com a variável alterada precisa de fix */
[data-theme="dark"] footer {
    background: #0f172a;
}

[data-theme="dark"] .navbar {
    background: #1e293b;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

[data-theme="dark"] .nav-menu {
    background: #1e293b;
}

[data-theme="dark"] .nav-menu a {
    color: #e2e8f0;
}

[data-theme="dark"] .nav-menu a:hover,
[data-theme="dark"] .nav-menu a.active {
    color: var(--primary-color);
    background: rgba(249, 168, 38, 0.1);
}

[data-theme="dark"] .hamburger span {
    background: #e2e8f0;
}

[data-theme="dark"] .btn-tema {
    color: #e2e8f0;
}

[data-theme="dark"] .btn-tema:hover {
    background: #334155;
}

[data-theme="dark"] .cao-card {
    background: #1e293b;
}

[data-theme="dark"] .cao-info h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .cao-personalidade,
[data-theme="dark"] .cao-historia {
    color: #94a3b8;
}

[data-theme="dark"] .tag {
    background: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .destaques,
[data-theme="dark"] .depoimentos {
    background: #162032;
}

[data-theme="dark"] .section-title {
    color: #e2e8f0;
}

[data-theme="dark"] .section-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .depoimento-card {
    background: #1e293b;
}

[data-theme="dark"] .depoimento-card p {
    color: #94a3b8;
}

[data-theme="dark"] .depoimento-card h4 {
    color: #e2e8f0;
}

[data-theme="dark"] .filtros {
    background: #1e293b;
    border-bottom-color: #334155;
}

[data-theme="dark"] .filtros-container select {
    background: #162032;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .modal-content {
    background: #1e293b;
}

[data-theme="dark"] .modal h2,
[data-theme="dark"] .modal h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .modal p,
[data-theme="dark"] .modal label {
    color: #94a3b8;
}

[data-theme="dark"] .form-group label {
    color: #e2e8f0;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: #162032;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .porque-adotar {
    background: #0f172a;
}

[data-theme="dark"] .porque-texto h2 {
    color: #e2e8f0;
}

[data-theme="dark"] .porque-texto p {
    color: #94a3b8;
}

[data-theme="dark"] .beneficios-lista li {
    color: #e2e8f0;
}

[data-theme="dark"] .cupom-card {
    background: #1e293b;
}

[data-theme="dark"] .cupom-zeenow .cupom-logo,
[data-theme="dark"] .cupom-petz .cupom-logo,
[data-theme="dark"] .cupom-logo {
    background: linear-gradient(135deg, #253545 0%, #1e293b 100%);
}

[data-theme="dark"] .cupom-codigo {
    background: #162032;
    border-color: #334155;
}

[data-theme="dark"] .cupom-codigo span {
    color: #e2e8f0;
}

[data-theme="dark"] .cupom-descricao,
[data-theme="dark"] .cupom-info {
    color: #94a3b8;
}

[data-theme="dark"] .cupom-footer {
    background: linear-gradient(135deg, #253545 0%, #1e293b 100%);
    border-top-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .info-box {
    background: #162032;
    color: #94a3b8;
}

[data-theme="dark"] .sobre-apadrinhamento {
    background: #162032;
    border-left-color: var(--primary-color);
}

[data-theme="dark"] .sobre-apadrinhamento p,
[data-theme="dark"] .sobre-apadrinhamento li {
    color: #e2e8f0;
}

/* Páginas com estilos inline (sobre, contato, doacao) */
[data-theme="dark"] .historia-emocionante {
    background: #162032 !important;
}

[data-theme="dark"] .historia-texto {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .contato-page,
[data-theme="dark"] .doacao-page {
    background: #0f172a !important;
}

[data-theme="dark"] .contato-info,
[data-theme="dark"] .contato-form {
    background: #1e293b !important;
    color: #e2e8f0;
}

[data-theme="dark"] .contato-info h2,
[data-theme="dark"] .contato-info h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .info-item {
    border-bottom-color: #334155 !important;
}

[data-theme="dark"] .info-text h3 {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .info-text p,
[data-theme="dark"] .info-text a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .categoria-card {
    background: #1e293b !important;
}

[data-theme="dark"] .categoria-content {
    color: #e2e8f0;
}

[data-theme="dark"] .categoria-content p,
[data-theme="dark"] .categoria-content li {
    color: #94a3b8 !important;
}

[data-theme="dark"] .banco-card {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .timeline-content {
    background: #1e293b !important;
    color: #e2e8f0;
}

[data-theme="dark"] .timeline-section {
    background: #162032 !important;
}

[data-theme="dark"] .doacao-header h1,
[data-theme="dark"] .doacao-header p {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .pontos-arrecadacao {
    background: #162032 !important;
}

[data-theme="dark"] .ponto-item {
    background: #1e293b !important;
}

/* Elementos com background: white hardcoded — não cobertos pela variável */
[data-theme="dark"] .bancario-section {
    background: #1e293b !important;
}

[data-theme="dark"] .pontos-section {
    background: #1e293b !important;
}

[data-theme="dark"] .banco-card .chave-pix {
    background: #0f172a !important;
}

[data-theme="dark"] .marca-tag {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .produto-item {
    background: #334155 !important;
    color: #e2e8f0;
}

/* sobre.html — elementos com inline style ou cor hardcoded */
[data-theme="dark"] .porque-adotar {
    background: #0f172a !important;
}

[data-theme="dark"] .historia-imagem p {
    color: #94a3b8 !important;
}

[data-theme="dark"] .timeline-content h3,
[data-theme="dark"] .timeline-content h4,
[data-theme="dark"] .timeline-content p,
[data-theme="dark"] .timeline-content span:not(.timeline-year) {
    color: #e2e8f0 !important;
}

/* contato.html — inputs com borda hardcoded */
[data-theme="dark"] .contato-form input,
[data-theme="dark"] .contato-form select,
[data-theme="dark"] .contato-form textarea {
    background: #162032 !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .contato-form label {
    color: #e2e8f0 !important;
}

@media (max-width: 480px) {
    .numeros-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .sobre-apadrinhamento li {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
    
    .logo {
        max-width: 72%;
        gap: 5px;
    }
    
    .logo span {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .logo-img {
        width: 28px;
        height: 28px;
    }
    
    .nav-menu {
        width: 90%;
        padding: 15px;
    }
    
    .nav-menu a {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    /* ===== AJUSTE PARA TÍTULOS EM CELULARES PEQUENOS ===== */
    .page-title h1 {
        font-size: 1.6rem;
        padding: 0 10px;
    }
    
    .page-title p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    /* ===== CORREÇÃO PARA FORMULÁRIO DE CONTATO EM CELULAR PEQUENO ===== */
    .contato-info,
    .contato-form {
        padding: 1rem;
    }
    
    .contato-form h2 {
        font-size: 1.5rem;
    }
    
    .contato-form .form-group input,
    .contato-form .form-group select,
    .contato-form .form-group textarea {
        padding: 0.6rem;
        font-size: 14px;
    }
    
    .info-text p {
        font-size: 0.9rem;
        word-break: break-word;
        text-align: center;
    }
    
    .social-button {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* ===== AJUSTE PARA CUPONS EM CELULAR PEQUENO ===== */
    .cupom-logo-img {
        max-width: 80px;
        max-height: 40px;
    }
    
    .cupom-valor {
        font-size: 1.8rem;
    }
    
    .cupom-codigo span {
        font-size: 0.9rem;
    }
    
    .btn-copiar-cupom {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
}