/* ======================= */
/* RESET BÁSICO            */
/* ======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}


/* ======================= */
/* FADE-IN                 */
/* ======================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================= */
/* HEADER / NAVBAR         */
/* ======================= */
header {
    background-color: #2b4544;
    padding: 10px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 130px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    font-size: 17.5px;
}

.navbar .nav-links li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.navbar .nav-links li a.active,
.navbar .nav-links li a:hover {
    color: #00cc99;
}

.navbar .nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #00cc99;
    transition: width 0.3s ease;
}

.navbar .nav-links li a:hover::after,
.navbar .nav-links li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar .nav-links {
    transition: all 0.3s ease;
}

/* ======================= */
/* BOTÕES PADRONIZADOS      */
/* ======================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    color: #fff;
    background-color: #00cc99;
}

.btn:hover {
    background-color: #009973;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #009973;
}

.btn-primary:hover {
    background-color: #017d5e;
    transform: translateY(-3px);
}

/* ======================= */
/* SECTIONS / CONTAINERS   */
/* ======================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Barra de progresso de scroll */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;       /* altura da barra */
  background-color: #00cc99; /* cor da barra */
  width: 0%;
  z-index: 2000;
  transition: width 0.1s ease-out;
}


/* ======================= */
/* HERO / BANNER PRINCIPAL */
/* ======================= */
.hero {
    position: relative;
    height: 75vh;
    overflow: hidden;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    animation: fadeInUp 1s ease-out forwards;
    will-change: transform;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #15b78f;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 500;
}

.hero-content .btn {
    padding: 14px 28px;
}

/* ======================= */
/* APRESENTAÇÃO DA EMPRESA */
/* ======================= */
.presentation-section {
    padding: 80px 20px;
    background-color: #2b4544;
    color: #fff;
}

.presentation-section .container {
    max-width: 990px;
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    line-height: 1.5;
    text-align: justify;
}

.presentation-section .highlight {
    color: #00cc99;
    font-weight: 600;
}

/* ======================= */
/* FILOSOFIA DA EMPRESA    */
/* ======================= */
.filosofia-section {
    padding: 80px 20px;
    background-color: #f5f5f5;
    color: #333;
}

.filosofia-section h2 {
    font-size: 2rem;
    margin-bottom: 45px;
    color: #15b78f;
    font-weight: 700;
}

.filosofia-section .highlight {
    color: #00cc99;
    font-weight: 600;
}

.missao-visao-valores {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}

.missao-visao-valores .card {
    background: #fff;
    flex: 1;
    min-width: 360px;
    max-width: 400px;
    min-height: 360px;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.missao-visao-valores .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.missao-visao-valores h3 {
    color: #15b78f;
    margin-bottom: 20px;
    font-size: 1.35rem;
    text-align: center;
    font-weight: 700;
}

.missao-visao-valores p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 0;
    text-align: justify;
    text-align-last: left;
}

.missao-visao-valores ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.missao-visao-valores ul li {
    margin-bottom: 14px;
    text-align: left;
    line-height: 1.8;
    font-size: 1.02rem;
}

.card ul li span {
    font-size: 1rem;
}

.missao-visao-valores ul li:last-child {
    margin-bottom: 0;
}

/* ======================= */
/* CALL TO ACTION           */
/* ======================= */
.cta-section {
    background-color: #cefae9;
    padding: 80px 20px;
    text-align: center;
    color: #0d775c;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.cta-section h2 {
    text-align: justify;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-section p {
    text-align: justify;
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ======================= */
/* FOOTER                  */
/* ======================= */
.footer-section {
    background-color: #2b4544;
    color: #fff;
    padding: 60px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    align-items: start;
    padding-bottom: 30px; /* adiciona espaço extra antes do footer-bottom */
}

.footer-logo-img {
    width: 200px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.footer-logo p {
    color: #eee;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 12px;
    color: #00cc99;
    font-weight: 600;
}

.footer-contact h3{
    margin-bottom: 0px; /* aproxima o conteúdo do título */
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: #00cc99;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-contact .contact-item {
    display: flex;
    flex-direction: column;

}

.footer-contact .label {
    font-weight: 600;
    color: #00cc99;
    margin-bottom: 3px;
}

.footer-contact .info {
    color: #eee;
    line-height: 1.3;
    word-break: break-word;
    text-align: justify;
}

.footer-social a {
    margin-right: 12px;
    display: inline-block;
}

.footer-social .icon {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}

.footer-social .icon:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    padding-bottom: 30px;
    color: #eee;
    font-size: 0.85rem;
}
/* ======================= */
/* BOTÃO VOLTAR AO TOPO     */
/* ======================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #00cc99;
    color: #fff;
    border: none;
    padding: 10px 14px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none; /* controlado pelo JS */
    z-index: 1000;
    transition: transform 0.3s, background 0.3s;
}

.back-to-top:hover {
    transform: translateY(-2px);
    background-color: #009973;
}

/* ======================= */
/* ACESSIBILIDADE LINKS    */
/* ======================= */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #00cc99; /* cor de destaque */
    outline-offset: 3px;
}
/* ======================= */
/* RESPONSIVIDADE TOTAL    */
/* ======================= */
@media (max-width: 768px) {
    /* Navbar / Hamburger */
    .navbar .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; padding: 1.5rem 1rem; gap: 1rem; background-color: #2b4544; backdrop-filter: blur(4px); z-index: 9999; }
    .navbar .nav-links.show { display: flex; }
    .menu-toggle { display: flex; }
    .nav-links li a { font-size: 1rem; padding: 0.5rem 0; }
    .navbar-container { flex-wrap: nowrap; }

    /* Hero */
    .hero { height: 50vh; padding: 0 15px; }
    .hero-content h1 { font-size: 2rem; line-height: 1.3; }
    .hero-content p { font-size: 1rem; line-height: 1.5; }

    /* Apresentação */
    .presentation-section { padding: 50px 18px; }
    .presentation-section .container { max-width: 100%; padding: 0 5px; display: flex; flex-direction: column; align-items: flex-start; text-align: justify; hyphens: auto; word-spacing: normal; }
    .presentation-section p { font-size: 1rem; line-height: 1.7; text-align: justify; hyphens: auto; word-spacing: normal; }

    /* Filosofia / Cards */
    .filosofia-section { padding: 60px 15px; }
    .filosofia-section h2 { font-size: 1.8rem; line-height: 1.3; }
    .missao-visao-valores { gap: 20px; max-width: 100%; }
    .missao-visao-valores .card { min-width: 100%; max-width: 100%; min-height: 250px; padding: 40px 30px; }

    /* Cards: todos os <p> com mesma fonte */
    .missao-visao-valores .card p { 
        font-size: 1rem; 
        line-height: 1.7; 
        text-align: justify; 
        hyphens: auto; 
        word-spacing: normal; 
    }
    .missao-visao-valores ul li { font-size: 0.98rem; line-height: 1.6; margin-bottom: 12px; }
    .missao-visao-valores h3 { font-size: 1.25rem; margin-bottom: 15px; }

    /* Call to Action */
    .cta-section { padding: 60px 15px; }
    .cta-section h2 { font-size: 1.9rem; line-height: 1.3; }
    .cta-section p { font-size: 1.05rem; line-height: 1.6; text-align: justify; hyphens: auto; word-spacing: normal; }
    .btn { font-size: 1rem; padding: 11px 22px; }
}

@media (max-width: 480px) {
    /* Hero */
    .hero { height: 45vh; }
    .hero-content h1 { font-size: 1.6rem; line-height: 1.3; }
    .hero-content p { font-size: 0.95rem; line-height: 1.4; }

    /* Apresentação */
    .presentation-section { padding: 45px 15px; }
    .presentation-section .container { padding: 0 3px; display: flex; flex-direction: column; align-items: flex-start; text-align: justify; }
    .presentation-section p { font-size: 0.95rem; line-height: 1.65; text-align: justify; hyphens: auto; word-spacing: normal; }

    /* Filosofia / Cards */
    .filosofia-section { padding: 50px 12px; }
    .filosofia-section h2 { font-size: 1.6rem; }
    .missao-visao-valores .card { min-width: 100%; max-width: 100%; min-height: 260px; padding: 45px 30px; }

    /* Todos os <p> com mesmo tamanho */
    .missao-visao-valores .card p { 
        font-size: 0.95rem; 
        line-height: 1.65; 
        text-align: justify; 
        hyphens: auto; 
        word-spacing: normal; 
    }
    .missao-visao-valores ul li { font-size: 0.92rem; line-height: 1.5; margin-bottom: 10px; }
    .missao-visao-valores h3 { font-size: 1.15rem; }

    /* Call to Action */
    .cta-section { padding: 50px 12px; }
    .cta-section h2 { font-size: 1.6rem; }
    .cta-section p { font-size: 0.95rem; line-height: 1.5; text-align: justify; hyphens: auto; word-spacing: normal; }
    .btn { font-size: 0.95rem; padding: 10px 20px; }
}

@media (max-width: 360px) {
    /* Hero */
    .hero { height: 40vh; }
    .hero-content h1 { font-size: 1.4rem; line-height: 1.2; }
    .hero-content p { font-size: 0.85rem; line-height: 1.3; }

    /* Apresentação */
    .presentation-section { padding: 40px 12px; }
    .presentation-section .container { padding: 0 2px; display: flex; flex-direction: column; align-items: flex-start; text-align: justify; }
    .presentation-section p { font-size: 0.9rem; line-height: 1.6; text-align: justify; hyphens: auto; word-spacing: normal; }

    /* Filosofia / Cards */
    .filosofia-section { padding: 40px 10px; }
    .filosofia-section h2 { font-size: 1.4rem; }
    .missao-visao-valores .card { min-width: 100%; max-width: 100%; min-height: 270px; padding: 50px 25px; }

    /* Todos os <p> com mesmo tamanho */
    .missao-visao-valores .card p { 
        font-size: 0.9rem; 
        line-height: 1.6; 
        text-align: justify; 
        hyphens: auto; 
        word-spacing: normal; 
    }
    .missao-visao-valores ul li { font-size: 0.85rem; line-height: 1.4; margin-bottom: 9px; }
    .missao-visao-valores h3 { font-size: 1.1rem; }

    /* Call to Action */
    .cta-section { padding: 40px 10px; }
    .cta-section h2 { font-size: 1.4rem; }
    .cta-section p { font-size: 0.88rem; line-height: 1.4; text-align: justify; hyphens: auto; word-spacing: normal; }
    .btn { font-size: 0.88rem; padding: 9px 18px; }
}

