:root {
    /* Palette Premium */
    --primary-color: #0e4d52;
    /* Deep Teal */
    --primary-light: #167a82;
    --secondary-color: #cba135;
    /* Gold/Brass accent */
    --accent-color: #e6f2f2;
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    padding-top: 150px;
    /* Adjusted for larger header */
    background-color: #fcfcfc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

/* Header e Navegação */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 120px;
    /* Increased size */
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Menu Mobile */
.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 991px) {
    .mobile-menu {
        display: flex;
    }

    .navbar-collapse {
        position: fixed;
        top: 150px;
        /* Adjusted for larger header */
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-bottom-left-radius: var(--radius-lg);
        border-bottom-right-radius: var(--radius-lg);
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        text-align: center;
        margin-bottom: 1rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 10px 0;
    }
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: all;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.carousel-slide.active .slide-image {
    transform: scale(1);
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(14, 77, 82, 0.3), rgba(14, 77, 82, 0.7));
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.slide-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.carousel-slide.active .slide-content h1,
.carousel-slide.active .slide-content p,
.carousel-slide.active .cta-container {
    opacity: 1;
    transform: translateY(0);
}

.cta-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s;
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    box-shadow: 0 4px 15px rgba(14, 77, 82, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 77, 82, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Carousel Controls */
.carousel-control {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-indicators {
    bottom: 40px;
}

.indicator {
    width: 10px;
    height: 10px;
    margin: 0 6px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
}

.indicator.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* About Section */
#sobre {
    background-color: white;
    position: relative;
    overflow: hidden;
}

#sobre img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

#sobre img:hover {
    transform: translateY(-5px);
}

#sobre ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

#sobre ul {
    list-style: none;
    padding-left: 0;
}

#sobre ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Products Section */
#produtos {
    background-color: var(--accent-color);
    padding: 100px 0;
}

.produtos-card {
    background: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.produtos-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transition: height 0.3s ease;
    z-index: -1;
}

.produtos-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.produtos-card:hover::before {
    height: 100%;
    opacity: 0.03;
}

.produtos-image {
    height: 240px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.produtos-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.produtos-card:hover .produtos-image img {
    transform: scale(1.1);
}

.produtos-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Highlight Section */
.highlight-section {
    background: linear-gradient(135deg, var(--primary-color), #09363b);
    color: white;
    padding: 100px 0;
}

.highlight-section .section-title {
    color: white;
}

.highlight-section .section-title::after {
    background: var(--secondary-color);
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Contact Form */
.form-section {
    background-color: white;
    padding: 100px 0;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid #f0f0f0;
}

.form-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #f0f0f0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    background-color: white;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Contact Info Box */
.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.contact-info h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--secondary-color);
    width: 25px;
    text-align: center;
}

.map-container iframe {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Footer */
footer {
    background-color: #09363b;
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form,
    .contact-info {
        padding: 2rem;
    }

    .hero-carousel {
        height: 70vh;
    }
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    /* Increased distance */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Staggered delays for child elements */
.fade-in-section:nth-of-type(1) {
    transition-delay: 0.1s;
}

.fade-in-section:nth-of-type(2) {
    transition-delay: 0.2s;
}

.fade-in-section:nth-of-type(3) {
    transition-delay: 0.3s;
}

.fade-in-section:nth-of-type(4) {
    transition-delay: 0.4s;
}

/* Floating Actions */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    align-items: flex-end;
    /* Align to the right */
}

.btn-float {
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    /* Default icon size */
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

/* WhatsApp Button */
.btn-whatsapp-float {
    width: 60px;
    /* Fixed circular size */
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    font-size: 32px;
    /* Slightly larger icon */
}

/* Back to Top Button */
.btn-back-to-top {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    background: var(--primary-color);
    font-size: 1.2rem;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btn-back-to-top i {
    font-size: 1.2rem;
}

.btn-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Specific hover overload for pill shape - Removed, using standard float hover now */
.btn-back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px) scale(1.05);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    /* Keep text on mobile or maybe simplify? 
       User request implies this design is desired, keeping it consistent. */
}