/* =============================================
   E-LEAD+ Clone - Styles
   ============================================= */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #55585d;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #16161d;
    line-height: 1.2;
}

h1 { font-size: 50px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ff5a00;
    color: #fff;
}

.btn-primary:hover {
    background-color: #1c1c1c;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 18px 30px;
    font-size: 14px;
}

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

/* =============================================
   Top Bar
   ============================================= */
.top-bar {
    background-color: #363842;
    padding: 10px 0;
    font-size: 13px;
}

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

.top-links-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-follow {
    display: flex;
    gap: 8px;
}

.social-follow a {
    color: #a0a0a0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 14px;
    background-color: #2a2c32;
}

.social-follow a:hover {
    color: #fff;
    background-color: #ff5a00;
}

.top-info {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: #ff5a00;
}

.top-links-right {
    display: flex;
    gap: 15px;
}

.topbar-btn {
    color: #fff;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 11px;
    letter-spacing: 1px;
}

.topbar-btn:hover {
    background-color: #ff5a00;
    border-color: #ff5a00;
}

/* =============================================
   Header
   ============================================= */
#header {
    background-color: transparent;
    padding: 15px 0;
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

#header.sticky {
    background-color: #fff;
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

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

.logo a {
    display: block;
}

.logo-main {
    max-height: 50px;
}

.logo-sticky {
    display: none;
    max-height: 40px;
}

#header.sticky .logo-main {
    display: none;
}

#header.sticky .logo-sticky {
    display: block;
}

#nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 0;
    position: relative;
}

#header.sticky .nav-menu li a {
    color: #16161d;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #ff5a00;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

#header.sticky .menu-toggle span {
    background-color: #16161d;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #232429;
    z-index: 2000;
    padding: 60px 20px;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.mobile-menu ul li a:hover {
    color: #ff5a00;
}

/* =============================================
   Hero Slider
   ============================================= */
.hero-slider {
    position: relative;
    height: 780px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.slide-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 600px;
    padding: 0 50px;
}

.slide-content.center {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.slide-content.left {
    left: 50px;
}

.slide-content.right {
    right: 100px;
    left: auto;
    text-align: left;
    max-width: 500px;
}

.slide-content h1 {
    color: #fff;
    font-size: 50px;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease;
}

.slide-content p {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease 0.2s both;
}

.slide-content .btn {
    animation: fadeInUp 0.5s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 100;
    transition: opacity 0.3s ease;
}

.slider-arrow:hover {
    opacity: 0.75;
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* =============================================
   Section Styles
   ============================================= */
.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 30px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ff5a00;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 16px;
    color: #55585d;
}

/* =============================================
   About Section
   ============================================= */
.about-section {
    padding: 80px 0;
}

.about-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

/* =============================================
   Features Section
   ============================================= */
.features-section {
    position: relative;
    padding: 100px 0;
    background-image: url('https://e-lead.com.br/wp-content/uploads/revslider/home-6-extended-slider1/new-slider-p7.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.features-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
}

.features-section .container {
    position: relative;
    z-index: 1;
}

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

.feature-box {
    text-align: center;
    padding: 30px;
    color: #fff;
}

.feature-box i {
    font-size: 50px;
    color: #ff5a00;
    margin-bottom: 20px;
}

.feature-box h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.feature-box p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

/* =============================================
   Categories Section
   ============================================= */
.categories-section {
    padding: 80px 0;
    background-color: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-box {
    position: relative;
    overflow: hidden;
}

.category-box a {
    display: block;
    position: relative;
    height: 150px;
}

.category-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f6f4f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ff5a00;
    transition: all 0.3s ease;
}

.category-content i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ff5a00;
}

.category-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.category-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #16161d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.category-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
}

.category-box a:hover .category-hover {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Numbers Section
   ============================================= */
.numbers-section {
    padding: 80px 0;
}

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

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

.number-box i {
    font-size: 50px;
    color: #ff5a00;
    margin-bottom: 20px;
}

.number-box .number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: #16161d;
    margin-bottom: 10px;
}

.number-box h5 {
    font-size: 16px;
    font-weight: 400;
    color: #55585d;
    text-transform: uppercase;
}

/* =============================================
   Magazine Section
   ============================================= */
.magazine-section {
    padding: 80px 0;
    background-color: #f6f4f5;
}

.magazine-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.magazine-text h3 {
    color: #ff5a00;
    font-size: 24px;
    margin-bottom: 10px;
}

.magazine-text h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.magazine-text p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.magazine-image {
    display: flex;
    justify-content: center;
}

.magazine-preview {
    width: 100%;
    height: 400px;
    background-image: url('https://e-lead.com.br/wp-content/uploads/2016/03/imagem_revista.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* =============================================
   Testimonials Section
   ============================================= */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
    padding: 30px;
    text-align: center;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background-color: #f6f4f5;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content q {
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
    color: #55585d;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #f6f4f5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #16161d;
}

.author-info em {
    font-size: 13px;
    color: #55585d;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ff5a00;
}

/* =============================================
   Clients Section
   ============================================= */
.clients-section {
    padding: 80px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo img {
    max-height: 50px;
    width: auto;
}

/* =============================================
   Pre Footer
   ============================================= */
.pre-footer {
    background-color: #363842;
}

.footer-contact-info {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-contact-info .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.contact-item i {
    font-size: 20px;
    color: #ff5a00;
}

.contact-item span {
    font-size: 14px;
    line-height: 1.6;
}

.footer-newsletter {
    padding: 30px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.newsletter-text h6 {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
}

.newsletter-text h6 span {
    color: #ff5a00;
    font-weight: 700;
}

.newsletter-text p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    font-size: 14px;
    width: 300px;
}

.newsletter-form input:focus {
    outline: none;
}

/* =============================================
   Footer
   ============================================= */
#footer {
    background-color: #1a1a1f;
    padding: 30px 0;
}

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

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #a0a0a0;
    font-size: 14px;
    background-color: #2a2c32;
}

.footer-social a:hover {
    color: #fff;
    background-color: #ff5a00;
}

/* =============================================
   Scroll to Top
   ============================================= */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #ff5a00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #16161d;
}

/* =============================================
   Modals
   ============================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 3000;
    transition: all 0.3s ease;
}

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

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #16161d;
}

.modal h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.contact-description {
    text-align: center;
    margin-bottom: 15px;
}

.contact-email {
    display: block;
    text-align: center;
    color: #ff5a00;
    font-size: 18px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-email:hover,
.contact-email:focus-visible {
    text-decoration: underline;
}

.form-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.form-link a {
    color: #ff5a00;
}

.form-link a:hover {
    text-decoration: underline;
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 50px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .magazine-content {
        grid-template-columns: 1fr;
    }
    
    .footer-contact-info .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-links-left {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #header {
        top: 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 40px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .slide-content {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .slide-content.left,
    .slide-content.right {
        left: 0;
        right: 0;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .number-box .number {
        font-size: 48px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 30px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .category-box a {
        height: 120px;
    }
}
