/* RESET E CONFIGURAÇÕES GLOBAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

:root {
    --primary-color: #1E3461; /* Azul Escuro Elegante */
    --bg-dark: #121212;
    --bg-card: #1C1C1C;
    --text-light: #EAEAEA;
    --text-muted: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ESTILOS DE ANIMAÇÃO */
.animar {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animar.visivel {
    opacity: 1;
    transform: translateY(0);
}
.servicos-grid .animar:nth-child(2), .depoimentos-grid .animar:nth-child(2) { transition-delay: 0.1s; }
.servicos-grid .animar:nth-child(3) { transition-delay: 0.2s; }
.servicos-grid .animar:nth-child(4) { transition-delay: 0.3s; }
.servicos-grid .animar:nth-child(5) { transition-delay: 0.4s; }


/* CABEÇALHO */
#header {
    width: 100%;
    height: var(--header-height);
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
#header .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
}
#nav-menu ul {
    display: flex;
    gap: 30px;
}
#nav-menu a {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
}
#nav-menu a:hover {
    color: var(--text-light);
}

/* SEÇÃO HERO */
#hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: left;
    padding: calc(var(--header-height) + 60px) 0 60px 0;
    background: radial-gradient(ellipse at 50% -20%, rgba(30, 52, 97, 0.15), var(--bg-dark) 70%);
}
#hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 650px;
}
#hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 40px;
}
.btn-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-cta:hover {
    background-color: #15284d;
    transform: translateY(-3px);
}

/* ESTILOS DE SEÇÃO */
section {
    padding: 100px 0;
    overflow: hidden;
}
.section-label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 14px;
}
.section-title {
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 38px;
    color: var(--text-light);
    font-weight: 700;
    max-width: 600px;
}
#quem-somos .section-title, #quem-somos .description { text-align: center; }
#quem-somos .section-title h2, #quem-somos .description { margin-left: auto; margin-right: auto; }
#quem-somos .description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
}

/* SERVIÇOS */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.servico-item {
    background: var(--bg-card);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: block;
    color: inherit;
}
.servico-item:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 52, 97, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.servico-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.servico-item h3 {
    font-size: 22px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
}
.servico-item p {
    color: var(--text-muted);
    font-size: 15px;
}

/* DEPOIMENTOS */
#depoimentos { background-color: var(--bg-card); }
.depoimentos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.depoimento-card {
    background-color: var(--bg-dark);
    padding: 35px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: block;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.depoimento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 52, 97, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.depoimento-card .stars {
    color: #f39c12;
    margin-bottom: 20px;
    font-size: 16px;
}
.depoimento-card p {
    font-size: 17px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.depoimento-card h4 {
    font-weight: 600;
    color: var(--text-light);
}

/* CHAMADA PARA AÇÃO (CTA) - CONTATO */
#contato { text-align: center; }
#contato .container {
    max-width: 700px;
    margin: auto;
}
#contato h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}
#contato p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}
#contato .btn-cta i { margin-right: 10px; }

/* RODAPÉ */
#footer {
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}
#footer a {
    color: var(--primary-color);
    font-weight: 600;
}

/* BOTÕES FLUTUANTES */
#floating-action-buttons {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 15px;
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, 100px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
#floating-action-buttons.visible {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}
.fab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.fab-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    border-color: var(--primary-color);
}
.fab-whatsapp {
    height: 50px;
    padding: 0 25px;
    border-radius: 50px;
}
.fab-whatsapp i {
    font-size: 20px;
    margin-right: 12px;
    color: #25D366;
}
.fab-top {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    font-size: 18px;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    #hero, #quem-somos .section-title, #quem-somos .description, .section-title { text-align: center; }
    #hero h1, #hero p, .section-title h2 { max-width: 100%; margin-left: auto; margin-right: auto; }
    #nav-menu { display: none; }
    #header .container { justify-content: center; }
    #hero h1, .section-title h2, #contato h2 { font-size: 34px; }
    .depoimentos-grid { grid-template-columns: 1fr; }
    #floating-action-buttons { bottom: 20px; gap: 10px; }
    .fab-whatsapp span { display: none; }
    .fab-whatsapp { width: 50px; height: 50px; border-radius: 50%; padding: 0; }
    .fab-whatsapp i { margin-right: 0; }
}