/* src/css/sobre.css */

:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --secondary-color: #3498db;
    --dark-color: #2c3e50;
    --text-color: #34495e;
    --text-light: #7f8c8d;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

/* --- Nova Navbar (estilo do index.php) --- */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
}

.logo h1 {
    font-size: 1.5rem;
    color: #4CAF50;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 1.6;
    margin-top: 4px;
}

.logo h2 {
    font-size: 1.1rem;
    color: #2E7D32;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: -10px;
    line-height: 1.3;
}

.logo img {
    height: 60px;
    padding-right: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: #212121;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.nav-link.active {
    color: #4CAF50; /* Cor do index.css */
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #4CAF50; /* Cor do index.css */
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.login-button {
    background-color: #4CAF50; /* Cor do index.css */
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    margin-left: 15px;
}

.nav-link.login-button:hover {
    background-color: #388E3C; /* Cor do index.css */
    color: var(--white);
}

.nav-link.exit-button {
    background-color: rgb(230, 30, 30);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    margin-left: 15px;
}

.nav-link.exit-button:hover {
    background-color: rgb(200, 30, 30);
    color: var(--white);
}

/* Remover sublinhado do botão login */
.nav-link.no-underline::after {
    display: none;
}

/* Menu Hamburguer (adicionado do index.css) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Container Principal */
.container {
    padding-top: 120px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    min-height: calc(100vh - 120px);
    padding-bottom: 60px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h2 {
    color: var(--dark-color);
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Conteúdo Sobre */
.about-content {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    min-height: 400px;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-text {
    flex: 1;
    padding: 40px;
    z-index: 2;
    position: relative;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Seções Gerais */
.story-section,
.services-section,
.features-section {
    padding: 50px 40px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.section-header h3 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

/* Nossa História */
.story-content p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.story-content strong {
    color: var(--primary-color);
}

/* Missão, Visão e Valores */
.mvw-section {
    background: var(--light-gray);
    padding: 50px 40px;
}

.mvw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mvw-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.mvw-card:hover {
    transform: translateY(-5px);
}

.mvw-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mvw-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mvw-card h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.mvw-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.mvw-card ul {
    text-align: left;
    margin: 0;
    padding-left: 0;
}

.mvw-card li {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 8px;
    list-style: none;
    padding-left: 20px;
    position: relative;
}

.mvw-card li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.mvw-card strong {
    color: var(--dark-color);
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-card h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Diferenciais */
.features-list {
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.feature-text h5 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-text p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-color), #34495e);
    color: var(--white);
    padding: 60px 40px;
    text-align: center;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--radius);
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    position: absolute;
    right: 20px;
    top: 15px;
}

.modal-close:hover {
    color: var(--dark-color);
}

.modal-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.5rem;
}

.modal-content p {
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.modal-content .btn {
    margin-top: 10px;
    width: 100%;
}

.modal-content a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.modal-content a:hover {
    text-decoration: underline;
}

/* Responsividade - Menu Hamburguer */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 16px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
        width: 100%;
    }
    
    .nav-link.login-button,
    .nav-link.exit-button {
        margin: 10px auto;
        width: 80%;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-top: 100px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 40px;
    }
    
    .hero-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-image {
        height: 250px;
        width: 500px;
    }
    
    .hero-image img {
        max-width: 200px;
        max-height: 200px;
    }
    
    .hero-text {
        padding: 30px 25px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .story-section,
    .services-section,
    .features-section,
    .mvw-section,
    .cta-section {
        padding: 40px 25px;
    }
    
    .section-header h3 {
        font-size: 1.5rem;
    }
    
    .mvw-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .page-header{
        padding-top: 120px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .story-section,
    .services-section,
    .features-section,
    .mvw-section,
    .cta-section {
        padding: 30px 20px;
    }

    .features-item{
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .mvw-card,
    .service-card {
        padding: 20px;
    }
    
    .cta-content h3 {
        font-size: 1.6rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}