/*
Theme Name: Planus Engenharia
Theme URI: https://www.planus.eng.br
Author: Komunica Mais
Description: Tema WordPress para a LP da Planus Engenharia
Version: 1.0
*/
:root {
    --primary-black: #0f0f0f;
    --secondary-black: #1a1a1a;
    --tertiary-black: #2a2a2a;
    --gold: #c9a96e;
    --gold-hover: #b8941f;
    --gold-light: #f5f1e8;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --text-gray: #6c757d;
    --shadow-gray: #bbbbbb;
    --border-light: #dee2e6;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--primary-black);
    font-weight: 400;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.navbar-brand {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-black) !important;
    letter-spacing: -0.5px;
}

.navbar-brand .gold-text {
    color: var(--gold);
}

.navbar-nav li a {
    color: var(--primary-black) !important;
    font-weight: 500;
    margin: 0 0.8rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-decoration: none;
}

.navbar-nav li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav li a:hover::after {
    width: 100%;
}

.navbar-nav li a:hover {
    color: var(--gold) !important;
    text-decoration: none;
}

.navbar-nav-social {
    margin-top: -5px;
}

.navbar-nav-social li a i {
    font-size: 22px;
}

.navbar .navbar-brand img {
    transition: all ease-in-out 0.3s;
    max-width: 250px;
}

.navbar.fixed-top .navbar-brand img {
    transition: all ease-in-out 0.3s;
    max-width: 215px;
}

/* Clean Button Styles */
.btn-primary-clean {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.25);
}

.btn-primary-clean:hover {
    background: var(--gold-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.35);
}

.btn-whatsapp-clean {
    background: #25d366;
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-clean:hover {
    background: #128c7e;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-outline-clean {
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--gold);
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-outline-clean:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::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 200 200"><defs><pattern id="engineering-grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/><circle cx="20" cy="20" r="1" fill="%23c9a96e" opacity="0.15"/></pattern></defs><rect width="200" height="200" fill="url(%23engineering-grid)"/></svg>'); */
    background-attachment: fixed;
    background-color: #000000;
    background-image: url('assets/img/capa.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.25;
    -wekit-opacity: 0.25;
    -moz-opacity: 0.25;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/><circle cx="50" cy="50" r="30" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/><circle cx="50" cy="50" r="15" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/><line x1="5" y1="50" x2="95" y2="50" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/><line x1="50" y1="5" x2="50" y2="95" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/></svg>');
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
}

.hero .gold-text {
    color: var(--gold);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 500;
}

/* Form Styles */
.hero-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-control {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--primary-black);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.15);
    color: var(--primary-black);
}

.form-control::placeholder {
    color: var(--text-gray);
    font-weight: 300;
}

.form-label {
    color: var(--primary-black);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--primary-black);
    position: relative;
}

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

.section-title.text-start::after {
    left: 30px;
}

.section-title .gold-text {
    color: var(--gold);
}

/* About Section */
.about {
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.about::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="blueprint" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 0 0 L 20 0 L 20 20 L 0 20 Z" fill="none" stroke="%23c9a96e" stroke-width="0.2" opacity="0.05"/><circle cx="10" cy="10" r="0.5" fill="%23c9a96e" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23blueprint)"/></svg>');
}

.about::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,30 90,70 50,90 10,70 10,30" fill="none" stroke="%23c9a96e" stroke-width="1" opacity="0.1"/><polygon points="50,25 75,35 75,65 50,75 25,65 25,35" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/></svg>');
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    font-weight: 300;
}

.about-text strong {
    color: var(--primary-black);
    font-weight: 600;
}

/* About Swiper Styles */
.about-swiper-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.about-swiper {
    height: 400px;
}

.about-swiper .swiper-slide {
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);    
}

.about-swiper .swiper-slide img {
    height: 100%;
    object-fit: cover;
    opacity: 1;
    position: absolute;
    transition: all ease-in-out 0.3s;
    width: 100%;
}

.about-slide-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    position: absolute;
    border: 1px solid rgba(201, 169, 110, 0.2);
    width: 100%;
}

.about-slide-icon {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.about-slide-card h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-shadow: 0 0 30px #000000;
    transition: all ease-in-out 0.3s;
}

.about-slide-card p {
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.6;
}

.about-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--gold);
    opacity: 0.3;
}

.about-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

.about-swiper .swiper-slide:hover img {
    opacity: 0.1;
    transition: all ease-in-out 0.3s;
}

.about-swiper .swiper-slide:hover .about-slide-card h4 {
    color: var(--primary-black);
    text-shadow: none;
    transition: all ease-in-out 0.3s;
}

/* Services */
.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-light);
    min-height: 380px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--gold);
}

.service-icon img {
    max-width: 70%;
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.6;
}

#owl-carousel-services .owl-item {
    padding: 15px 0 30px;
}

/* Stats */
.stats {
    background: var(--primary-black);
    color: var(--white);
    position: relative;
    overflow: hidden;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="engineering-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="20" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/><line x1="5" y1="25" x2="45" y2="25" stroke="%23c9a96e" stroke-width="0.3" opacity="0.1"/><line x1="25" y1="5" x2="25" y2="45" stroke="%23c9a96e" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23engineering-pattern)"/></svg>'),
        linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
}

.stats::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 200 200"><g transform="translate(100,100)"><circle r="80" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/><circle r="60" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/><circle r="40" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/><circle r="20" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.1"/></g></svg>');
    animation: rotate 30s linear infinite;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Comfortaa', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Portfolio Grid */
.portfolio-slide {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    /* height: 320px; */
    border: 1px solid var(--border-light);
}

.portfolio-image {
    /* height: 220px; */
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.portfolio-image .image {
    border-radius: 16px 16px 0 0;
    height: auto;
    transition: all ease-in-out 0.3s;
    width: 100%;
}

.portfolio-image i {
    color: var(--gold-hover);
    opacity: 0;
    position: absolute;
    transition: all ease-in-out 0.3s;
}

.portfolio-content {
    padding: 1.5rem;
    text-align: center;
}

.portfolio-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
}

.portfolio-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.portfolio-slide:hover .portfolio-image .image {
    opacity: 0.1;
}

.portfolio-slide:hover .portfolio-image i {
    opacity: 1;
}

#owl-carousel-portfolio .owl-item {
    padding: 15px 0 30px;
}


/* Testimonials Section */
#testimonials {
    background: var(--light-gray);
}

/* Clean CTA Section */
.cta-section {
    background: var(--white);
    /* border-top: 1px solid var(--border-light); */
    /* border-bottom: 1px solid var(--border-light); */
}

.cta-card {
    background: linear-gradient(135deg, var(--gold-light) 0%, rgba(201, 169, 110, 0.1) 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Clean Footer */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    border-bottom: 1px solid var(--tertiary-black);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer .footer-logo {
    max-width: 210px;
}

.footer h5 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer p, .footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    font-size: 0.9rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    animation: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 100;
    }

    .navbar .navbar-brand img {
        max-width: 200px;
    }

    .navbar.fixed-top .navbar-brand img {
        max-width: 180px;
    }

    .offcanvas {
        min-height: 100vh;
    }

    .offcanvas .navbar-nav-social {
        clear: both;
        flex-direction: row;
        margin-top: 35px;
    }
    
    .hero {
        margin-top: 82px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1.3rem;
        letter-spacing: 0.3px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-form {
        margin-top: 3rem;
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-card {
        padding: 3rem 2rem;
    }
    
    .cta-card h2 {
        font-size: 2rem;
    }
}

/* Swiper Custom Styles */
.swiper-pagination-bullet {
    background: var(--gold);
    opacity: 0.4;
    width: 12px;
    height: 12px;
    margin: 0 6px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 576px) {
    .hero::before {
        background-attachment: scroll !important;
    }

    .footer-content *, .footer-bottom * {
        justify-items: center;
        text-align: center;
    }
}

.owl-theme .owl-nav {
    position: absolute;
    top: calc(50% - 50px);
    width: 100%;
}

.owl-theme .owl-nav .owl-prev {
    float: left;
    left: -21px;
}

.owl-theme .owl-nav .owl-next {
    float: right;
    right: -21px;
}

.owl-theme .owl-nav [class*="owl-"] {
    background: var(--gold) !important;
    border-radius: 50% !important;
    color: var(--medium-gray) !important;
    height: 45px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    text-align: center !important;
    transition: all ease-in-out 0.3s;
    width: 45px !important;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
    background-color: var(--gold-hover) !important;
    box-shadow: 0 0 30px var(--shadow-gray) !important;
    color: var(--white) !important;
    transition: all ease-in-out 0.3s !important;
}

.owl-theme .owl-nav button span {
    font-size: 40px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.owl-theme .owl-dots .owl-dot span {
	width: 12px;
	height: 12px;
	background: var(--gold);
	opacity: 0.3;
}

.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--gold);
	opacity: 1;
    transform: scale(1.2);
}