/* ==========================================
   Rinaldo Moreira - Unified Stylesheet (style.css)
   Colors: Main Dark Blue (#073A59), Highlight Cyan (#12A2FA), Light/White (#FAFAFA)
   Typography: Montserrat (titles), Open Sans (texts/paragraphs)
   ========================================== */

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

body {
    background: #fafafa;
    font-family: 'Open Sans', sans-serif;
    color: #073A59;
    text-align: center;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.flexarea {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%;
}

.flex50 {
    width: 45%;
}

.flex55 {
    width: 50%;
}

.flex30 {
    width: 25%;
}

a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #073A59;
    font-weight: 700;
    line-height: 1.3;
}

p {
    font-family: 'Open Sans', sans-serif;
    color: #073A59;
    font-size: 1rem;
    line-height: 1.7;
}

/* ==========================================
   Header & Navigation
   ========================================== */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(7, 58, 89, 0.08);
}

header #menu {
    font-family: 'Montserrat', sans-serif;
    color: #073A59;
    font-size: 1em;
    padding: 20px 15%;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header #menu img.logo {
    width: 200px;
}

header .navegacao-top-menu {
    display: none;
}

header .navegacao-top-menu nav {
    display: flex;
    align-items: center;
}

header .navegacao-top-menu a {
    color: #073A59;
    padding: 10px;
    margin: 0 5px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

header .navegacao-top-menu a:hover {
    color: #12A2FA;
    background-color: rgba(250, 250, 250, 0.8);
    border-radius: 4px;
}

header .navegacao-top-menu img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Hamburger Menu */
header #menu #hamburguer-menu {
    display: initial;
    z-index: 999;
    position: relative;
}

header #menu #hamburguer-menu div.hamburguer {
    width: 100%;
    cursor: pointer;
}

header #menu #hamburguer-menu div.hamburguer .hamb1,
header #menu #hamburguer-menu div.hamburguer .hamb2,
header #menu #hamburguer-menu div.hamburguer .hamb3 {
    background-color: #073A59;
    border-radius: 4px;
    height: 4px;
    margin: 7px auto;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

header #menu #hamburguer-menu div.hamburguer .hamb1 {
    width: 40px;
}

header #menu #hamburguer-menu div.hamburguer .hamb2 {
    width: 28px;
}

header #menu #hamburguer-menu div.hamburguer .hamb3 {
    width: 16px;
}

header #menu #hamburguer-menu.menu-active div.hamburguer .hamb1 {
    transform: translateY(9px) rotate(45deg);
}

header #menu #hamburguer-menu.menu-active div.hamburguer .hamb2 {
    opacity: 0;
    transform: scale(0);
}

header #menu #hamburguer-menu.menu-active div.hamburguer .hamb3 {
    transform: translateY(-9px) rotate(-45deg);
}

header #menu #hamburguer-menu div.hamburguer-nav {
    background-color: rgba(7, 58, 89, 0.95);
    width: 220px;
    margin-top: 15px;
    right: 0;
    max-height: 0;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: max-height 0.5s ease;
}

header #menu #hamburguer-menu.menu-active div.hamburguer-nav {
    max-height: 350px;
}

header #menu #hamburguer-menu div.hamburguer-nav ul {
    list-style: none;
    padding: 20px 10px 10px;
}

header #menu #hamburguer-menu div.hamburguer-nav ul li {
    padding: 10px 0;
}

header #menu #hamburguer-menu div.hamburguer-nav ul li a {
    color: #12A2FA;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

header #menu #hamburguer-menu div.hamburguer-nav ul li a:hover {
    color: #FAFAFA;
}

header #menu #hamburguer-menu div.redes-hamburguer-nav {
    text-align: center;
    padding: 10px 0 20px;
}

header #menu #hamburguer-menu div.redes-hamburguer-nav a img {
    width: 24px;
    margin: 0 6px;
}

/* ==========================================
   Slideshow & Banners
   ========================================== */
#slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
}

div.slideshow div.myslide {
    display: none;
    width: 100%;
    height: 100vh;
    position: relative;
}

div.slideshow div.myslide.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: .4; }
    to { opacity: 1; }
}

div#slideshow .background1 {
    background-image: url(../img/banners/banner-principal.png);
}

div#slideshow .background2 {
    background-image: url(../img/banners/banner-secundario.png);
}

div#slideshow .background1,
div#slideshow .background2 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

#slideshow div.text-banner {
    width: 500px;
    position: absolute;
    bottom: 200px;
    left: 15%;
    text-align: left;
}

#slideshow h1.text {
    color: #FAFAFA;
    font-size: 2.2em;
    font-weight: 500;
    text-transform: uppercase;
    text-shadow: 0px 0px 8px rgba(7, 58, 89, 0.8);
    font-family: 'Montserrat', sans-serif;
}

/* ==========================================
   Standardized CTA Buttons
   ========================================== */
.btn-cta {
    background-color: #12A2FA;
    border: none;
    border-radius: 6px;
    padding: 15px 32px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 600;
    color: #FAFAFA;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(18, 162, 250, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-cta a {
    color: #FAFAFA;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: #073A59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 58, 89, 0.3);
    color: #FAFAFA;
}

#slideshow button.button-banner-principal,
#sobre section.texto-sobre div button,
#banner-viva section.texto-acontecer button,
#form section.formulario button {
    background-color: #12A2FA;
    border: none;
    border-radius: 6px;
    padding: 15px 32px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 600;
    color: #FAFAFA;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(18, 162, 250, 0.3);
    transition: all 0.3s ease;
}

#slideshow button.button-banner-principal a,
#sobre section.texto-sobre div button a,
#banner-viva section.texto-acontecer button a {
    color: #FAFAFA;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
}

#slideshow button.button-banner-principal:hover,
#sobre section.texto-sobre div button:hover,
#banner-viva section.texto-acontecer button:hover,
#form section.formulario button:hover {
    background-color: #073A59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 58, 89, 0.3);
}

#slideshow button.button-banner-principal {
    margin: 30px 0 0 0;
}

#sobre section.texto-sobre div button {
    margin-top: 30px;
}

#banner-viva section.texto-acontecer button {
    margin-top: 25px;
    width: fit-content;
}

#form section.formulario button {
    width: 100%;
    margin-top: 15px;
}

/* Dots */
div#dots {
    text-align: center;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 10;
}

/* Slideshow Navigation Arrows */
.prev-slide, .next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px 20px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: background-color 0.3s ease;
    user-select: none;
    background-color: rgba(7, 58, 89, 0.4);
    z-index: 10;
}

.next-slide {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.prev-slide {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.prev-slide:hover, .next-slide:hover {
    background-color: rgba(18, 162, 250, 0.9);
}

span.dot {
    cursor: pointer;
    height: 14px;
    width: 14px;
    margin: 0 8px;
    background-color: #4E4E4E;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

span.dot.active,
span.dot:hover {
    background-color: #12A2FA;
}

/* ==========================================
   Áreas de Atuação
   ========================================== */
#areas-atuacao {
    background-image: url(../img/logo/icone-logo-azul-transparencia.png);
    background-repeat: no-repeat;
    background-size: 840px;
    background-position: calc(100vw - 440px) center;
    padding: 5% 15%;
    background-color: #FAFAFA;
}

#areas-atuacao h1 {
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    padding-bottom: 50px;
}

#areas-atuacao h2 {
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
}

#areas-atuacao p {
    font-size: 1em;
    padding: 10px;
    line-height: 1.6;
}

#areas-atuacao .especialista,
#areas-atuacao .mentor,
#areas-atuacao .treinamento,
#areas-atuacao .saude {
    border: 0.5px solid #7e7e7e;
    border-radius: 8px;
    padding: 20px;
    margin: 15px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* ==========================================
   Banner Tudo
   ========================================== */
#banner-tudo {
    background: #073A59;
    min-height: 55vh;
    text-align: center;
    padding: 8% 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#banner-tudo h1 {
    color: #FFFFFF;
    font-size: 1.6em;
    font-weight: 300;
    line-height: 1.5;
    padding: 1% 0;
}

#banner-tudo p {
    color: #FFFFFF;
    font-size: 1.1em;
    font-weight: 300;
    padding-top: 30px;
    font-style: italic;
}

/* ==========================================
   Sobre
   ========================================== */
#sobre {
    padding: 6% 15%;
    background-color: #FAFAFA;
    align-items: center;
}

#sobre .imagem-rinaldo {
    background-image: url(../img/banners/sobre-rinaldo.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    min-height: 450px;
}

#sobre section.texto-sobre {
    background-image: url(../img/logo/img-quem-sou.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 40%;
    text-align: left;
}

#sobre section article {
    position: relative;
    background: #FAFAFA;
    opacity: 0.95;
    padding: 8% 6%;
    margin-top: 5%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#sobre .texto-sobre h2 {
    font-size: 1.4em;
    padding-bottom: 15px;
}

#sobre .texto-sobre p {
    font-size: 1em;
    padding: 8px 0;
    line-height: 1.6;
}

#sobre section.texto-sobre div button {
    background-color: #12A2FA;
    border: none;
    border-radius: 4px;
    padding: 15px 30px;
    margin-top: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#sobre section.texto-sobre div button a {
    color: #FAFAFA;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}

#sobre section.texto-sobre div button:hover {
    background-color: #073A59;
}

/* ==========================================
   Banner Viva
   ========================================== */
#banner-viva {
    box-shadow: 0 10px 30px rgba(7, 58, 89, 0.08);
    width: 70%;
    margin: 60px auto;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

#banner-viva section.texto-acontecer {
    width: 50%;
    background: #FAFAFA url(../img/banners/icone-banner-viva-azul-transp.png);
    background-position: left center;
    background-size: 45%;
    background-repeat: no-repeat;
    text-align: left;
    padding: 7% 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#banner-viva .banner-badge {
    display: inline-block;
    background-color: rgba(18, 162, 250, 0.12);
    color: #12A2FA;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    width: fit-content;
}

#banner-viva section.texto-acontecer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25em;
    line-height: 1.7;
    color: #073A59;
    font-weight: 400;
    margin-bottom: 10px;
}

#banner-viva section.texto-acontecer button {
    background-color: #12A2FA;
    border: none;
    border-radius: 6px;
    padding: 16px 32px;
    margin-top: 25px;
    cursor: pointer;
    width: fit-content;
    box-shadow: 0 4px 14px rgba(18, 162, 250, 0.35);
    transition: all 0.3s ease;
}

#banner-viva section.texto-acontecer button a {
    color: #FAFAFA;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
}

#banner-viva section.texto-acontecer button:hover {
    background-color: #073A59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 58, 89, 0.3);
}

#banner-viva section.texto-viva {
    width: 50%;
    background: #073A59 url(../img/banners/icone-banner-viva-white-transp.png);
    background-position: right center;
    background-size: 55%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8% 6%;
}

#banner-viva section.texto-viva h1 {
    color: #FAFAFA;
    text-align: left;
    font-size: 2.8em;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 1px;
}

#banner-viva section.texto-viva h1 span {
    color: #12A2FA;
    font-weight: 700;
}

/* ==========================================
   Contato (Formulário)
   ========================================== */
#form {
    padding: 6% 15%;
    background-color: #FFFFFF;
}

#form .entre-em-contato {
    text-align: center;
    padding-bottom: 40px;
    font-size: 1.8em;
}

#form section.formulario {
    text-align: center;
}

#form section.formulario h2 {
    font-size: 1.3em;
    padding-bottom: 10px;
}

#form section.formulario p {
    font-size: 1em;
    padding-bottom: 20px;
}

#form section.formulario form {
    font-family: 'Open Sans', sans-serif;
    color: #073A59;
    font-size: 1em;
    text-align: left;
    border: 1px solid #12A2FA;
    border-radius: 8px;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    margin: 0 auto;
    background: #FAFAFA;
}

#form section.formulario label {
    font-weight: 600;
    font-size: 0.9em;
}

#form section.formulario input,
#form section.formulario textarea {
    border: 1px solid #12A2FA;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    margin-top: 5px;
    font-family: 'Open Sans', sans-serif;
}

#form section.formulario textarea {
    resize: vertical;
    height: 120px;
}

#form section.formulario button {
    color: #FAFAFA;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 500;
    background-color: #12A2FA;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

#form section.formulario button:hover {
    background-color: #073A59;
}

#form section.conversar {
    background-image: url(../img/banners/icone-banner-viva.png);
    background-repeat: no-repeat;
    background-size: 35%;
    background-position: center bottom;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

#form section.conversar h2 {
    font-size: 1.3em;
    padding-bottom: 10px;
}

#form section.conversar p {
    font-size: 1em;
    padding-bottom: 20px;
}

#form section.conversar ul {
    list-style: none;
}

#form section.conversar li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

#form section.conversar li img {
    width: 24px;
    margin-right: 12px;
}

#form section.conversar a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #073A59;
}

#form section.conversar a:hover {
    color: #12A2FA;
}

/* ==========================================
   Footer
   ========================================== */
#footer {
    background-color: #073A59;
    padding: 5% 15%;
    align-items: flex-start;
}

#footer section.logo-footer {
    text-align: left;
}

#footer section.logo-footer img {
    width: 200px;
    margin-bottom: 15px;
}

#footer p {
    color: #fafafa;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95em;
}

#footer section.redes-footer {
    text-align: center;
}

#footer section.redes-footer p {
    padding-bottom: 20px;
}

#footer section.redes-footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}

#footer section.redes-footer img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

#footer section.redes-footer img:hover {
    transform: scale(1.1);
}

#footer section.footer-nav {
    text-align: right;
}

#footer section.footer-nav ul {
    list-style: none;
}

#footer section.footer-nav ul li {
    padding: 6px 0;
}

#footer section.footer-nav ul a {
    color: #fafafa;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}

#footer section.footer-nav ul a:hover {
    color: #12A2FA;
}

#bottom-footer {
    background-color: #041E2F;
    padding: 22px 15%;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#bottom-footer p {
    color: #FFFFFF;
    font-size: 0.95em;
    font-weight: 500;
    letter-spacing: 0.2px;
    margin: 0;
}

#bottom-footer a {
    color: #12A2FA;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

#bottom-footer a:hover {
    color: #55C2FF;
    text-decoration: underline;
}

#bottom-footer .codemate {
    width: 20px;
    height: auto;
    vertical-align: middle;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

#bottom-footer a:hover .codemate {
    transform: scale(1.15);
}

/* ==========================================
   Responsive Media Queries
   ========================================== */
@media only screen and (max-width: 1200px) {
    header #menu {
        padding: 20px 5%;
    }

    #slideshow div.text-banner {
        left: 8%;
        bottom: 150px;
        width: 80%;
    }

    #areas-atuacao {
        background-position: center bottom;
        background-size: 400px;
    }

    #sobre {
        padding: 6% 5%;
    }

    #sobre section article {
        left: 0;
        margin: 0;
        width: 100%;
    }

    #banner-viva section.texto-acontecer,
    #banner-viva section.texto-viva {
        width: 100%;
    }

    #form {
        padding: 6% 5%;
    }

    #footer {
        padding: 6% 5%;
        flex-direction: column;
        gap: 30px;
    }

    #footer section.logo-footer,
    #footer section.redes-footer,
    #footer section.footer-nav {
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    .flex50, .flex55, .flex30 {
        width: 100%;
    }

    #slideshow h1.text {
        font-size: 1.4em;
    }

    #areas-atuacao {
        padding: 8% 5%;
    }

    #banner-tudo h1 {
        font-size: 1.2em;
    }

    #sobre .imagem-rinaldo {
        display: none;
    }

    #form section.conversar {
        margin-top: 40px;
        background-image: none;
    }

    #bottom-footer {
        flex-direction: column;
        gap: 10px;
    }
}

/* Toast Notification & Loading States */
.form-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #073A59;
    color: #FAFAFA;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95em;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    border-left: 4px solid #12A2FA;
}

.form-toast.show {
    opacity: 1;
    transform: translateY(0);
}

button:disabled, input:disabled, textarea:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

