﻿:root {
    --bg: #eef3fb;
    --surface: #ffffff;
    --text: #0f2740;
    --muted: #5f718f;
    --primary: #003366;
    --primary-soft: #0b4a82;
    --primary-lift: #0f3f7f;
    --border: rgba(0, 51, 102, 0.12);
    --shadow: 0 22px 50px rgba(0, 33, 74, 0.08);
    --shadow-soft: 0 18px 35px rgba(0, 33, 74, 0.10);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(0, 51, 102, 0.25);
    outline-offset: 2px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 51, 102, 0.08), transparent 22%),
                radial-gradient(circle at bottom right, rgba(11, 74, 130, 0.08), transparent 20%);
    pointer-events: none;
    z-index: -1;
}

header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 51, 102, 0.08);
    box-shadow: 0 18px 40px rgba(0, 33, 74, 0.08);
}

.logo img {
    max-height: 48px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    align-items: center;
}

nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.96rem;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

nav a:hover,
nav a:focus {
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-orcamento,
.btn-principal,
button[type='submit'] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 16px 32px rgba(0, 33, 74, 0.16);
}

.btn-orcamento:hover,
.btn-principal:hover,
button[type='submit']:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(0, 33, 74, 0.18);
}

.hero {
    min-height: 88vh;
    padding: 6rem 2rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 51, 102, 0.72), rgba(0, 33, 74, 0.82)),
                url('imagens/hero-bg.jpg') center/cover no-repeat;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 0 1rem;
}

.hero .eyebrow {
    display: inline-block;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1.2rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.88);
}

section {
    padding: 5rem 2rem;
    max-width: 1180px;
    margin: 0 auto;
}

section:nth-of-type(even) {
    background: #f7f9fc;
}

section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
}

section p {
    max-width: 760px;
    margin: 0.85rem auto 0;
    color: var(--muted);
    text-align: center;
    font-size: 1.02rem;
}

.servicos-grid,
.galeria,
.depoimentos-grid {
    display: grid;
    gap: 1.75rem;
    margin-top: 2.5rem;
}

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

.galeria {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.galeria img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .servico-item,
    .depoimento-item,
    .contato-card,
    .info-contato {
        background: var(--surface);
        border-radius: 28px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 24px 48px rgba(0, 33, 74, 0.08);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .servico-item:hover,
    .depoimento-item:hover,
    .contato-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 28px 58px rgba(0, 33, 74, 0.12);
    }

    .servico-icon {
        width: 100%;
        aspect-ratio: 16 / 9;
        margin: 0;
        border-radius: 0;
        background: #f5f8fd;
        overflow: hidden;
    }

    .servico-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .servico-item h3,
    .depoimento-item cite,
    .info-contato h3 {
        color: var(--primary);
    }

    .servico-item h3 {
        font-size: 1.45rem;
        font-weight: 800;
        margin: 1.5rem 20px 1rem;
    }

    .servico-item p {
        color: var(--muted);
        line-height: 1.8;
        margin: 0 20px 1.5rem;
    }

    .btn-secundario {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: calc(100% - 40px);
        margin: 0 20px 20px;
        padding: 0.95rem 1.4rem;
        color: var(--primary);
        background: transparent;
        border: 1px solid var(--primary);
        border-radius: 999px;
        font-weight: 700;
        transition: all 0.25s ease;
    }

    .btn-secundario:hover {
        background: var(--primary);
        color: #ffffff;
        transform: translateY(-2px);
        border-color: var(--primary);
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.galeria img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 45px rgba(0, 33, 74, 0.14);
}

.depoimentos-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.depoimento-item {
    padding: 2rem;
    border-left: 4px solid var(--primary-soft);
}

.depoimento-item p {
    color: #243a58;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.depoimento-item cite {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

#sobre p {
    max-width: 860px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.contato-container {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contato-card,
.info-contato {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 2.2rem;
}

.contato-container label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--primary);
}

.contato-container input,
.contato-container select,
.contato-container textarea {
    width: 100%;
    padding: 1rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 51, 102, 0.14);
    background: #f8fafd;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contato-container input:focus,
.contato-container select:focus,
.contato-container textarea:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.08);
}

.contato-container textarea {
    min-height: 140px;
    resize: vertical;
}

.info-contato h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.info-contato p {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

#cta {
    background: linear-gradient(135deg, #003366 0%, #0b4a82 100%);
    color: #fff;
    padding: 4rem 2rem;
    border-radius: 28px;
    box-shadow: var(--shadow);
    text-align: center;
    margin: 3rem auto 0;
}

#cta p {
    color: rgba(255,255,255,0.88);
    max-width: 720px;
    margin: 1rem auto 2rem;
}

.site-footer {
    background: #222;
    color: #e7ebf3;
    padding: 4rem 2rem 2.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1180px;
    margin: 0 auto;
}

.footer-brand img {
    max-width: 150px;
    margin-bottom: 1.25rem;
    filter: brightness(0) saturate(100%) invert(100%);
}

.footer-brand p {
    color: #c1c8d7;
    line-height: 1.85;
    font-size: 0.98rem;
}

.footer-links h3,
.footer-contact h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b7c5e0;
    transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #ffffff;
}

.footer-contact p {
    color: #c1c8d7;
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1180px;
    margin: 2.5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    color: #8f9cb5;
    margin: 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.social-links a {
    color: #ffffff;
    background: rgba(255,255,255,0.08);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 22px 38px rgba(37, 211, 102, 0.24);
    z-index: 1000;
    transition: transform 0.34s ease, box-shadow 0.34s ease;
    animation: whatsapp-pulse 2.8s ease-in-out infinite;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 24px 42px rgba(37, 211, 102, 0.32);
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 22px 38px rgba(37, 211, 102, 0.24);
    }
    50% {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 24px 44px rgba(37, 211, 102, 0.28);
    }
}

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

.fade-in {
    animation: fadeInUp 0.9s ease-out;
}

@media (max-width: 1080px) {
    header {
        padding: 1rem 1.5rem;
    }

    .contato-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .hero {
        padding: 5rem 1.5rem 4rem;
        min-height: 72vh;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 6vw, 3.4rem);
    }

    .servicos-grid,
    .galeria,
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    header {
        padding: 1rem 1rem;
    }

    .logo img {
        max-height: 42px;
    }

    nav ul {
        gap: 0.8rem;
    }

    .btn-orcamento,
    .btn-principal,
    button[type='submit'] {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 4.2rem 1.2rem 3.5rem;
    }

    .hero p,
    section p {
        font-size: 1rem;
    }

    .contato-card,
    .info-contato,
    .servico-item,
    .depoimento-item {
        padding: 1.6rem;
        border-radius: 22px;
    }

    .contato-container {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        display: none;
    }

    header {
        justify-content: space-between;
    }

    section {
        padding: 2.5rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 0.98rem;
    }

    .contato-container label {
        font-size: 0.95rem;
    }

    .contato-container input,
    .contato-container select,
    .contato-container textarea {
        padding: 0.95rem 0.95rem;
    }
}
