/* ===== CSS VARIABLES ===== */
:root {
    /* Colors from specifications */
    --primary-gold: #A47A29;
    --secondary-gold: #EDB74E;
    --primary-blue: #00254D;
    --secondary-blue: #0C92D3;
    
    /* Additional colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --off-white : #d9d9d9;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    
    /* Fonts */
    --font-chi-town: 'Chi-Town', cursive;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --card-padding: 30px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --hover-scale: 1.05;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-poppins);
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-montserrat);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.title-accent {
    color: var(--secondary-gold);
    font-family: var(--font-chi-town);
    font-weight: normal;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--secondary-gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(164, 122, 41, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(164, 122, 41, 0.4);
}

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

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--light-gray);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
    background-color: var(--light-gray); 
    transition: background-color 1s ease-in-out;
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo .logo {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5rem;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-family: var(--font-montserrat);
    font-weight: 400;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    color: var(--white);
    overflow: hidden;

    background-image: url('../assets/images/hero-poolimg.png'); 
    background-size: cover; 
    background-position: center center;
    background-attachment: fixed; 
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 37, 77, 0.8), rgba(12, 146, 211, 0.6));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding-left: 10%;
    margin-top: 100px;
    text-align: left;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-main {
    display: block;
    font-family: var(--font-montserrat);
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 1rem, 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.feature-icon {
    color: var(--secondary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content:flex-start;
    flex-wrap:wrap;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--section-padding);
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url('../assets/images/LogoLPVetor.png');
    background-repeat: no-repeat;
    background-position: right;
    background-size: 60%;
    opacity: 0.3;
    
    background-attachment:fixed; 
    z-index: 0; 
}




.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.services .section-title{
    color: var(--black);
}

.service-card {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: var(--card-padding);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: scale(var(--hover-scale));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.card-icon {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.icon-wrapper{
     display: inline-block;
    line-height: 0;
}

.icon-wrapper img {
    height: 40.6px;
    width: 40.6px;
}
.card-badge {
    background: var(--secondary-blue);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.card-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-features {
    list-style: none;
}

.card-features li {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}


.why-choose {
    padding: var(--section-padding);
    background: var(--primary-blue);
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png' );
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-image {
    position: relative;
}

.why-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.why-choose-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
    color: hsl(0, 0%, 100%);
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.why-feature .feature-icon {
    color: var(--secondary-gold);
    width: 50px;
    margin-top: 0.2rem;
}

.feature-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--white);
    line-height: 1.6;
}

/* ================================================== */
/*               TESTIMONIALS SECTION                 */
/* ================================================== */

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

.testimonials .section-title {
    color: var(--black);
}

.testimonials .section-subtitle {
    color: var(--medium-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid var(--secondary-gold);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-rating {
    font-size: 1.2rem;
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-family: var(--font-poppins);
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1; 
}

.testimonial-author {
    text-align: right;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

.author-name {
    display: block;
    font-family: var(--font-montserrat);
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.author-location {
    display: block;
    font-size: 0.9rem;
    color: var(--medium-gray);
}


/* ===== SERVICE AREAS SECTION ===== */
.service-areas {
    padding: var(--section-padding);
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}
.service-areas::before {
    content: '';
    position: absolute;
    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url('../assets/images/lps_bg_areas_section.png');
    background-repeat: no-repeat;
    background-position:center center;
    background-size: 60%;
    opacity: 0.5;
    
    background-attachment:fixed; 
    z-index: 0; 
}


.service-areas .container {
    position: relative;
    z-index: 1;
}
.container .section-subtitle{
    color: var(--black);
}
.service-areas .container .section-title{
    color: var(--black);
}
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Estilo principal do card */
.area-item {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 15px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); 
    transition: var(--transition);
    text-align: left; 
    display: flex;
    flex-direction: column;
    gap: 1rem; 
}

.area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Header do card (ícone + título) */
.area-header {
    display: flex;
    align-items: center;
    gap: 0.5rem; /
}

.area-icon {
    font-size: 1.2rem; 
    color: var(--secondary-blue); 
}

.area-header h3 {
    color: var(--black);
    font-size: 1rem;
    font-weight: 700; 
    margin: 0; 
}


.area-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; 
}

.detail-item {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    font-size: 0.9rem;
}

.detail-label {
    color: var(--black);
}

.detail-value {
    color: var(--secondary-blue);
    font-size: 75%;
    font-weight: 500; 
}


/* ===== STATS & CONTACT SECTION ===== */


.stats-contact {
    padding: var(--section-padding);
    background: var(--light-gray); 
}
.stats-content {
    background-color: var(--primary-blue); 
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png' );
    color: var(--white);
    padding: 3rem; 
    border-radius: 20px; 
    text-align: left; 
    max-width: 900px; 
    margin: 0 auto; 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stats-title {
    font-size: 2.2rem; 
    font-weight: 700;
    margin-bottom: 1rem;
}


.stats-subtitle {
    font-size: 1rem;
    opacity: 0.8; 
    max-width: 100%; 
    margin: 0 0 3rem 0; 
    line-height: 1.7;
    font-weight: 300;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.stat-item {
    text-align: left; 
}


.stat-number {
    font-size: 3rem;
    font-weight: 700; 
    color: var(--white); 
    margin-bottom: 0.5rem;
}

/* 7. Rótulos da Estatística */
.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* 8. Botões */
.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start; 
    flex-wrap: wrap;
}


.stats-contact .btn-primary {
    background: var(--secondary-gold); 
    color: var(--primary-blue); 
    border: none;
}
.btn-large{
    max-height: 50px;
    height: 90%;
}
.stats-contact .btn-secondary {
    background: var(--white); 
    color: var(--primary-blue); 
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-blue);
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png' );
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    height: 70px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 300;
    font-size: small;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 30%;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-2px);
}

.footer-title {
    color: var(--secondary-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    font-weight: 300;
    font-size: small;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-info p {
    color:var(--white);
    margin-bottom: 0.5rem;
    font-weight: 300;
    font-size: small;
}
.detail-info{
    font-weight: 200;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}


/*===== Modal =====*/

/* ===== CORREÇÃO PARA O MODAL ===== */

.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999 !important;
    
    /* ESTAS SÃO AS LINHAS MAIS IMPORTANTES */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    
    transition: all 0.3s ease !important;
}

.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.modal-container {
    background: var(--white) !important;
    border-radius: 20px !important;
    max-width: 600px !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2) !important;
    transform: scale(0.9) translateY(20px) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0) !important;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background-color: var(--light-gray);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }
    .nav-cta a {
        padding: 0.6rem 1rem;  
        font-size: 0.6rem;     
        max-width: 150px;      
        width: auto;           

    .hamburger.active .bar:nth-child(2) {
        opacity: 2;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
    .hero{
        margin-bottom: 10px;
    }
    .hero-title{
        margin-bottom: 10px;
    }
    .hero-subtitle{
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .hero-features {
        display: grid;
        grid-template-columns:repeat(2, 1fr);
        gap: 1rem, 2rem;
        text-align: left;
        margin-top: 20px;
        margin-bottom: 20px;
    }
       .feature-item {
        font-size: 0.9rem; 
        gap: 0.3rem;       
        align-items: flex-start; 
    }

    .feature-icon {
        font-size: 1rem; 
    }
}
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .why-choose-text .why-feature .feature-content p{
        font-weight: 200;
    }

    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

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

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-large{
        max-height: 35px;
        max-width: 145px;
        font-size: 0.7;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .service-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 0.7rem;
        text-align: center;
    }
}

@media (max-width: 680px){
    .hero-subtitle{
        font-size: 1rem;
    }
    .hero-cta a{
        width: 8rem;
        font-size: 0.5rem;
    }
}


/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .hero-cta,
    .contact-buttons {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 18pt;
    }
}

