* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #333;
    line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOPO PRETO ===== */
.top-header {
    background: #121722;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

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

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* REDES SOCIAIS */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 25px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.facebook { background: #3b5998; }
.maps { background: #f57c00; }
.linkedin { background: #0077b5; }
.youtube { background: #ff0000; }
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.email { background: #777; }

/* ===== MENU ===== */
.menu-bar {
    background: #676a72;
    border: 2px solid rgb(104, 104, 104);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu li {
    position: relative;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

/* DROPDOWN */
.menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #676a72;
    list-style: none;
    display: none;
    min-width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    padding-top: 5px;
    margin-top: 0;
    border-top: 3px solid #ffc107;
}

.menu li:hover > ul {
    display: block;
}

.menu li ul li {
    width: 100%;
}

.menu li ul li a {
    display: block;
    padding: 12px 20px;
    white-space: nowrap;
}

.menu li ul li a:hover {
    background: #555;
    color: #ffc107;
}

/* HAMBÚRGUER */
.hamburger {
    display: none;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
}

/* ===== SEÇÃO HERO ===== */
.hero {
    background: url('Imagens/background.png');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    min-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: #1a3344;
    color: #ffffff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

/* ===== SECTION HEADER ===== */
.section-header1, .section-header2 {
    text-align: center;
    margin-bottom: 50px;
}

.section-header1 h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #d3d3d3;
    margin-bottom: 15px;
}

.section-header2 h2 {    
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #39586D;
    margin-bottom: 15px;
}


.divider1 {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3a5681, #c0c0c0);
    margin: 0 auto;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #9e9e9e, #1f1f1f);
    margin: 0 auto;
}

/* ===== QUEM SOMOS ===== */
.quem-somos {
    padding: 80px 20px;
    background: #121722;
    color: #cacaca;
}

.quem-somos strong{
    color: #ffffff;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.image-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== SERVIÇOS ===== */
.servicos {
    padding: 80px 20px;
    background: #fff;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.servico-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.servico-card .icon {
    font-size: 48px;
    color: #39586D;
    margin-bottom: 20px;
}

.servico-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.servico-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ===== PARCEIROS ===== */
.parceiros {
    padding: 80px 20px;
    background: #f9f9f9;
}

.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.parceiro-logo {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

.parceiro-logo img {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.parceiro-logo:hover img {
    filter: grayscale(0%);
}

/* ===== DEPOIMENTOS ===== */
.depoimentos {
    padding: 80px 20px;
    background: #121722;
}

.depoimentos-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.depoimento-card {
    background: #223042;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.depoimento-card img{
    height: 20%;
    width: 20%;
}

.stars {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 20px;
}

.depoimento-card p {
    font-size: 16px;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.8;
}

.depoimento-card h4 {
    font-size: 18px;
    color: #cecece;
    margin-bottom: 5px;
}

.depoimento-card span {
    font-size: 14px;
    color: #999;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-controls button {
    background: #223042;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-controls button:hover {
    background: #c7a021;
    box-shadow: 0 4px 12px rgba(218, 181, 61, 0.1);
}

.porto-elite{
    padding: 80px 20px;
    background: #121722;
}

.porto-elite h1 {
    color:rgb(241, 205, 0);
}

.porto-elite p {
    color: #ffffff;
}

.porto-elite strong{
    color: rgb(241, 205, 0);
}

/* ===== VÍDEO ===== */
.video-section {
    padding: 80px 20px;
    background: #121722;
}



.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);

}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== SEÇÃO VÍDEOS YOUTUBE ===== */
.videos-youtube {
    padding: 80px 20px;
    background: #D2D7DB;
}

.videos-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsivo para vídeos */
@media (max-width: 1200px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .videos-carousel {
        max-width: 100%;
    }
}

/* ===== CONTATO ===== */
.contato {
    padding: 80px 20px;
    background: #fff;
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 32px;
    color: #39586D;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.info-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contato-form input,
.contato-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s ease;
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contato-form textarea {
    resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
    background: #121722;
    color: #fff;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffc107;
}

.social-footer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-footer a {
    width: 36px;
    height: 36px;
    background: #333e46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s ease;
}

.social-footer a:hover {
    background: #323e72;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    color: #999;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffc107;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .contato-wrapper {
        grid-template-columns: 1fr;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #676a72;
        margin-top: 15px;
        padding: 10px 0;
        border-radius: 5px;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        width: 100%;
    }

    .menu li a {
        display: block;
        padding: 12px 20px;
    }

    .menu li ul {
        position: static;
        background: #5a5d63;
        border-top: none;
        padding: 0;
        display: none !important;
    }

    .menu li ul.submenu-open {
        display: block !important;
    }

    .menu li ul li a {
        padding-left: 35px;
    }

    /* Seta indicadora de submenu no mobile */
    .menu > li.has-submenu > a::after {
        content: ' ▼';
        font-size: 10px;
        margin-left: 5px;
    }

    .menu > li.has-submenu.submenu-active > a::after {
        content: ' ▲';
    }

    .hamburger {
        display: block;
    }

    .menu-bar {
        flex-wrap: wrap;
    }

    .top-header {
        justify-content: center;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 80px 20px;
        background-attachment: scroll;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

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

    .parceiros-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-content img {
        max-width: 100%;
        height: auto;
    }

    .depoimento-card img {
        width: 60%;
        height: auto;
    }
}

/* Fix geral para background-attachment: fixed em iOS */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}
