/* 
   ManyConvert Homepage Styles
   Colors:
   - Primary: #a94293 (roxo)
   - Secondary: #f8f9fa (cinza claro)
   - Accent: #ff6b6b (vermelho/laranja)
   - Text: #333333 (quase preto)
   - Light Text: #6c757d (cinza)
   - Background: #ffffff (branco)
*/

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

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

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

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 40px; /* Reduced from 50px */
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #a94293;
    color: #ffffff;
    border: 2px solid #a94293;
}

.btn-primary:hover {
    background-color: #8e3679;
    border-color: #8e3679;
}

.btn-secondary {
    background-color: transparent;
    color: #a94293;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    color: #8e3679;
}

.btn-outline {
    background-color: transparent;
    color: #a94293;
    border: 2px solid #a94293;
}

.btn-outline:hover {
    background-color: #a94293;
    color: #ffffff;
}

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

/* Badge */
.badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(169, 66, 147, 0.1);
    color: #a94293;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    font-weight: 500;
    color: #333333;
}

.main-nav ul li a:hover {
    color: #a94293;
}

.header-buttons .btn {
    margin-left: 10px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333333;
    margin-bottom: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-section {
    padding: 140px 0 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
}

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

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 105%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Clients Section */
.clients-section {
    padding: 60px 0; /* Reduced from 80px */
    text-align: center;
    background-color: #ffffff;
}

.clients-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.clients-section p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px; /* Reduced from 40px */
}

.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.client-logo {
    flex: 0 0 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

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

/* Testimonial Section */
.testimonial-section {
    padding: 60px 0; /* Reduced from 80px, though not explicitly requested, for consistency */
    background-color: #f8f9fa;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.testimonial-quote {
    position: relative;
    margin-bottom: 30px;
}

.testimonial-quote i {
    font-size: 2rem;
    color: #a94293;
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-quote p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333333;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Features Section (Recursos Poderosos) */
.features-section {
    padding: 70px 0; /* Reduced from 100px */
    background-color: #ffffff;
}

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

.feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #a94293;
    margin-bottom: 20px;
    position: relative;
}

.feature-icon .badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-50%);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-list li i {
    color: #a94293;
    margin-right: 10px;
}

/* Secondary Features Section */
.secondary-features-section {
    padding: 60px 0; /* Reduced from 80px for consistency */
    background-color: #f8f9fa;
}

/* How It Works Section - This class was not present in the HTML provided by user for Nova Central Atendimento */
/* .how-it-works-section {
    padding: 100px 0; 
    background-color: #ffffff;
} */

/* Stats Section */
.stats-section {
    padding: 60px 0; /* Reduced from 80px */
    background-color: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
}

.stat-card h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #a94293;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    color: #6c757d;
}

/* Pricing Section (Planos Flexíveis) */
.pricing-section {
    padding: 70px 0; /* Reduced from 100px */
    background-color: #ffffff;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px; /* Reduced from 50px */
}

.pricing-toggle span {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 10px;
}

.pricing-toggle .discount {
    background-color: #a94293;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #a94293;
}

input:focus + .slider {
    box-shadow: 0 0 1px #a94293;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid #a94293;
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 30px;
    background-color: #a94293;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 0 0 10px 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.price {
    margin-bottom: 15px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    position: relative;
    top: 10px;
}

.price .amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.price .period {
    font-size: 1rem;
    color: #6c757d;
}

.price .custom-price {
    font-size: 2rem;
    font-weight: 700;
}

.pricing-header p {
    font-size: 0.9rem;
    color: #6c757d;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.pricing-features ul li i {
    color: #a94293;
    margin-right: 10px;
}

/* CTA Section */
.cta-section {
    padding: 70px 0; /* Reduced from 100px */
    background-color: #f8f9fa;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-form {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #a94293;
    box-shadow: 0 0 0 3px rgba(169, 66, 147, 0.1);
}

/* Footer */
.footer {
    background-color: #333333;
    color: #ffffff;
    padding: 60px 0 30px; /* Reduced top padding from 80px */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px; /* Reduced from 50px */
}

.footer-logo {
    flex: 0 0 100%;
    max-width: 300px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-links-column {
    flex: 0 0 33.333333%;
    margin-bottom: 0px;
}

.footer-links-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links-column ul li a:hover {
    color: #ffffff;
}

.footer-links-column ul li i {
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #a94293;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: #ffffff;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    /* .steps-container adjustments if it were used for a requested section */
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 30px; /* Further reduce for mobile */
    }

    .logo img {
        height: 32px;
        width: auto;
    }

    .header-content {
        position: relative;
    }
    
    .header-buttons {
        display: none;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 100px 0 20px; /* Mobile: 100px top, 20px bottom */
    }

    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 5px; /* Reduced space below text block on mobile */
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .clients-section {
        padding: 20px 0; /* Mobile padding - Further Reduced */
    }

    .testimonial-section {
        padding: 40px 0; /* Mobile padding */
    }

    .features-section {
        padding: 25px 0; /* Mobile padding - Further Reduced */
    }

    .secondary-features-section {
        padding: 20px 0; /* Mobile padding - Further Reduced */
    }

    .stats-section {
        padding: 40px 0; /* Mobile padding */
    }

    .pricing-section {
        padding: 25px 0; /* Mobile padding - Further Reduced */
    }

    .central-atendimento-section {
        padding: 30px 0; /* Mobile padding - Further Reduced for Nova Central Atendimento */
    }

    .cta-section {
        padding: 50px 0; /* Mobile padding */
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links-column {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .footer-links-column ul {
        padding-left: 0;

    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .footer-legal {
        justify-content: center;
    }
}

/**** Custom Modal Styles - Inspirado em manyconvert.com ****/

.custom-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  z-index: 1050; /* Acima de outros conteúdos */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Habilita scroll se o conteúdo for maior */
  background-color: rgba(0,0,0,0.4); /* Fallback para o backdrop escuro */
  /* Tentativa de replicar o fundo colorido do manyconvert.com */
  background-image: linear-gradient(135deg, rgba(111, 66, 193, 0.85), rgba(214, 51, 132, 0.85)), url('https://manyconvert.com/assets/img/bg.webp'); /* Gradiente sobreposto à imagem, se a imagem falhar, o gradiente ainda aparece com opacidade */
  background-size: cover;
  background-position: center;
  display: flex; /* Usado para centralizar o modal-dialog */
  align-items: center;
  justify-content: center;
  padding: 20px; /* Espaçamento para evitar que o modal toque as bordas em telas pequenas */
}

.custom-modal-dialog {
  position: relative;
  margin: auto; /* Centraliza horizontalmente */
  width: auto;
  max-width: 500px; /* Largura máxima do modal */
  pointer-events: none; /* Permite cliques através do dialog no backdrop, se necessário (o content tratará os eventos) */
}

.custom-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto; /* Habilita eventos de clique no conteúdo do modal */
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 0.3rem; /* Bordas arredondadas como no Bootstrap */
  outline: 0;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15); /* Sombra sutil */
}

.custom-modal-header {
  display: flex;
  align-items: flex-start; /* Alinha itens no topo */
  justify-content: space-between; /* Título à esquerda, botão de fechar à direita */
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6; /* Linha separadora */
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.custom-modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.25rem; /* Tamanho do título */
  font-weight: 500;
  color: #333;
}

.custom-modal-close {
  padding: 0.5rem 0.75rem;
  margin: -0.5rem -0.75rem -0.5rem auto; /* Posiciona à direita */
  background-color: transparent;
  border: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  cursor: pointer;
}

.custom-modal-close:hover {
  opacity: .75;
}

.custom-modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
  color: #555;
}

.custom-modal-body p {
  margin-bottom: 1rem;
}

.custom-form-group {
  margin-bottom: 1rem;
}

.custom-col-form-label {
  display: inline-block;
  margin-bottom: .5rem;
  font-weight: 500;
  color: #495057;
}

.custom-form-control {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.custom-form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.custom-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* Centraliza verticalmente os itens */
  justify-content: flex-end; /* Alinha botões à direita */
  padding: .75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}

.custom-btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.custom-btn-primary {
  color: #fff;
  background-color: #6f42c1; /* Cor roxa do ManyConvert */
  border-color: #6f42c1;
}

.custom-btn-primary:hover {
  color: #fff;
  background-color: #5a379e;
  border-color: #533292;
}

/* Para garantir que o modal fique oculto quando style.display = 'none' é usado */
.custom-modal:not([style*="display: flex"]):not([style*="display: block"]) {
    display: none !important;
}

