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

:root {
    /* Colors - HSL values */
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(0, 0%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(0, 0%, 15%);
    --primary: hsl(0, 0%, 20%);
    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(0, 0%, 92%);
    --secondary-foreground: hsl(0, 0%, 20%);
    --muted: hsl(0, 0%, 92%);
    --muted-foreground: hsl(0, 0%, 45%);
    --accent: hsl(0, 0%, 35%);
    --accent-foreground: hsl(0, 0%, 98%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 100%);
    --border: hsl(0, 0%, 88%);
    --input: hsl(0, 0%, 88%);
    --ring: hsl(0, 0%, 20%);

    /* Stone palette for Hero */
    --stone-50: hsl(60, 9%, 98%);
    --stone-600: hsl(25, 5%, 45%);
    --stone-700: hsl(24, 6%, 38%);
    --stone-800: hsl(25, 5%, 25%);
    --stone-900: hsl(24, 10%, 10%);

    --radius: 0.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Navbar */
.navbar {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.logo img {
    height: 2rem;
}

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

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

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

@media (min-width: 768px) {
    .logo img {
        height: 2.5rem;
    }
    
    .nav-links {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background-color: var(--stone-50);
    color: var(--stone-800);
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 28rem;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.hero-description {
    text-align: center;
    max-width: 28rem;
}

.hero-description p {
    font-size: 0.875rem;
    color: var(--stone-600);
    line-height: 1.6;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.6;
}

.hero-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone-700);
}

.hero-phone p {
    font-size: 1rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 0;
    }

    .hero-grid {
        grid-template-columns: 2fr 3fr;
    }

    .hero-left {
        align-items: flex-start;
    }

    .hero-description {
        text-align: left;
    }

    .hero-description p {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-phone p {
        font-size: 1.125rem;
    }
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-md {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
}

.icon-xl {
    width: 2.5rem;
    height: 2.5rem;
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.icon-destructive {
    color: var(--destructive);
}

.icon-accent {
    color: var(--accent);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-lg {
    font-size: 1.125rem;
    padding: 1.5rem 2.5rem;
}

.btn-dark {
    background-color: var(--stone-900);
    color: white;
}

.btn-dark:hover {
    background-color: var(--stone-800);
}

.btn-hero {
    background-color: var(--background);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-hero:hover {
    background-color: var(--muted);
}

.btn-cta {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-cta:hover {
    opacity: 0.9;
}

.btn-full {
    width: 100%;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-content {
    max-width: 64rem;
    margin: 0 auto;
}

.section-content-narrow {
    max-width: 80rem;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.card-large {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
}

.card-gradient {
    background: linear-gradient(135deg, var(--card), hsl(0, 0%, 96%));
    border-radius: var(--radius);
    padding: 3rem;
    border: 2px solid hsla(0, 0%, 35%, 0.2);
}

.card-gradient-accent {
    background: linear-gradient(to bottom right, hsla(0, 0%, 92%, 0.5), var(--muted));
    border-radius: var(--radius);
    padding: 2rem;
    border-left: 4px solid var(--accent);
}

.hover-shadow {
    transition: var(--transition);
}

.hover-shadow:hover {
    box-shadow: 0 10px 30px -10px hsla(0, 0%, 0%, 0.1);
}

.border-left-destructive {
    border-left: 4px solid var(--destructive);
}

/* Problem Section */
.problem-section {
    background-color: var(--muted);
}

.problem-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.problem-cards .card p {
    font-size: 1.125rem;
}

.consequence-box {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
}

.consequence-list {
    list-style: none;
    margin: 1.5rem 0;
}

.consequence-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.consequence-list svg {
    color: var(--destructive);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.consequence-list span {
    font-size: 1.125rem;
}

.warning-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

/* Solution Section */
.solution-section {
    background-color: var(--background);
}

.solution-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card-icon {
    display: inline-flex;
    padding: 0.75rem;
    background-color: hsla(0, 0%, 35%, 0.1);
    border-radius: var(--radius);
    color: var(--accent);
}

/* Differential Section */
.differential-section {
    background: linear-gradient(to bottom right, hsla(0, 0%, 20%, 0.05), hsla(0, 0%, 35%, 0.05));
}

.differential-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.differential-image img {
    width: 12rem;
    height: 12rem;
    object-fit: cover;
}

@media (min-width: 768px) {
    .differential-image img {
        width: 16rem;
        height: 16rem;
    }
}

.differential-content {
    margin-bottom: 2rem;
}

.differential-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--accent);
}

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

.benefits-grid {
    display: grid;
    gap: 1.5rem;
    padding-top: 1.5rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-icon {
    display: inline-flex;
    padding: 0.5rem;
    background-color: hsla(0, 0%, 35%, 0.1);
    border-radius: var(--radius);
    color: var(--accent);
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Offer Section */
.offer-section {
    background-color: hsla(0, 0%, 35%, 0.05);
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.benefits-list svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.benefits-list span {
    font-size: 1.125rem;
}

/* Proof Section */
.proof-section {
    background-color: var(--background);
}

/* Carousel */
.carousel {
    position: relative;
    max-width: 56rem;
    margin: 0 auto 3rem;
}

.carousel-container {
    overflow: hidden;
    border-radius: var(--radius);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    /* não vamos mais controlar visibilidade com opacity */
}

/* .carousel-item.active {
    opacity: 1;
} */

.case-image {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.case-header svg {
    flex-shrink: 0;
}

.card-gradient-accent p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.case-result {
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
    color: var(--foreground);
}

.carousel-btn:hover {
    background-color: var(--muted);
}

.carousel-prev {
    left: -1rem;
}

.carousel-next {
    right: -1rem;
}

@media (min-width: 768px) {
    .carousel-prev {
        left: -3rem;
    }
    
    .carousel-next {
        right: -3rem;
    }
}

.stats-card {
    text-align: center;
    padding: 2rem;
}

.stats-card svg {
    color: var(--accent);
    margin: 0 auto 1rem;
}

.stats-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stats-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

/* Urgency Section */
.urgency-section {
    background-color: hsla(0, 84.2%, 60.2%, 0.1);
}

.urgency-content {
    margin: 2rem auto;
    max-width: 32rem;
}

.urgency-content p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.urgency-highlight {
    font-weight: 600;
}

.urgency-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.urgency-cta p {
    font-size: 1.25rem;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    background-color: var(--muted);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 1.5rem;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--foreground);
}

.accordion-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    font-size: 1rem;
    color: var(--muted-foreground);
    padding-bottom: 1.5rem;
}

/* Contact Form Section */
.contact-section {
    background-color: var(--muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--input);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--background);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px hsla(0, 0%, 20%, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 8rem;
}

/* Footer */
.footer {
    background-color: var(--muted);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    height: 4rem;
}

.footer-col h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact:hover {
    color: var(--accent);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-contact span {
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social:hover {
    color: var(--accent);
}

.footer-social span {
    font-size: 0.875rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    z-index: 100;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
    width: 2rem;
    height: 2rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

@media (min-width: 768px) {
    section {
        padding: 6rem 0;
    }

    @media (min-width: 1024px) {
        .container {
            padding: 0 1.5rem;
        }
    }
}

/* Mobile: colocar o texto (hero-right) acima da foto (hero-left) */
@media (max-width: 767px) {
  .hero-right {
    order: -1;  /* vem primeiro */
  }

  .hero-left {
    order: 0;   /* vem depois (valor padrão) */
  }
}