/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1CAFE6;
    --dark-bg: #1f1f1f;
    --light-bg: #fff;
    --text-dark: #1f1f1f;
    --text-light: #fff;
    --text-gray: #666;
    --border-color: #e5e5e5;
    --shadow: 0 4px 20px rgba(28, 175, 230, 0.1);
    --shadow-hover: 0 8px 30px rgba(28, 175, 230, 0.2);
    --gradient: linear-gradient(135deg, #1CAFE6 0%, #0ea5e9 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Logo centralizado */
.hero-logo {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.main-logo {
    max-height: 120px;
    width: auto;
    max-width: 400px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/imb2b-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(28, 175, 230, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background: var(--gradient);
    color: var(--light-bg);
    border: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    text-decoration: none; /* remove underline quando for <a> */
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
/* CTA WhatsApp */
.cta-button.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
/* brilho animado no hover */
.cta-button.whatsapp::before {
    content: '';
    position: absolute;
    left: -20%;
    top: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    opacity: 0;
    transition: left 0.45s ease, opacity 0.45s ease;
}
.cta-button.whatsapp:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 28px rgba(18, 140, 126, 0.35);
    filter: brightness(1.05);
}
.cta-button.whatsapp:hover::before {
    left: 120%;
    opacity: 1;
}
/* Página de Agradecimento */
.thankyou {
    background: var(--light-bg);
    text-align: center;
}
.thank-highlight {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.thank-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto 0;
    max-width: 700px;
    color: var(--text-gray);
    text-align: left;
}
.thank-list li { margin-bottom: 0.6rem; }
.thank-closing {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 2rem auto 0;
    color: var(--text-dark);
    text-align: left;
}

/* Grid de duas colunas para a página de agradecimento */
.thank-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 1rem;
}
.thank-left {
    text-align: left;
}
.thank-left .section-title {
    text-align: left;
}
.thank-right {
    text-align: left;
}
@media (max-width: 768px) {
    .thank-grid { grid-template-columns: 1fr; }
    .thank-right { text-align: left; }
}

.hero-counter {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#counter {
    color: var(--primary-color);
    font-weight: 700;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    text-align: center;
}

/* Purpose Section */
.purpose {
    background: var(--dark-bg);
    color: var(--light-bg);
    padding: 120px 0;
}

.purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.purpose-left {
    padding-right: 2rem;
}

.purpose-label {
    display: inline-block;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    
}

.purpose-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
    margin: 0px 0px 35px 0px;
}

.purpose-right {
    padding-left: 2rem;
}

.purpose-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: var(--light-bg);
}

/* Features Section */
.features {
    background: var(--light-bg);
}

.features .section-title {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.features-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-subtitle {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Responsivo para tablets */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .purpose-grid {
        gap: 3rem;
    }
    
    .purpose-left,
    .purpose-right {
        padding: 0 1rem;
    }
    
    .purpose-title {
        font-size: 3rem;
    }
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Signup Section */
.signup {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0ea5e9 100%);
    color: var(--light-bg);
}

.signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.signup-content {
    padding-right: 2rem;
}

.signup-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.signup-content .signup-intro,
.signup-content .signup-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.signup-form-container {
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
}
/* Neutraliza padding de <section> dentro do embed do formulário */
.signup-form-container section {
    padding: 0 !important;
}

.signup .section-title {
    color: var(--light-bg);
}

.signup-intro, .signup-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.signup-form {
    max-width: 500px;
    width: 100%;
    margin: 0;
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.signup-form input,
.signup-form select {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.signup-form input:focus,
.signup-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 175, 230, 0.1);
}

.signup-form select {
    margin-bottom: 1.5rem;
    grid-column: 1 / -1;
}

.interests {
    border: none;
    margin-bottom: 1.5rem;
}

.interests legend {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.interests label {
    display: block;
    margin-bottom: 0.8rem;
    cursor: pointer;
    color: var(--text-gray);
}

.interests input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.whatsapp-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    cursor: pointer;
    color: var(--text-gray);
}

.whatsapp-checkbox input {
    margin-right: 0.8rem;
    transform: scale(1.2);
}

.signup-form .cta-button {
    width: 100%;
    margin-bottom: 1.5rem;
}

.privacy-notice {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Manifesto Section */
.manifesto {
    background: #f1f1f1;
}

.manifesto .section-title {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.manifesto-content {
    max-width: 900px;
    margin: 0 auto;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    margin-top: 1.5rem;
}

.manifesto-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.manifesto-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient);
    opacity: 0.8;
    transition: width 0.25s ease, opacity 0.25s ease;
}

.manifesto-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(28, 175, 230, 0.35);
}

.manifesto-item:hover::before {
    width: 6px;
    opacity: 1;
}

.manifesto-item:hover .manifesto-icon {
    transform: scale(1.05);
    color: var(--primary-color);
}

.manifesto-icon {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.25s ease;
}

.manifesto-content p {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-gray);
}

.manifesto-ending {
    text-align: center;
    margin-top: 2rem !important;
    font-size: 1.2rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .manifesto-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials {
    background: var(--dark-bg);
    color: var(--light-bg);
}

.testimonials .section-title {
    color: var(--light-bg);
}

.testimonials-intro, .testimonials-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.testimonials-carousel {
    position: relative;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-container {
    margin: 0 auto;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    flex: 0 0 calc(33.333% - 1.33rem);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:first-child {
    background: #00d4ff;
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Final CTA Section */
.final-cta {
    background: var(--light-bg);
    text-align: center;
}

.final-cta-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--light-bg);
  padding: 3rem 0;
  text-align: initial;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.footer-left {
  max-width: 600px;
  justify-self: start;
}
.footer-title {
  font-weight: 700;
  font-size: 1.25rem !important;
  letter-spacing: 0.01em;
}
.footer-left p {
  margin: 0.25rem 0;
  opacity: 0.85;
}
.footer-left a {
  color: var(--primary-color);
  text-decoration: none;
}
.footer-left a:hover {
  text-decoration: underline;
}
.footer-center {
  /* coluna vazia para manter espaçamento central */
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* conteúdo à esquerda em todas as larguras */
  gap: 0.5rem;
  justify-self: start;
  text-align: left;
}
.footer-logo {
  height: 30px;
  width: auto;
  opacity: 0.85;
}
.footer p {
  opacity: 0.75;
  font-size: 0.9rem;
}
.footer-right .copyright {
  opacity: 0.7;
  font-size: 0.7rem; /* menor que p padrão */
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-right {
    justify-content: flex-start;
    justify-self: start;
    text-align: left;
    align-items: flex-start; /* alinha logo e textos à esquerda */
  }
}

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

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 60px;
    }
    
    .main-logo {
        max-height: 100px;
        max-width: 300px;
    }
    
    .purpose {
        padding: 80px 0;
    }
    
    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .purpose-left,
    .purpose-right {
        padding: 0;
    }
    
    .purpose-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .signup-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .signup-content {
        padding-right: 0;
        text-align: center;
    }
    
    .signup-content .section-title {
        text-align: center;
    }
    
    .signup-content .signup-intro,
    .signup-content .signup-description {
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .signup-form {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonials-carousel {
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 1rem);
        padding: 2rem 1.5rem;
    }
    
    .carousel-indicators {
        margin-top: 1.5rem;
        gap: 0.4rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial {
        flex: 0 0 100%;
        padding: 2rem 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success states */
.success {
    background: #10b981 !important;
}

.success:hover {
    background: #059669 !important;
}