@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --color-primary: #1D3557;           /* Deep Navy */
    --color-secondary: #457B9D;         /* Steel Blue */
    --color-accent: #E63946;            /* Soft Red/Coral */
    --color-bg-light: #F1FAEE;          /* Honeydew/Off-white */
    --color-text-dark: #1D3557;
    --color-text-muted: #457B9D;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;
    
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(29, 53, 87, 0.1);
    --shadow-lg: 0 20px 50px rgba(29, 53, 87, 0.15);
    
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%; /* Safety precaution for images and containers */
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: #ffffff;
    padding-top: 110px; /* Matched to the thinner header height (35+75) */
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); position: relative; display: inline-block; margin-bottom: 2rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* Top Demo Banner */
/* Top Demo Banner */
.top-demo-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001; /* Above header */
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.top-demo-banner a {
    color: var(--color-accent);
    text-decoration: underline;
    margin-left: 5px;
}

/* Header & Nav */
#main-header {
    position: fixed;
    top: 35px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0; /* Sustained thinner padding */
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

#main-header.sticky {
    padding: 10px 0; /* Even thinner on scroll */
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--color-accent);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

#main-nav {
    display: flex;
    gap: 30px; /* Reduced gap */
}

#main-nav a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem; /* Slightly smaller text */
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-smooth);
}

#main-nav a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

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

.btn-white {
    color: white !important;
    border-color: white !important;
}

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

.btn-canil-accent {
    background: white !important;
    color: var(--color-primary) !important;
}

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

/* Sections */
section {
    padding: 140px 0;
    overflow: hidden; /* Key to prevent AOS animation overflows */
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.8) 0%, rgba(29, 53, 87, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    margin-bottom: 30px;
    font-style: italic;
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 600px;
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-box {
    padding: 60px 40px;
    background: white;
    border-radius: 1px;
    border: 1px solid #eee;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-box:hover {
    transform: translateY(-15px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
}

.feature-box i {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 30px;
}

/* Swiper Styling */
.swiper-container {
    width: 100%;
    height: 550px; /* Reduzi para evitar cortes excessivos */
    border-radius: 0;
    box-shadow: var(--shadow-md);
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Ajuste para focar mais no animal */
    filter: grayscale(10%);
    transition: 0.8s ease;
}

.swiper-slide-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: linear-gradient(to top, rgba(29, 53, 87, 0.7), transparent 70%) !important;
}

.swiper-slide:hover img {
    filter: grayscale(0%);
    transform: scale(1.05); /* Efeito suave de zoom */
}

.swiper-button-next, .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9) !important;
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    color: var(--color-primary) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--color-accent) !important;
    color: white !important;
    transform: scale(1.1);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 24px !important;
    font-weight: 900 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-primary) !important;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: var(--color-accent) !important;
    opacity: 1;
    width: 35px !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

/* Product Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #eee;
}

.product-item {
    position: relative;
    overflow: hidden;
    height: 500px;
    border: 1px solid #eee;
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(29, 53, 87, 0.9), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item:hover .product-info {
    transform: translateY(0);
    opacity: 1;
}

/* Canil Section */
.canil-section {
    background-image: url('../images/canil-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    position: relative;
}

.canil-overlay-fixed {
    background: rgba(29, 53, 87, 0.9) !important;
}

.canil-content h2 {
    margin-bottom: 40px;
}

.canil-content p {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background: #fdfdfd;
    padding: 100px 0 50px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 10px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    body {
        padding-top: 100px; /* Reduced padding for mobile */
    }

    .features-grid, .product-grid, .footer-grid, .contact-grid-custom {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        text-align: center;
        justify-content: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    #main-nav {
        display: none;
    }
    
    .logo-text {
        font-size: 1.1rem; /* Smaller logo text */
    }

    .top-demo-banner {
        font-size: 0.6rem; /* Smaller banner text */
        padding: 6px 10px;
    }

    #main-header {
        top: 28px; /* Height of the reduced banner */
        padding: 10px 0;
    }

    .btn-sm {
        padding: 10px 15px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none; /* Hide brand name on tiny screens to save space */
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}
.contact-grid-custom {
    grid-template-columns: 1.5fr 1fr;
}

.contact-box-left {
    text-align: left !important;
    background: var(--color-bg-light) !important;
    border: none !important;
}

.footer-col h4.small-title {
    font-size: 1.2rem;
}

.btn-whatsapp-footer {
    margin-top: 20px;
    padding: 10px 20px !important;
    font-size: 0.7rem !important;
}

.credit-link-accent {
    color: var(--color-accent) !important;
}

/* Hero bg utility */
.hero-bg-main {
    background-image: url('../images/hero-bg.jpg');
}

.footer-col-left {
    text-align: left !important;
}

.footer-desc {
    margin-top: 20px !important;
}

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

.testimonial-card {
    text-align: left !important;
    background: white !important;
    box-shadow: var(--shadow-sm);
    padding: 40px !important;
}

.star-rating {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-dark);
}

.testimonial-author {
    margin-top: 20px;
}

.testimonial-author strong {
    display: block;
    color: var(--color-primary);
}

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

/* Floating WhatsApp (Botão Inteligente) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-green-ring 1.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white !important;
}

@keyframes pulse-green-ring {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* FAQ Accordion Moderno */
#faq {
    background: #ffffff;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 24px 0;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 15px;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
