/* GLOBAL STYLES & VARIABLES */
:root {
    --primary-color: #27146e; /* Azul */
    --secondary-color: #f8f9fa; /* Branco/Cinza Claro */
    --accent-color: #ffc107;
    --text-color: #343a40;
    --text-color-light: #ffffff;
    --bg-color: #ffffff;
    --bg-color-dark: #212529;
    --card-bg-color: #ffffff;
    --card-border-color: #dee2e6;
    --footer-bg-color: #343a40;
    --footer-text-color: #f8f9fa;
    --box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    --border-radius: 8px;
}

.dark-mode {
    --primary-color: #ffffff;
    --text-color: #f8f9fa;
    --text-color-light: #8e8e8e;
    --bg-color: #212529;
    --card-bg-color: #343a40;
    --card-border-color: #495057;
    --secondary-color: #343a40;
    --footer-bg-color: #212529;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    transition: background-color 0.3s, color 0.3s;
}

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

.section-padding {
    padding: 80px 0;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: #333;
}

/* HEADER */
.main-header {
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav .nav-links li {
    margin-left: 25px;
}

.main-nav .nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
}

.theme-toggle .fa-sun { display: none; }
.dark-mode .theme-toggle .fa-sun { display: inline-block; }
.dark-mode .theme-toggle .fa-moon { display: none; }


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 1001;
}

/* HERO SECTION */
.hero-section {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    text-align: center;
    margin-top: 80px;
}

.swiper.hero-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--text-color-light);
}
.swiper-pagination-bullet-active {
    background: var(--text-color-light);
}

/* VIDEO SECTION */
.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ABOUT SECTION */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

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

.about-text {
    flex: 1.2;
}

/* SERVICES SECTION */
.services-section {
    background-color: var(--secondary-color);
}

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

.service-card {
    background-color: var(--card-bg-color);
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--card-border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
    object-fit: cover;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    text-align: right;
    font-weight: bold;
    color: var(--primary-color);
}

/* GALLERY SECTION */
.gallery-section {
    background-color: var(--secondary-color);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-grid a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.3s, opacity 0.3s;
}

.gallery-grid a:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

/* BLOG SECTION */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.blog-post-card {
    background: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
}
.blog-post-card:hover {
    transform: translateY(-5px);
}
.blog-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-post-content {
    padding: 25px;
}
.blog-post-content h3 {
    margin-top: 0;
}
.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}
.read-more i {
    transition: transform 0.3s;
}
.read-more:hover i {
    transform: translateX(5px);
}


/* CONTACT SECTION */
.contact-section {
    background-color: var(--secondary-color);
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--card-bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border-color);
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-size: 1rem;
}
.contact-details {
    list-style: none;
    padding: 0;
}
.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.contact-details i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}
.contact-details a {
    color: var(--text-color);
    text-decoration: none;
}
.contact-details a:hover {
    text-decoration: underline;
}

/* FOOTER */
.main-footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h3, .footer-col h4 {
    color: var(--text-color-light);
    margin-bottom: 20px;
}
.footer-col p, .footer-col li {
    color: #adb5bd;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-col ul a:hover {
    color: var(--text-color-light);
}
.social-links a {
    color: var(--footer-text-color);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #495057;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #adb5bd;
}

/* FLOATING ELEMENTS & UTILITIES */
.whatsapp-float, .back-to-top {
    position: fixed;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--box-shadow);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
}
.whatsapp-float {
    background-color: #25D366;
    right: 20px;
}
.back-to-top {
    background-color: var(--primary-color);
    right: 90px;
    opacity: 0;
    visibility: hidden;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color-dark);
    color: var(--text-color-light);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: bottom 0.5s ease-in-out;
}
.cookie-banner.show {
    bottom: 0;
}
.cookie-banner p {
    margin: 0;
    margin-right: 20px;
}
.cookie-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .section-title { font-size: 2.2rem; }
    .slide-content h1 { font-size: 2.8rem; }
    .slide-content p { font-size: 1.2rem; }
    .about-content { flex-direction: column; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease-in-out;
    }
    .main-nav.active {
        left: 0;
    }
    .main-nav .nav-links {
        flex-direction: column;
        align-items: center;
    }
    .main-nav .nav-links li {
        margin: 20px 0;
    }
    .main-nav .nav-links a {
        font-size: 1.5rem;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { text-align: center; }
    .social-links { justify-content: center; display: flex; }
    .cookie-banner { flex-direction: column; text-align: center; }
    .cookie-banner p { margin-bottom: 15px; }
    .back-to-top { right: 20px; }
    .whatsapp-float { bottom: 80px; }
}
