/* ================================================== */
/* ARQUIVO CSS FINAL E COMPLETO           */
/* ================================================== */

/* Importação da Fonte e Reset Básico */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #01495A;
    --secondary-color: #0081a7;
    --text-color: #555;
    --light-gray: #f0f4f7;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;

}

body {
    font-family: "Public Sans", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 700;
}

/* ================== HEADER ================== */
header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    background: var(--primary-color);
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 40px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-bottom-color 0.3s;
}

header nav ul li a:hover {
    color: var(--secondary-color);
}

header nav ul li a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* ================================================== */
/* 2. HERO SECTION                                    */
/* ================================================== */
.hero {
    position: relative;
    height: 95vh;
    background: url('img/banner-640w.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Espaço para o header fixo */
}



.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 700;
}

.separador{
    display: block;
}

/* ================================================== */
/* 3. INTRO TEXT SECTION                              */
/* ================================================== */

.nosso-dna-bkg{
    background-image: url("img/fundo2-2024h.jpg");
}

.intro-text {
    padding: 60px 0;
   
    border-bottom: 1px solid #e0e0e0;
}

.intro-text .container {
    max-width: 800px;
    text-align: center;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* ================================================== */
/* 4. DNA SECTION                                     */
/* ================================================== */
.dna {
    padding: 80px 0;

}

.dna .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: -30px;
    margin-bottom: 50px;
}

.dna-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.dna-item {
    background: var(--white);
    padding: 30px 25px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.dna-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #34596b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

/* ADICIONE ISTO */
.icon-circle i {
    font-size: 45px; /* Tamanho do ícone */
    color: var(--white); /* Cor do ícone */
}

.dna-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.dna-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* ================================================== */
/* 5. SERVICES SHOWCASE SECTION                       */
/* ================================================== */
.services-showcase {
    background-color: #1a3a4a;
    padding: 80px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 2px solid white;
    overflow: hidden;
}

.showcase-item {
    position: relative;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-text {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.showcase-text h3 {
    color: #63b4cf;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.showcase-text p {
    font-size: 1rem;
    line-height: 1.7;
}

.showcase-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showcase-text ul li {
    font-size: 1rem;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.showcase-text ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #63b4cf;
    font-size: 1.2rem;
}

/* ================================================== */
/* 6. HOW WE ACT SECTION                              */
/* ================================================== */
.how-we-act {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.how-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.how-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.how-item-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.how-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: left;
}

.how-item p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

/* ================================================== */
/* 7. ABOUT US SECTION                                */
/* ================================================== */
.about-us {
    background: var(--white);
    padding: 80px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
    max-width: 450px;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: left;
}

.about-text h2 strong {
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-team {
    flex: 1.2;
    display: flex;
    gap: 30px;
    justify-content: flex-start;
}

.team-member {
    background: var(--white);
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    flex: 1;
    max-width: 280px;
    transition: box-shadow 0.3s ease;
}

.team-member:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.team-member img {
    width: 100%;
    display: block;
}

.member-info {
    padding: 20px 15px;
    border-top: 1px solid #d1d1d1;
}

.member-info h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1rem;
    margin: 0 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ================================================== */
/* 8. CONTACT FOOTER                                  */
/* ================================================== */
.contact {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 0;
    padding-bottom: 50px;
}

.contact h2 {
    color: var(--white);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1.5;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    color: var(--white);
    font-family: "Public Sans", sans-serif;

}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background: #009acd;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    font-size: 1.3rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.footer-logo {
    text-align: right;
    margin-top: 30px;
}

.footer-logo img {
    height: 80px;
    opacity: 0.5;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid var(--secondary-color);
    font-size: 0.9rem;
    
}

.credits{
   
    padding: 15px;
    background-color: #1C4A5A;
    color: white;
    justify-content: center;
    display: flex;
}

/* ================================================== */
/* 9. RESPONSIVIDADE (REGRAS CONSOLIDADAS)            */
/* ================================================== */

/* Para Tablets (até 992px) */
@media (max-width: 992px) {
    .dna-grid, .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-text h2 {
        text-align: center;
    }
    
    .about-team {
        justify-content: center;
        width: 100%;
        margin-top: 30px;
    }
}

/* Para Celulares (até 768px) */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        border: none;
    }
    
    .showcase-item {
        border-top: 2px solid white;
    }

    .showcase-grid .showcase-item:first-child {
        border-top: none;
    }

    .contact-content {
        flex-direction: column;
    }

    .about-team {
        gap: 20px;
    }
}

/* Para Celulares Pequenos (até 576px) */
@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    header nav ul {
        justify-content: center;
    }

    .dna-grid, .how-grid {
        grid-template-columns: 1fr;
    }
    
    .about-team {
        flex-direction: column;
        align-items: center;
    }

    .team-member {
        width: 100%;
        max-width: 320px;
    }
}