:root {
    --primary-blue: #006EAA; /* Azul Atlântico */
    --secondary-blue: #243574; /* Azul Cobalto */
    --accent-blue: #63C1D0; /* Azul Esmeralda */
    --gray-urban: #7B7C7E; /* Cinza Urbano */
    --white: #FFFFFF;
    --black: #1A1A1A;
    --bg-light: #F8F9FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 110, 170, 0.7), rgba(36, 53, 116, 0.8)), url('https://fei.edu.br/sites/manualdamarca1/images/capela1.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 8rem 10%;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent-blue);
    margin: 15px auto;
}

.content-grid {
    max-width: 1100px;
    margin: 0 auto;
}

.leadership-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    padding: 3rem;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
    border-left: 8px solid var(--primary-blue);
}

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

.leadership-info img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid var(--bg-light);
}

.leadership-info h3 {
    color: var(--secondary-blue);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.leadership-info p {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.leadership-text blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary-blue);
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent-blue);
    line-height: 1.4;
}

.leadership-text p {
    margin-bottom: 1rem;
    color: var(--gray-urban);
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .leadership-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .leadership-info img {
        width: 150px;
        height: 150px;
    }
}

.text-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--gray-urban);
}

.timeline-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4rem 0;
    cursor: grab;
    scrollbar-width: none;
}
.timeline-container::-webkit-scrollbar { display: none; }

.timeline-track {
    display: flex;
    flex-direction: row;          /* ← FORÇA HORIZONTAL */
    gap: 2.5rem;
    padding: 0 80px;
    min-width: max-content;       /* ← não comprime */
    position: relative;
    align-items: center;
    height: 460px;
}

/* Linha reta no topo */
.timeline-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gray-urban);
    opacity: 0.3;
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: 440px;                 /* ← mais largo para texto */
    flex-shrink: 0;               /* ← IMPÕE HORIZONTAL (não quebra linha) */
    z-index: 2;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--primary-blue);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0,110,170,0.15);
    z-index: 3;
    transition: all 0.3s;
}
.timeline-item:hover .timeline-dot {
    transform: translate(-50%, -50%) scale(1.6);
    box-shadow: 0 0 16px rgba(99,193,208,0.5);
}

.timeline-content {
    margin-top: 38px;
    background: var(--white);
    padding: 1.6rem 1.8rem;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-top: 3px solid var(--primary-blue);
    opacity: 0.85;
    transition: all 0.3s;
}
.timeline-item:hover .timeline-content {
    opacity: 1;
    transform: translateY(-3px);
    border-top-color: var(--accent-blue);
}

.timeline-content img {
    width: 100%;
    max-width: 130px;
    height: 85px;
    object-fit: contain;
    margin: 0 auto 0.9rem;
    display: block;
}

.timeline-year {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--secondary-blue);
    margin-bottom: 0.7rem;
}

.timeline-content p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--gray-urban);
    text-align: left;
    margin: 0;
}

/* Manifesto */
.manifesto-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.video-placeholder {
    margin-top: 3rem;
    background: #000000;
    padding: 4rem;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn {
    background: var(--white);
    color: var(--secondary-blue);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.play-btn:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--secondary-blue);
    color: var(--white);
    padding: 5rem 10%;
    text-align: center;
}

.footer-content h4 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--accent-blue);
    transform: translateY(-5px);
}

.bg-light {
    background-color: var(--bg-light);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    section {
        padding: 5rem 5%;
    }
}

/* Brandbook Styles */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.brand-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

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

.brand-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.color-swatch {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.color-preview {
    height: 120px;
    width: 100%;
}

.color-info {
    padding: 1rem;
    background: var(--white);
    text-align: center;
}

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

.copy-btn {
    background: var(--bg-light);
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: monospace;
    font-size: 0.9rem;
    transition: all 0.2s;
    width: 100%;
}

.copy-btn:hover {
    background: var(--accent-blue);
    color: var(--white);
    border-color: var(--accent-blue);
}

.copy-btn.copied {
    background: #28a745;
    color: var(--white);
    border-color: #28a745;
}

.typography-sample {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    margin-top: 1rem;
}

.font-poppins { font-family: 'Poppins', sans-serif; }

.sample-h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.sample-h2 { font-size: 2rem; font-weight: 600; margin-bottom: 1rem; }
.sample-p { font-size: 1rem; line-height: 1.6; }

.btn-brandbook {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 2rem;
    transition: background 0.3s;
}

.btn-brandbook:hover {
    background: var(--secondary-blue);
}

/* Incorrect Usage Styles */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.usage-card {
    background: #fff1f1;
    border: 1px solid #ffcccc;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.usage-card i {
    color: #dc3545;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.usage-card h5 {
    color: #842029;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.usage-card p {
    font-size: 0.85rem;
    color: #842029;
}

.usage-img-placeholder {
    width: 100%;
    height: 120px;
    background: #f8d7da;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.usage-img-placeholder::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(220, 53, 69, 0.5);
    transform: rotate(45deg);
}

.usage-img-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(220, 53, 69, 0.5);
    transform: rotate(-45deg);
}
