/* Resetando padrões */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Botões Fixos */
.fixed-button, .fixed-button2 {
    position: fixed;
    bottom: 20px;
    background-color: #103440;
    color: white;
    border: none;
    padding: 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
    white-space: nowrap;
}

.fixed-button {
    right: 20px;
    border-radius: 20px;
}

.fixed-button2 {
    left: 20px;
}

.fixed-button:hover, .fixed-button2:hover {
    background-color: #1b576b;
    box-shadow: 0px 15px 20px rgba(27, 87, 107, 0.4);
    transform: translateY(-7px);
}

.fixed-button:active, .fixed-button2:active {
    transform: translateY(-1px);
}

/* Cabeçalho */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.title {
    font-size: 50px;
    color: #103440;
    text-align: center;
    line-height: 1.2;
}

.logo {
    width: 75px;
    height: auto;
    flex-shrink: 0;
}

/* Barra de opções */
.cfg-option {
    background-color: #103440;
    min-height: 80px;
    padding: 20px;
}

.nav {
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-list a {
    font-size: 18px;
    color: #fff;
    padding: 16px 12px;
    text-decoration: none;
    white-space: nowrap;
}

.hamburger {
    display: none;
    border: none;
    background: none;
    border-top: 3px solid #fff;
    cursor: pointer;
}

.hamburger::after,
.hamburger::before {
    content: " ";
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    margin-top: 5px;
    position: relative;
    transition: 0.3s;
}

/* Responsividade do menu */
@media (max-width: 1024px) {
    .hamburger {
        display: block;
        z-index: 101;
    }

    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #103440;
        clip-path: circle(100px at 90% -15%);
        transition: 1s ease-out;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        z-index: 100;
        pointer-events: none;
    }

    .nav-list a {
        font-size: 24px;
        opacity: 0;
        transition: opacity 0.5s;
    }

    .nav.active .nav-list {
        clip-path: circle(1500px at 90% -15%);
        pointer-events: all;
    }

    .nav.active .nav-list a {
        opacity: 1;
    }

    .nav.active .hamburger {
        position: fixed;
        top: 26px;
        right: 16px;
        border-top-color: transparent;
    }

    .nav.active .hamburger::before {
        transform: rotate(135deg);
    }

    .nav.active .hamburger::after {
        transform: rotate(-135deg);
        top: -7px;
    }
}

.option {
    color: white;
    margin-right: 15px;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.option:hover {
    color: #b4b1b1;
}

/* Botão WhatsApp */
.numero {
    background-color: white;
    color: #103440;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.numero:hover {
    background-color: #b4b1b1;
}

.button-numero {
    transition: ease-out 0.5s;
    border: none;
    background: none;
}

.button-numero:active {
    transform: scale(0.9);
}

/* Boas-vindas */
.cfg-welcome {
    background-image: url(/Images/BlurFachada.png);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    padding: 40px 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-section {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cfg-welcome-title {
    color: white;
    font-size: clamp(40px, 8vw, 100px);
    margin-bottom: 20px;
    line-height: 1.1;
}

.cfg-welcome-text {
    color: white;
    font-size: clamp(18px, 4vw, 40px);
    margin: 20px 0;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}

.novidades-btn {
    background-color: #103440;
    color: white;
    padding: clamp(20px, 4vw, 32px) clamp(30px, 6vw, 50px);
    margin: 20px 0;
    font-size: clamp(20px, 4vw, 40px);
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    display: inline-block;
}

.novidades-btn:hover {
    background-color: #1b576b;
    animation: none;
}

.novidades-btn:active {
    transform: scale(0.9);
}

/* Animação de pulsar */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(27, 87, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(27, 87, 107, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(27, 87, 107, 0.4);
    }
}

/* Seções */
.section {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.section-image {
    flex: 1;
    min-width: 300px;
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.section-image-carrossel {
    flex: 1;
    max-width: 800px;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    object-fit: cover;
}

.carrossel-imagens {
    position: relative;
    display: flex;
    justify-content: center;
    flex: 1;
    min-width: 300px;
}

.carrossel-imagens img {
    display: block;
    border-radius: 10px;
    transition: opacity 0.5s ease;
}

.section-image-carrossel.fade-out {
    opacity: 0;
}

.section-image-carrossel.fade-in {
    opacity: 1;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16,52,64,0.7);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 3;
}

.carrossel-btn.esquerda {
    left: 10px;
}

.carrossel-btn.direita {
    right: 10px;
}

.section-text {
    flex: 1;
    min-width: 300px;
    text-align: justify;
    color: #103440;
    padding: 20px;
}

.section-text p {
    font-size: clamp(16px, 2.5vw, 24px);
    line-height: 1.6;
    margin-bottom: 20px;
}

.section-text h1 {
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Lista horizontal estilizada */
.section-list-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    justify-content: flex-start;
}

.section-list-horizontal li {
    background: #f7fafc;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(16,52,68,0.08);
    padding: 12px 20px;
    font-size: clamp(14px, 2vw, 18px);
    color: #103440;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.2s;
    flex: 0 1 auto;
}

.section-list-horizontal li i {
    color: #1b576b;
    font-size: 18px;
}

.section-list-horizontal li:hover {
    background: #e6f2fa;
    box-shadow: 0 6px 18px rgba(16,52,64,0.15);
    transform: translateY(-2px);
}

.section-content.reverse {
    flex-direction: row-reverse;
}

/* Equipe */
.team {
    text-align: center;
    margin: 50px auto;
    padding: 40px 20px;
    max-width: 1400px;
}

.team-title {
    font-size: clamp(28px, 5vw, 36px);
    color: #103440;
    margin-bottom: 10px;
}

.team-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 0 auto;
}

.team-member {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 20px;
    color: #103440;
    margin-bottom: 8px;
}

.team-member p {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
}

/* Equipamentos */
.equipamentos-fotos {
    margin: 60px 0;
    padding: 0 20px;
}

.equipamentos-fotos h2 {
    text-align: center;
    color: #103440;
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 40px;
}

.equipamentos-galeria {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.equipamento-item {
    perspective: 1000px;
    width: 280px;
    height: 350px;
    margin: 20px;
}

.equipamento-card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s cubic-bezier(.77,0,.18,1);
    transform-style: preserve-3d;
}

.equipamento-item:hover .equipamento-card {
    transform: rotateY(180deg);
}

.equipamento-front, .equipamento-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(16,52,68,0.10);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.equipamento-front img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

.equipamento-front p {
    font-size: 18px;
    color: #103440;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.equipamento-back {
    transform: rotateY(180deg);
    background: #e6f2fa;
    color: #103440;
    font-size: 16px;
    text-align: center;
}

.equipamento-back p {
    line-height: 1.5;
}

.equipamento-item.flipped .equipamento-card {
    transform: rotateY(180deg);
}

/* Carrossel */
.carousel-container {
    text-align: center;
    padding: 60px 20px;
    background-color: white;
    color: #103440;
}

.carousel-title {
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 10px;
}

.carousel-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-image {
    width: clamp(100px, 15vw, 150px);
    height: clamp(100px, 15vw, 150px);
    object-fit: contain;
    border-radius: 10px;
    background-color: white;
    padding: 10px;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
}

.carousel-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Contato */
.contact {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-title {
    font-size: clamp(28px, 5vw, 36px);
    color: #103440;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #666;
    text-align: left;
    min-width: 250px;
}

.contact-item i {
    font-size: 24px;
    color: #103440;
}

/* Endereços */
.enderecos-cedoa {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
}

.enderecos-cedoa h2 {
    color: #103440;
    text-align: center;
    margin: 30px 0 20px;
    font-size: clamp(24px, 4vw, 32px);
}

.enderecos-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.endereco-item {
    background: #f7fafc;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(16,52,68,0.08);
    padding: 20px;
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.endereco-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 6px 18px rgba(16,52,64,0.15);
    background: #e6f2fa;
}

.endereco-info {
    margin-bottom: 12px;
    text-align: center;
}

.endereco-info h3 {
    color: #103440;
    font-size: 20px;
    margin-bottom: 6px;
}

.endereco-info p {
    color: #2d4a5a;
    font-size: 16px;
    margin: 2px 0;
    line-height: 1.4;
}

.endereco-item iframe {
    width: 100%;
    height: 180px;
    border: none;
    margin-top: 8px;
    border-radius: 10px;
}

/* Rodapé */
.footer-cedoa {
    background-color: #103440;
    color: white;
    padding: 50px 20px;
}

.container-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}

.footer-col {
    flex: 1 1 300px;
    min-width: 250px;
}

.footer-col p {
    text-align: justify;
    line-height: 1.6;
}

.footer-col h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #86c5ff;
}

.social-icons a {
    margin-right: 15px;
    font-size: 24px;
    color: #86c5ff;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ffffff;
}

.logo-footer {
    width: 120px;
    margin-bottom: 20px;
}

.button-sistema {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #103440;
    border: none;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.button-sistema:hover {
    background-color: #86c5ff;
    color: #ffffff;
}

.button-sistema:active {
    transform: scale(0.9);
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    margin-top: 0;
    font-size: clamp(20px, 4vw, 24px);
    color: #103440;
}

.modal-content .access-note {
    margin-top: 20px;
    color: #888;
    font-size: 14px;
}	
.access-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.access-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    width: 100px;
}

.acess-item p {
    margin-top: 10px;
    font-weight: bold;
}

.icon-circle {
    background-color: #103440;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.modal-content p {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    color: black
}

.custom-icon {
    width: 24px;
    height: 24px;
}


.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

/* Modal Novidades */
#modalNovidades .modal-content {
    max-width: 1000px;
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    height: 100%;
    background-color: #103440;
    flex-direction: column;
    padding: 20px;
}

.slide p {
    font-size: clamp(16px, 3vw, 24px);
    color: white;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
}

.slide img {
    max-width: 60%;
    height: auto;
    border-radius: 10px;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 10;
}

button.prev { left: 10px; }
button.next { right: 10px; }

.indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.indicators span {
    height: 10px;
    width: 10px;
    background-color: white;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.5;
}

.indicators span.active {
    opacity: 1;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        margin: 10px;
    }
    
    .title {
        font-size: clamp(24px, 6vw, 32px);
        text-align: center;
    }
    
    .logo {
        width: 60px;
    }
    
    .cfg-welcome {
        background-attachment: scroll;
        min-height: 80vh;
        padding: 20px 10px;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-content.reverse {
        flex-direction: column;
    }
    
    .section-image,
    .section-image-carrossel {
        max-width: 100%;
        min-width: auto;
    }
    
    .section-list-horizontal {
        justify-content: center;
        gap: 10px;
    }
    
    .section-list-horizontal li {
        font-size: 14px;
        padding: 8px 12px;
        flex: 1 1 auto;
        min-width: 120px;
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .equipamentos-galeria {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .equipamento-item {
        width: 100%;
        max-width: 300px;
        height: 320px;
    }
    
    .carousel-image {
        width: 80px;
        height: 80px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .enderecos-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .endereco-item {
        max-width: 100%;
    }
    
    .container-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .fixed-button {
        padding: 15px;
        font-size: 16px;
        right: 10px;
        bottom: 10px;
    }
    
    .slider {
        height: 300px;
    }
    
    .slide {
        flex-direction: column-reverse;
        padding: 15px;
    }
    
    .slide img {
        max-width: 80%;
        margin-bottom: 15px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 15px;
    }
}

/* Responsividade Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .title {
        font-size: 40px;
    }
    
    .cfg-welcome-title {
        font-size: 60px;
    }
    
    .cfg-welcome-text {
        font-size: 24px;
    }
    
    .section-content {
        flex-direction: column;
    }
    
    .section-content.reverse {
        flex-direction: column;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .equipamentos-galeria {
        justify-content: center;
    }
    
    .equipamento-item {
        width: 250px;
        height: 320px;
    }
}