/* =========================================
   1. CONFIGURAÇÕES E VARIÁVEIS (DESIGN SYSTEM)
   ========================================= */
:root {
    /* Paleta de Cores Refinada */
    --primary: #729cd3;
    --cta:#2e77c4;       /* Azul Profundo (Luxo) */
    --primary-hover: #122c4f; 
    --secondary: #d4a373;     /* Tom Dourado/Bege para detalhes (opcional) */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f4f8fb;      /* Fundo muito suave */
    --white: #ffffff;
    
    /* Fontes */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Sombras Premium */
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(26, 61, 99, 0.08);
    --shadow-hover: 0 15px 40px rgba(26, 61, 99, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: var(--font-body); 
    color: var(--text-dark); 
    line-height: 1.6; 
    background-color: var(--white);
    overflow-x: hidden; 
}

a { text-decoration: none; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* =========================================
   2. TIPOGRAFIA E UTILITÁRIOS
   ========================================= */
.container { max-width: 1150px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { 
    font-family: var(--font-heading); 
    color: var(--primary); 
    font-weight: 600;
}

h2 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 2.2rem; text-align: center; margin-bottom: 10px; }

.subtitle { 
    text-align: center; 
    color: var(--text-light); 
    margin-bottom: 50px; 
    font-size: 1.1rem;
}

section { padding: 90px 0; }

/* =========================================
   3. COMPONENTES (BOTÕES)
   ========================================= */
.btn-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 25px;
    gap: 20px;
    background-color: var(--cta);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(26, 61, 99, 0.3);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 61, 99, 0.4);
}

.small-btn { padding: 12px 30px; font-size: 1rem; }

/* =========================================
   4. HEADER
   ========================================= */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

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

.logo h1 { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.logo span { font-weight: 300; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-dark); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.nav-links .btn-nav {
    background: var(--cta); color: var(--white);
    padding: 10px 25px; border-radius: 30px;
}
.mobile-menu-icon { display: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    padding: 80px 0 100px 0;
    background: linear-gradient(120deg, #f6fafd 0%, #eef6fc 100%);
    position: relative;
}

.hero-content { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }

.tagline {
    display: inline-block;
    background: rgba(26, 61, 99, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-img { flex: 1; position: relative; display: flex; justify-content: flex-end; }
.hero-img img {
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    max-width: 400px;
    z-index: 1;
}

/* Detalhe flutuante na foto */
.floating-badge {
    position: absolute;
    bottom: 30px; left: 40px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    font-weight: 600;
    color: var(--primary);
    z-index: 2;
    display: flex; gap: 10px; align-items: center;
    animation: float 3s ease-in-out infinite;
}

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

/* =========================================
   6. BENEFÍCIOS
   ========================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.benefit-item:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }

.icon-box {
    width: 70px; height: 70px;
    background: #eaf4fc;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px auto;
}
.icon-box i { font-size: 1.8rem; color: var(--primary); }

/* =========================================
   7. SERVIÇOS (VITRINE) - MOBILE FIRST
   ========================================= */

/* PADRÃO (CELULAR/TELA PEQUENA) */
.services {
    background-color: var(--bg-light);
    padding: 60px 0; /* Menos padding no mobile para não ocupar muito espaço */
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr; /* Uma coluna por padrão */
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
}

.card-image {
    position: relative;
    height: 300px; /* Altura ideal para mobile */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-content {
    padding: 20px; /* Padding mais enxuto no mobile */
    display: flex;
    flex-direction: column;
}

.card-content h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.price-box {
    background: #fcfcfc;
    border: 1px solid #f0f4f8;
    border-radius: 12px;
    padding: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.price-row span { font-size: 0.85rem; }
.price-row strong { font-size: 1rem; color: var(--primary); }

.maintenance {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* =========================================
   AVISO DE MANUTENÇÃO - ELEGANTE
   ========================================= */
.service-observation {
    max-width: 600px; /* Mantém o texto centralizado e não muito largo */
    margin: 40px auto 20px; /* Espaçamento entre os cards e o botão */
    padding: 15px 25px;
    background-color: rgba(26, 61, 99, 0.03); /* Azul primário bem clarinho */
    border: 1px dashed rgba(26, 61, 99, 0.2); /* Borda tracejada elegante */
    border-radius: 12px;
    text-align: center;
}

.service-observation p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.service-observation strong {
    color: var(--primary);
    font-weight: 600;
}

.service-observation i {
    color: var(--primary);
    margin-right: 6px;
}

/* Ajuste para Desktop */
@media (min-width: 1024px) {
    .service-observation {
        font-size: 0.95rem;
        margin-top: 50px;
    }
}

/* TABLETS (Mínimo de 768px) */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Colunas */
    }
    
    .card-image {
        height: 400px;
    }
}

/* DESKTOP (Mínimo de 1024px) */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 Colunas */
    }
    
    .services {
        padding: 90px 0; /* Padding maior no desktop */
    }

    .card-content {
        padding: 30px;
    }

    /* Efeito de hover apenas em telas que usam mouse */
    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }
}
/* =========================================
   8. PORTFOLIO & SOBRE
   ========================================= */
.portfolio-grid { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    flex-wrap: wrap; 
    margin-bottom: 40px; 
}

.portfolio-item img {
    width: 350px; height: 450px; object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.quote { 
    text-align: center; font-style: italic; color: var(--text-light); 
    max-width: 600px; margin: 0 auto; 
    border-left: 3px solid var(--primary); padding-left: 20px;
}

.about { background: var(--white); }
.about-content { display: flex; align-items: center; gap: 80px; }
.about-img img {
    border-radius: 24px;
    box-shadow: 20px 20px 0 var(--bg-light); /* Sombra solida moderna */
    max-width: 400px;
}
.about-text h3 { text-align: left; margin-bottom: 20px; }
.about-features { display: flex; gap: 20px; margin-top: 20px; }
.about-features span { font-weight: 600; color: var(--primary); display: flex; gap: 8px; align-items: center; }

/* =========================================
   9. FAQ
   ========================================= */
.faq-section { 
    background-color: var(--bg-light); /* Garante o azul claro atrás do card */
    padding: 60px 0 160px 0; /* 60px em cima, 0 lados, 160px embaixo para o card */
}

.faq-grid { 
    max-width: 800px; 
    margin: 0 auto;
    padding: 0 20px; /* Dá o respiro lateral correto no mobile */
}

/* No desktop, você pode aumentar o recuo */
@media (min-width: 1024px) {
    .faq-section {
        padding: 100px 0 200px 0;
    }
}

.faq-grid { 
    max-width: 800px; 
    margin: 0 auto;
    /* O container já garante os 20px de respiro lateral no mobile */
}

.faq-grid { 
    max-width: 800px; 
    margin: 0 auto; 
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
details summary {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    display: flex; justify-content: space-between; align-items: center;
    list-style: none;
}

details summary::-webkit-details-marker {       display: none; 
}

details[open] summary i { 
    transform: rotate(180deg); transition: 0.3s; 
}

details p {
    padding: 0 25px 25px 25px; 
    color: var(--text-light); 
    line-height: 1.6;
}

/* =========================================
   10. FOOTER - DESIGN FINAL ORGANIZADO
   ========================================= */

footer {
    /* O segredo para o fundo: azul claro em cima, azul escuro embaixo */
    background: linear-gradient(to bottom, var(--bg-light) 180px, var(--primary) 180px);
    position: relative;
    padding: 0 0 40px 0;
    margin-top: 0;
}

.btn-cta-luxury {
    background-color: var(--cta); /* Azul marinho profundo */
    color: var(--white) !important;   /* Garante que o texto fique branco */
    padding: 16px 35px;               /* Espaçamento interno */
    border-radius: 50px;              /* Deixa o botão arredondado (estilo pílula) */
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;                        /* Espaço entre o ícone e o texto */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(26, 61, 99, 0.2); /* Sombra suave para dar profundidade */
    margin-top: 20px;
}

.btn-cta-luxury:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);      /* Efeito de subir levemente ao passar o mouse */
    box-shadow: 0 12px 20px rgba(26, 61, 99, 0.3);
}

/* Ajuste para o ícone do WhatsApp no botão */
.btn-cta-luxury i {
    font-size: 1.2rem;
}

.cta-tag {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: #eef4f9; /* Azul bem clarinho para contraste */
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(26, 61, 99, 0.2);
    box-shadow: 0 4px 12px rgba(26, 61, 99, 0.08);
    
    /* Animação de pulso suave */
    animation: softPulse 2s infinite ease-in-out;
}

/* Ícone dentro da tag */
.cta-tag i {
    font-size: 0.8rem;
    color: var(--primary);
}

/* Definição da animação */
@keyframes softPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(26, 61, 99, 0.08);
    }
    50% {
        transform: scale(1.03);
        border-color: var(--primary);
        box-shadow: 0 6px 15px rgba(26, 61, 99, 0.15);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(26, 61, 99, 0.08);
    }
}

/* Card Branco Flutuante */
.footer-cta-card {
    background: var(--white);
    color: var(--primary);
    border-radius: 30px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%; /* Ocupa o container no mobile */
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

/* Ajuste das Colunas no Mobile */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr; /* Uma coluna por padrão */
    gap: 40px;
    text-align: center; /* Centralizado no mobile */
    padding: 20px 0;
}

.footer-col h4 { 
    color: var(--white); 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
}

.footer-col h4 span { font-weight: 300; }

.footer-col h5 { 
    color: var(--white); 
    opacity: 0.5; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 1.5px; 
    margin-bottom: 20px; 
}

.footer-col p { 
    color: var(--white); 
    opacity: 0.7; 
    font-size: 0.95rem; 
    line-height: 1.6; 
}

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

.footer-col ul li a { 
    color: var(--white); 
    opacity: 0.7; 
    transition: 0.3s; 
}

.footer-col ul li a:hover { opacity: 1; }

.social-icons a {
    font-size: 1.8rem;
    color: var(--white);
    opacity: 0.8;
}

/* Rodapé Final */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.5;
}

/* AJUSTES PARA DESKTOP (Min 1024px) */
@media (min-width: 1024px) {
    footer {
        /* No desktop, o gradiente precisa ser um pouco maior para o card grande */
        background: linear-gradient(to bottom, var(--bg-light) 220px, var(--primary) 220px);
    }

    .footer-cta-card { padding: 60px; }

    .footer-main-grid {
        grid-template-columns: 2fr 1fr 1fr; /* Três colunas organizadas */
        text-align: left;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
    }
}
/* Desktop Adjustment */
@media (min-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 2fr 1fr 1fr;
        text-align: left;
    }
    .footer-cta-card { padding: 60px; }
    .social-icons-row { justify-content: flex-start; }
    .footer-legal { display: flex; justify-content: space-between; }
}
/* =========================================
   11. RESPONSIVIDADE
   ========================================= */
@media (max-width: 900px) {
    h2 { font-size: 2.2rem; }
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-img { justify-content: center; width: 100%; }
    .hero-img img { max-width: 320px; }
    .about-content { flex-direction: column; text-align: center; }
    .about-text h3 { text-align: center; }
    .about-features { justify-content: center; }
}

@media (max-width: 768px) {
    .mobile-menu-icon { 
        display: block; 
    }

    .nav-links {
        position: absolute; top: 70px; left: 0; width: 100%;
        background: var(--white); flex-direction: column;
        padding: 30px 0; box-shadow: var(--shadow-md);
        display: none;
    }

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

    .container { 
        padding: 0 20px; 
    }

    .services-grid {
        grid-template-columns: 1fr; 
    } /* Um card por linha no mobile */

    img{
        width:200px ;
    }

    .portfolio-item img {
    width: 150px; height: 250px; object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}
}

.linklanding{
    color: #fff5fb;
}