/* CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --azul-escuro: #0f2042;
    --azul-claro: #1d3557;
    --dourado: #b89244;
    --dourado-hover: #dfb65f;
    --cinza-claro: #f4f6f9;
    --texto: #333333;
    --branco: #ffffff;
}

body {
    color: var(--texto);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* CABEÇALHO */
header {
    background-color: rgba(15, 32, 66, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--branco);
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--dourado);
}

/* Animação contínua no ícone da logo */
.animated-logo {
    color: var(--dourado);
    animation: pulseIcon 3s infinite ease-in-out;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

nav a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

/* Linha animada sob o menu */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dourado);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--dourado);
}

.btn-contato-nav {
    background-color: var(--dourado);
    padding: 8px 18px;
    border-radius: 4px;
    color: var(--azul-escuro) !important;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(184, 146, 68, 0.3);
    transition: all 0.3s ease !important;
}

.btn-contato-nav::after { display: none; }

.btn-contato-nav:hover {
    background-color: var(--branco);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
}

/* BANNER PRINCIPAL COM MOVIMENTO */
.hero {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    color: var(--branco);
    overflow: hidden;
}

/* Fundo com efeito de zoom lento e gradiente */
.hero-bg-animated {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(15, 32, 66, 0.8), rgba(15, 32, 66, 0.8)), url('https://unsplash.com') no-repeat center center/cover;
    z-index: -1;
    animation: zoomBackground 20s infinite alternate ease-in-out;
}

@keyframes zoomBackground {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 46px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 19px;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Botão pulsar */
.btn-principal {
    background-color: #25d366;
    color: var(--branco);
    padding: 16px 32px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-principal:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* SOBRE NÓS */
.sobre {
    padding: 100px 0;
    background-color: var(--branco);
}

.sobre h2 {
    font-size: 36px;
    color: var(--azul-escuro);
    margin-bottom: 25px;
}

.sobre h2 strong {
    color: var(--dourado);
}

.sobre p {
    margin-bottom: 20px;
    font-size: 17px;
    color: #555;
}

.diferenciais {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-dif {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 16px;
}

.item-dif i {
    color: var(--dourado);
    font-size: 20px;
}

/* SERVIÇOS CORES E HOVER ANIMADOS */
.servicos {
    padding: 100px 0;
    background-color: var(--cinza-claro);
    text-align: center;
}

.titulo-secao {
    font-size: 36px;
    color: var(--azul-escuro);
    margin-bottom: 10px;
}

.subtitulo-secao {
    color: #666;
    margin-bottom: 60px;
    font-size: 16px;
}

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card-servico {
    background-color: var(--branco);
    padding: 45px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.card-servico::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background-color: var(--dourado);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-servico:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 32, 66, 0.1);
}

.card-servico:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--cinza-claro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: all 0.3s ease;
}

.card-servico i {
    font-size: 32px;
    color: var(--azul-escuro);
    transition: all 0.3s ease;
}

.card-servico:hover .icon-box {
    background-color: var(--azul-escuro);
}

.card-servico:hover .icon-box i {
    color: var(--branco);
    transform: rotateY(180deg);
}

.card-servico h3 {
    margin-bottom: 15px;
    color: var(--azul-escuro);
    font-size: 20px;
}

.card-servico p {
    color: #666;
    font-size: 15px;
}

/* CONTATO */
.contato {
    padding: 100px 0;
    background-color: var(--branco);
}

.contato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 20px;
}

.info-contato {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.item-contato {
    display: flex;
    align-items: center;
    gap: 20px;
}

.item-contato i {
    font-size: 22px;
    color: var(--dourado);
    background-color: var(--cinza-claro);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.item-contato:hover i {
    background-color: var(--dourado);
    color: var(--branco);
    transform: scale(1.1);
}

.item-contato h4 {
    color: var(--azul-escuro);
    font-size: 18px;
}

.form-contato {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-contato input, .form-contato textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: var(--cinza-claro);
}

.form-contato input:focus, .form-contato textarea:focus {
    outline: none;
    border-color: var(--azul-escuro);
    background-color: var(--branco);
    box-shadow: 0 0 10px rgba(15, 32, 66, 0.1);
}

.btn-enviar {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(15, 32, 66, 0.2);
    transition: all 0.3s ease;
}

.btn-enviar:hover {
    background-color: var(--azul-claro);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 32, 66, 0.3);
}

/* RODAPÉ */
footer {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 40px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.rodape-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.redes-sociais a {
    color: var(--branco);
    font-size: 20px;
    margin-left: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.redes-sociais a:hover {
    color: var(--dourado);
    transform: translateY(-3px);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    header { padding: 20px 0; }
    .header-container { flex-direction: column; gap: 15px; }
    nav ul { gap: 15px; font-size: 14px; }
    .hero { height: 60vh; text-align: center; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .sobre { padding: 60px 0; }
    .servicos { padding: 60px 0; }
    .contato { padding: 60px 0; }
    .contato-container { grid-template-columns: 1fr; gap: 40px; }
    .rodape-container { flex-direction: column; gap: 20px; text-align: center; }
    .redes-sociais a { margin: 0 10px; }
}
