/* 
 * Main Stylesheet for MarcoDesign
 * Pure Black Dark Theme
 */

:root {
    /* Dark Background */
    --bg-dark: #0c0c0c;
    --bg-darker: #0c0c0c;
    --bg-surface: #0a0a0a;
    --bg-card: #111111;
    
    --text-main: #ffffff;
    --text-muted: #999999;
    
    /* Original Subtle Glow */
    --glow-color: rgba(144, 238, 144, 0.25); /* Subtle green */
    --accent-color: #e0f878;
    --accent-hover: #c4db5e;
    
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    /* Layout */
    --container-width: 1400px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, body.custom-background {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to right, #181818 30%, #0a0a0a 60%) fixed !important;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Very subtle noise for premium feel */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}


/* ForÃƒÂ§ar o contentor principal do WordPress (Twenty Twenty-One) a ser transparente para o fundo do body aparecer */
#page, .site {
    background: transparent !important;
    background-color: transparent !important;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* === IMAGE PROTECTION === */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

/* Container */
.container, .header-container, .hero-container-fluid {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.center { text-align: center; }

/* === HEADER (Clean Top Bar) === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, border-bottom 0.4s ease;
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

/* Added by JS on scroll */
.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: padding 0.4s ease;
}

.site-header.scrolled .header-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.site-logo {
    height: 90px;
    width: auto;
    min-width: 40px;
    object-fit: contain;
    display: block;
    transition: height 0.4s ease;
}

.site-header.scrolled .site-logo {
    height: 55px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: lowercase;
    position: relative;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-menu a:hover {
    color: #fff;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* === SUBMENU / DROPDOWN === */
.nav-menu li.menu-item-has-children {
    position: relative;
    padding-right: 15px; /* space for arrow */
}
.nav-menu li.menu-item-has-children > a::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--accent-color);
    transition: all 0.3s ease;
}
.nav-menu li.menu-item-has-children:hover > a::before {
    border-top-color: var(--accent-color);
    transform: translateY(-50%) rotate(180deg);
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px 0;
    min-width: auto;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}

.nav-menu li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: none;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-menu .sub-menu a::after {
    display: none; /* No underline on submenu items */
}

.nav-menu .sub-menu a:hover {
    color: #000;
    background: var(--accent-color);
    padding-left: 16px;
}

/* Buttons */
.btn-outline-minimal {
    border: 1px solid var(--border-color);
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-main);
}
.btn-outline-minimal:hover {
    background: #fff;
    color: #000;
}

.btn-primary-solid {
    background-color: var(--accent-color);
    color: #000;
    border: 1px solid var(--accent-color);
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(224, 248, 120, 0.25);
}
.btn-primary-solid:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}
.btn-primary-solid .arrow {
    transition: transform 0.3s ease;
}
.btn-primary-solid:hover .arrow {
    transform: translate(3px, -3px);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 150px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: transparent; /* O fundo agora vem do body */
}

/* Subtle Glow behind text */
.hero-glow-bg {
    display: none;
}

.hero-container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.hero-content {
    flex: 0 0 65%;
    max-width: 850px;
    padding-bottom: 50px;
    margin-left: 0; /* Correcao para evitar corte de texto */
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    max-width: 800px;
}

.accent-text {
    color: var(--accent-color);
    font-style: italic;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding-right: 5px; /* Prevenir corte em itÃƒÂ¡lico */
    text-shadow: 0 0 40px rgba(224, 248, 120, 0.4); /* Brilho nÃƒÂ©on subtil */
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 764px;
    line-height: 1.7;
}

/* === ORGANIC CANVAS PARTICLES === */
#site-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    /* Soft blur to make particles look like out-of-focus dust/bokeh */
    filter: blur(1px); 
    opacity: 0.8;
}

/* The magic: Image completely flushed to the right edge and bottom */
.hero-image-absolute {
    position: absolute;
    right: 0;
    bottom: 0; /* Anchored to the bottom */
    height: 85vh; /* Scale with viewport */
    max-height: 900px;
    display: flex;
    align-items: flex-end;
    z-index: 2;
}

.profile-pic-edge {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: right bottom;
    /* Fade out the left edge and the bottom edge for a seamless blend */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%), linear-gradient(to top, transparent 0%, black 10%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, black 15%), linear-gradient(to top, transparent 0%, black 10%);
    mask-composite: intersect;
}

.container-widescreen {
    width: 100%;
    max-width: 1750px;
    margin: 0 auto;
    padding: 0 4%;
}

/* === LATEST PROJECTS (Premium Cards Widescreen) === */
.projects-section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
    background: transparent;
}

/* === SECTION HEADERS (Watermark Identity) === */
.section-header-watermark {
    margin-bottom: 60px;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 40px; /* Space for the watermark above */
}

.watermark-text {
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: clamp(3rem, 11vw, 8rem); /* Reduzido no limite inferior para caber no telemÃƒÂ³vel */
    font-weight: 900;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.15); /* Contorno mais espesso e visÃƒÂ­vel */
    z-index: 0;
    pointer-events: none;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    position: relative;
    z-index: 1;
}

.projects-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card-premium {
    background: #111111;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.project-card-premium:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
}

.project-card-media {
    width: 100%;
    aspect-ratio: 16/10;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-brand-logo {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.project-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.project-tags-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.project-tags-premium span {
    border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent-color)) 30%, transparent);
    background: color-mix(in srgb, var(--card-accent, var(--accent-color)) 10%, transparent);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--card-accent, var(--accent-color));
}

.project-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 40px;
    flex: 1;
}

.project-action {
    margin-top: auto;
}

.discover-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.discover-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    background-color: var(--card-accent, #fff);
    box-shadow: 0 4px 15px color-mix(in srgb, var(--card-accent, #fff) 30%, transparent);
}

.project-card-premium:hover .discover-icon {
    transform: scale(1.1);
}

/* === MARQUEE === */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scrollMarquee 25s linear infinite;
}

.marquee-content span {
    font-size: 4rem;
    font-weight: 400;
    white-space: nowrap;
    padding-right: 2rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === SERVICES (Infinite Slider Layout) === */
.services-carousel-section {
    padding: 120px 0;
    overflow: hidden; /* Hide any overflow */
}

.services-marquee-wrapper {
    width: 100%;
    margin-top: 50px;
    padding-top: 30px; /* Prevent clipping during hover translate */
    padding-bottom: 30px;
    overflow: hidden; /* Completely hide scrollbar */
    position: relative;
}

.services-marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollServices 30s linear infinite;
}

.services-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollServices {
    0% { transform: translateX(0); }
    /* Transform left by 50% of the total width + 15px (half the 30px gap between set 1 and 2) */
    100% { transform: translateX(calc(-50% - 15px)); }
}

.service-carousel-card {
    width: 450px; /* Aumentar largura para caber a palavra inteira */
    height: 500px;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.service-carousel-card:hover {
    transform: translateY(-20px);
    border-color: var(--accent-color);
}

.service-card-num {
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.15); /* Cor sÃƒÂ³lida subtil no estado normal */
    margin-bottom: 20px;
    transition: all 0.4s ease;
    line-height: 1;
}

.service-carousel-card:hover .service-card-num {
    color: var(--accent-color); /* Preenchimento total no hover */
}

.service-carousel-card h3 {
    font-size: 2.2rem; /* Tamanho reduzido o suficiente para a palavra nÃƒÂ£o quebrar a meio */
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
    word-break: normal; /* Removida a quebra forÃƒÂ§ada */
}

.service-carousel-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-card-icon {
    align-self: flex-end;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: all 0.4s ease;
}

.service-card-icon svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* Força os SVGs externos a respeitarem a cor do tema, ignorando o stroke exportado do Illustrator */
.service-card-icon svg path,
.service-card-icon svg line,
.service-card-icon svg polyline,
.service-card-icon svg polygon,
.service-card-icon svg rect,
.service-card-icon svg circle {
    stroke: currentColor !important;
}

/* Força herança de cor em ícones sólidos do Illustrator (ignora ícones de linha que tenham fill="none" na base) */
.service-card-icon svg:not([fill="none"]) path,
.service-card-icon svg:not([fill="none"]) polygon,
.service-card-icon svg:not([fill="none"]) rect,
.service-card-icon svg:not([fill="none"]) circle,
.service-card-icon svg:not([fill="none"]) polyline,
.service-card-icon svg:not([fill="none"]) line {
    fill: currentColor !important;
}

.service-carousel-card:hover .service-card-icon {
    background: var(--accent-color);
    color: #000;
}

/* === TESTIMONIALS (Clean) === */
.testimonials-clean {
    padding: 150px 0;
}

.testimonials-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 20px;
}

.testi-card {
    background: #111111;
    padding: 60px 50px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.testi-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.testi-card::before {
    content: '\"';
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 8rem;
    font-family: serif;
    color: var(--accent-color);
    opacity: 0.1;
    line-height: 1;
}

.testi-card p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #eeeeee;
    font-family: 'Inter', sans-serif; font-weight: 300;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testi-author {
    display: flex;
    align-items: stretch;
    gap: 15px;
    margin-top: 20px;
}

.testi-author::before {
    content: '';
    display: block;
    width: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.testi-author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.author-role {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* === VALUE PROPOSITION === */
.value-prop-section {
    padding: 100px 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: radial-gradient(circle at top right, rgba(224, 248, 120, 0.04) 0%, #111111 70%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(224, 248, 120, 0.3);
    background: radial-gradient(circle at top right, rgba(224, 248, 120, 0.08) 0%, #111111 80%);
}

.value-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    color: var(--accent-color);
    opacity: 0.3;
    transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.value-icon svg {
    width: 64px;
    height: 64px;
    stroke-width: 1.5;
}

.value-card:hover .value-icon {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(224, 248, 120, 0.4));
}

.value-card h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.value-card h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
    margin-top: 15px;
    transition: width 0.4s ease;
}

.value-card:hover h4::after {
    width: 60px;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* === FAQ DETAILS (Native HTML Accordion) === */
.faq-clean-section {
    padding: 100px 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.faq-header-content {
    position: sticky;
    top: 120px;
}

.faq-intro-text {
    margin-top: 40px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.15rem;
}

.faq-intro-text strong {
    color: #ffffff;
    font-weight: 600;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.faq-item {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(224, 248, 120, 0.3);
}

.faq-item[open] {
    background: rgba(224, 248, 120, 0.02);
    border-color: rgba(224, 248, 120, 0.5);
}

.faq-item summary {
    padding: 30px;
    font-size: 1.3rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] summary {
    color: var(--accent-color);
}

.faq-item summary::after {
    content: '';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(-135deg);
    border-color: var(--accent-color);
}

.faq-answer {
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 0 30px 30px 30px;
    color: var(--text-muted);
    animation: fadeInDown 0.4s ease forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === BOTTOM CTA === */
.bottom-cta-clean {
    padding: 100px 0 150px;
    text-align: center;
}
.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

/* === FOOTER (FTShopping Style) === */
.ftshopping-style-footer {
    padding-top: 80px;
    padding-bottom: 0;
    background: #161616;
    border-top: 1px solid var(--border-color);
}

/* Top Bar: Contact Blocks */
.footer-top-bar {
    margin-bottom: 60px;
}

.contact-blocks {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
}

.c-block {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.c-block svg {
    color: var(--accent-color);
}

.c-block div {
    display: flex;
    flex-direction: column;
}

.c-block strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.c-block span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Main Footer Area */
.footer-main-area {
    margin-bottom: 50px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.f-col-info {
    padding-right: 20px;
}

.footer-logo {
    height: 95px;
    width: auto;
    max-width: 200px;
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 350px;
    line-height: 1.7;
}

.f-col-links h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.f-col-links ul {
    list-style: none;
}

.f-col-links ul li {
    margin-bottom: 12px;
}

.f-col-links ul a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.f-col-links ul a:hover {
    color: var(--text-main);
}

/* Subfooter */
.footer-subfooter {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #030303; /* Slightly darker than body to separate it */
    padding: 25px 0;
    margin-top: 30px;
}

.f-subfooter-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-gtranslate-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.f-lang-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.f-copyright-caps {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

/* GTranslate Styling */
.f-gtranslate-wrapper a.glink img {
    vertical-align: middle;
    display: inline;
    border: 0;
    padding: 0;
    margin: 0;
    opacity: 0.8;
    margin-right: 10px;
}

.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #333;
    color: #fff;
    transition: all 0.3s ease;
    background-color: transparent;
}

.back-to-top:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
    .hero-image-absolute { height: 50vh; position: relative; width: 100%; right: auto; margin-top: 40px; }
    .hero-container-fluid { flex-direction: column; align-items: flex-start; } /* Previne o texto de ficar centrado */
    .hero-content { margin-left: 0; flex: none; max-width: 100%; width: 100%; } /* Garante largura total sem saltos */
    .profile-pic-edge { object-position: right bottom; border-radius: 12px; }
}

/* === ABOUT ME PAGE === */
.about-hero-section {
    position: relative;
    padding: 175px 0 120px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    transform: scale(1.05);
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,1) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.about-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-content-section {
    padding: 100px 0;
}

.about-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

.about-text-block p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-text-block .lead-text {
    font-size: 1.1rem;
    color: var(--text-main);
    font-family: 'Inter', sans-serif; font-weight: 300;
    line-height: 1.6;
    margin-bottom: 35px;
}

.about-ai-section {
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 100px;
}

.ai-intro {
    max-width: 700px;
    margin-bottom: 60px;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.ai-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.ai-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(224, 248, 120, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ai-card:hover {
    transform: translateY(-10px);
    border-color: rgba(224, 248, 120, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.ai-card:hover::before {
    opacity: 1;
}

.ai-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(224, 248, 120, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.ai-card:hover .ai-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.ai-card h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.ai-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ai-conclusion {
    background: rgba(224, 248, 120, 0.03);
    border-left: 3px solid var(--accent-color);
    padding: 40px;
    max-width: 800px;
    border-radius: 0 12px 12px 0;
}

.ai-conclusion p {
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .container, .container-widescreen, .header-container, .hero-container-fluid { padding: 0 1.5rem; }
    .header-container { padding-top: 15px; padding-bottom: 15px; }
    .site-logo { height: 45px; } /* Logo muito mais pequeno no telemÃƒÂ³vel */
    .nav-menu { display: none; }
    
    .hero-section { padding-top: 120px; }
    .hero-title { font-size: 2.5rem; line-height: 1.2; word-break: break-word; } /* Texto nÃƒÂ£o corta no ecrÃƒÂ£ */
    .hero-subtitle { font-size: 1rem; }
    .hero-image-absolute { height: 45vh; min-height: 300px; }
    
    .marquee-content span { font-size: 2.5rem; }
    
    .service-carousel-card {
        width: 85vw;
        height: auto;
        padding: 30px;
    }
    .service-card-num { font-size: 3rem; }
    .service-carousel-card h3 { font-size: 2rem; }
    .projects-premium-grid { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: 1fr; gap: 30px; }
    .value-card { padding: 40px 30px; }
    .faq-layout { grid-template-columns: 1fr; gap: 40px; }
    .faq-header-content { position: relative; top: 0; }
    
    .footer-columns { grid-template-columns: 1fr; gap: 30px; }
    .f-bottom-flex { flex-direction: column; gap: 20px; text-align: center; }
    .f-subfooter-flex { flex-direction: column; gap: 20px; text-align: center; }
    
    .contact-blocks { flex-direction: column; gap: 30px; text-align: left; }
    
    /* About Me Page Mobile */
    .about-title { font-size: 2.5rem; }
    .about-subtitle { font-size: 1rem; }
    .about-hero-section { padding: 140px 0 80px; min-height: 40vh; }
    .about-text-grid, .ai-cards-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-text-block .lead-text { font-size: 1.25rem; }
    .ai-conclusion { padding: 30px 20px; }
    .c-block { justify-content: flex-start; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
}

/* === SCROLL REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.left { transform: translateX(-60px); }
.reveal.left.active { transform: translateX(0); }

.reveal.right { transform: translateX(60px); }
.reveal.right.active { transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Esconder o botÃƒÂ£o flutuante de gestÃƒÂ£o de cookies do Complianz apÃƒÂ³s aceitaÃƒÂ§ÃƒÂ£o */
#cmplz-manage-consent .cmplz-manage-consent,
.cc-revoke,
.cmplz-manage-consent {
    display: none !important;
}

/* === ARCHIVE PROJETOS === */
.archive-projetos {
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.archive-projetos-header {
    margin-bottom: 80px;
}

.archive-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    color: #fff;
}

.archive-filters {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.filter-group label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 10px;
}

.filter-btn-all {
    background-color: var(--accent-color);
    color: #000;
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 1rem;
    font-family: var(--font-main);
    font-weight: 700;
    cursor: pointer;
    min-width: 150px;
    transition: all 0.3s ease;
}
.filter-btn-all:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.custom-select {
    appearance: none;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #fff;
    padding: 12px 40px 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    min-width: 220px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: all 0.3s ease;
}

.select-border-1 { border-color: #ffaa00; }
.select-border-2 { border-color: #ff3366; }
.select-border-3 { border-color: #3399ff; }

.custom-select:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.custom-select option {
    background-color: #111;
    color: #fff;
}

.load-more-container {
    margin-top: 80px;
}

.bottom-cta-darker {
    background: transparent;
}

#projetos-grid {
    transition: opacity 0.3s ease;
}

/* === SINGLE SERVICE GENERIC TEMPLATE === */
.service-hero-section {
    position: relative;
    padding: 180px 20px 100px;
    background: linear-gradient(135deg, #3a0088 0%, #200055 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.service-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 1px, transparent 1px), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}
.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}
.hero-pill {
    display: inline-block;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 8px 24px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}
.service-hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    font-weight: 700;
}
.service-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}
.btn-cyan {
    background: #00e5ff;
    color: #000;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-cyan:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Split Layout */
.split-layout-section {
    display: flex;
    flex-wrap: wrap;
    background: transparent;
    color: #fff;
}
.split-layout-section.reversed {
    flex-direction: row-reverse;
}
.split-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split-image {
    flex: 0 0 50%;
    max-width: 50%;
    min-height: 400px;
}
.image-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.bg-light { background-color: #111; }

.split-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.split-subtitle {
    color: var(--accent-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}
.split-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #ddd;
}
.highlight-accent {
    color: var(--accent-color);
    font-weight: 600;
}

/* Feature Icon List */
.feature-icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}
.list-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(224, 248, 120, 0.05); /* Accent color light background */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

@media (max-width: 992px) {
    .split-content, .split-image {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .split-content { padding: 50px 20px; }
    .split-image { min-height: 300px; }
}


/* === CALCULADORA === */
.page-calculadora .calc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-calculadora .calc-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.page-calculadora .calc-card.active {
    background: rgba(224, 248, 120, 0.05);
    border-color: var(--accent-color);
}

.page-calculadora .calc-card.active::before {
    content: "\2713"; /* Checkmark */
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.page-calculadora .calc-card h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    padding-right: 25px; /* space for checkmark */
}

.page-calculadora .calc-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
    flex-grow: 1;
}

.page-calculadora .price-tag {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: auto;
}

#calc-summary-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
#calc-summary-list li span:last-child {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 992px) {
    .calculator-section .container {
        flex-direction: column;
    }
    .calc-summary-col {
        width: 100%;
        position: static;
        margin-top: 50px;
    }
}


/* --- CALCULATOR SLIDER --- */
.range-slider-wrapper input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}
.range-slider-wrapper input[type=range]:focus {
    outline: none;
}

/* Chrome, Safari, Edge, Opera */
.range-slider-wrapper input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.range-slider-wrapper input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    margin-top: -11px;
    box-shadow: 0 0 15px rgba(224, 248, 120, 0.4);
    border: 4px solid #111;
    transition: transform 0.2s ease;
}
.range-slider-wrapper input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Firefox */
.range-slider-wrapper input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    border: none;
}
.range-slider-wrapper input[type=range]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(224, 248, 120, 0.4);
    border: 4px solid #111;
    transition: transform 0.2s ease;
}
.range-slider-wrapper input[type=range]::-moz-range-thumb:hover {
    transform: scale(1.1);
}


/* --- HEADER CTA BUTTON --- */
.btn-header {
    background-color: var(--accent-color);
    color: #000 !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-header:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 248, 120, 0.3);
}


/* --- MOBILE MENU --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    margin-left: 15px;
}
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .main-navigation {
        position: fixed;
        top: 80px; /* altura do header */
        left: 0;
        width: 100%;
        height: calc(100vh - 80px); /* Ocupar o ecrÃ£ todo abaixo do header */
        background: rgba(10, 10, 10, 0.98); /* Fundo quase opaco */
        backdrop-filter: blur(15px); /* Efeito de vidro */
        border-bottom: 1px solid rgba(255,255,255,0.05);
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centrar verticalmente */
        align-items: center;
        clip-path: circle(0% at top right);
        transition: clip-path 0.5s cubic-bezier(0.86, 0, 0.07, 1);
        z-index: 999;
    }
    .main-navigation.is-open {
        clip-path: circle(150% at top right);
    }
    .main-navigation > div { /* Se o WordPress criar uma div Ã  volta do UL */
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .main-navigation .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        margin-top: -60px !important;
        height: auto !important;
        gap: 15px !important;
    }
    .main-navigation .nav-menu li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        text-align: center !important;
        list-style: none !important;
        height: auto !important;
        line-height: 1.2 !important;
    }
    .main-navigation .nav-menu li a {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        display: inline-block !important;
        padding: 5px 10px !important;
        text-transform: none !important;
        letter-spacing: 0px !important;
        color: #fff !important;
    }
    /* Ocultar dropdowns complexos no mobile temporariamente */
    .main-navigation .nav-menu .sub-menu {
        position: static !important;
        display: none !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin-top: 10px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
    }
    .main-navigation .nav-menu li:hover .sub-menu, 
    .main-navigation .nav-menu li.open .sub-menu {
        display: block !important;
    }
    .main-navigation .nav-menu .sub-menu li a {
        font-size: 1rem !important;
        color: rgba(255,255,255,0.6) !important;
        padding: 5px !important;
    }
}


/* --- RESPONSIVE FIXES PARA SERVIÇOS & HOVER NO MOBILE --- */
@media (max-width: 992px) {
    .split-layout-section {
        flex-direction: column !important;
    }
    .split-content, .split-image {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 40px 20px !important;
    }
    .split-image .image-placeholder {
        min-height: 250px;
    }
    .main-navigation .nav-menu .sub-menu li a:hover,
    .main-navigation .nav-menu .sub-menu li a:active {
        color: #000 !important;
        background: var(--accent-color) !important;
    }
}


/* --- HEADER MOBILE FIX (EVITAR QUE O MENU SEJA EMPURRADO PARA FORA DO ECRÃ) --- */
@media (max-width: 992px) {
    .header-right {
        gap: 10px !important;
    }
    .header-action .btn-header {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
    }
    .site-logo {
        min-width: 120px !important;
        height: 35px !important;
    }
    .mobile-menu-toggle {
        margin-left: 5px !important;
    }
}


/* --- FORÇAR VISIBILIDADE DO BOTÃO HAMBÚRGUER --- */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #fff !important;
        z-index: 10000 !important;
    }
    .header-right {
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }
}


/* --- RESOLVER OVERFLOW DA LARGURA NO CABEÇALHO --- */
@media (max-width: 500px) {
    .site-logo {
        min-width: unset !important;
        max-width: 120px !important;
    }
    .header-action .btn-header {
        padding: 5px 8px !important;
        font-size: 0.75rem !important;
        letter-spacing: 0 !important;
    }
    .header-right {
        gap: 5px !important;
    }
    .header-container {
        padding: 0 10px !important;
    }
}


/* --- FIX IOS / RENDERING BUG NO MENU --- */
.mobile-menu-toggle svg {
    stroke: #ffffff !important;
    width: 28px !important;
    height: 28px !important;
    display: block !important;
}
.site-header {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
.mobile-menu-toggle {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    pointer-events: auto !important;
}


/* --- MUDANÇA RADICAL: POSIÇÃO ABSOLUTA NO MENU HAMBÚRGUER --- */
@media (max-width: 992px) {
    .site-header {
        position: fixed !important;
    }
    .header-container {
        position: relative !important;
    }
    .mobile-menu-toggle {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
        margin: 0 !important;
        background: rgba(0,0,0,0.5) !important; /* fundo temporario para garantir visibilidade */
        border-radius: 5px !important;
        padding: 5px !important;
    }
    .header-right {
        padding-right: 50px !important; /* espaco para o hamburger */
    }
}

/* Ajuste progressivo da margem esquerda do hero para ecrãs largos */
@media (min-width: 1400px) {
    .hero-content {
        margin-left: -60px;
    }
}
@media (min-width: 1600px) {
    .hero-content {
        margin-left: -120px;
    }
}

/* Garantir que o submenu não fica esmagado nem perde a fonte */
.nav-menu .sub-menu a {
    padding: 10px 20px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   Página de Contactos
   ========================================================================== */
.contact-hero {
    background-image: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 1) 100%);
}

.contact-info-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.contact-form-wrapper {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.contact-form-wrapper input[type="submit"],
.contact-form-wrapper button[type="submit"] {
    background: var(--accent-color);
    color: #0a0a0a;
    font-weight: 700;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.contact-form-wrapper input[type="submit"]:hover,
.contact-form-wrapper button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 248, 120, 0.3);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
}

/* Restoring basic HTML spacing inside split-desc because of the universal reset */
.split-desc p {
    margin-bottom: 20px;
}
.split-desc p:last-child {
    margin-bottom: 0;
}
.split-desc ul, .split-desc ol {
    margin-bottom: 20px;
    padding-left: 20px;
}
.split-desc li {
    margin-bottom: 10px;
}

/* ==========================================================================
   Single Project Portfolio Styles
   ========================================================================== */

.project-single-main {
    padding-top: 120px;
}

.project-header {
    margin-bottom: 60px;
}

.project-header-top {
    max-width: 1000px;
    margin: 0 0 60px 0;
    text-align: left;
}

.project-back-container {
    margin-bottom: 40px;
}

.project-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted, #a0a0a0);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.project-back-btn:hover {
    color: #fff;
}

.back-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #d1ff4c;
    transition: transform 0.3s;
}

.project-back-btn:hover .back-icon-circle {
    transform: translateX(-5px);
}

.project-header .project-title {
    font-size: 6rem;
    font-weight: 900;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    margin: 0 0 30px 0;
    padding: 0;
    text-align: left;
    color: #ffffff;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: none;
    -webkit-text-fill-color: initial;
}

.project-header .project-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: none;
    padding-top: 20px;
    margin-bottom: 60px;
}

.meta-groups {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.meta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.meta-label {
    font-size: 0.75rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.meta-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-pill {
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    background: transparent;
    transition: all 0.3s ease;
}

.meta-pill:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.project-visit-btn {
    border-radius: 30px !important;
    padding: 12px 30px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem !important;
}

.project-hero-image {
    margin-bottom: 80px;
    border-radius: 20px;
    overflow: hidden;
}

.featured-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.project-body-content { width: 100%;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #cccccc;
    padding-bottom: 100px;
}

.project-body-content h2, 
.project-body-content h3 {
    color: #ffffff;
    margin-top: 60px;
    margin-bottom: 30px;
    font-weight: 700;
}

.project-body-content h2 {
    font-size: 2.5rem;
}

.project-body-content h3 {
    font-size: 1.8rem;
}

.project-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 40px 0;
}

/* Similar Projects Section adjustments (using existing grid) */
.similar-projects-section {
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 992px) {
    .project-header .project-title {
        font-size: 2.2rem;
    }
    
    .project-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Project Content Utility Classes (For side-by-side images, etc)
   ========================================================================== */

.project-body-content .img-full-width {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 40px 0;
    display: block;
}

.project-body-content .img-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.project-body-content .img-grid-2 img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0; /* Override default img margin inside grid */
}

.project-body-content .text-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin: 60px 0;
    align-items: start;
}

.project-body-content .text-split-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

@media (max-width: 768px) {
    .project-body-content .img-grid-2,
    .project-body-content .text-split {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

