/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #8BC34A;
    --secondary-orange: #FF5722;
    --accent-yellow: #FFC107;
    --accent-red: #F44336;
    --accent-purple: #9C27B0;
    --dark-green: #689F38;
    --light-green: #CDDC39;
    --text-dark: #2E2E2E;
    --text-light: #555555;
    --background-light: #F8FFF8;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Melhorar a transição entre seções */
section {
    scroll-margin-top: 100px;
}

/* Indicador de rolagem suave */
.scrolling {
    pointer-events: none;
}

.scrolling * {
    transition: none !important;
}

/* Melhorar nitidez das imagens */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    filter: none;
    -webkit-filter: none;
}

/* Configurações específicas para imagens de alta qualidade */
.hero-image img,
.section-image img,
.about-image img,
.contact-image img,
.gallery-item img {
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}
.gallery-item img {
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografia */
h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

h2 {
    font-size: 2rem;
    color: var(--primary-green);
}

h3 {
    font-size: 1.5rem;
    color: var(--dark-green);
}

h4 {
    font-size: 1.2rem;
    color: var(--dark-green);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-orange);
    border: 2px solid var(--secondary-orange);
}

.btn-secondary:hover {
    background: var(--secondary-orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.3);
}

/* Cabeçalho */
.header {
    background: linear-gradient(135deg, var(--white) 0%, var(--background-light) 100%);
    box-shadow: 0 2px 20px rgba(139, 195, 74, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary-green);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
    transform: translateY(-1px);
}

.logo h2 {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    margin-left: -2px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 700;
}

.logo:hover .logo-image,
.logo-link:hover .logo-image {
    transform: scale(1.1) translateY(-1px);
}

.logo:hover h2,
.logo-link:hover h2 {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-menu a:hover {
    color: var(--primary-green);
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.1), rgba(255, 193, 7, 0.1));
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-yellow));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Seção Hero */
.hero {
    background: rgba(255, 255, 255, 0.8);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background .hero-image {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    opacity: 0.3;
}



.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: none;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--text-dark);
    text-shadow: none;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}



/* Seções gerais */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Seção de Serviços */
.services {
    background: linear-gradient(135deg, var(--white) 0%, var(--background-light) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(139, 195, 74, 0.05) 50%, transparent 51%);
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 195, 74, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 40px rgba(139, 195, 74, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-green);
}

/* Seções Residencial e Empresarial */
.residential, .business {
    padding: 80px 0;
    position: relative;
}

.residential {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 193, 7, 0.05) 100%);
}

.business {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.05) 0%, var(--white) 100%);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-image-center {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.about-image-center img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
    background: transparent;
}

.about-image-center img:hover {
    transform: scale(1.05);
    box-shadow: none;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(139, 195, 74, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(139, 195, 74, 0.2);
    transform: translateX(5px);
}

.benefit-item i {
    color: var(--secondary-orange);
    font-size: 1.2rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(139, 195, 74, 0.1);
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(139, 195, 74, 0.15);
}

.service-item i {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--accent-yellow), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

/* Seção Sobre */
.about {
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(156, 39, 176, 0.05) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(139, 195, 74, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.1);
    border-top: 4px solid var(--primary-green);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-yellow), var(--secondary-orange));
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 195, 74, 0.2);
}

.value-item h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Seção Diferenciais */
.differentials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white) 0%, rgba(244, 67, 54, 0.05) 50%, var(--background-light) 100%);
    position: relative;
}

.differentials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="0.5" fill="%238BC34A" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.differentials .container {
    position: relative;
    z-index: 1;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.differential-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.differential-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--secondary-orange), var(--accent-yellow));
}

.differential-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 40px rgba(139, 195, 74, 0.2);
}

.differential-item i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-orange), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.differential-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-size: 1.3rem;
}

/* Seção Contato */
.contact {
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(139, 195, 74, 0.1) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Primeira linha: 3 cards */
.contact-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.contact-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.contact-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

/* Segunda linha: 2 cards centralizados */
.contact-item:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 2;
    justify-self: end;
    margin-right: 1rem;
}

.contact-item:nth-child(5) {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: start;
    margin-left: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.15);
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
    width: 100%;
    min-height: 80px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 195, 74, 0.25);
    border-left-width: 6px;
}

.contact-item i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-image img,
.section-image img,
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(139, 195, 74, 0.2);
    border: 3px solid var(--primary-green);
}

/* Botão WhatsApp Fixo */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    }
}

/* Rodapé */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-yellow), var(--secondary-orange), var(--accent-red), var(--accent-purple));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #ecf0f1;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-section ul li a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-yellow));
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--secondary-orange), var(--accent-red));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #ffffff;
    font-weight: 400;
    margin-top: 1rem;
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.copyright {
    font-size: 1rem;
    margin: 0;
    color: #ffffff;
}

.copyright-highlight {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.developer-credit {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.developer-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.developer-link:hover {
    color: var(--accent-yellow);
    background: rgba(139, 195, 74, 0.15);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(139, 195, 74, 0.5);
    box-shadow: 0 2px 8px rgba(139, 195, 74, 0.2);
}

.developer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-yellow));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.developer-link:hover::after {
    width: 90%;
}
/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header mobile */
    .hamburger {
        display: flex;
    }

    .logo {
        gap: 0;
    }

    .logo-image {
        width: 32px;
        height: 32px;
    }

    .logo h2 {
        font-size: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu a {
        padding: 12px 20px;
        display: block;
        border-radius: 8px;
    }

    .nav-menu a:hover {
        transform: translateX(5px);
        background-color: rgba(52, 152, 219, 0.15);
    }

    .nav-menu a::after {
        display: none;
    }

    /* Hero mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        margin-top: 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        font-size: 0.9rem;
        text-align: center;
    }

    /* Seções mobile */
    section {
        padding: 60px 0;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        display: block;
        max-width: 100%;
        text-align: center;
    }

    .about-image-center {
        margin-top: 2rem;
    }

    .about-image-center img {
        max-width: 300px;
        border-radius: 0;
        border: none;
    }

    .about-image-center img:hover {
        transform: scale(1.03);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .values {
        grid-template-columns: 1fr;
    }

    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-content {
        max-width: 100%;
        padding: 0 1rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
        max-width: 100%;
    }

    /* Reset grid positioning for mobile */
    .contact-item:nth-child(4),
    .contact-item:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
        justify-self: stretch;
        margin: 0;
    }

    .contact-item {
        padding: 1.2rem;
        border-radius: 12px;
        min-height: 70px;
    }

    .contact-item:hover {
        transform: translateY(-3px);
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section ul li a:hover {
        padding-left: 0;
        color: #3498db;
    }

    .footer-bottom-content {
        gap: 1rem;
    }

    .copyright {
        font-size: 0.9rem;
    }

    .developer-credit {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }

    .developer-link {
        padding: 6px 10px;
    }

    /* Tipografia mobile */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 12px 16px;
        max-width: 260px;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .service-card,
    .differential-item {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .service-item {
        padding: 1rem;
    }

    .service-item i {
        font-size: 1.5rem;
    }

    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-background .hero-image {
        max-width: 90%;
        max-height: 90%;
    }
}

/* Dispositivos muito pequenos */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .hero-buttons .btn {
        font-size: 0.8rem;
        padding: 10px 14px;
        max-width: 240px;
    }

    .container {
        padding: 0 10px;
    }

    .logo h2 {
        font-size: 1.4rem;
    }

    .logo-image {
        width: 28px;
        height: 28px;
    }

    .hero-background .hero-image {
        max-width: 95%;
        max-height: 95%;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.differential-item,
.value-item,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Estados de hover melhorados */
.service-card:hover,
.differential-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-item:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Melhorias de acessibilidade */
.btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Scroll suave para navegação */
html {
    scroll-padding-top: 80px;
}

/* Loading states */
.contact-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .whatsapp-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        padding: 20px 0;
        min-height: auto;
        background: none;
    }
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}
/* Estilos adicionais para menu ativo */
.nav-menu a.active {
    color: var(--primary-green);
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.15), rgba(255, 193, 7, 0.1));
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 80%;
}

/* Animação do hamburger */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Melhorias de performance */
.hero-image img,
.service-card,
.differential-item,
.section-image img,
.about-image img,
.contact-image img {
    will-change: transform;
}

/* Estados de foco melhorados */
.hamburger:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Otimizações para telas de alta densidade */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-icon,
    .differential-item i,
    .contact-item i {
        transform: translateZ(0);
    }
}

/* Dark mode support (opcional) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #ffffff;
        --card-bg: #2d2d2d;
    }
    
    /* Aplicar apenas se o usuário preferir dark mode */
    /* body {
        background-color: var(--bg-color);
        color: var(--text-color);
    } */
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
    }
    
    .service-card,
    .differential-item {
        border: 1px solid #000;
    }
}
/* Galeria de Trabalhos */
.gallery {
    padding: 80px 0;
    background-color: var(--background-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 195, 74, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.2);
}

/* Responsividade da galeria */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item img {
        height: 180px;
    }
}
/* Modal da Galeria */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-green);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    background: rgba(139, 195, 74, 0.8);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    pointer-events: all;
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--primary-green);
}

.modal-prev {
    margin-left: -60px;
}

.modal-next {
    margin-right: -60px;
}

/* Responsividade do modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .modal-close {
        top: -30px;
        font-size: 28px;
    }
    
    .modal-prev,
    .modal-next {
        padding: 10px 15px;
        font-size: 16px;
    }
    
    .modal-prev {
        margin-left: -50px;
    }
    
    .modal-next {
        margin-right: -50px;
    }
}

@media (max-width: 480px) {
    .modal-prev {
        margin-left: -40px;
    }
    
    .modal-next {
        margin-right: -40px;
    }
    
    .modal-prev,
    .modal-next {
        padding: 8px 12px;
        font-size: 14px;
    }
}
/* Melhorias para dispositivos touch */
.btn, .nav-menu a, .hamburger, .whatsapp-float {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

/* Melhorar área de toque para links */
.contact-item a, .footer-section a {
    padding: 8px;
    margin: -8px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Otimizações para performance em mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

.hero-background, .hero-content {
    will-change: transform;
    transform: translateZ(0);
}

/* Melhorar scroll em dispositivos iOS */
body {
    -webkit-overflow-scrolling: touch;
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 70vh;
        padding: 80px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        margin-top: 1rem;
    }
}

/* Dispositivos com tela muito alta */
@media (min-height: 800px) and (max-width: 480px) {
    .hero {
        min-height: 90vh;
    }
}
/* Remover barra de endereço em dispositivos móveis */
@media (max-width: 768px) {
    html {
        height: 100%;
        height: 100vh;
        height: -webkit-fill-available;
    }
    
    body {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        min-height: calc(var(--vh, 1vh) * 100);
    }
    
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        min-height: calc(var(--vh, 1vh) * 100);
    }
}

/* Forçar fullscreen em PWA */
@media (display-mode: standalone) {
    html, body {
        height: 100vh;
        overflow-x: hidden;
    }
}

/* Ocultar barra de endereço no Safari iOS */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}
/* Ocultar barra de navegação inferior do navegador */
@media (max-width: 768px) {
    /* Forçar modo fullscreen */
    html {
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
        position: relative;
    }
    
    /* Ocultar barras do navegador */
    .hero {
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height */
        min-height: 100vh;
        min-height: 100dvh;
        position: relative;
    }
}

/* Específico para Chrome Android */
@media screen and (max-width: 768px) {
    html {
        height: -webkit-fill-available;
    }
    
    body {
        min-height: -webkit-fill-available;
    }
}

/* Meta tag para ocultar barras do navegador */
@media (display-mode: browser) {
    .hero {
        padding-bottom: env(keyboard-inset-height, 0px);
        margin-bottom: env(keyboard-inset-height, 0px);
    }
}
/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 100px; /* Posicionado abaixo do WhatsApp */
    right: 30px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(139, 195, 74, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 195, 74, 0.6);
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 90px;
        right: 20px;
        font-size: 18px;
    }
}
/* Símbolo CHF circular personalizado */
.benefit-item .chf-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--secondary-orange);
    border-radius: 50%;
    background: white;
    color: var(--secondary-orange);
    font-size: 10px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    letter-spacing: -0.5px;
    margin-right: 8px;
    box-shadow: 0 2px 4px rgba(255, 87, 34, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover .chf-symbol {
    background: var(--secondary-orange);
    color: white;
    transform: scale(1.1);
}
/* Remover sublinhado dos links de contato */
.contact-item a {
    text-decoration: none !important;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-green);
    text-decoration: none !important;
}