/* ============================================
   AUGE DETAILER - LUXO DARK CINEMATOGRÁFICO
   Identidade: Azul marinho profundo + Dourado metálico
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #FFFFFF;
    background: #050B1A;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
    color: inherit;
}

ul {
    list-style: none;
}

/* === VARIÁVEIS CSS === */
:root {
    /* Cores da marca */
    --azul-profundo: #050B1A;
    --azul-marinho: #0A1A3D;
    --azul-medio: #0D2659;
    --azul-claro: #1A3A7A;
    --dourado-escuro: #8C6F3A;
    --dourado: #C8A55B;
    --dourado-claro: #E8C56C;
    --dourado-brilho: #F5D98A;
    --branco: #FFFFFF;
    --cinza-claro: #D1D5DB;
    --cinza-medio: #6B7280;
    --whatsapp: #25D366;
    --whatsapp-hover: #1DA851;

    /* Tipografia */
    --font-display: 'Bebas Neue', 'Oswald', sans-serif;
    --font-heading: 'Oswald', 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', system-ui, sans-serif;

    /* Espaçamentos */
    --container-max: 1280px;
    --section-padding: clamp(4rem, 10vw, 8rem);
    --content-padding: clamp(1.5rem, 5vw, 3rem);

    /* Sombras */
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(200, 165, 91, 0.3);
    --shadow-text: 0 2px 10px rgba(0, 0, 0, 0.5);

    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Gradientes */
    --gradient-gold: linear-gradient(135deg, #8C6F3A 0%, #C8A55B 50%, #E8C56C 100%);
    --gradient-gold-bright: linear-gradient(135deg, #C8A55B 0%, #E8C56C 50%, #F5D98A 100%);
    --gradient-blue-deep: linear-gradient(135deg, #050B1A 0%, #0A1A3D 50%, #0D2659 100%);
    --gradient-blue-subtle: linear-gradient(180deg, #0A1A3D 0%, #050B1A 100%);
}

/* === CONTAINER === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* === TIPOGRAFIA === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.1;
    text-transform: uppercase;
}

.heading-xl {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
}

.heading-lg {
    font-size: clamp(2rem, 5vw, 3.75rem);
    letter-spacing: 0.05em;
}

.heading-md {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

.text-gold {
    background: var(--gradient-gold-bright);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.subtitle-gold {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 500;
    color: var(--dourado-claro);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.subtitle-gold.section-title {
    display: block;
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--cinza-claro);
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

/* === BOTÕES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--branco);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--azul-profundo);
    font-weight: 700;
}

.btn-gold:hover {
    background: var(--gradient-gold-bright);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-gold {
    background: transparent;
    color: var(--dourado-claro);
    border: 2px solid var(--dourado);
}

.btn-outline-gold:hover {
    background: var(--gradient-gold);
    color: var(--azul-profundo);
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

.btn svg {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(5, 11, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 165, 91, 0.1);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(5, 11, 26, 0.95);
    border-bottom-color: rgba(200, 165, 91, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    line-height: 1;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform var(--transition-base), height var(--transition-base);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.logo:hover .logo-img {
    transform: scale(1.04);
}

.navbar.scrolled .logo-img {
    height: 50px;
}

@media (max-width: 768px) {
    .logo-img {
        height: 46px;
    }
    .navbar.scrolled .logo-img {
        height: 38px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    .navbar.scrolled .logo-img {
        height: 34px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cinza-claro);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--dourado-claro);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: var(--whatsapp);
    color: var(--branco) !important;
    font-size: 0.8rem !important;
    border-radius: 4px;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dourado-claro);
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === RESPONSIVO NAVBAR === */
@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--azul-profundo);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right var(--transition-base);
        border-left: 1px solid rgba(200, 165, 91, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
    }
}

/* === WHATSAPP FLUTUANTE === */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all var(--transition-base);
    animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: var(--whatsapp-hover);
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5),
                    0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5),
                    0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* === FOOTER === */
.footer {
    background: var(--azul-profundo);
    border-top: 1px solid rgba(200, 165, 91, 0.15);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.logo-img-footer {
    height: 90px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.footer-brand p {
    color: var(--cinza-claro);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 350px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--dourado-claro);
    margin-bottom: 1.25rem;
    letter-spacing: 0.1em;
}

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

.footer-col ul li a,
.footer-col ul li {
    color: var(--cinza-claro);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--dourado-claro);
}

.footer-divider {
    height: 1px;
    background: var(--gradient-gold);
    opacity: 0.3;
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--cinza-medio);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(200, 165, 91, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dourado-claro);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--gradient-gold);
    color: var(--azul-profundo);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

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

/* === ANIMAÇÕES DE ENTRADA === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === SCROLLBAR CUSTOMIZADA === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--azul-profundo);
}

::-webkit-scrollbar-thumb {
    background: var(--dourado-escuro);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dourado);
}

/* === SELEÇÃO DE TEXTO === */
::selection {
    background: var(--dourado);
    color: var(--azul-profundo);
}
