/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS VARIABLES ===== */
:root {
    --header-height: 4rem;

    /* Brand Colors - GSA SoftEng Palette */
    --primary-color: #1E5799;
    /* Azul Tech - Títulos, botões de ação (CTAs) e destaque */
    --primary-color-alt: #145083;
    /* Azul Tech mais escuro para hover */
    --secondary-color: #7db9e8;
    /* Azul Ciano - Links e detalhes gráficos */
    --accent-color: #5a9fd4;
    /* Azul Ciano mais escuro para hover */
    --success-color: #27ae60;
    /* Mantém verde para sucesso */
    --white-color: #FFFFFF;
    /* Branco Puro - Fundos e áreas de respiro */
    --light-gray: #F5F5F7;
    /* Cinza Claro - Fundos e áreas de respiro */
    --gray-color: #8e8e8e;
    /* Cinza Grafite - Corpo de texto principal */
    --dark-gray: #6a6a6a;
    /* Cinza Grafite mais escuro */
    --text-color: #8e8e8e;
    /* Cinza Grafite - Corpo de texto principal */
    --title-color: #1E5799;
    /* Azul Tech - Títulos */
    --border-color: #e9ecef;

    /* Gradients - GSA SoftEng */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);

    /* Typography */
    --primary-font: 'Ibrand', Arial, sans-serif;
    --body-font: Arial, sans-serif;
    --biggest-font-size: 3rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.75rem;

    /* Font weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* Spacing */
    --mb-0-25: 0.25rem;
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-25: 1.25rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /* Border radius */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;

    /* Shadows */
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);

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

    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
    :root {
        --biggest-font-size: 2.5rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 0.938rem;
        --small-font-size: 0.813rem;
        --smaller-font-size: 0.75rem;
    }
}

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 4rem;
    /* Adiciona espaço para o header fixo */
    overflow-x: hidden !important;
    /* FORCE Prevent horizontal scroll */
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-family: var(--primary-font);
    font-weight: var(--font-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Responsive images */
.nav__logo-img,
.footer__logo-img {
    object-fit: contain;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

/* Ensure buttons are touch-friendly on mobile */
@media (max-width: 768px) {

    button,
    .btn,
    a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

input,
textarea,
select {
    outline: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section {
    padding: 5rem 0 2rem;
}

.section__header {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.section__title {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
    position: relative;
}

.section__title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section__description {
    font-size: var(--normal-font-size);
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--mb-0-5);
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
    min-height: 48px;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 20px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-heavy);
    z-index: var(--z-fixed);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
    opacity: 0.7;
    visibility: visible;
    margin-bottom: 0;
    /* Reset margin */
}

/* Mobile specific button positioning */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px !important;
        /* Move WAY up to avoid scroll-top */
        right: 20px !important;
    }
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.whatsapp-float i {
    margin-top: 2px;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.3;
    animation: ripple 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* WhatsApp tooltip */
.whatsapp-float::after {
    content: 'Fale conosco no WhatsApp';
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    font-family: var(--body-font);
    font-weight: var(--font-medium);
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 70px;
        right: 15px;
        font-size: 26px;
    }

    .whatsapp-float::after {
        right: 65px;
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media screen and (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 60px;
        right: 10px;
        font-size: 24px;
    }

    .whatsapp-float::after {
        display: none;
        /* Hide tooltip on very small screens */
    }
}

.btn--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    min-height: 54px;
}

.btn .fab.fa-whatsapp {
    font-size: 1.25em;
    margin-right: var(--mb-0-25);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ===== HEADER & NAV ===== */
.header {
    width: 100%;
    background-color: var(--white-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
    color: var(--primary-color);
    font-family: var(--primary-font);
    font-weight: var(--font-bold);
    font-size: 1.25rem;
}

.nav__logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.nav__icon {
    font-size: 1.5rem;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--mb-2);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--mb-2);
}

.nav__link {
    /* make nav link text blue for better contrast (default state)
       hover/active styles remain for emphasis */
    color: var(--primary-color);
    font-weight: var(--font-medium);
    transition: var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    /* keep the same primary color on hover/active to avoid double visual styles */
    color: var(--primary-color);
}

.nav__toggle {
    display: none;
    font-size: 1.25rem;
    color: var(--title-color);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: calc(var(--header-height) + 2rem) 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    position: relative;
}

.hero__container {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--mb-3);
    align-items: center;
}

.hero__title {
    font-size: var(--biggest-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
    line-height: 1.2;
}

.hero__highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--gray-color);
    margin-bottom: var(--mb-2);
    line-height: 1.6;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mb-1-5);
    margin-bottom: var(--mb-2-5);
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

.hero__stat-label {
    font-size: var(--small-font-size);
    color: var(--gray-color);
}

.hero__actions {
    display: flex;
    gap: var(--mb-1);
    flex-wrap: wrap;
}

.hero__visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__graphic {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__circle {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero__circle--1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(95, 95, 92, 0.2), transparent);
    border: 2px solid rgba(95, 95, 92, 0.3);
    animation-delay: 0s;
}

.hero__circle--2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(63, 174, 179, 0.2), transparent);
    border: 2px solid rgba(63, 174, 179, 0.3);
    animation-delay: 2s;
}

.hero__circle--3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(45, 138, 143, 0.2), transparent);
    border: 2px solid rgba(45, 138, 143, 0.3);
    animation-delay: 4s;
}

.hero__icon-container {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
}

.hero__main-icon {
    font-size: 2rem;
    color: var(--white-color);
}

.hero__floating-card {
    position: absolute;
    background: var(--white-color);
    padding: var(--mb-0-75) var(--mb-1);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    animation: float 4s ease-in-out infinite;
}

.hero__floating-card i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.hero__floating-card--1 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.hero__floating-card--2 {
    bottom: 30%;
    left: 5%;
    animation-delay: 3s;
}

.hero__floating-card--3 {
    top: 60%;
    right: 20%;
    animation-delay: 5s;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px);
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 5rem 0;
    background-color: var(--white-color);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--mb-2-5);
    margin-top: var(--mb-3);
}

.service__card {
    background: var(--white-color);
    padding: var(--mb-2-5);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.service__card--featured {
    border: 2px solid var(--border-color);
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.service__icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--mb-1-5);
    margin-left: auto;
    margin-right: auto;
}

.service__icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.service__title {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
}

.service__description {
    color: var(--gray-color);
    margin-bottom: var(--mb-1-5);
    line-height: 1.6;
}

.service__features {
    list-style: none;
    margin-bottom: var(--mb-1-5);
}

.service__features li {
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
    margin-bottom: var(--mb-0-5);
    font-size: var(--small-font-size);
}

.service__features i {
    color: var(--success-color);
    font-size: 0.875rem;
}

.service__result {
    padding: var(--mb-1) 0;
    border-top: 1px solid var(--border-color);
}

.service__result-label {
    font-size: var(--small-font-size);
    color: var(--gray-color);
    display: block;
    margin-bottom: var(--mb-0-25);
}

.service__result-value {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    color: var(--success-color);
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--mb-2);
    margin-top: var(--mb-3);
}

.benefit__card {
    background: var(--white-color);
    padding: var(--mb-2);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.benefit__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.benefit__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1);
}

.benefit__icon i {
    font-size: 1.5rem;
    color: var(--white-color);
}

.benefit__title {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-0-75);
}

.benefit__description {
    color: var(--gray-color);
    line-height: 1.6;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--white-color);
}

.process__timeline {
    position: relative;
    max-width: 800px;
    margin: var(--mb-3) auto 0;
}

.process__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.process__step {
    display: flex;
    align-items: center;
    margin-bottom: var(--mb-3);
    position: relative;
}

.process__step:nth-child(even) {
    flex-direction: row-reverse;
}

.process__step:nth-child(even) .process__content {
    text-align: right;
}

.process__number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.process__content {
    width: 45%;
    background: var(--white-color);
    padding: var(--mb-2);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 2px solid var(--border-color);
}

.process__step:nth-child(odd) .process__content {
    margin-right: auto;
}

.process__step:nth-child(even) .process__content {
    margin-left: auto;
}

.process__title {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-0-75);
}

.process__description {
    color: var(--gray-color);
    margin-bottom: var(--mb-1);
    line-height: 1.6;
}

.process__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--mb-0-5);
}

.process__feature {
    background: var(--light-gray);
    color: var(--primary-color);
    padding: var(--mb-0-25) var(--mb-0-75);
    border-radius: var(--border-radius);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: var(--white-color);
    text-align: center;
}

.cta__title {
    font-size: var(--h1-font-size);
    color: var(--white-color);
    margin-bottom: var(--mb-1);
}

.cta__description {
    font-size: 1.125rem;
    margin-bottom: var(--mb-2-5);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--mb-1-5);
}

.cta .btn--primary {
    background: var(--white-color);
    color: var(--primary-color);
}

.cta .btn--primary:hover {
    background: var(--light-gray);
}

.cta__contact {
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
    font-size: 1.125rem;
    font-weight: var(--font-medium);
}

.cta__contact i {
    font-size: 1.5rem;
    color: var(--white-color);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

/* OLD CONTACT STYLES REMOVED - SEE NEW VERSION BELOW */

/* ===== FOOTER ===== */
.footer {
    background-color: var(--title-color);
    color: var(--white-color);
    padding: var(--mb-3) 0 var(--mb-1);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--mb-3);
    margin-bottom: var(--mb-2);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
    font-family: var(--primary-font);
    font-size: 1.25rem;
    font-weight: var(--font-bold);
    margin-bottom: var(--mb-1);
}

.footer__logo-img {
    height: 45px;
    width: auto;
    max-width: 180px;
}

.footer__logo i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mb-2);
}

.footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    color: var(--white-color);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--mb-0-5);
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer__contact {
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
    color: rgba(255, 255, 255, 0.8);
}

.footer__contact i {
    color: var(--secondary-color);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--mb-1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Extra Large devices (1200px and up) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 0 2rem;
    }

    .hero__content {
        gap: var(--mb-3);
        align-items: center;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--mb-3);
    }

    .benefits__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--mb-3);
    }

    /* Melhorias de performance em telas grandes */
    img {
        max-height: 800px;
        object-fit: contain;
    }

    .hero__title {
        font-size: 4rem;
        line-height: 1.2;
    }

    .hero__description {
        font-size: 1.25rem;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Large devices (992px to 1199px) */
@media screen and (max-width: 1199px) {
    .container {
        max-width: 960px;
        margin-left: var(--mb-1-5);
        margin-right: var(--mb-1-5);
    }
}

/* Large devices (768px to 991px) */
@media screen and (max-width: 992px) {
    .container {
        margin-left: var(--mb-1-5);
        margin-right: var(--mb-1-5);
    }

    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--mb-2);
    }

    .hero__visual {
        order: -1;
        height: 300px;
    }

    .hero__graphic {
        width: 300px;
        height: 300px;
    }

    .hero__circle--1 {
        width: 250px;
        height: 250px;
    }

    .hero__circle--2 {
        width: 170px;
        height: 170px;
    }

    .hero__circle--3 {
        width: 90px;
        height: 90px;
    }

    .hero__stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--mb-1);
    }

    .hero__actions {
        flex-direction: column;
        gap: var(--mb-1);
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: var(--mb-2);
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--mb-1-5);
    }

    .process__timeline {
        gap: var(--mb-2);
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__links {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__timeline::before {
        left: 30px;
    }

    .process__step {
        flex-direction: row !important;
    }

    .process__number {
        left: 30px;
        transform: none;
    }

    .process__content {
        width: calc(100% - 100px);
        margin-left: 100px !important;
        text-align: left !important;
    }
}

/* Medium devices (576px to 767px) */
@media screen and (max-width: 768px) {
    .nav__logo-img {
        height: 45px;
        max-width: 180px;
    }

    .footer__logo-img {
        height: 40px;
        max-width: 160px;
    }

    .hero {
        padding: calc(var(--header-height) + 1rem) 0 3rem;
    }

    .hero__title {
        font-size: var(--h1-font-size);
        margin-bottom: var(--mb-1);
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: var(--mb-1);
        margin: var(--mb-2) 0;
    }

    .hero__actions {
        flex-direction: column;
        gap: var(--mb-1);
        align-items: stretch;
    }

    .btn--large {
        padding: var(--mb-1) var(--mb-1-5);
        font-size: var(--normal-font-size);
        white-space: normal;
        text-align: center;
        line-height: 1.4;
        min-height: 48px;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: var(--mb-2);
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        gap: var(--mb-1-5);
    }

    .process__timeline {
        gap: var(--mb-1-5);
    }

    .process__step {
        padding: var(--mb-1-5);
    }

    .contact__methods {
        gap: var(--mb-1);
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--mb-2);
        text-align: center;
    }

    .footer__links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--mb-2);
    }

    .nav__menu {
        position: fixed;
        background-color: transparent;
        top: 4rem;
        right: 0;
        left: auto;
        width: 48vw;
        /* use 48% when opened */
        max-width: 420px;
        height: calc(100vh - 4rem);
        padding: var(--mb-2-5) var(--mb-2) 0;
        transition: transform 0.36s cubic-bezier(.22, .9, .37, 1);
        transform: translateX(100%);
        /* keep hidden off-screen by default */
        box-shadow: -8px 0 30px rgba(13, 38, 78, 0.08);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98));
        z-index: 1200;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        will-change: transform;
    }

    .nav__menu.active {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        width: 100%;
        gap: var(--mb-1-5);
    }

    .nav__link {
        font-size: 1.125rem;
        padding: var(--mb-0-5) 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav__cta {
        margin-top: var(--mb-1-5);
    }

    /* Ensure no bottom divider on mobile nav links - prefer blue underline
       Also force links to project blue and center text/buttons in the mobile panel */
    .nav__menu .nav__link {
        border-bottom: none;
        background: transparent;
        color: var(--primary-color);
        /* project blue */
        text-align: center;
        /* center the link text inside the mobile panel */
        padding-left: 0;
        /* remove leftover left padding */
        display: block;
        width: 100%;
    }

    /* Center CTA area/buttons inside the mobile menu */
    .nav__menu .nav__cta {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: var(--mb-1);
    }

    .nav__menu .nav__cta .btn {
        margin: 0 auto;
    }

    .nav__toggle {
        display: block;
        background: transparent;
        /* sem caixa */
        color: var(--primary-color);
        /* ícone azul */
        padding: 0;
        /* só área de toque */
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: var(--mb-1);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: var(--mb-2);
    }

    .cta__actions {
        gap: var(--mb-1);
    }
}

/* Small devices (up to 575px) */
@media screen and (max-width: 576px) {
    .container {
        margin-left: var(--mb-1);
        margin-right: var(--mb-1);
        padding: 0 var(--mb-0-5);
    }

    .nav__logo-img {
        height: 40px;
        max-width: 150px;
    }

    .footer__logo-img {
        height: 35px;
        max-width: 140px;
    }

    .hero {
        padding: calc(var(--header-height) + 1rem) 0 2rem;
    }

    .hero__title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: var(--mb-0-75);
    }

    .hero__description {
        font-size: var(--small-font-size);
        margin-bottom: var(--mb-1-5);
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: var(--mb-0-75);
        margin: var(--mb-1-5) 0;
    }

    .hero__stat {
        padding: var(--mb-0-75);
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .hero__actions {
        flex-direction: column;
        gap: var(--mb-0-75);
    }

    .btn--large {
        padding: var(--mb-0-75) var(--mb-1);
        font-size: var(--small-font-size);
    }

    .hero__visual {
        height: 250px;
        margin-bottom: var(--mb-1);
    }

    .hero__graphic {
        width: 250px;
        height: 250px;
    }

    .section__title {
        font-size: var(--h2-font-size);
        margin-bottom: var(--mb-0-75);
    }

    .section__description {
        font-size: var(--small-font-size);
        margin-bottom: var(--mb-2);
    }

    .services__grid,
    .benefits__grid {
        grid-template-columns: 1fr;
        gap: var(--mb-1-5);
    }

    .service__card,
    .benefit__card {
        padding: var(--mb-1-5);
    }

    .service__title,
    .benefit__title {
        font-size: var(--h3-font-size);
        margin: var(--mb-0-75) 0 var(--mb-0-5);
    }

    .process__timeline {
        gap: var(--mb-1);
    }

    .process__step {
        padding: var(--mb-1);
    }

    .process__number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .cta__title {
        font-size: var(--h2-font-size);
        margin-bottom: var(--mb-0-75);
    }

    .cta__description {
        font-size: var(--small-font-size);
        margin-bottom: var(--mb-1-5);
    }

    .contact__methods {
        gap: var(--mb-1);
    }

    .contact__method {
        padding: var(--mb-0-75);
    }

    .form__group {
        margin-bottom: var(--mb-1);
    }

    .form__input {
        padding: var(--mb-0-75);
        font-size: var(--small-font-size);
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--mb-1-5);
        text-align: center;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: var(--mb-1-5);
    }

    .footer__column {
        margin-bottom: var(--mb-1);
    }

    .nav__menu {
        /* keep same hide/show behavior but smaller width on very small screens per request */
        width: 48vw;
        max-width: 360px;
        padding: var(--mb-2) var(--mb-1-5) 0;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--mb-1);
    }

    .nav__link {
        font-size: var(--normal-font-size);
        padding: var(--mb-0-5) 0;
    }

    .nav__cta {
        margin-top: var(--mb-1-5);
        padding: var(--mb-0-75) var(--mb-1-5);
        font-size: var(--small-font-size);
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* Extra Small devices (up to 320px) */
@media screen and (max-width: 320px) {
    .container {
        margin-left: var(--mb-0-5);
        margin-right: var(--mb-0-5);
        padding: 0 var(--mb-0-25);
    }

    .nav__logo-img {
        height: 35px;
        max-width: 120px;
    }

    .hero__title {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .hero__description {
        font-size: 0.8rem;
    }

    .hero__visual {
        height: 200px;
    }

    .hero__graphic {
        width: 200px;
        height: 200px;
    }

    .btn--large {
        padding: var(--mb-0-5) var(--mb-0-75);
        font-size: 0.8rem;
    }

    .service__card,
    .benefit__card {
        padding: var(--mb-1);
    }

    .section__title {
        font-size: 1.25rem;
    }

    .footer__logo-img {
        height: 30px;
        max-width: 120px;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 10px;
        right: 10px;
    }
}

/* ===== BEFORE/AFTER SECTION ===== */
.before-after {
    padding: 4rem 0;
    background: var(--light-gray);
}

.before-after__content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: var(--mb-3) 0;
}

.before-after__column {
    background: var(--white-color);
    padding: var(--mb-2);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.before-after__column:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.before-after__column--before {
    border-left: 4px solid #e74c3c;
}

.before-after__column--after {
    border-left: 4px solid var(--success-color);
}

.before-after__title {
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1-5);
    color: var(--title-color);
}

.before-after__title i {
    font-size: 1.5rem;
}

.before-after__column--before .before-after__title i {
    color: #e74c3c;
}

.before-after__column--after .before-after__title i {
    color: var(--success-color);
}

.before-after__items {
    display: flex;
    flex-direction: column;
    gap: var(--mb-1);
}

.before-after__item {
    display: flex;
    align-items: center;
    gap: var(--mb-0-75);
    font-size: var(--normal-font-size);
}

.before-after__item i {
    flex-shrink: 0;
    width: 20px;
    font-size: 1rem;
}

.before-after__column--before .before-after__item i {
    color: #e74c3c;
}

.before-after__column--after .before-after__item i {
    color: var(--success-color);
}

.before-after__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white-color);
    font-size: 1.5rem;
    box-shadow: var(--shadow-medium);
}

.before-after__cta {
    text-align: center;
    margin-top: var(--mb-3);
}

.before-after__cta-text {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-1-5);
    font-weight: var(--font-medium);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 4rem 0;
    background: var(--white-color);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--mb-2);
    margin-top: var(--mb-3);
}

.testimonial__card {
    background: var(--white-color);
    padding: var(--mb-2-5);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.testimonial__text {
    font-size: var(--normal-font-size);
    line-height: 1.6;
    margin-bottom: var(--mb-2);
    font-style: italic;
    color: var(--text-color);
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--mb-1);
}

.testimonial__avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.2rem;
}

.testimonial__name {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-0-25);
}

.testimonial__role {
    font-size: var(--small-font-size);
    color: var(--gray-color);
}

/* ===== PAIN CALCULATOR SECTION ===== */
.pain-calculator {
    padding: 4rem 0;
    background: var(--light-gray);
}

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

.calculator__form {
    background: var(--white-color);
    padding: var(--mb-3);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    margin-bottom: var(--mb-2);
}

.calculator__group {
    margin-bottom: var(--mb-2);
}

.calculator__label {
    display: block;
    font-weight: var(--font-medium);
    color: var(--title-color);
    margin-bottom: var(--mb-0-5);
    font-size: var(--normal-font-size);
}

.calculator__input {
    width: 100%;
    padding: var(--mb-0-75);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--normal-font-size);
    transition: var(--transition);
    background: var(--white-color);
}

.calculator__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 87, 153, 0.1);
}

.calculator__button {
    width: 100%;
    margin-top: var(--mb-1);
}

.calculator__result {
    background: var(--white-color);
    padding: var(--mb-3);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    border: 2px solid var(--primary-color);
}

.calculator__result-title {
    text-align: center;
    color: var(--title-color);
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-2);
}

.calculator__result-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--mb-2);
    margin-bottom: var(--mb-2);
}

.calculator__stat {
    text-align: center;
    padding: var(--mb-1-5);
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.calculator__stat-number {
    display: block;
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: var(--mb-0-25);
}

.calculator__stat-label {
    font-size: var(--small-font-size);
    color: var(--gray-color);
    text-transform: uppercase;
    font-weight: var(--font-medium);
}

.calculator__result-message {
    background: rgba(30, 87, 153, 0.1);
    padding: var(--mb-1-5);
    border-radius: var(--border-radius);
    color: var(--title-color);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-2);
    text-align: center;
}

.calculator__result-action {
    text-align: center;
    margin-bottom: var(--mb-2);
}

.calculator__breakdown {
    background: rgba(30, 87, 153, 0.05);
    padding: var(--mb-1-5);
    border-radius: var(--border-radius);
    margin-bottom: var(--mb-1-5);
    border-left: 4px solid var(--primary-color);
}

.calculator__breakdown h4 {
    color: var(--title-color);
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-1);
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
}

.calculator__breakdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.calculator__breakdown li {
    padding: var(--mb-0-5) 0;
    font-size: var(--small-font-size);
    color: var(--text-color);
    position: relative;
    padding-left: var(--mb-1-5);
}

.calculator__breakdown li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.calculator__breakdown strong {
    color: var(--title-color);
}

.calculator__disclaimer {
    text-align: center;
    font-size: var(--small-font-size);
    color: var(--gray-color);
    font-style: italic;
}

/* ===== UPDATED CONTACT SECTION ===== */
.contact {
    padding: 4rem 0;
    background: var(--light-gray);
}

.contact__content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact__title {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
    font-weight: var(--font-bold);
}

.contact__description {
    font-size: var(--normal-font-size);
    color: var(--text-color);
    margin-bottom: var(--mb-3);
    line-height: 1.6;
}

.contact__highlight {
    margin: var(--mb-3) 0;
    padding: var(--mb-3);
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.contact__sofia {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--mb-2);
    flex-wrap: wrap;
}

.contact__sofia-avatar {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 2.5rem;
    box-shadow: var(--shadow-medium);
    flex-shrink: 0;
}

.contact__sofia-info {
    text-align: left;
}

.contact__sofia-name {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-0-5);
    font-weight: var(--font-bold);
}

.contact__sofia-role {
    display: block;
    color: var(--gray-color);
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-0-75);
}

.contact__sofia-status {
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
    color: var(--success-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
}

.contact__status-indicator {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: var(--mb-1-5);
    margin: var(--mb-3) 0;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: var(--mb-1);
    padding: var(--mb-1-5);
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.contact__method:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.contact__method i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact__method-label {
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-0-25);
    font-size: var(--normal-font-size);
}

.contact__method-value {
    color: var(--gray-color);
    font-size: var(--small-font-size);
}

.contact__method--primary {
    background: var(--gradient-primary);
    color: var(--white-color) !important;
    border: 2px solid transparent;
    transform: scale(1.02);
    box-shadow: var(--shadow-medium);
}

.contact__method--primary .contact__method-label {
    color: var(--white-color) !important;
    font-weight: var(--font-bold);
}

.contact__method--primary .contact__method-value {
    color: var(--white-color) !important;
    font-weight: var(--font-medium);
}

.contact__method--primary i {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}

.contact__method--primary:hover {
    color: var(--white-color) !important;
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.contact__guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--mb-0-75);
    background: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
    padding: var(--mb-1-5);
    border-radius: var(--border-radius);
    font-weight: var(--font-medium);
    margin-top: var(--mb-3);
    border: 1px solid rgba(39, 174, 96, 0.2);
    font-size: var(--normal-font-size);
}

.contact__guarantee i {
    font-size: 1.25rem;
}

/* ===== RESPONSIVE DESIGN FOR NEW SECTIONS ===== */
@media screen and (max-width: 768px) {
    .before-after__content {
        grid-template-columns: 1fr;
        gap: var(--mb-1-5);
        text-align: center;
    }

    .before-after__column {
        text-align: center;
    }

    .before-after__title {
        justify-content: center;
    }

    .before-after__items {
        align-items: center;
    }

    .before-after__arrow {
        transform: rotate(90deg);
        margin: var(--mb-1) auto;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .calculator__result-stats {
        grid-template-columns: 1fr;
    }

    .contact__sofia {
        flex-direction: column;
        text-align: center;
        gap: var(--mb-1-5);
    }

    .contact__sofia-info {
        text-align: center;
    }

    .contact__sofia-avatar {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .contact__method {
        padding: var(--mb-1);
    }

    .contact__method i {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 480px) {

    .before-after__column,
    .calculator__form,
    .calculator__result {
        padding: var(--mb-1-5);
    }

    .testimonial__card {
        padding: var(--mb-1-5);
    }

    .contact__highlight {
        padding: var(--mb-2);
        margin: var(--mb-2) 0;
    }

    .contact__method {
        padding: var(--mb-1);
    }

    .contact__method i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact__sofia-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
}

/* ===== WHATSAPP DEMO IN HERO ===== */
.hero__demo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--mb-1);
}

.whatsapp-demo {
    width: 280px;
    height: 420px;
    background: #e5ddd5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 3px solid var(--white-color);
    position: relative;
}

.whatsapp-demo__header {
    background: #075e54;
    color: white;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: var(--mb-0-75);
}

.whatsapp-demo__avatar {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.whatsapp-demo__name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 2px;
}

.whatsapp-demo__status {
    font-size: 11px;
    opacity: 0.8;
}

.whatsapp-demo__chat {
    padding: 10px;
    height: calc(100% - 100px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10 10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10 10z' fill='%23000000' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.whatsapp-demo__message {
    max-width: 80%;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(10px);
    animation: messageSlideIn 0.4s ease-out forwards;
}

.whatsapp-demo__message--user {
    background: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.whatsapp-demo__message--bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.whatsapp-demo__typing {
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    border-bottom-left-radius: 2px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 80px;
    opacity: 0;
    animation: messageSlideIn 0.4s ease-out forwards;
}

.whatsapp-demo__typing-dots {
    display: flex;
    gap: 3px;
}

.whatsapp-demo__typing-dot {
    width: 4px;
    height: 4px;
    background: #999;
    border-radius: 50%;
    animation: typingPulse 1.4s infinite ease-in-out;
}

.whatsapp-demo__typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.whatsapp-demo__typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.whatsapp-demo__footer {
    background: #f0f0f0;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.whatsapp-demo__input {
    flex: 1;
    background: white;
    padding: 6px 12px;
    border-radius: 18px;
    font-size: 12px;
    color: #999;
}

.whatsapp-demo__send {
    width: 30px;
    height: 30px;
    background: #075e54;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.whatsapp-demo__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-size: var(--small-font-size);
    opacity: 0.7;
}

.whatsapp-demo__loading-dots {
    display: flex;
    gap: 4px;
    margin-bottom: var(--mb-0-5);
}

.whatsapp-demo__loading-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    animation: loadingPulse 1.4s infinite ease-in-out;
}

.whatsapp-demo__loading-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.whatsapp-demo__loading-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.whatsapp-demo__loading-dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes loadingPulse {

    0%,
    60%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingPulse {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

/* ===== RESPONSIVE FOR WHATSAPP DEMO ===== */
@media screen and (max-width: 768px) {
    .whatsapp-demo {
        width: 240px;
        height: 360px;
    }

    .hero__visual {
        padding-top: var(--mb-1);
    }
}

@media screen and (max-width: 480px) {
    .whatsapp-demo {
        width: 220px;
        height: 320px;
    }

    .hero__visual {
        padding-top: var(--mb-1-5);
        height: 280px;
    }

    .hero__container {
        height: auto;
        min-height: auto;
    }

    .hero__graphic {
        width: 250px;
        height: 250px;
    }

    .section {
        padding: 3rem 0 1rem;
    }

    .services,
    .benefits,
    .how-it-works,
    .cta,
    .contact {
        padding: 3rem 0;
    }

    .service__card,
    .benefit__card {
        padding: var(--mb-1-5);
    }

    .hero__floating-card {
        font-size: var(--smaller-font-size);
        padding: var(--mb-0-5);
    }

    .hero__floating-card i {
        font-size: 1rem;
    }
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing__card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing__card--featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing__card--featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing__card--premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white-color);
}

.pricing__badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.5rem 1.5rem;
    border-radius: 0 20px 0 20px;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing__badge--premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.pricing__header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    color: var(--title-color);
    margin-bottom: 1rem;
}

.pricing__card--premium .pricing__title {
    color: var(--white-color);
}

.pricing__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.pricing__currency {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color);
}

.pricing__amount {
    font-size: 3rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

.pricing__card--premium .pricing__amount {
    color: var(--white-color);
}

.pricing__period {
    font-size: var(--normal-font-size);
    color: var(--text-color);
    font-weight: var(--font-medium);
}

.pricing__subtitle {
    font-size: var(--small-font-size);
    color: var(--text-color);
    opacity: 0.8;
}

.pricing__subtitle--discount {
    color: var(--success-color);
    font-weight: var(--font-semi-bold);
}

.pricing__card--premium .pricing__subtitle {
    color: var(--white-color);
}

.pricing__discount {
    background: var(--success-color);
    color: var(--white-color);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: var(--font-bold);
}

.pricing__features {
    margin-bottom: 2rem;
}

.pricing__features-title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 1rem;
}

.pricing__card--premium .pricing__features-title {
    color: var(--white-color);
}

.pricing__features-list {
    list-style: none;
}

.pricing__features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: var(--small-font-size);
    color: var(--text-color);
}

.pricing__card--premium .pricing__features-list li {
    color: var(--white-color);
}

.pricing__features-list i {
    color: var(--success-color);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.pricing__payment {
    margin-bottom: 1.5rem;
}

.pricing__btn {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
}

.btn--premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    border: none;
    font-weight: var(--font-bold);
}

.btn--premium:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
}

.pricing__payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pricing__payment-methods img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pricing__payment-methods img:hover {
    opacity: 1;
}

.pricing__guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: var(--small-font-size);
    color: var(--success-color);
    font-weight: var(--font-medium);
}

.pricing__economy {
    text-align: center;
    margin-top: 1rem;
}

.pricing__economy-text {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    display: inline-block;
}

.pricing__footer {
    margin-top: 3rem;
    text-align: center;
}

.pricing__testimonial {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing__testimonial-content p {
    font-style: italic;
    font-size: var(--normal-font-size);
    color: var(--text-color);
    margin-bottom: 1rem;
}

.pricing__testimonial-content cite {
    font-size: var(--small-font-size);
    color: var(--primary-color);
    font-weight: var(--font-semi-bold);
}

.pricing__security h4 {
    color: var(--primary-color);
    font-size: var(--normal-font-size);
    margin-bottom: 0.5rem;
}

.pricing__security p {
    color: var(--text-color);
    font-size: var(--small-font-size);
}

/* ===== MODAL STYLES ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal[style*="flex"] {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

.modal__content {
    background: var(--white-color);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal[style*="flex"] .modal__content {
    transform: scale(1) translateY(0);
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    color: var(--title-color);
}

.modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal__close:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.modal__body {
    padding: 2rem;
}

.payment-form__header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.payment-form__product h4 {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.payment-form__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-medium);
    color: var(--title-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: var(--normal-font-size);
    transition: all 0.3s ease;
    background: var(--white-color);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 87, 153, 0.1);
}

.btn--full {
    width: 100%;
}

.payment-form__security {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.security-badges {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--small-font-size);
    color: var(--text-color);
}

.security-badge i {
    font-size: 1.5rem;
    color: var(--success-color);
}

/* ===== RESPONSIVE DESIGN - PRICING ===== */
@media screen and (max-width: 968px) {
    .pricing__cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .pricing__card--featured {
        transform: none;
    }

    .pricing__card--featured:hover {
        transform: translateY(-10px);
    }

    .modal__content {
        width: 95%;
        margin: 1rem;
    }

    .modal__body {
        padding: 1.5rem;
    }

    .payment-form__header {
        padding: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .pricing__amount {
        font-size: 2.5rem;
    }

    .security-badges {
        justify-content: center;
        gap: 2rem;
    }

    .pricing__payment-methods {
        justify-content: center;
        gap: 0.5rem;
    }

    .pricing__payment-methods img {
        height: 20px;
    }
}

@media screen and (max-width: 480px) {
    .pricing {
        padding: 3rem 0;
    }

    .pricing__cards {
        grid-template-columns: 1fr;
    }

    .pricing__card {
        padding: 1.5rem;
    }

    .modal__header {
        padding: 1rem 1.5rem;
    }

    .modal__title {
        font-size: var(--normal-font-size);
    }
}

/* ===== PROBLEM SECTION ===== */
.problem {
    background-color: var(--light-gray);
    /* Neutral background */
}

.problem .section__title {
    color: var(--title-color);
    /* Standard title color */
}

.problem__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--mb-2);
    margin-top: var(--mb-3);
}

.problem__card {
    background: var(--white-color);
    padding: var(--mb-2);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
    /* Blue accent instead of red */
}

.problem__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.problem__icon {
    width: 60px;
    height: 60px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1);
    box-shadow: var(--shadow-light);
    color: var(--secondary-color);
}

.problem__icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.problem__card h3 {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-5);
    color: var(--title-color);
}

.problem__card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* ===== METHODOLOGY SECTION ===== */
.methodology {
    background-color: var(--light-gray);
}

.methodology__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--mb-2);
    margin-top: var(--mb-3);
}

.methodology__item {
    text-align: center;
    padding: var(--mb-2);
    position: relative;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.methodology__item:hover {
    background: var(--white-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.methodology__icon {
    width: 80px;
    height: 80px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1-5);
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--primary-color);
}

.methodology__icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.methodology__item h3 {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    color: var(--title-color);
}

.methodology__item p {
    color: var(--gray-color);
    line-height: 1.6;
}