/* =========================================================
   GRUPO ESCOTEIRO BROWNSEA — custom.css
   Paleta: Azul Navy · Vermelho · Branco · Azul claro
   ========================================================= */

:root {
    --navy:    #0f1b35;
    --navy2:   #1a2f5e;
    --blue:    #1e4db7;
    --blue-lt: #eef4ff;
    --red:     #9b1c1c;
    --red2:    #c0392b;
    --red-lt:  #fff0f0;
    --white:   #ffffff;
    --cream:   #f8f5f0;
    --gold:    #f2c94c;
    --green:   #2b5d34;
    --fn:      'Montserrat', sans-serif;
}

/* =========================================================
   SCROLL SUAVE GLOBAL
   ========================================================= */
html { scroll-behavior: smooth; }

/* =========================================================
   HERO
   ========================================================= */
#header {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--navy);
    padding: 0;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    margin-bottom: -60px;
    z-index: 2;
    overflow: hidden;
}

/* Brasão desfocado como fundo */
#header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../../images/brasao.png') center center no-repeat;
    background-size: clamp(260px, 55vw, 700px);
    opacity: 0.08;
    filter: blur(3px) grayscale(30%);
    z-index: 0;
    transform: scale(0.8);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 6em 2em 5em;
    color: white;
}

.hero-local {
    font-family: var(--fn);
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    margin-bottom: 1.5em;
}

.hero-titulo {
    font-family: var(--fn);
    font-size: clamp(2.8em, 7vw, 5em);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0.6em;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.6);
    letter-spacing: 2px;
}

.hero-titulo .branco  { color: #ffffff; }
.hero-titulo .azul    { color: #7ec8ff; }
.hero-titulo .vermelho{ color: #ff6b6b; }

.hero-texto {
    font-family: var(--fn);
    font-size: 1.05em;
    color: rgba(255,255,255,0.88);
    max-width: 580px;
    margin: 0 auto 2.2em;
    line-height: 1.8;
    text-align: center;
}

.hero-botoes {
    display: flex;
    gap: 1em;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.8em;
}

.btn-vermelho {
    display: inline-block;
    font-family: var(--fn);
    font-weight: 700;
    font-size: 0.85em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff !important;
    background: var(--red2);
    padding: 0.9em 2.4em;
    border-radius: 50px;
    border: none !important;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(192,57,43,0.45);
    transition: all 0.3s ease;
}
.btn-vermelho:hover {
    background: #a93226;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(192,57,43,0.55);
    border-bottom: none !important;
    color: #fff !important;
}

.btn-borda {
    display: inline-block;
    font-family: var(--fn);
    font-weight: 700;
    font-size: 0.85em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff !important;
    background: transparent;
    padding: 0.9em 2.4em;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.7) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-borda:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff !important;
    transform: translateY(-4px);
    border-bottom: 2px solid rgba(255,255,255,0.7) !important;
    color: #fff !important;
}

.hero-linha {
    width: 70px; height: 2px;
    background: rgba(255,255,255,0.3);
    margin: 0 auto 2.5em;
    border-radius: 2px;
}

.hero-numeros {
    display: flex;
    justify-content: center;
    gap: 4em;
    flex-wrap: wrap;
}
.hero-numeros > div { text-align: center; }
.hero-numeros h2 {
    font-family: var(--fn);
    font-size: 2.6em;
    font-weight: 800;
    color: var(--gold);
    margin: 0 0 0.1em;
    letter-spacing: 1px;
    text-shadow: none;
}
.hero-numeros p {
    font-family: var(--fn);
    font-size: 0.72em;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-align: center;
}


/* =========================================================
   NAV PROFISSIONAL
   ========================================================= */
#nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%; z-index: 1000;
    background: rgba(15, 27, 53, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    padding: 0;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
#nav.scrolled {
    background: rgba(15, 27, 53, 1);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
#nav > ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0; margin: 0;
}
#nav > ul > li { position: relative; padding: 0; }
#nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.85em 0.9em;
    color: rgba(255,255,255,0.85) !important;
    font-family: var(--fn);
    font-size: 0.6em;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none !important;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}
#nav > ul > li > a:hover { color: var(--gold) !important; border-bottom: none !important; }
#nav > ul > li > a i { font-size: 0.85em; opacity: 0.7; }

#nav > ul > li > a::after {
    content: '';
    display: block;
    position: relative;
    bottom: 0; left: 50%;
    width: 0; height: 3px;
    background: var(--red2);
    border-radius: 2px;
    transition: width 0.25s ease, left 0.25s ease;
}
#nav > ul > li > a:hover::after { width: 100%; left: 0; }

/* Chefia - botão vermelho */
#nav > ul > li.chefia { padding: 0 0.5em; }
#nav > ul > li.chefia > a {
    background: var(--red2);
    color: white !important;
    border-radius: 20px;
    padding: 0.45em 1.2em;
    margin: 0.6em 0;
    box-shadow: 0 3px 14px rgba(192,57,43,0.4);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
#nav > ul > li.chefia > a:hover {
    background: #a93226;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192,57,43,0.5);
    border-bottom: none !important;
}
#nav > ul > li.chefia > a::after { display: none; }

#nav > ul > li.nos > a {
    border: 1px solid rgba(242,201,76,0.4);
    border-radius: 20px;
    padding: 0.45em 1em;
}


/* =========================================================
   BANNER — Citação
   FUNDO: Navy escuro
   ========================================================= */
#banner {
    background: var(--navy) !important;
    border: none !important;
    box-shadow: none !important;
    padding: 5em 1em 6em !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
    margin: -60px 0 -50px;
}
#banner::before {
    content: '❝';
    position: absolute;
    font-size: 20em;
    color: rgba(242,201,76,0.05);
    top: -0.3em; left: -0.05em;
    line-height: 1;
    pointer-events: none;
}
#banner p {
    font-family: var(--fn) !important;
    text-align: center !important;
    margin: 0 auto !important;
}
#banner p:first-of-type {
    font-size: 1.15em !important;
    font-style: italic;
    color: rgba(255,255,255,0.92) !important;
    max-width: 820px !important;
    line-height: 1.9 !important;
    margin-bottom: 1.2em !important;
    letter-spacing: 0.3px !important;
}
#banner p:last-of-type {
    color: var(--gold) !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    font-size: 0.85em !important;
}


/* =========================================================
   SOBRE O ESCOTISMO
   FUNDO: Branco limpo
   ========================================================= */
#sobre-escotismo {
    background: var(--white) !important;
    padding: 6em 1em 5em !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    margin: -50px 0 -50px;
}
#sobre-escotismo header h2 {
    font-family: var(--fn) !important;
    font-size: 2.3em !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
}
#sobre-escotismo header h2::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--red2);
    margin: 0.4em auto 0;
    border-radius: 2px;
}
#sobre-escotismo header p { font-family: var(--fn) !important; color: #666 !important; }
#sobre-escotismo > .container > div { border-left: 5px solid var(--blue) !important; }
#sobre-escotismo p { font-family: var(--fn) !important; color: #444 !important; line-height: 1.8 !important; }
#sobre-escotismo > .container > div:last-child > div {
    background: var(--blue-lt);
    border-radius: 12px;
    padding: 1em 1.5em;
    font-family: var(--fn);
    font-weight: 700;
    font-size: 0.88em;
    color: var(--navy2);
    box-shadow: 0 4px 14px rgba(30,77,183,0.1);
    transition: transform 0.2s ease;
}
#sobre-escotismo > .container > div:last-child > div:hover { transform: translateY(-4px); }


/* =========================================================
   DÚVIDAS FREQUENTES
   FUNDO: Vermelho escuro
   ========================================================= */
#duvidas {
    background: var(--red) !important;
    padding: 6em 1em !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
}
#duvidas h2 {
    font-family: var(--fn) !important;
    font-size: 2.3em !important;
    font-weight: 800 !important;
    color: white !important;
}
#duvidas > div > p { color: rgba(255,255,255,0.75) !important; font-family: var(--fn) !important; }
#duvidas details {
    background: rgba(255,255,255,0.97) !important;
    border-radius: 12px !important;
    padding: 1.2em 1.5em !important;
    margin-bottom: 0.8em !important;
    border-left: 5px solid var(--gold) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    transition: transform 0.2s ease !important;
}
#duvidas details:hover { transform: translateX(6px) !important; }
#duvidas summary {
    font-family: var(--fn) !important;
    font-weight: 700 !important;
    color: var(--red) !important;
    font-size: 0.97em !important;
    cursor: pointer;
}
#duvidas details p {
    font-family: var(--fn) !important;
    color: #444 !important;
    margin-top: 0.8em !important;
    padding-top: 0.8em !important;
    border-top: 1px solid #eee !important;
    font-size: 0.93em !important;
    line-height: 1.7 !important;
}
#duvidas a[href="#fale-conosco"] {
    font-family: var(--fn) !important;
    font-weight: 700 !important;
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    border: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}
#duvidas a[href="#fale-conosco"]:hover {
    background: #e6b800 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
}


/* =========================================================
   QUEM SOMOS
   FUNDO: Navy azul
   ========================================================= */
#quem-somos {
    background: var(--navy2) !important;
    padding: 6em 1em !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
}
#quem-somos header h2 {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    color: white !important;
    font-size: 2.3em !important;
}
#quem-somos header h2::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--gold);
    margin: 0.4em auto 0;
    border-radius: 2px;
}
#quem-somos header p { font-family: var(--fn) !important; color: rgba(255,255,255,0.75) !important; }
#quem-somos > .container > div:nth-child(2) {
    background: rgba(255,255,255,0.08) !important;
    border-left: 5px solid var(--gold) !important;
    border-radius: 0 14px 14px 0 !important;
    font-family: var(--fn) !important;
    color: rgba(255,255,255,0.9) !important;
    font-size: 1em !important;
    line-height: 1.8 !important;
    padding: 1.5em 2em !important;
}
#quem-somos p { font-family: var(--fn) !important; color: white !important; font-weight: 700 !important; }
#quem-somos img { filter: brightness(0) invert(1); opacity: 0.85; }


/* =========================================================
   LEIS ESCOTEIRAS
   FUNDO: Azul claro suave
   ========================================================= */
#leis {
    background: var(--blue-lt) !important;
    padding: 6em 1em !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
}
#leis header h2 {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
    font-size: 2.3em !important;
}
#leis header h2::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--red2);
    margin: 0.4em auto 0;
    border-radius: 2px;
}
#leis header p { font-family: var(--fn) !important; color: #555 !important; }
#leis > .container > div > div > div {
    border-top: 4px solid var(--blue) !important;
    border-radius: 12px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    background: white !important;
}
#leis > .container > div > div > div:hover {
    transform: translateY(-7px) !important;
    box-shadow: 0 18px 40px rgba(30,77,183,0.13) !important;
}
#leis h3 { font-family: var(--fn) !important; font-weight: 700 !important; color: var(--navy2) !important; font-size: 0.95em !important; }
#leis p  { font-family: var(--fn) !important; color: #555 !important; line-height: 1.5 !important; }

/* Promessa */
section[style*="1f4d2e"] {
    background: var(--navy) !important;
    padding: 5em 1em !important;
    position: relative; overflow: hidden;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
    z-index: 1;
}
section[style*="1f4d2e"]::before {
    content: '⚜️';
    position: absolute;
    font-size: 14em;
    opacity: 0.04;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
section[style*="1f4d2e"] h2 {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    font-size: 2em !important;
    color: var(--gold) !important;
}
section[style*="1f4d2e"] p {
    font-family: var(--fn) !important;
    font-size: 1.12em !important;
    font-style: italic !important;
    line-height: 1.9 !important;
    color: rgba(255,255,255,0.9) !important;
    text-align: center !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}


/* =========================================================
   ATIVIDADES ESCOTEIRAS
   FUNDO: Branco
   ========================================================= */
#atividades {
    background: var(--white) !important;
    padding: 6em 1em !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
}
#atividades header h2 {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
    font-size: 2.3em !important;
}
#atividades header h2::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--blue);
    margin: 0.4em auto 0;
    border-radius: 2px;
}
#atividades header p { font-family: var(--fn) !important; color: #555 !important; }
#atividades > .container > div > div {
    border-radius: 24px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
#atividades > .container > div > div:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 24px 50px rgba(0,0,0,0.14) !important;
}
#atividades strong { font-family: var(--fn) !important; font-weight: 800 !important; }
#atividades span   { font-family: var(--fn) !important; line-height: 1.6 !important; }


/* =========================================================
   RAMOS ESCOTEIROS
   FUNDO: Azul navy suave
   ========================================================= */
#ramos-escoteiros {
    background: var(--navy) !important;
    padding: 6em 0 !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
}
#ramos-escoteiros header h2 {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    color: white !important;
    font-size: 2.3em !important;
}
#ramos-escoteiros header h2::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--gold);
    margin: 0.4em auto 0;
    border-radius: 2px;
}
#ramos-escoteiros header p { font-family: var(--fn) !important; color: rgba(255,255,255,0.7) !important; }
#ramos-escoteiros .box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: none !important;
}
#ramos-escoteiros .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 55px rgba(0,0,0,0.35);
}
#ramos-escoteiros .box header {
    background: var(--red2);
    padding: 0.7em 1em;
    margin: 0;
}
#ramos-escoteiros .box header h3 {
    font-family: var(--fn) !important;
    font-weight: 700 !important;
    color: white !important;
    font-size: 0.92em !important;
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
}
#ramos-escoteiros .box p {
    font-family: var(--fn) !important;
    color: #444 !important;
    font-size: 0.88em !important;
    text-align: center !important;
    line-height: 1.65 !important;
    padding: 1em;
}


/* =========================================================
   CALENDÁRIO
   FUNDO: Vermelho escuro
   ========================================================= */
#calendario {
    background: var(--red) !important;
    padding: 6em 1em !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
}
#calendario header h2 {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    color: white !important;
    font-size: 2.3em !important;
    letter-spacing: 1px !important;
}
#calendario header h2::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--gold);
    margin: 0.4em auto 0;
    border-radius: 2px;
}
#calendario header p { font-family: var(--fn) !important; color: rgba(255,255,255,0.7) !important; }
#calendario ul { list-style: none !important; padding: 0 !important; }
#calendario li {
    background: rgba(255,255,255,0.95) !important;
    border-left: 5px solid var(--gold) !important;
    border-radius: 8px !important;
    padding: 0.9em 1.5em !important;
    margin-bottom: 0.65em !important;
    font-family: var(--fn) !important;
    font-weight: 600 !important;
    font-size: 0.93em !important;
    color: var(--red) !important;
    box-shadow: 0 3px 16px rgba(0,0,0,0.12) !important;
    transition: transform 0.2s ease !important;
}
#calendario li:hover { transform: translateX(8px) !important; }
#calendario h2:not(header h2) {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    color: var(--gold) !important;
    font-size: 1.5em !important;
    margin: 2em 0 0.8em !important;
    letter-spacing: 1px !important;
}


/* =========================================================
   FOTOS DO GRUPO
   FUNDO: Navy escuro
   ========================================================= */
#fotos {
    background: var(--navy) !important;
    padding: 6em 0 !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
}
#fotos header h2 {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    color: white !important;
    font-size: 2.3em !important;
    letter-spacing: 2px !important;
}
#fotos header h2::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--gold);
    margin: 0.4em auto 0;
    border-radius: 2px;
}
#fotos header p { font-family: var(--fn) !important; color: rgba(255,255,255,0.6) !important; }
.fotos-scroll img {
    border-radius: 14px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.4) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.fotos-scroll img:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5) !important;
}
.seta {
    background: rgba(192,57,43,0.85) !important;
    border-radius: 50% !important;
    width: 48px !important; height: 48px !important;
    display: flex !important;
    align-items: center; justify-content: center;
    font-size: 1.1em !important;
    padding: 0 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    border: 2px solid rgba(255,255,255,0.2) !important;
}
.seta:hover {
    background: var(--red2) !important;
    transform: translateY(-50%) scale(1.1) !important;
}


/* =========================================================
   DOCUMENTOS
   FUNDO: Azul royal
   ========================================================= */
#documentos {
    background: var(--blue) !important;
    padding: 5em 0 !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
}
#documentos header h2 {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    color: white !important;
    font-size: 2.3em !important;
}
#documentos header h2::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--gold);
    margin: 0.4em auto 0;
    border-radius: 2px;
}
#documentos header p { font-family: var(--fn) !important; color: rgba(255,255,255,0.75) !important; }
#documentos > .container > div > div {
    background: white !important;
    border-radius: 16px !important;
    padding: 2em !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.2) !important;
    border-top: 5px solid var(--gold) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
#documentos > .container > div > div:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 22px 50px rgba(0,0,0,0.28) !important;
}
#documentos h3 { font-family: var(--fn) !important; font-weight: 700 !important; color: var(--navy) !important; text-align: center !important; }
#documentos p  { font-family: var(--fn) !important; color: #555 !important; text-align: center !important; font-size: 0.9em !important; }


/* =========================================================
   HORÁRIO
   FUNDO: Branco / azul claro
   ========================================================= */
#horario {
    background: var(--blue-lt) !important;
    padding: 6em 1em !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
}
#horario h2 { font-family: var(--fn) !important; font-weight: 800 !important; color: var(--navy) !important; }
#horario p  { font-family: var(--fn) !important; color: #333 !important; }
#horario strong { color: var(--navy2) !important; }


/* =========================================================
   FALE CONOSCO
   FUNDO: Navy
   ========================================================= */
#fale-conosco {
    background: var(--navy) !important;
    padding: 6em 0 !important;
    position: relative; z-index: 1;
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
    margin: -50px 0 0;
}
#fale-conosco header h2 {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    color: white !important;
}
#fale-conosco header h2::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--gold);
    margin: 0.4em 0 0;
    border-radius: 2px;
}
#fale-conosco header p { font-family: var(--fn) !important; color: rgba(255,255,255,0.7) !important; }
#fale-conosco .icons li a {
    font-family: var(--fn) !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.85) !important;
}
#fale-conosco .icons li a:hover { color: var(--gold) !important; }
#fale-conosco .icons li::before { background: var(--red2) !important; }
#fale-conosco form input,
#fale-conosco form textarea {
    font-family: var(--fn) !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,0.1) !important;
    border: 2px solid rgba(255,255,255,0.2) !important;
    box-shadow: none !important;
    color: white !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
}
#fale-conosco form input::placeholder,
#fale-conosco form textarea::placeholder { color: rgba(255,255,255,0.5) !important; }
#fale-conosco form input:focus,
#fale-conosco form textarea:focus {
    border-color: var(--gold) !important;
    background: rgba(255,255,255,0.15) !important;
}
#fale-conosco iframe {
    border-radius: 14px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.3) !important;
}
#fale-conosco .button {
    background: var(--red2) !important;
    border-radius: 50px !important;
    font-family: var(--fn) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 6px 20px rgba(192,57,43,0.4) !important;
    transition: all 0.3s ease !important;
}
#fale-conosco .button:hover {
    background: #a93226 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(192,57,43,0.5) !important;
}


/* =========================================================
   FOOTER
   ========================================================= */
#footer {
    background: #07101f !important;
    color: rgba(255,255,255,0.5) !important;
    padding: 2.5em 1.5em !important;
    text-align: center !important;
    border-top: 4px solid var(--red2) !important;
}
#footer p {
    font-family: var(--fn) !important;
    font-size: 0.82em !important;
    color: rgba(255,255,255,0.5) !important;
    margin: 0.3em 0 !important;
    text-align: center !important;
}


/* =========================================================
   ANIMAÇÕES DE ENTRADA — direções diferentes
   ========================================================= */
.animar          { opacity: 0; transform: translateY(40px);  transition: opacity 0.75s ease, transform 0.75s ease; }
.animar-esquerda { opacity: 0; transform: translateX(-50px); transition: opacity 0.75s ease, transform 0.75s ease; }
.animar-direita  { opacity: 0; transform: translateX(50px);  transition: opacity 0.75s ease, transform 0.75s ease; }

.animar.show,
.animar-esquerda.show,
.animar-direita.show {
    opacity: 1;
    transform: translate(0);
}


/* =========================================================
   BOTÃO WHATSAPP FLUTUANTE
   ========================================================= */
a[href*="wa.me"] {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
a[href*="wa.me"]:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 10px 30px rgba(37,211,102,0.55) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 736px) {
    /* Remove diagonais no mobile pra não cortar conteúdo */
    #banner, #sobre-escotismo, #duvidas, #quem-somos,
    #leis, #atividades, #ramos-escoteiros, #calendario,
    #fotos, #documentos, #horario, #fale-conosco,
    section[style*="1f4d2e"], #header {
        clip-path: none !important;
        margin: 0 !important;
    }
    .hero-titulo  { font-size: 2.5em; }
    .hero-numeros { gap: 2em; }
    .hero-numeros h2 { font-size: 1.9em; }
    #nav > ul > li > a { padding: 0.9em 0.45em; font-size: 0.62em; }
}

/* ================= BASE ================= */

.historia-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    justify-content: center;
}

/* ================= CARD ================= */

.historia-card {
    flex: 1 1 280px;
    background: #ffffff;
    padding: 2em;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: left;
    transition: 0.25s ease;
    border-top: 4px solid transparent;
}

.historia-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

/* ================= DESTAQUE BP ================= */

.historia-card.destaque {
    border-top: 4px solid #1f4d2e;
    transform: scale(1.03);
}

/* ================= IMAGENS ================= */

.card-img {
    text-align: center;
    margin-bottom: 1em;
}

.card-img img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1f4d2e;
}

.card-img.map img {
    border-radius: 12px;
    object-fit: contain;
    background: #f3f3f3;
}

/* ================= WORLD ================= */

.world {
    margin-top: 1.5em;
}

.world-top {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.9em;
}

.world-bar {
    height: 14px;
    background: #e6e6e6;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 0.6em;
}

.world-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #1f4d2e, #2f7a45);
    transition: width 2s ease;
}

/* =========================================================
   LINKS ÚTEIS — VERSÃO PREMIUM
   ========================================================= */

#links-uteis {
    background: var(--white);
    padding: 6em 1em;
}

#links-uteis header {
    margin-bottom: 2.5em;
}

#links-uteis h2 {
    font-family: var(--fn);
    font-weight: 900;
    color: var(--navy);
    font-size: 2.4em;
    letter-spacing: 1px;
}

#links-uteis p {
    font-family: var(--fn);
    color: #666;
    font-size: 1em;
}

/* GRID REAL */
#links-uteis .container > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.6em;
    justify-content: center;
}

/* CARD */
.link-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 1.6em 1.4em;
    text-decoration: none;
    color: inherit;

    border: 1px solid rgba(0,0,0,0.05);
    border-top: 4px solid var(--blue);

    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: all 0.25s ease;

    display: flex;
    flex-direction: column;
    gap: 0.6em;
    overflow: hidden;
}

/* brilho sutil */
.link-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(30,77,183,0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s ease;
}

.link-card:hover::before {
    transform: translateX(100%);
}

/* HOVER */
.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    border-top-color: var(--red2);
}

/* ÍCONE */
.link-card-icon {
    font-size: 2em;
}

/* TÍTULO */
.link-card strong {
    font-family: var(--fn);
    font-size: 1.05em;
    font-weight: 800;
    color: var(--navy);
}

/* TEXTO */
.link-card span {
    font-family: var(--fn);
    font-size: 0.88em;
    color: #666;
    line-height: 1.5;
}

/* SMALL */
.link-card small {
    font-size: 0.75em;
    color: #888;
}

/* RESPONSIVO AJUSTE FINO */
@media (max-width: 600px) {
    #links-uteis h2 {
        font-size: 2em;
    }

    .link-card {
        padding: 1.4em;
    }
}

@media (max-width: 736px) {

    html, body {
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    section, header, .container {
        max-width: 100%;
    }

    /* garante que nada encoste ou ultrapasse a tela */
    section {
        padding-left: 1.2em !important;
        padding-right: 1.2em !important;
    }

    .container {
        padding-left: 1em !important;
        padding-right: 1em !important;
        max-width: 100% !important;
    }

}

/* ========================= */
/* HISTORIA CARDS */
/* ========================= */

.historia-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

/* CARD BASE */
.historia-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* HOVER */
.historia-card:hover {
    transform: translateY(-8px);
}

/* DESTAQUE */
.historia-card.destaque {
    transform: scale(1.05);
    border: 2px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* IMAGEM */
.card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TITULO */
.historia-card h3 {
    margin-bottom: 10px;
    font-size: 1.0rem;
}

/* TEXTO */
.historia-card p {
    font-size: 1.0rem;
    line-height: 1.5;
}

/* ========================= */
/* BARRA MUNDO */
/* ========================= */

.world {
    margin: 10px 0;
}

.world-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.num {
    font-weight: bold;
}

/* BARRA */
.world-bar {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* PROGRESSO CONTROLADO PELO JS */
.world-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    border-radius: 10px;
    transition: width 0.2s linear;
}
/* ===== SEÇÃO ===== */
.lema {
    position: relative;
    height: 50vh;
    background: url("images/sempre.") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;

    /* animação leve */
    animation: zoomBg 20s infinite alternate;
}

/* ===== OVERLAY PROFISSIONAL ===== */
.lema::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.4)
    );
    z-index: 1;
}

/* ===== CONTEÚDO ===== */
.lema-overlay {
    position: relative;
    z-index: 2;
    text-align: center;

    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

/* ATIVA ANIMAÇÃO */
.lema-overlay.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== TÍTULO ===== */
.lema-titulo {
    font-size: 3.5rem;
    color: white;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.8);
}

/* ===== SUBTÍTULO ===== */
.lema-sub {
    margin-top: 12px;
    color: #ff4d4d;
    letter-spacing: 4px;
    font-size: 0.9rem;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .lema {
        height: 50vh;
    }

    .lema-titulo {
        font-size: 2.2rem;
    }
}

/* ===== ANIMAÇÃO ZOOM ===== */
@keyframes zoomBg {
    from {
        background-size: 100%;
    }
    to {
        background-size: 110%;
    }
}
/* =========================================================
   PIX MENSALIDADE
   FUNDO: Azul Navy (padrão do site)
   ========================================================= */
#pix {
    background: var(--navy2) !important;
    padding: 6em 1em !important;
    position: relative;
    z-index: 1;

    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
    margin: -50px 0 -50px;
}

/* HEADER */
#pix h2 {
    font-family: var(--fn) !important;
    font-weight: 800 !important;
    color: white !important;
    font-size: 2.3em !important;
}

#pix h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 0.4em auto 0;
    border-radius: 2px;
}

#pix p {
    font-family: var(--fn) !important;
    color: rgba(255,255,255,0.7) !important;
}

/* BOX */
.pix-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3em;
    flex-wrap: wrap;

    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);

    padding: 2.5em;
    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* QR CODE */
.pix-qrcode {
    text-align: center;
}

.pix-qrcode img {
    width: 200px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.pix-qrcode img:hover {
    transform: scale(1.05);
}

.pix-qrcode p {
    margin-top: 0.8em;
    font-size: 0.85em;
}

/* INFO */
.pix-info {
    max-width: 420px;
    text-align: left;
}

.pix-info h3 {
    font-family: var(--fn);
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 1em;
}

/* LISTA */
.pix-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5em;
}

.pix-info li {
    background: rgba(255,255,255,0.95);
    border-left: 4px solid var(--gold);
    padding: 0.7em 1em;
    margin-bottom: 0.5em;
    border-radius: 6px;

    font-family: var(--fn);
    font-size: 0.9em;
    color: var(--navy);
    font-weight: 600;
}

/* CHAVE PIX */
.pix-chave {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.8em 1em;
    border-radius: 10px;
    margin-bottom: 1em;
}

.pix-chave span {
    display: block;
    font-size: 0.8em;
    color: rgba(255,255,255,0.7);
}

.pix-chave strong {
    font-family: var(--fn);
    color: white;
    font-size: 1.05em;
}

/* =========================================================
   AVISO PIX COPIADO
   ========================================================= */

.pix-aviso {
    display: none;

    margin-top: 10px;

    font-family: var(--fn);
    font-size: 0.8em;
    font-weight: 600;

    color: var(--gold);

    opacity: 0;
    transition: opacity 0.3s ease;
}

.pix-aviso.show {
    display: block;
    opacity: 1;
}
/* =========================================================
   AVISO FIXO PIX
   ========================================================= */

.pix-info-aviso {
    margin-top: 1em;

    font-family: var(--fn);
    font-size: 0.82em;
    line-height: 1.7;

    color: rgba(255,255,255,0.72);
}

/* RESPONSIVO */
@media (max-width: 736px) {
    #pix {
        clip-path: none !important;
        margin: 0 !important;
    }

    .pix-box {
        padding: 1.5em;
        gap: 2em;
    }

    .pix-qrcode img {
        width: 170px;
    }
}
.evento-destaque {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);

    border-radius: 18px;
    padding: 18px;

    border: 1px solid rgba(0,0,0,0.05);
    border-top: 4px solid var(--gold);

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.25s ease;

    margin-bottom: 30px;
}

/* hover igual os outros cards */
.evento-destaque:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* IMAGEM */
.evento-destaque img {
    width: 100%;
    max-width: 420px;
    height: auto;          /* 🔥 remove altura fixa */
    object-fit: contain;   /* 🔥 mostra a imagem inteira */
    border-radius: 12px;
}

/* TEXTO */
.evento-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TÍTULO */
.evento-info h3 {
    font-family: var(--fn);
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 8px;
}

/* TEXTO */
.evento-info p {
    font-family: var(--fn);
    color: #555;
    font-size: 0.9em;
    line-height: 1.5;
}
.btn-evento {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;

    background: var(--navy);
    color: #fff;
    font-family: var(--fn);
    font-weight: 700;
    font-size: 0.85em;

    border-radius: 10px;
    text-decoration: none;

    transition: all 0.25s ease;
}

/* hover padrão do teu site */
.btn-evento:hover {
    background: var(--red2);
    transform: translateY(-2px);
}




