/* --- Global Styles --- */
:root {
    --color-white: #FFFFFF;
    
    /* CORES AQUA PROFISSIONAL */
    --color-primary-aqua: #00A896; /* Cor Principal (CTA, Preços, Destaques) */
    --color-dark-aqua: #008E7B; /* Cor Hover e Títulos Escuros */
    
    /* NOVA COR ESCURA HARMONIZADA (Verde Petróleo Escuro para o Header) */
    --color-header-dark: #004D40; 
    
    --color-text-dark: #333333; /* Professional Black Text */
    
    /* FUNDOS CLAROS HARMONIZADOS (Com leve toque Aqua/Ciano) */
    --color-gradient-start: #FFFFFF; 
    --color-gradient-end: #F2FAFA; /* Fundo do BODY (Branco com toque ciano/aqua - muito sutil) */
    --color-section-bg: #EAF7F8; /* Fundo de Seção (Com mais contraste Aqua) */
    
    --font-primary: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text-dark);
    
    /* APLICAÇÃO DO DEGRADÊ SUAVE (fundo do site) */
    background: linear-gradient(to bottom, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    background-attachment: fixed; /* Mantém o degradê fixo ao rolar */
}

/* --- Header & Navigation --- */
header {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    padding: 20px 5%;
    background-color: var(--color-header-dark); 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
}

header nav {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: var(--color-white); 
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:first-child {
    margin-left: 0;
}

nav a:hover {
    color: var(--color-primary-aqua);
}

/* Botões da Navegação (Services e Call & Quote) */
.nav-contact,
.nav-services {
    background-color: var(--color-primary-aqua);
    color: var(--color-white) !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.nav-contact:hover,
.nav-services:hover {
    background-color: var(--color-dark-aqua);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)), 
                url('placeholder-image.jpg') center/cover no-repeat;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Cor do Título Principal */
.hero h1 {
    font-size: 3.5em;
    color: var(--color-dark-aqua); 
    margin-bottom: 10px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3em;
    color: var(--color-text-dark);
    margin-bottom: 30px;
}

/* Botão CTA Principal */
.cta-button {
    display: inline-block;
    background-color: var(--color-primary-aqua);
    color: var(--color-white);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px; 
    font-size: 1.2em;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: var(--color-dark-aqua);
    transform: translateY(-3px);
}

/* --- General Section Placeholder Style (caso você use outras seções) --- */
.section-placeholder {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--color-white); 
}

/* Cor dos Títulos Secundários */
.section-placeholder h2 {
    font-size: 2.5em;
    color: var(--color-dark-aqua);
    margin-bottom: 40px;
    font-weight: 700;
}

/* --- SERVICES SECTION STYLES --- */

.services-section {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--color-section-bg); 
}

/* Cor dos Títulos da Seção de Serviços */
.services-section h2 {
    font-size: 2.5em;
    color: var(--color-dark-aqua);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); 
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--color-primary-aqua); 
}

.service-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Cor dos Títulos dos Cartões */
.card-title {
    font-size: 1.5em;
    color: var(--color-dark-aqua);
    margin-bottom: 5px;
    font-weight: 600;
}

/* Cor dos Preços */
.card-price {
    font-size: 1.2em;
    color: var(--color-primary-aqua);
    font-weight: 700;
    margin-bottom: 15px;
}

.card-description {
    color: var(--color-text-dark);
    font-size: 1em;
}

/* --- CONTACT FORM STYLES --- */

.contact-section {
    padding: 60px 5%;
    background-color: var(--color-section-bg); 
    text-align: center;
}

#contact-form {
    max-width: 600px;
    margin: 20px auto;
    background: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#contact-form input[type="text"], 
#contact-form input[type="email"], 
#contact-form textarea,
#contact-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
}

/* COR PRIMÁRIA: AQUA PROFISSIONAL */
#contact-form button {
    background-color: var(--color-primary-aqua); 
    color: var(--color-white);
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: var(--color-dark-aqua); 
}

#form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    display: block; 
}

.hidden {
    display: none !important;
}

/* Cor de sucesso */
.success {
    background-color: #d4edda; 
    color: #155724;
}

/* Cor de erro */
.error {
    background-color: #f8d7da; 
    color: #721c24;
}

/* --- Footer --- */
footer {
    padding: 20px;
    text-align: center;
    background-color: var(--color-text-dark); 
    color: var(--color-white);
    font-size: 0.9em;
}

/* --- LOGO STYLING --- */

.logo-img {
    width: 450px; 
    height: auto; 
    display: block;
}

.logo-link {
    display: block;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    z-index: 1000; 
    background-color: #25D366; 
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 50px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
}

.whatsapp-float:hover {
    background-color: #128C7E; 
    transform: scale(1.05); 
}

.whatsapp-icon {
    margin-left: 5px; 
}

.whatsapp-float::before {
    content: "💬";
    font-size: 1.4em;
    line-height: 1;
    margin-right: 5px;
}

/* ============================= */
/*       RESPONSIVIDADE          */
/* ============================= */

/* --- Tablet (até 1024px) --- */
@media (max-width: 1024px) {
    .logo-img {
        width: 320px;
    }

    .hero {
        height: auto;
        padding: 60px 6%;
    }

    .hero h1 {
        font-size: 2.6em;
    }

    .hero p {
        font-size: 1.15em;
    }

    .services-section,
    .section-placeholder,
    .contact-section {
        padding: 60px 6%;
    }

    .service-card {
        padding: 25px;
    }
}

/* --- Mobile (até 768px) --- */
@media (max-width: 768px) {
    header {
        padding: 15px 4%;
    }

    header nav {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    nav a {
        margin: 6px 0;
    }

    .nav-contact,
    .nav-services {
        margin-top: 4px;
    }

    .logo-img {
        width: 260px;
    }

    .hero {
        height: auto;
        padding: 50px 6%;
        background-position: center;
    }

    .hero h1 {
        font-size: 2.1em;
    }

    .hero p {
        font-size: 1em;
    }

    .cta-button {
        font-size: 1em;
        padding: 12px 24px;
    }

    .services-section,
    .section-placeholder,
    .contact-section {
        padding: 40px 6%;
    }

    .services-section h2,
    .section-placeholder h2 {
        font-size: 2em;
    }

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

    .service-card {
        padding: 20px;
    }

    #contact-form {
        padding: 20px;
        margin: 15px auto;
    }

    #contact-form button {
        font-size: 1em;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 0.95em;
    }

    .whatsapp-float::before {
        font-size: 1.2em;
    }
}

/* --- Telas muito pequenas (até 480px) --- */
@media (max-width: 480px) {
    .logo-img {
        width: 220px;
    }

    .hero {
        padding: 40px 5%;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 0.95em;
    }

    .cta-button {
        width: 100%;
        padding: 12px 0;
    }

    footer {
        font-size: 0.8em;
        padding: 15px 5%;
    }

    .whatsapp-float {
        border-radius: 50%;
        padding: 10px;
        width: 50px;
        height: 50px;
        justify-content: center;
    }

    .whatsapp-float::before {
        margin-right: 0;
    }

    .whatsapp-float span,
    .whatsapp-icon {
        display: none;
    }
}
