/* ==========================================
   RESET E VARIÁVEIS GLOBAIS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #2a9d8f;
    --color-secondary: #4a90e2;
    --color-dark: #1a1a1a;
    --color-light: #f8f8f8;
    --color-white: #ffffff;
    --color-orange: #e76f51;
    --color-orange-alt: #ff8c42;
    --color-teal: #2a9d8f;
    --color-teal-dark: #1b7f75;
    --color-green: #7cb342;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

/* ==========================================
   HEADER FIXO
   ========================================== */
.header {
    --background: var(--color-white);
	background: #fffcf6;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 100px; /* Ajuste conforme necessário */
    width: auto;
    display: block;
}

/* Responsivo */
@media (max-width: 768px) {
    .logo-image {
        height: 45px;
    }
}


/* Navegação */
.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: #228e81;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #199f4a;
}

.nav-link i {
    font-size: 10px;
    margin-left: 5px;
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 260px;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 15px;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background: var(--color-light);
    color: var(--color-teal);
}

/* Menu Toggle Mobile */
.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: var(--color-dark);
    border-radius: 0;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   VÍDEO FULLWIDTH
   ========================================== */
.video-section {
    margin-top: 100px;  /* Espaço do header fixo */
}

.video-box {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    --background: #000;
	text-align: center;
}

/* Vídeo de fundo */
.video-bg {
    width: 100%;
    height: 100%;
    --object-fit: cover;
}

/* Overlay escuro */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    --background: rgba(0, 0, 0, 0.5);
}

/* Texto */
.video-text {
    position: absolute;
    top: 50%;
    left: 150px;
    transform: translateY(-50%);
	text-align: left;
    z-index: 2;
}

.video-text h1 {
    font-size: 40px;
    font-weight: 700;
	--padding-left: 50px;
    color: white;
    line-height: 1.2;
    --text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* Responsivo */
@media (max-width: 768px) {
    .video-section {
        margin-top: 80px;
    }
    
    .video-box {
        height: 400px;
    }
    
    .video-text {
        left: 30px;
    }
    
    .video-text h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .video-box {
        height: 350px;
    }
    
    .video-text {
        left: 20px;
    }
    
    .video-text h1 {
        font-size: 28px;
    }
}




/* ==========================================
   HERO SECTION COM VÍDEO
   ========================================== */
   
/* Desktop */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;  /* 16:9 */
    overflow: hidden;
    background: #000;
}

/* Tablet landscape */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-video-wrapper {
        padding-bottom: 50%;  /* Mais baixo em landscape */
    }
}

/* Tablet portrait */
@media (max-width: 768px) and (orientation: portrait) {
    .hero-video-wrapper {
        padding-bottom: 75%;  /* 4:3 */
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-video-wrapper {
        padding-bottom: 100%;  /* 1:1 quadrado */
    }
}


.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-pattern {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 100px;
    height: 100px;
}

.pattern-lines {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 12px
    );
}

/* ==========================================
   SEÇÃO SOBRE A AEROFOTO
   ========================================== */
.about-section {
    background: var(--color-white);
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.about-title {
    position: sticky;
    top: 120px;
}

.about-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.1;
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.about-title .highlight {
    color: var(--color-teal);
}

.about-content {
    position: relative;
    -- background: var(--color-teal);
    background: 
	    linear-gradient(to right, #2a9d8f 70%, transparent 100%), 
		var(--color-teal) url('../assets/images/about-bg.png') right center/400px 100% no-repeat;
    padding: 50px;
    border-radius: 0;
    color: var(--color-white);
	
}

.about-text p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
}

.about-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    opacity: 0.1;
    background: url('../assets/images/about-bg.png');
}

/* ==========================================
   CARDS DE CATEGORIAS
   ========================================== */
.categories-section {
    padding: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 300px;
}

.category-card {
    position: relative;
   padding: 40px 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    --justify-content: flex-end;
    --cursor: pointer;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.02);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 157, 143, 0.4);
    z-index: 1;
    transition: background 0.3s;
}

.category-card:hover .card-overlay {
    background: rgba(42, 157, 143, 0.2);
}

.card-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-content h3 {
    font-size: 30px;
    font-weight: 700;
    --margin-bottom: 15px;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    font-size: 28px;
    padding: 10px;
    --margin-bottom: 15px;
    transition: transform 0.3s;
}

.expand-btn:hover {
    transform: scale(1.2);
}

.card-list {
    list-style: none;
    font-size: 14px;
    line-height: 2;
	text-align: left;
	padding-top: 30px;

}

.card-list li::before {
    content: '• ';
    margin-right: 8px;
	text-align: left;
}

/* PLACEHOLDER: Adicione suas imagens aqui */
/* Cada card pode ter overlay de cor diferente */
.category-card.ambiental {
    background: url('../assets/images/ambiental-bg.jpg') center/cover;
    /* Se não tiver a imagem ainda, use o gradiente temporário abaixo */
    /* background: linear-gradient(135deg, #2a9d8f, #45b7a6); */
}

.category-card.ambiental .card-overlay {
    background: rgba(42, 157, 143, 0.5); /* Verde-água/Cyan */
}

.category-card.urbano {
    background: url('../assets/images/urbano-bg.jpg') center/cover;
    /* background: linear-gradient(135deg, #4a90e2, #6ba5e7); */
}

.category-card.urbano .card-overlay {
    background: rgba(42, 157, 143, 0.5); /* Verde-água/Cyan */
}

.category-card.agro {
    background: url('../assets/images/agro-bg.jpg') center/cover;
    /* background: linear-gradient(135deg, #7cb342, #8bc34a); */
}

.category-card.agro .card-overlay {
    background: rgba(42, 157, 143, 0.5); /* Verde-água/Cyan */
}

.category-card.mineracao {
    background: url('../assets/images/mineracao-bg.jpg') center/cover;
    /* background: linear-gradient(135deg, #2a9d8f, #1b7f75); */
}

.category-card.mineracao .card-overlay {
    background: rgba(42, 157, 143, 0.5); /* Verde-água/Cyan */
}

.category-card.emergencias {
    background: url('../assets/images/emergencias-bg.jpg') center/cover;
    /* background: linear-gradient(135deg, #e76f51, #f4a261); */
}

.category-card.emergencias .card-overlay {
    background: rgba(42, 157, 143, 0.5); /* Verde-água/Cyan */
}

/* ==========================================
   SEÇÃO ATUAMOS PARA
   ========================================== */
.values-section {
    padding: 80px 0;
    background: var(--color-light);
}

.section-title {
	font-family: 'Oswald', sans-serif;
    text-align: center;
    font-size: 60px;
    font-weight: 500;
    color: #228e81;
    margin-bottom: 60px;
    letter-spacing: normal;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.value-card {
    padding: 20px;
    color: var(--color-white);
    border-radius: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.value-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.value-card p {
    margin-bottom: 15px;
    font-size: 11px;
    line-height: 1.6;
}

.value-card ul {
    list-style: none;
    font-size: 11px;
}

.value-card ul li {
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
}

.value-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.card-orange {
    --background: linear-gradient(135deg, #e76f51, #f4a261);
	background-color: #ee7e0c;
	min-height: 480px;
}

.card-teal {
    --background: linear-gradient(135deg, #2a9d8f, #45b7a6);
	background-color: #2ea193;
}

.card-green {
    --background: linear-gradient(135deg, #7cb342, #8bc34a);
	background-color: #7eae36;
}

.card-orange-alt {
    background: linear-gradient(135deg, #ff8c42, #ffad5a);
}

.card-teal-dark {
    background: linear-gradient(135deg, #1b7f75, #2a9d8f);
}

/* ==========================================
   SEÇÃO ORTOFOTOS + LIDAR + SIG
   ========================================== */
.tech-section {
    position: relative;
    padding: 100px 0;
    background: url('../assets/images/tech-bg.jpg') center/cover;
    /* Se não tiver a imagem, use apenas o gradiente */
    -- background: linear-gradient(135deg, #2a9d8f, #1b7f75);
    color: var(--color-white);
}

.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.tech-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.tech-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.tech-list {
    list-style: none;
    font-size: 18px;
    margin-bottom: 40px;
}

.tech-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.tech-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 20px;
}

.btn-primary {
    background: var(--color-orange);
    color: var(--color-white);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: #d4593e;
    transform: scale(1.05);
}

/* ==========================================
   SEÇÃO PRODUTOS E SERVIÇOS
   ========================================== */
.services-section {
    padding: 80px 0;
    background: var(--color-white);
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 60px;
}

.service-image {
    height: 500px;
    overflow: hidden;
    border-radius: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* PLACEHOLDER: Se não tiver as imagens, adicione um background temporário */
    background: linear-gradient(135deg, #2a9d8f, #4a90e2);
}

.services-list {
    background: var(--color-light);
    padding: 40px;
    border-radius: 0;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background: var(--color-white);
    margin-bottom: 15px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
	text-decoration: none;
}

.service-item:hover {
    border-left-color: var(--color-teal);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 15px;
    font-weight: 300;
    color: var(--color-dark);
}

.service-expand {
    background: none;
    border: none;
    color: var(--color-teal);
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

.service-item:hover .service-expand {
    transform: translateX(5px);
}

/* ==========================================
   SEÇÃO ONDE JÁ ATUAMOS - SLIDER
   ========================================== */
.location-section {
    padding: 80px 0;
    background: var(--color-light);
}

.location-slider-wrapper {
    position: relative;
    max-width: 970px;  /* ← 970px de largura */
    margin: 0 auto;
}

/* Container do Slider */
.location-slider {
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.location-slider-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Cada Slide */
.location-slide {
    min-width: 100%;
    position: relative;
    height: 220px;
}

/* Imagem do Estado (Fundo) */
.location-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    --opacity: 0.5;
}

/* Informações (Título + Cidades) SOBRE A IMAGEM */
.location-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 100px;  /* Espaço para as setas laterais */
    z-index: 2;
    --background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.location-info h3 {
    font-size: 55px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    --text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1;
}

.location-cities {
    font-size: 18px;
    color: #90EE90;
    line-height: 1.5;
	weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    max-width: 750px;
}

/* Setas de Navegação - Apenas ícone branco */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;  /* Sem fundo */
    border: none;  /* Sem borda */
    color: white;  /* Seta branca */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;  /* Tamanho da seta */
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.slider-arrow:hover {
    transform: translateY(-50%) scale(1.2);  /* Aumenta ao passar o mouse */
    color: white;
    opacity: 0.8;
}

.slider-arrow:active {
    transform: translateY(-50%) scale(1);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-arrow-left {
    left: 20px;
}

.slider-arrow-right {
    right: 20px;
}

/* Sombra no ícone para destacar do fundo (opcional) */
.slider-arrow i {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}


/* Indicadores (bolinhas) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--color-teal);
    width: 30px;
    border-radius: 6px;
}

.slider-dot:hover {
    background: var(--color-teal);
    opacity: 0.7;
}

/* ==========================================
   RESPONSIVO
   ========================================== */
@media (max-width: 1024px) {
    .location-slider-wrapper {
        max-width: 90%;
    }
    
    .location-slide {
        height: 150px;
    }
    
    .location-info {
        padding: 20px 80px;
    }
    
    .location-info h3 {
        font-size: 36px;
    }
    
    .location-cities {
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .slider-arrow-left {
        left: 15px;
    }
    
    .slider-arrow-right {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .location-slide {
        height: 180px;
    }
    
    .location-info {
        padding: 15px 60px;
    }
    
    .location-info h3 {
        font-size: 30px;
        margin-bottom: 6px;
    }
    
    .location-cities {
        font-size: 13px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-arrow-left {
        left: 10px;
    }
    
    .slider-arrow-right {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .location-slide {
        height: 200px;
    }
    
    .location-info {
        padding: 15px 50px;
    }
    
    .location-info h3 {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
    .location-cities {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slider-arrow-left {
        left: 8px;
    }
    
    .slider-arrow-right {
        right: 8px;
    }
}




/* ==========================================
   SEÇÃO CONTATO
   ========================================== */
.contact-section {
    position: relative;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.contact-left {
    position: relative;
    background: url('../assets/images/contato-bg.jpg') center/cover;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    --justify-content: center;
    color: var(--color-white);
}

.contact-info h2 {
    font-size: 35px;
    font-weight: 600;
    --margin-bottom: 50px;
    letter-spacing: 5px;
	text-align: center;
}

.contact-item {
    --display: flex;
    align-items: flex-start;
    gap: 15px;
	margin-top: 30px;
    margin-bottom: 30px;
    font-size: 16px;
	color: white;
	text-align: center;
}

.contact-item i {
    font-size: 20px;
    margin-top: 3px;
}

.contact-item a {
    color: white;
	font-size: 18px;
    margin-top: 3px;
	font-weight: bold;
}



.contact-right {
    background: #228e81;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: none;
    background: var(--color-white);
    font-size: 15px;
    font-family: var(--font-main);
    transition: box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 25px;
}

.btn-submit {
    background: var(--color-white);
    color: var(--color-orange);
    border: none;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   FOOTER FULLWIDTH
   ========================================== */
.footer {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(to right, #2a9d8f 0%, #2a9d8f 50%, #e76f51 50%, #e76f51 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Lado Esquerdo (Verde) */
.footer-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #228e81;
}

.footer-logo {
    padding: 20px;
}

.logo-footer {
    height: 150px;
    width: auto;
}

/* Botão Seta (Centro) */
.scroll-to-top {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #2a9d8f;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-to-top:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f8f8;
}

.scroll-to-top:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Lado Direito (Laranja) */
.footer-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #ee7e0c;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Padrão decorativo no fundo laranja (opcional) */
.footer-right::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 15px, rgba(255, 255, 255, 0.05) 15px, rgba(255, 255, 255, 0.05) 16px),
        repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(255, 255, 255, 0.05) 15px, rgba(255, 255, 255, 0.05) 16px);
    pointer-events: none;
}

/* ==========================================
   RESPONSIVO
   ========================================== */
@media (max-width: 768px) {
    .footer {
        height: 150px;
        background: linear-gradient(to bottom, #2a9d8f 0%, #2a9d8f 50%, #e76f51 50%, #e76f51 100%);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-left,
    .footer-right {
        width: 100%;
        height: 50%;
    }
    
    .logo-footer {
        height: 50px;
    }
    
    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .footer {
        height: 120px;
    }
    
    .logo-footer {
        height: 40px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}


/* ==========================================
   RESPONSIVO
   ========================================== */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-layout {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 300px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-title {
        position: static;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .contact-left,
    .contact-right {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 10px;
    }
    
    .hero {
        height: 400px;
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .tech-title {
        font-size: 42px;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .contact-left,
    .contact-right {
        padding: 50px 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .about-title h2 {
        font-size: 32px;
    }
    
    .card-content h3 {
        font-size: 24px;
    }
    
    .value-card {
        padding: 30px;
    }
    
    .tech-title {
        font-size: 32px;
    }
    
    .contact-form {
        padding: 0;
    }
    
    .contact-left,
    .contact-right {
        padding: 40px 25px;
    }
    
    .contact-info h2 {
        font-size: 36px;
    }
}
