﻿:root {
    --bg: #f4f7fc;
    --surface: #ffffff;
    --ink: #12233b;
    --muted: #51627a;
    --primary: #0b2d6b;
    --secondary: #1f6fb2;
    --line: #d3deed;
    --radius: 14px;
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #d8e2f1 0%, #c5d3e8 100%);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: linear-gradient(120deg, #0a2f73, #0f3f93);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid rgba(210, 28, 36, 0.85);
    box-shadow: 0 8px 22px rgba(8, 31, 69, 0.28);
}

.brand {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f4f8ff;
}

.brand-logo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #c6d6ef;
}

.home-logo {
    width: min(180px, 45vw);
    border-radius: 14px;
    border: 1px solid #c6d7cc;
    background: #fff;
    padding: 0.35rem;
}

.home-banner-box {
    position: relative;
    margin-top: 0.65rem;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.home-banner-bleed {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.home-banner {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.home-banner-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(11, 45, 107, 0.78);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(199, 26, 43, 0.45) inset;
    border-radius: 999px;
    padding: 0.28rem 0.72rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.menu-toggle {
    border: 0;
    background: transparent;
}

.menu-toggle .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28244,248,255,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-nav .main-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    font-weight: 600;
    color: #edf3ff;
    transition: all 0.2s ease;
}

.site-nav .main-nav-link:hover,
.site-nav .show > .main-nav-link {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.site-nav .dropdown-menu {
    border: 1px solid #c4d7f3;
    border-radius: 14px;
    box-shadow: 0 16px 30px rgba(17, 47, 96, 0.2);
    background: #f5f9ff;
    min-width: 240px;
}

.site-nav .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.8rem;
    font-weight: 600;
    color: #274673;
}

.site-nav .dropdown-item i {
    color: #2c6bb7;
}

.site-nav .dropdown-item:hover {
    background: #e9f0fb;
    color: #10458f;
}

.hero {
    padding: 0.35rem 0 1rem;
    background: transparent;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(1.5rem, 3.1vw, 2.55rem);
    line-height: 1.16;
    margin: 0.9rem 0 0.35rem;
    max-width: 100%;
}

.hero-content p {
    color: var(--muted);
    max-width: 52ch;
}

.tag {
    display: inline-block;
    border: 1px solid #9db8df;
    color: var(--primary);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.section {
    padding: 3rem 0;
}

.section-alt {
    background: transparent;
}

.campaign-highlight,
.home-about,
.home-links-section,
.home-institution {
    background: transparent;
}

.home-info-card {
    background: transparent;
}

.section.home-about {
    padding-top: 1.75rem;
}

.home-about-card {
    background: #ffffff;
    border: 1px solid #c9d8ee;
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    text-align: center;
}

.home-about-card p {
    margin: 0;
    line-height: 1.55;
}

.home-links-card {
    background: transparent;
}

.grid-2 {
    display: grid;
    gap: 1rem;
}

.section-head {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
}

.feature-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
}

.cards {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.links-cards {
    margin-top: 0;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
}

.avatar {
    aspect-ratio: 1;
    border-radius: 12px;
    background: linear-gradient(135deg, #dfe8e2, #cfd9d3);
    background-size: cover;
    background-position: center;
}

.person-photo,
.zoomable {
    cursor: zoom-in;
}

.person-photo {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #cfdbd3;
}

.page-top {
    padding: 3.2rem 0 1.2rem;
    background: transparent;
    border-bottom: 1px solid var(--line);
}

.gallery-grid {
    margin-top: 1.2rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-grid figure {
    margin: 0;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-grid figcaption {
    padding: 0.75rem;
    color: var(--muted);
}

.gallery-grid.media-showcase {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-grid.media-showcase figure {
    border: 0;
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(20, 42, 34, 0.12);
}

.gallery-grid.media-showcase img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gallery-grid.media-showcase figcaption {
    background: #ffffff;
    padding: 0.65rem 0.75rem;
}

.muted {
    color: var(--muted);
}

.campaign-highlight {
    padding-top: 0;
}

.campaign-box {
    background: #e7f2ea;
    border: 1px solid #c4d9c9;
    background: linear-gradient(145deg, color-mix(in srgb, var(--campaign-color) 18%, white), #ffffff);
    border: 1px solid color-mix(in srgb, var(--campaign-color) 40%, #d8ddd8);
    border-radius: 18px;
    padding: 1rem;
    display: grid;
    gap: 1rem;
    align-items: center;
}

.campaign-box img {
    width: 100%;
    border-radius: 12px;
    height: auto;
    max-height: min(62vh, 420px);
    object-fit: contain;
    object-position: center;
    display: block;
    margin-inline: auto;
    background: transparent;
}

.campaign-kicker {
    margin: 0;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2b4f87;
    font-weight: 700;
}

.region-list {
    display: grid;
    gap: 1rem;
}

.region-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 1rem;
}

.city-line {
    margin-top: 0.8rem;
    border-top: 1px dashed #cad3cc;
    padding-top: 0.8rem;
    display: grid;
    gap: 0.8rem;
}

.city-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.city-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem;
    background: #fff;
    display: grid;
    gap: 0.75rem;
    align-content: space-between;
}

.atendimento-layout {
    display: grid;
    gap: 1rem;
}

.atendimento-main {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 0.9rem;
}

.atendimento-toolbar {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
}

.atendimento-toolbar input {
    width: 100%;
}

.atendimento-map {
    width: 100%;
    min-height: 360px;
    border-radius: 12px;
    border: 1px solid #cbd8cf;
    overflow: hidden;
}

.map-hint {
    margin: 0.55rem 0 0;
    font-size: 0.85rem;
}

.atendimento-sellers {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 0.9rem;
}

.atendimento-sellers h2 {
    margin: 0 0 0.7rem;
    font-size: 1.1rem;
}

.seller-list {
    display: grid;
    gap: 0.7rem;
}

.seller-card {
    border: 1px solid #d4ddd7;
    border-radius: 12px;
    padding: 0.7rem;
    display: grid;
    gap: 0.35rem;
}

.seller-card h3 {
    margin: 0;
    font-size: 1rem;
}

.seller-card p {
    margin: 0;
    font-size: 0.86rem;
}

.atendimento-city-card {
    gap: 0.8rem;
}

.city-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.narrow {
    max-width: 700px;
}

.form-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
}

label {
    display: grid;
    gap: 0.45rem;
    font-weight: 600;
}

input,
textarea,
select,
button {
    font: inherit;
}

input,
textarea,
select {
    border: 1px solid #bcc9c1;
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
}

.btn-primary,
.btn-secondary,
button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    border: 0;
    cursor: pointer;
}

.btn-primary,
button {
    background: var(--primary);
    color: #fff;
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
    width: fit-content;
}

.link-more {
    color: var(--secondary);
    font-weight: 700;
}

.timeline {
    display: grid;
    gap: 1.1rem;
}

.timeline-item {
    display: grid;
    gap: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
}

.timeline-year {
    width: fit-content;
    background: #e3ecfb;
    color: #1a4c93;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
}

.timeline-content img {
    border-radius: 10px;
    margin-top: 0.8rem;
    width: 100%;
    max-width: 520px;
}

.culture-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.culture-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem;
    display: grid;
    gap: 0.8rem;
}

.culture-card img {
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.stories-grid {
    display: grid;
    gap: 1rem;
}

.story-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
}

.story-card img {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

.story-card > div {
    padding: 1rem;
}

.story-card h2 {
    margin-bottom: 0.45rem;
}

.story-card p {
    margin-bottom: 0.65rem;
}

.story-meta {
    color: var(--secondary);
    font-weight: 700;
    margin: 0 0 0.3rem;
    line-height: 1.2;
    font-size: 0.92rem;
}

.story-person {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.story-role {
    margin: 0;
    color: #4f5f5a;
    font-size: 0.86rem;
    line-height: 1.2;
}

.moment-block + .moment-block {
    margin-top: 2rem;
}

.birthdays {
    background: transparent;
}

.birthday-head p {
    color: var(--muted);
}

.birthday-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.birthday-card {
    position: relative;
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 14px;
    padding: 0.9rem;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    text-align: left;
}

.birthday-photo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #d7e3f4;
    margin: 0;
    grid-column: 1;
    grid-row: 1;
}

.birthday-text {
    grid-column: 2;
    min-width: 0;
}

.birthday-name {
    margin: 0;
    width: 100%;
    font-size: clamp(0.94rem, 1.7vw, 1.06rem);
    line-height: 1.12;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.birthday-role {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.birthday-day {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.party-icon {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    color: #2e6eb8;
    font-size: 1rem;
}

.birthday-empty {
    border: 1px dashed var(--line);
    background: #ffffff;
    border-radius: 10px;
    padding: 0.9rem;
}

.work-anniversaries {
    background: transparent;
}

.work-anniversaries .birthday-head p {
    color: var(--muted);
}

.work-anniversaries .work-card {
    border-color: var(--line);
    background: #ffffff;
}

.products-groups {
    display: grid;
    gap: 1.5rem;
}

.products-group h2 {
    margin-bottom: 0.8rem;
}

.products-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    display: grid;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-card figcaption {
    padding: 0.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    text-wrap: balance;
}

.product-card.brand-card {
    padding: 0.7rem 0.7rem 0.85rem;
    align-content: start;
}

.product-card.brand-card img {
    width: min(100%, 160px);
    height: 110px;
    margin: 0 auto;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e2e8e5;
    border-radius: 10px;
    padding: 0.45rem;
}

.product-card.brand-card figcaption {
    padding: 0.7rem 0.2rem 0.1rem;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .hero {
        padding-bottom: 0.55rem;
    }

    .section.home-about {
        padding-top: 1rem;
    }

    .home-about .container {
        text-align: center;
    }

    .home-about-card p {
        margin-inline: auto;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .product-carousel .carousel-item.product-item-logo img,
    .product-carousel .carousel-item.product-item-photo img,
    #timeHomeCarousel .carousel-item img,
    #timeCarousel .carousel-item img {
        transform: none;
    }

    .product-card.brand-card {
        background: transparent;
        border-color: rgba(11, 45, 107, 0.18);
        padding: 0.55rem 0.45rem 0.6rem;
    }

    .product-card.brand-card img {
        width: 100%;
        max-width: 100%;
        height: clamp(96px, 29vw, 136px);
        object-fit: contain;
        background: transparent;
        border: 1px solid rgba(11, 45, 107, 0.12);
        border-radius: 10px;
        padding: 0.25rem;
    }

    .product-card.brand-card figcaption {
        padding: 0.45rem 0.15rem 0.05rem;
        min-height: 2.2rem;
        font-size: 0.95rem;
    }

    #produtosCarousel .carousel-caption h5 {
        font-size: 0.96rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #produtosCarousel .product-slide-link {
        padding-bottom: 44px;
    }

    #produtosCarousel .carousel-caption {
        min-height: 44px;
        padding: 0.28rem 0.75rem 0.3rem;
    }
}

.external-note {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #edf6ff;
    border: 1px solid #c8def8;
    color: #27507b;
}

.site-footer {
    background: #0a1f45;
    color: #dbe6f7;
    padding: 1.25rem 0 0.7rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    gap: 0.75rem;
}

.footer-grid h4 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.footer-grid p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.35;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-item i {
    color: #8fb9f1;
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 0.65rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(219, 230, 247, 0.2);
}

.footer-bottom small {
    color: #b7c9e5;
    font-size: 0.76rem;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #1fa64a;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(14, 93, 39, 0.3);
}

.gente-carousel .carousel-item img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 14px;
}

.gente-carousel .carousel-caption,
.team-carousel .carousel-caption,
.product-carousel .carousel-caption {
    background: linear-gradient(180deg, rgba(8, 31, 69, 0), rgba(8, 31, 69, 0.88));
    border-radius: 0 0 14px 14px;
    border-top: 2px solid rgba(72, 140, 226, 0.7);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.2rem 1rem 0.7rem;
}

#produtosCarousel .carousel-item {
    background: transparent;
    padding-bottom: 0;
}

#produtosCarousel .product-slide-link {
    padding-bottom: 58px;
}

#timeHomeCarousel .carousel-item,
#timeCarousel .carousel-item {
    background: transparent;
    padding-bottom: 98px;
}

#produtosCarousel .carousel-caption {
    min-height: 58px;
    padding: 0.45rem 0.9rem 0.45rem;
}

#produtosCarousel .carousel-caption h5 {
    margin: 0;
    line-height: 1.18;
}

#timeHomeCarousel .carousel-caption,
#timeCarousel .carousel-caption {
    min-height: 98px;
    padding: 0.75rem 1rem 0.65rem;
}

.gente-carousel .carousel-control-prev-icon,
.gente-carousel .carousel-control-next-icon,
.team-carousel .carousel-control-prev-icon,
.team-carousel .carousel-control-next-icon,
.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
    background-color: rgba(11, 45, 107, 0.72);
    border-radius: 999px;
    background-size: 52% 52%;
    padding: 1.05rem;
    box-shadow: 0 6px 14px rgba(8, 33, 78, 0.25);
}

.team-carousel .carousel-item img,
.product-carousel .carousel-item img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    object-position: center top;
    border-radius: 14px;
}

.product-carousel .carousel-item {
    background: transparent;
}

.product-carousel .carousel-item.product-item-logo img {
    height: clamp(120px, 22vw, 190px);
    max-height: none;
    object-fit: contain;
    object-position: center top;
    background: transparent;
    border: 0;
    padding: 0.35rem 0.55rem;
    transform: translateY(-10px);
}

.product-carousel .carousel-item.product-item-photo img {
    height: clamp(120px, 22vw, 200px);
    max-height: none;
    object-fit: contain;
    object-position: center top;
    padding: 0.35rem 0.55rem;
    transform: translateY(-6px);
}

#genteCarousel .carousel-item,
#timeHomeCarousel .carousel-item {
    background: transparent;
}

#genteCarousel .carousel-item {
    padding-bottom: 40px;
}

#genteCarousel .carousel-item img,
#timeHomeCarousel .carousel-item img {
    height: clamp(220px, 42vw, 360px);
    max-height: none;
    object-fit: contain;
    background: transparent;
    border: 0;
    border-radius: 14px;
    padding: 0.25rem 0.45rem;
}

#genteCarousel .carousel-item img {
    object-position: center top;
    transform: translateY(-4px);
    padding-bottom: 0;
}

#genteCarousel .carousel-caption {
    min-height: 40px;
    padding: 0.2rem 0.85rem 0.25rem;
}

#genteCarousel .carousel-caption h5 {
    margin: 0;
    font-size: clamp(0.95rem, 1.7vw, 1.08rem);
    line-height: 1.14;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#timeCarousel .carousel-item {
    background: transparent;
}

#timeCarousel .carousel-item img {
    height: clamp(220px, 42vw, 360px);
    max-height: none;
    object-fit: contain;
    object-position: center top;
    background: transparent;
    border: 0;
    border-radius: 14px;
    padding: 0.25rem 0.45rem;
    transform: none;
}

#timeHomeCarousel .carousel-item img {
    object-position: center top;
    transform: none;
}

.team-carousel .carousel-caption h5,
#timeHomeCarousel .carousel-caption h5 {
    margin: 0 0 0.2rem;
    font-size: clamp(0.95rem, 1.8vw, 1.12rem);
    line-height: 1.14;
    text-wrap: balance;
}

.team-carousel .carousel-caption p,
#timeHomeCarousel .carousel-caption p {
    margin: 0 0 0.15rem;
    font-size: 0.82rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.team-carousel .carousel-caption small,
#timeHomeCarousel .carousel-caption small {
    font-size: 0.76rem;
    opacity: 0.95;
}

.product-slide-link {
    display: block;
    position: relative;
}

.product-badge {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(84, 143, 224, 0.28);
    border: 1px solid rgba(173, 206, 248, 0.72);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.institution-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.institution-card {
    display: grid;
    gap: 0.65rem;
    align-content: start;
}

.team-accordion {
    display: grid;
    gap: 0.55rem;
}

.team-area-block + .team-area-block {
    margin-top: 0;
}

.team-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.46);
}

.team-area-title {
    margin: 0;
}

.team-accordion .accordion-button {
    font-weight: 700;
    color: #133867;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.75rem 0.95rem;
}

.team-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.18rem rgba(31, 111, 178, 0.2);
}

.team-accordion .accordion-button:not(.collapsed) {
    color: #0b2d6b;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: none;
}

.team-accordion .accordion-body {
    padding: 0.7rem;
}

.team-cards {
    margin-top: 0;
    gap: 0.5rem;
}

.team-member-card {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    text-align: center;
}

.team-member-card .person-photo {
    width: 112px;
    max-width: 100%;
    aspect-ratio: 1/1;
    margin: 0 auto 0.4rem;
}

.team-name {
    margin: 0;
    width: 100%;
    font-size: clamp(0.94rem, 1.6vw, 1.1rem);
    line-height: 1.14;
    font-weight: 400;
    text-wrap: balance;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-role {
    margin: 0;
    width: 100%;
    font-size: 0.82rem;
    line-height: 1.18;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.team-tenure {
    margin-top: 0.1rem;
    font-size: 0.78rem;
    line-height: 1.15;
    color: #5d6862;
}

@media (min-width: 992px) {
    .birthday-card {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 0.55rem;
        padding: 0.75rem;
    }

    .birthday-photo {
        width: 64px;
        height: 64px;
    }

    .birthday-name {
        font-size: clamp(0.82rem, 0.95vw, 0.94rem);
        line-height: 1.14;
        -webkit-line-clamp: 3;
    }

    .birthday-role {
        font-size: 0.68rem;
        line-height: 1.14;
    }

    .birthday-day {
        font-size: 0.74rem;
    }

    .team-member-card .person-photo {
        width: clamp(96px, 8.6vw, 120px);
        aspect-ratio: 3 / 4;
        object-fit: cover;
        object-position: center 20%;
        margin-bottom: 0.35rem;
    }

    .team-name {
        font-size: clamp(0.84rem, 0.92vw, 0.96rem);
        line-height: 1.12;
        -webkit-line-clamp: 3;
    }

    .team-role {
        font-size: 0.72rem;
        line-height: 1.14;
    }

    .team-tenure {
        font-size: 0.72rem;
    }
}

.image-viewer-frame {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

#imageViewerImg {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.image-nav.prev {
    left: 1rem;
}

.image-nav.next {
    right: 1rem;
}

.flash {
    width: min(100% - 2rem, var(--container));
    margin: 0.8rem auto 0;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-weight: 600;
}

.flash.success {
    background: #daf4e2;
    color: #0e6a2f;
    border: 1px solid #9dd9af;
}

.flash.error {
    background: #ffe5e5;
    color: #8f2424;
    border: 1px solid #f2b2b2;
}

@media (min-width: 860px) {
    .grid-2 {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: start;
    }

    .atendimento-layout {
        grid-template-columns: 1.35fr 0.65fr;
        align-items: start;
    }

    .city-line {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .campaign-box {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .timeline-item {
        grid-template-columns: 110px 1fr;
        align-items: start;
    }

    .stories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gente-carousel .carousel-item img {
        max-height: 420px;
    }

    .team-carousel .carousel-item img,
    .product-carousel .carousel-item img {
        max-height: 440px;
    }

}

@media (max-width: 420px) {
    .brand {
        font-size: 0.95rem;
    }

    .brand-logo {
        width: 30px;
        height: 30px;
    }

    .whatsapp-float {
        bottom: 0.7rem;
        right: 0.7rem;
        padding: 0.6rem 0.85rem;
    }
}

@media (max-width: 991px) {
    .site-nav .dropdown-menu {
        border: 0;
        box-shadow: none;
        background: transparent;
        padding-top: 0;
        margin-top: 0;
    }

    .site-nav .dropdown-item {
        border-radius: 10px;
        color: #edf3ff;
    }

    .site-nav .dropdown-item i {
        color: #cfe1ff;
    }

    .site-nav .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.14);
        color: #ffffff;
    }
}

@media (max-width: 767px) {
    #produtosCarousel .product-slide-link {
        padding-bottom: 44px !important;
    }

    #produtosCarousel .carousel-caption {
        min-height: 44px !important;
        padding: 0.28rem 0.75rem 0.3rem !important;
    }

    #genteCarousel .carousel-item img {
        transform: translateY(0);
    }

    #genteCarousel .carousel-caption {
        min-height: 36px;
        padding: 0.15rem 0.65rem 0.2rem;
    }

    #genteCarousel .carousel-item {
        padding-bottom: 36px;
    }

    #genteCarousel .carousel-caption h5 {
        font-size: 0.9rem;
    }
}
