/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-escuro: #1a2a4a;
    --azul-escuro-hover: #152238;
    --azul-claro: #2d4a7c;
    --branco: #ffffff;
    --cinza-claro: #f5f7fa;
    --cinza: #6b7280;
    --cinza-escuro: #374151;
    --azul-gradiente: linear-gradient(135deg, #1a2a4a 0%, #2d4a7c 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--cinza-escuro);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--branco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(194deg) brightness(95%) contrast(97%);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(0) saturate(100%) invert(20%) sepia(51%) saturate(2878%) hue-rotate(194deg) brightness(85%) contrast(97%);
}

.logo-text {
    color: var(--azul-escuro);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--cinza-escuro);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--azul-escuro);
}

.btn-cliente {
    background: var(--azul-escuro);
    color: var(--branco) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn-cliente:hover {
    background: var(--azul-escuro-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--azul-escuro);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    background: var(--azul-gradiente);
    color: var(--branco);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 600px;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--branco);
    color: var(--azul-escuro);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--branco);
    border: 2px solid var(--branco);
}

.btn-secondary:hover {
    background: var(--branco);
    color: var(--azul-escuro);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-shape {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Seções */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--azul-escuro);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--cinza);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Serviços */
.servicos {
    background: var(--cinza-claro);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.servico-card {
    background: var(--branco);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(26, 42, 74, 0.2);
}

.servico-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.servico-card h3 {
    color: var(--azul-escuro);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.servico-card p {
    color: var(--cinza);
    line-height: 1.8;
}

/* Sobre */
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-text p {
    margin-bottom: 1.5rem;
    color: var(--cinza);
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--azul-escuro);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--cinza);
    font-size: 0.9rem;
}

.sobre-image {
    position: relative;
}

.sobre-shape {
    width: 100%;
    height: 400px;
    background: var(--azul-gradiente);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.sobre-shape::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

/* Área do Cliente */
.cliente {
    background: var(--azul-gradiente);
    color: var(--branco);
}

.cliente .section-title,
.cliente .section-subtitle {
    color: var(--branco);
}

.cliente-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.cliente-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--branco);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--branco);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--branco);
    background: rgba(255, 255, 255, 0.15);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-password {
    color: var(--branco);
    text-decoration: none;
    font-size: 0.9rem;
    float: right;
    transition: opacity 0.3s ease;
}

.forgot-password:hover {
    opacity: 0.8;
}

.login-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.login-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    display: block;
}

.login-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    display: block;
}

.cliente-features {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cliente-features h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li:last-child {
    border-bottom: none;
}

/* Contato */
.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.info-icon {
    font-size: 2.5rem;
    background: var(--azul-gradiente);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.info-item h3 {
    color: var(--azul-escuro);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--cinza);
}

.contato-form {
    background: var(--cinza-claro);
    padding: 2.5rem;
    border-radius: 15px;
}

.contato-form .form-group label {
    color: var(--cinza-escuro);
}

.contato-form .form-group input,
.contato-form .form-group textarea {
    background: var(--branco);
    color: var(--cinza-escuro);
    border: 1px solid #e5e7eb;
}

.contato-form .form-group input:focus,
.contato-form .form-group textarea:focus {
    border-color: var(--azul-escuro);
    background: var(--branco);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Footer */
.footer {
    background: var(--azul-escuro);
    color: var(--branco);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(194deg) brightness(95%) contrast(97%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(20%) sepia(51%) saturate(2878%) hue-rotate(194deg) brightness(85%) contrast(97%);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--branco);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--branco);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-shape {
        width: 300px;
        height: 300px;
        margin-top: 2rem;
    }

    .sobre-content,
    .cliente-content,
    .contato-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

