/* 
==================================================================
   OPUS MARCENARIA - PREMIUM LANDING PAGE STYLING
   Author: Antigravity AI
   Design: Modern-Web Custom CSS3 with High-End Aesthetics
==================================================================
*/

/* 1. IMPORTS & CONFIGURATION */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --color-primary: #0E2238;        /* Deep Navy - Trust & Engineering */
    --color-primary-light: #1A3654;  /* Medium Deep Navy */
    --color-accent: #C87D55;         /* Cobre Metálico - Craftsmanship Accent */
    --color-accent-hover: #B56C45;   /* Darker Copper for hover */
    --color-bg-light: #F7F5F2;       /* Warm Off-White - Organic texture feel */
    --color-bg-white: #FFFFFF;
    --color-bg-card: rgba(255, 255, 255, 0.85);
    
    /* Text Colors */
    --color-text-dark: #1E293B;      /* Almost Black for heavy readability */
    --color-text-body: #334155;      /* Slate Gray for standard paragraphs */
    --color-text-muted: #64748B;     /* Muted Gray for supporting info */
    --color-text-light: #F8FAFC;     /* Off-White for dark backgrounds */
    
    /* Semantic Status */
    --color-success: #10B981;
    --color-error: #EF4444;

    /* Typographical Hierarchy */
    --font-titles: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout & Spacing */
    --max-width: 1200px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(14, 34, 56, 0.05), 0 2px 4px -2px rgba(14, 34, 56, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(14, 34, 56, 0.08), 0 4px 6px -4px rgba(14, 34, 56, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(14, 34, 56, 0.12), 0 8px 10px -6px rgba(14, 34, 56, 0.12);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* 3. TYPOGRAPHY UTILITIES */
h1, h2, h3, h4 {
    font-family: var(--font-titles);
    color: var(--color-primary);
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 12px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

h2.center::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    color: var(--color-text-body);
}

p.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

strong {
    color: var(--color-primary);
    font-weight: 600;
}

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

/* 4. LAYOUT COMPONENTS */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

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

.section-bg-dark h2, 
.section-bg-dark h3, 
.section-bg-dark strong {
    color: var(--color-text-light);
}

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

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
}

/* 5. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(14, 34, 56, 0.06);
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    padding: 16px 0;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

.header.scrolled .logo-img {
    height: 40px;
}

.nav {
    display: none;
}

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

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

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

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

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

.header-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-primary);
    color: var(--color-text-light) !important;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-titles);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1.5px solid var(--color-primary);
}

.header-btn:hover {
    background-color: transparent;
    color: var(--color-primary) !important;
}

/* 6. BUTTONS & INTERACTION */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-titles);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 16px 36px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    font-size: 32px;
    transition: var(--transition-smooth);
}

.btn-whatsapp-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-icon {
    font-size: 1.25rem;
}

.support-text {
    display: block;
    font-size: 0.8rem;
    margin-top: 10px;
    color: var(--color-text-muted);
}

.section-bg-dark .support-text {
    color: rgba(248, 250, 252, 0.7);
}

/* 7. HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background-color: var(--color-bg-white);
}

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

.hero-content {
    max-width: 580px;
}

.tag-label {
    display: inline-block;
    font-family: var(--font-titles);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border-left: 2px solid var(--color-accent);
    padding-left: 10px;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-content p.lead {
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

.hero-feature-icon {
    color: var(--color-accent);
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.05);
}

/* Decorator lines mimicking cotes/technical drawings */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 2;
}

/* 8. PAIN & SOLUTION (COMPARISON) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 20px;
}

.comparison-card {
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    transition: var(--transition-smooth);
}

.card-pain {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(14, 34, 56, 0.05);
    opacity: 0.9;
}

.card-solution {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.solution-badge {
    position: absolute;
    top: -16px;
    right: 32px;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    font-family: var(--font-titles);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.comparison-card h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.card-pain h3 {
    color: var(--color-primary);
}

.card-solution h3 {
    color: var(--color-text-light);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.comparison-icon {
    font-size: 1.25rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.card-pain .comparison-icon {
    color: var(--color-error);
}

.card-solution .comparison-icon {
    color: var(--color-accent);
}

.comparison-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-pain h4 {
    color: var(--color-text-dark);
}

.card-solution h4 {
    color: var(--color-text-light);
}

.comparison-item p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-pain p {
    color: var(--color-text-muted);
}

.card-solution p {
    color: rgba(248, 250, 252, 0.75);
}

/* 9. AUTHOR SECTION (WHO WE ARE) */
.author-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.author-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
}

.author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 4s ease-out;
}

.author-image-wrapper:hover .author-img {
    transform: scale(1.03);
}

/* Overlay technical measurements lines */
.author-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.author-content h2 {
    margin-bottom: 24px;
}

.author-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.author-text p {
    line-height: 1.7;
    color: var(--color-text-body);
}

.author-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid rgba(14, 34, 56, 0.1);
    padding-top: 24px;
}

.badge-item {
    text-align: center;
}

.badge-val {
    font-family: var(--font-titles);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    margin-bottom: 4px;
}

.badge-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* 10. HOW WE WORK (PROCESS) */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 20px;
}

.process-step-card {
    background-color: var(--color-bg-white);
    border: 1px solid rgba(14, 34, 56, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 125, 85, 0.3);
}

.step-num {
    font-family: var(--font-titles);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(200, 125, 85, 0.1);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: var(--transition-smooth);
}

.process-step-card:hover .step-num {
    color: rgba(200, 125, 85, 0.25);
    transform: scale(1.1);
}

.step-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-md);
    background-color: rgba(200, 125, 85, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.process-step-card:hover .step-icon-box {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.process-step-card h3 {
    margin-bottom: 12px;
}

.process-step-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* 11. FAQ & FINAL CALL TO ACTION */
.faq-section {
    padding-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(14, 34, 56, 0.05);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-titles);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.faq-trigger:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 1rem;
    transition: var(--transition-smooth);
    color: var(--color-accent);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(255, 255, 255, 0.5);
}

.faq-panel p {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--color-text-body);
}

.faq-item.active {
    border-color: rgba(200, 125, 85, 0.25);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-panel {
    max-height: 200px; /* Big enough for content */
}

/* Call to Action Banner */
.cta-banner {
    background-color: var(--color-primary);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    z-index: 1;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200,125,85,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.cta-banner h2 {
    color: var(--color-text-light);
    margin-bottom: 16px;
    display: inline-block;
}

.cta-banner h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.cta-banner p {
    color: rgba(248, 250, 252, 0.85);
    max-width: 650px;
    margin: 0 auto 36px auto;
    font-size: 1.1rem;
}

.cta-benefits-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(248, 250, 252, 0.1);
}

.cta-benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.8);
}

.cta-benefit-icon {
    color: var(--color-accent);
}

/* 12. FOOTER */
.footer {
    background-color: #071321;
    color: rgba(248, 250, 252, 0.5);
    padding: 60px 0 30px 0;
    border-top: 1px solid rgba(248, 250, 252, 0.05);
}

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

.footer-brand h4 {
    color: var(--color-text-light);
    font-family: var(--font-titles);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.6);
    max-width: 320px;
}

.footer-nav h4, .footer-contact h4 {
    color: var(--color-text-light);
    font-family: var(--font-titles);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-link {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.6);
}

.footer-nav-link:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.6);
}

.footer-contact-icon {
    color: var(--color-accent);
    margin-top: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(248, 250, 252, 0.05);
    text-align: center;
    font-size: 0.8rem;
}

/* 13. ANIMATION CLASSES (SCROLL REVEAL) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* 14. RESPONSIVE DESIGN (MEDIA QUERIES) */
@media (min-width: 768px) {
    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
    }

    .comparison-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .author-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
    }

    .nav {
        display: block;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* ==================================================================
   15. DYNAMIC PORTFOLIO SECTION
================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
}

.portfolio-card {
    background-color: var(--color-bg-white);
    border: 1px solid rgba(14, 34, 56, 0.06);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 125, 85, 0.2);
}

.portfolio-img-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.06);
}

.portfolio-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ==================================================================
   16. LOCAL ADMIN SYSTEM
================================================================== */
.btn-admin-trigger {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0.3; /* Muito discreto por padrão */
}

.btn-admin-trigger:hover {
    opacity: 1;
    transform: rotate(30deg) scale(1.05);
    background-color: var(--color-accent);
}

/* Modal Admin Overlay */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 19, 33, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.admin-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.admin-modal-content {
    background-color: var(--color-bg-white);
    border: 1px solid rgba(200, 125, 85, 0.2);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal.show .admin-modal-content {
    transform: translateY(0);
}

.admin-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(14, 34, 56, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    line-height: 1;
}

.admin-modal-close:hover {
    color: var(--color-error);
}

.admin-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

.admin-form-group, .admin-list-group {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(14, 34, 56, 0.05);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.admin-form-group h4, .admin-list-group h4 {
    font-family: var(--font-titles);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-primary);
    border-left: 3px solid var(--color-accent);
    padding-left: 8px;
}

.form-row {
    margin-bottom: 14px;
}

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

.form-row input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid rgba(14, 34, 56, 0.12);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    background-color: var(--color-bg-white);
}

.form-row input[type="text"]:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(200, 125, 85, 0.15);
}

.image-upload-options input[type="file"] {
    width: 100%;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Admin Item List */
.admin-project-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 4px;
}

.admin-project-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-bg-white);
    border: 1px solid rgba(14, 34, 56, 0.06);
    border-radius: var(--border-radius-sm);
    padding: 8px 12px;
    gap: 12px;
}

.admin-item-thumb {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(14, 34, 56, 0.1);
}

.admin-item-info {
    flex-grow: 1;
    overflow: hidden;
}

.admin-item-info h5 {
    font-family: var(--font-titles);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.admin-item-info p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-item-delete {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.admin-item-delete:hover {
    color: var(--color-error);
    background-color: rgba(239, 68, 68, 0.08);
}

/* Responsividade Grid Portfólio */
@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================================================================
   17. PRIVACY POLICY & LGPD COOKIE CONSENT
================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 40px);
    max-width: 850px;
    background-color: rgba(14, 34, 56, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 125, 85, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 20px 24px;
    z-index: 1999;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--color-text-light);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner-content p {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.85);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-titles);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.cookie-btn-accept:hover {
    background-color: var(--color-accent-hover);
}

.cookie-btn-decline {
    background-color: transparent;
    color: rgba(248, 250, 252, 0.6);
    border: 1px solid rgba(248, 250, 252, 0.2);
}

.cookie-btn-decline:hover {
    background-color: rgba(248, 250, 252, 0.1);
    color: var(--color-text-light);
}

/* Privacy Policy Modal (LGPD) */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 19, 33, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.privacy-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.privacy-modal-content {
    background-color: var(--color-bg-white);
    border: 1px solid rgba(200, 125, 85, 0.2);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.privacy-modal.show .privacy-modal-content {
    transform: translateY(0);
}

.privacy-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(14, 34, 56, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.privacy-modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    line-height: 1;
}

.privacy-modal-close:hover {
    color: var(--color-error);
}

.privacy-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Responsividade do Cookie Banner */
@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        gap: 24px;
    }
    
    .cookie-banner-content p {
        text-align: left;
    }
}
