:root {
    --primary-green: #25D366;
    --light-green: #E8F8F0;
    --dark-green: #1DA851;
    --blue: #4A90E2;
    --purple: #8B5CF6;
    --orange: #F59E0B;
    --light-gray: #F8FAFC;
    --gray: #64748B;
    --dark-gray: #1E293B;
    --white: #FFF;
    --text-primary: #1A202C;
    --text-secondary: #475569;
    --beige-50: #FAF7F2;
    --beige-100: #F5F0E6;
    --beige-200: #E9DFD0;
    --beige-300: #DCCFB8;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: .3s;
}

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: .3s;
}

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

.cta-button {
    background: var(--primary-green);
    color: #fff;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.cta-button:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--light-green) 0%, #f0fdf4 100%);
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2D3748, #1A202C);
    border-radius: 30px;
    padding: 20px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,.2);
    animation: float 3s ease-in-out infinite;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-header {
    background: var(--primary-green);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.chat-message {
    background: var(--light-green);
    padding: 10px 15px;
    border-radius: 15px;
    margin-left: auto;
    max-width: 80%;
    font-size: .9rem;
}

.chat-message-resposta {
    background: #e9ecef;
    padding: 10px 15px;
    border-radius: 15px;
    margin-right: auto;
    max-width: 80%;
    font-size: .9rem;
    color: #111;
    border: 1px solid #ddd;
}

/* Sections */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: .3s;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--dark-green);
    font-weight: 800;
    background: var(--beige-100);
    border: 1px solid var(--beige-200);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

.step-icon svg {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features & Testimonials - Carousel */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.carousel-viewport {
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel-viewport::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    align-items: stretch;
}

.feature-card,
.testimonial {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    padding: 2rem;
}

.testimonial {
    background: var(--light-gray);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 2.5rem;
    color: var(--primary-green);
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: serif;
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--dark-green);
    background: var(--beige-100);
    border: 1px solid var(--beige-200);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

.feature-card .feature-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p,
.testimonial .testimonial-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

.testimonial .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.testimonial .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Carousel Card Sizes */
.carousel-card {
    scroll-snap-align: start;
    flex: 0 0 calc(33.333% - 1.34rem); /* 3 per viewport with 2rem gap */
}

@media (max-width: 768px) {
    .carousel-card {
        flex: 0 0 100%;
    }
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--primary-green);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--dark-green);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: .5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
    cursor: pointer;
    transition: .2s;
}

.dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: .9;
}

.cta-white {
    background: #fff;
    color: var(--primary-green);
}

.cta-white:hover {
    background: #f8f9fa;
    color: var(--dark-green);
}

/* Simplify Section */
.simplify-section {
    padding: 80px 0;
    background: var(--white);
}

.simplify-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.simplify-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.simplify-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}


/* WhatsApp-style examples */
.wa-chat {
    background: #efeae2;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.wa-example {
    margin-bottom: 1rem;
}

.wa-example:last-child {
    margin-bottom: 0;
}

.wa-sender {
    font-size: .95rem;
    color: var(--text-secondary);
    margin: 0 0 .4rem .25rem;
    font-weight: 600;
}

.wa-bubble {
    position: relative;
    display: inline-block;
    background: #fff;
    padding: .9rem 1rem;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
    line-height: 1.45;
    color: var(--text-primary);
    max-width: 36rem;
}

.wa-bubble::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 14px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 3px;
    box-shadow: -1px 1px 2px rgba(15, 23, 42, .04);
}
.simplify-features {
    list-style: none;
    margin-bottom: 2rem;
}

.simplify-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.simplify-features li::before {
    content: "✓";
    background: var(--primary-green);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: .8rem;
    font-weight: bold;
}

.simplify-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.simplify-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--light-gray);
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .3s;
}

.faq-question:hover {
    background: var(--light-green);
}

.faq-question.active {
    background: var(--light-green);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

.faq-answer p {
    line-height: 1.6;
}

.faq-icon {
    transition: .3s;
}


/* Final CTA */
.final-cta {
    background: var(--primary-green);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: .9;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.footer-section a {
    color: var(--gray);
    text-decoration: none;
    display: block;
    margin-bottom: .5rem;
    transition: .3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: var(--gray);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    padding: 1rem;
    z-index: 999;
}

.mobile-nav.active {
    display: block;
    animation: slideDown .3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid #E2E8F0;
}

/* Responsiveness */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-text h1 { font-size: 2rem; }
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .simplify-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .simplify-text h2 { font-size: 2rem; }
    .wa-chat { text-align: left; }
    .wa-bubble { max-width: 100%; }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
}

/* WhatsApp Fixed Button */
.whatsapp-fixed {
    min-height: 48px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-green);
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    text-decoration: none;
    z-index: 2000;
    transition: .3s;
}

.whatsapp-fixed:hover {
    background: var(--dark-green);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .whatsapp-fixed {
        left: 5%;
        right: 5%;
        width: 90%;
        justify-content: center;
        border-radius: 12px;
        font-size: 1rem;
    }
}


/* ------------------------------
   A11Y + Mobile UX (doc)
------------------------------ */

/* Skip link */
.skip-link{
  position: absolute;
  top: -48px;
  left: 12px;
  padding: 10px 14px;
  background: #fff;
  color: var(--text-primary);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  z-index: 3000;
  text-decoration: none;
}
.skip-link:focus{
  top: 12px;
}

/* Focus visible */
a:focus-visible,
button:focus-visible{
  outline: 3px solid var(--primary-green);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Ensure touch targets */
button,
.cta-button,
.mobile-menu-btn,
.nav-links a,
.mobile-nav a{
  min-height: 48px;
}

/* Make FAQ answers hide properly when using [hidden] */
.faq-answer[hidden]{ display: none; }
.mobile-nav[hidden]{ display: none !important; }

/* Mobile sticky WhatsApp bar + safe-area */
:root{
  --sticky-cta-height: 64px;
}

@media (max-width: 768px){
  body{
    padding-bottom: calc(var(--sticky-cta-height) + env(safe-area-inset-bottom));
  }
  .whatsapp-fixed{
    left: 5%;
    right: 5%;
    width: 90%;
    bottom: calc(env(safe-area-inset-bottom) + 12px);
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
    padding: 14px 18px;
  }
}

/* Desktop: floating button */
@media (min-width: 769px){
  body{ padding-bottom: 0; }
  .whatsapp-fixed{
    bottom: 20px;
    right: 20px;
    left: auto;
    width: auto;
    border-radius: 999px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html:focus-within{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .phone-mockup{ animation: none !important; }
}
