:root {
    --primary: #0066FF;
    --primary-dark: #003380;
    --yellow: #FFFF02;
    --secondary: #003380;
    --accent: #0066FF;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark: #212529;
    --border: #dee2e6;
    --success: #28a745;
    --error: #dc3545;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --radius: 3px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
    
    --container: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

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

.btn--small {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.section {
    padding: 80px 0;
}

.section--alt {
    background: var(--light-gray);
}

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

.section__title h2 {
    margin-bottom: 15px;
}

.section__title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    position: relative;
    z-index: 1000;
}

.top-bar {
    background: #003380;
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.top-bar__info a,
.top-bar__info span {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar__info a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.top-bar__social {
    display: flex;
    gap: 12px;
}

.top-bar__social a {
    color: #FFFF02;
    font-size: 1rem;
}

.main-header {
    background: #FFFF02;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #003380;
    border-radius: 2px;
    transition: all 0.3s;
}

.top-bar__info a:hover i,
.top-bar__social a:hover {
    color: #FFFF02;
}

/* Navigation */
.nav__list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav__item {
    position: relative;
}

.nav__item > a {
    display: block;
    padding: 10px 16px;
    color: #003380;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius);
}

.nav__item > a:hover,
.nav__item.active > a {
    color: #0066FF;
    background: rgba(0, 51, 128, 0.08);
}

.nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav__item:hover .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__submenu li a {
    display: block;
    padding: 10px 18px;
    color: #003380;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.nav__submenu li a:hover {
    background: rgba(0, 51, 128, 0.08);
    color: #0066FF;
}

.nav__submenu li:last-child a {
    border-bottom: none;
}

/* Hero */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-image: url('/assets/images/headers/bg-vitrine-01-home.jpg');
    background-position: center center;
    background-size: cover;
    color: var(--white);
    padding: 100px 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.hero__content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: #003380;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #003380;
    opacity: 0.9;
}

.hero__cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero__cta .btn--primary {
    background: #0066FF;
    color: #fff;
}

.hero__cta .btn--primary:hover {
    background: #003380;
}

.hero__cta .btn--secondary {
    background: transparent;
    color: #003380;
    border: 2px solid #003380;
}

.hero__cta .btn--secondary:hover {
    background: #003380;
    color: #fff;
}

/* Features */
.features {
    padding: 60px 0;
    background: var(--light-gray);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #003380;
    color: #fff;
}

.contact-section .contact-options__grid {
    gap: 30px;
}

.contact-section .contact-card {
    padding: 30px 20px;
}

.contact-section .contact-card__icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.feature__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.feature h3 {
    margin-bottom: 10px;
}

.feature p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card__image {
    height: 200px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    margin: -30px auto 15px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.service-card__icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-card__content {
    padding: 20px;
    text-align: center;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.service-card a {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Pragas Grid */
.pragas-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.praga-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.praga-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.praga-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.praga-card__icon img {
    max-width: 100%;
    max-height: 100%;
}

.praga-card h3 {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Page Header */
.page-header {
    background-color: #003380;
    background-image: url('/assets/images/headers/il-header-quem-somos.jpg');
    background-position: center center;
    background-size: cover;
    color: var(--white);
    padding: 100px 0;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 128, 0.6);
    pointer-events: none;
}

.page-header > .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-header__breadcrumb {
    font-size: 0.9rem;
    opacity: 0.9;
}

.page-header__breadcrumb a {
    color: var(--white);
}

.page-header__breadcrumb a:hover {
    text-decoration: underline;
}

.page-header__breadcrumb span {
    margin: 0 8px;
}

/* Content */
.content {
    padding: 60px 0;
}

.content__sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.content__main h2 {
    margin-bottom: 20px;
    color: var(--primary);
}

.content__main h3 {
    margin: 30px 0 15px;
    color: var(--secondary);
}

.content__main p {
    margin-bottom: 15px;
    color: var(--dark);
}

.content__main ul, .content__main ol {
    margin: 15px 0;
    padding-left: 25px;
}

.content__main li {
    margin-bottom: 8px;
}

.content__main img {
    border-radius: var(--radius);
    margin: 20px 0;
}

.sidebar {
    background: var(--light-gray);
    padding: 25px;
    border-radius: var(--radius);
    height: fit-content;
}

.sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.sidebar li:last-child {
    border-bottom: none;
}

.sidebar a {
    font-size: 0.9rem;
    color: var(--dark);
}

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

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-gray);
    padding: 40px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 106, 171, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-message {
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border: 1px solid;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.15);
    color: #a8f0b4;
    border-color: #a8f0b4;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.15);
    color: #f8b8bc;
    border-color: #f8b8bc;
}

/* Contact Options */
.contact-options {
    max-width: 900px;
    margin: 0 auto;
}

.contact-options h2 {
    color: var(--primary);
}

.contact-options__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--dark);
}

.contact-card--whatsapp {
    background: #25D366;
    color: var(--white);
}

.contact-card--whatsapp .contact-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.contact-card--whatsapp h3,
.contact-card--whatsapp p {
    color: var(--white);
}

.contact-card--whatsapp:hover {
    background: #20bd5a;
    border-color: #20bd5a;
}

.contact-card--email {
    border: 2px solid var(--primary);
}

.contact-card--email:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.contact-card--email:hover h3,
.contact-card--email:hover p {
    color: var(--white);
}

.contact-card--email .contact-card__icon {
    background: var(--primary);
    color: var(--white);
}

.contact-card--email:hover .contact-card__icon {
    background: var(--white);
    color: var(--primary);
}

.contact-card__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
    transition: color 0.3s;
}

.contact-card--whatsapp h3 {
    color: var(--white);
}

.contact-card p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
    transition: color 0.3s;
}

.contact-card--whatsapp p {
    color: var(--white);
}

.contact-card__cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-card--email:hover .contact-card__cta {
    color: var(--white);
}

.contact-card--email:hover .contact-card__cta i {
    color: var(--white);
}

.contact-card__cta i {
    transition: transform 0.2s, color 0.2s;
}

.contact-card:hover .contact-card__cta i {
    transform: translateX(5px);
}

.contact-card--whatsapp .contact-card__cta {
    color: var(--white);
}

/* Contact Info */
.contact-info {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h2 {
    color: var(--primary);
}

.contact-info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-info__item {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-gray);
    border-radius: var(--radius);
}

.contact-info__item h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info__item h3 i {
    font-size: 1.2rem;
}

.contact-info__item p {
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.6;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* Contact Bar */
.contact-bar {
    background: #003380;
    color: #fff;
    padding: 50px 0;
}

.contact-bar__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-bar__item h3 {
    color: #FFFF02;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-bar__item h3 i {
    color: #FFFF02;
    margin-right: 8px;
}

.contact-bar__item p {
    font-size: 0.9rem;
    color: #fff;
}

.contact-bar__item a {
    color: #fff;
}

.contact-bar__item a:hover {
    color: #FFFF02;
}

/* Footer */
.footer {
    background: #FFFF02;
    color: #003380;
    padding: 60px 0 20px;
}

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

.footer h3 {
    color: #003380;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066FF;
    display: inline-block;
}

.footer__logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer__about p {
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #003380;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    background: rgba(0, 51, 128, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003380;
    transition: all 0.3s;
}

.footer__social a:hover {
    background: #0066FF;
    color: #fff;
}

.footer__contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer__contact i {
    color: #FFFF02;
    margin-top: 4px;
}

.footer__links ul,
.footer__services ul {
    list-style: none;
}

.footer__links li,
.footer__services li {
    margin-bottom: 10px;
}

.footer__links a,
.footer__services a {
    color: #003380;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer__links a:hover,
.footer__services a:hover {
    color: #0066FF;
    padding-left: 5px;
}

.footer__bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 51, 128, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer__legal {
    display: flex;
    gap: 20px;
}

.footer__legal a {
    color: #003380;
    opacity: 0.7;
}

.footer__legal a:hover {
    color: #0066FF;
    opacity: 1;
}

@media (max-width: 768px) {
    .contact-bar__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 404 Page */
.not-found {
    text-align: center;
    padding: 100px 20px;
}

.not-found h1 {
    font-size: 6rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.not-found h2 {
    margin-bottom: 15px;
}

.not-found p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* CTA Section */
.cta-section {
    background: #003380;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: #FFFF02;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border);
}

table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

table tr:nth-child(even) {
    background: var(--light-gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pragas-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar__info {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        padding: 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
    }
    
    .nav__item > a {
        padding: 15px;
        border-bottom: 1px solid var(--border);
    }
    
    .nav__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pragas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .content__sidebar {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .pragas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        padding: 20px;
    }
}