/* 
    ======================================
    OXQUIM - CSS GLOBAL E ESTRUTURAL
    Focado em Performance e Core Web Vitals
    ======================================
*/

:root {
    /* Cores Institucionais e Premium */
    --color-primary: #2b3a79;
    /* Azul Institucional */
    --color-secondary: #0056b3;
    /* Azul hover/link secundário (ajustado para harmonizar) */
    --color-dark: #363432;
    /* Cinza Escuro Institucional */
    --color-light: #f8fafc;
    --color-white: #ffffff;
    /* Branco Institucional */
    --color-gray: #64748b;
    --color-gray-light: #e2e8f0;
    --color-border: #cbd5e1;
    --color-black: #1a1a1a;

    /* Tipografia (Herdando Google Fonts) */
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Open Sans', Arial, sans-serif;

    /* Grid & Spacing */
    --container-width: 1140px;
    --container-padding: 24px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 64px;
    --space-xxl: 96px;

    /* Efeitos / Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-soft: 0 24px 70px rgba(9, 22, 56, 0.12);
    --shadow-card: 0 22px 50px rgba(17, 28, 68, 0.10);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --surface-glass: rgba(255, 255, 255, 0.72);
    --surface-dark: #0d1738;
    --color-accent: #56b7ff;

    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset e Otimização para Browser Rendering */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background:
        radial-gradient(circle at top left, rgba(86, 183, 255, 0.12), rgba(86, 183, 255, 0) 28%),
        linear-gradient(180deg, #f7faff 0%, #ffffff 18%, #f5f8fd 100%);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    font-weight: 700;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
}

ul,
ol {
    list-style: none;
}

body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
    -webkit-user-select: text;
    user-select: text;
}

/* Utilities Globais */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.text-light {
    color: var(--color-white) !important;
}

.mt-2 {
    margin-top: var(--space-md);
}

.mt-4 {
    margin-top: var(--space-xl);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Botões Modernos e Claros */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 16px 30px rgba(17, 28, 68, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, #153f8a 0%, #2b67b8 100%);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(15, 53, 112, 0.28);
    color: var(--color-white);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--color-primary);
    border-color: rgba(43, 58, 121, 0.24);
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(14, 28, 67, 0.14);
}

.btn-whatsapp-quote {
    gap: 8px;
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-size: 0.9rem;
    padding: 10px 20px;
}

.text-light .btn-outline,
.oxq-hero__inner .btn-outline {
    color: var(--color-white);
    border-color: var(--color-white);
}

.text-light .btn-outline:hover,
.oxq-hero__inner .btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* =======================================
   HEADER / NAVEGAÇÃO
   ======================================= */
.header {
    background: rgba(255, 255, 255, 0.76);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.10);
    backdrop-filter: blur(20px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    gap: 24px;
}

.logo img {
    height: 60px;
    /* Logo Control */
    object-fit: contain;
}

.nav-menu {
    display: flex;
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 10px 12px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.48));
    box-shadow:
        0 18px 34px rgba(17, 28, 68, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
}

.nav-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.96rem;
    padding: 12px 16px;
    position: relative;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 999px;
    line-height: 1;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 0;
    background-color: transparent;
    transition: var(--transition);
}

.nav-link:hover {
    color: #143a7f;
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 10px 24px rgba(17, 28, 68, 0.05);
}

.has-dropdown {
    position: relative;
}

.nav-icon {
    font-size: 0.8em;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.has-dropdown:hover .nav-icon,
.has-dropdown.active .nav-icon {
    transform: rotate(180deg);
}

/* Dropdown Básico (Escondido por default) */
.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 1001;
    width: min(320px, calc(100vw - 32px));
    max-height: min(520px, calc(100vh - 140px));
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: var(--transition);
    border: 1px solid rgba(43, 103, 184, 0.10);
    border-radius: 20px;
    padding: 10px;
    backdrop-filter: blur(18px);
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown::-webkit-scrollbar {
    width: 8px;
}

.dropdown::-webkit-scrollbar-track {
    background: rgba(223, 232, 247, 0.7);
    border-radius: 999px;
}

.dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1d4f9f 0%, #2b67b8 100%);
    border-radius: 999px;
}

.dropdown a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--color-primary);
    font-weight: 500;
    line-height: 1.2;
}

.dropdown a:hover {
    background: rgba(43, 103, 184, 0.08);
    color: var(--color-primary);
}

.btn-contato {
    background: linear-gradient(135deg, #153f8a 0%, #2b67b8 100%);
    color: var(--color-white);
    padding: 13px 22px;
    border-radius: 999px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 16px 28px rgba(15, 53, 112, 0.24);
}

.nav-item:last-child .btn-contato {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

.btn-contato:hover,
.btn-contato:focus,
.btn-contato:focus-visible {
    transform: translateY(-2px);
    color: var(--color-white);
    background: linear-gradient(135deg, #0f3474 0%, #245aa4 100%);
    box-shadow: 0 18px 32px rgba(15, 53, 112, 0.30);
}

.btn-contato:active,
.btn-contato.active {
    transform: translateY(0);
    color: var(--color-white);
    background: linear-gradient(135deg, #0c2b63 0%, #1d4f96 100%);
    box-shadow: 0 10px 20px rgba(15, 53, 112, 0.24);
}

.nav-link.active:not(.btn-contato) {
    color: #143a7f;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(218, 229, 247, 0.42));
    box-shadow: 0 10px 26px rgba(17, 28, 68, 0.06);
}

.btn-contato::after {
    display: none;
}

.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(43, 58, 121, 0.10);
    border-radius: 16px;
    font-size: 1.3rem;
    color: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(17, 28, 68, 0.10);
    transition: var(--transition);
}

.menu-toggle:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.92);
}

body.menu-open {
    overflow: hidden;
}

/* =======================================
   HERO BANNER
   ======================================= */
.oxq-hero {
    position: relative;
    min-height: 800px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 18%, rgba(80, 151, 232, 0.16), rgba(80, 151, 232, 0) 28%),
        radial-gradient(circle at 84% 22%, rgba(14, 181, 173, 0.12), rgba(14, 181, 173, 0) 26%),
        linear-gradient(135deg, rgba(7, 17, 31, 0.8) 0%, rgba(10, 26, 44, 0.8) 38%, rgba(13, 37, 52, 0.8) 72%, rgba(11, 23, 36, 0.8) 100%),
        url('../img/Compress_Banner-1-Desktop_-26-de-Agosto-de-2024-1.8ad1266256.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.oxq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 10, 19, 0.8) 0%, rgba(4, 10, 19, 0.42) 38%, rgba(4, 10, 19, 0.72) 100%);
    z-index: 0;
}

.oxq-hero__grid,
.oxq-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.oxq-hero__grid {
    z-index: 0;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 32%, transparent 92%);
}

.oxq-hero__glow {
    z-index: 0;
    background:
        radial-gradient(circle at 78% 36%, rgba(255, 214, 122, 0.14), rgba(255, 214, 122, 0) 22%),
        radial-gradient(circle at 80% 80%, rgba(80, 151, 232, 0.20), rgba(80, 151, 232, 0) 28%);
}

.oxq-hero__inner,
.oxq-hero__carousel {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}

.oxq-hero__inner {
    width: 100%;
    min-height: inherit;
}

.oxq-hero__carousel {
    width: 100%;
    min-height: inherit;
    padding: 112px 0 28px;
}

.oxq-hero__track {
    position: relative;
    min-height: calc(800px - 140px);
}

.oxq-hero .container {
    max-width: none;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.oxq-hero {
    --hero-side-safe-area: 280px;
}

.oxq-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s ease;
    transform: translate3d(0, 24px, 0);
}

.oxq-hero__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.oxq-hero__frame {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: stretch;
    min-height: calc(800px - 140px);
    height: auto;
    width: calc(100% - var(--hero-side-safe-area));
    margin: 0 auto;
    padding: 0;
    gap: 24px;
    overflow: hidden;
}

.oxq-hero .oxq-hero__frame {
    display: grid;
}

.oxq-hero__frame::before {
    content: none;
}

.oxq-hero__frame::after {
    content: none;
}

.oxq-hero__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 26px 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    gap: 0;
}

.oxq-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(232, 238, 248, 0.88);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.oxq-hero__eyebrow::before {
    content: none;
}

.oxq-hero__title {
    margin-bottom: 10px;
    font-size: clamp(2.15rem, 3.1vw, 3.45rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--color-white);
    max-width: none;
    text-wrap: balance;
}

.oxq-hero__description {
    max-width: 52ch;
    margin-bottom: 16px;
    font-size: 0.98rem;
    line-height: 1.58;
    color: rgba(225, 233, 245, 0.74);
}

.oxq-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    align-items: center;
    margin-top: 0;
    padding-top: 8px;
}

.oxq-hero__secondary-cta {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.oxq-hero__actions .btn {
    min-height: 46px;
    padding: 10px 18px;
    font-size: 0.94rem;
}

.oxq-hero__media {
    position: relative;
    min-height: 100%;
    height: auto;
    width: 100%;
    align-self: stretch;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(2, 8, 18, 0.32);
}

.oxq-hero__media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(5, 10, 20, 0.04), rgba(5, 10, 20, 0.48)),
        linear-gradient(135deg, rgba(108, 182, 217, 0.14), rgba(108, 182, 217, 0) 34%);
}

.oxq-hero__media::after {
    content: '';
    position: absolute;
    inset: 18px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    pointer-events: none;
}

.oxq-hero__media-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.03);
}

/* Painel hero com ícone SVG (sem foto) */
.oxq-hero__media--icon-card {
    background: linear-gradient(150deg, #eef1f8 0%, #dde4ef 55%, #cdd6e8 100%);
}

.oxq-hero__media--icon-card::before,
.oxq-hero__media--icon-card::after {
    display: none;
}

.oxq-hero__media-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 28px;
    padding: 40px;
}

.oxq-hero__media-icon {
    width: clamp(100px, 18vw, 160px);
    height: clamp(100px, 18vw, 160px);
    color: var(--color-primary);
}

.oxq-hero__media-icon svg {
    width: 100%;
    height: 100%;
}

.oxq-hero__media-icon-label {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.oxq-hero__nav {
    position: absolute;
    top: calc(50% - 40px);
    z-index: 3;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(145%);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-50%);
    transition: var(--transition);
}

.oxq-hero__nav::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.oxq-hero__nav:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.08));
    color: var(--color-white);
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.oxq-hero__nav--prev {
    left: clamp(28px, 4vw, 56px);
}

.oxq-hero__nav--next {
    right: clamp(28px, 4vw, 56px);
}

.oxq-hero__footer {
    position: relative;
    z-index: 2;
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: calc(100% - var(--hero-side-safe-area));
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    padding: 9px 13px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 18px 32px rgba(2, 8, 18, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px) saturate(140%);
    justify-content: center;
    justify-items: center;
}

.oxq-hero__counter {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: rgba(230, 237, 246, 0.72);
    font-family: var(--font-heading);
    letter-spacing: 0.06em;
    justify-self: center;
    font-size: 0.82rem;
}

.oxq-hero__counter strong {
    font-size: 0.98rem;
    color: var(--color-white);
}

.oxq-hero__dots {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-self: center;
}

.oxq-hero__dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    transition: var(--transition);
}

.oxq-hero__dot.is-active {
    width: 24px;
    background: linear-gradient(90deg, rgba(87, 158, 201, 0.98), rgba(148, 214, 240, 0.9));
}

main section {
    position: relative;
}

/* =======================================
   SOBRE INSTITUCIONAL
   ======================================= */
.sobre-section {
    padding: var(--space-xxl) 0;
    background: transparent;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: center;
    padding: 48px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}

.sobre-img-container {
    display: flex;
    justify-content: center;
}

.sobre-img {
    max-width: 300px;
    width: 100%;
    filter: drop-shadow(0 24px 44px rgba(43, 58, 121, 0.16));
}

.section-title {
    position: relative;
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.section-title::after {
    content: none;
}

.sobre-texto p {
    font-size: 1.08rem;
    margin-bottom: var(--space-lg);
    color: #5d6b86;
    max-width: 60ch;
}

/* =======================================
   SEGMENTOS GRID
   ======================================= */
.segmentos-section {
    padding: var(--space-xxl) 0;
    background:
        radial-gradient(circle at top right, rgba(86, 183, 255, 0.20), rgba(86, 183, 255, 0) 28%),
        linear-gradient(180deg, #142455 0%, #101c45 100%);
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    opacity: 0.9;
}

.segmentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    gap: var(--space-md);
}

.segmento-card {
    position: relative;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 24px 46px rgba(3, 10, 30, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.segmento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.segmento-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 12, 31, 0.02) 20%, rgba(6, 12, 31, 0.62) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: var(--transition);
    pointer-events: none;
}

.segmento-overlay span {
    /* Mantido caso ainda houver span */
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    transform: translateY(10px);
    transition: var(--transition);
}

.segmento-card:hover img {
    transform: scale(1.08);
}

.segmento-card:hover .segmento-overlay {
    background:
        linear-gradient(180deg, rgba(6, 12, 31, 0.08) 10%, rgba(28, 110, 208, 0.58) 100%);
    border: 1px solid rgba(86, 183, 255, 0.5);
}

/* -----------------------------------------------
   SEGMENTO CARD — variante ícone SVG (home)
   ----------------------------------------------- */
.segmento-card--icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(150deg, #eef1f8 0%, #dde4ef 55%, #cdd6e8 100%);
    text-decoration: none;
    padding: 28px 16px 24px;
    border: 1px solid rgba(43, 58, 121, 0.10);
    transition: var(--transition);
}

.segmento-card--icon:hover {
    background: linear-gradient(150deg, #dfe8f5 0%, #c6d5eb 55%, #b6c9de 100%);
    border-color: rgba(43, 58, 121, 0.22);
    box-shadow: 0 28px 52px rgba(3, 10, 30, 0.28);
    transform: translateY(-3px);
}

.segmento-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.segmento-card--icon:hover .segmento-card__icon {
    color: var(--color-secondary);
}

.segmento-card__icon svg {
    width: 100%;
    height: 100%;
}

.segmento-card__label {
    color: var(--color-primary);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.45;
    max-width: 150px;
}

/* "Todos os Segmentos" — card escuro */
.segmento-card--all {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(150deg, #1c2a5e, #2b3a79);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.segmento-card--all:hover {
    background: linear-gradient(150deg, #243570, #3347a0);
    border-color: rgba(86, 183, 255, 0.3);
    box-shadow: 0 28px 52px rgba(3, 10, 30, 0.32);
    transform: translateY(-3px);
}

.segmento-card--all__icon {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.segmento-card--all:hover .segmento-card--all__icon {
    color: rgba(255, 255, 255, 0.85);
}

.segmento-card--all__label {
    color: var(--color-white);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
}

/* =======================================
   CONTATO & FORMULÁRIOS
   ======================================= */
.contato-section {
    padding: var(--space-xxl) 0;
    background-color: var(--color-white);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
}

.contato-dados p {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.contato-dados i {
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.form-basico {
    background-color: var(--color-light);
    padding: var(--space-xl);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--color-dark);
}

.flex-group {
    display: flex;
    gap: var(--space-md);
}

.flex-group input {
    width: 100%;
}

input,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--color-white);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.15);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
}

/* =======================================
   FOOTER
   ======================================= */
.footer {
    background:
        radial-gradient(circle at top left, rgba(86, 183, 255, 0.14), rgba(86, 183, 255, 0) 25%),
        linear-gradient(180deg, #10192f 0%, #0b1120 100%);
    color: var(--color-gray-light);
    padding-top: var(--space-xxl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.45fr 1.15fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    align-items: start;
}

.footer-logo {
    max-width: 200px;
    filter: brightness(0) invert(1);
    /* Deixa a logo branca */
    margin-bottom: var(--space-md);
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.footer-col ul li a {
    color: var(--color-border);
}

.footer-col ul li a:hover {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a i {
    font-size: 1.15rem;
}

.social-links a:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    background: transparent;
    padding: var(--space-md) 0;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.68);
}

/* =======================================
   HOME OVERRIDES
   ======================================= */
.produtos-destaque {
    padding: var(--space-xxl) 0 !important;
    background: transparent !important;
}

.produtos-destaque>.container,
.presenca-section>.container {
    position: relative;
    z-index: 1;
}

.produtos-destaque>.container>p,
.presenca-section>.container>p {
    font-size: 1.04rem !important;
    line-height: 1.8 !important;
    color: #5c6984 !important;
}

.produtos-destaque .container>div:nth-of-type(1) {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 8px;
}

.produtos-destaque .container>div:nth-of-type(1)>div {
    padding: 28px !important;
    border: 1px solid rgba(43, 58, 121, 0.08) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: var(--shadow-card) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.produtos-destaque .container>div:nth-of-type(1)>div:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(13, 23, 56, 0.16) !important;
    border-color: rgba(29, 111, 209, 0.20) !important;
}

.produtos-destaque .container>div:nth-of-type(1)>div>span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: rgba(29, 111, 209, 0.10) !important;
    color: var(--color-primary) !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.produtos-destaque .container>div:nth-of-type(1)>div h3 {
    font-size: 1.34rem !important;
    margin: 18px 0 10px !important;
    letter-spacing: -0.03em;
}

.produtos-destaque .container>div:nth-of-type(1)>div p {
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
    color: #5d6b86 !important;
}

.produtos-destaque .container>div:nth-of-type(1)>div a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-weight: 700 !important;
}

.social-section {
    padding: var(--space-xxl) 0 !important;
    background:
        radial-gradient(circle at left top, rgba(86, 183, 255, 0.18), rgba(86, 183, 255, 0) 28%),
        linear-gradient(180deg, #16214a 0%, #0e1838 100%) !important;
    overflow: hidden;
}

.social-section::before {
    content: none;
}

.social-section .container>div {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr) !important;
    gap: 28px !important;
}

.social-section .container>div>div {
    min-width: 0;
    padding: 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 28px 50px rgba(2, 8, 24, 0.20);
}

.social-section .container>div>div>p {
    font-size: 1rem !important;
    line-height: 1.75 !important;
}

.social-section .container>div>div:first-child>div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.social-section .container>div>div:first-child img {
    border-radius: 20px !important;
    box-shadow: 0 18px 34px rgba(4, 10, 30, 0.18) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.social-section .container>div>div:first-child img:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px rgba(4, 10, 30, 0.24) !important;
}

.social-instagram-panel {
    display: flex;
    flex-direction: column;
}

.social-instagram-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.instagram-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 40px rgba(2, 8, 24, 0.18);
}

.instagram-post-media {
    position: relative;
    display: block;
}

.instagram-post-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 22, 51, 0.04), rgba(12, 22, 51, 0.22)),
        linear-gradient(135deg, rgba(108, 182, 217, 0.16), rgba(108, 182, 217, 0) 38%);
    pointer-events: none;
}

.instagram-post-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.instagram-post-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 18px 20px;
}

.instagram-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.instagram-post-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #d7f0fb;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.instagram-post-handle {
    color: rgba(222, 231, 245, 0.7);
    font-size: 0.82rem;
    font-weight: 600;
}

.instagram-post-copy strong {
    font-size: 1.02rem;
    line-height: 1.25;
}

.instagram-post-copy p {
    margin: 0;
    color: rgba(227, 235, 248, 0.78) !important;
    line-height: 1.65 !important;
    font-size: 0.94rem !important;
}

.instagram-post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    color: #d7f0fb;
    font-weight: 700;
}

.instagram-post-link::after {
    content: '\f08e';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.82rem;
}

.social-section .container>div>div:last-child>div {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

.social-section .container>div>div:last-child>div>div {
    padding: 24px !important;
    border-radius: 22px !important;
    background: rgba(6, 12, 31, 0.24) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.social-events-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.social-events-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
    gap: 18px !important;
    min-width: 0;
}

.social-events-stack {
    display: grid !important;
    gap: 18px !important;
    min-width: 0;
}

.social-event-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(10, 19, 44, 0.7), rgba(6, 12, 31, 0.82)) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    min-width: 0;
}

.social-event-card-featured {
    display: flex;
    flex-direction: column;
}

.social-event-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(22, 61, 130, 0.34), rgba(108, 182, 217, 0.18));
}

.social-event-card-featured .social-event-image {
    height: auto;
    aspect-ratio: 16 / 10;
}

.social-event-image-logo {
    object-fit: contain;
    padding: 18px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02) 72%),
        linear-gradient(180deg, rgba(8, 16, 36, 0.96), rgba(10, 24, 52, 0.82));
}

.social-event-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 22px 22px 22px 0;
}

.social-event-card-featured .social-event-copy {
    padding: 24px;
}

.social-event-copy strong {
    font-size: 1.2rem;
    line-height: 1.2;
}

.social-event-copy p {
    margin: 0;
    color: rgba(227, 235, 248, 0.78) !important;
    line-height: 1.7 !important;
}

.social-event-tag {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(108, 182, 217, 0.16);
    color: #d7f0fb;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.social-event-copy .btn {
    width: fit-content;
    margin-top: 4px;
    color: var(--color-white);
}

.social-event-copy .btn:hover {
    color: var(--color-white);
}

.gptw-section {
    min-height: 520px;
}

.gptw-bg img {
    transform: scale(1.04);
}

.gptw-content-wrapper {
    padding: 72px 0;
    max-width: 760px;
}

.gptw-section .container>div {
    padding: 36px 40px;
    border-radius: 30px;
    background: rgba(255, 244, 199, 0.42);
    border: 1px solid rgba(148, 96, 0, 0.14);
    backdrop-filter: blur(10px);
    box-shadow: 0 26px 60px rgba(120, 81, 3, 0.16);
}

.gptw-section h2:first-of-type {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gptw-section h2:last-of-type {
    font-size: clamp(2.4rem, 5vw, 4rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.05em;
}

.gptw-section p {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: rgba(43, 37, 14, 0.84) !important;
}

.presenca-section {
    padding: var(--space-xxl) 0 !important;
    background: transparent !important;
}

.presenca-section .container {
    padding-top: 56px;
    padding-bottom: 56px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(43, 58, 121, 0.08);
    box-shadow: var(--shadow-soft);
}

.unidades-tabs {
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 0;
}

.tab-btn {
    border-radius: 999px;
    padding: 12px 22px;
    background: rgba(16, 28, 69, 0.05);
    border: 1px solid transparent;
}

.tab-btn.active {
    background: linear-gradient(135deg, #153f8a 0%, #2b67b8 100%);
    border-color: transparent;
    box-shadow: 0 16px 28px rgba(15, 53, 112, 0.22);
}

.unidade-grid-inner {
    gap: 24px;
}

.unidade-card {
    padding: 28px;
    border-left: none;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid rgba(43, 58, 121, 0.08);
    box-shadow: 0 20px 44px rgba(13, 23, 56, 0.08);
}

.unidade-card h3 {
    margin-bottom: 16px;
}

.footer-grid {
    gap: 40px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
.footer-col ul li {
    color: rgba(226, 232, 240, 0.78) !important;
}

.footer-col ul li a:hover {
    color: #8ed0ff !important;
}

/* =======================================
   WHATSAPP FLOAT
   ======================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    text-decoration: none;
    gap: 0;
    transition: width 0.3s ease-in-out, padding 0.3s ease-in-out, gap 0.3s ease-in-out;
    width: 60px;
    /* Inicial collapsed */
    overflow: hidden;
    white-space: nowrap;
}

.whatsapp-float i {
    font-size: 36px;
    min-width: 36px;
    text-align: center;
    transition: margin 0.3s;
}

.whatsapp-text {
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 16px;
    font-weight: 600;
    margin-left: 0;
    color: #ffffff;
    line-height: 1;
    flex: 1;
    text-align: center;
}

.whatsapp-float:hover {
    width: 200px;
    padding: 12px 22px 12px 16px;
    gap: 12px;
    background-color: #1ebe57;
}

.whatsapp-float:hover i {
    margin-right: 0;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}

/* =======================================
   ACCORDION (Segmentos & Produtos)
   ======================================= */
.accordion {
    width: 100%;
    margin-bottom: var(--space-xl);
}

.accordion-item {
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: var(--space-sm);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: var(--space-md);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover,
.accordion-header.active {
    background-color: var(--color-light);
    color: var(--color-secondary);
}

.acc-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .acc-icon {
    transform: rotate(180deg);
    /* Exemplo rotacionando plus pra x ou chevron se aplicável */
}

/* Accordion Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--color-white);
}

.accordion-body {
    padding: var(--space-md);
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.6;
    border-top: 1px dashed var(--color-gray-light);
}

/* Page Headers Estáticos */
.page-header {
    background:
        radial-gradient(circle at top left, rgba(86, 183, 255, 0.14), rgba(86, 183, 255, 0) 28%),
        linear-gradient(180deg, #142455 0%, #101c45 100%);
    color: var(--color-white);
    padding: calc(var(--space-xxl) - 8px) 0 calc(var(--space-xl) + 8px);
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.page-header p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.page-section {
    padding: var(--space-xxl) 0;
}

/* Página 404 */
.error-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--space-xxl) + 18px) 0 var(--space-xxl);
    background:
        linear-gradient(135deg, rgba(6, 15, 37, 0.88), rgba(17, 35, 82, 0.76)),
        url('../img/logo_make_11_06_2023_191.88a9efddde.jpg') center center / cover no-repeat;
    color: var(--color-white);
}

.error-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(86, 183, 255, 0.22), transparent 30%),
        linear-gradient(180deg, rgba(6, 15, 37, 0.18), rgba(6, 15, 37, 0.52));
}

.error-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: var(--space-xl);
    align-items: center;
    min-height: 520px;
}

.error-hero-copy {
    max-width: 720px;
}

.error-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.error-hero-copy h1 {
    color: var(--color-white);
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: 0.98;
    margin-bottom: 22px;
    letter-spacing: -0.04em;
}

.error-hero-copy p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.85;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.error-hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.82);
    color: var(--color-white);
}

.error-hero .btn-outline:hover,
.error-hero .btn-outline:focus {
    background: var(--color-white);
    color: var(--color-primary);
}

.error-status-panel {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 30px 70px rgba(3, 10, 28, 0.28);
    backdrop-filter: blur(12px);
    text-align: center;
}

.error-status-panel span {
    color: var(--color-white);
    font-size: clamp(5rem, 11vw, 8rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.error-status-panel p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.5;
    letter-spacing: 0.06em;
}

.error-links-section {
    padding: var(--space-xl) 0 var(--space-xxl);
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.error-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.error-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 22px;
    border: 1px solid rgba(25, 50, 117, 0.10);
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: 0 18px 42px rgba(17, 28, 68, 0.08);
    color: var(--color-primary);
    font-weight: 800;
}

.error-link-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    background: rgba(31, 94, 193, 0.10);
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.error-link-card:hover,
.error-link-card:focus {
    color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(17, 28, 68, 0.12);
}

.page-shell {
    padding: 40px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.page-section-intro {
    max-width: 760px;
    margin: 0 auto 40px;
}

.page-section-intro p {
    color: #5d6b86;
    font-size: 1.02rem;
    line-height: 1.8;
}

.panel-card {
    padding: 32px;
    border-radius: 28px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
    box-shadow: var(--shadow-card);
}

.panel-note {
    padding: 18px 20px;
    border-left: 3px solid rgba(21, 63, 138, 0.7);
    border-radius: 18px;
    background: rgba(239, 245, 255, 0.95);
    color: #4d5d79;
}

.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-basico {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.96));
    padding: 36px;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(43, 58, 121, 0.08);
}

.form-basico .section-title {
    margin-bottom: 24px;
    font-size: clamp(1.8rem, 2vw, 2.2rem);
    text-align: center;
}

.form-highlight {
    display: none;
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(227, 242, 253, 0.78);
    color: #1565c0;
    font-size: 0.95rem;
    border-left: 3px solid #1565c0;
}

.form-highlight.is-visible {
    display: block;
}

.form-highlight.is-success {
    background: rgba(232, 245, 233, 0.92);
    border-left-color: #2e7d32;
    color: #1b5e20;
}

.form-highlight.is-error {
    background: rgba(255, 235, 238, 0.92);
    border-left-color: #c62828;
    color: #b71c1c;
}

.is-submitting button[type="submit"] {
    opacity: 0.78;
    cursor: wait;
}

.is-submitting input,
.is-submitting textarea,
.is-submitting button,
.is-submitting select {
    pointer-events: none;
}

.form-file {
    margin-bottom: 16px;
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(43, 58, 121, 0.22);
    background: rgba(248, 250, 252, 0.96);
}

.form-file label {
    color: var(--color-primary);
}

.form-file small {
    display: block;
    margin-top: 6px;
    color: var(--color-gray);
}

.contact-card-title {
    color: var(--color-primary);
    font-size: clamp(1.6rem, 2vw, 2rem);
}

.contact-card-lead {
    margin-top: 10px;
    margin-bottom: 24px;
    color: #52617d;
    line-height: 1.8;
}

.contact-box {
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    border-left: 4px solid var(--color-secondary);
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    box-shadow: var(--shadow-card);
}

.contact-box h3 {
    color: var(--color-dark);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.contact-box p,
.contact-box a {
    color: #465672;
}

.contact-box p {
    margin-bottom: 10px;
}

.contact-box i {
    width: 24px;
    color: var(--color-primary);
}

.social-links-left {
    justify-content: flex-start;
}

.social-links-square a {
    border-radius: 14px;
    background: linear-gradient(135deg, #153f8a 0%, #2b67b8 100%);
    box-shadow: 0 14px 24px rgba(15, 53, 112, 0.22);
}

.social-links-square a:hover {
    background: linear-gradient(135deg, #14377a 0%, #245ca9 100%);
}

.content-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.event-card {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    border-color: rgba(43, 58, 121, 0.14);
    box-shadow: 0 20px 38px rgba(16, 29, 62, 0.14);
}

.event-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.event-card-body {
    padding: 28px;
}

.event-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(21, 63, 138, 0.08);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.event-tag-muted {
    background: rgba(54, 52, 50, 0.08);
    color: var(--color-dark);
}

.event-card h3 {
    color: var(--color-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.event-card p {
    color: #52617d;
    line-height: 1.7;
    margin-bottom: 16px;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
}

.event-link-secondary {
    color: var(--color-secondary);
}

.segmento-overlay--detail {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px;
}

.segmento-card-detail-title {
    font-size: 1.4rem;
}

.segmento-card-detail-text {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 400;
    font-family: var(--font-body);
    line-height: 1.6;
    transform: translateY(10px);
    transition: var(--transition);
}

.segmento-card:hover .segmento-card-detail-text {
    transform: translateY(0);
}

.segmento-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    border: 1px dashed rgba(43, 58, 121, 0.22);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
}

.segmento-placeholder i {
    font-size: 2.4rem;
    color: #7a869d;
    margin-bottom: 12px;
}

.segmento-placeholder h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.segmento-placeholder p {
    color: #5d6b86;
    font-size: 0.92rem;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: var(--space-md);
}

.catalog-toolbar h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.catalog-search {
    max-width: 320px;
}

.empty-state {
    display: none;
    padding: 32px;
    text-align: center;
    border-radius: 24px;
    border: 1px dashed rgba(43, 58, 121, 0.18);
    background: rgba(248, 250, 252, 0.92);
}

.empty-state i {
    font-size: 2rem;
    color: #7a869d;
    margin-bottom: 12px;
}

.empty-state h3 {
    color: var(--color-dark);
}

.empty-state p {
    color: var(--color-gray);
}

.sac-shell {
    max-width: 1040px;
}

.sac-panel {
    padding: 48px 40px;
}

.sac-panel h3 {
    color: var(--color-dark);
    margin-bottom: 24px;
    font-size: 1.4rem;
}

.sac-panel-intro {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.sac-panel-intro .contact-card-lead {
    margin-bottom: 0;
}

.sac-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.sac-contact-card {
    height: 100%;
}

.sac-contact-card p {
    color: #52617d;
    line-height: 1.8;
}

.sac-contact-card .sac-number {
    justify-content: flex-start;
}

.sac-contact-meta {
    display: grid;
    gap: 14px;
}

.sac-contact-meta p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

.sac-contact-meta i {
    margin-top: 4px;
    color: var(--color-secondary);
}

.sac-form {
    padding: 4px 0 0;
}

.sac-form-copy {
    margin-bottom: 24px;
    color: #52617d;
    line-height: 1.8;
}

.sac-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.6vw, 1.7rem);
    font-weight: 700;
    white-space: nowrap;
}

.sac-number i {
    font-size: 0.82em;
}

.sac-divider {
    border: 0;
    border-top: 1px dashed rgba(100, 116, 139, 0.35);
    margin: 32px 0;
}

.footer-copy {
    margin-top: 10px;
    color: #90a0b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-heading {
    display: inline-block;
}

.footer-list {
    margin-top: 16px;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-units {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.footer-col-units {
    min-width: 0;
}

.footer-unit-block {
    min-width: 0;
}

.footer-unit-block h5 {
    margin-bottom: 16px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.footer-unit-card {
    background: transparent;
    color: var(--color-border);
    line-height: 1.7;
    border: none;
    padding: 0;
}

.footer-unit-card strong {
    display: none;
}

.footer-unit-card ul {
    display: grid;
    gap: 8px;
}

.footer-unit-card li {
    color: var(--color-border);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-unit-card li span {
    color: inherit;
    font-weight: 400;
}

.footer-link-icon {
    margin-right: 6px;
    font-size: 0.7em;
}

/* =======================================
   UNIDADES (TABS UX)
   ======================================= */
.unidades-tabs {
    width: fit-content;
    max-width: 100%;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin: 0 auto var(--space-lg);
    padding: 10px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #5d6b86;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 999px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--color-primary);
    background: rgba(21, 63, 138, 0.06);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--color-secondary), #2d7ff1);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(28, 88, 182, 0.24);
}

.unidade-content {
    display: none;
    animation: fadeIn 0.4s;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.unidade-content.active {
    display: block;
}

.unidade-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    text-align: left;
}

.unidade-card {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    border-left: 4px solid var(--color-secondary);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.unidade-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.unidade-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-gray);
    margin-bottom: 8px;
}

.unidade-card strong {
    color: var(--color-dark);
}

.unidade-card-single {
    grid-column: 1 / -1;
    max-width: 540px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =======================================
   7. GPTW SECTION
   ======================================= */

.gptw-section {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-color: #f7bc14;
}

/* camada da imagem carregada pelo HTML */
.gptw-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gptw-bg picture,
.gptw-bg img {
    width: 100%;
    height: 100%;
    display: block;
}

.gptw-bg img {
    object-fit: cover;
    object-position: center right;
}

/* overlay para leitura do texto */
.gptw-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
            rgba(247, 188, 20, 0.96) 0%,
            rgba(247, 188, 20, 0.92) 35%,
            rgba(247, 188, 20, 0.70) 55%,
            rgba(247, 188, 20, 0.25) 75%,
            rgba(247, 188, 20, 0.00) 100%);
}

/* conteúdo */
.gptw-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 680px;
    padding: 60px 0;
}

/* logo GPTW */
.gptw-logo {
    width: 190px;
    height: auto;
    display: block;
}

/* =========================
   Tablet
   ========================= */

@media (max-width: 992px) {

    .gptw-section {
        min-height: 420px;
    }

    .gptw-logo {
        width: 160px;
    }

    .gptw-content-wrapper {
        max-width: 100%;
        justify-content: center;
        text-align: center;
        padding: 50px 0;
        gap: 40px;
    }

    .gptw-bg img {
        object-position: center;
    }

    .gptw-section::after {
        background: rgba(247, 188, 20, 0.85);
    }

}

/* =========================
   Mobile
   ========================= */

@media (max-width: 768px) {

    .gptw-section {
        min-height: auto;
        padding: 60px 0;
    }

    .gptw-logo {
        width: 140px;
    }

    .gptw-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 28px;
        padding: 20px 0;
    }

    .gptw-bg img {
        object-position: center;
    }

    .gptw-section::after {
        background: rgba(247, 188, 20, 0.9);
    }

}

/* =======================================
   SOBRE PAGE
   ======================================= */
.about-hero {
    position: relative;
    min-height: 26vh;
    padding: 118px 0 44px;
    overflow: hidden;
    isolation: isolate;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(86, 183, 255, 0.14), rgba(86, 183, 255, 0) 25%),
        linear-gradient(180deg, #10192f 0%, #0b1120 100%);
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 1;
}

.about-hero-layout {
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.about-hero-brand {
    display: flex;
    justify-content: flex-start;
}

.about-hero-copy {
    max-width: 720px;
    margin-left: 0;
    text-align: center;
}

.about-hero-logos {
    width: min(100%, 430px);
    margin: 0;
    filter: none;
    opacity: 1;
}

.about-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-hero-copy h1 {
    max-width: none;
    margin-top: 6px;
    margin-bottom: 0;
    font-size: clamp(1.05rem, 1.5vw, 1.4rem);
    line-height: 1.1;
    color: var(--color-white);
}

.about-hero-copy h1 span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 24px rgba(3, 10, 30, 0.16);
}

.about-hero-description {
    max-width: 62ch;
    margin-bottom: 16px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
}

.about-hero-scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-top: 26px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.about-hero-scroll span {
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(45deg) translateY(-2px);
}

.about-foundations-section,
.about-quality-section,
.about-units-section,
.about-cta-section {
    padding: var(--space-xxl) 0;
}

.about-timeline-section,
.about-certifications-section {
    padding: var(--space-xxl) 0;
    background: linear-gradient(180deg, rgba(241, 246, 255, 0.8) 0%, rgba(255, 255, 255, 0.98) 100%);
}

#historia,
#mvv,
#licencas,
#unidades {
    scroll-margin-top: 118px;
}

.about-section-heading {
    margin-bottom: 42px;
}

.about-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(43, 58, 121, 0.12);
    background: rgba(255, 255, 255, 0.78);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-section-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 18px rgba(86, 183, 255, 0.8);
}

.about-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: #5d6b86;
}

.quality-grid,
.about-cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.quality-card,
.about-cta-card {
    border: 1px solid rgba(43, 58, 121, 0.08);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.quality-card {
    padding: 38px;
}

.quality-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.quality-card-stacked {
    padding: 44px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 255, 0.92));
}

.quality-card p,
.quality-list,
.foundation-card p,
.unit-card p,
.about-cta-card p {
    color: #5d6b86;
}

.timeline-periods {
    display: grid;
    gap: 28px;
}

.timeline-period {
    position: relative;
    padding: 30px;
    border-radius: 36px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.timeline-period::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.timeline-period-legacy::before {
    background:
        linear-gradient(135deg, rgba(25, 114, 186, 0.20), rgba(25, 114, 186, 0) 45%),
        radial-gradient(circle at top right, rgba(196, 43, 58, 0.16), rgba(196, 43, 58, 0) 34%);
}

.timeline-period-growth::before {
    background: linear-gradient(135deg, rgba(44, 174, 168, 0.18), rgba(44, 174, 168, 0) 48%);
}

.timeline-period-current::before {
    background: linear-gradient(135deg, rgba(43, 58, 121, 0.22), rgba(43, 58, 121, 0) 48%);
}

.timeline-period-legacy {
    border-color: rgba(25, 114, 186, 0.12);
    background:
        linear-gradient(180deg, rgba(246, 251, 255, 0.92), rgba(236, 246, 252, 0.86)),
        linear-gradient(135deg, rgba(196, 43, 58, 0.04), rgba(196, 43, 58, 0) 42%);
}

.timeline-period-growth {
    border-color: rgba(44, 174, 168, 0.12);
    background: linear-gradient(180deg, rgba(246, 255, 252, 0.92), rgba(236, 250, 246, 0.86));
}

.timeline-period-current {
    border-color: rgba(43, 58, 121, 0.12);
    background: linear-gradient(180deg, rgba(247, 249, 255, 0.94), rgba(237, 242, 252, 0.88));
}

.timeline-period-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

.timeline-period-copy h3 {
    margin-bottom: 12px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.25;
}

.timeline-period-legacy .timeline-period-copy h3 {
    color: #b72f3d;
}

.timeline-period-copy p {
    max-width: 58ch;
    color: #5d6b86;
    line-height: 1.75;
}

.timeline-period-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 0;
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.timeline-period-legacy .timeline-period-tag {
    background: #b72f3d;
}

.timeline-period-growth .timeline-period-tag {
    background: #1f9d92;
}

.timeline-period-current .timeline-period-tag {
    background: #2b3a79;
}

.timeline-period-logo-card {
    position: relative;
    display: grid;
    place-items: center;
    gap: 14px;
    padding: 22px;
    margin: 0;
    min-height: 100%;
    border-radius: 28px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 34px rgba(16, 29, 62, 0.06);
    text-align: center;
}

.timeline-period-legacy .timeline-period-logo-card {
    border-color: rgba(43, 58, 121, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.timeline-period-growth .timeline-period-logo-card {
    border-color: rgba(43, 58, 121, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.timeline-period-current .timeline-period-logo-card {
    border-color: rgba(43, 58, 121, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.timeline-period-logo {
    width: min(100%, 240px);
    height: auto;
    object-fit: contain;
}

.timeline-period-logo-card figcaption {
    color: #5d6b86;
    font-size: 0.92rem;
    line-height: 1.6;
}

.timeline-vertical {
    display: grid;
    gap: 14px;
}

.timeline-period-legacy .timeline-entry {
    border-color: rgba(196, 43, 58, 0.10);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 253, 0.94)),
        linear-gradient(135deg, rgba(196, 43, 58, 0.03), rgba(196, 43, 58, 0) 48%);
}

.timeline-period-growth .timeline-entry {
    border-color: rgba(44, 174, 168, 0.10);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 251, 247, 0.94));
}

.timeline-period-current .timeline-entry {
    border-color: rgba(43, 58, 121, 0.10);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 253, 0.95));
}

.timeline-period-legacy .timeline-entry:hover,
.timeline-period-legacy .timeline-entry.is-open {
    border-color: rgba(196, 43, 58, 0.18);
}

.timeline-period-growth .timeline-entry:hover,
.timeline-period-growth .timeline-entry.is-open {
    border-color: rgba(44, 174, 168, 0.18);
}

.timeline-period-current .timeline-entry:hover,
.timeline-period-current .timeline-entry.is-open {
    border-color: rgba(43, 58, 121, 0.18);
}

.timeline-period-legacy .timeline-entry.is-open {
    background: linear-gradient(135deg, rgba(176, 39, 54, 0.98), rgba(23, 98, 160, 0.96));
}

.timeline-period-growth .timeline-entry.is-open {
    background: linear-gradient(135deg, rgba(31, 138, 132, 0.98), rgba(17, 92, 88, 0.96));
}

.timeline-period-current .timeline-entry.is-open {
    background: linear-gradient(135deg, rgba(19, 45, 105, 0.98), rgba(12, 27, 67, 0.96));
}

.timeline-period-legacy .timeline-entry:hover .timeline-toggle {
    background: linear-gradient(90deg, rgba(196, 43, 58, 0.05), rgba(25, 114, 186, 0.03));
}

.timeline-period-growth .timeline-entry:hover .timeline-toggle {
    background: rgba(44, 174, 168, 0.04);
}

.timeline-period-current .timeline-entry:hover .timeline-toggle {
    background: rgba(43, 58, 121, 0.04);
}

.timeline-entry {
    border-radius: 28px;
    border: 1px solid rgba(43, 58, 121, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94));
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.timeline-entry:hover,
.timeline-entry.is-open {
    border-color: rgba(43, 58, 121, 0.18);
    box-shadow: 0 18px 36px rgba(16, 29, 62, 0.1);
}

.timeline-entry.is-open {
    background: linear-gradient(135deg, rgba(19, 45, 105, 0.98), rgba(12, 27, 67, 0.96));
}

.timeline-toggle {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 18px 18px 24px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
    transition: background-color 0.25s ease;
}

.timeline-entry:hover .timeline-toggle {
    background: rgba(21, 63, 138, 0.03);
}

.timeline-entry.is-open .timeline-toggle {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.timeline-toggle:focus-visible {
    outline: 3px solid rgba(43, 103, 184, 0.14);
    outline-offset: -3px;
}

.timeline-toggle-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary);
    line-height: 1.4;
}

.timeline-entry.is-open .timeline-toggle-title {
    color: var(--color-white);
}

.timeline-period-legacy .timeline-toggle-title {
    color: #8c2230;
}

.timeline-period-growth .timeline-toggle-title {
    color: #1f7e7a;
}

.timeline-period-current .timeline-toggle-title {
    color: var(--color-primary);
}

.timeline-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(21, 63, 138, 0.08);
    border: 1px solid rgba(21, 63, 138, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 10px 22px rgba(15, 43, 92, 0.10);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-toggle-icon::before,
.timeline-toggle-icon::after {
    content: '';
    position: absolute;
    width: 11px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-primary);
    top: 50%;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.timeline-toggle-icon::before {
    left: 16px;
    transform: translateY(-50%) rotate(45deg);
}

.timeline-toggle-icon::after {
    right: 16px;
    transform: translateY(-50%) rotate(-45deg);
}

.timeline-entry:hover .timeline-toggle-icon {
    transform: translateX(-2px);
    background: rgba(21, 63, 138, 0.12);
    border-color: rgba(21, 63, 138, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 14px 26px rgba(15, 43, 92, 0.14);
}

.timeline-entry.is-open .timeline-toggle-icon {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 16px 30px rgba(6, 15, 37, 0.18);
}

.timeline-entry.is-open .timeline-toggle-icon::before,
.timeline-entry.is-open .timeline-toggle-icon::after {
    background: var(--color-white);
}

.timeline-entry.is-open .timeline-toggle-icon::before {
    transform: translateY(-50%) rotate(-45deg);
}

.timeline-entry.is-open .timeline-toggle-icon::after {
    transform: translateY(-50%) rotate(45deg);
}

.timeline-period-legacy .timeline-toggle-icon {
    background: linear-gradient(135deg, rgba(196, 43, 58, 0.10), rgba(25, 114, 186, 0.08));
    border-color: rgba(196, 43, 58, 0.16);
}

.timeline-period-legacy .timeline-toggle-icon::before,
.timeline-period-legacy .timeline-toggle-icon::after {
    background: #8c2230;
}

.timeline-period-growth .timeline-toggle-icon {
    background: rgba(44, 174, 168, 0.08);
    border-color: rgba(44, 174, 168, 0.14);
}

.timeline-period-growth .timeline-toggle-icon::before,
.timeline-period-growth .timeline-toggle-icon::after {
    background: #1f7e7a;
}

.timeline-period-current .timeline-toggle-icon {
    background: rgba(43, 58, 121, 0.08);
    border-color: rgba(43, 58, 121, 0.14);
}

.timeline-period-current .timeline-toggle-icon::before,
.timeline-period-current .timeline-toggle-icon::after {
    background: var(--color-primary);
}

.timeline-entry-body {
    padding: 0 24px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, padding 0.28s ease;
}

.timeline-entry.is-open .timeline-entry-body {
    padding: 0 24px 22px;
}

.timeline-entry-copy p {
    color: #5d6b86;
    line-height: 1.75;
    margin: 0;
}

.timeline-entry.is-open .timeline-entry-copy p {
    color: rgba(255, 255, 255, 0.84);
}

.timeline-year,
.foundation-label,
.unit-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(21, 63, 138, 0.08);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.timeline-toggle .timeline-year {
    margin-bottom: 0;
    min-width: 78px;
    background: rgba(21, 63, 138, 0.1);
    border: 1px solid rgba(21, 63, 138, 0.12);
}

.timeline-period-legacy .timeline-toggle .timeline-year {
    background: linear-gradient(135deg, rgba(196, 43, 58, 0.10), rgba(25, 114, 186, 0.08));
    border-color: rgba(196, 43, 58, 0.14);
    color: #8c2230;
}

.timeline-period-growth .timeline-toggle .timeline-year {
    background: rgba(44, 174, 168, 0.10);
    border-color: rgba(44, 174, 168, 0.12);
    color: #1f7e7a;
}

.timeline-period-current .timeline-toggle .timeline-year {
    background: rgba(43, 58, 121, 0.10);
    border-color: rgba(43, 58, 121, 0.12);
    color: var(--color-primary);
}

.timeline-entry.is-open .timeline-year {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--color-white);
}

.about-foundations-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.8fr 1.15fr;
    gap: 22px;
}

.foundation-card {
    padding: 32px;
    border-radius: 28px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.foundation-card-featured {
    background:
        linear-gradient(180deg, rgba(18, 47, 107, 0.96), rgba(13, 23, 56, 0.94));
}

.foundation-card-neutral {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 253, 0.95));
}

.foundation-card-neutral .foundation-label {
    background: var(--color-primary);
    color: var(--color-white);
}

.foundation-card-neutral p,
.foundation-card-neutral li {
    color: #52617d;
}

.foundation-card-featured .foundation-label,
.foundation-card-featured p,
.foundation-card-featured li {
    color: var(--color-white);
}

.foundation-card-featured .foundation-label {
    background: var(--color-primary);
    color: var(--color-white);
}

.foundation-points,
.quality-list,
.values-grid {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.foundation-points li,
.values-grid li {
    position: relative;
    padding-left: 18px;
    line-height: 1.7;
}

.foundation-points li::before,
.values-grid li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 10px;
    height: 1px;
    border-radius: 999px;
    background: rgba(82, 97, 125, 0.5);
}

.foundation-card-featured .foundation-points li::before {
    background: rgba(255, 255, 255, 0.5);
}

.foundation-card-featured .values-grid li::before {
    background: rgba(255, 255, 255, 0.5);
}

.quality-divider {
    width: 100%;
    height: 1px;
    margin: 30px 0 24px;
    background: linear-gradient(90deg, rgba(43, 58, 121, 0), rgba(43, 58, 121, 0.22), rgba(43, 58, 121, 0));
}

.quality-legal-note {
    display: grid;
    gap: 14px;
    padding: 24px 26px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(15, 34, 82, 0.98), rgba(21, 63, 138, 0.94));
    box-shadow: 0 18px 34px rgba(12, 25, 55, 0.16);
}

.quality-legal-note .foundation-label {
    width: fit-content;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
}

.quality-legal-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.quality-card-stacked .quality-list {
    gap: 14px;
}

.quality-card-stacked .quality-list li {
    padding-left: 18px;
    color: #52617d;
}

.quality-list-structured {
    gap: 16px;
}

.quality-list-structured li {
    display: grid;
    gap: 6px;
    padding: 18px 18px 18px 24px;
    border-radius: 18px;
    background: rgba(241, 246, 255, 0.66);
}

.quality-list-structured li::before {
    left: 11px;
    top: 24px;
    width: 8px;
    height: 8px;
    background: rgba(21, 63, 138, 0.72);
    border: none;
}

.quality-list-structured strong {
    color: var(--color-primary);
    font-size: 1rem;
}

.quality-list-structured span {
    color: #52617d;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.certification-card,
.licenses-panel {
    border: 1px solid rgba(43, 58, 121, 0.08);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.certification-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.certification-card img {
    max-width: 140px;
    margin: 0 auto;
}

.certification-card-dark {
    background:
        linear-gradient(180deg, rgba(18, 47, 107, 0.98), rgba(13, 23, 56, 0.96));
}

.certification-card-dark h3,
.certification-card-dark p {
    color: var(--color-white);
}

.certification-card-dark p {
    opacity: 0.88;
}

.certification-card h3,
.licenses-copy h3,
.unit-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.licenses-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 24px;
    padding: 32px;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.licenses-copy p {
    color: #5d6b86;
    line-height: 1.8;
}

.license-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

.license-logos img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.82;
}

.about-certifications-section img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.foundation-card:hover,
.certification-card:hover,
.licenses-panel:hover,
.unidade-card:hover {
    transform: translateY(-2px);
    border-color: rgba(43, 58, 121, 0.14);
    box-shadow: 0 18px 34px rgba(16, 29, 62, 0.12);
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.unit-card {
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(43, 58, 121, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
}

.unit-card p {
    line-height: 1.8;
}

.about-cta-card {
    padding: 38px;
    background:
        linear-gradient(135deg, rgba(11, 25, 60, 0.96) 0%, rgba(19, 51, 113, 0.96) 60%, rgba(38, 101, 181, 0.9) 100%);
}

.about-cta-card h2,
.about-cta-card p,
.about-cta-card .about-section-tag {
    color: var(--color-white);
}

.about-cta-card .about-section-tag {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.about-cta-card .about-section-tag::before {
    background: #9ddcff;
}

.about-cta-card p {
    max-width: 60ch;
    opacity: 0.84;
}

.about-cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.about-cta-actions .btn-primary {
    box-shadow: 0 18px 34px rgba(255, 255, 255, 0.16);
}

.about-cta-actions .btn-outline {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    box-shadow: 0 18px 34px rgba(3, 10, 30, 0.16);
}

.about-cta-actions .btn-outline:hover {
    background: #e8f0ff;
    color: var(--color-primary);
}
