:root {
    /* Paleta de Cores Hidro-tyon (Ordem de importância) */
    --primary-color: #2c529f;   /* Azul Principal */
    --accent-color: #f6a500;    /* Laranja (Destaque) */
    --white: #ffffff;           /* Fundo / Texto */
    --dark-blue: #081a63;       /* Azul Escuro (Rodapé/Títulos) */
    --light-blue: #238ecd;      /* Azul Claro (Detalhes) */
    
    --bg-light: #f4f7f9;
    --text-dark: #333333;
    --text-light: #666666;
    
    --header-height: 80px;
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* Header */
header {
    background: var(--white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h2 {
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--dark-blue);
    transition: var(--transition);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Carousel Section */
.carousel-section {
    width: 100%;
    background-color: var(--white);
    padding: 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background-color: var(--bg-light);
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(8, 26, 99, 0.6);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Sample Bar Section */
.sample-bar-section {
    width: 100%;
    background-color: var(--white);
    padding: 20px 0 0 0;
}

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

.sample-bar-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: block;
}

/* Home Main Section */
.home-main-section {
    padding: 60px 0 40px 0;
    background-color: var(--white);
    text-align: center;
}

.home-main-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.main-content-header h1 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-weight: 800;
}

.main-content-header .highlight-text {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.main-image-container {
    width: 100%;
    max-width: 1200px; /* Ocupa toda a largura do container */
    margin: 0 auto;
}

.home-main-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(8, 26, 99, 0.12);
    display: block;
    transition: var(--transition);
}

.home-main-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(8, 26, 99, 0.18);
}

.main-content-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.main-content-actions .inmetro-badge {
    display: inline-flex;
    background: var(--bg-light);
    padding: 10px 25px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 700;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(44, 82, 159, 0.1);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background-color: #e59400;
}

/* Sections Global */
section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* Benefit Cards */
.benefit-card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

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

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-info h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

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

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

.footer-copy {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: #ccc;
}

.footer-legal {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-legal a {
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    font-size: 0.9rem;
}

.cookie-btn {
    background: var(--accent-color);
    border: none;
    padding: 8px 20px;
    color: var(--white);
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* Tabelas de Produtos */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}

.product-table th, .product-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.product-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.product-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* Selo Inmetro Floating */
.inmetro-badge {
    background: var(--white);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--header-height);
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: 0.5s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: flex; /* Override previous display: none */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .main-content-header h1 {
        font-size: 1.8rem;
    }
    .main-content-header .highlight-text {
        font-size: 1.1rem;
    }
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .carousel-btn.prev {
        left: 10px;
    }
    .carousel-btn.next {
        right: 10px;
    }
    .cookie-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
