html, body {
    height: 100%;
}
/* =====================================================
   RESET GLOBAL
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================================
   CONFIGURAÇÕES GERAIS
===================================================== */
body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background-color: #ebeaea;
    color: #2c2c2c;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   TIPOGRAFIA
===================================================== */
h1, h2, h3 {
    font-weight: 600;
}

h2 {
    font-size: 34px;
    margin-bottom: 15px;
    color: #0b6623;
}

h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* =====================================================
   HEADER
===================================================== */
.header {
    background-color: #8af783;
    border-bottom: 1px solid #ffffff;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* LOGO */
.logo-img{
height: auto;
max-height: 55px;
}

/* MENU DESKTOP */
.menu {
    display: flex;
    align-items: center;
    gap: 32px;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu a {
    position: relative;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

/* underline animado */
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.menu a:hover {
    color: #ffffff;
}

.menu a:hover::after {
    width: 100%;
}

/* HAMBURGER (ESCONDIDO NO PC) */

.hamburger{
    display:none;
    border: none;
    background: transparent;
    font-size:28px;
    color: #1a1a1a;
    line-height: 1;
    cursor:pointer;
    transition: transform 0.2s ease;
}

.hamburger:hover{
    transform:scale(1.1);
}

#overlay{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background: rgba(0,0,0,0.4);

    opacity:0;
    visibility:hidden;
    transition:0.3s;

    z-index:998;
}

#overlay.active{
    opacity:1;
    visibility:visible;
}



/* =====================================================
   BOTÕES
===================================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #0b6623;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #094f1c;
    transform: scale(1.03);
}

/* =====================================================
   HERO
===================================================== */
.hero {
    background-color: #ffffff;
    margin-top: 30px;
    padding: 80px 0;
    border-radius: 12px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    max-width: 720px;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

/* badge */
.badge {
    display: inline-block;
    background-color: #e6f2eb;
    color: #0b6623;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* =====================================================
   HERO SLIDER
===================================================== */
.hero-slider {
    position: relative;
    width: 480px;
    height: 320px;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* setas */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.6);
    border: none;
    font-size: 18px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 2;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.slider-btn:hover {
    opacity: 1;
    background-color: rgba(255,255,255,0.9);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* =====================================================
   DESTAQUES / CARDS
===================================================== */
.destaques {
    padding: 60px 0;
}

.destaques-container {
    display: flex;
    gap: 24px;
}

.card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: #0b6623;
    border-radius: 12px 12px 0 0;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #0b6623;
    margin-bottom: 12px;
}

.card p {
    color: #555;
    line-height: 1.6;
}

/* =====================================================
   CTA FINAL
===================================================== */
.cta-final {
    background-color: #ffffff;
    padding: 80px 20px;
    border-radius: 12px;
    max-width: 1000px;
    margin: 80px auto 40px;
    text-align: center;
}

.cta-final h2 {
    margin-bottom: 15px;
}

.cta-final p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* ===============================
   SOBRE NÓS
================================ */

.sobre {
    margin: 60px 0;
}

.sobre-card {
    background-color: #ffffff;
    padding: 48px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* CABEÇALHO */
.sobre-header {
    max-width: 800px;
    margin-bottom: 40px;
}

.sobre-header p {
    color: #444;
    font-size: 16px;
    line-height: 1.7;
}

/* GRID PRINCIPAL */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* INFO */
.sobre-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sobre-box {
    background-color: #f7f7f7;
    padding: 24px;
    border-radius: 14px;
}

.sobre-box h3 {
    color: #0b6623;
    margin-bottom: 12px;
}

.sobre-box p {
    color: #444;
    line-height: 1.6;
}

/* MAPA */
.sobre-mapa {
    border-radius: 14px;
    overflow: hidden;
    min-height: 300px;
}

.sobre-mapa iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .sobre-card {
        padding: 32px 24px;
    }

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

    .sobre-mapa {
        min-height: 260px;
    }
}


/* =====================================================
   FOOTER
===================================================== */
.footer {
    background-color: #222222;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}
main {
    flex: 1;
}
/* =====================================================
   TOAST / POP-UP
===================================================== */
.toast-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   RESPONSIVIDADE
===================================================== */
@media (max-width: 768px) {

    /* HAMBURGER APARECE */
    .hamburger{
        display:block;
    }

    /* MENU MOBILE */
    .menu{
        display:flex;
        flex-direction:column;
        align-items: flex-start;
        position:fixed;
        top:70px;
        left:0;
        width:min(78vw, 320px);
        height: calc(100vh - 70px);
        background:#8af783;
        text-align:left;
        padding:20px;
        gap:8px;
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.18);
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        z-index: 999;
    }

    .menu.active{
        transform: translateX(0);
    }

    .menu a{
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    }

    .menu a:last-child {
        border-bottom: none;
    }

    .header-inner {
        padding: 12px 16px;
    }

    .logo-img {
        max-height: 48px;
    }

    /* HERO */
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-slider {
        width: 100%;
        height: 260px;
    }

    /* CARDS */
    .destaques-container {
        flex-direction: column;
    }

    .cta-final {
        padding: 60px 20px;
    }
}

/* =====================================================
   MEDICINA OCUPACIONAL
===================================================== */
.medicina {
    margin-top: 40px;
}

/* CARD PRINCIPAL */
.medicina-card {
    background-color: #ffffff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* TÍTULO */
.medicina-card h2 {
    margin-bottom: 20px;
    color: #0b6623;
}

/* TEXTO INTRODUTÓRIO */
.medicina-intro {
    max-width: 800px;
    margin-bottom: 40px;
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}

/* TEXTO AUXILIAR */
.medicina-sub {
    margin-bottom: 24px;
    color: #777;
    font-size: 15px;
}

/* =====================================================
   ACCORDION
===================================================== */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ITEM */
.accordion-item {
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* HEADER (BARRA CLICÁVEL) */
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 26px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 18px;
    font-weight: 600;
    color: #0b6623;
    cursor: pointer;

    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #cdfad1;
}

/* ÍCONE */
.accordion-icon {
    font-size: 22px;
    color: #0b6623;
    transition: transform 0.3s ease;
}

/* CONTEÚDO */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 26px;
    transition: max-height 0.4s ease;
}

.accordion-content p {
    margin-top: 16px;
    color: #555;
    line-height: 1.6;
}

.accordion-content ul {
    margin: 18px 0 26px;
    padding-left: 18px;
}

.accordion-content li {
    margin-bottom: 8px;
    color: #555;
}

/* ESTADO ATIVO */
.accordion-item.active .accordion-content {
    max-height: 800px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color:#c82333;
}

.seguranca {
    margin-top: 40px;
}

.seguranca-card {
    background-color: #ffffff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.seguranca-card h2 {
    margin-bottom: 20px;
    color: #0b6623;
}

.seguranca-intro {
    max-width: 800px;
    margin-bottom: 24px;
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}

.seguranca-sub {
    margin-bottom: 32px;
    color: #777;
    font-size: 15px;
}

/* =====================================================
   TREINAMENTOS
===================================================== */
.treinamentos {
    margin-top: 40px;
}

.treinamentos-card {
    background-color: #ffffff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.treinamentos-card h2 {
    margin-bottom: 20px;
    color: #0b6623;
}

.treinamentos-intro {
    max-width: 800px;
    margin-bottom: 20px;
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}

.treinamentos-sub {
    margin-bottom: 32px;
    color: #777;
    font-size: 15px;
}

/* ================= CONTATO ================= */

.contato {
    margin: 60px 0;
}

.contato-card {
    background-color: #ffffff;
    padding: 48px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

/* HEADER */
.contato-header {
    margin-bottom: 40px;
}

.contato-header h2 {
    margin-bottom: 10px;
}

.contato-header p {
    color: #444;
    font-size: 16px;
}

/* SEÇÕES */
.form-section {
    margin-bottom: 36px;
}

.form-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #0b6623;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* GRUPO */
.form-group {
    display: flex;
    flex-direction: column;
}

/* LABEL */
form label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* INPUTS */
form input,
form select,
form textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* TEXTAREA */
form textarea {
    min-height: 140px;
    resize: vertical;
}

/* FOCO */
form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: #0b6623;
    box-shadow: 0 0 0 3px rgba(11,102,35,0.15);
}

/* SELECT HOVER */
form select:hover {
    background-color: #cdfad1;
    cursor: pointer;
}

/* AÇÃO */
.form-action {
    margin-top: 20px;
    text-align: right;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .contato-card {
        padding: 32px 24px;
    }

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

    .form-action {
        text-align: center;
    }

    .form-action .btn {
        width: 100%;
    }
}

/* BOTÃO COM LOADING */
.btn-submit {
    position: relative;
    min-width: 220px;
    text-align: center;
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading {
    font-weight: 600;
}

/* ===============================
   TOAST / POP-UP (ESTÁVEL)
================================ */
.toast {
    position: fixed;
    top: 90px;
    right: 24px;
    padding: 16px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    animation: slideIn 0.4s ease, fadeOut 0.4s ease 4s forwards;
    max-width: 320px;
}

/* Tipos */
.toast.success {
    background-color: #0b6623;
}

.toast.error {
    background-color: #c82333;
}

/* Animações */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

#local-select{
    width:100%;
    padding:10px 12px;
    border-radius:8px;
    border:1px solid #ccc;
    margin-top:10px;
}

@media (max-width: 768px) {

    /* ===============================
       CONTAINER
    ============================== */
    .container {
        padding: 0 16px;
    }

    /* ===============================
       HEADER FIXO (UX MELHOR)
    ============================== */
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    /* ===============================
       TIPOGRAFIA (PRINCIPAL AJUSTE)
    ============================== */
    h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 15px;
    }

    /* ===============================
       HERO (AQUI TÁ O MAIOR PROBLEMA)
    ============================== */
    .hero {
        padding: 40px 0;
        margin-top: 20px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text p {
        font-size: 15px;
    }

    /* BADGE MENOR */
    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* ===============================
       SLIDER
    ============================== */
    .hero-slider {
        height: 220px;
    }

    /* ===============================
       CARDS (MENOS ESPAÇO)
    ============================== */
    .card {
        padding: 20px;
    }

    /* ===============================
       SEÇÕES GRANDES (REDUZIR)
    ============================== */
    .cta-final {
        padding: 40px 16px;
        margin: 40px auto;
    }

    .cta-final p {
        font-size: 15px;
    }

    /* ===============================
       SOBRE
    ============================== */
    .sobre-card {
        padding: 24px 16px;
    }

    /* ===============================
       MEDICINA / SEGURANÇA / TREINOS
    ============================== */
    .medicina-card,
    .seguranca-card,
    .treinamentos-card {
        padding: 24px 16px;
    }

    .medicina-intro,
    .seguranca-intro,
    .treinamentos-intro {
        font-size: 15px;
    }

    /* ===============================
       ACCORDION
    ============================== */
    .accordion-header {
        font-size: 16px;
        padding: 18px;
    }

    /* ===============================
       CONTATO
    ============================== */
    .contato-card {
        padding: 24px 16px;
    }

}
/* ===============================
   FIM DO CSS
================================ */
