/* =========================================================
   ASSOCIADO - 732Mídia
   ========================================================= */

:root {
    --bg: #061322;
    --bg2: #0b2036;
    --text: #f7fbff;
    --muted: #d5e5f1;
    --card: rgba(7, 25, 43, .78);
    --line: rgba(94, 220, 244, .42);
    --cyan: #41dff7;
    --blue: #38a9ff;
    --orange: #ff9a3c;
    --violet: #7c5cff;
    --green: #80e7c4;
    --light: #eef8fb;
    --ink: #0a253b;
    --light-muted: #597283;
    --shadow: 0 26px 70px rgba(0, 0, 0, .38);
    --radius: 24px;
    --header: rgba(4, 15, 27, .82);
}

body.light-theme {
    --bg: #f5fbfd;
    --bg2: #eaf7f8;
    --text: #0d2436;
    --muted: #687f8f;
    --card: rgba(255, 255, 255, .68);
    --line: rgba(22, 145, 171, .25);
    --header: rgba(255, 255, 255, .72);
    --shadow: 0 24px 60px rgba(19, 70, 90, .14);
}

/* =========================================================
   RESET / BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: radial-gradient(circle at 20% 0%,
            #123352 0%,
            var(--bg) 36%,
            #030914 100%);
    color: var(--text);
    overflow-x: hidden;
}

body.light-theme {
    background: linear-gradient(135deg, #f7fcff, #eef8f6);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   ESTRUTURA
   ========================================================= */

.section-pad {
    padding: 105px 7vw;
}

.web-zone {
    isolation: isolate;
}

/* =========================================================
   GLASS
   ========================================================= */

.glass,
.glassmorphism {
    background: linear-gradient(145deg,
            rgba(10, 34, 57, .82),
            rgba(8, 20, 36, .70));
    border: 1px solid rgba(118, 229, 249, .42);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.light-theme .glass,
.light-theme .glassmorphism {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(31, 151, 176, .24);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, 92vw);
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 18px;
    border-radius: 999px;
}



.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 900;
    line-height: .95;
}

.brand-mark {
    width: 44px;
    height: 44px;

    border-radius: 14px;

    display: grid;
    place-items: center;

    background: linear-gradient(135deg, var(--cyan), #0a5fa0);

    box-shadow:
        0 0 28px rgba(54, 214, 244, .55);
}

.nav-menu {
    display: flex;
    gap: 28px;

    font-size: 14px;
    font-weight: 700;
}

.nav-menu a {
    opacity: .82;
}

.nav-menu a:hover {
    color: var(--cyan);
    opacity: 1;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.select-control,
.theme-toggle {
    height: 42px;

    border-radius: 999px;
    border: 1px solid var(--line);

    background: rgba(4, 14, 26, .62);
    color: var(--text);

    padding: 0 13px;

    font-weight: 700;
}

.theme-toggle {
    width: 42px;
    cursor: pointer;
}

.menu-toggle {
    display: none;

    background: none;
    border: 0;

    color: var(--text);
    font-size: 25px;

    cursor: pointer;
}

/* =========================================================
   TEXTOS GERAIS
   ========================================================= */

.eyebrow {
    display: inline-block;

    color: var(--cyan);

    text-transform: uppercase;
    letter-spacing: .14em;

    font-weight: 900;
    font-size: 13px;

    margin-bottom: 12px;
}

.section-title {
    text-align: center;

    max-width: 850px;
    margin: 0 auto 60px;
}

.section-title h2,
.contact-copy h2 {
    font-size: clamp(34px, 4.6vw, 60px);
    line-height: 1.05;

    margin: 0 0 14px;

    letter-spacing: -.04em;

    text-shadow:
        0 2px 24px rgba(0, 0, 0, .28);
}

.section-title p,
.contact-copy p {
    color: var(--muted);

    font-size: 18px;
    line-height: 1.75;
}

/* =========================================================
   BOTÕES
   ========================================================= */

.hero-actions {
    display: flex;
    gap: 14px;

    flex-wrap: wrap;

    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 12px;
    padding: 15px 24px;

    font-weight: 900;

    border: 1px solid var(--line);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg,
            var(--cyan),
            var(--blue));

    color: #00111d;

    box-shadow:
        0 0 35px rgba(54, 214, 244, .35);
}

.btn-primary:hover {
    box-shadow:
        0 0 45px rgba(54, 214, 244, .5);
}

.btn-ghost {
    background: rgba(255, 255, 255, .04);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .09);
}

/* =========================================================
   HERO DO ASSOCIADO
   ========================================================= */

.associate-hero {
    min-height: 92vh;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;

    background: #061322;
}

.associate-hero-bg {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(2, 8, 18, .94),
            rgba(2, 8, 18, .58)),
        url('https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1800&q=85') center / cover;

    opacity: .96;
}

.associate-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 72% 40%,
            rgba(65, 223, 247, .22),
            transparent 30%),
        radial-gradient(circle at 18% 72%,
            rgba(255, 154, 60, .14),
            transparent 35%);

    pointer-events: none;
}

.associate-hero-grid {
    position: relative;
    z-index: 3;

    display: grid;

    grid-template-columns: 1fr 420px;

    gap: 60px;
    align-items: center;

    width: 100%;
    max-width: 1200px;

    margin: auto;
}

/* IMPORTANTE:
   no CSS original o tamanho do H1 estava preso a ".hero h1".
   Como essa página usa ".associate-hero", adicionamos o estilo correto.
*/

.associate-hero .hero-content h1 {
    font-size: clamp(48px, 7vw, 86px);
    line-height: .95;

    margin: 0 0 20px;

    letter-spacing: -.055em;

    color: #fff;

    text-shadow:
        0 4px 28px rgba(0, 0, 0, .72);
}

.associate-hero .hero-content p {
    max-width: 720px;

    margin: 0;

    color: #d5e5f1;

    font-size: 18px;
    line-height: 1.75;

    text-shadow:
        0 4px 28px rgba(0, 0, 0, .72);
}

.hero-content {
    position: relative;
    z-index: 5;
}

/* =========================================================
   CARD DA MARCA
   ========================================================= */

.associate-brand-card {
    border-radius: 30px;

    padding: 38px;

    min-height: unset;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    position: relative;
    overflow: hidden;
}

.associate-brand-card::before {
    content: "";

    position: absolute;

    inset: -40%;

    background:
        conic-gradient(from 120deg,
            transparent,
            rgba(65, 223, 247, .22),
            transparent,
            rgba(255, 154, 60, .20),
            transparent);

    animation: spin 12s linear infinite;
}

.associate-brand-card>* {
    position: relative;
    z-index: 1;
}

.associate-badge {
    align-self: flex-start;

    border: 1px solid var(--line);
    border-radius: 999px;

    padding: 8px 13px;

    font-weight: 900;

    color: var(--cyan);

    letter-spacing: .12em;

    font-size: 12px;
}

.associate-logo img {
    max-width: 159px;
    width: 100%;
}

.associate-logo {
        display: flex;
            justify-content: center;
    font-size: 84px;
    line-height: .8;

    font-weight: 900;

    letter-spacing: -.08em;

    color: #fff;

    text-shadow:
        0 0 35px rgba(65, 223, 247, .45);
}

.associate-logo small {
    font-size: 25px;

    letter-spacing: .24em;

    color: var(--cyan);
}

.associate-brand-card p {
    font-size: 18px;
    line-height: 1.65;

    color: #dcecf6;
}

/* =========================================================
   ANIMAÇÃO DO CARD
   ========================================================= */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   SOBRE O ASSOCIADO
   ========================================================= */

.light-section {
    background:
        linear-gradient(120deg,
            #f6fdff 0%,
            #edf9f7 52%,
            #fff6ec 100%);

    color: var(--ink);

    position: relative;
    overflow: hidden;
}

.about.light-section {
    background:
        radial-gradient(circle at 20% 10%,
            rgba(65, 223, 247, .20),
            transparent 30%),
        linear-gradient(135deg,
            #f3fbff 0%,
            #e9f7fb 58%,
            #f6fffd 100%);
}

.light-section::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(circle,
            rgba(44, 190, 208, .55) 2px,
            transparent 3px);

    background-size: 165px 125px;

    opacity: .72;

    pointer-events: none;
}

.light-section>* {
    position: relative;
}

.light-section .section-title p,
.light-section p {
    color: var(--light-muted);
}

.light-section .section-title h2 {
    text-shadow: none;
}

.associate-about-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    max-width: 1120px;

    margin: auto;
}

.associate-about-grid article {
    background: rgba(255, 255, 255, .78);

    border:
        1px solid rgba(31, 151, 176, .18);

    border-radius: 24px;

    padding: 28px;

    box-shadow:
        0 18px 45px rgba(43, 100, 120, .10);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.associate-about-grid article:hover {
    transform: translateY(-6px);

    box-shadow:
        0 24px 55px rgba(43, 100, 120, .16);
}

.associate-about-grid strong {
    display: inline-grid;
    place-items: center;

    width: 48px;
    height: 48px;

    border-radius: 16px;

    background:
        linear-gradient(135deg,
            var(--cyan),
            var(--blue));

    color: #00111d;

    margin-bottom: 18px;
}

.associate-about-grid h3 {
    font-size: 24px;

    color: #092c4a;

    margin: 0 0 10px;
}

.associate-about-grid p {
    margin: 0;

    line-height: 1.65;

    color: var(--light-muted);
}

/* =========================================================
   SERVIÇOS
   ========================================================= */

.services {
    position: relative;

    color: var(--text);

    overflow: hidden;

    background:
        radial-gradient(circle at 12% 20%,
            rgba(65, 223, 247, .22),
            transparent 34%),
        linear-gradient(135deg,
            #06182b 0%,
            #09243c 52%,
            #06121f 100%);
}

.services::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, .035) 1px,
            transparent 1px);

    background-size: 70px 70px;

    mask-image:
        linear-gradient(180deg,
            transparent,
            black 20%,
            black 80%,
            transparent);

    animation: gridMove 18s linear infinite;
}

.services::after {
    content: "";

    position: absolute;

    inset: auto -10% -35% -10%;

    height: 330px;

    background:
        radial-gradient(ellipse,
            rgba(65, 223, 247, .16),
            transparent 65%);

    pointer-events: none;
}

.services>* {
    position: relative;
    z-index: 1;
}

.services .eyebrow {
    color: #58e8ff;

    text-shadow:
        0 0 20px rgba(88, 232, 255, .35);
}

@keyframes gridMove {
    to {
        background-position: 70px 70px;
    }
}

/* =========================================================
   CARDS DE SERVIÇO
   ========================================================= */

.cards-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 28px;

    perspective: 1200px;
}

article.service-card.glassmorphism.reveal.visible {
    padding: 23px 15px 33px;
}

.service-card {
    border-radius: 22px;

    padding: 34px;

    text-align: center;

    transition: .35s;

    position: relative;

    overflow: hidden;
}

.service-card::before {
    content: "";

    position: absolute;

    inset: -1px;

    background:
        radial-gradient(circle at var(--x, 50%) var(--y, 0%),
            rgba(65, 223, 247, .24),
            transparent 38%);

    opacity: 0;

    transition: .3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card>* {
    position: relative;
}

.service-card:hover {
    transform:
        translateY(-10px) scale(1.015);

    border-color:
        rgba(65, 223, 247, .9);

    box-shadow:
        0 28px 80px rgba(0, 0, 0, .45),
        0 0 35px rgba(65, 223, 247, .18);
}

.icon {
    display: inline-grid;
    place-items: center;

    width: 72px;
    height: 72px;

    border-radius: 22px;

    margin-bottom: 18px;

    color: var(--cyan);

    font-size: 36px;
    font-weight: 900;

    background:
        rgba(54, 214, 244, .08);

    box-shadow:
        inset 0 0 22px rgba(54, 214, 244, .24);
}

.service-card h3 {
    margin:
        0 0 12px;

    font-size: 22px;
}

.service-card p {
    color: #d7e8f4;

    line-height: 1.65;

    margin: 0;
}

.light-theme .services {
    color: #f7fbff;
}

.light-theme .service-card p {
    color: #dcecf6;
}

/* =========================================================
   CONTATO
   ========================================================= */

.contact {
    position: relative;

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 50px;

    color: var(--text);

    overflow: hidden;

    background:
        radial-gradient(circle at 8% 88%,
            rgba(255, 154, 60, .22),
            transparent 32%),
        linear-gradient(135deg,
            #07182a 0%,
            #0b2340 45%,
            #06101e 100%);
}

.contact::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, .035) 1px,
            transparent 1px);

    background-size: 70px 70px;

    mask-image:
        linear-gradient(180deg,
            transparent,
            black 20%,
            black 80%,
            transparent);

    animation:
        gridMove 18s linear infinite;
}

.contact::after {
    content: "";

    position: absolute;

    inset: auto -10% -35% -10%;

    height: 330px;

    background:
        radial-gradient(ellipse,
            rgba(65, 223, 247, .16),
            transparent 65%);

    pointer-events: none;
}

.contact>* {
    position: relative;
    z-index: 1;
}

.contact-copy p {
    color: #e0edf6;
}

.contact-form {
    border-radius: 24px;

    padding: 30px;

    display: grid;

    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    border: 1px solid var(--line);

    background: rgba(255, 255, 255, .10);

    border-radius: 12px;

    padding: 15px 16px;

    color: #fff;

    font: inherit;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--cyan);

    box-shadow:
        0 0 0 3px rgba(65, 223, 247, .12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #c8d8e4;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    text-align: center;

    padding: 28px;

    color: var(--muted);

    background: #030914;
}

.footer p {
    margin: 0;
}

/* =========================================================
   REVEAL / ANIMAÇÃO DE ENTRADA
   ========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(34px);

    transition:
        .75s ease;
}

.reveal.visible {
    opacity: 1;

    transform: none;
}

.reveal:nth-child(2n) {
    transition-delay: .08s;
}

.reveal:nth-child(3n) {
    transition-delay: .16s;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;

        top: 76px;

        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        padding: 20px;

        border-radius: 24px;

        background: var(--header);

        border: 1px solid var(--line);
    }

    .nav-menu.open {
        display: flex;
    }

    .associate-hero-grid {
        grid-template-columns: 1fr;
    }

    .associate-brand-card {
        min-height: 320px;
    }

    .associate-about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1024px) {

    .section-pad {
        padding: 88px 22px;
    }

    /* =====================================================
       HEADER MOBILE
       ===================================================== */

    .site-header {
        top: 10px;

        width: 92vw;
        height: 64px;

        padding: 0 14px;

        border-radius: 999px;

        display: flex;

        align-items: center;
    }

    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;

        padding: 0;

        font-size: 26px;
        line-height: 1;

        order: 0;
    }

    .brand {
        position: absolute;

        left: 50%;

        transform: translateX(-50%);
    }

    .brand span:last-child {
        display: none;
    }

    .brand-mark {
        width: 40px;
        height: 40px;

        border-radius: 13px;
    }

    .header-actions {
        margin-left: auto;

        display: flex;
        align-items: center;

        gap: 6px;
    }

    .select-control {
        min-width: 77px;
        height: 40px;

        padding: 0 8px;

        font-size: 12px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;

        padding: 0;
    }

    .nav-menu {
        position: fixed;

        top: 84px;

        left: 16px;
        right: 16px;

        display: none;

        flex-direction: column;

        gap: 18px;

        padding: 22px;

        border-radius: 22px;

        background: var(--header);

        border: 1px solid var(--line);
    }

    .nav-menu.open {
        display: flex;
    }

    /* =====================================================
       HERO
       ===================================================== */

    .associate-hero {
        min-height: 100vh;

        padding-top: 130px;
    }

    .associate-hero-grid {
        gap: 40px;
    }

    .associate-hero .hero-content h1 {
        font-size: 48px;
    }

    .associate-hero .hero-content p {
        font-size: 16px;
    }

    .associate-brand-card {
        min-height: 300px;

        padding: 28px;
    }

    .associate-logo {
        font-size: 64px;
    }

    .associate-logo small {
        font-size: 20px;
    }

    /* =====================================================
       SOBRE
       ===================================================== */

    .associate-about-grid {
        grid-template-columns: 1fr;
    }

    /* =====================================================
       SERVIÇOS
       ===================================================== */

    .cards-grid {
        grid-template-columns: 1fr;
    }

    /* =====================================================
       CONTATO
       ===================================================== */

    .contact {
        gap: 32px;
    }

    .contact-form {
        padding: 22px;
    }
}



/* =========================================================
   INNOVATION TI - MISSÃO / VISÃO / VALORES
   Exclusivo da página innovation-ti
   ========================================================= */

.innovation-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}


/* Valores ocupa uma linha inteira */

.innovation-purpose-grid .innovation-values-card {
    grid-column: 1 / -1;
}


/* Grade interna dos valores */

.innovation-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 50px;
    row-gap: 0;
    margin-top: 10px;
}


/* Cada valor */

.innovation-value-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(10, 48, 70, 0.1);
}


/*
 * O texto permanece exatamente como veio
 * do associates-data.php.
 */

.innovation-value-item p {
    margin: 0;
    padding: 0;

    font-size: 0.9rem;
    line-height: 1.55;
}


/* Remove borda da última linha */

.innovation-value-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .innovation-purpose-grid {
        grid-template-columns: 1fr;
    }

    .innovation-purpose-grid .innovation-values-card {
        grid-column: auto;
    }

    .innovation-values-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .innovation-value-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(10, 48, 70, 0.1);
    }

    .innovation-value-item:last-child {
        border-bottom: 0;
    }
}