/* Fontes do Google */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --shadow-color: #e5e9ec;
  --primary-color: #0D219B;
  --secondary-color: #e06a0c;
  --green: #0D219B;
}

body {
    font-family: 'Kanit', serif;
    background: #f5f7f6;
    margin: 0;
    padding-top: 80px;
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: 4px solid var(--secondary-color);

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Logos responsivas */
.logo-compact {
    height: 50px;
    display: none;
}

.logo-full {
    height: 60px;
    display: block;
}


/* Área do título */
.title-area .title {
    font-size: 30px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    transition: color 0.3s ease;
    span {
        color: var(--secondary-color);
    }
}

.title-area .title:hover {
    color: var(--secondary-color);
    cursor: default;
}

.title-area .subtitle {
    font-size: 15px;
    opacity: 0.9;
    color: #d9e8d6;
}

/* Footer */
.footer {
    background-color: #e5e5e5;
    color: #333;
    font-size: 13px;
    border-top: 2px solid var(--secondary-color);
    width: 100%;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left div {
    line-height: 1.4;
    display: block;
}

.footer-right {
    text-align: right;
    line-height: 1.4;
    span {
        font-family: 'Open Sans', sans-serif !important;
    }
}

.footer-left i {
    margin-right: 6px;
}



.honeycomb .hex {
    position: relative;
    width: 9rem;
    height: 9rem;
    margin: 0 .2rem;
    clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%);
    background: #fff;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 .3rem .6rem rgba(0,0,0,.15);
    img {
        width: 50%;
        transition: transform .25s ease;
    }
    span {
        font-weight: 400;
        letter-spacing: .02rem;
        font-size: 0.9rem;
        display:block;
        max-width: 8rem;
        text-align: center;
        line-height: 1.1;
        word-break: break-word;
        white-space: normal;
    }
    .img-min {
        width: 48%;
    }
    .fs-min {
        font-size: 1.1rem;
    }
}

.hex::before {
    content:"";
    position:absolute;
    inset:0;
    background: var(--green);
    clip-path:polygon(
        0 25%,
        50% 0,
        100% 25%,
        100% 75%,
        50% 100%,
        0 75%
    );
    z-index:0;
}

/* hex branco */
.hex::after {
    content:"";
    position:absolute;
    inset:.1rem;
    background:#fff;
    clip-path:polygon(
        0 25%,
        50% 0,
        100% 25%,
        100% 75%,
        50% 100%,
        0 75%
    );
    z-index:1;
}

.hex img,
.hex span{
    position:relative;
    z-index:2;
}

.hex:hover{
    transform: translateY(-.2rem);
    border-color:#1ea34a;
    box-shadow:0 .6rem 1.2rem rgba(0,0,0,.15);
    img {
        transform: scale(1.05);
    }
}

.honeycomb.middle {
    margin-top: -1.8rem;
}

@media (max-width: 992px) {
    .honeycomb .hex {
        width: 7rem;
        height: 7rem;
        margin: .2rem;
    }

    .honeycomb .hex img {
        width: 45%;
    }

    .honeycomb .hex span {
        font-size: 1rem;
    }

    .honeycomb .hex .img-min {
        width: 45%;
    }
    .honeycomb .hex .fs-min {
        font-size: .82rem;
    }
}

@media (max-width: 620px) {
    .logo-compact {
        display: block;
    }
    .logo-full {
        display: none;
    }

    .footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .footer-left, .footer-right {
        text-align: center;
    }
}

@media (min-width: 620px) {
    .footer {
        position: fixed;
        bottom: 0;
    }
}


@media (hover:hover){
    .hex:hover{
        transform: translateY(-.2rem) scale(1.02);
    }
}