:root {
    --color-black: #0a0a0a;
    --color-dark-green: #1a4d2e;
    --color-green: #2d6a4f;
    --color-gold: #d4af37;
    --color-gold-light: #f4e5a1;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray: #e0e0e0;
    --color-gray-dark: #4a4a4a;
    
    --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-green) 100%);
    color: var(--color-white);
     position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-large);
}

.nav-container {
    display: flex;
    justify-content: center !important;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
	gap: 28px;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 3px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a:hover {
    color: var(--color-gold);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.hero {
    text-align: center;
    padding: 22px 16px;

    background-image:
        linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%231a4d2e" width="1200" height="400"/><path fill="%232d6a4f" opacity="0.3" d="M0,200 Q300,100 600,200 T1200,200 L1200,400 L0,400 Z"/></svg>');

    background-size: cover;
    background-position: center;

    position: relative;
    top: 0;
    z-index: 1;

    display: flex;
    justify-content: center;
    align-items: center;

    /* altura automática = acompanha texto */
    height: auto;

    transition: padding .3s ease;
}

/* TEXTO RESPONSIVO DE VERDADE */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 2rem); /* adapta ao tamanho da tela */
    font-weight: 300;
    color: var(--color-gold-light);

    max-width: 1100px;
    margin: 0 auto;

    line-height: 1.25;

    /* permite quebrar normalmente */
    white-space: normal;
}

/* leve compactação quando rolar */
.hero:has(.hero-title) {
    animation: heroCompact linear both;
    animation-timeline: scroll();
    animation-range: 0 200px;
}

@keyframes heroCompact {
    to {
        padding: 8px 16px;
    }
}


.section {
    padding: 80px 20px;
}

.section-dark {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-green) 100%);
    color: var(--color-white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--color-dark-green);
    text-align: center;
}

.section-dark .section-title {
    color: var(--color-gold);
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 60px 0 30px;
    color: var(--color-gold);
    text-align: center;
}

.section-intro {
    font-size: 1.2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.leader-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-gold);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.leader-image {
    margin-bottom: 20px;
}

.placeholder-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-dark-green), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-white);
}

.leader-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.leader-title {
    font-size: 1.1rem;
    color: var(--color-gold-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.leader-description {
    font-size: 1rem;
    line-height: 1.6;
}

.quote-block {
    text-align: center;
    margin: 60px auto;
    max-width: 800px;
}

.quote-block p {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--color-gold);
    line-height: 1.6;
}

.structure-section {
    margin-top: 60px;
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.structure-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-left: 4px solid var(--color-gold);
    border-radius: 5px;
}

.structure-card h4 {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.structure-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.structure-text {
    margin-top: 30px;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.8;
}

.mission-intro {
    text-align: center;
    margin-bottom: 50px;
}

.highlight {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-dark-green);
    line-height: 1.4;
}

.section-dark .highlight {
    color: var(--color-gold);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    background: var(--color-gray-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--color-gold);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-dark-green);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-dark);
}

.nigeria-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.nigeria-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.nigeria-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--color-gold);
}

.highlight-image .placeholder-image {
    width: 100px;
    height: 100px;
    font-size: 3rem;
    background: var(--color-gold);
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin: 20px 0 15px;
}

.highlight-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.opportunity-card {
    background: rgba(212, 175, 55, 0.1);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--color-gold);
}

.opportunity-card h4 {
    font-size: 1.3rem;
    color: var(--color-gold-light);
    margin-bottom: 15px;
}

.opportunity-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.cta-container {
    text-align: center;
    margin: 50px 0;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--color-gold);
    color: var(--color-black);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition);
    border: 2px solid var(--color-gold);
}

.btn:hover {
    background: transparent;
    color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-black);
}

.section-dark .btn-primary {
    background: var(--color-gold);
    color: var(--color-black);
}

.section-dark .btn-primary:hover {
    background: transparent;
    color: var(--color-gold);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.2rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid var(--color-gold);
    transition: var(--transition);
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.event-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.event-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.filhos-section {
    margin-top: 80px;
    background: rgba(212, 175, 55, 0.1);
    padding: 50px;
    border-radius: 10px;
    border: 2px solid var(--color-gold);
}

.filhos-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.credenciamento-list {
    list-style: none;
    margin: 30px 0;
    padding-left: 0;
}

.credenciamento-list li {
    padding: 10px 0 10px 30px;
    font-size: 1.1rem;
    position: relative;
}

.credenciamento-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 1.3rem;
}

footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 60px 20px;
    text-align: center;
}

.footer-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.footer-location {
    font-size: 1rem;
    color: var(--color-gray);
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-black);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        max-height: 500px;
        border-top: 2px solid var(--color-gold);
    }

    .nav-menu li {
        text-align: center;
        border-bottom: 1px solid var(--color-dark-green);
    }

    .nav-menu li a {
        display: block;
        padding: 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

/* ================= DESKTOP MELHORADO (NOVO) ================= */

@media (min-width: 769px) {

    .nav-container {
        padding: 10px 20px;
        height: 100px;
    }

    .logo img {
        width: 80px !important;
    }

    .logo h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .nav-menu {
        gap: 22px;
        align-items: center;
		 margin-left: 0 !important;
    }

    .nav-menu li a {
        font-size: 0.9rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .menu-toggle {
        display: none !important;
    }
}




/* Estilo para a imagem do perfil */
.leader-profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Efeito de hover para as imagens */
.leader-profile-img:hover {
    transform: scale(1.1);
}/* Estilo da imagem no modal */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border-radius: 15px; /* Bordas suavizadas */
    transition: transform 0.3s ease, opacity 0.3s ease;
}


.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    text-align: center;
}

.modal.show {
    display: block;
}

.modal-content {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 18px;
    margin: 0 auto;
    display: block;
}

#modalCaption {
    margin-top: 12px;
    color: #fff;
    font-size: 0.95rem;
}

/* botão fechar */
.close {
    position: fixed;
    top: 16px;
    right: 20px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

/* logo topo */
/* ================= LOGO TOPO ================= */

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

 #logotopo {
    height: 64px;        /* ajuste aqui para maior/menor */
    width: auto !important;
    object-fit: contain;
    display: block;
  }


.footer-iframe {
    width: 100%;
    flex: 1;
}

.footer-iframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    padding-top: var(--header-height);
}





/* ===============================
   CAIXA INSTITUCIONAL DA HISTÓRIA
   =============================== */

.history-card-wrapper {
    display: flex;
    flex-direction: column;           /* empilha imagem e texto */
    align-items: center;              /* centraliza horizontalmente */
    justify-content: center;
    gap: 20px;
    background: #0e0e0e;
    border-radius: 14px;
    padding: 36px 24px;
    margin: 60px auto;
    cursor: pointer;
    text-align: center;               /* centraliza os dizeres */
    max-width: 1100px;                /* mantém leitura institucional */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.history-card-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.history-card-image {
    width: 260px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
}


.history-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.history-card-wrapper:hover .history-card-image img {
    transform: scale(1.08);
}

.history-card-content {
    color: #ffffff;
}

.history-card-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c9a85c;
    margin-bottom: 10px;
}

.history-card-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.history-card-content p {
    font-size: 15px;
    opacity: 0.85;
}

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 768px) {
    .history-card-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .history-card-image {
        width: 100%;
        height: 200px;
    }
}


#historyModalCaption {
    display: block;
    margin-top: 18px;
    color: #ffffff;
    font-size: 15px;
    text-align: center;
    opacity: 0.9;
}


