
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; 
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; 
    padding: 10px 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: transparent;
    backdrop-filter: blur(0px);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; 
}

.logo img {
    height: 250px; 
    transition: transform 0.3s ease;
    padding-top: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 60px;
}

nav a {
    padding-top: 10px;
    text-decoration: none;
    color: #9C6B2F;
    font-weight: 700;
    transition: color 0.3s ease;
}

/* Classes adicionadas dinamicamente pelo JS professor */
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    height: 80px; 
}

.header-scrolled .logo img {
    height: 70px; 
}


.hero-banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)),
                url('img/DLbackground.jpeg') center/cover no-repeat;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
}

.cta-button, .cta-button-large {
    background: white;
    color: #9C6B2F;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button-large:hover {
    background: transparent;
    border-color: white;
    transform: translateY(-3px);
}

.cta-button:hover {
    background: transparent;
    border-color: white;
    transform: translateY(-3px);
}


.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    
    padding-bottom: 15px;
    color: #2a2a2a; 
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #D3A361; 
}

/* Seção de Serviços */
.servicos-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servico-card-link { 
    text-decoration: none; 
    color: inherit; 
    display: block; 
}

.servico-card {
    background: #F6F1E7;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.servico-card h3 {
    font-size: 1.4rem;
    color: #9C6B2F;
    margin-bottom: 15px;
}

.servico-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}


.about-section {
    padding: 100px 0;
    background: #f8f9fa;
    color: #D3A361;
}

.about-section .section-title {
    
    margin-bottom: 30px; 
}

.about-section .section-title::after {
    background: #D3A361; 
}

.split-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 0 0 40%; 
    max-width: 400px; 
    margin: 0 auto; 
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1; 
    text-align: left; 
    line-height: 1.8;
    font-size: 1rem;
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
}



.team-section {
    padding: 100px 0;
    background: #f8f9fa; 
}

.team-section .section-title {
    color: black; 
    margin-bottom: 60px; 
}

.team-section .section-title::after {
    background: #D3A361; 
}


.team-member-detail {
    margin-bottom: 80px; 
    padding: 40px; 
    background: #F6F1E7; 
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    align-items: center;
}

.team-member-detail:last-child {
    margin-bottom: 0; 
}

.team-member-detail .member-image {
    flex: 0 0 40%; 
    max-width: 400px; 
    margin: 0 auto; 
}

.team-member-detail .member-image .profile-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-member-detail .member-content {
    flex: 1; /* Ocupa o restante do espaço */
    text-align: left; /* Alinha o texto à esquerda */
    line-height: 1.8;
    font-size: 1.1rem;
    color: black;
}

.team-member-detail .member-content h3 {
    font-size: 2rem;
    color: #9C6B2F; /* Cor do título do membro */
    margin-bottom: 10px;
}

.team-member-detail .member-content .role {
    font-size: 1.2rem;
    color: black;
    margin-bottom: 20px;
    font-weight: 600;
}

.team-member-detail .member-content p {
    margin-bottom: 15px;
}


.reverse-layout {
    flex-direction: row-reverse;
}
i{
    padding-top: 20px;
    font-size: 30px;

}


@media (max-width: 992px) {
    .team-member-detail.split-layout {
        flex-direction: column; 
        text-align: center;
    }
    .team-member-detail .member-image {
        margin-bottom: 30px;
    }
    .team-member-detail .member-content {
        text-align: center;
    }
    .reverse-layout {
        flex-direction: column; /* Garante que também empilhe em telas menores */
    }
}

.contact-section {
    padding: 100px 0;
    background: #133B3F; 
}

.contact-section .section-title {
    color: white; 
}

.contact-section .section-title::after {
    background: #D3A361; 
}

.contact-info {
    display: flex; 
    justify-content: center;
    gap: 50px; 
    margin-bottom: 40px;
    color: #D3A361;
    text-align: center;
}

.contact-method h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-method p {
    font-size: 1.1rem;
    padding-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px; 
    background: white; 
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

form label {
    margin: 10px 0 5px;
    color: #333;
    font-weight: 600;
}

form input,
form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: #D3A361;
    outline: none;
}

form button {
    background: #D3A361;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

form button:hover {
    background: #b88a4e; /* Tom mais escuro ao hover */
    transform: translateY(-2px);
}


footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .split-layout {
        flex-direction: column;
        text-align: center;
    }
    .about-image {
        margin-bottom: 30px;
    }
    .about-content {
        text-align: center;
    }
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        height: auto;
    }
    .logo img {
        height: 100px;
    }
    .header-scrolled .logo img {
        height: 60px;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    nav a {
        padding-top: 5px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .servicos-grid, .team-grid {
        grid-template-columns: 1fr; 
    }
    .servico-card, .membro {
        max-width: 100%;
    }
    .section-title {
        font-size: 1.8rem;
    }
    form {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .cta-button, .cta-button-large {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .servico-card h3 {
        font-size: 1.2rem;
    }
    .servico-card p {
        font-size: 0.9rem;
    }
   
}
#submit_button{
    background-color: #9C6B2F;
}

.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #9C6B2F;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 20px;
        background-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        top: 80px;
        right: 20px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* Só no mobile: logo e menu lado a lado */
@media (max-width: 768px) {
  .header-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    flex: 1;
    display: flex;
    align-items: center;
  }

  .logo img {
    height: 60px;
    width: auto;
  }

  #hamburger {
    margin-left: auto;
  }

  nav {
    position: absolute;
    top: 80px;
    right: 20px;
    z-index: 999;
  }

  nav ul {
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
}

.contact-method a.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 1.1rem; /* mesmo tamanho do texto normal */
}

.contact-method a.whatsapp-link i {
    font-size: 1.6rem; /* ícone do tamanho do texto */
    color: #25D366; /* verde WhatsApp */
    padding-bottom: 20px;
    
}