/* Seja um Franqueado - Alta Conversão LP Styles */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

@font-face {
    font-family: 'GeogrotesqueLight';
    src: url('../../site/css/wf/Ge2003-Lt.eot');
    /* IE9 Compat Modes */
    src: url('../../site/css/wf/Ge2003-Lt.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../../site/css/wf/Ge2003-Lt.woff2') format('woff2'),
        /* Modern Browsers */
        url('../../site/css/wf/Ge2003-Lt.woff') format('woff'),
        /* Modern Browsers */
        url('../../site/css/wf/Ge2003-Lt.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../../site/css/wf/Ge2003-Lt.svg#font') format('svg');
    /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

:root {
    --brand-primary: #1a1a1a;
    --brand-secondary: #ff4a00;
    /* Laranja Cinex */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: 10px;

    /* Dark Mode (Default) */
    --bg-primary: #111111;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #222222;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --card-bg: rgba(255, 255, 255, 0.05);

    /* Spacing */
    --section-padding: 100px;
    --section-title-margin: 60px;
}

body.light-mode {
    /* Light Mode (Alternative) */
    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f4;
    --bg-tertiary: #e9e9e9;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --card-bg: #ffffff;
}

/* Base LP Reset */
.lp-seja-franqueado {
    font-family: "GeogrotesqueLight", "Inter", "Roboto", sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    max-width: 100%;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

/* Fixed Nav */
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

body.light-mode .lp-nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lp-nav-inner .logo img {
    height: 35px;
}

.lp-nav-inner .menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .lp-nav-inner .menu {
        display: none;
    }

    /* Hide no mobile por simplicidade */
}

.lp-nav-inner .menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.lp-nav-inner .menu a:hover {
    color: var(--brand-secondary);
}

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    padding: 6px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s;
}

.theme-toggle-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--brand-secondary);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 74, 0, 0.4);
    z-index: 999;
    transition: opacity 0.5s cubic_bezier(0.4, 0, 0.2, 1), visibility 0.5s, transform 0.5s cubic_bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
}

.floating-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 74, 0, 0.6);
}

/* Hero Section */
.lp-hero {
    position: relative;
    height: 600px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    /* Sempre branco no hero independente do modo, devido ao overlay */
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
    margin-bottom: 0;
    /* Offset for fixed nav */
}

body.light-mode .lp-hero {
    color: white;
}

.lp-hero .video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.lp-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.lp-hero-content {
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease forwards;
}

.lp-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.lp-hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background-color: var(--brand-secondary);
    color: white;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #e64300;
    transform: translateY(-2px);
    color: white;
}

/* Sections Global */
.lp-section {
    padding: var(--section-padding) 30px;
}

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.lp-section-full {
    max-width: 100%;
    padding: var(--section-padding) 5%;
}

.section-bg-secondary {
    background: var(--bg-secondary);
}

.section-bg-tertiary {
    background: var(--bg-tertiary);
}

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

.lp-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--section-title-margin);
    color: var(--text-primary);
    text-transform: uppercase;
}

/* Patricia Video Section (Split Layout) */
.lp-patricia {
    display: flex;
    align-items: center;
    gap: 50px;
}

.lp-patricia-video {
    flex: 0 0 65%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.lp-patricia-video video {
    width: 100%;
    display: block;
}

.lp-patricia-text {
    flex: 1;
}

.lp-patricia-text h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Soluções & Accordion */
.lp-solutions {
    display: block;
}

.lp-brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .lp-brand-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lp-brand-text .lp-section-title {
        text-align: center !important;
    }
}

.lp-solutions-list {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.lp-solutions-list h3 {
    border-bottom: 2px solid var(--bg-secondary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.lp-solutions-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(8, auto);
    gap: 0 30px;
}

@media (max-width: 600px) {
    .lp-solutions-list ul {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-template-rows: none;
    }
}

.lp-solutions-list ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-secondary);
    position: relative;
    padding-left: 25px;
}

.lp-solutions-list ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-secondary);
    font-weight: bold;
}

/* Exclusividade Icons */
.lp-exclusivity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.lp-grid-4col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .lp-grid-4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .lp-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .lp-grid-4col {
        grid-template-columns: 1fr;
    }
}

.lp-exclusive-item {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s;
}

.lp-exclusive-item:hover {
    transform: translateY(-5px);
}

.lp-exclusive-item i {
    font-size: 3rem;
    color: var(--brand-secondary);
    margin-bottom: 20px;
}

/* Depoimentos Carousel */
.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-thumbnail::after {
    content: '\f144';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-thumbnail:hover::after {
    color: var(--brand-secondary);
}

.lp-testi-title {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    color: var(--text-primary);
}

/* Portfolio Carousel */
#portfolioCarousel .item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

#portfolioCarousel img {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: cover;
    display: block;
}

.portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 20px 20px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

#portfolioCarousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7) !important;
    color: #111 !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
}

#portfolioCarousel .owl-nav button.owl-prev {
    left: 30px;
}

#portfolioCarousel .owl-nav button.owl-next {
    right: 30px;
}

#portfolioCarousel .owl-nav button:hover {
    background: #fff !important;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

/* Form Wizard */
.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 12px;
}

body.light-mode .wizard-container {
    border: 1px solid #ddd;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.wizard-step {
    display: none;
    animation: fadeIn 0.5s;
}

.wizard-step.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
    background: #fff;
    border: 1px solid #ccc;
    color: #111;
}

.form-group input:focus {
    border-color: var(--brand-secondary);
}

/* Validation Styles */
.error-field {
    border-color: #ff4a00 !important;
    background-color: rgba(255, 74, 0, 0.05) !important;
}

.error-message {
    color: #ff4a00;
    font-size: 0.75rem;
    margin-top: 5px;
    display: block;
    font-weight: bold;
    animation: fadeIn 0.3s ease;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-wizard {
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-wizard.next {
    background: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: white;
}

.btn-wizard:hover {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Footer */
.lp-footer {
    background: var(--bg-primary);
    padding: 60px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-mode .lp-footer {
    background: #fdfdfd;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.lp-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-logo {
    max-width: 200px;
}

.lp-footer .footer-col {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.links-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1em;
}

.links-social span {
    text-transform: uppercase;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.links-social a {
    display: block;
    width: 20px !important;
    height: 20px !important;
    text-indent: -30000px;
    overflow: hidden;
    transition: transform 0.3s, filter 0.3s;
}

.links-social a:hover {
    transform: translateY(-3px);
}

.links-social .icon-facebook {
    background: url(../../site/images/facebook.svg) center no-repeat !important;
    background-size: contain !important;
}

.links-social .icon-instagram {
    background: url(../../site/images/instagram.svg) center no-repeat !important;
    background-size: contain !important;
}

.links-social .icon-youtube {
    background: url(../../site/images/youtube.svg) center no-repeat !important;
    background-size: contain !important;
}

.links-social .icon-pinterest {
    background: url(../../site/images/pinterest.svg) center no-repeat !important;
    background-size: contain !important;
}

.links-social .icon-linkedin {
    background: url(../../site/images/linkedin.svg) center no-repeat !important;
    background-size: contain !important;
}

/* Tech Grid */
.lp-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.lp-tech-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.light-mode .lp-tech-card {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.lp-tech-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: filter 0.3s;
}

.lp-tech-card img:hover {
    filter: brightness(0.85);
}

.lp-tech-card-content {
    padding: 25px;
}

.lp-tech-card-content h3 {
    color: var(--brand-secondary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.lp-tech-card-content p {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 1440px) {
    .lp-hero {
        height: 550px;
        min-height: 550px;
    }
}

/* Responsiveness */
@media (max-width: 1024px) {
    .lp-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .links-social {
        justify-content: center;
    }

    .links-social span {
        text-align: center;
    }

    #portfolioCarousel img {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .lp-hero h1 {
        font-size: 2.5rem;
    }

    .lp-patricia {
        flex-direction: column;
    }

    .lp-solutions {
        grid-template-columns: 1fr;
    }

    .lp-tech-grid {
        grid-template-columns: 1fr;
    }

    #portfolioCarousel img {
        max-height: 400px;
    }
}

/* New Classes from Inline Styles */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%) scale(1.1);
    border: none;
}

.patricia-video-iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.text-highlight {
    font-size: 1.1rem;
    line-height: 1.6;
}

.lp-section-description {
    max-width: 900px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.lp-solutions-info {
    margin-bottom: 15px;
    color: #666;
}

.lp-tech-footer-text {
    text-align: center;
    color: var(--brand-secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

.section-testimonials-bg {
    background: linear-gradient(rgba(255, 74, 0, 0.8), rgba(255, 74, 0, 0.8)), url('../img/depoimentos.jpg') center/cover;
}

.lp-section-title-white {
    color: white !important;
}

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

.badges-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.badge-item {
    background: var(--brand-secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
}

.lp-section-portfolio {
    padding: 100px 0 0 0 !important;
    margin-bottom: 0 !important;
    line-height: 0;
}

.lp-section-portfolio * {
    line-height: normal;
}

#portfolioCarousel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#leads-section {
    padding-top: 0;
}

#leads-section .lp-section-title {
    padding-top: 80px;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    font-size: 14px;
}

.wizard-step-indicator {
    color: #666;
}

.wizard-step-indicator.active {
    color: var(--brand-secondary);
    font-weight: bold;
}

.wizard-nav-end {
    justify-content: flex-end;
}

.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-wizard-submit {
    background: #28a745 !important;
    border-color: #28a745 !important;
}

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

.footer-email-link {
    color: var(--brand-secondary);
    text-decoration: none;
    font-weight: bold;
}

.lp-patricia-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.lp-patricia-video {
    flex: 0 0 65%;
}

.lp-patricia-text {
    flex: 1;
}

@media (max-width: 768px) {
    .lp-patricia-container {
        flex-direction: column;
        gap: 30px;
    }

    .lp-patricia-video,
    .lp-patricia-text {
        flex: 0 0 100%;
    }

    .form-grid-2col {
        grid-template-columns: 1fr;
    }
}

/* Inline styles refactoring */
.lp-brand-text .lp-section-title {
    text-align: left;
    margin-bottom: 30px;
}

.lp-brand-text .lp-section-description {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

.lp-tech-footer-text {
    font-size: 1.5rem;
}

#leads-section .lp-form-intro {
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--text-secondary);
}