/* Responsividade */

/* Para tablets (dispositivos menores que 992px) */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-content,
    .franchise .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image,
    .franchise-image {
        height: 300px;
    }
    
    .about-text {
        text-align: center;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-logo {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links {
        justify-content: space-around;
        width: 100%;
    }
}

/* Para dispositivos móveis (dispositivos menores que 768px) */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    /* Hero h1 específico para celulares */
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 30px;
        width: auto;
        display: block;
        object-fit: contain;
    }
    
    /* Header responsivo para mobile */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        width: 100%;
    }
    
    .logo {
        flex: none;
        z-index: 1002;
    }
    
    /* Ocultar navegação desktop */
    .nav-menu ul {
        display: none;
    }
    
    /* Mostrar menu hambúrguer */
    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        background-color: rgba(72, 72, 100, 0.05);
        transition: all 0.3s ease;
        position: relative;
        top: 0;
        z-index: 1002;
        margin-left: auto;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .menu-toggle:hover {
        background-color: rgba(72, 72, 100, 0.1);
        transform: scale(1.05);
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        background-color: var(--primary-color);
        margin: 2px 0;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        transform-origin: center;
        display: block;
    }
    
    /* Animação do menu hambúrguer quando ativo */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--secondary-color);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--secondary-color);
    }
    
    /* Ocultar botões desktop */
    .desktop-only {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
    
    .hero {
        padding: 8rem 0 3rem;
    }
    
    .benefits-grid,
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        margin-bottom: 0.5rem;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .numbers-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonial-card {
        min-width: 280px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Para dispositivos muito pequenos (menores que 480px) */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    /* Hero h1 específico para celulares pequenos */
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .btn-primary, 
    .btn-secondary, 
    .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .numbers-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image,
    .about-image,
    .franchise-image {
        height: 200px;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
}

/* Menu de navegação móvel */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;
    }
    
    nav ul {
        display: none;
    }
    
    nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 100;
    }
}

/* ===== RESPONSIVIDADE COMPLETA PARA TODAS AS PLATAFORMAS ===== */

/* ===== DESKTOP GRANDE (1440px+) ===== */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    h1 {
        font-size: 4rem;
    }
    
    .hero {
        padding: 12rem 0 6rem;
    }
    
    .hero-image,
    .about-image,
    .franchise-image {
        height: 600px;
    }
}

/* ===== DESKTOP PADRÃO (1200px - 1439px) ===== */
@media screen and (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1140px;
    }
}

/* ===== LAPTOP/MACBOOK (992px - 1199px) ===== */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero .container {
        gap: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== TABLET HORIZONTAL/IPAD PRO (768px - 991px) ===== */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Header responsivo para tablet */
    header {
        padding: 1rem 1.5rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    /* Hero section para tablet */
    .hero {
        padding: 9rem 0 4rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        height: 350px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta-buttons {
        justify-content: center;
        gap: 1rem;
    }
    
    /* Seções para tablet */
    .about-content,
    .franchise .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .about-image,
    .franchise-image {
        height: 300px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        gap: 1.5rem;
    }
    
    .testimonial-card {
        min-width: 300px;
    }
    
    /* Footer para tablet */
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: space-around;
    }
}

/* ===== TABLET VERTICAL/IPAD (576px - 767px) ===== */
@media screen and (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Header melhorado para tablet vertical */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
        position: relative;
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(72, 72, 100, 0.1);
        width: 100%;
    }
    
    .logo {
        flex: none;
        z-index: 1002;
        display: flex;
        align-items: center;
    }
    
    .logo-img {
        height: 35px;
        width: auto;
        transition: var(--transition);
        display: block;
    }
    
    /* Menu hambúrguer melhorado - canto direito */
    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        background-color: rgba(72, 72, 100, 0.05);
        transition: all 0.3s ease;
        position: relative;
        top: 0;
        z-index: 1002;
        margin-left: auto;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .menu-toggle:hover {
        background-color: rgba(72, 72, 100, 0.1);
        transform: scale(1.05);
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        background-color: var(--primary-color);
        margin: 2px 0;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        transform-origin: center;
        display: block;
    }
    
    /* Animação do menu hambúrguer quando ativo */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--secondary-color);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--secondary-color);
    }
    
    /* Ocultar botão desktop */
    .desktop-only {
        display: none;
    }
    
    /* Menu mobile melhorado */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
        backdrop-filter: blur(20px);
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        padding-top: 100px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 2rem 2.5rem;
        height: auto;
        justify-content: flex-start;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .nav-menu ul li {
        margin: 0.8rem 0;
        text-align: left;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideInLeft 0.5s ease forwards;
        animation-delay: calc(var(--item-index, 0) * 0.1s);
    }
    
    .nav-menu.active ul li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu ul li a {
        font-size: 1.3rem;
        font-weight: 500;
        padding: 1.2rem 1.5rem;
        display: flex;
        align-items: center;
        border-radius: 12px;
        transition: all 0.3s ease;
        color: var(--primary-color);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(205, 69, 97, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-menu ul li a:hover::before {
        left: 100%;
    }
    
    .nav-menu ul li a:hover {
        background-color: rgba(205, 69, 97, 0.05);
        transform: translateX(10px);
        color: var(--secondary-color);
        box-shadow: 0 4px 15px rgba(205, 69, 97, 0.1);
    }
    
    /* Ícones para os links do menu */
    .nav-menu ul li a[href="#sobre"]::after {
        content: "ℹ️";
        margin-left: auto;
        font-size: 1.1rem;
    }
    
    .nav-menu ul li a[href="#beneficios"]::after {
        content: "⭐";
        margin-left: auto;
        font-size: 1.1rem;
    }
    
    .nav-menu ul li a[href="#como-funciona"]::after {
        content: "⚙️";
        margin-left: auto;
        font-size: 1.1rem;
    }
    
    .nav-menu ul li a[href="#depoimentos"]::after {
        content: "💬";
        margin-left: auto;
        font-size: 1.1rem;
    }
    
    /* Botão mobile melhorado */
    .mobile-contact {
        display: block;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(72, 72, 100, 0.1);
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.5s ease forwards;
        animation-delay: 0.6s;
    }
    
    .nav-menu.active .mobile-contact {
        opacity: 1;
        transform: translateY(0);
    }
    
    .btn-outline-mobile {
        background: linear-gradient(135deg, var(--secondary-color), #e55a75);
        color: white;
        border: none;
        padding: 1.2rem 2rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        box-shadow: 0 4px 15px rgba(205, 69, 97, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .btn-outline-mobile::before {
        content: "📞";
        font-size: 1.2rem;
    }
    
    .btn-outline-mobile::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s ease, height 0.3s ease;
    }
    
    .btn-outline-mobile:hover::after {
        width: 300px;
        height: 300px;
    }
    
    .btn-outline-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(205, 69, 97, 0.4);
    }
    
    /* Animações */
    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Definir índices para animação em cascata */
    .nav-menu ul li:nth-child(1) { --item-index: 0; }
    .nav-menu ul li:nth-child(2) { --item-index: 1; }
    .nav-menu ul li:nth-child(3) { --item-index: 2; }
    .nav-menu ul li:nth-child(4) { --item-index: 3; }
    .nav-menu ul li:nth-child(5) { --item-index: 4; }
    
    /* Hero para tablet vertical */
    .hero {
        padding: 8rem 0 3rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        height: 280px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Seções para tablet vertical */
    .benefits-grid,
    .contact-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        gap: 2rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .testimonial-card {
        min-width: 280px;
    }
}

/* ===== SMARTPHONE GRANDE/IPHONE PLUS (480px - 575px) ===== */
@media screen and (min-width: 480px) and (max-width: 575px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    /* Hero h1 específico */
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    /* Header melhorado para smartphone grande */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1.5rem;
        position: relative;
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(72, 72, 100, 0.1);
        width: 100%;
    }
    
    .logo {
        flex: none;
        z-index: 1002;
        display: flex;
        align-items: center;
    }
    
    .logo-img {
        height: 32px;
        width: auto;
        transition: var(--transition);
        display: block;
    }
    
    /* Menu hambúrguer sempre à direita */
    .menu-toggle {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        order: 3;
        margin-left: auto !important;
        flex: none;
        z-index: 1002;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        background-color: rgba(72, 72, 100, 0.05);
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        top: 0;
    }
    
    .menu-toggle:hover {
        background-color: rgba(72, 72, 100, 0.1);
        transform: scale(1.05);
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        background-color: var(--primary-color);
        margin: 2px 0;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        transform-origin: center;
        display: block;
    }
    
    /* Animação do menu hambúrguer quando ativo */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--secondary-color);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--secondary-color);
    }
    
    /* Ocultar botão desktop */
    .desktop-only {
        display: none;
    }
    
    /* Menu mobile melhorado */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
        backdrop-filter: blur(20px);
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        padding-top: 90px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        height: auto;
        justify-content: flex-start;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .nav-menu ul li {
        margin: 0.7rem 0;
        text-align: left;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideInLeft 0.5s ease forwards;
        animation-delay: calc(var(--item-index, 0) * 0.1s);
    }
    
    .nav-menu.active ul li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu ul li a {
        font-size: 1.2rem;
        font-weight: 500;
        padding: 1.1rem 1.3rem;
        display: flex;
        align-items: center;
        border-radius: 10px;
        transition: all 0.3s ease;
        color: var(--primary-color);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(205, 69, 97, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-menu ul li a:hover::before {
        left: 100%;
    }
    
    .nav-menu ul li a:hover {
        background-color: rgba(205, 69, 97, 0.05);
        transform: translateX(8px);
        color: var(--secondary-color);
        box-shadow: 0 4px 15px rgba(205, 69, 97, 0.1);
    }
    
    /* Ícones para os links do menu */
    .nav-menu ul li a[href="#sobre"]::after {
        content: "ℹ️";
        margin-left: auto;
        font-size: 1rem;
    }
    
    .nav-menu ul li a[href="#beneficios"]::after {
        content: "⭐";
        margin-left: auto;
        font-size: 1rem;
    }
    
    .nav-menu ul li a[href="#como-funciona"]::after {
        content: "⚙️";
        margin-left: auto;
        font-size: 1rem;
    }
    
    .nav-menu ul li a[href="#depoimentos"]::after {
        content: "💬";
        margin-left: auto;
        font-size: 1rem;
    }
    
    /* Botão mobile melhorado */
    .mobile-contact {
        display: block;
        margin-top: 1.8rem;
        padding-top: 1.8rem;
        border-top: 1px solid rgba(72, 72, 100, 0.1);
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.5s ease forwards;
        animation-delay: 0.6s;
    }
    
    .nav-menu.active .mobile-contact {
        opacity: 1;
        transform: translateY(0);
    }
    
    .btn-outline-mobile {
        background: linear-gradient(135deg, var(--secondary-color), #e55a75);
        color: white;
        border: none;
        padding: 1.1rem 1.8rem;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        box-shadow: 0 4px 15px rgba(205, 69, 97, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .btn-outline-mobile::before {
        content: "📞";
        font-size: 1.1rem;
    }
    
    .btn-outline-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(205, 69, 97, 0.4);
    }
    
    /* Hero para smartphone grande */
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-image,
    .about-image,
    .franchise-image {
        height: 220px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Seções para smartphone grande */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .benefit-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .number-value {
        font-size: 3rem;
    }
    
    .testimonial-card {
        min-width: 260px;
        padding: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== SMARTPHONE PADRÃO/IPHONE (375px - 479px) ===== */
@media screen and (min-width: 375px) and (max-width: 479px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    /* Hero h1 específico */
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.05rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    /* Header melhorado para smartphone padrão */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1.2rem;
        position: relative;
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(72, 72, 100, 0.1);
        width: 100%;
    }
    
    .logo {
        flex: none;
        z-index: 1002;
        display: flex;
        align-items: center;
    }
    
    .logo-img {
        height: 30px;
        width: auto;
        transition: var(--transition);
        display: block;
    }
    
    /* Menu hambúrguer sempre à direita */
    .menu-toggle {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        order: 3;
        margin-left: auto !important;
        flex: none;
        z-index: 1002;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        background-color: rgba(72, 72, 100, 0.05);
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        top: 0;
    }
    
    .menu-toggle:hover {
        background-color: rgba(72, 72, 100, 0.1);
        transform: scale(1.05);
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        background-color: var(--primary-color);
        margin: 2px 0;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        transform-origin: center;
        display: block;
    }
    
    /* Animação do menu hambúrguer quando ativo */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--secondary-color);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--secondary-color);
    }
    
    /* Ocultar botão desktop */
    .desktop-only {
        display: none;
    }
    
    /* Menu mobile melhorado */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
        backdrop-filter: blur(20px);
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        padding-top: 85px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1.8rem;
        height: auto;
        justify-content: flex-start;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .nav-menu ul li {
        margin: 0.6rem 0;
        text-align: left;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideInLeft 0.5s ease forwards;
        animation-delay: calc(var(--item-index, 0) * 0.1s);
    }
    
    .nav-menu.active ul li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu ul li a {
        font-size: 1.1rem;
        font-weight: 500;
        padding: 1rem 1.2rem;
        display: flex;
        align-items: center;
        border-radius: 10px;
        transition: all 0.3s ease;
        color: var(--primary-color);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(205, 69, 97, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-menu ul li a:hover::before {
        left: 100%;
    }
    
    .nav-menu ul li a:hover {
        background-color: rgba(205, 69, 97, 0.05);
        transform: translateX(6px);
        color: var(--secondary-color);
        box-shadow: 0 4px 15px rgba(205, 69, 97, 0.1);
    }
    
    /* Ícones para os links do menu */
    .nav-menu ul li a[href="#sobre"]::after {
        content: "ℹ️";
        margin-left: auto;
        font-size: 0.95rem;
    }
    
    .nav-menu ul li a[href="#beneficios"]::after {
        content: "⭐";
        margin-left: auto;
        font-size: 0.95rem;
    }
    
    .nav-menu ul li a[href="#como-funciona"]::after {
        content: "⚙️";
        margin-left: auto;
        font-size: 0.95rem;
    }
    
    .nav-menu ul li a[href="#depoimentos"]::after {
        content: "💬";
        margin-left: auto;
        font-size: 0.95rem;
    }
    
    /* Botão mobile melhorado */
    .mobile-contact {
        display: block;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(72, 72, 100, 0.1);
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.5s ease forwards;
        animation-delay: 0.6s;
    }
    
    .nav-menu.active .mobile-contact {
        opacity: 1;
        transform: translateY(0);
    }
    
    .btn-outline-mobile {
        background: linear-gradient(135deg, var(--secondary-color), #e55a75);
        color: white;
        border: none;
        padding: 1rem 1.5rem;
        border-radius: 10px;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        box-shadow: 0 4px 15px rgba(205, 69, 97, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .btn-outline-mobile::before {
        content: "📞";
        font-size: 1rem;
    }
    
    .btn-outline-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(205, 69, 97, 0.4);
    }
    
    /* Hero para smartphone padrão */
    .hero {
        padding: 6rem 0 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-image,
    .about-image,
    .franchise-image {
        height: 200px;
    }
    
    /* Ajustes gerais para smartphone padrão */
    .benefit-card,
    .contact-card,
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .benefit-icon {
        font-size: 2rem;
    }
    
    .step-number {
        font-size: 1.5rem;
        min-width: 50px;
        height: 50px;
    }
    
    .number-value {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        min-width: 240px;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2::after {
        width: 30px;
    }
}

/* ===== SMARTPHONE PEQUENO (320px - 374px) ===== */
@media screen and (max-width: 374px) {
    .container {
        padding: 0 10px;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    /* Hero h1 específico */
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    /* Header melhorado para smartphone pequeno */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 1rem;
        position: relative;
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(72, 72, 100, 0.1);
        width: 100%;
    }
    
    .logo {
        flex: none;
        z-index: 1002;
        display: flex;
        align-items: center;
    }
    
    .logo-img {
        height: 28px;
        width: auto;
        transition: var(--transition);
        display: block;
    }
    
    /* Menu hambúrguer sempre à direita */
    .menu-toggle {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        order: 3;
        margin-left: auto !important;
        flex: none;
        z-index: 1002;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        background-color: rgba(72, 72, 100, 0.05);
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        top: 0;
    }
    
    .menu-toggle:hover {
        background-color: rgba(72, 72, 100, 0.1);
        transform: scale(1.05);
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        background-color: var(--primary-color);
        margin: 2px 0;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        transform-origin: center;
        display: block;
    }
    
    /* Animação do menu hambúrguer quando ativo */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--secondary-color);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--secondary-color);
    }
    
    /* Ocultar botão desktop */
    .desktop-only {
        display: none;
    }
    
    /* Menu mobile melhorado */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
        backdrop-filter: blur(20px);
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        padding-top: 80px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        height: auto;
        justify-content: flex-start;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .nav-menu ul li {
        margin: 0.5rem 0;
        text-align: left;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideInLeft 0.5s ease forwards;
        animation-delay: calc(var(--item-index, 0) * 0.1s);
    }
    
    .nav-menu.active ul li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu ul li a {
        font-size: 1rem;
        font-weight: 500;
        padding: 0.9rem 1rem;
        display: flex;
        align-items: center;
        border-radius: 8px;
        transition: all 0.3s ease;
        color: var(--primary-color);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(205, 69, 97, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-menu ul li a:hover::before {
        left: 100%;
    }
    
    .nav-menu ul li a:hover {
        background-color: rgba(205, 69, 97, 0.05);
        transform: translateX(5px);
        color: var(--secondary-color);
        box-shadow: 0 4px 15px rgba(205, 69, 97, 0.1);
    }
    
    /* Ícones para os links do menu */
    .nav-menu ul li a[href="#sobre"]::after {
        content: "ℹ️";
        margin-left: auto;
        font-size: 0.9rem;
    }
    
    .nav-menu ul li a[href="#beneficios"]::after {
        content: "⭐";
        margin-left: auto;
        font-size: 0.9rem;
    }
    
    .nav-menu ul li a[href="#como-funciona"]::after {
        content: "⚙️";
        margin-left: auto;
        font-size: 0.9rem;
    }
    
    .nav-menu ul li a[href="#depoimentos"]::after {
        content: "💬";
        margin-left: auto;
        font-size: 0.9rem;
    }
    
    /* Botão mobile melhorado */
    .mobile-contact {
        display: block;
        margin-top: 1.2rem;
        padding-top: 1.2rem;
        border-top: 1px solid rgba(72, 72, 100, 0.1);
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.5s ease forwards;
        animation-delay: 0.6s;
    }
    
    .nav-menu.active .mobile-contact {
        opacity: 1;
        transform: translateY(0);
    }
    
    .btn-outline-mobile {
        background: linear-gradient(135deg, var(--secondary-color), #e55a75);
        color: white;
        border: none;
        padding: 0.9rem 1.3rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
        box-shadow: 0 4px 15px rgba(205, 69, 97, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .btn-outline-mobile::before {
        content: "📞";
        font-size: 0.95rem;
    }
    
    .btn-outline-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(205, 69, 97, 0.4);
    }
    
    /* Hero para smartphone pequeno */
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .hero-image,
    .about-image,
    .franchise-image {
        height: 180px;
    }
    
    /* Botões para smartphone pequeno */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Ajustes gerais para smartphone pequeno */
    .benefit-card,
    .contact-card,
    .testimonial-card {
        padding: 1rem;
    }
    
    .benefit-icon {
        font-size: 1.8rem;
    }
    
    .step-number {
        font-size: 1.3rem;
        min-width: 45px;
        height: 45px;
    }
    
    .number-value {
        font-size: 2.2rem;
    }
    
    .testimonial-card {
        min-width: 220px;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2::after {
        width: 30px;
    }
}

/* ===== ORIENTAÇÃO LANDSCAPE PARA SMARTPHONES ===== */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .hero-image {
        height: 150px;
    }
    
    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        flex: 1;
        min-width: 140px;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .number-value {
        font-size: 2rem;
    }
}

/* ===== MELHORIAS GERAIS DE PERFORMANCE ===== */
@media screen and (max-width: 768px) {
    /* Otimizar imagens em dispositivos móveis */
    .hero-image,
    .about-image,
    .franchise-image {
        background-attachment: scroll; /* Melhor performance em mobile */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        /* Garantir que as imagens apareçam */
        min-height: 200px;
    }
    
    /* Melhorar toque em dispositivos móveis */
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-text {
        min-height: 44px; /* Tamanho mínimo recomendado para toque */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Espaçamento otimizado para toque */
    nav ul li {
        margin: 0.5rem 0;
    }
    
    /* Scroll suave em dispositivos móveis */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== SUPORTE A DISPOSITIVOS DE ALTA DENSIDADE (RETINA) ===== */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== MODO ESCURO (DARK MODE) - DESABILITADO ===== */
/*
@media (prefers-color-scheme: dark) {
    :root {
        --background: #1a1a1a;
        --light-background: #2d2d2d;
        --text-color: #ffffff;
        --light-text: #cccccc;
        --border-color: #404040;
        --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }
}
*/

/* ===== REDUÇÃO DE MOVIMENTO PARA ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== REGRAS GERAIS PARA NAVBAR MOBILE ===== */
@media screen and (max-width: 768px) {
    /* Garantir que o header tenha layout flexbox correto */
    header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-direction: row !important;
        padding: 1rem 1.5rem !important;
        width: 100% !important;
        position: fixed;
        top: 0;
        z-index: 1000;
        background-color: var(--background);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    /* Logo sempre à esquerda */
    .logo {
        flex: none !important;
        order: 1;
        z-index: 1002;
        display: flex;
        align-items: center;
    }
    
    .logo-img {
        height: 30px;
        width: auto;
        display: block !important;
        object-fit: contain;
    }
    
    /* Menu hambúrguer sempre à direita */
    .menu-toggle {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        order: 3;
        margin-left: auto !important;
        flex: none;
        z-index: 1002;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        background-color: rgba(72, 72, 100, 0.05);
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        top: 0;
    }
    
    .menu-toggle:hover {
        background-color: rgba(72, 72, 100, 0.1);
        transform: scale(1.05);
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        background-color: var(--primary-color);
        margin: 2px 0;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        transform-origin: center;
        display: block;
    }
    
    /* Animação do menu hambúrguer quando ativo */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--secondary-color);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--secondary-color);
    }
    
    /* Ocultar elementos desktop */
    .nav-menu ul {
        display: none;
    }
    
    .desktop-only,
    .header-buttons {
        display: none !important;
    }
    
    /* Quando menu está ativo, mostrar navegação */
    .nav-menu.active ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
        backdrop-filter: blur(20px);
        padding-top: 100px;
        padding-left: 2rem;
        padding-right: 2rem;
        z-index: 1000;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    }
} 