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

:root {
    --color-red: #ED3B45;
    --color-red-light: #F06141;
    --color-blue-dark: #0f172a; /* Azul mais profundo e premium */
    --color-gray: #4b5563; /* Cinza ligeiramente mais escuro para leitura */
    --color-gray-light: #f8fafc; /* Fundo mais suave e moderno */
    --color-white: #FFFFFF;
    --color-yellow: #FBBF24;
    --color-whatsapp: #25D366;
    
    --font-main: 'Montserrat', sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 20px 40px rgba(15, 23, 42, 0.08);
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 999px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
    color: var(--color-blue-dark);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-center { text-align: center; }
.text-red { color: var(--color-red); }
.bg-light { background-color: var(--color-gray-light); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-red-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(237, 59, 69, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-blue-dark);
    border: 2px solid var(--color-red);
}

.btn-outline:hover {
    background-color: var(--color-red);
    color: #fff;
}

.btn-yellow {
    background-color: var(--color-yellow);
    color: var(--color-blue-dark);
}

.btn-yellow:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 182, 41, 0.4);
}

/* Header & Navbar */
.main-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 40px;
    object-fit: contain;
}

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

.nav-links li a {
    text-decoration: none;
    color: var(--color-gray);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 12px;
    transition: var(--transition-smooth);
    border-radius: var(--radius-full);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--color-red);
}

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

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-blue-dark);
    transition: 0.3s;
}

.menu-toggle {
    z-index: 1001;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Footer */
.main-footer {
    background-color: var(--color-blue-dark);
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.brand-col p {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.social-icon:hover {
    background-color: var(--color-red);
    transform: translateY(-3px);
}

.footer-links a {
    color: var(--color-gray-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #9CA3AF;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 0.85rem;
    color: #9CA3AF;
}

/* Floating WhatsApp */
.btn-floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-card);
    z-index: 999;
    transition: transform 0.3s;
}

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

/* Home Folds */

/* Fold 1: Hero */
.hero {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    min-height: 550px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container {
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--color-blue-dark);
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: var(--color-gray);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-whatsapp-btn {
    border-color: var(--color-whatsapp);
    color: #fff;
    background: var(--color-whatsapp);
}
.hero-whatsapp-btn i {
    color: #fff;
}
.hero-whatsapp-btn:hover {
    border-color: #20B954;
    background: #20B954;
    color: #fff;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-slider-dots .dot {
    width: 25px;
    height: 4px;
    background-color: #D1D5DB;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-slider-dots .dot.active {
    background-color: var(--color-red);
}

@media (max-width: 768px) {
    .hero {
        background-position: 70% center;
        min-height: 400px;
    }
    .hero-content {
        background: rgba(255, 255, 255, 0.9);
        padding: 30px;
        border-radius: 12px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Fold 2: Lojas em Slides 3D */
.lojas-section {
    padding: 80px 0;
    background-color: var(--color-gray-light);
    overflow: hidden;
}

.lojas-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lojas-header span {
    color: var(--color-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.lojas-header h2 {
    font-size: 2.5rem;
    margin-top: 5px;
}

.lojas-header p {
    margin: 15px 0 25px;
    max-width: 500px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-3d {
    position: relative;
    width: 600px;
    height: 350px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    overflow: hidden;
    display: flex;
}

.carousel-item img {
    width: 50%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f9fa; /* fundo sutil caso a imagem não preencha tudo perfeitamente */
}

.carousel-content {
    width: 50%;
    padding: 30px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-content h3 {
    margin-bottom: 8px;
    color: var(--color-blue-dark);
}

.carousel-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--color-gray);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.carousel-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-white);
    border: none;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-blue-dark);
    pointer-events: auto;
    transition: 0.3s;
}

.carousel-nav button:hover {
    background: var(--color-red);
    color: var(--color-white);
}

.drag-hint {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #9CA3AF;
}

/* Fold 3: WhatsApp Leads Premium */
.whatsapp-leads-section {
    padding: 100px 0;
    overflow: hidden;
}

.premium-leads-container {
    max-width: 1400px;
    background: radial-gradient(circle at center, #F06141 0%, #ED3B45 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(237, 59, 69, 0.25);
    padding: 60px;
    display: flex;
    align-items: center;
    position: relative;
}

/* Esquerda - Mockup do Celular */
.leads-left {
    flex: 0 0 35%;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup-wrapper {
    position: relative;
    transform: translateY(20px);
    z-index: 2;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(80px); }
    to { opacity: 1; transform: translateY(20px); }
}

.phone-mockup {
    width: 500px;
    max-width: none;
    position: relative;
    z-index: 2;
    margin-left: -60px;
    margin-top: -30px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}
/* Direita - Formulário */
.leads-right {
    flex: 0 0 65%;
    padding-left: 60px;
    color: #fff;
    animation: slideRight 1s ease-out;
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.leads-right h2 {
    font-size: 3rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 15px;
}

.leads-right p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}

.text-yellow {
    color: #FFB629;
}

.leads-form {
    max-width: 600px;
}

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

.leads-form .form-control {
    height: 52px;
    border-radius: 8px;
    border: none;
    padding: 0 20px;
    background: #FFFFFF;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.leads-form .form-control::placeholder {
    color: #A0AEC0;
}

.btn-full {
    width: 100%;
    height: 56px;
    font-size: 1.1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.form-footer {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsividade Dobra 3 */
@media (max-width: 1024px) {
    .premium-leads-container {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }
    .leads-left {
        flex: 0 0 100%;
        margin-bottom: 50px;
    }
    .phone-mockup-wrapper {
        transform: rotate(0) translateY(0);
        animation: none;
    }
    .leads-right {
        flex: 0 0 100%;
        padding-left: 0;
        animation: none;
    }
    .leads-form {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .leads-right h2 {
        font-size: 2.2rem;
    }
    .whatsapp-3d-icon {
        width: 60px;
        height: 60px;
        font-size: 60px;
        right: -10px;
    }
}

/* Fold 4: Reputação */
.reputacao-section {
    padding: 80px 0;
    background-color: var(--color-gray-light);
}

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

.reputacao-info {
    flex: 1;
}

.reputacao-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.reputacao-info h2 span {
    color: var(--color-red);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(237, 59, 69, 0.1);
    color: var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.reputacao-card {
    flex: 1;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.rating-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.rating-score {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-blue-dark);
    line-height: 1;
}

.rating-stars {
    color: var(--color-yellow);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.progress-bars {
    margin-bottom: 30px;
}

.progress-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.progress-label {
    width: 150px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-blue-dark);
}

.progress-bar-bg {
    flex: 1;
    height: 8px;
    background: var(--color-gray-light);
    border-radius: 4px;
    margin: 0 15px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

.progress-value {
    font-weight: 700;
    color: var(--color-blue-dark);
    width: 30px;
    text-align: right;
}

/* Forms Internos (Trabalhe Conosco / Fale Conosco) */
.page-header {
    background-color: var(--color-blue-dark);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    font-size: 3rem;
}

.page-content {
    padding: 80px 0;
}

.form-box {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-blue-dark);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-red);
    outline: none;
}

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

.contact-card {
    text-align: center;
    padding: 30px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-card i {
    font-size: 2rem;
    color: var(--color-red);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Toast Messages */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-weight: 600;
    z-index: 9999;
    box-shadow: var(--shadow-card);
    display: none;
}
.toast.success { background-color: var(--color-whatsapp); }
.toast.error { background-color: var(--color-red); }

/* Modal Base */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 27, 51, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-card);
    position: relative;
    animation: fadeUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 15px;
}

.modal-header h3 {
    color: var(--color-blue-dark);
    font-size: 1.3rem;
    margin: 0;
}

.close-modal {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--color-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--color-red);
}

/* Modal de Exit Intent Específico */
.exit-intent-modal {
    max-width: 850px !important;
}

.exit-intent-modal .premium-leads-container {
    padding: 40px !important;
    border-radius: 16px !important;
}

.exit-intent-modal .leads-left {
    flex: 0 0 35%;
    max-width: 35%;
}

.exit-intent-modal .leads-right {
    flex: 0 0 65%;
    max-width: 65%;
    padding-left: 20px;
    min-width: 0; /* Permite que o texto quebre a linha no flexbox */
}

.exit-intent-modal .phone-mockup {
    width: 320px;
    margin-left: -20px;
    margin-top: -10px;
}

.exit-intent-modal .leads-right h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.exit-intent-modal .leads-right p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .exit-intent-modal .leads-left {
        display: none; /* No celular, focamos no formulário para caber na tela sem rolar muito */
    }
    .exit-intent-modal .leads-right {
        flex: 0 0 100%;
        padding-left: 0;
    }
    .exit-intent-modal .premium-leads-container {
        padding: 30px 20px !important;
    }
    .exit-intent-modal .leads-right h2 {
        font-size: 1.6rem;
    }
}

/* Modal de Avaliações */
.avaliacao-modal {
    max-width: 400px;
}

.rating-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.rating-group:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.rating-group label {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
}

.star-rating {
    display: flex;
    gap: 5px;
    color: #CBD5E1;
    font-size: 1.2rem;
    cursor: pointer;
}

.star-rating i {
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating i:hover,
.star-rating i.hovered,
.star-rating i.selected {
    color: #FFB629;
}

.star-rating i:active {
    transform: scale(0.8);
}

/* Hero Feature Box */
.hero-features-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    display: flex;
    justify-content: space-between;
    padding: 35px 40px;
    margin-top: 50px;
    margin-bottom: -70px;
    position: relative;
    z-index: 10;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0 15px;
    border-right: 1px solid rgba(0,0,0,0.05);
    flex: 1;
    transition: var(--transition-smooth);
}
.feature-item:hover {
    transform: translateY(-5px);
}
.feature-item:last-child {
    border-right: none;
}
.feature-icon {
    font-size: 2rem;
    color: var(--color-red);
    background: rgba(237, 59, 69, 0.1);
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-top: 5px;
}
.feature-text {
    text-align: left;
}
.feature-text h4 {
    font-size: 1rem;
    color: var(--color-blue-dark);
    margin-bottom: 5px;
    font-weight: 700;
    line-height: 1.2;
}
.feature-text p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}
@media (max-width: 992px) {
    .hero-features-box { flex-wrap: wrap; gap: 20px; }
    .feature-item { flex: 1 1 45%; border-right: none; }
}
@media (max-width: 576px) {
    .feature-item { flex: 1 1 100%; }
}
