/* Página Sobre Nós - Amor e Fogão */

/* Hero Section */
.sobre-hero {
    background: linear-gradient(135deg, var(--af-color-secundary) 0%, #ffffff 100%);
    padding: 4rem 0;
    margin-bottom: var(--component-spacing);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.sobre-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e25965" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23e25965" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23e25965" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23e25965" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23e25965" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.sobre-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding: 2%;
}

.sobre-hero-text {
    flex: 1;
    max-width: 600px;
}

.sobre-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--af-color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.sobre-hero-subtitle {
    font-size: 1.2rem;
    color: var(--af-color-quinternary);
    line-height: 1.6;
    margin-bottom: 0;
}

.sobre-hero-image {
    flex-shrink: 0;
    margin-left: 2rem;
}

.hero-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: white;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

/* Seções Gerais */
.sobre-section {
    padding: 4rem 0;
    position: relative;
}

.sobre-section.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.sobre-content {
    padding: 2rem 0;
}

.sobre-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--af-color-primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.sobre-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--af-color-primary);
    border-radius: 2px;
}

.sobre-subtitle {
    font-size: 1.1rem;
    color: var(--af-color-quinternary);
    margin-bottom: 3rem;
}

.sobre-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--af-color-quinternary);
    margin-bottom: 1.5rem;
}

/* Imagens */
.sobre-image {
    text-align: center;
}

.image-card {
    position: relative;
    display: inline-block;
}

.rounded-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rounded-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Valores da Missão */
.missao-valores {
    margin-top: 2rem;
}

.valor-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.valor-item:hover {
    transform: translateX(10px);
}

.valor-item i {
    font-size: 1.5rem;
    color: var(--af-color-primary);
    margin-right: 1rem;
    flex-shrink: 0;
}

.valor-item span {
    font-weight: 600;
    color: var(--af-color-quinternary);
}

/* Cards de Valores */
.valor-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.valor-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--af-color-primary), var(--af-color-tertiary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.valor-card:hover .valor-icon {
    transform: scale(1.1);
}

.valor-icon i {
    font-size: 2rem;
    color: white;
}

.valor-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--af-color-primary);
    margin-bottom: 1rem;
}

.valor-card p {
    color: var(--af-color-quinternary);
    line-height: 1.6;
    margin: 0;
}

/* Cards de Números */
.numero-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.numero-card:hover {
    transform: translateY(-5px);
}

.numero-icon {
    width: 60px;
    height: 60px;
    background: var(--af-color-secundary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.numero-icon i {
    font-size: 1.5rem;
    color: var(--af-color-primary);
}

.numero-valor {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--af-color-primary);
    margin-bottom: 0.5rem;
}

.numero-label {
    font-size: 1rem;
    color: var(--af-color-quinternary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards da Equipe */
.equipe-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.equipe-card:hover {
    transform: translateY(-5px);
}

.equipe-avatar {
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.equipe-avatar i {
    font-size: 4rem;
    color: var(--af-color-primary);
}

.equipe-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--af-color-primary);
    margin-bottom: 0.5rem;
}

.equipe-cargo {
    font-size: 1rem;
    color: var(--af-color-tertiary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.equipe-descricao {
    color: var(--af-color-quinternary);
    line-height: 1.6;
    margin: 0;
}

/* Seção de Contato */
.contato-info {
    margin-top: 2rem;
}

.contato-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.contato-item:hover {
    transform: translateX(10px);
}

.contato-item i {
    font-size: 1.5rem;
    color: var(--af-color-primary);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contato-item strong {
    color: var(--af-color-quinternary);
    display: block;
    margin-bottom: 0.25rem;
}

.contato-item a {
    color: var(--af-color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contato-item a:hover {
    color: var(--af-color-tertiary);
}

/* Formulário de Contato */
.contato-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contato-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--af-color-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contato-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contato-form .form-control:focus {
    border-color: var(--af-color-primary);
    box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.25);
    outline: none;
}

.contato-form .btn-primary {
    background: var(--af-color-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

 .contato-form .btn-primary:hover {
     background: var(--af-color-tertiary);
     transform: translateY(-2px);
     box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
 }
 
 /* Estados do formulário */
 .contato-form .form-control.is-valid {
     border-color: #198754;
     box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
 }
 
 .contato-form .form-control.is-invalid {
     border-color: #dc3545;
     box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
 }
 
 .contato-form .invalid-feedback {
     display: block;
     color: #dc3545;
     font-size: 0.875rem;
     margin-top: 0.25rem;
 }
 
 /* Alertas personalizados */
 .contato-form .alert {
     border: none;
     border-radius: 12px;
     padding: 1rem 1.25rem;
     margin-top: 1.5rem;
     animation: slideInDown 0.3s ease-out;
 }
 
 .contato-form .alert-success {
     background: linear-gradient(135deg, #d1e7dd 0%, #c3e6cb 100%);
     color: #0f5132;
     border-left: 4px solid #198754;
 }
 
 .contato-form .alert-danger {
     background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
     color: #721c24;
     border-left: 4px solid #dc3545;
 }
 
 /* Botão com loading */
 .contato-form .btn-primary:disabled {
     opacity: 0.7;
     cursor: not-allowed;
     transform: none !important;
 }
 
 .contato-form .btn-loading {
     display: inline-flex;
     align-items: center;
 }
 
 /* Animação para alertas */
 @keyframes slideInDown {
     from {
         opacity: 0;
         transform: translateY(-20px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

/* Responsividade */
@media (max-width: 768px) {
    .sobre-hero {
        padding: 2rem 0;
    }
    
    .sobre-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .sobre-hero-title {
        font-size: 2rem;
    }
    
    .sobre-hero-subtitle {
        font-size: 1rem;
    }
    
    .sobre-hero-image {
        margin-left: 0;
        margin-top: 2rem;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .sobre-section {
        padding: 2rem 0;
    }
    
    .sobre-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .sobre-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .sobre-subtitle {
        text-align: center;
    }
    
    .sobre-content {
        padding: 1rem 0;
        text-align: center;
    }
    
    .sobre-text {
        font-size: 1rem;
    }
    
    .rounded-image {
        height: 250px;
    }
    
    .valor-card {
        padding: 1.5rem;
    }
    
    .numero-card {
        padding: 1.5rem;
    }
    
    .numero-valor {
        font-size: 2rem;
    }
    
    .equipe-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .equipe-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contato-form {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .sobre-hero-title {
        font-size: 1.8rem;
    }
    
    .sobre-title {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .rounded-image {
        height: 200px;
    }
    
    .valor-card {
        padding: 1rem;
    }
    
    .numero-card {
        padding: 1rem;
    }
    
    .equipe-card {
        padding: 1rem;
    }
    
    .contato-form {
        padding: 1rem;
    }
}

/* Animações */
.sobre-hero {
    animation: fadeInUp 0.8s ease-out;
}

.valor-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.valor-card:nth-child(1) { animation-delay: 0.1s; }
.valor-card:nth-child(2) { animation-delay: 0.2s; }
.valor-card:nth-child(3) { animation-delay: 0.3s; }
.valor-card:nth-child(4) { animation-delay: 0.4s; }
.valor-card:nth-child(5) { animation-delay: 0.5s; }
.valor-card:nth-child(6) { animation-delay: 0.6s; }

.numero-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.numero-card:nth-child(1) { animation-delay: 0.1s; }
.numero-card:nth-child(2) { animation-delay: 0.2s; }
.numero-card:nth-child(3) { animation-delay: 0.3s; }
.numero-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
