/* A Mar Oeste Institute - CSS Styles with Solid Colors */

/* Color Palette */
:root {
    /* Core Colors - Solid only */
    --deep-blue: #003366;      /* Deep ocean blue */
    --ocean-blue: #4DA6FF;     /* Ocean light blue */
    --sun-orange: #FF9933;     /* Sunset orange */
    --off-white: #F9F9F9;      /* Off-white background */
    
    /* Semantic Colors */
    --primary: var(--deep-blue);
    --secondary: var(--ocean-blue);
    --accent: var(--sun-orange);
    --background: var(--off-white);
    --text-primary: var(--deep-blue);
    --text-secondary: #666666;
    --text-light: #999999;
    --white: #FFFFFF;
    
    /* Borders and Effects */
    --border-color: #E0E0E0;
    --shadow: 0 4px 20px rgba(0, 51, 102, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 51, 102, 0.15);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #002244;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #3399FF;
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #FF8800;
}

.btn-hero {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon img {
    width: 60px;   /* ajuste o valor conforme necessário */
    height: auto;  /* mantém a proporção */
}

.footer-logo-img {
    width: 50px;   /* pode aumentar ou diminuir */
    height: auto;
    display: block;
}

.logo-icon {
    background: transparent !important;
}

.footer-logo-img {
    background: transparent !important;
    border: none;
    box-shadow: none;
}

.logo-text h1 {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--secondary);
}

.desktop-cta {
    display: flex;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background-color: var(--white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--background);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    background-color: var(--secondary);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
}

.value-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.mission {
    background-color: rgba(77, 166, 255, 0.1);
    padding: 3rem;
    border-radius: 2rem;
    text-align: center;
}

.mission h3 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.mission p {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-style: italic;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background-color: rgba(249, 249, 249, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon {
    background-color: var(--secondary);
    padding: 0.75rem;
    border-radius: 50%;
    color: var(--white);
}

.project-emoji {
    font-size: 2.5rem;
}

.project-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.project-stats {
    background-color: rgba(0, 51, 102, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.projects-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem;
    border-radius: 2rem;
    text-align: center;
}

.projects-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.projects-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Participate Section */
.participate {
    padding: 5rem 0;
    background-color: var(--background);
}

.participate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.participate-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.participate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.participate-icon {
    background-color: var(--secondary);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.participate-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefits {
    margin: 2rem 0;
}

.benefits h4 {
    color: var(--secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.benefits ul {
    list-style: none;
}

.benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.benefits li:before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.quick-signup {
    background-color: rgba(77, 166, 255, 0.1);
    padding: 3rem;
    border-radius: 2rem;
    text-align: center;
}

.quick-signup h3 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.signup-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 2rem auto 0;
}

.signup-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.signup-form input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

/* Impact Section */
.impact {
    padding: 5rem 0;
    background-color: rgba(249, 249, 249, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    background-color: var(--secondary);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-number span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-light);
    margin-left: 0.25rem;
}

.stat-card p {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin: 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.timeline h3 {
    color: var(--accent);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-items {
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.95rem;
    top: 4rem;
    width: 2px;
    height: 3rem;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    opacity: 0.3;
}

.timeline-year {
    background-color: var(--secondary);
    color: var(--white);
    width: 60px;        /* largura fixa */
    height: 60px;       /* altura fixa */
    border-radius: 50%; /* transforma em círculo */
    font-weight: 600;
    font-size: 1rem;
    display: flex;      /* centraliza o texto */
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    flex: 1;
}

.timeline-content h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-achievement {
    background-color: rgba(77, 166, 255, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

.vision-2025 {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem;
    border-radius: 2rem;
    text-align: center;
}

.vision-2025 h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.vision-2025 p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.vision-goals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.vision-goals span {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--background);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card,
.social-media,
.visit-us {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.contact-info-card h3,
.social-media h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: var(--transition);
}

.contact-item:hover {
    background-color: rgba(77, 166, 255, 0.1);
}

.contact-icon {
    background-color: var(--secondary);
    padding: 0.75rem;
    border-radius: 50%;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.contact-item span {
    font-weight: 600;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    background-color: var(--secondary);
    color: var(--white);
    padding: 1rem;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    transform: scale(1.1);
    background-color: var(--primary);
}

.social-media p {
    font-size: 0.875rem;
    margin: 0;
}

.visit-us {
    background-color: rgba(77, 166, 255, 0.1);
    border: 1px solid var(--secondary);
}

.visit-us h4 {
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.visit-us p {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    position: relative;
}

.footer .container {
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-main {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    background-color: var(--secondary);
    color: var(--primary);
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin: 0;
}

.footer-logo p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.8;
}

.footer-main p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-contact-item i {
    color: var(--secondary);
    width: 1rem;
}

.footer-links h4,
.footer-projects h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul,
.footer-projects ul {
    list-style: none;
}

.footer-links li,
.footer-projects li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-projects a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-projects a:hover {
    color: var(--secondary);
}

.newsletter {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.newsletter h4 {
    margin-bottom: 1rem;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    outline: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-copyright p:last-child {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.25rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.75rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--secondary);
}

.footer-wave {
    height: 0.5rem;
    background: linear-gradient(to right, var(--secondary), var(--accent), var(--secondary));
    opacity: 0.6;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-hover);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    background-color: #10B981;
}

.toast.error {
    background-color: #EF4444;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav,
    .desktop-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.open {
        display: block;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .values-grid,
    .projects-grid,
    .participate-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .signup-form,
    .newsletter-form {
        flex-direction: column;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-item:not(:last-child)::after {
        display: none;
    }
    
    .timeline-year {
        align-self: flex-start;
        min-width: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .vision-goals {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .toast {
        left: 1rem;
        right: 1rem;
        top: 1rem;
    }
}