/* 
  FREDY BESHARA - MODERN DESIGN SYSTEM (DARK PREMIUM / AI AESTHETIC)
  ================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    /* Colors - High-End AI Palette */
    --primary: #0EA5E9;       /* Cyan 500 */
    --primary-dark: #0284C7;  /* Cyan 600 */
    --accent: #F59E0B;        /* Amber 500 */
    --accent-dark: #D97706;   /* Amber 600 */
    --bg-dark: #020617;       /* Slate 950 */
    --bg-card: rgba(15, 23, 42, 0.7); /* Slate 900 Glass */
    --text-white: #F8FAFC;    /* Slate 50 */
    --text-muted: #94A3B8;    /* Slate 400 */
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Layout */
    --section-padding: 110px 0;
    --container-max-width: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* --- UTILITIES --- */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 40px; 
}

@media (max-width: 968px) {
    .container { padding: 0 20px; }
}

.section {
    padding: var(--section-padding);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 14px; /* More modern than pill shape */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    white-space: nowrap; /* Forces text to stay on one professional line */
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.5);
    transform: translateY(-4px);
    filter: brightness(1.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--primary);
    color: var(--primary);
    backdrop-filter: blur(5px);
}

.btn-success {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: white;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
    border: none;
}

.btn-success:hover {
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.4);
    transform: translateY(-4px);
    filter: brightness(1.1);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- HEADER --- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0; /* Hidden at top */
    pointer-events: none;
    transform: translateY(-20px);
}

header.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    opacity: 1; /* Visible on scroll */
    pointer-events: auto;
    transform: translateY(0);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    z-index: 5;
    position: relative;
}

@media (max-width: 1200px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        justify-content: center;
    }
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2)); 
    transition: 0.3s;
}

footer img {
    height: 48px; /* Slightly larger footer logo */
    opacity: 0.6;
    margin-bottom: 20px;
    transition: 0.3s;
}

footer img:hover {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--text-white);
}

/* --- HERO --- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 60px;
    background: var(--bg-dark);
    overflow: visible;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-pulse {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: animatePulse 8s infinite alternate;
}

@keyframes animatePulse {
    from { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    to { transform: translate(-50%, -50%) scale(1.3); opacity: 0.7; }
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 5;
}

@media (max-width: 1200px) {
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 650px;
}

.hero-logo-top-right {
    position: absolute;
    top: 40px;
    right: 20px;
    z-index: 10;
}

@media (max-width: 968px) {
    .hero-logo-top-right {
        top: 20px;
        right: 20px;
    }
    .hero-logo-top-right img {
        height: 60px !important;
    }
}

.hero-image-wrapper .video-card {
    width: 380px; /* Mais estreito para formato retrato */
    max-width: 100%;
    transform: none !important;
    animation: none !important;
    margin-left: auto; /* Alinha à direita no grid do hero */
}

.hero-image-wrapper .video-wrapper {
    width: 100%;
    height: auto;
    background: transparent;
    display: block;
    padding-bottom: 0; /* Remove inherited landscape padding to eliminate the gap */
}

.hero-image-wrapper .video-overlay-btn {
    bottom: 15px;
    right: 15px;
    padding: 8px 16px;
    font-size: 0.7rem;
}

.video-overlay-btn:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

.hero-image {
    max-width: 100%;
    width: 420px; /* Reduzido de 500px para um ajuste mais fino */
    height: auto;
    border-radius: 24px;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s ease-out;
    transform: scale(1) translateY(0); /* Removido o scale 1.1 para reduzir o tamanho visual */
}

@keyframes floatingImg {
    0% { transform: scale(1) translateY(0); }
    50% { transform: scale(1) translateY(-15px); }
    100% { transform: scale(1) translateY(0); }
}

.hero-image {
    animation: floatingImg 6s ease-in-out infinite;
}

/* --- SECTIONS --- */

.hero-logo-3d {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.hero-logo-3d img {
    height: 110px; /* Stronger professional presence */
    filter: 
        drop-shadow(0 5px 15px rgba(0,0,0,0.5))
        drop-shadow(0 0 20px rgba(14, 165, 233, 0.15));
    transition: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateZ(0);
}

.hero-logo-3d:hover img {
    transform: scale(1.08) translateY(-10px);
    filter: 
        drop-shadow(0 15px 30px rgba(0,0,0,0.8))
        drop-shadow(0 0 30px rgba(14, 165, 233, 0.3)); /* Stronger glow on hover */
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3.2rem;
    margin-bottom: 50px;
    line-height: 1.1;
}

/* --- ABOUT / QUEM SOU --- */

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
}

.feature-text h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- VIDEOS --- */

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.video-card {
    overflow: hidden;
    padding: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px 20px 0 0;
}

.video-info {
    padding: 20px;
}

/* --- QUOTE --- */

.quote-section {
    background: linear-gradient(rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.9)), url('assets/images/44183-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 80px 0;
}

.quote-section blockquote {
    font-size: 1.8rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* --- PARTNERS --- */

.partner-slider {
    overflow: hidden;
    padding: 40px 0;
}

.partner-track {
    display: flex;
    gap: 50px;
    align-items: center;
}

.partner-track img {
    height: 40px;
    opacity: 0.5;
    filter: grayscale(1);
    transition: 0.3s;
}

.partner-track img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* --- BOOKS & MEDIA --- */

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.book-card {
    display: flex;
    gap: 35px;
    align-items: center;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.book-card img {
    width: 150px;
    height: auto;
    object-fit: contain; /* Never crop book covers */
    border-radius: 10px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.5);
    transition: 0.4s;
}

.book-card:hover img {
    transform: rotateY(-10deg) scale(1.05);
}

.book-info {
    flex: 1;
}

.book-info h4 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.book-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* --- MEDIA CAROUSEL (MAGNETIC GLASS) --- */

.media-swiper {
    position: relative;
    width: 100%;
    padding: 60px 0 80px !important; /* Balanced space for arrows/dots */
    overflow: hidden !important;
}

.swiper-slide {
    height: auto !important;
    display: flex;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item {
    width: 100%;
    min-height: 540px; /* Powerhouse scale to match typography */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(254, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.5s ease;
    cursor: grab;
}

.bento-item h5 {
    font-size: 1.35rem; /* Increased for authority */
    margin-bottom: 10px;
    line-height: 1.3;
}

.bento-item:hover {
    background: rgba(14, 165, 233, 0.05); /* Subtle primary glow */
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(14, 165, 233, 0.1);
    transform: translateY(-10px) perspective(1000px) rotateX(2deg);
}

.bento-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.5s;
}

.bento-item:hover .bento-img {
    transform: scale(1.05);
}

/* Floating Glass Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: var(--text-white) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    opacity: 0; /* Hidden by default */
    transition: all 0.5s ease !important;
    z-index: 100;
}

.media-swiper:hover .swiper-button-next,
.media-swiper:hover .swiper-button-prev {
    opacity: 1; /* Fade in on hover over section */
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: 900 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 20px var(--primary);
    transform: scale(1.15);
}

/* Pagination Highlights */
.swiper-pagination-bullet {
    background: var(--text-muted) !important;
    opacity: 0.3 !important;
    width: 10px !important;
    height: 10px !important;
    transition: 0.4s !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    opacity: 1 !important;
    width: 30px !important; /* Pill style when active */
    border-radius: 5px !important;
    box-shadow: 0 0 15px var(--primary);
}

/* Responsive Overrides */
@media (max-width: 968px) {
    .media-swiper { padding: 40px 0 60px !important; }
    .bento-item { min-height: auto; padding: 25px; }
    .swiper-button-next, .swiper-button-prev { display: none !important; } /* Hide on touch mobile */
}

/* --- CONTACT --- */

.container-narrow {
    max-width: 900px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    margin-left: 5px;
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 16px 20px;
    border-radius: 14px;
    color: white;
    outline: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    font-family: inherit;
}

.form-group textarea {
    resize: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}

/* --- FOOTER --- */

footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- ANIMATIONS & REVEALS --- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* --- MOBILE RESPONSIVE --- */

@media (max-width: 968px) {
    /* Header & Mobile Menu */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-toggle span {
        width: 30px;
        height: 2px;
        background-color: var(--text-white);
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.mobile-active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-white);
    }

    /* Sections */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
        margin-top: 20px;
    }

    /* --- MOBILE REFINEMENTS --- */
    
    .section { padding: 50px 0; }
    
    .section .reveal {
        text-align: center !important;
        margin-bottom: 30px;
    }

    .section-tag {
        margin-left: auto !important;
        margin-right: auto !important;
        display: inline-block;
    }

    .hero-content h1 { font-size: 2.2rem; line-height: 1.2; }
    .hero-content p { font-size: 1rem; margin: 0 auto 30px; }
    .hero-image-wrapper { 
        order: -1; 
        position: relative;
    } 
    .hero-image-wrapper::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, transparent 70%);
        filter: blur(20px);
        z-index: 1;
    }
    .hero-image { max-width: 95%; margin: 0 auto; transform: scale(1.1) translateY(0); }

    .about-grid { grid-template-columns: 1fr !important; gap: 40px !important; text-align: center; }
    .about-info .feature-item { text-align: left; } /* Keep bullets readable but center the block */

    .video-grid { grid-template-columns: 1fr; text-align: center; }
    .services-grid { grid-template-columns: 1fr; text-align: center; }
    .testimonials-grid { grid-template-columns: 1fr; text-align: center; }
    .media-bento { grid-template-columns: 1fr; text-align: center; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    
    .hero-logo-3d img {
        height: 75px; /* Perfectly balanced for mobile */
    }

    .books-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hotmart-hero { grid-template-columns: 1fr !important; text-align: center; }
    .hotmart-hero .glass-card { order: -1; }

    .about-info { grid-template-columns: 1fr; }
    
    .section-title { font-size: 2rem; margin-top: 10px; }
    .section { padding: 60px 4%; }
}

/* --- STATS SECTION (REVENUE IMPACT) --- */

.stats-section {
    background: linear-gradient(to bottom, #020617, #0F172A);
    padding: 70px 0;
    overflow: hidden;
}

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

.counter-container {
    text-align: left;
}

.counter-wrapper {
    position: relative;
    display: inline-block;
}

.counter-value {
    font-size: 7rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    letter-spacing: -3px;
    background: linear-gradient(to bottom, #FFF, #94A3B8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(14, 165, 233, 0.25);
}

.counter-unit {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-left: 5px;
}

.stats-label {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 15px;
    font-size: 1.25rem;
}

.impact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.impact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #E2E8F0;
    line-height: 1.2;
}

.impact-card p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.impact-source {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--primary);
    opacity: 0.8;
}

@media (max-width: 968px) {
    .stats-section { padding: 50px 0; }
    .stats-grid { 
        grid-template-columns: 1fr; 
        gap: 50px; 
        text-align: center; 
    }
    .counter-container { text-align: center; }
    .counter-value { font-size: 5.5rem; }
    .counter-unit { font-size: 2.5rem; }
    .impact-card { 
        padding: 30px; 
        text-align: center;
        margin-bottom: 20px;
    }
    .impact-card h3 { font-size: 1.65rem; }
    .impact-card p { font-size: 1.1rem; }
}

@media (max-width: 600px) {
    .counter-value { font-size: 3.5rem; letter-spacing: -1px; }
    .counter-unit { font-size: 1.8rem; }
    .stats-label { font-size: 0.8rem; letter-spacing: 2px; }
    .impact-card h3 { font-size: 1.4rem; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 0.95rem; }
    .btn { width: 100%; padding: 18px 24px; font-size: 0.85rem; }
    .hero-btns { flex-direction: column; gap: 15px; width: 100%; margin-left: 0; }
    .hero-btns .btn { margin-left: 0 !important; }
    
    .quote-section blockquote { font-size: 1.3rem; padding: 0 5px; }
    
    .nav-links { width: 100%; } 
    .nav-links a { font-size: 1.25rem; }
}

/* --- WHATSAPP BUTTON --- */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-whatsapp 2s infinite;
    transition: 0.3s;
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.2) rotate(10deg);
}

/* --- LEAD MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    width: 100%;
    max-width: 500px;
    position: relative;
    padding: 40px;
    border-radius: 30px;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from { transform: translateY(50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover { color: var(--text-white); transform: rotate(90deg); }

.modal-header { text-align: center; margin-bottom: 30px; }
.modal-header h3 { font-size: 2rem; margin-bottom: 10px; color: var(--text-white); }
.modal-header p { color: var(--text-muted); font-size: 1rem; }

.lead-form .form-group { margin-bottom: 20px; }
.lead-form label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.lead-form input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    transition: 0.3s;
}

.lead-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.05);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.w-full { width: 100%; }

@media (max-width: 600px) {
    .modal-content { padding: 30px 20px; }
    .modal-header h3 { font-size: 1.6rem; }
}
