/* --- 🎨 CONFIGURAÇÕES GLOBAIS E VARIÁVEIS --- */
:root {
    --primary-color: #1e90ff; /* Azul principal */
    --primary-hover: #1775c8; /* Azul principal */
    --secondary-color: #003366; /* Azul escuro */
    --accent-color: #ffc107; /* Amarelo para destaque */

    --text-dark: #333;
    --text-light: #fff;
    --text-gray: #666;
    --border-color: #e0e0e0;
    --font-family-titles: "Poppins", sans-serif;
    --font-family-text: "Nunito", sans-serif;

    --primary-blue: #007bff;
    --primary-blue-dark: #0056b3;
    --secondary-green: #28a745;
    --accent-orange: #fd7e14;
    --text-dark: #212529;
    --text-medium: #6c757d;
    --border-light: #e9ecef;
    --bg-light: #f8f9fa;
    --background-light: #f4f7f9;
    --white: #ffffff;
    --whatsapp-green: #25d366;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-family-text);
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-titles);
    text-transform: uppercase;
}
.swiper-pagination {display:none;}
/* Pain Points */
.pain-points .section-title,
.pain-points h3 {
    color: #660000;
}

.pain-points .section-title span {
    color: #ff2a2a;
}

.pain-points__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.pain-card {
    background: #faf8f8;
    padding: var(--spacing-xl);
    height: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pain-card__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: auto;
    margin-bottom: var(--spacing-sm);
}

.pain-card__title {
    font-size: 16px;
    margin-bottom: var(--spacing-sm);
}

.pain-card__description {
    color: #7d6c6c;
}

/* Promise Proof */
.promise-proof {
    padding: 0 0 var(--spacing-xxl);
}

.promise-proof__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    margin-bottom: var(--spacing-xxl);
}

.promise__title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.promise__description {
    font-size: 18px;
    color: var(--text-medium);
}

/* benefits-of-a-website */

.benefits-of-a-website {
    background-color: var(--background-light);
}

.benefits-of-a-website .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.benefits-of-a-website .section-title {
    width: 100%;
}

.benefits-of-a-website .container > img {
    width: calc(50% - (var(--spacing-lg) / 2));
    aspect-ratio: 1/1;
    object-fit: contain;
    margin-left: calc(var(--spacing-lg) / 2);
}

.benefits-of-a-website .benefits-list {
    width: calc(50% - (var(--spacing-lg) / 2));
    margin-right: calc(var(--spacing-lg) / 2);
}

.benefits-of-a-website .benefits-item {
    display: flex;
    align-items: flex-start;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--text-gray);
}
.benefits-of-a-website .benefits-item:last-child {
    border-bottom: none;
}

.benefits-of-a-website .benefits-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-right: var(--spacing-md);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-of-a-website .benefits-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefits-of-a-website h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 16px;
}
.benefits-of-a-website .benefits-content p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.fidelidade {
    padding-top: 15px;
    font-size: 14px;
    color: #ccc;
}

/* Testimonials */
.testimonials__title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonials__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--bg-light);
    height: 100%;
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.testimonial-card__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card__text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    overflow: hidden;
}

.testimonial-card__avatar span {
    line-height: 1;
}
.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__name {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-card__company {
    color: var(--text-medium);
    font-size: 14px;
}

.testimonial-card__rating {
    color: #ffd700;
    font-size: 18px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
section {
    padding: var(--spacing-xxl) 0;
}
.section-title {
    line-height: 1.2;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title span {
    color: var(--primary-color);
}
.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    color: var(--text-gray);
}
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Benefits (renamed to startnow-benefits) */
.startnow-benefits {
    padding: var(--spacing-xxl) 0;
}

.startnow-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.startnow-benefit-card {
    background-color: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.startnow-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.startnow-benefit-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-sm);
    margin: auto;
}

.startnow-benefit-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.startnow-benefit-card__title {
    margin-bottom: var(--spacing-sm);
}

.startnow-benefit-card__description {
    color: var(--text-medium);
}

/* --- ✨ ANIMAÇÕES SUTIS --- */
.animate-on-scroll {
    opacity: 0;
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}
.animate-on-scroll.fade-in-up {
    transform: translateY(50px);
}
.animate-on-scroll.fade-in {
    transform: translateY(0);
}
.animate-on-scroll.zoom-in {
    transform: scale(0.9);
}

/* Classe que ativa a animação */
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- 1. HEADER --- */
.header {
    background-color: var(--background-light);
    padding: 4rem 0;
    height: 100dvh;
    display: flex;
    position: relative;
}

.header .header-background {
    position: absolute;
    inset: 0;
    top: -25%;
    right: -5%;
    background: url(../img/bg-header-2.png) no-repeat right top;
    background-size: contain;
    transform-origin: right center;
    backface-visibility: hidden;
    transform: perspective(1200px) translateZ(-20px) rotateZ(15deg)
        rotateX(25deg) rotateY(349deg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.06));
    z-index: 1;
    pointer-events: none;
}

/* Prevent the transformed plane from creating horizontal scroll.
   We clip it to the header box using overflow hidden on the header. */
.header {
    overflow: hidden;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 3rem; */
}
.header .container {
    position: relative; /* create stacking context */
    z-index: 2; /* ensure content appears above the background plane */
}
.header-content {
    flex: 1;
}
.header-image {
    position: relative;
    flex: 1;
    text-align: center;
}
.header-image img {
    max-width: 100%;
}
.header-title {
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.header-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

/* Surface Duo / Surface Pro / Zenbook Fold (landscape / unfolded tablets) */
@media (min-width: 900px) and (max-width: 1400px) and (min-height: 700px) and (max-height: 1050px) {
    .header {
        height: 100%;
    }
}

/* Tablets grandes (iPad Pro 12.9 / foldables em portrait) */
@media (min-width: 1000px) and (max-width: 1366px) and (min-height: 1050px) and (max-height: 1400px) {
    .header {
        height: 100%;
    }
}

.trust-number {
    width: max-content;
    padding: 5px 30px;
    border-radius: 100vw;
    background-color: var(--secondary-color);
    position: absolute;
}

/* Appear in cascade (fade + slide up) */
.trust-number {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}
.trust-number.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth bobbing animation (looping vertical motion) */
@keyframes bobbing {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Use CSS variables so each pill can have its own duration/phase. */
.trust-number.bob {
    /* default values; individual pills override with custom properties */
    --bob-duration: 3.8s;
    --bob-delay: 0s;
    will-change: transform;
    animation-name: bobbing;
    animation-duration: var(--bob-duration);
    animation-timing-function: ease;
    animation-iteration-count: infinite;
    animation-delay: var(--bob-delay);
}

/* Per-badge offsets to desynchronize phases; negative delays jump animation ahead so they are out-of-phase */
.trust-number.sites {
    --bob-duration: 4s;
    --bob-delay: 0.45s;
}
.trust-number.years {
    --bob-duration: 4s;
    --bob-delay: 1s;
}
.trust-number.coffees {
    --bob-duration: 4s;
    --bob-delay: 1.5s;
}

/* Ensure number value color remains visible when inside the pill */
.trust-number .trust-number__value {
    color: var(--primary-color) !important;
}

.trust-number.sites {
    top: 10%;
    left: 0;
}

.trust-number.years {
    top: 41%;
    right: 0;
}

.trust-number.coffees {
    bottom: 9%;
    left: 22%;
}

.trust-number span {
    color: var(--text-light);
    font-size: 14px;
}

.trust-number__value {
    font-size: 22px !important;
    font-weight: 700;
    color: var(--primary-color) !important;
}

/* --- 2. COMO FUNCIONA --- */
.how-it-works {
    background-color: var(--background-light);
}
.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    text-align: center;
}
.step-card {
    flex: 1;
    padding: 1rem;
    min-width: 250px;
}
.step-card:nth-child(2) {
    transition-delay: 0.2s;
}
.step-card:nth-child(3) {
    transition-delay: 0.4s;
}

.step-icon {
    width: 100px;
    height: 100px;
    background-color: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 3rem;
    color: var(--primary-color);
    border: 2px dashed var(--primary-color);
}
.step-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* --- 3. PLANOS BÁSICOS --- */
.basic-plans {
    background-color: var(--background-light);
}
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.plan-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    height: 100%;
    position: relative;
    overflow: visible;
    padding: 2rem;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease; /* Animação no hover */
}
.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.plan-card.plus {
    border: 2px solid var(--primary-color);
}

/* Small badge for recommended plan - stuck to the right edge */
.plan-card.plus .plan-badge {
    position: absolute;
    top: 12px;
    right: -12px; /* slightly outside the card so it's 'colado' to the right border */
    background: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    z-index: 10;
    white-space: nowrap;
    text-transform: none;
}
.plan-card h3 {
    color: var(--secondary-color);
}
.plan-card .plan-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}
.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
}
.all-plans-include {
    text-align: center;
    font-weight: 500;
}

.plan-card .choose-plan {
    min-width: max-content;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 0;
    background: var(--primary-blue);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}
.plan-card .choose-plan:hover {
    background-color: var(--primary-hover);
}

/* --- 4. MÓDULOS EXTRAS --- */
.extra-modules {
    background-color: #fff;
}
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.module-card {
    background-color: var(--background-light);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.module-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.module-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.module-card .name {
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0.5rem 0;
}
.module-card .price {
    font-weight: 700;
    color: var(--text-dark);
}
/* --- 5. SIMULADOR DE PREÇO (DINÂMICO) --- */
.price-simulator {
    background-color: var(--background-light);
}
.simulator-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Opções | Mockup | Preço */
    gap: 2rem;
    align-items: flex-start;
    background-color: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.simulator-step h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}
.plan-selection-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.plan-selection-buttons button {
    padding: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.plan-selection-buttons button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
#modules-container {
    min-height: 200px; /* Evita que o layout "pule" */
}
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.checkbox-item.hidden {
    display: none;
}
.checkbox-item input {
    margin-right: 0.8rem;
    transform: scale(1.2);
}

.simulator-result h3 {
    color: var(--text-light);
}
.simulator-result {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: sticky; /* Mantém o resultado visível */
    top: 20px;
}
.result-line {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.result-line span {
    float: right;
    font-weight: 600;
}
.result-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}
.result-total span {
    font-size: 2.5rem;
}

/* Estilos do Mockup */
.simulator-mockup {
    border: 10px solid #333;
    border-radius: 10px;
    background-color: #f0f0f0;
    height: 550px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 20px;
}
.mockup-header {
    height: 25px;
    background-color: #333;
    display: flex;
    align-items: center;
    padding: 0 8px;
}
.mockup-header::before {
    content: "● ● ●";
    color: #888;
    font-size: 12px;
}
.mockup-body {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto;
}
.mockup-section {
    background-color: #ccc;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}
.mockup-section.dynamic {
    display: none;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease-in-out;
}

.checkbox-item {
    display: flex;
    align-items: center;
    background-color: var(--background-light);
    padding: 0.8rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.checkbox-item:hover {
    background-color: #e3f2ff;
}
.checkbox-item input {
    margin-right: 0.8rem;
    transform: scale(1.2);
}

/* --- 6. TEMPLATES --- */
.templates {
    background-color: #fff;
}
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.template-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.template-card img {
    width: 100%;
    display: block;
}
.template-card h4 {
    padding: 1rem;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

/* --- 7. COMPARATIVO --- */
/* .comparison {
    background-color: var(--background-light);
} */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.comparison-table th,
.comparison-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
}
.comparison-table th {
    font-size: 1.2rem;
    color: var(--secondary-color);
}
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}
.comparison-table .startnow-col {
    background-color: #e3f2ff;
    border-left: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}
.comparison-table .check {
    color: #28a745;
    font-weight: 800;
    font-size: 1.5rem;
}
.comparison-table .cross {
    color: #dc3545;
    font-weight: 800;
    font-size: 1.5rem;
}

/* Mobile: transform comparison table into stacked cards with label/value rows
   This applies only on narrow viewports (smartphones). Tablets like iPad Mini
   (~768px) will keep the original table layout. */
@media (max-width: 600px) {
    .comparison-table {
        border: 0;
    }
    .comparison-table thead {
        display: none; /* hide original header */
    }
    .comparison-table,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table td {
        display: block;
        width: 100%;
    }

    .comparison-table tr {
        margin-bottom: 1rem;
        /* padding: 0.75rem;
        border-radius: 12px;
        background: var(--white);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-light); */
    }

    /* First cell becomes the title of the card */
    .comparison-table td:first-child {
        font-weight: 700;
        color: var(--secondary-color);
        padding-bottom: 0.5rem;
        font-size: 1rem;
    }

    /* Each following cell becomes a label/value row */
    .comparison-table td:nth-child(n + 2) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem;
        border-top: 1px dashed var(--border-light);
        font-weight: 600;
        color: var(--text-medium);
    }

    /* Insert column headers as labels before the value cells (left side) */
    .comparison-table td:nth-child(2)::before {
        content: "Wix/WordPress";
        color: var(--text-dark);
        font-weight: 600;
    }
    .comparison-table td:nth-child(3)::before {
        content: "Agência Tradicional";
        color: var(--text-dark);
        font-weight: 600;
    }
    .comparison-table td:nth-child(4)::before {
        content: "StartNow";
        color: var(--text-dark);
        font-weight: 600;
    }

    /* Make sure the label (pseudo) and the value sit on opposite sides */
    .comparison-table td:nth-child(n + 2)::before {
        display: inline-block;
        margin-right: 1rem;
        font-weight: 600;
    }

    /* Adjust typography for small screens */
    .comparison-table td {
        font-size: 0.95rem;
    }
}

/* --- 8. PROVA SOCIAL --- */

.logos {
    text-align: center;
    margin: 3rem 0;
}
.logos img {
    max-height: 40px;
    margin: 0 1.5rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}
.logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- 9. FAQ --- */
.faq {
    background-color: var(--background-light);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--secondary-color);
}
.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer p {
    padding: 0 1rem 1.5rem 0;
    color: var(--text-gray);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --- 10. CTA FINAL E FOOTER --- */
.final-cta {
    text-align: center;
}

.final-cta p {
    padding-bottom: 30px;
}

/* Form */

.form-section {
    padding: var(--spacing-xxl) 0;
}

.form__title {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.form__subtitle {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
}

/* about */

.about {
    background: var(--background-light);
}

.about .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about .section-title {
    width: 100%;
}

.about .container > img {
    width: calc(30% - (var(--spacing-lg) / 2));
    aspect-ratio: 1/1;
    object-fit: contain;
    margin-right: calc(var(--spacing-lg) / 2);
}

.about .container p {
    display: inline-block;
    width: calc((100% - 30%) - (var(--spacing-lg) / 2));
    text-align: justify;
    margin-left: calc(var(--spacing-lg) / 2);
}

/* Footer */
.footer {
    background: #1d2d3d;
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer__logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.footer__description {
    color: #adb5bd;
    margin-bottom: var(--spacing-sm);
}

.footer__cnpj {
    color: #6c757d;
    font-size: 14px;
}

.footer__title {
    margin-bottom: var(--spacing-md);
    font-size: 18px;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: var(--spacing-xs);
}

.footer__link {
    color: #adb5bd;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--white);
}

.footer__bottom {
    border-top: 1px solid #495057;
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer__copyright {
    color: #6c757d;
    font-size: 14px;
}

/* --- CARROSSEL DE CLIENTES --- */

.swiper {
    padding: 18px 12px;
    overflow: visible; /* pagination fica fora sem cortar */
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px; /* altura do "slot" de logo */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swiper-pagination {
    bottom: 0;
}

.swiper-pagination-bullet {
    background: var(--text-medium);
    opacity: 0.8;
}

.swiper-pagination-bullet-active {
    background: var(--primary-blue); /* cor da bolinha ativa */
    opacity: 1;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .header {
        height: 100%;
    }

    .header .header-background {
        display: none;
    }

    .header-title {
        font-size: 2.5rem;
    }

    .header .container {
        flex-direction: column;
        text-align: center;
    }
    .header-image {
        margin-top: 2rem;
    }
    .simulator-container {
        grid-template-columns: 1fr; /* Empilha as colunas */
    }
    .simulator-mockup {
        height: 400px; /* Altura menor em telas menores */
        order: 2; /* Mockup vai para o meio */
    }
    .simulator-options {
        order: 1;
    }
    .simulator-result {
        order: 3;
    }

    .benefits-of-a-website .container > img {
        order: 2;
        aspect-ratio: 3/2;
        width: 100%;
    }

    .benefits-of-a-website .benefits-list {
        width: 100%;
        order: 3;
    }

    .beneficio-item {
        padding: var(--spacing-md) 0;
    }

    .about .container > img {
        width: calc(45% - (var(--spacing-sm) / 2));
        margin-right: calc(var(--spacing-sm) / 2);
    }

    .about .container p {
        width: calc((100% - 45%) - (var(--spacing-sm) / 2));
        margin-left: calc(var(--spacing-sm) / 2);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }
    .comparison-table {
        font-size: 0.9rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.5rem;
    }

    .clients-carousel {
        position: relative;
    }
    .clients-track {
        display: flex;
        overflow-x: auto; /* Habilita a rolagem horizontal */
        -webkit-overflow-scrolling: touch; /* Melhora a experiência de rolagem */
        scroll-snap-type: x mandatory; /* Faz os itens "pararem" no lugar certo */
        gap: var(--spacing-lg);
        padding: 1rem 20px; /* Adiciona margem para os logos não colarem na borda */
        scrollbar-width: none; /* Esconde a barra de rolagem no Firefox */
    }
    .clients-track::-webkit-scrollbar {
        display: none; /* Esconde a barra de rolagem no Chrome/Safari */
    }
    .client-item {
        flex: 0 0 40%; /* Cada item ocupa 40% da largura, mostrando cerca de 2.5 itens */
        scroll-snap-align: start; /* Alinha o item no início ao rolar */
    }
    .carousel-nav {
        display: none; /* Esconde as bolinhas de navegação no mobile */
    }

    .promise-proof__content {
        grid-template-columns: 1fr; /* Faz os itens ficarem em uma única coluna */
        text-align: center; /* Centraliza o texto */
        gap: var(--spacing-xl); /* Aumenta o espaço entre os blocos */
    }
    .comparison-table-wrapper {
        overflow-x: auto; /* Permite rolagem horizontal */
        -webkit-overflow-scrolling: touch; /* Melhora a experiência de rolagem em iOS */
        border-radius: 8px;
    }

    .about .container > img {
        aspect-ratio: 3/2;
        width: 100%;
        margin-right: 0;
        margin-bottom: var(--spacing-md);
    }

    .about .container p {
        width: 100%;
        margin-left: 0;
    }

    .footer__content {
        grid-template-columns: 1fr; /* Uma coluna só */
        text-align: center; /* Centraliza todo o conteúdo */
        gap: var(--spacing-lg);
    }
    .footer__list {
        padding: 0; /* Remove o padding padrão da lista */
    }
}
/* --- CSS ADICIONAL PARA O MOCKUP INTERATIVO --- */

.simulator-options h3,
.simulator-result h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}
.simulator-result h3 {
    color: var(--text-light);
}

/* Estilos do Mockup */
.simulator-mockup {
    border: 10px solid #333;
    border-radius: 10px;
    background-color: #f0f0f0;
    height: 550px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.mockup-header {
    height: 25px;
    background-color: #333;
    display: flex;
    align-items: center;
    padding: 0 8px;
}
.mockup-header::before {
    content: "● ● ●";
    color: #888;
    font-size: 12px;
}
.mockup-body {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto; /* Caso muitas seções sejam adicionadas */
}
.mockup-section {
    background-color: #ccc;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

/* Seções dinâmicas começam escondidas */
.mockup-section.dynamic {
    display: none;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease-in-out;
}

/* Módulos que não são seções visuais, mas "features" */

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 15px;
    width: 64px;
    height: 64px;
    background: var(--whatsapp-green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform var(--transition-normal);
    animation: pulse 3s infinite;
}

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

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}
.whatsapp-float span {
    display: none;
}

#mockup-whatsapp {
    /* Este é um elemento do mockup, não o botão flutuante real */
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}
#mockup-orcamento {
    /* Adiciona um botão no formulário de contato */
    background-color: var(--primary-color);
    color: white;
    margin-top: -4px;
}
.logo img {
    max-height: 80px;
}

/* Tablet layout: 3-column grid with centered bottom card
   This keeps the top cards the same size and centers the third card
   in the middle column on tablet widths (769px - 992px). */
@media (min-width: 632px) and (max-width: 992px) {
    .testimonials__container,
    .pain-points__grid,
    .plans-container {
        /* Force a 3-column structure on tablets so we can place items */
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: auto;
        gap: var(--spacing-lg);
        align-items: start;
    }

    /* Place items into explicit columns so widths stay equal */
    .testimonials__container > *:nth-child(1),
    .pain-points__grid > *:nth-child(1),
    .plans-container > *:nth-child(1) {
        grid-column: 1 / span 2;
        grid-row: 1;
    }

    .testimonials__container > *:nth-child(2),
    .pain-points__grid > *:nth-child(2),
    .plans-container > *:nth-child(2) {
        grid-column: 3 / span 2;
        grid-row: 1;
    }

    .pain-points__grid > *:nth-child(3),
    .testimonials__container > *:nth-child(3),
    .plans-container > *:nth-child(3) {
        grid-column: 2 / span 2;
        grid-row: 2;
        justify-self: center;
    }

    /* If there are more than 3 items, let the rest flow normally */
    .pain-points__grid > *:nth-child(n + 4),
    .testimonials__container > *:nth-child(n + 4),
    .plans-container > *:nth-child(n + 4) {
        grid-column: auto;
    }
}
