/* ============================================
   MELT FILMES — Main Stylesheet
   Black & White / Premium Creative Agency
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --grey-dark: #111111;
    --grey-mid: #222222;
    --grey-light: #888888;
    --font-main: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --nav-height: 64px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s, height 0.3s;
    mix-blend-mode: difference;
}

.cursor.hovered {
    width: 16px;
    height: 16px;
}

.cursor-follower.hovered {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 2px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--white);
    border-radius: 2px;
}

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3,
h4 {
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

a {
    color: var(--white);
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

/* ─── NAVIGATION ─── */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.0);
    transition: background var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

.main-nav.scrolled {
    background: rgba(0, 0, 0, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.nav-left {
    display: flex;
    flex: 1;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.85;
    transition: opacity 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo img {
    height: 28px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s;
}

.nav-logo img:hover {
    opacity: 0.7;
}

.nav-right {
    display: flex;
    flex: 1;
    gap: 40px;
    justify-content: flex-end;
    align-items: center;
}

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 0;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    cursor: none;
    padding: 2px 0;
    transition: color 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--white);
}

.lang-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

/* ─── MOBILE MENU ─── */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.3s ease,
        background-color 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--black);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.mobile-menu-overlay.open .mobile-menu-content {
    transform: translateY(0);
}

.mobile-link {
    font-family: var(--font-main);
    font-size: clamp(24px, 6vw, 40px);
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.mobile-lang {
    margin-left: 0;
    margin-top: 24px;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: opacity 1s ease;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) translateZ(0);
    will-change: transform, opacity;
    border: none;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.5) 80%,
            rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    will-change: transform;
    pointer-events: none;
    padding: 0 24px;
}

.hero-tagline {
    font-size: clamp(11px, 1.5vw, 14px);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 400;
    margin-bottom: 12px;
    font-family: var(--font-mono);
}

.hero-sub {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-concept {
    font-size: clamp(11px, 1.2vw, 13px);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.5;
    font-family: var(--font-mono);
    font-weight: 400;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
}

.scroll-indicator span {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--white));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ─── ABOUT SECTION ─── */
.about-section {
    padding: 120px 80px;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 80px;
    right: 80px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-heading {
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 48px;
    will-change: transform;
}

.about-heading-logo {
    height: 0.85em;
    vertical-align: middle;
    margin: 0.1em 0;
}

.melt-italic {
    font-style: italic;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.92em;
    letter-spacing: -0.01em;
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* reduzido para juntar mais o texto */
}

.about-lead {
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 600;
}

.about-body p {
    font-size: clamp(15px, 1.2vw, 18px);
    /* fonte maior */
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    /* texto mais junto */
}

.about-tagline {
    font-family: var(--font-main);
    font-size: clamp(16px, 1.8vw, 24px) !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--white) !important;
    margin-top: 24px;
    font-weight: 700;
}

.about-video-col {
    will-change: transform;
}

.about-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--grey-dark);
}

.about-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ─── PORTFOLIO ─── */
.portfolio-section {
    padding: 0 0 0 0;
    position: relative;
}

.portfolio-section-header {
    padding: 0 80px 60px;
    display: flex;
    align-items: baseline;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-label {
    font-family: var(--font-mono);
    font-size: clamp(15px, 1.2vw, 18px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 60px;
    padding: 0 80px 20px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: none;
    background: var(--grey-dark);
}

.portfolio-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--grey-dark);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-thumb {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.3;
    transform: translateY(8px);
    transition: transform 0.4s;
}

.portfolio-item:hover .portfolio-title {
    transform: translateY(0);
}

.portfolio-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 56px;
    height: 56px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.portfolio-play svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
    margin-left: 3px;
}

.portfolio-item:hover .portfolio-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* VER MAIS */
.ver-mais-container {
    padding: 64px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ver-mais-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 48px;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, color 0.3s;
}

.ver-mais-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ver-mais-btn:hover {
    color: var(--black);
    border-color: var(--white);
}

.ver-mais-btn:hover::before {
    transform: scaleX(1);
}

.ver-mais-btn span {
    position: relative;
    z-index: 1;
}

.portfolio-more {
    border-top: 2px solid rgba(255, 255, 255, 0.06);
}

/* ─── BIG QUOTE ─── */
.big-quote-section {
    padding: 140px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 50vh;
    position: relative;
    overflow: hidden;
}

.big-quote-text {
    max-width: 1100px;
    will-change: transform;
}

.big-quote-text p {
    font-size: clamp(24px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.big-quote-text p+p {
    margin-top: 8px;
}

/* ─── CONTACT ─── */
.contact-section {
    padding: 120px 80px;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-heading {
    font-size: clamp(48px, 5vw, 72px);
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    line-height: 1;
}

.contact-text-col p {
    font-size: clamp(15px, 1.2vw, 18px);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 12px;
}

.services-link {
    display: inline-block;
    margin-top: 20px;
    font-size: clamp(15px, 1.2vw, 18px);
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.3s;
}

.services-link:hover {
    opacity: 1;
    border-color: var(--white);
}

/* Form Styles */
.contact-form-col {
    padding-top: 8px;
}

.form-group {
    position: relative;
    margin-bottom: 40px;
}

.form-group input[type="email"] {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: var(--font-main);
    font-size: clamp(15px, 1.2vw, 18px);
    padding: 12px 0;
    outline: none;
    transition: border-color 0.3s;
    caret-color: var(--white);
}

.form-group input[type="email"]:focus {
    border-bottom-color: var(--white);
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    pointer-events: none;
    transition: top 0.2s, font-size 0.2s, color 0.2s;
}

.form-group input[type="email"]:focus+label,
.form-group input[type="email"]:not(:placeholder-shown)+label {
    top: -14px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
}

.form-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 32px 0;
}

.form-radio-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.form-check-group {
    margin-bottom: 40px;
}

.radio-label,
.check-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(15px, 1.2vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    cursor: none;
    user-select: none;
    transition: color 0.2s;
}

.radio-label:hover,
.check-label:hover {
    color: var(--white);
}

.radio-label input,
.check-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-custom,
.check-custom {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s;
}

.check-custom {
    border-radius: 0;
}

.radio-label input:checked~.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
}

.check-label input:checked~.check-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: var(--white);
    line-height: 1;
}

.radio-label input:checked~.radio-custom,
.check-label input:checked~.check-custom {
    border-color: var(--white);
}

.submit-btn {
    background: var(--white);
    color: var(--black);
    border: none;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 18px 64px;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--black);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.submit-btn:hover {
    color: var(--white);
}

.submit-btn:hover::before {
    transform: scaleX(1);
}

.submit-btn span {
    position: relative;
    z-index: 1;
}

/* Form success message */
.form-success {
    display: none;
    padding: 24px 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
}

/* ─── FOOTER ─── */
.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto 80px;
}

.footer-logo {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: clamp(15px, 1.2vw, 18px);
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: border-color 0.3s, background 0.3s;
}

.social-icons a:hover {
    opacity: 1;
    border-color: var(--white);
    background: var(--white);
    color: var(--black);
}

.social-icons a:hover svg {
    fill: var(--black);
}

.social-icons svg {
    width: 14px;
    height: 14px;
    fill: var(--white);
    transition: fill 0.3s;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav ul li a {
    font-size: clamp(15px, 1.2vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-nav ul li a:hover {
    color: var(--white);
    opacity: 1;
}

.footer-contact p {
    font-size: clamp(15px, 1.2vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-contact p a:hover {
    color: var(--white);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand-text {
    font-family: var(--font-main);
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.4);
}

.footer-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
}

/* ─── VIDEO MODAL ─── */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.video-modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    width: 90vw;
    max-width: 1200px;
}

.modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: none;
    transition: color 0.2s, transform 0.3s;
    padding: 8px;
    font-family: var(--font-mono);
}

.modal-close:hover {
    color: var(--white);
    transform: rotate(90deg);
}

.modal-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}

.modal-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-title {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 16px;
    font-family: var(--font-mono);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ─── SERVICES PAGE ─── */
.services-page {
    padding-top: var(--nav-height);
}

.services-hero {
    padding: 120px 80px 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.services-hero h1 {
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
}

.services-hero p {
    font-size: clamp(14px, 1.2vw, 16px);
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    line-height: 1.75;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse>* {
    direction: ltr;
}

.service-number {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 20px;
    display: block;
}

.service-content h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    margin-bottom: 20px;
    line-height: 1.1;
}

.service-content .service-desc {
    font-size: clamp(15px, 1.2vw, 18px);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 32px;
}

.service-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-content ul li {
    font-size: clamp(15px, 1.2vw, 18px);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-content ul li::before {
    content: '—';
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-mono);
}

.service-visual {
    aspect-ratio: 4/3;
    background: var(--grey-dark);
    position: relative;
    overflow: hidden;
}

.service-visual-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-visual-inner svg {
    width: 48px;
    height: 48px;
    opacity: 0.1;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.5);
    margin: 60px 80px;
    transition: color 0.2s;
}

.services-back:hover {
    color: var(--white);
    opacity: 1;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {

    .about-grid,
    .contact-grid,
    .service-item {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-item.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .about-section,
    .contact-section,
    .services-hero {
        padding: 80px 40px;
    }

    .big-quote-section {
        padding: 100px 40px;
    }

    .service-item {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .hero-sub br {
        display: none;
    }

    .nav-links {
        display: none;
    }

    /* Force the main nav to align items explicitly on mobile */
    .main-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .lang-switcher {
        display: flex;
        margin-left: 0;
    }

    .nav-right {
        display: flex;
        flex: 1;
        justify-content: flex-end;
    }

    .nav-right .nav-links {
        display: none;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-toggle {
        display: flex;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .main-footer {
        padding: 60px 24px 0;
    }

    .about-section,
    .contact-section {
        padding: 60px 24px;
    }

    .big-quote-section {
        padding: 80px 24px;
    }

    .services-hero,
    .service-item {
        padding: 60px 24px;
    }

    .services-back {
        margin: 40px 24px;
    }

    .portfolio-label,
    .services-label {
        font-size: clamp(15px, 1.2vw, 18px);
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ─── TOUCH DEVICES FIX ─── */
@media (pointer: coarse),
(hover: none) {

    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body,
    a,
    button,
    .portfolio-item,
    .ver-mais-btn,
    .nav-links a,
    .lang-btn,
    .radio-label,
    .check-label,
    .about-video-wrapper,
    .modal-close {
        cursor: auto !important;
    }

    a,
    button,
    .portfolio-item,
    .ver-mais-btn {
        cursor: pointer !important;
    }
}