/* Reset simples */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Cabeçalho */
header {
    background-color: white;
    color: #314a64;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header a {
    color: inherit;
    text-decoration: none;
}

header a:visited {
    color: inherit;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

nav a {
    color: #314a64;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #cbd3e0, #314a64);
    /* background: white; */
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #080808;
    font-family: "Work Sans", sans-serif;
    font-weight: bold;
}

.hero p {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #080808;
}

.hero button {
    background: #cfa73d;
    border: none;
    padding: 15px 30px;
    color: white;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: "Roboto", sans-serif;
}

.hero button:hover {
    background: #a58609;
}

/* About us Section */

.hero-bg {
    background: #314a64;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    min-height: 400px;
    color: white;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-content h2 {
    color: white;
    margin-bottom: 20px;
    margin: 0 0 10px;
    font-size: 40px;
    font-family: "Work Sans", sans-serif;
}


.hero-content p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
}

.hero-image {
    flex: 1;
    max-width: 50%;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

/* team section */

.equipe-section {
    padding: 0px 100px;
    background-color: #314a64;
    color: white;
}

.equipe-item {
    display: flex;
    margin: 40px 0;
    padding: 20px;
    position: relative;
    overflow: visible;
}

.equipe-img {
    flex: 0 0 auto;
    position: relative;

}

.equipe-img img {
    width: 200px;
    height: auto;
    object-fit: cover;
    position: relative;
    top: -40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

.equipe-info {
    flex: 1;
    padding-left: 20px;
}

.equipe-info h3 {
    margin: 0 0 10px;
    font-size: 40px;
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
}

.equipe-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
    font-family: "Roboto", sans-serif;
}


@media (max-width: 768px) {
    .equipe-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .equipe-img img {
        top: -20px;
        width: 150px;
    }

    .equipe-info {
        padding-left: 0;
        margin-top: -10px;
    }
}

.assinatura {
    position: absolute;
    font-family: "Shadows Into Light", cursive;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    z-index: 10;
    top: 210px;
    left: 10px;
    transform: rotate(-2deg);
    pointer-events: none;

}

@keyframes blink {

    0%,
    50%,
    100% {
        border-color: transparent;
    }

    25%,
    75% {
        border-color: #fff;
    }
}

.assinatura span {
    animation: blink 0.8s step-end infinite;
}

/* Seções */
section {
    padding: 60px 20px;
}

h2 {
    color: #cfa73d;
    text-align: center;
    margin-bottom: 40px;
    font-size: 40px;
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background-color: white;
    padding: 10px ;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 16px;
}

/* Rodapé e Contato */
footer {
    background-color: #314a64;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer p {
    margin: 10px 0;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
}

footer i {
    margin-right: 8px;
    color: #cfa73d;
}

.social {
    margin-top: 15px;
}

.social a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social a:hover {
    color: #d4b125;
}

/* Links de chamada */
.cta-link {
    display: inline-block;
    margin-top: 20px;
    background: #cfa73d;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.cta-link:hover {
    background: #a58609;
}

/* Serviços */
.servicos-pill {
    text-align: center;
    padding: 60px 210px;
    max-width: 1200px;
    margin: 0 auto;
}

.servicos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.pill {
    display: inline-block;
    background-color: #314a64;
    color: white;
    padding: 20px 24px;
    margin: 10px;
    border-radius: 999px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-family: "Roboto", sans-serif;
}

.pill:hover {
    background-color: #1d3745;
    transform: translateY(-2px);
}

.font-title {
    color: #cfa73d;
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 300;
}

/* cookie */

.cookie-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #314a64;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    max-width: 600px;
    margin: auto;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 10px;
    font-family: "Roboto", sans-serif;
}

.cookie-toast a {
    color: #cfa73d;
    text-decoration: underline;
    font-family: "Roboto", sans-serif;
}

.cookie-toast button {
    background-color: #cfa73d;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
}

.cookie-toast button:hover {
    background: #a58609;
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-conteudo {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.fechar {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.fechar:hover {
    color: #000;
}

.shadows-into-light-regular {
    font-family: "Shadows Into Light", cursive;
    font-weight: 400;
    font-style: normal;
}

/* Media Queries */

/* Tablet */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    nav.active {
        display: flex;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-bg {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-content,
    .hero-image {
        max-width: 100%;
        width: 100%;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    h2 {
        font-size: 2rem;
    }

    .servicos-pill {
        padding: 60px 20px;
    }

    .cookie-toast {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cookie-toast p {
        margin-bottom: 10px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    header {
        padding: 15px;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .hero-bg {
        padding: 30px 15px;
    }

    section {
        padding: 40px 15px;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .pill {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 5px;
    }

    .equipe-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 20px;
    }

    footer {
        padding: 30px 15px;
    }

    footer iframe {
        height: 150px;
    }

    .social a {
        font-size: 1.5rem;
        margin: 0 10px;
    }

    .modal-conteudo {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }

    .cookie-toast {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 15px;
    }
}

/* Muito pequeno */
@media (max-width: 320px) {
    .hero h2 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .pill {
        display: block;
        margin: 5px auto;
        max-width: 280px;
    }
}

 /* Seção de vídeo */
 .video-section {
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.video-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 300;
    font-family: 'Work Sans', sans-serif;
    color: #cfa73d;
}

.video-section p {
    font-family: "Roboto", sans-serif;
    color: black;
    font-size: 14px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Container do vídeo */
.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: #000;
}

/* Vídeo */
.video-player {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-player.playing {
    opacity: 1;
}

/* Capa do vídeo */
.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/imagens/LOGO\ 1\ \(2\).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-cover.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
}

/* Overlay escuro sobre a capa */
.video-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.video-cover:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

/* Botão de play */
.play-button {
    position: relative;
    z-index: 11;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.play-button i {
    font-size: 2rem;
    color: #333;
    margin-left: 4px; 
}

/* Pulse animation */
.play-button::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Controles customizados do vídeo */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    display: none;
    z-index: 20;
}

.video-controls.visible {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.control-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Barra de progresso */
.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #667eea;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

/* Indicador de tempo */
.time-display {
    color: white;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

/* Loading spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    z-index: 15;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsividade */
@media (max-width: 768px) {
    .video-section {
        padding: 60px 15px;
    }

    .video-section h2 {
        font-size: 2rem;
    }

    .video-section p {
        font-size: 1rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 1.5rem;
    }

    .video-controls {
        padding: 15px 10px;
        gap: 10px;
    }

    .control-button {
        font-size: 1rem;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .video-section h2 {
        font-size: 1.5rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }

    .play-button i {
        font-size: 1.2rem;
    }
}

/* seção depoimentos */
.depoimentos {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.equipe-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.equipe-card {
    position: relative;
    flex: 0 0 calc(33.333% - 30px);
    /* 3 por linha */
    max-width: calc(33.333% - 30px);
    height: 320px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.equipe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipe-card .nome {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
}

@media (max-width: 992px) {
    .equipe-card {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .equipe-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


