/* ------------------------------------------------------ */
/*  BASE                                                  */
/* ------------------------------------------------------ */

html {
    overflow-y: scroll;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #f7f8fb;
    color: #1f2937;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    margin: auto;
    max-width: 1100px;
}

h1, h2, h3 {
    font-weight: 600;
    color: #1f2937;
}

/* ------------------------------------------------------ */
/*  HEADER                                                */
/* ------------------------------------------------------ */

header {
    background: #111827;
    padding: 14px 0;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1200;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 52px;
}

.logo-title {
    color: white;
    font-size: 20px;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.restrito-btn {
    background: #2563eb;
    padding: 10px 16px;
    border-radius: 6px;
}

.restrito-btn:hover {
    background: #1e47c7;
    transform: translateY(-2px);
}

/* ------------------------------------------------------ */
/*  HAMBURGER (Mobile)                                    */
/* ------------------------------------------------------ */

.hamburger {
    display: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    position: relative;
    background: transparent;
    border: none;
    padding: 6px;
    border-radius: 8px;
    transition: background 160ms ease;
}

.hamburger span {
    position: absolute;
    left: 6px;
    right: 6px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: transform 220ms ease, opacity 220ms ease;
}

.hamburger span:nth-child(1){ top: 8px; }
.hamburger span:nth-child(2){ top: 16px; }
.hamburger span:nth-child(3){ top: 24px; }

.hamburger.active span:nth-child(1){
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2){
    opacity:0;
}
.hamburger.active span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {

    .nav-menu {
        display: none;
        position: absolute;
        top: 68px;
        right: 0;
        width: 100%;
        background: #111827;
        padding: 20px 0;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* ------------------------------------------------------ */
/*  HERO                                                  */
/* ------------------------------------------------------ */

.hero {
    position: relative;
    background: url("assets/hero.png") center/cover no-repeat;
    padding: 160px 0;
    text-align: center;
    color: white;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17,24,39,0.84);
}

.hero .content {
    position: relative;
    max-width: 740px;
    margin: auto;
    z-index: 2;
}

.hero h3 {
    font-size: 40px;
    font-weight: 700;
    color: white;
}

.hero h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.hero p {
    font-size: 18px;
    opacity: 0.92;
    color: white;
}

.hero .cta-button {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 26px;
    background: white;
    color: #1e3a8a;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.hero .cta-button:hover {
    background: #f7f7f7;
    transform: translateY(-2px);
}

/* ------------------------------------------------------ */
/*  SEÇÕES BASE                                           */
/* ------------------------------------------------------ */

.section {
    padding: 90px 0;
}

.section.alt {
    background: #eef3ff;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.sobre-img {
    width: 100%;
}

/* ------------------------------------------------------ */
/*  REVEAL ANIMATIONS                                     */
/* ------------------------------------------------------ */

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all .6s ease-out;
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------ */
/*  VALORES (Cards)                                       */
/* ------------------------------------------------------ */

.valor-icon {
    width: 38px;       /* tamanho ideal dos ícones */
    height: 38px;
    object-fit: contain;
    margin-right: 10px;
    vertical-align: middle;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.1)); /* leve definição */
}

.valores-grid h3 {
    display: flex;
    align-items: center;
    gap: 10px;          /* separação texto/icone */
    font-weight: 600;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 28px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    margin-top: 0;
    font-size: 20px;
    color: #0f4fd1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    font-size: 22px;
}

/* ------------------------------------------------------ */
/*  CLIENTES – Carousel WAAPI                             */
/* ------------------------------------------------------ */

.clientes-section {
    background: #fff;
    text-align: center;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.carousel-wrapper.narrow {
    padding: 18px 0;
}

.carousel-track-wrap {
    display: flex;
    gap: 28px;
    align-items: center;
    will-change: transform;
}

.carousel-track {
    display: flex;
    gap: 28px;
    flex-shrink: 0;
    align-items: center;
}

.carousel-track img {
    width: clamp(72px, 10vw, 120px);
    opacity: 0.95;
    transition: 0.2s;
    cursor: pointer;
}

.carousel-track img:hover {
    transform: scale(1.06);
}

/* Tooltip */
#carousel-tooltip {
    position: absolute;
    bottom: 100%;
    background: rgba(22, 24, 28, 0.96);
    padding: 8px 12px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    opacity: 0;
    white-space: nowrap;
    transform: translateY(-12px);
    transition: opacity .15s ease;
}

/* ------------------------------------------------------ */
/*  CONTATO                                               */
/* ------------------------------------------------------ */

#contato {
    background: #eef3ff;
    text-align: center;
}

.email-btn {
    display: block;
    background: #2563eb;
    padding: 14px 20px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    text-align: center;
    margin: 18px auto 0 auto;
    transition: 0.2s ease;
}

.email-btn:hover {
    background: #1e47c7;
    transform: translateY(-2px);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
    gap: 40px;
}

.contato-texto {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* imagem */
.contato-imagem img {
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    object-fit: cover;    
}

/* responsividade */
@media (max-width: 900px) {
    .contato-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contato-imagem img {
        margin: 0 auto;
    }
}

/* ------------------------------------------------------ */
/*  FOOTER                                                */
/* ------------------------------------------------------ */

footer {
    background: #0d1320;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
}

footer p {
    opacity: 0.8;
}

/* ------------------------------------------------------ */
/* RESPONSIVIDADE                                         */
/* ------------------------------------------------------ */

@media(max-width: 768px){
    .carousel-track img { width: clamp(56px, 16vw, 86px); }
}

@media(max-width: 480px){
    .carousel-track img { width: clamp(48px, 22vw, 72px); }
}

/* ------------------------------------------------------ */
/* Área Restrita                                          */
/* ------------------------------------------------------ */

.restrito-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.restrito-container {
    text-align: center;    
}

.cta-button {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
}

.cta-button:hover {
    background: #1e47c7;
    transform: translateY(-2px);
}

.restrito-logo {
    display: block;
    margin: 20px auto;
    max-width: 200px;
    width: 100%;
    height: auto;
}

.back-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 20px;
    background: #6b7280;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* ------------------------------------------------------ */
/*  CONTEÚDO LEGAL / INSTITUCIONAL                        */
/* ------------------------------------------------------ */

.legal-content p {
    margin-bottom: 18px;
    line-height: 1.7;
}

.legal-content h2 {
    margin-bottom: 28px;
}

.legal-content h3 {
    margin-top: 36px;
    margin-bottom: 14px;
}

/* ------------------------------------------------------ */
/* Microsoft Forms – Termo LGPD                           */
/* ------------------------------------------------------ */

.forms-wrapper {
    width: 100%;
    margin-top: 40px;
}

/* Desktop */
.forms-wrapper iframe {
    width: 100%;
    min-height: 1200px; /* garante formulário inteiro */
    border: none;
}

/* Mobile */
@media (max-width: 768px) {
    .forms-wrapper iframe {
        min-height: 1500px;
    }
}

/* ------------------------------------------------------ */
/*  VISUALIZAÇÃO DE PDF – POLÍTICA DE PRIVACIDADE         */
/* ------------------------------------------------------ */

.pdf-viewer-section h2 {
    text-align: center;
    margin-bottom: 10px;
}

.pdf-viewer {
    width: 100%;
    height: 85vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    background: #fff;
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile */
@media (max-width: 768px) {
    .pdf-viewer {
        height: 80vh;
    }
}

.policy-status {
    text-align: center;
    margin-top: 40px;
}

.policy-status hr {
    width: 240px;
    margin: 16px auto;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.signature-note {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pdf-download a {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.pdf-download a:hover {
    text-decoration: underline;
}

.download-hint {
    margin-top: 10px;
    font-size: 13px;
    color: #6b7280;
}
