/* Custom Fonts Loading */
@font-face {
    font-family: 'Cinzel';
    src: url('../assets/fonts/Cinzel-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Exo 2';
    src: url('../assets/fonts/Exo2-Regular_0.otf') format('opentype');
    font-weight: 400;
}
@font-face {
    font-family: 'Exo 2';
    src: url('../assets/fonts/Exo2-Medium_0.otf') format('opentype');
    font-weight: 500;
}
@font-face {
    font-family: 'Exo 2';
    src: url('../assets/fonts/Exo2-SemiBold_0.otf') format('opentype');
    font-weight: 600;
}
@font-face {
    font-family: 'Exo 2';
    src: url('../assets/fonts/Exo2-Bold_0.otf') format('opentype'); /* Se não houver Bold, fallback para ExtraBold ou SemiBold */
    font-weight: 700;
}

:root {
    /* Color Palette */
    --color-primary: #0055ff; /* Azul Caneta */
    --color-primary-dark: #0044cc;
    --color-secondary: #0b132b; /* Azul quase preto */
    --color-background: #ffffff;
    --color-background-alt: #f8f9fa;
    --color-text: #4a4a4a;
    --color-heading: #1e1810;
    --color-white: #ffffff;
    --color-dark: #121212;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #1EBE5D;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Exo 2', sans-serif;

    /* Spacing & Utilities */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.2;
    font-weight: normal; /* Cinzel usually looks best normal or bold if provided */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-white { color: var(--color-white) !important; }
.text-light { color: #cccccc !important; }
.bg-dark { background-color: var(--color-secondary); }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
}

.btn i {
    flex-shrink: 0;
}

.br-mobile {
    display: none;
}

.btn-primary {
    background: linear-gradient(135deg, #4d88ff 0%, #0055ff 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 85, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 85, 255, 0.6);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Glowing Animation for Buttons */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    20% { transform: translateX(100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

.pulse {
    animation: pulseStrong 2s infinite;
}

@keyframes pulseStrong {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 85, 255, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(0, 85, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 85, 255, 0); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.5);
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-white);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../assets/images/hero-bg-v2.jpg') center/cover no-repeat;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 19, 43, 0.95) 0%, rgba(11, 19, 43, 0.8) 50%, rgba(11, 19, 43, 0.4) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
    color: var(--color-white);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-white);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-transform: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
}

/* Services */
.services {
    background-color: var(--color-background-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--color-primary);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.service-desc {
    color: #666;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: bold;
    line-height: 1;
    margin-bottom: 12px;
    position: relative;
    z-index: 0;
}

.step-title {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.step-desc {
    color: #b0b0b0;
    position: relative;
    z-index: 1;
}

/* Team / Editorial Layout */
.team {
    background-color: var(--color-background-alt);
    overflow: hidden;
}

.team-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.team-text .section-title {
    margin-bottom: 1.5rem;
}

.team-text .section-title::after {
    left: 0;
    transform: none;
}

.team-description {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.team-highlights {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.team-highlights li {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-heading);
}

.team-highlights i {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.team-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    position: relative;
}

.team-photo {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(80%) contrast(110%);
}

.team-photo:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(100%);
}

.photo-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 500px;
}

.photo-small-1, .photo-small-2 {
    height: 240px;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.team-photo:hover .photo-caption {
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: #0b132b;
    color: #ccc;
    padding: 4rem 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-heading {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact i {
    color: var(--color-primary);
    margin-top: 5px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #060a17;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.agency-credit {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #777;
}

.agency-credit a {
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.agency-credit a:hover {
    color: var(--color-white);
}

/* WhatsApp Floating Widget (avatar + balão) */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 14px;
}

.whatsapp-bubble {
    position: relative;
    background: #ffffff;
    color: #333333;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.45;
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
    max-width: 250px;
    cursor: pointer;
    animation: bubbleIn 0.5s ease 1.5s backwards;
}

.whatsapp-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 22px;
    border-left: 9px solid #ffffff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

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

.bubble-close {
    position: absolute;
    top: -9px;
    right: -9px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #888;
    font-size: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bubble-close:hover {
    color: #333;
}

.whatsapp-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.whatsapp-avatar:hover {
    transform: scale(1.08);
}

.whatsapp-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    background: var(--color-whatsapp);
    border: 2.5px solid #ffffff;
    border-radius: 50%;
}

@media (max-width: 480px) {
    .whatsapp-widget { bottom: 20px; right: 20px; }
    .whatsapp-bubble { max-width: 200px; font-size: 0.85rem; }
    .whatsapp-avatar { width: 56px; height: 56px; }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .team-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .team-text {
        text-align: center;
    }
    .team-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .team-highlights li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .section-title { font-size: 2rem; }
    
    .nav-list {
        display: none; /* Mobile menu toggled via JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.98);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.5);
        text-align: center;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li { margin-bottom: 15px; }
    
    .btn-header {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 100px;
        background-attachment: scroll;
        background-position: top center;
    }
    .hero-overlay {
        background: linear-gradient(180deg, rgba(11, 19, 43, 0.92) 0%, rgba(11, 19, 43, 0.82) 100%);
    }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    
    .btn { padding: 14px 24px; font-size: 0.95rem; }
    .btn-large { padding: 16px 30px; font-size: 1rem; }
    
    .section-title::after { left: 0; transform: none; }
    .text-center .section-title::after { left: 50%; transform: translateX(-50%); }

    .footer-container { gap: 30px; text-align: left; }
    .footer-heading::after { left: 0; transform: none; }
    .footer-contact li { justify-content: flex-start; }
}

@media (max-width: 480px) {
    .badge {
        font-size: 0.7rem;
        letter-spacing: 0px;
        padding: 6px 10px;
        white-space: normal;
        line-height: 1.4;
    }
    .hero-title { 
        font-size: 1.6rem; 
        word-wrap: break-word;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-content { 
        text-align: center; 
        width: 100%;
    }
    .br-mobile {
        display: inline;
    }
    .hero-actions .btn {
        width: auto;
        max-width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding: 13px 20px;
        gap: 10px;
        line-height: 1.35;
        letter-spacing: 0.5px;
    }
    .hero-actions .btn i {
        font-size: 1.35em;
    }
    .btn, .btn-large {
        padding: 13px 20px;
        gap: 10px;
        line-height: 1.35;
        letter-spacing: 0.5px;
    }
}
