:root {
    --primary-color: #1a365d;
    --secondary-color: #8b7355;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1a365d;
    height: 40px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* height: 100%; */
 }

 .nav-links {
    display: flex;
    list-style: none;
    gap: 10px;

}

.nav-links a {
    align-items: center;
    text-decoration: none;
    color: #3a4a6b;
    padding: 8px 15px;
    transition: background-color 0.5s;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: white;
}



 .lologo{
    display: flex;
    justify-content: center;
    align-items: center;
 }

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

.logo img{
    width: 40px;
    height: auto;
}

.logo span{
    font-size: 20px;
    font-weight: 600;
    color: #1b2a4a;
    white-space: nowrap;
}

.logo a{
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    color:#1a1a3a;
}


/* Main e Inicio */
main {
    display: grid;
    grid-template-columns: 1fr min(90%, 1200px) 1fr;
    background: linear-gradient(135deg, #0a0a23 0%, #1a1a3a 100%);
    min-height: 100vh;
    padding-top: 60px;
}

.inicio {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 40px);
    text-align: center;
    padding: 20px;
}

.container-inicio {
    max-width: 800px;
    margin: 0 auto;
}

.inicio h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInDown 1s ease;
}

.destaque {
    color: #00d4ff;
    position: relative;
    display: inline-block;
}

.destaque::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.inicio p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.inicio-botao {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.inicio-botao a {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-orcamento {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-orcamento:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--secondary-color);
}

.btn-projetos {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-projetos:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Serviços */
.servicos {
    padding: 80px 0;
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr min(90%, 1200px) 1fr;
}

.container-servicos {
    grid-column: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.servico-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.servico-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.servico-content {
    padding: 25px;
}

.servico-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.servico-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--secondary-color);
    border:2px solid var(--white);
    color: var(--white);
}


/* ============ SOBRE NÓS ============ */
.sobre {
    padding: 80px 0;
    background: var(--gray-light);
    display: grid;
    grid-template-columns: 1fr min(90%, 1200px) 1fr;
}

.container-sobre {
    grid-column: 2;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-content h2 {
    text-align: left;
    margin-bottom: 30px;
}

.sobre-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--gray);
}




/* Responsivo para Sobre */
@media (max-width: 768px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sobre-stats {
        justify-content: center;
    }
    
    .stat {
        min-width: 100px;
    }
}



/* ============ VÍDEO SOBRE ============ */
.sobre-video {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.sobre-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Responsivo para Sobre com vídeo */
@media (max-width: 768px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sobre-stats {
        justify-content: center;
    }
    
    .stat {
        min-width: 100px;
    }
}




/* ============ PROJETOS ============ */
.projetos {
    padding: 80px 0;
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr min(90%, 1200px) 1fr;
}

.container-projetos {
    grid-column: 2;
}

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

.projeto-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    cursor: pointer;
}

.projeto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.projeto-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 25px;
    transform: translateY(100%);
    transition: var(--transition);
}

.projeto-item:hover .projeto-overlay {
    transform: translateY(0);
}

.projeto-item:hover img {
    transform: scale(1.05);
}

.projeto-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.projeto-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Estilização do botão "ver ver mais projeto" */

/* Estilização do botão Ver mais projetos */
.projeto {
    text-align: center;
    margin-top: 60px;
}

.projeto a {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.projeto a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.projeto a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-color: var(--white);
}

.projeto a:hover::before {
    left: 100%;
}

.projeto a:active {
    transform: translateY(0);
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .projeto {
        margin-top: 40px;
    }
    
    .projeto a {
        padding: 12px 30px;
        font-size: 0.9rem;
        width: auto;
        min-width: 200px;
    }
}





/* Responsivo para projetos */
@media (max-width: 768px) {
    .projetos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .projeto-item {
        height: 250px;
    }
    
    .projeto-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        padding: 15px;
    }
    
    .projeto-overlay h4 {
        font-size: 1rem;
    }
}

/* ============ CONTACTO ============ */
.contacto {
    padding: 80px 0;
    background: var(--gray-light);
    display: grid;
    grid-template-columns: 1fr min(90%, 1200px) 1fr;
}

.container-contacto {
    grid-column: 2;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 50px;
}

.contacto-info {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contacto-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

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

.info-icon {
    font-size: 1.5rem;
    min-width: 40px;
    text-align: center;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.info-item p {
    color: var(--gray);
    line-height: 1.5;
}

.btn-whatsapp-contacto {
    display: inline-block;
    background: #25d366;
    color: var(--white);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    margin-top: 20px;
    width: 100%;
}

.btn-whatsapp-contacto:hover {
    background: #128c7e;
    transform: translateY(-2px);
}



/* Responsivo para Contacto */
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacto-info,
    .contacto-form {
        padding: 25px;
    }
}

/* ============ FOOTER ============ */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 0;
    display: grid;
    grid-template-columns: 1fr min(90%, 1200px) 1fr;
}

.container-footer {
    grid-column: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a3a;
}

.footer-brand span {
    color: var(--secondary-color);
}

.footer-brand p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-links h4,
.footer-servicos h4,
.footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links h4::after,
.footer-servicos h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--secondary-color);
}

.footer-servicos p {
    opacity: 0.8;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-servicos p:hover {
    opacity: 1;
    padding-left: 5px;
}


.footer-contacto p {
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom p:last-child {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsivo para Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-servicos h4::after,
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .footer-servicos p:hover {
        padding-left: 0;
    }
}

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

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
}

/* Estilização do menu-links-mobile */

.nav-links-mobile{
    background-color: rgba(0, 0, 0, 0.438);
    backdrop-filter: blur(10px);
    position:absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 0;
    visibility: hidden;
    transition: 0.5s;
    overflow: hidden;
}

.nav-links-mobile a{
    color: white;
    text-decoration: none;
    display: block;
    padding: 20px 30px;
    font-size: 15pt;
}

.nav-links-mobile a:hover {
    background-color: rgba(200, 214, 239, 0.521);
}

.nav-links-mobile .contacto {
    background-color: transparent;
}

/* Estilização do menu hambúrger */

.btn-menu {
    width: 30px;
    height: 30px;
    border: 1px solid transparent;
    background-color: transparent;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.5s;
}

.btn-menu:hover{
    background-color: #1b2a4a79;
}

.linha {
    width: 20px;
    height: 2px;
    background-color: black;
    display: block;
    margin: 5px auto;
    position: relative;
    transform-origin: center;
    transition: 0.3s;
}

.btn-menu.ativar{
    /* border: 1px solid red; */
}

.btn-menu.ativar .linha:nth-child(1){
    transform: translateY(10px) rotate(-45deg);
    background-color: red;
}

.btn-menu.ativar .linha:nth-child(3){
    transform: translateY(-6px) rotate(45deg);
    background-color: red;
}

.btn-menu.ativar .linha:nth-child(2){
    width: 0;
}

.nav-links-mobile.abrir{
        visibility: visible;
        height: 93.5vh;
    }


    


    /* Animação de pulsação (opcional) */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

@media(min-width: 284px) {
    .nav-links {
        display: none;
        
    }
    main {
        min-height: auto;
        padding: 80px 0 60px;
    }
    
    .inicio {
        min-height: auto;
        padding: 40px 20px;
    }
    
    .inicio h1 {
        font-size: 2rem;
    }
    
    .inicio p {
        font-size: 1rem;
    }
    
    .inicio-botao {
        gap: 20px;
    }
    
    .inicio-botao a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    
    

    

  }


@media(min-width: 768px) {


    
    .nav-links {
        display: flex;
    }

    .nav-links-mobile {
        display: none;
    }

    .btn-menu {
        display: none;
    }
    }

    .container-botao-projetos {
        flex-direction: row;
        flex-wrap: wrap;

    }
    
    .botao-projetos {
        width: calc(50% - 5px);
        flex: 1 1 auto;
    }
