@charset "UTF-8";

@font-face {
    font-family: 'FontPlaca';
    src: url('/site/fonts/font-placa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-logo: #fcfcfc;
    --primary-blue: #2563eb;
    --dark-blue: #1d4ed8;
    --text-dark: #1a1a1a;
    --black: #0f0f0f;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* ========================
   HEADER
======================== */
header {
    background: var(--bg-logo);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

nav {
    max-width: 1280px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
}

.logo-container img {
    height: 80px;
}

.nav-center {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-center a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s;
}

.nav-center a:hover {
    color: var(--primary-blue);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn-login {
    padding: 10px 24px;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-login:hover {
    background: var(--primary-blue);
    color: #fff;
}

.btn-cadastro {
    padding: 10px 24px;
    background: var(--primary-blue);
    color: #fff;
    border: 2px solid var(--primary-blue);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-cadastro:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
}

/* Botão hamburguer — oculto no desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: 0.3s;
}

/* Menu mobile (drawer) */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-logo);
    border-top: 1px solid #eee;
    padding: 16px 24px;
    gap: 16px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.3s;
}

.mobile-menu a:hover {
    color: var(--primary-blue);
}

.mobile-menu .mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.mobile-menu .btn-login,
.mobile-menu .btn-cadastro {
    text-align: center;
    padding: 12px;
}

/* ========================
   SCROLL MARGIN
======================== */
#services, #processo, #planos, #home, #contato {
    scroll-margin-top: 100px;
}

/* ========================
   FOOTER
======================== */
footer {
    background: var(--black);
    color: #fff;
    padding: 60px 24px 30px;
}

.footer-top {
    max-width: 1280px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo-section img {
    height: 70px;
    margin-bottom: 20px;
}

.footer-logo-section p {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-contact h3, .footer-socials h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #d1d5db;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary-blue);
    font-size: 1rem;
    width: 20px;
}

.footer-contact-item a {
    color: #d1d5db;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact-item a:hover {
    color: var(--primary-blue);
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-3px);
}

.footer-menu {
    display: flex;
    justify-content: flex-end;
}

.footer-nav {
    list-style: none;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #9ca3af;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

.footer-bottom-links a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

/* ========================
   RESPONSIVO
======================== */
@media (max-width: 960px) {

    /* Header */
    .nav-center {
        display: none;
    }

    .auth-buttons {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-container img {
        height: 60px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-menu {
        justify-content: flex-start;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
}