/* global.css e definições premium */

:root {
    /* Cores Lane Pérgolas */
    --black: #050505;
    --dark: #121212;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --primary-blue: #004DB5;
    --light-blue: #3692F5;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, var(--primary-blue), var(--light-blue));

    /* Fontes */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Espaçamentos e transições */
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.3s ease;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
    font-family: var(--font-heading);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}

.preloader.slide-up {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.preloader-svg {
    width: 250px;
    height: 120px;
}

.svg-text-brand {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    fill: transparent;
    stroke: var(--white);
    stroke-width: 1;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: textDraw 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards, textFill 0.8s ease forwards 1.2s;
}

.svg-text-sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    fill: var(--white);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.8s;
}

@keyframes textDraw {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes textFill {
    100% {
        fill: var(--white);
    }
}

@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.fold {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--black);
}

.text-light {
    color: var(--white);
}

.bg-blue {
    background-color: var(--primary-blue);
}

.bg-gradient {
    background: var(--black);
    position: relative;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(54, 146, 245, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

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

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

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

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 44px;
    background: var(--gradient-blue);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: var(--transition-slow);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 77, 181, 0.3);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(54, 146, 245, 0.5);
}

.secondary-cta {
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black);
    box-shadow: none;
    padding: 16px 36px;
}

.secondary-cta:hover {
    background: var(--black);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
    flex-shrink: 0;
}

@keyframes pulseEffect {
    0% {
        box-shadow: 0 0 0 0 rgba(54, 146, 245, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(54, 146, 245, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(54, 146, 245, 0);
    }
}

.pulse {
    animation: pulseEffect 2.5s infinite;
}

/* Animacoes Interativas (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: var(--transition-slow);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo-img {
    height: 30px;
    filter: brightness(0);
    /* Black logo if original is coloured, adjust via js or let it be */
}

.cta-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 2px;
    transition: var(--transition-fast);
    opacity: 1;
    transform: translateY(0);
}

.cta-nav.hidden-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

.cta-nav:hover {
    background: var(--light-blue);
    box-shadow: 0 5px 15px rgba(54, 146, 245, 0.3);
}

/* Hero Section */
.hero-fold {
    padding-top: 150px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 50%;
    padding-right: 40px;
}

.trust-microcopy {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 24px;
    padding: 6px 16px;
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
}

.headline {
    font-size: 4.1rem;
    margin-bottom: 24px;
}

.headline em {
    color: var(--primary-blue);
    position: relative;
}

.subheadline {
    font-size: 1.25rem;
    color: #4a4a4a;
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.7;
}

.hero-visual-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.trust-bar {
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-text {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.authority-badges {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
}

.badge i {
    color: var(--light-blue);
    width: 20px;
}

.hero-image-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

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

.status-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.status-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Tension Fold */
.tension-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 32px;
}

.section-title.large {
    font-size: 3.5rem;
}

.tension-list {
    list-style: none;
    margin-bottom: 32px;
}

.tension-list li {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: #aaa;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.tension-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--light-blue);
    border-radius: 50%;
}

.tension-highlight {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
}

.tension-desc {
    color: #aaa;
}

.tension-visuals {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.tension-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.tension-card i {
    color: #ff4757;
}

.tension-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tension-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9) contrast(1.1);
}

.tension-conclusion h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    text-align: center;
}

.tension-conclusion p {
    text-align: center;
}

/* Responsive Utilities */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

/* Solution Break Fold */
.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-desc {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 24px;
}

.highlight-text.error {
    display: inline-block;
    padding: 8px 16px;
    background: #fdeaea;
    color: #ea2027;
    font-weight: 600;
    border-radius: 4px;
    font-size: 1.1rem;
}

.statement-box {
    padding: 32px;
    background: var(--white);
    border-left: 4px solid var(--black);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
}

.statement-box p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #888;
}

.positioning-text {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.positioning-bold {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--black);
}

/* Mechanism Fold */
.overline {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px 24px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-item i {
    width: 32px;
    height: 32px;
    color: var(--light-blue);
    margin-bottom: 20px;
}

.grand-statement h3 {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.grand-statement h3.highlight {
    color: var(--white);
    margin-top: 8px;
}

/* Status Fold */
.status-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.impact-list {
    margin: 40px 0;
}

.impact-list p {
    margin-bottom: 16px;
    font-weight: 500;
}

.impact-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.impact-list li {
    padding-left: 20px;
    position: relative;
}

.impact-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.final-status-statement p {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: #888;
}

.final-status-statement p.bold-blue {
    color: var(--primary-blue);
    font-size: 2rem;
}

/* Process Fold */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
}

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

.process-footer h3 {
    font-size: 2rem;

}

.step {
    text-align: left;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--light-blue);
    display: block;
    margin-bottom: 16px;
}

.step h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    color: #aaa;
    font-size: 0.9rem;
}

.highlight-blue {
    color: var(--light-blue);
}

/* Projects Fold */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-slow);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-image-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-info {
    padding: 30px;
}

.project-info h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--white);
    font-family: var(--font-heading);
}

.project-info p {
    color: #aaa;
    font-size: 0.95rem;
}

/* Testimonials Fold */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border-top: 3px solid var(--primary-blue);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #fbc531;
    margin-bottom: 24px;
}

.testimonial-stars i {
    width: 16px;
    height: 16px;
}

.testimonial-text {
    font-size: 1.15rem;
    color: #555;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--black);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #888;
}

/* FAQ Fold - Accordion Upgrade */
.max-w-800 {
    max-width: 800px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.accordion-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 24px 32px;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.accordion-header i {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    background: #fafafa;
}

.accordion-content p {
    padding: 0 32px 32px;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Closing */
.closing-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 60px;
    border-radius: 8px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.offer-desc {
    font-size: 1.2rem;
    color: #ccc;
    margin: 24px auto;
    max-width: 600px;
}

.guarantee-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(0, 77, 181, 0.1);
    padding: 32px;
    border-radius: 4px;
    text-align: left;
    margin: 40px auto;
    max-width: 700px;
    border: 1px solid rgba(54, 146, 245, 0.2);
}

.guarantee-box i {
    color: #fbc531; /* Premium Gold for contrast */
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.guarantee-box p {
    color: var(--white);
    font-size: 1.05rem;
}

.final-pressure h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 24px;
}

.final-pressure ul {
    list-style: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #aaa;
    margin-bottom: 32px;
}

.final-pressure ul strong {
    color: var(--white);
}

.pressure-text {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Utilities / Responsivo */
@media (max-width: 992px) {
    .mobile-only {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0;
        padding-bottom: 60vh;
    }

    .hero-visual-bg {
        width: 100%;
        height: 50vh;
        top: auto;
        bottom: 0;
    }

    .tension-grid,
    .grid-split,
    .status-container,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-steps,
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .headline {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {

    .process-steps,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .closing-box {
        padding: 40px 20px;
    }
}