/* 
  Estilo Pixel Perfect Premium - Nova Gaia Consultoria
*/

:root {
    /* Cores Solicitadas */
    --primary: #0a192f;
    /* Azul Profundo (Background Principal) */
    --primary-light: #112240;
    /* Azul para Cards e Containers */
    --primary-lighter: #233554;
    --gold: #c5a059;
    /* Dourado Oficial */
    --gold-light: #dfba73;
    --gold-dark: #97783d;

    /* Textos (Dark Mode base) */
    --text-pure: #ffffff;
    --text-main: #ccd6f6;
    --text-muted: #8892b0;

    /* Fontes Solicitadas */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Espaçamentos padronizados */
    --section-gap: 120px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-pure);
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 24px;
}

p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.text-gold {
    color: var(--gold);
}

.text-dark {
    color: #000;
}

.opacity-80 {
    opacity: 0.8;
}

/* Utilitários Visuais */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: var(--section-gap) 0;
}

.pt-large {
    padding-top: calc(var(--section-gap) + 40px);
}

.pb-large {
    padding-bottom: calc(var(--section-gap) + 40px);
}

.bg-light {
    background-color: var(--primary-light);
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40%;
    height: 2px;
    background-color: var(--gold);
}

.line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 30px;
    border-radius: 2px;
}

.center-line {
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

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

img.rounded-shadow {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

img.border-gold {
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--gold-dark);
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.15);
}

/* Header & Navegação */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 0;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-pure);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    color: var(--gold);
}

.sub-logo {
    display: block;
    color: var(--gold);
    font-size: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    margin-top: -2px;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

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

.btn-outline:hover {
    background: rgba(197, 160, 89, 0.1);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.btn-primary {
    background: var(--gold);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 8px;
}

.btn-dark {
    background: var(--primary);
    color: var(--text-pure);
}

.btn-dark:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-massive {
    padding: 22px 50px;
    font-size: 1.25rem;
    border-radius: 8px;
    margin-top: 30px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.7) 50%, rgba(10, 25, 47, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.subtitle {
    display: block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-main);
    line-height: 1.8;
}

/* Sobre Nós */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p strong {
    color: var(--text-pure);
    font-weight: 600;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-item span {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--gold);
    color: var(--primary);
    padding: 30px;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.2;
    box-shadow: 0 15px 30px rgba(10, 25, 47, 0.5);
    border: 8px solid var(--primary);
}

/* Soluções / Cards */
.header-desc {
    max-width: 600px;
    margin: 0 auto 60px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.premium-card {
    background: var(--primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(197, 160, 89, 0.3);
}

.card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--primary) 0%, transparent 100%);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.icon-gold {
    color: var(--gold);
    margin-bottom: 20px;
    display: inline-flex;
    background: rgba(197, 160, 89, 0.1);
    padding: 12px;
    border-radius: 10px;
}

.card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-body p {
    flex: 1;
    font-size: 0.95rem;
}

.card-link {
    color: var(--gold);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    transition: gap 0.3s ease;
}

.premium-card:hover .card-link {
    gap: 15px;
}

/* Diferenciais */
.two-cols {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
}

.align-center {
    align-items: center;
}

.diferenciais-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.dif-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.check-icon {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.dif-item p {
    margin-bottom: 0;
}

.diferenciais-visual {
    position: relative;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-light);
    border: 1px solid var(--gold);
    padding: 25px;
    border-radius: var(--border-radius);
    max-width: 280px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.floating-card .stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.floating-card p {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-pure);
    margin-bottom: 0;
}

/* CTA */
.bg-gold-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, #e8ca8c 100%);
    padding: 100px 0;
}

.cta-content {
    max-width: 800px;
}

/* Footer */
.footer {
    background: #060e1c;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    color: var(--text-pure);
    margin-bottom: 0;
}

.footer-brand .sub-logo {
    margin-bottom: 20px;
    margin-top: 4px;
}

.footer-brand h2 span {
    color: var(--gold);
}

.footer-brand p {
    max-width: 350px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-pure);
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Animações (Slide e Fade) - Base classes */
.slide-up {
    animation: slideUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsividade Básico */
@media (max-width: 992px) {

    .about-grid,
    .two-cols {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-bg img {
        object-position: 70% 50%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Ajustes de Escala dos Cards em 4 Colunas */
.cards-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px;
}
.card-img-wrapper {
    height: 140px;
}
.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
}
.card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.card-body p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 12px;
}
.card-body .icon-gold {
    margin-bottom: 10px;
    padding: 8px;
    display: inline-flex;
    align-self: flex-start;
}
.card-body .icon-gold svg {
    width: 20px;
    height: 20px;
}
.card-link {
    font-size: 0.85rem;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: var(--primary);
    color: var(--text-pure);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translate(-50%, 20px);
    pointer-events: none;
}

.cookie-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-main);
}

.cookie-btn {
    background-color: var(--gold);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s, transform 0.3s;
}

.cookie-btn:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        bottom: 10px;
    }
}

/* Privacy Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-container {
    background-color: #ffffff;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.modal-overlay.hidden .modal-container {
    transform: scale(0.95);
}

.modal-close-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close-icon:hover {
    color: var(--primary);
}

.modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.modal-header .modal-icon {
    font-size: 24px;
    color: var(--gold);
    margin-top: 4px;
}

.modal-header h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0;
}

.modal-body {
    padding: 25px 40px;
    overflow-y: auto;
    color: #4a5568;
}

/* Custom Scrollbar for Modal content */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: var(--gold-light); 
    border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--gold); 
}

.modal-section {
    margin-top: 25px;
}

.modal-section h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section .modal-icon {
    color: var(--gold);
    font-size: 1.1rem;
}

.modal-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.modal-section p {
    color: #4a5568;
    margin-bottom: 15px;
    line-height: 1.5;
}

.modal-footer {
    padding: 20px 40px;
    border-top: 1px solid #eeeeee;
    text-align: right;
}

@media (max-width: 768px) {
    .modal-container {
        width: 92%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 25px 25px 15px;
    }
    
    .modal-body {
        padding: 20px 25px;
    }

    .modal-footer {
        padding: 20px 25px;
        text-align: center;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}