@import url("https://use.typekit.net/fep2zsu.css");
@import url("https://use.typekit.net/ste4qbf.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ec620a; /* Laranja vibrante principal do ecossistema */
    font-family: sans-serif;
    overflow-x: hidden;
    color: #f2ddc8;
}

/* Menu Lateral (Off-screen menu) */
.off-screen-menu {
    font-family: "miller-banner", serif;
    font-weight: 800;
    background-color: #ec620a;
    height: 100%;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2.5rem;
    transition: 0.3s ease;
    z-index: 98;
}
.off-screen-menu.active {
    right: 0;
}
.off-screen-menu.active a {
    color: #501913;
}

/* Nav Superior */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: rgba(79, 24, 18, 0.6);
    height: 80px;
    width: 100%;
    z-index: 99;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
}

#main-nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-znc {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-znc img {
    display: block;
    height: auto;
}

/* Menu Hambúrguer */
.ham-menu {
    margin-right: auto;
    display: flex;
    justify-content: flex-start;
    position: relative;
    width: 40px;
    height: 30px;
    padding: 0 20px;
    cursor: pointer;
}
.ham-menu span {
    height: 4px;
    width: 80%;
    background-color: #ff5c00;
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s ease;
}
.ham-menu span:nth-child(1) { top: 25%; }
.ham-menu span:nth-child(3) { top: 75%; }
.ham-menu.active span { background-color: white; }
.ham-menu.active span:nth-child(1) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.ham-menu.active span:nth-child(2) { opacity: 0; }
.ham-menu.active span:nth-child(3) { top: 50%; transform: translate(-50%, -50%) rotate(-45deg); }

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: #ff5c00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.social-icon i {
    color: #501913;
    font-size: 16px;
}

/* Banner Hero Institucional (Plano 20 Anos em 2) */
.bg-home {
    display: flex;
    max-width: 100%;
    height: 110svh;
    margin-top: -80px;
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bg-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(79, 25, 19, 0.4), rgba(43, 13, 10, 0.85));
    z-index: 1;
}

#logo-dez {
    width: 100%;
    max-width: 750px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    padding: 0 20px;
}

#logo-dez h1 {
    font-family: 'miller-banner', serif;
    color: #f2ddc8;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    margin-bottom: 10px;
}

#logo-dez p {
    font-family: 'neulis-sans', sans-serif;
    color: #ffebd2;
    font-size: clamp(1rem, 2vw, 1.3rem);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Seção Comparativa Anos 90 vs App 4.0 */
#comparativo {
    background-color: #501913;
    padding: 90px 20px;
    color: #f2ddc8;
}

.comp-container {
    max-width: 1100px;
    margin: 0 auto;
}

.comp-header {
    text-align: center;
    margin-bottom: 50px;
}

.comp-header h2 {
    font-family: "miller-banner", serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media(max-width: 768px) {
    .comp-grid { grid-template-columns: 1fr; }
}

.comp-card {
    background: rgba(236, 98, 10, 0.1);
    border: 2px solid #ec620a;
    border-radius: 12px;
    padding: 35px;
}

.comp-card h3 {
    font-family: "miller-banner", serif;
    font-size: 1.8rem;
    color: #ec620a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-card ul li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

/* Seção Documentário "As Raízes do Aço" (4 Blocos) */
#documentario {
    background-color: #ec620a;
    padding: 100px 20px;
    color: #501913;
}

.doc-container {
    max-width: 1100px;
    margin: 0 auto;
}

.doc-title {
    font-family: "miller-banner", serif;
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #501913;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.doc-block {
    background-color: #501913;
    color: #f2ddc8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.doc-block:hover {
    transform: translateY(-5px);
}

.doc-block span {
    font-family: "field-gothic-condensed", sans-serif;
    font-size: 1.1rem;
    color: #ff771f;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.doc-block h3 {
    font-family: "miller-banner", serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.doc-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e6cbb1;
}

/* Rodapé Modular */
#footer {
    background-color: #381200;
    width: 100%;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #ffebd2;
    text-align: center;
}

#footer a {
    color: #ec620a;
    text-decoration: underline;
}