/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e67e22;
    --primary-dark: #d35400;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegação */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

/* Logo e Link */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
}

.logo-link h1 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0;
}

.logo-link span {
    color: var(--primary-color);
}

/* Menu de Navegação */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 60px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 600;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Seções Gerais */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* Highlights */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.btn-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.btn-link i {
    transition: var(--transition);
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    margin-top: 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Sobre Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Missão, Visão, Valores */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mvv-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.mvv-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mvv-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
}

.team-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Projetos Full Grid */
.projects-full-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-full-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.project-full-card.reverse {
    direction: rtl;
}

.project-full-card.reverse .project-full-content {
    direction: ltr;
}

.project-full-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.project-full-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.project-full-content p {
    margin-bottom: 0.5rem;
}

/* Contato Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h2,
.contact-form h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h3 {
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

/* Formulário */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-status {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.map-container {
    margin-top: 3rem;
}

.map-container h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-contact h4,
.footer-social h4 {
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .about-grid,
    .contact-grid,
    .project-full-card {
        grid-template-columns: 1fr;
    }

    .project-full-card.reverse {
        direction: ltr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

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

    .logo-link {
        gap: 8px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-link h1 {
        font-size: 1.2rem;
    }

    .footer-logo {
        width: 50px;
        height: 50px;
    }
}

/* Logo Responsivo com Múltiplas Versões */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Logo padrão para desktop */
.logo-img {
    width: 180px;
    height: auto;
    object-fit: contain;
}

/* Logo no footer - versão branca */
.footer-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Responsividade: ajuste para mobile */
@media (max-width: 768px) {
    .logo-img {
        width: 140px;
    }
    
    .footer-logo {
        width: 160px;
    }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .logo-img {
        width: 120px;
    }
    
    .logo-link h1 {
        display: none; /* Esconde o texto em telas muito pequenas, se preferir */
    }
}

@media (max-width: 768px) {
    .logo-img {
        content: url('imagens/logo/TAMOYO - LOGO VERT.png');
        width: 50px;
        height: auto;
    }
}