/* =========================================
           RESET E VARIÁVEIS CSS
           ========================================= */
:root {
    /* Paleta de Cores Institucional */
    --color-primary: #0f2a4a;
    /* Azul Marinho Profundo */
    --color-secondary: #0056b3;
    /* Azul Vibrante para Ações */
    --color-accent: #eef2f5;
    /* Cinza Azulado Claro (Fundos) */
    --color-text-main: #333333;
    /* Cinza Escuro (Texto) */
    --color-text-light: #666666;
    /* Cinza Médio (Apoio) */
    --color-white: #ffffff;
    --color-border: #dcdfe3;

    /* Tipografia */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Espaçamentos e Layout */
    --container-width: 1200px;
    --spacing-section: 80px;
    --spacing-mobile: 40px;
    --border-radius: 4px;
    /* Bordas levemente arredondadas, estilo corporativo */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilitários */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 25px;
}

.btn-primary:hover {
    background-color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
    border-radius: 25px;
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
    border-radius: 25px;
}

.btn-outline-dark:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* =========================================
           HEADER
           ========================================= */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);

    font-size: 1.3rem;   /* 👈 tamanho normal do desktop */
    white-space: nowrap; /* impede quebra */
}



.container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul li a {
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--color-secondary);
}

.nav-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-right: 20px;
    padding-left: 40px;
    
}

/* =========================================
           HERO SECTION
           ========================================= */
#hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: #1a3c63;
    overflow: hidden;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/imagens/imagem hero9.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
}


.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    position: relative;
    /* necessário para z-index funcionar */
    z-index: 2;
    /* acima do ::before */
}

#hero h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: #dbe4ef;
}

#hero .hero-description {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: #ccd6e0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* =========================================
           SEÇÃO - NOSSA FORMA DE ATUAR (METODOLOGIA)
           ========================================= */
#consultoria {
    padding: var(--spacing-section) 0;
    background-color: var(--color-white);
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.method-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-left: 4px solid var(--color-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    border-radius: 25px;
}

.method-card:hover {
    transform: translateY(-5px);
}

.method-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.method-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.method-card p {
    font-size: 0.95rem;
}

/* =========================================
           SEÇÃO - SOLUÇÕES (EMPRESAS E FAMÍLIAS)
           ========================================= */
.solutions-section {
    padding: var(--spacing-section) 0;
}

#empresas {
    background-color: var(--color-accent);
    /* Cinza claro */
}

#familias {
    background-color: var(--color-white);
}

.intro-text-block {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Desktop: 4 colunas */
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.solution-card {
    background-color: var(--color-white);
    padding: 2rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 25px;
}

/* Ajuste para cards em fundo branco */
#familias .solution-card {
    background-color: var(--color-accent);
}

.solution-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-secondary);
}

.solution-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.solution-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cards-cta-container {
    text-align: center;
    margin-top: 2rem;
}

/* =========================================
           SEÇÃO - DIFERENCIAIS
           ========================================= */
#diferenciais {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: #1a3c63;
    /* fallback institucional */
    overflow: hidden;
}

#diferenciais::before {

    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/imagens/imagem\ hero7.png");
    /* ajuste o caminho */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    /* controle fino da transparência */
    z-index: 1;

}



#diferenciais .section-title,
#diferenciais p {
    color: var(--color-white);
}

#diferenciais .section-subtitle {
    color: #dbe4ef;
}

.diff-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.diff-list ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: white;
}

.diff-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.diff-list li i {
    color: #4cd964;
    /* Verde sutil para 'check' */
    margin-right: 1rem;
    font-size: 1.2rem;
}

.diff-quote {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 2rem;
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #dbe4ef;
}

/* =========================================
           CTA FINAL
           ========================================= */
.cta-final {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--color-white);
}

.cta-final h2 {
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* =========================================
           FOOTER
           ========================================= */
footer {
    background-color: #0b1e36;
    /* Mais escuro que o primary */
    color: #8c97a3;
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #8c97a3;
    max-width: 300px;
}

.footer-nav h4,
.footer-legal h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.footer-nav ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a,
.footer-legal a {
    color: #8c97a3;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================================
   FOOTER - REDES SOCIAIS
   ========================================= */

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c97a3;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}


/* =========================================
           RESPONSIVIDADE (MEDIA QUERIES)
           ========================================= */

/* Tablet Portrait & Mobile Landscape */
@media (max-width: 1024px) {
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-card:last-child {
        grid-column: span 2;
        /* Centraliza o último card */
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    :root {
        --spacing-section: 60px;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-cta-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    nav ul li {
        margin: 0 5px;
    }

    .grid-3-col,
    .grid-4-col,
    .diff-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .method-card:last-child {
        grid-column: auto;
    }

    .hero-actions,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .diff-quote {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 0;
        padding-top: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 12px;  /* antes estava 20px */
        padding-right: 20px;
    }

}

@media (max-width: 768px) {
    .logo {
        transform: translateX(-6px);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.05rem; /* 👈 só aqui diminui */
    }

    .logo img {
        width: 36px;
        height: auto;
    }
}

@media (max-width: 380px) {
    .logo {
        font-size: 0.95rem;
    }
}

