@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-h: 215;
    --primary-s: 60%;
    --primary-l: 25%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-light: hsl(var(--primary-h), var(--primary-s), 40%);
    --primary-dark: hsl(var(--primary-h), var(--primary-s), 15%);

    --accent-h: 38;
    --accent-s: 90%;
    --accent-l: 55%;
    --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
    --accent-hover: hsl(var(--accent-h), var(--accent-s), 45%);

    --text-main: #1a1c20;
    --text-muted: #5e6675;
    --white: #ffffff;
    --bg-light: #ffffff;
    --bg-soft: #f1f5f9;
    --bg-dark: #0f172a;

    /* Spacing */
    --section-padding: 80px 20px;
    --section-padding-mobile: 60px 20px;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    /* Glassmorphism Refined */
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    /* Transition */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

section {
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--primary-h), var(--primary-s), var(--primary-l), 0.2);
}

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

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    background: #ffffff !important;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e2e8f0;
}

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

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.8));
    /* Melhor visibilidade no topo transparente */
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 40px;
    filter: none;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul a {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Header Navigation Mobile */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        text-align: center;
    }

    .nav-desktop.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    header .btn-accent {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/elementos visuais/pattern.png');
    /* Se houver algum pattern, ou apenas gradiente */
    opacity: 0.03;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-dark);
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 50px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item i {
    color: var(--accent);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    background: #000;
    /* Evita transparências na imagem */
}

.badge-hero {
    width: 100px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    animation: float 4s ease-in-out infinite;
    display: block;
}

@media (max-width: 992px) {
    .badge-hero {
        margin: 0 auto 20px;
        width: 80px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card .btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Specialty Section (Pisos Industriais) */
.specialty {
    padding: var(--section-padding);
    background: var(--bg-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.specialty::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-h), var(--accent-s), var(--accent-l), 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.specialty .section-title h2 {
    color: var(--white);
}

.specialty-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.specialty-list li {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 500;
}

.specialty-list li i {
    color: var(--accent);
}

/* Specialty Carousel */
.specialty-carousel {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Para não cortar informações como solicitado */
    background: #000;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 5px;
}

/* Projects Section */
.projects {
    padding: var(--section-padding);
    background: var(--bg-soft);
    /* Fundo cinza claro para destacar da seção anterior */
    position: relative;
    z-index: 5;
}

.projects .section-title h2 {
    color: var(--primary-dark);
}

.projects .section-title p {
    color: var(--text-muted);
}

.projects-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.projects-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    gap: 30px;
}

.project-slide {
    flex: 0 0 calc(33.333% - 20px);
    /* Usando flex-basis para maior estabilidade */
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
    .project-slide {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .project-slide {
        flex: 0 0 100%;
    }
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    color: var(--white);
    text-align: left;
}

.project-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--accent);
    /* Cor de destaque no título do projeto */
}

.project-overlay p {
    font-size: 1rem;
    opacity: 1;
    color: var(--white);
    font-weight: 500;
}

.projects-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

/* Instagram Section */
.instagram {
    padding: var(--section-padding);
    background: var(--white);
    /* Fundo branco para alternar com o cinza anterior */
    text-align: center;
    position: relative;
    z-index: 5;
}

.insta-feed {
    margin-top: 30px;
    min-height: 350px;
    background: #f8fafc;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cbd5e1;
}

/* Service Area */
.service-area {
    padding: var(--section-padding);
    background: var(--bg-soft);
    text-align: center;
    position: relative;
    z-index: 5;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.area-tag {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    z-index: 5;
}

.about-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

/* CTA Final & Contact Form */
.cta-final {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
    color: var(--white);
    position: relative;
    z-index: 5;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    color: var(--text-main);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
}

/* Footer */
footer {
    padding: 80px 20px 40px;
    background: var(--bg-light);
    border-top: 1px solid #e2e8f0;
}

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

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    color: white;
    font-size: 30px;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 35px;
    }

    .hero-stats {
        justify-content: center;
    }

    .specialty-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .specialty-images {
        height: auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .nav-desktop {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .specialty-images {
        grid-template-columns: 1fr;
    }

    .spec-img:nth-child(1) {
        grid-row: auto;
        height: 250px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .stat-item {
        width: 100%;
        justify-content: center;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
/* Remove Elfsight Branding */
a[href*="elfsight.com"][target="_blank"] { display: none !important; }

