/* style.css - Proposta DEPLOY */

:root {
    --brand-orange: #F16922;
    --bg-dark: #04091A;
    --bg-darker: #010308;

    --text-main: #FFFFFF;
    --text-muted: #8BA0BB;
    --text-dark: #0A0F1A;

    --success-green: #238636;
    --danger-red: #DA3633;

    --glass-bg: rgba(14, 21, 40, 0.4);
    --glass-border: rgba(255, 255, 255, 0.04);
    --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

    --card-radius: 20px;
    --pill-radius: 50px;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    /* Keeping Poppins but making it brutalist */
    background-color: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Background Effects */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

/* Background Details */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px); /* Limitado a 80px para não explodir a memória de vídeo do Safari do iOS */
    -webkit-filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(241, 105, 34, 0.3) 0%, transparent 70%);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(4, 9, 26, 0.8) 0%, transparent 70%);
}

.glow-3 {
    width: 300px;
    height: 300px;
    background: var(--brand-orange);
    top: 50%;
    left: 40%;
    opacity: 0.05;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.abstract-curves {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Typography Utils */
.text-orange {
    color: var(--brand-orange);
}

.text-cyan {
    color: var(--brand-cyan);
}

.text-green {
    color: var(--success-green);
}

.text-red {
    color: var(--danger-red);
}

.text-gray {
    color: var(--text-muted);
}

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

.bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Layout Utils */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 100px 24px;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 3rem;
}

.mt-6 {
    margin-top: 6rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-sm {
    max-width: 500px;
}

.max-w-md {
    max-width: 700px;
}

/* Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 32px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(241, 105, 34, 0.3);
    transform: translateY(-5px);
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    border: 1px solid var(--brand-cyan);
    border-radius: var(--pill-radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    background: rgba(0, 229, 255, 0.05);
}

.pill-badge span {
    background: linear-gradient(90deg, #fff, #ccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-badge {
    display: inline-table;
    padding: 6px 20px;
    border: 1px solid var(--brand-orange);
    border-radius: var(--pill-radius);
    color: var(--text-main);
    font-weight: 600;
}

.highlight-pill {
    display: inline-block;
    padding: 4px 16px;
    border: 1px solid var(--brand-orange);
    border-radius: var(--pill-radius);
    color: var(--brand-orange);
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.nav-content {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--brand-orange);
    font-size: 1.8rem;
}

.btn-primary-small {
    background: var(--brand-orange);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--pill-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.btn-primary-small:hover {
    background: var(--brand-orange-light);
    transform: scale(1.05);
}

.hidden-onload {
    transform: translateY(-100%);
}

.navbar.visible {
    transform: translateY(0);
}

/* Hero Section - Peak Space Theme */
.peak-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    z-index: 1;
    /* Força aceleração 3D para o iOS não apagar a div com as animações de slide absolutas */
    transform: translateZ(0); 
    -webkit-transform: translateZ(0);
}

/* Fade seamless bottom mask */
.peak-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 18vh;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-darker) 100%);
    z-index: 10;
    pointer-events: none;
}

.peak-pill-badge {
    position: absolute;
    top: 15vh;
    z-index: 10;
    background: rgba(4, 9, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 6px 16px 6px 6px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pill-tag-orange {
    background: var(--brand-orange);
    color: white;
    padding: 4px 12px;
    border-radius: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.peak-hero-container {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dual Layer Text Structure */
.peak-brand-solid,
.peak-brand-stroked {
    position: absolute;
    width: 100%;
    z-index: 2;
    text-align: center;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.peak-brand-stroked {
    z-index: 5;
}

/* Rotator Styling & Flex adjustments */
.peak-static-line {
    font-size: 11vw; /* Reduced from 15vw */
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -4px;
}

.peak-dynamic-line {
    font-size: 11vw;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -4px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    position: relative;
    height: 11vw; /* Matched to font size */
    overflow: hidden; /* Hide words sliding in and out */
}

.peak-rotator {
    position: relative;
    display: inline-block;
    text-align: left;
}

/* Magic: Active is relative to hold the width, inactive are absolute! */
.peak-rotator .slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.peak-rotator .slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0) translateZ(0); /* Força aceleração */
    -webkit-transform: translateY(0) translateZ(0);
}

.peak-rotator .slide.out {
    position: absolute;
    opacity: 0;
    transform: translateY(-100%) translateZ(0);
    -webkit-transform: translateY(-100%) translateZ(0);
}

.peak-dot-inline {
    display: inline-block;
    width: 4vw;
    height: 4vw;
    max-width: 50px;
    max-height: 50px;
    min-width: 18px;
    min-height: 18px;
    background: var(--brand-orange) !important;
    border: none !important;
    border-radius: 50%;
    margin-left: 2vw;
    transform: translateY(-0.8vw); /* Sight adjustment to align with baseline cleanly */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Solid layer paints */
.peak-brand-solid {
    color: #ffffff;
}

/* The space horizon block */
.peak-space-horizon {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150vw;
    height: 80vh;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: #010308;
    border-top: 2px solid rgba(241, 105, 34, 0.4);
    z-index: 3;
    pointer-events: none;
}

.peak-planet-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    box-shadow: inset 0 20px 100px rgba(241, 105, 34, 0.15),
        inset 0 4px 15px rgba(241, 105, 34, 0.6);
}

.peak-planet-core {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(ellipse at center top, rgba(241, 105, 34, 0.25) 0%, transparent 60%);
}

.rocket-parallax {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 150px;
    color: var(--brand-orange);
    filter: drop-shadow(0 20px 30px rgba(241, 105, 34, 0.4));
    z-index: 4;
    animation: float-rocket 6s infinite ease-in-out;
}

@keyframes float-rocket {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Stroked layer paints */
.peak-brand-stroked {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
}

.peak-brand-stroked .stroked-dot {
    /* Forçando para ser bolinha laranja cheia em vez de transparente com borda */
    background: var(--brand-orange) !important;
    border: none !important;
}

/* Override old dot */
.peak-dot { display: none; }

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 24px;
    z-index: 10;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}


/* Mission */
.mission {
    padding-top: 20px;
    padding-bottom: 80px;
}

.mission h2 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.3;
}


/* About */
.about.container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.about-image-standin {
    display: none;
}

.icon-xl {
    font-size: 80px;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.target-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-ring {
    position: absolute;
    border-radius: 50%;
    border: 20px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-ring.r1 {
    width: 100%;
    height: 100%;
    border-color: rgba(241, 105, 34, 0.2);
    box-shadow: inset 5px 5px 15px rgba(0, 0, 0, 0.5), 5px 5px 15px rgba(0, 0, 0, 0.5);
}

.target-ring.r2 {
    width: 65%;
    height: 65%;
    border-color: rgba(241, 105, 34, 0.5);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.3), 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.target-ring.r3 {
    width: 30%;
    height: 30%;
    background: var(--brand-orange);
    border: none;
    font-size: 40px;
    color: white;
    box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.2), 5px 5px 15px rgba(0, 0, 0, 0.5);
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 16px 24px;
    border-radius: var(--pill-radius);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.benefits-list li i {
    color: var(--brand-cyan);
}

.benefits-list li:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateX(10px);
}

/* Services & Peak Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card,
.structure-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding: 30px;
    transition: var(--transition-smooth);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.service-card:hover,
.structure-card:hover {
    transform: translateY(-5px);
    background: rgba(20, 30, 50, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}



.icon-lg {
    font-size: 48px;
}

.service-card h3,
.structure-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0px;
}

.service-card p,
.structure-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Project Overview */
.blue-tag span {
    display: inline-block;
    background: var(--brand-orange);
    color: #fff;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--pill-radius);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.project-box {
    padding: 40px;
    background: var(--bg-dark);
}

.glow-border-blue {
    border-color: rgba(241, 105, 34, 0.2);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.project-header h2, .pricing-header h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.page-structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.tag-small {
    font-size: 0.7rem;
    border: 1px solid var(--brand-cyan);
    padding: 2px 8px;
    border-radius: 12px;
    color: var(--brand-cyan);
}


/* Pricing Grid */
.pricing-box {
    padding: 40px;
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.price-card {
    border-radius: var(--card-radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
}

.solid-white-card {
    background: #FFF;
    color: var(--text-dark);
}

.solid-white-card p.desc {
    color: #555;
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

.card-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.price-pill {
    background: var(--brand-cyan);
    color: #000;
    font-size: 1.8rem;
    font-weight: 800;
    padding: 8px 30px;
    border-radius: var(--pill-radius);
    display: inline-block;
    width: 100%;
}

.price-pill.green {
    background: var(--success-green);
    color: #FFF;
}

.price-pill span {
    font-size: 1rem;
    font-weight: 600;
}

.price-pill .font-normal {
    font-weight: 400;
}

.price-strike {
    background: var(--danger-red);
    color: #FFF;
    padding: 4px 20px;
    border-radius: var(--pill-radius);
    font-size: 0.9rem;
    text-decoration: line-through;
    font-weight: 600;
}

.small {
    font-size: 0.8rem;
}

.big-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 5px 0;
}

.divider {
    height: 1px;
    background: var(--glass-border);
    margin: 20px 0;
}

/* Footer */
.thank-you {
    font-size: 4rem;
    line-height: 1;
}

.transform-rocket {
    display: inline-block;
    transform: rotate(45deg);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #FFF;
    color: var(--bg-dark);
    font-size: 30px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn.whatsapp {
    background: #25D366;
    color: #FFF;
}

.text-darker {
    color: #30363d;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Base Responsive Rules */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

/* Responsivo Extra Peak Studio */
@media (max-width: 768px) {

    .peak-hero {
        min-height: 70vh;
        padding-top: 60px;
    }

    .peak-hero-container {
        height: 40vh;
    }

    .peak-static-line,
    .peak-dynamic-line {
        font-size: 14vw;
        letter-spacing: -2px;
    }
    
    .peak-dynamic-line {
        height: 14vw;
    }

    .peak-space-horizon {
        width: 150vw;
        height: 50vh;
        bottom: -40%;
    }

    .peak-pill-badge {
        font-size: 0.75rem;
        padding: 4px 12px 4px 4px;
        top: 12vh;
    }

    .pill-tag-orange {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .rocket-parallax {
        font-size: 80px;
        top: -30px;
    }

    .peak-dot {
        right: 10vw;
        top: 30vh;
        width: 20px;
        height: 20px;
    }
}

/* Animations Hero Load */
.hero-fade {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* O stroked load precisa manter o hack do translate Y -50% */
.peak-brand-solid.hero-fade,
.peak-brand-stroked.hero-fade {
    transform: translateY(calc(-50% + 50px)) translateZ(0);
}

.hero-fade.visible-onload {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.peak-brand-solid.hero-fade.visible-onload,
.peak-brand-stroked.hero-fade.visible-onload {
    transform: translateY(-50%) translateZ(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.5s;
}

.delay-4 {
    transition-delay: 0.7s;
}

@media (max-width: 768px) {
    .brand-name {
        font-size: 4rem;
    }

    .presentation-card {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 30px;
    }

    .benefits-content {
        grid-row: 1;
    }

    .benefits-graphic {
        grid-row: 2;
        margin-top: 5px;
        margin-bottom: 20px;
    }

    .target-container {
        width: 200px;
        height: 200px;
    }

    .benefits-list li {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 60px 24px;
    }

    .nav-content {
        padding: 16px 24px;
    }

    .page-structure-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .structure-card,
    .service-card {
        padding: 20px;
    }

    .mission h2 {
        font-size: 2rem;
    }

    .brand-name {
        font-size: 3.5rem;
    }

    .brand-sub {
        font-size: 2rem;
    }

    .price-pill {
        font-size: 1.4rem;
        padding: 10px 16px;
    }

    .hero-logo {
        height: 60px;
    }
}

/* Logos */
.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.hero-logo {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}