/* Estilos específicos da página de franquia */

/* Variáveis específicas da franquia */
:root {
    --franchise-primary: #CA3250;
    --franchise-secondary: #B02A45;
    --franchise-accent: #E91E63;
    --franchise-gradient: linear-gradient(135deg, #CA3250 0%, #B02A45 100%);
}

/* Hero Franquia */
.franchise-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #fef7f7 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.franchise-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(202, 50, 80, 0.05) 0%, rgba(176, 42, 69, 0.05) 100%);
    pointer-events: none;
}

.franchise-hero-content {
    position: relative;
    z-index: 1;
}

.franchise-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--franchise-gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(202, 50, 80, 0.3);
}

.franchise-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.franchise-hero-description {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.franchise-hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.franchise-stat {
    text-align: center;
}

.franchise-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--franchise-primary);
    display: block;
    line-height: 1;
}

.franchise-stat .stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 4px;
}

.franchise-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-franchise {
    background: var(--franchise-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(202, 50, 80, 0.3);
}

.btn-franchise:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(202, 50, 80, 0.4);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Por que Investir */
.why-invest {
    padding: 80px 0;
    background: var(--bg-white);
}

.invest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

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

.invest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--franchise-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.invest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(202, 50, 80, 0.15);
    border-color: var(--franchise-primary);
}

.invest-card:hover::before {
    transform: scaleX(1);
}

.invest-icon {
    width: 80px;
    height: 80px;
    background: var(--franchise-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.invest-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.invest-card:hover .invest-icon::before {
    opacity: 1;
    animation: shine 0.6s ease;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.invest-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.invest-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.invest-highlight {
    background: rgba(202, 50, 80, 0.1);
    color: var(--franchise-primary);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* Modelo de Negócio */
.business-model {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.business-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--franchise-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.business-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.business-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.business-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.business-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-number {
    width: 50px;
    height: 50px;
    background: var(--franchise-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.business-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(202, 50, 80, 0.1);
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--franchise-gradient);
}

.business-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.business-logo {
    width: 80px;
    height: 80px;
    background: var(--franchise-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(202, 50, 80, 0.3);
}

.business-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.business-card-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.business-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(202, 50, 80, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-value {
    color: var(--franchise-primary);
    font-weight: 600;
    font-size: 1rem;
}

.business-cta {
    text-align: center;
}

/* Contato Franquia */
.franchise-contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.franchise-contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Benefícios em Cards */
.contact-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(202, 50, 80, 0.15);
    border-color: var(--franchise-primary);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--franchise-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Formulário Principal */
.main-contact-form {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-container {
    padding: 3rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-icon {
    width: 80px;
    height: 80px;
    background: var(--franchise-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(202, 50, 80, 0.3);
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

.btn-submit-franchise {
    background: var(--franchise-gradient);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 1.5rem;
    width: 100%;
    box-shadow: 0 10px 30px rgba(202, 50, 80, 0.3);
}

.btn-submit-franchise:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(202, 50, 80, 0.4);
}

/* Contatos Diretos */
.direct-contact {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-method {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-method:hover {
    background: white;
    border-color: var(--franchise-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(202, 50, 80, 0.1);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--franchise-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.method-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.method-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    word-break: break-word;
}

.method-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--franchise-gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(202, 50, 80, 0.4);
}

/* Responsividade */
@media (max-width: 768px) {
    .contact-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .direct-contact {
        padding: 2rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.form-group label {
    position: relative;
    display: block;
}

.form-group label i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--franchise-primary);
    font-size: 1.1rem;
    z-index: 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 16px 16px 55px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--franchise-primary);
    box-shadow: 0 0 0 3px rgba(202, 50, 80, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--franchise-gradient);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(202, 50, 80, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(202, 50, 80, 0.4);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover .btn-shine {
    left: 100%;
}

/* Footer específico da franquia */
.footer-franchise {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-franchise h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.footer-franchise h4 i {
    color: var(--franchise-primary);
}

.franchise-info p {
    color: #9CA3AF;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-franchise-btn {
    background: var(--franchise-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.footer-franchise-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(202, 50, 80, 0.4);
}

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

.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.footer-contact h4 i {
    color: var(--franchise-primary);
}

.footer-contact .contact-item p {
    color: #9CA3AF;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--franchise-primary);
}

/* Responsividade */
@media (max-width: 1024px) {
    .franchise-hero-title {
        font-size: 3rem;
    }
    
    .business-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .invest-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .franchise-hero {
        padding: 140px 0 60px;
    }
    
    .franchise-hero-title {
        font-size: 2.5rem;
    }
    
    .franchise-hero-stats {
        gap: 2rem;
    }
    
    .franchise-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .invest-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .business-text h2,
    .contact-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .franchise-hero-title {
        font-size: 2rem;
    }
    
    .franchise-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .franchise-stat .stat-number {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .invest-card {
        padding: 1.5rem;
    }
    
    .business-card,
    .contact-form-container {
        padding: 1.5rem;
    }
}