/* ==========================================================
   Pera Studios — Design System (Adham Dannaway)
   Paleta: Verde + Gelo | Fonte: Montserrat
   ========================================================== */

/* ----------------------------------------------------------
   0. Design Tokens
   ---------------------------------------------------------- */
:root {
    /* Colors */
    --ice: #F5F7F2;
    /* fundo principal */
    --ice-dark: #E8EDE3;
    /* fundo alternado */
    --ice-border: #D6DDD0;
    /* bordas suaves */
    --green: #9adb60;
    /* acento primário */
    --green-dark: #6fb83e;
    /* hover */
    --green-dim: rgba(154, 219, 96, 0.15);
    /* fundo verde suave */
    --hero-bg: #0F140F;
    /* hero escuro */
    --ink: #1A1F1A;
    /* texto principal */
    --ink-mid: #4A5248;
    /* texto secundário */
    --ink-light: #8A9488;
    /* texto terciário */
    --surface: #FFFFFF;
    /* cards, superfícies */

    /* Typography */
    --font: 'Montserrat', sans-serif;
    --text-xs: 0.70rem;
    /*  11px */
    --text-sm: 0.813rem;
    /*  13px */
    --text-base: 0.938rem;
    /*  15px */
    --text-md: 1.063rem;
    /*  17px */
    --text-lg: 1.25rem;
    /*  20px */
    --text-xl: 1.5rem;
    /*  24px */
    --text-2xl: 2rem;
    /*  32px */
    --text-3xl: 2.75rem;
    /*  44px */
    --text-4xl: clamp(2.5rem, 5.5vw, 5rem);
    --text-hero: clamp(1.8rem, 4.5vw, 3.5rem);

    /* Spacing (8pt grid) */
    --sp-1: 0.5rem;
    /*  8px */
    --sp-2: 1rem;
    /* 16px */
    --sp-3: 1.5rem;
    /* 24px */
    --sp-4: 2rem;
    /* 32px */
    --sp-5: 2.5rem;
    /* 40px */
    --sp-6: 3rem;
    /* 48px */
    --sp-8: 4rem;
    /* 64px */
    --sp-12: 6rem;
    /* 96px */
    --sp-16: 8rem;
    /* 128px */

    /* Border */
    --radius: 4px;
    --radius-lg: 8px;
}

/* ----------------------------------------------------------
   1. Reset & Base
   ---------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font);
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background: var(--ice);
    color: #9adb60;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--text-base);
    line-height: 1.6;
    font-weight: 400;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font);
}

::selection {
    background: var(--green);
    color: var(--ink);
}

/* ----------------------------------------------------------
   2. Container
   ---------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-3);
}

/* ----------------------------------------------------------
   3. Typography helpers
   ---------------------------------------------------------- */
.label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-light);
}

.display {
    font-size: var(--text-4xl);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
}

/* ----------------------------------------------------------
   4. Navigation
   ---------------------------------------------------------- */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-1) var(--sp-3);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ice-border);
}

.nav-logo {
    display: block;
    width: 2rem;
    transition: opacity 0.2s;
}

.nav-logo:hover {
    opacity: 0.65;
}

.nav-logo img {
    width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    gap: var(--sp-5);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav-links a {
    position: relative;
    color: var(--ink-mid);
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-menu-btn {
    display: none;
    color: var(--ink);
    padding: var(--sp-1);
}

/* ----------------------------------------------------------
   5. Mobile Menu
   ---------------------------------------------------------- */
#mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--hero-bg);
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--sp-12) var(--sp-6);
    gap: var(--sp-4);
    transform: translateX(100%) translateZ(0);
    -webkit-transform: translateX(100%) translateZ(0);
    transition: transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);
    -webkit-transition: -webkit-transform 0.45s cubic-bezier(0.77, 0, 0.18, 1), transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
}

#mobile-menu.open {
    transform: translateX(0) translateZ(0);
    -webkit-transform: translateX(0) translateZ(0);
}

#close-menu-btn {
    position: absolute;
    top: 75px;
    right: var(--sp-3);
    color: var(--ice);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: var(--sp-1);
    transition: border-color 0.2s, color 0.2s;
    z-index: 0;
}

#close-menu-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

.mobile-link {
    font-size: var(--text-3xl);
    font-weight: 900;
    color: var(--ice);
    letter-spacing: -0.02em;
    transition: color 0.2s;
}

.mobile-link:hover {
    color: var(--green);
}

/* ----------------------------------------------------------
   6. Hero
   ---------------------------------------------------------- */
#hero {
    position: relative;
    height: 100svh;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: var(--hero-bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 15, 0.75);
    z-index: 1;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1.6);
    border: 0;
}

.hero-video-desktop {
    display: none;
}

.hero-video-mobile {
    display: block;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 var(--sp-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
}

.hero-logo {
    width: 75%;
    max-width: 560px;
    height: auto;
    mix-blend-mode: exclusion;
    filter: drop-shadow(0 0 32px rgba(154, 219, 96, 0.25));
    -webkit-filter: drop-shadow(0 0 32px rgba(154, 219, 96, 0.25));
    transition: transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease, transform 0.5s ease;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.hero-logo:hover {
    transform: scale(1.03) translateZ(0);
    -webkit-transform: scale(1.03) translateZ(0);
}

.hero-tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 247, 242, 0.60);
}

.hero-tagline .sep {
    display: none;
    color: var(--green);
}

/* Accent tag on hero */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: 0.35rem var(--sp-2);
    border: 1px solid rgba(154, 219, 96, 0.35);
    border-radius: 100px;
    background: var(--green-dim);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

.hero-scroll-hint {
    position: absolute;
    bottom: var(--sp-6);
    left: var(--sp-3);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.hero-scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-scroll-label {
    font-size: var(--text-xs);
    letter-spacing: 0.15em;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(245, 247, 242, 0.45);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.5);
    }
}

/* ----------------------------------------------------------
   7. Marquee
   ---------------------------------------------------------- */
.section-marquee {
    padding: var(--sp-2) 0;
    background: var(--green);
    overflow: hidden;
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    -webkit-animation: marquee 30s linear infinite;
    flex-shrink: 0;
    will-change: transform;
}

.marquee-track img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0);
    flex-shrink: 0;
}

@-webkit-keyframes marquee {
    0% {
        -webkit-transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(-50%);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ----------------------------------------------------------
   8. Section: O que é a Pera — Slide 2
   ---------------------------------------------------------- */
#work {
    position: relative;
    padding: var(--sp-16) 0;
    background: var(--hero-bg);
    overflow: hidden;
}

@media (max-width: 768px) {
    #work {
        padding: 80px 0;
    }

}

.work-bg-img {
    position: absolute;
    right: 0;
    top: 40%;
    transform: translateY(-50%) translateX(12%);
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    opacity: 0.7;
    mix-blend-mode: lighten;
    z-index: 0;
}

@media (max-width: 768px) {
    .work-bg-img {
        position: absolute;
        right: 0;
        top: 20%;
        transform: translateY(-50%) translateX(20%);
        width: 100%;
        max-width: 1200px;
        height: auto;
        object-fit: contain;
        pointer-events: none;
        opacity: 0.7;
        mix-blend-mode: lighten;
        z-index: 0;
    }
}

.work-inner {
    position: relative;
    z-index: 1;
}

.work-eyebrow {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: var(--sp-3);
    display: block;
}

.work-title {
    font-size: var(--text-4xl);
    font-weight: 400;
    color: var(--ice);
    margin-bottom: var(--sp-8);
    letter-spacing: -0.03em;
    line-height: 1.02;
    max-width: 760px;
}

.work-title .accent {
    color: var(--green);
}

.work-divider {
    width: 100%;
    max-width: 860px;
    height: 1px;
    background: rgba(245, 247, 242, 0.19);
    margin-bottom: var(--sp-6);
}

.work-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    max-width: 860px;
}

.work-desc {
    color: rgba(245, 247, 242, 0.55);
    font-size: var(--text-base);
    line-height: 1.8;
    flex: 1;
    font-weight: 400;
}

.work-icons {
    display: flex;
    gap: var(--sp-3);
    flex-shrink: 0;
}

.work-icons i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--green);
    transition: color 0.2s;
}

.work-icons i:hover {
    color: var(--ice);
}

/* ----------------------------------------------------------
   9. Founders
   ---------------------------------------------------------- */
#founders {
    position: relative;
    background-color: #e8e8e8;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    padding: var(--sp-16) 0;
    border-top: 1px solid var(--ice-border);
    overflow: hidden;
}

.founders-eyebrow {
    text-align: center;
    padding: 0 var(--sp-4) var(--sp-12) var(--sp-4);
}

.founders-eyebrow p {
    font-size: var(--text-md);
    color: var(--ink-mid);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.founders-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-3);
    display: flex;
    flex-direction: column;
    gap: var(--sp-16);
}

.founder-block {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}

@media(min-width: 900px) {
    .founder-block {
        flex-direction: row;
        align-items: stretch;
        gap: var(--sp-12);
    }

    .founder-jottape {
        flex-direction: row-reverse;
    }

    .founder-jottape .founder-right {
        text-align: right;
    }

    .founder-jottape .founder-right .founder-eyebrow-text {
        margin-left: auto;
    }

    .founder-jottape .founder-name-huge {
        left: auto;
        right: 8%;
        top: 88%
    }
}

.founder-left {
    position: relative;
    width: 100%;
}

@media(min-width: 900px) {
    .founder-left {
        width: 48%;
        flex-shrink: 0;

    }
}

.founder-img {
    width: 80%;
    height: auto;
    display: block;
    object-fit: cover;
}

.founder-name-huge {
    position: absolute;
    bottom: -5%;
    left: 4%;
    font-size: clamp(3rem, 13vw, 9.5rem);
    font-weight: 900;
    color: var(--green);
    line-height: 0.8;
    letter-spacing: 0.02em;
    z-index: 10;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    /* Sombra rápida para legibilidade */
}

.founder-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--sp-8) var(--sp-4) 0 var(--sp-4);
}

@media(min-width: 900px) {
    .founder-right {
        padding: 0;
        justify-content: center;
    }
}

.founder-eyebrow-text {
    font-size: var(--text-xs);
    color: var(--ink-mid);
    line-height: 1.6;
    margin-bottom: var(--sp-12);
    max-width: 320px;
}

.founder-name {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.founder-role {
    font-size: var(--text-base);
    color: var(--ink-mid);
    margin-bottom: var(--sp-8);
}

.founder-role em {
    font-style: normal;
    color: var(--green-dark);
    font-weight: 700;
}

.founder-bio {
    font-size: var(--text-base);
    color: var(--ink-mid);
    line-height: 1.6;
    margin-bottom: var(--sp-5);
    max-width: 480px;
}

.founder-bio strong {
    color: var(--ink);
    font-weight: 700;
}

.founder-list {
    margin-bottom: var(--sp-6);
    display: flex;
    flex-direction: column;
}

.founder-list li {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}

.founder-stats {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.stat-line {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-year {
    font-size: var(--text-sm);
    color: var(--ink-mid);
}

.stat-num {
    font-size: var(--text-base);
    font-weight: 900;
    color: var(--ink);
}

.stat-num span {
    font-weight: 400;
    font-size: var(--text-sm);
    color: var(--ink-mid);
}

@media(max-width: 899px) {

    .founders-container {
        gap: var(--sp-12);
    }

    .founder-block {
        gap: var(--sp-3);
    }

    .founder-right {
        padding: var(--sp-4) var(--sp-2) 0 var(--sp-2);
    }

    .founder-role {
        margin-bottom: var(--sp-4);
        line-height: 1.4;
    }

    .founder-img {
        width: 60%;
    }

    .founder-name-huge {
        bottom: 5px;
        left: 5px;
        font-size: 16vw;
    }
}

@media(max-width: 500px) {

    .founders-container {
        gap: var(--sp-12);
    }

    .founders-eyebrow {
        margin-bottom: var(--sp-6);
        padding-bottom: 0;
    }

    .founder-block {
        gap: var(--sp-2);
    }

    .founder-right {
        padding: var(--sp-2) 0 0 0;
    }

    .founder-role {
        margin-bottom: var(--sp-3);
    }

    .founder-bio {
        margin-bottom: var(--sp-4);
    }

    .founder-img {
        width: 100%;
    }

    .founder-name-huge {
        bottom: 5px;
        left: 5px;
        font-size: 15vw;
    }
    .hero-overlay {

    background: rgba(15, 20, 15, 0.85);

}
}

/* ----------------------------------------------------------
   10. Metodologia — Slide 4
   ---------------------------------------------------------- */
#metodo {
    position: relative;
    padding: var(--sp-12) 0;
    background: var(--green);
    border-top: 3px solid var(--ink);
    overflow: hidden;
}

.metodo-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-image: radial-gradient(var(--ink) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.metodo-grid {
    position: relative;
    z-index: 1;
    display: flex;
    gap: var(--sp-8);
}

.metodo-eyebrow {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(15, 20, 15, 0.50);
    margin-bottom: var(--sp-3);
}

.metodo-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.metodo-title em {
    font-style: normal;
    color: var(--surface);
}

.metodo-text p {
    font-size: var(--text-md);
    color: rgba(15, 20, 15, 0.70);
    line-height: 1.7;
    margin-bottom: var(--sp-3);
}

.metodo-text p:last-child {
    margin-bottom: 0;
}

.metodo-text .bold {
    font-weight: 700;
    color: var(--ink);
}

/* ----------------------------------------------------------
   11. Tags — Slide 4.5
   ---------------------------------------------------------- */
#tags {
    position: relative;
    background: var(--ice-dark);
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    border-top: 1px solid var(--ice-border);
    border-bottom: 1px solid var(--ice-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tags-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
    background-image: radial-gradient(var(--ink) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.scene {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tags-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.tag-container {
    position: absolute;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transform-origin: top center;
    -webkit-transform-origin: top center;
    filter: drop-shadow(-6px 12px 16px rgba(26, 31, 26, 0.18));
    -webkit-filter: drop-shadow(-6px 12px 16px rgba(26, 31, 26, 0.18));
    animation: swing 6s ease-in-out infinite;
    -webkit-animation: swing 6s ease-in-out infinite;
}

.string {
    position: absolute;
    width: 1px;
    height: 100vh;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent 0%, var(--ice-border) 40%, var(--ice-border) 100%);
    z-index: 10;
}

.hole {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ink);
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.tag-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.tag-video-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.tag-video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(2);
    border: 0;
    opacity: 0.6;
}

@-webkit-keyframes swing {
    0% {
        -webkit-transform: rotateY(var(--rotY, 10deg)) rotateX(5deg) rotateZ(-2deg);
    }

    50% {
        -webkit-transform: rotateY(var(--rotY, 10deg)) rotateX(-2deg) rotateZ(2deg);
    }

    100% {
        -webkit-transform: rotateY(var(--rotY, 10deg)) rotateX(5deg) rotateZ(-2deg);
    }
}

@keyframes swing {
    0% {
        transform: rotateY(var(--rotY, 10deg)) rotateX(5deg) rotateZ(-2deg);
    }

    50% {
        transform: rotateY(var(--rotY, 10deg)) rotateX(-2deg) rotateZ(2deg);
    }

    100% {
        transform: rotateY(var(--rotY, 10deg)) rotateX(5deg) rotateZ(-2deg);
    }
}

.delay-1 {
    animation-delay: 0s;
}

.delay-2 {
    animation-delay: -1.5s;
}

.delay-3 {
    animation-delay: -3.2s;
}

.delay-4 {
    animation-delay: -0.8s;
}

.delay-5 {
    animation-delay: -2.3s;
}

.delay-6 {
    animation-delay: -4.1s;
}

/* ----------------------------------------------------------
   12. Serviços - Slide 5
   ---------------------------------------------------------- */
#servicos {
    background-color: var(--hero-bg);
    color: var(--ice);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.servicos-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--sp-12) auto;
}

.servicos-eyebrow {
    display: inline-block;
    color: var(--green);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: var(--sp-4);
}

.servicos-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: var(--sp-4);
    color: var(--ice);
}

.servicos-sub {
    font-size: var(--text-lg);
    color: var(--ink-light);
}

/* GRID de serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    width: 100%;
}

@media(min-width: 768px) {
    .servicos-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-8);
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

.servico-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: var(--sp-3);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.servico-item:hover {
    border-color: rgba(154, 219, 96, 0.3);
    background-color: rgba(255, 255, 255, 0.04);
}

/* Icone verde suave */
.servico-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(154, 219, 96, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: var(--sp-2);
}

.servico-name {
    font-size: var(--heading-sm);
    font-weight: 700;
    color: var(--ice);
    margin-bottom: var(--sp-2);
}

.servico-desc {
    font-size: var(--text-base);
    color: var(--ink-light);
    line-height: 1.5;
    font-weight: 400;
}

/* ----------------------------------------------------------
   13. Footer — Slide 6
   ---------------------------------------------------------- */
#contact {
    background: var(--ice-dark);
    color: var(--ink);
    padding: var(--sp-12) 0;
    border-top: 3px solid var(--ink);
}

.footer-grid {
    display: grid;
    gap: var(--sp-8);
    margin-bottom: var(--sp-8);
}

.footer-eyebrow {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-light);
    margin-bottom: var(--sp-3);
}

.footer-title {
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    font-weight: 900;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-5);
}

.footer-title .accent {
    color: var(--green-dark);
}

.footer-desc {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--ink-mid);
    max-width: 36rem;
    line-height: 1.8;
    margin-bottom: var(--sp-3);
}

.footer-desc b {
    font-weight: 700;
    color: var(--ink);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: var(--sp-4);
}

.footer-email {
    display: inline-block;
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.02em;
    padding-bottom: var(--sp-1);
    border-bottom: 2px solid var(--ice-border);
    transition: color 0.2s, border-color 0.2s;
}

.footer-email:hover {
    color: var(--green-dark);
    border-color: var(--green);
}

.footer-socials {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.footer-socials a {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mid);
    transition: color 0.2s;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.footer-socials a:hover {
    color: var(--ink);
    border-color: var(--green);
}

.footer-divider {
    height: 1px;
    background: var(--ice-border);
    margin-bottom: var(--sp-4);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
    font-size: var(--text-xs);
    color: var(--ink-light);
    font-weight: 400;
}

.footer-bottom a {
    font-weight: 700;
    color: var(--ink-mid);
}

.footer-bottom a:hover {
    color: var(--ink);
}

/* ----------------------------------------------------------
   14. Glitch
   ---------------------------------------------------------- */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ice-dark);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-a 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-b 5s infinite linear alternate-reverse;
}

@keyframes glitch-a {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
        transform: skew(.85deg)
    }

    20% {
        clip: rect(69px, 9999px, 5px, 0);
        transform: skew(.39deg)
    }

    40% {
        clip: rect(45px, 9999px, 79px, 0);
        transform: skew(.08deg)
    }

    60% {
        clip: rect(20px, 9999px, 86px, 0);
        transform: skew(.66deg)
    }

    80% {
        clip: rect(81px, 9999px, 2px, 0);
        transform: skew(.96deg)
    }

    100% {
        clip: rect(1px, 9999px, 91px, 0);
        transform: skew(.25deg)
    }
}

@keyframes glitch-b {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
        transform: skew(.06deg)
    }

    20% {
        clip: rect(4px, 9999px, 20px, 0);
        transform: skew(.35deg)
    }

    40% {
        clip: rect(21px, 9999px, 52px, 0);
        transform: skew(.41deg)
    }

    60% {
        clip: rect(4px, 9999px, 79px, 0);
        transform: skew(.53deg)
    }

    80% {
        clip: rect(59px, 9999px, 34px, 0);
        transform: skew(.89deg)
    }

    100% {
        clip: rect(55px, 9999px, 12px, 0);
        transform: skew(.04deg)
    }
}


/* ----------------------------------------------------------
   15. Responsive — ≥768px
   ---------------------------------------------------------- */
@media (min-width: 768px) {
    .nav-menu-btn {
        display: none;
    }

    .nav-links {
        display: flex;
    }

    .hero-video-desktop {
        display: block;
    }

    .hero-video-mobile {
        display: none;
    }

    .hero-logo {
        width: 100%;
    }

    .hero-tagline {
        flex-direction: row;
        gap: var(--sp-2);
    }

    .hero-tagline .sep {
        display: inline;
    }

    .work-bottom {
        flex-direction: row;
        gap: var(--sp-8);
        align-items: flex-start;
    }

    /* founders: 2 colunas lado a lado no tablet/desktop */
    .founders-cards {
        grid-template-columns: 1fr 1fr;
    }

    .founder-card {
        flex-direction: row;
    }

    .founder-photo-wrap {
        width: 46%;
        max-height: none;
        flex-shrink: 0;
    }

    .metodo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ----------------------------------------------------------
   16. Responsive — ≥1024px
   ---------------------------------------------------------- */
@media (min-width: 1024px) {
    .founder-row {
        padding: var(--sp-8) var(--sp-12);
    }

    .servicos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ----------------------------------------------------------
   17. Mobile nav
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .nav-menu-btn {
        display: block;
    }

    /* Otimização de Espaçamentos Mobile (UX) */
    #metodo {
        padding: var(--sp-8) 0;
    }

    .metodo-grid {
        gap: var(--sp-5);
    }

    .servicos-header {
        margin-bottom: var(--sp-6);
    }

    #contact {
        padding: var(--sp-8) 0;
    }

    .footer-grid {
        gap: var(--sp-6);
        margin-bottom: var(--sp-6);
    }

    #work {
        padding: var(--sp-8) 0;
    }
}

/* ----------------------------------------------------------
   18. 3D Tags
   ---------------------------------------------------------- */
/* * PASSO 1: O Container das Etiquetas */
.container-tags {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 700px;
    margin: 0 auto;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* * PASSO 2: Estilo Base e o Pêndulo */
.tag {
    position: absolute;
    width: 120px;
    height: 400px;
    border-radius: 4px;
    box-shadow: 5px 15px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    transform-origin: 50% -800px;
    -webkit-transform-origin: 50% -800px;
    transition: z-index 0.3s, transform 0.3s;
    -webkit-transition: z-index 0.3s, -webkit-transform 0.3s;
    cursor: pointer; /* Garante que o iOS Safari reconheça cliques e ative o :hover */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent; /* Remove piscar ao clicar no iOS */
}

/* * PASSO 3: A Animação de Balanço ao passar o rato */
.tag:hover {
    z-index: 50 !important;
    animation: balanco 2s ease-in-out infinite;
    -webkit-animation: balanco 2s ease-in-out infinite;
}

@-webkit-keyframes balanco {
    0%   { -webkit-transform: rotate(0deg); }
    25%  { -webkit-transform: rotate(1.5deg); }
    50%  { -webkit-transform: rotate(0deg); }
    75%  { -webkit-transform: rotate(-1.5deg); }
    100% { -webkit-transform: rotate(0deg); }
}

@keyframes balanco {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(1.5deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-1.5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* * PASSO 4: A CORDINHA e o FURO */
.tag::before {
    content: '';
    position: absolute;
    top: -800px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 815px;
    background: linear-gradient(to bottom, #999, #ddd);
    z-index: 10;
}

.tag::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: #e9ecef;
    border-radius: 50%;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 11;
}

/* * PASSO 5: Estilos de Cores, Textos e Imagens */
.cor-verde {
    background-color: #7ED957;
    color: #111;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(0, 0, 0, 0.08) 19px, rgba(0, 0, 0, 0.08) 20px);
}

.cor-preta {
    background-color: #1a1a1a;
    color: #7ED957;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(126, 217, 87, 0.15) 19px, rgba(126, 217, 87, 0.15) 20px);
}

.com-imagem {
    background-color: #ccc;
    background-size: cover;
    background-position: center;
}

.tag h2 {
    font-size: 2.2em;
    line-height: 1;
    margin: 0;
    word-break: break-all;
    text-transform: uppercase;
    font-weight: 900;
    position: relative;
    z-index: 2;
}

.tag h2 span {
    font-size: 1.8em;
    display: block;
    margin-bottom: 10px;
}

/* * PASSO 6: Distribuição das 8 Etiquetas (4 Textos, 4 Imagens) */
.tag-1 {
    left: calc(50% - 443px);
    top: 120px;
    z-index: 4;
    background-image: url('../img/webp/bolsonaro_1_1.webp');
}

.tag-2 {
    left: calc(50% - 330px);
    top: 60px;
    z-index: 2;
}

.tag-3 {
    left: calc(50% - 220px);
    top: 140px;
    z-index: 5;
    background-image: url('../img/webp/bypamela_1_1.webp');
}

.tag-4 {
    left: calc(50% - 110px);
    top: 80px;
    z-index: 3;
}

.tag-5 {
    left: calc(50% + -10px);
    top: 160px;
    z-index: 6;
    background-image: url('../img/webp/habibs_2_1.webp');
}

.tag-6 {
    left: calc(50% + 100px);
    top: 70px;
    z-index: 2;
}

.tag-7 {
    left: calc(50% + 200px);
    top: 130px;
    z-index: 7;
    background-image: url('../img/webp/patricia_abravanel_2_1.webp');
}

.tag-8 {
    left: calc(50% + 310px);
    top: 90px;
    z-index: 4;
}

/* * RESPONSIVIDADE 3D TAGS PARA CELULARES */
@media (max-width: 900px) {
    .scene {
        transform: scale(0.80);
        transform-origin: center;
        height: 350px;
    }

    .founder-block {
        display: flex;
        flex-direction: column;
        gap: var(--sp-6);
        align-items: center;

    }

    .founder-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 800px) {
    .scene {
        transform: scale(0.75);
        transform-origin: center;

    }
}

@media (max-width: 700px) {
    .scene {
        transform: scale(0.65);
        transform-origin: center;

    }

    #tags {
        height: 500px;
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .scene {
        transform: scale(0.60);
        transform-origin: center;

    }
     #founders{
        padding: 60px 0;
    }

    #tags {
        height: 450px;
        min-height: 0;
    }
}

@media (max-width: 500px) {
    .scene {
        transform: scale(0.50);
        transform-origin: center;

    }
    .founder-img {
        width: 70%;
    }

    #tags {
        height: 400px;
        min-height: 0;
    }
}

@media (max-width: 430px) {
    .scene {
        transform: scale(0.40);
        transform-origin: center;


    }

    #tags {
        height: 400px;
        min-height: 0;
    }
   
}


