/* ================================
   ROOT + BASE
================================ */

:root {
    --brand-color-primary: #3f7a4a;
    --brand-color-primary-darker-1: #356437;
    --green: #2f7a34;
    --green-dark: #235d28;
    --muted: #6b6b6b;
    --max-width: 1120px;
    --gutter: 24px;
    --radius: 6px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

.main-footer {
    border-top: 5px solid #198754;
}

/* ================================
   CABEÇALHO
================================ */

#header,
.header1 {
    background: #ffffff;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 0 !important;
}

#header-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px var(--gutter);
    align-items: center;
}

#branding {
    display: flex;
    align-items: center;
    gap: 16px;
}

#branding .club-badge img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}

#header .club-name {
    color: var(--brand-color-primary);
    font-weight: 600;
    line-height: 1;
}

#header .site-slogan {
    font-size: 0.85rem;
    color: #666;
}

/* ================================
   REDES SOCIAIS
================================ */

.socialmedia_icons a,
.template-block.socialmedia_icons .icons a {
    color: var(--brand-color-primary);
    transition: 0.3s;
    text-decoration: none;
}

.socialmedia_icons a:hover,
.template-block.socialmedia_icons .icons a:hover {
    color: var(--brand-color-primary-darker-1);
}

/* ================================
   NAVBAR
================================ */

.navbar {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.navbar.bg-success {
    background-color: var(--brand-color-primary) !important;
}

.navbar .nav-link,
.navbar .navbar-brand {
    color: #ffffff !important;
    transition: color 0.3s ease;
    font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .nav-link:focus {
    color: #e0e0e0 !important;
}

/* ================================
   UTILITÁRIOS
================================ */

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

a:focus {
    outline: 3px solid rgba(47, 122, 52, 0.18);
    outline-offset: 3px;
}

/* ================================
   MENSAGEM DO PRESIDENTE
================================ */

.presidente-page {
    background: #f4f7f5;
    color: #1f2933;
}

/* Hero */
.presidente-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 204, 0, 0.20), transparent 28%),
        linear-gradient(135deg, #198754 0%, #0f5132 100%);
    color: #ffffff;
    padding: 86px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.presidente-hero::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -110px;
    right: -90px;
}

.presidente-kicker {
    display: inline-block;
    background: rgba(255, 204, 0, 0.18);
    color: #ffdf5d;
    border: 1px solid rgba(255, 204, 0, 0.34);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.78rem;
    margin-bottom: 18px;
}

.presidente-hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    font-weight: 950;
    letter-spacing: -1.7px;
    line-height: 1.05;
    margin-bottom: 18px;
}

.presidente-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
    line-height: 1.7;
}

/* Conteúdo */
.presidente-content {
    padding: 56px 0 82px;
}

.presidente-card {
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid rgba(25, 135, 84, 0.12);
    box-shadow: 0 22px 56px rgba(15, 81, 50, 0.13);
    overflow: hidden;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    
}

.presidente-image {
    background:
        radial-gradient(circle at top left, rgba(255, 204, 0, 0.14), transparent 32%),
        linear-gradient(135deg, #198754, #0f5132);
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.presidente-image img {
    width: 100%;
    max-width: 430px;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    background: #ffffff;
}

.presidente-message {
    padding: 44px;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(15, 81, 50, 0.12);
}

.message-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #198754, #0f5132);
    color: #ffcc00;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 12px 24px rgba(25, 135, 84, 0.22);
}

.message-label {
    display: inline-block;
    color: #198754;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 5px;
}

.message-header h2 {
    color: #0f5132;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    font-weight: 950;
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin: 0;
}

.message-text p {
    color: #53645a;
    line-height: 1.85;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.message-text p:first-child::first-letter {
    float: left;
    font-size: 4rem;
    line-height: 0.9;
    font-weight: 950;
    color: #198754;
    padding-right: 10px;
}

.presidente-signature {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 81, 50, 0.12);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.signature-line {
    width: 90px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #198754, #ffcc00);
    margin-bottom: 16px;
}

.presidente-signature strong {
    color: #0f5132;
    font-size: 1.35rem;
    font-weight: 950;
}

.presidente-signature span {
    color: #66756c;
    font-size: 0.95rem;
}

/* Remove espaço branco entre navbar e conteúdo */
#page-content,
main {
    margin-top: 0 !important;
}

/* ================================
   RESPONSIVO
================================ */

@media (max-width: 900px) {
    .presidente-card {
        grid-template-columns: 1fr;
    }

    .presidente-image {
        padding: 22px;
    }

    .presidente-image img {
      max-width: 100%;
      max-height: none;
    }

    .presidente-message {
        padding: 30px 24px;
    }
}

@media (max-width: 768px) {
    #header-content {
        padding: 10px 14px;
    }

    .presidente-hero {
        padding: 58px 18px;
    }

    .presidente-content {
        padding: 34px 0 56px;
    }

    .presidente-card {
        border-radius: 22px;
    }

    .message-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .message-text p {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .message-text p:first-child::first-letter {
        font-size: 3.2rem;
    }
}
