/* ==========================================================================
   CSS Variables & Design System - Clean & Elegant (Lagos Inspired)
   ========================================================================== */
:root {
    /* Colors */
    --bg-white: #FFFFFF;
    --bg-cream: #FDFDFB; /* Creme extremamente suave para alternância */
    --bg-gray: #F5F5F5;
    
    --text-dark: #111827; /* Preto suave para títulos */
    --text-body: #4B5563; /* Cinza elegante para texto corrido */
    --text-light: #9CA3AF;
    
    --accent-primary: #B05A3C; /* Terracota — cor primária do manual de marca */
    --accent-secondary: #8A9A6D; /* Verde Oliva — cor secundária do manual */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    /* Spacing & Layout */
    --nav-height: 90px;
    --section-padding: 100px 0;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.08);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Utility Classes */
.bg-white { background-color: var(--bg-white); }
.bg-cream { background-color: var(--bg-cream); }
.bg-light { background-color: #F9FAFB; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    color: var(--bg-white);
    background-color: var(--accent-primary);
}

.btn-primary:hover {
    background-color: #954D33;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    color: var(--text-dark);
    background-color: var(--bg-white);
    border-color: #E5E7EB;
}

.btn-secondary:hover {
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header (Sticky, Minimalist)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    height: 75px;
    border-bottom: 1px solid #F3F4F6;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: var(--text-body);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

.nav-link:hover {
    color: var(--accent-primary);
}

/* ==========================================================================
   Sections & Layout
   ========================================================================== */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

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

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: var(--text-body);
    max-width: 90%;
}

.hero-visual {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-white);
    border: 1px solid #F3F4F6;
    position: relative;
    z-index: 2;
}

/* Watermark Context */
.watermark {
    position: absolute;
    width: 60%;
    max-width: 600px;
    opacity: 0.04;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 0;
}

.watermark-hero {
    right: -10%;
    top: 20%;
}

.watermark-expertise {
    left: -10%;
    top: 40%;
    transform: rotate(20deg);
}

.watermark-geovoto {
    right: -15%;
    bottom: -5%;
    transform: rotate(-10deg);
    opacity: 0.03; /* Ainda mais sutil no creme escuro */
}

.watermark-sobre {
    left: -15%;
    bottom: -10%;
    transform: rotate(-15deg);
}

.watermark-contato {
    right: -5%;
    top: 10%;
    transform: rotate(30deg);
}

/* ==========================================================================
   Services Cards
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid #F3F4F6;
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

/* ==========================================================================
   Geovoto Section
   ========================================================================== */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    list-style: none;
    margin: 30px 0 40px 0;
}

.features-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.features-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid, .split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

/* ==========================================================================
   Timeline (Sobre Nós)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #E5E7EB;
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px 40px 60px;
    position: relative;
    background-color: inherit;
    width: 100%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: auto;
    background-color: var(--bg-white);
    border: 3px solid var(--accent-primary);
    top: 15px;
    left: 12px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-body);
}

/* ==========================================================================
   Contact Form (Lagos Inspired)
   ========================================================================== */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #F3F4F6;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-body);
    background-color: var(--bg-cream);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(192, 87, 62, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-gray);
    padding: 80px 0 30px;
    border-top: 1px solid #E5E7EB;
}

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

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

.footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-body);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #E5E7EB;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

/* ==========================================================================
   Portfolio Restrito (Gatekeeping)
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.restricted-card {
    background-color: var(--bg-white);
    border: 1px solid #F3F4F6;
    border-radius: 12px;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.restricted-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.case-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: var(--text-dark);
}

.case-image-blurred {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-filter: blur(12px) brightness(0.65);
    filter: blur(12px) brightness(0.65);
    transform: scale(1.1); /* Remove white edges from blur */
    -webkit-transition: -webkit-filter 0.4s ease;
    transition: filter 0.4s ease, -webkit-filter 0.4s ease;
}

.restricted-card:hover .case-image-blurred {
    -webkit-filter: blur(6px) brightness(0.85);
    filter: blur(6px) brightness(0.85); /* Revela levemente no hover */
}

.restricted-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(17, 24, 39, 0.85);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 2;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}

.case-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-title {
    font-size: 1.15rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-dark);
}

/* ==========================================================================
   Modal (Pop-up)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    margin: 20px;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* ==========================================================================
   Service Card — "Saiba mais" button variant
   ========================================================================== */
button.card-link {
    margin-top: auto;
    padding-top: 15px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
    text-align: left;
}

button.card-link:hover {
    color: #954D33;
}

/* ==========================================================================
   Modal submit button — full width
   ========================================================================== */
.btn-modal-submit {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-modal-submit:hover {
    background-color: #954D33;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Soluções — Carousel
   ========================================================================== */
.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Solution Card */
.solution-card {
    flex: 0 0 calc(50% - 12px);
    background: #F2E8D6;
    border-radius: 20px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .solution-card {
        flex: 0 0 100%;
    }
}

/* Organic background shapes */
.sol-bg-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.sol-shape-1 {
    width: 240px;
    height: 220px;
    top: -50px;
    right: -50px;
    background: rgba(185, 148, 100, 0.22);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.sol-shape-2 {
    width: 200px;
    height: 180px;
    bottom: -40px;
    left: -30px;
    background: rgba(185, 148, 100, 0.14);
    border-radius: 40% 60% 30% 70% / 50% 30% 60% 40%;
}

.sol-card-icon {
    width: 52px;
    height: 52px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-primary);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.sol-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    line-height: 1.25;
}

.sol-subtitle-text {
    font-size: 0.95rem;
    color: var(--accent-primary);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.sol-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 8px;
    margin-top: 14px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sol-text {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.sol-list {
    list-style: none;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.sol-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 0.93rem;
    color: var(--text-body);
    line-height: 1.5;
}

.sol-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
    flex-shrink: 0;
}

.carousel-btn:hover:not(:disabled) {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.carousel-btn:disabled {
    opacity: 0.32;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #D1D5DB;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
}

.carousel-dot.active {
    background: var(--accent-primary);
    width: 26px;
    border-radius: 4px;
}

