/* =========================================================================
   GDI Hub — estilos do site público
   Identidade GDI Hub: azul-marinho, verde-limão e verde institucional.
   ========================================================================= */

:root {
    --brand-navy: #001e45;
    --brand-lime: #96e600;
    --brand-green: #73a004;
    --forest: var(--brand-navy);
    --olive: var(--brand-lime);
    --text: #4d5968;
    --muted: #6b7786;
    --light: #f3f6fa;
    --mist: #e8eef5;
    --line: #dbe3ec;
    --white: #fff;

    --font-head: "Rubik", system-ui, sans-serif;
    --font-body: "Karla", system-ui, sans-serif;

    --leaf: 16px 0 16px 0;      /* canto "folha" usado em botões e imagens */
    --container: 1140px;
    --header-h: 88px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home { overflow-x: clip; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--forest);
    line-height: 1.25;
    margin: 0 0 .5em;
    font-weight: 600;
}

p { margin: 0 0 1em; }
a { color: var(--brand-navy); }

/* Texto formatado pelo painel: hierarquia simples e imagens responsivas. */
.rich-content > :first-child { margin-top: 0; }
.rich-content > :last-child { margin-bottom: 0; }
.rich-content h2, .rich-content h3 { margin: 1.15em 0 .45em; }
.rich-content ul, .rich-content ol { margin: .75em 0 1em; padding-left: 1.45em; }
.rich-content li + li { margin-top: .3em; }
.rich-content img { display: block; width: auto; max-width: 100%; height: auto; margin: 1.1em 0; border-radius: 10px; }
.rich-content a { text-underline-offset: .18em; }
.about .section-head.center > .rich-content { max-width: 1060px; margin: 0 auto; }
.about-milestones {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 34px auto 40px;
}
.about-milestone {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 14px 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 8px 28px rgba(0, 30, 69, .045);
}
.about-milestone strong {
    color: var(--brand-green);
    font-family: var(--font-head);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1;
}
.about-milestone span { color: var(--ink); font-size: 15px; font-weight: 600; }
.area-card .rich-content p, .testimonial blockquote .rich-content p { margin: 0; }
.carbon-copy > .rich-content { max-width: 620px; color: #e1e9f2; font-size: 16px; line-height: 1.65; }
.carbon-copy > .rich-content > :last-child { margin-bottom: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.center { text-align: center; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--white);
    padding: 8px 16px;
}
.skip-link:focus { left: 16px; top: 16px; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

:focus-visible { outline: 2px solid var(--brand-navy); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--brand-lime); }

/* ---------- Botões ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    color: var(--brand-navy);
    background: var(--brand-lime);
    border: 0;
    cursor: pointer;
    transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--brand-green); }

.btn-leaf { border-radius: 15px 0 15px 0; padding: 20px 40px; }
.btn-pill { border-radius: 999px; padding: 14px 32px; }
.btn-ghost {
    border-radius: 15px 0 15px 0;
    padding: 19px 32px;
    background: transparent;
    color: var(--forest);
    box-shadow: inset 0 0 0 1px var(--forest);
}
.btn-ghost:hover { background: var(--forest); color: var(--white); }

.btn-outline {
    display: inline-block;
    padding: 12px 36px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}
.btn-outline:hover { background: var(--white); color: var(--forest); }

/* ---------- Cabeçalho ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled,
.inner-page .site-header {
    background: var(--forest);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
    max-width: 1240px;
}

/* Espaço do logo: mantém o mesmo tamanho com ou sem imagem */
.brand {
    display: flex;
    align-items: center;
    min-width: 160px;
    height: 56px;
    color: var(--white);
    text-decoration: none;
}
.brand img { max-height: 56px; width: auto; max-width: 220px; object-fit: contain; }
.brand-placeholder {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--white);
}
.brand-placeholder strong { color: var(--olive); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav > ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}
.main-nav > ul a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--olive);
    transform: scaleX(0);
    transition: transform .25s;
}
.main-nav > ul a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.language-picker {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 42px;
    height: 42px;
}
.language-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 42px;
    height: 42px;
    padding: 0 7px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: transparent;
    font: inherit;
    cursor: pointer;
    transition: background-color .2s, color .2s, transform .2s;
}
.language-trigger:hover,
.language-trigger[aria-expanded="true"] { background: rgba(255,255,255,.1); }
.language-trigger:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.language-current-flag { display: block; font: 23px/1 system-ui, sans-serif; filter: saturate(.92); }
.language-chevron {
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 1.5px solid rgba(255,255,255,.82);
    border-bottom: 1.5px solid rgba(255,255,255,.82);
    transform: rotate(45deg);
    transition: transform .2s, margin .2s;
}
.language-trigger[aria-expanded="true"] .language-chevron { margin-top: 3px; transform: rotate(225deg); }
.language-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    width: 196px;
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid #dbe3ec;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,30,69,.06), 0 24px 56px rgba(0,30,69,.18);
    transform-origin: top right;
    animation: language-pop .18s cubic-bezier(.2,.8,.2,1) both;
}
.language-menu[hidden] { display: none; }
.language-menu > li { min-width: 0; margin: 0; padding: 0; }
.language-picker.opens-up .language-menu { top: auto; bottom: calc(100% + 12px); transform-origin: bottom right; }
.language-option {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--forest);
    font: 500 15px/1.3 var(--font-body);
    text-decoration: none;
    transition: background-color .18s, border-color .18s, color .18s;
}
.language-option:hover { background: #f3f6fa; color: var(--brand-navy); }
.language-option:focus-visible { outline: none; border-color: var(--brand-green); background: #f3f6fa; }
.language-option[aria-current="page"] { background: #eef8db; color: var(--brand-navy); font-weight: 700; }
.language-option-flag { display: grid; place-items: center; font: 24px/1 system-ui, sans-serif; }
.language-check { display: grid; place-items: center; width: 16px; height: 16px; opacity: 0; }
.language-check::after { content: ""; width: 8px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.language-option[aria-current="page"] .language-check { opacity: 1; }
@keyframes language-pop {
    from { opacity: 0; transform: translateY(-5px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
    transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Títulos de seção ---------- */

.section-head { margin-bottom: 48px; }
.home .section-head { margin-bottom: 40px; }
.section-head h2 { font-size: 40px; margin-bottom: 0; }
.section-head h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    margin: 24px 0 28px;
    background: var(--olive);
}
.section-head.center h2::after { margin-left: auto; margin-right: auto; }
.section-head.center p { max-width: 1060px; margin: 0 auto; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--forest) url("../img/hero-poster.jpg") center / cover;
    border-radius: 0 0 150px 0;
}
.hero-video, .hero-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 69, .55);
}
.hero-inner { position: relative; padding-top: var(--header-h); padding-bottom: 80px; }
.hero-content { max-width: 470px; margin-left: 50%; }
.eyebrow {
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--olive);
    margin-bottom: 8px;
}
.hero h1 {
    color: var(--white);
    font-size: 72px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 24px;
}
.hero-text { font-size: 16px; margin-bottom: 32px; }
.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
}
.hero-link .icon { color: var(--olive); width: 24px; height: 24px; }
.hero-link:hover { color: var(--olive); }

/* ---------- Sobre ---------- */

.about {
    padding: 88px 0 64px;
    background: linear-gradient(var(--white) 0 70%, var(--light) 70%);
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}
.area-card {
    text-align: center;
    padding: 24px 16px 32px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    transition: transform .3s, box-shadow .3s;
}
.area-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 30, 69, .08); }
.area-card h3 { font-size: 18px; margin: 18px 0 4px; font-weight: 700; }
.area-card p { margin: 0; }
.area-grid-expanded { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--light);
    color: var(--brand-green);
}
.icon-circle .icon { width: 24px; height: 24px; }
.icon-circle.small { width: 48px; height: 48px; }
.icon-circle.small .icon { width: 18px; height: 18px; }

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.video-card {
    position: relative;
    margin: 0;
    min-width: 0;
}
.video-frame {
    border-radius: 16px 0 16px 0;
    overflow: hidden;
    box-shadow: 0 30px 50px rgba(0, 0, 0, .15);
    aspect-ratio: 16 / 9;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; }
.btn-video {
    position: absolute;
    left: 0;
    bottom: -22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    border: 0;
    border-radius: 18px 0 18px 0;
    background: var(--brand-lime);
    color: var(--brand-navy);
    font-family: var(--font-body);
    font-size: 18px;
    box-shadow: 12px 18px 40px rgba(0, 30, 69, .18);
    cursor: pointer;
    transition: background-color .2s, color .2s;
}
.btn-video:hover { background: var(--brand-green); }

/* ---------- Números ---------- */

.stats { background: var(--light); padding: 68px 0 84px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 8px 16px; }
.stat + .stat { border-left: 1px solid #d8e0e9; }
.stat-number {
    font-family: var(--font-head);
    font-size: 40px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.2;
    margin: 0;
}
.stat-label { color: var(--brand-navy); font-size: 15px; margin: 4px 0 0; }

/* ---------- Serviços (acordeão horizontal) ---------- */

.services {
    position: relative;
    isolation: isolate;
    padding: 88px 0 80px;
    background: var(--mist) url("../img/sketch1.png") right -24px bottom -35px / clamp(240px, 25vw, 333px) auto no-repeat;
}
.services > .container { position: relative; z-index: 1; }
.services .section-head { position: relative; z-index: 2; padding-left: 0; }
.services .section-head h2 { display: inline-block; padding-right: 20px; background: transparent; }
.services .section-head h2::after { background: var(--brand-lime); }
.services-solar {
    position: absolute;
    left: -85px;
    top: -155px;
    width: clamp(420px, 40vw, 600px);
    height: auto;
    opacity: .75;
    pointer-events: none;
    z-index: 0;
}

.h-accordion {
    display: grid;
    gap: 20px;
    margin-bottom: 48px;
    width: 100%;
}
.h-accordion.is-enhanced:not(.is-ready) .acc-panel,
.h-accordion.is-enhanced:not(.is-ready) .acc-item { transition: none; }
.acc-item { min-width: 0; }
.h-accordion.is-enhanced { display: flex; gap: 0; min-height: 450px; }
.is-enhanced .acc-item { display: flex; flex: 0 0 76px; transition: flex .45s ease; }
.is-enhanced .acc-item.is-open { flex: 1 1 0; }

.acc-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px;
    border: 0;
    border-right: 1px solid rgba(0, 30, 69, .12);
    background: #dfe6ef;
    color: var(--forest);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: background-color .3s;
}
.acc-tab:hover { background: var(--white); }
.is-enhanced .acc-tab { width: 76px; flex: 0 0 76px; padding: 28px 0; }
.is-enhanced .acc-tab-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    order: 2;
    max-height: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.acc-sign { position: relative; width: 14px; height: 14px; order: 1; }
.acc-sign::before,
.acc-sign::after {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 2px;
    background: currentColor;
    transition: transform .3s;
}
.acc-sign::after { transform: rotate(90deg); }
.is-open .acc-sign::after { transform: rotate(0); }

.is-enhanced .is-open .acc-tab { background: linear-gradient(#143b66, var(--forest)); color: #96e600; }

.acc-panel {
    min-width: 0;
    color: var(--text);
    background: var(--mist);
}
.is-enhanced .acc-panel { width: 0; overflow: hidden; opacity: 0; transition: opacity .3s ease; }
.is-enhanced .is-open .acc-panel { width: 100%; opacity: 1; }
.acc-panel-content { padding: 24px 32px 32px; font-size: 18px; line-height: 1.85; }
.acc-panel-content p:last-child { margin-bottom: 0; }

/* ---------- Oportunidades ---------- */

.opportunities { padding: 88px 0; }
.opportunities .section-head h2::after { display: none; }
.opportunities .section-head h2 { margin-bottom: 12px; }

.opportunities-more { display: flex; justify-content: center; margin-top: 40px; }
.opportunities-more .icon { margin-left: 10px; }

.opp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
}
.opp-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.opp-card[hidden] { display: none; }
.opp-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 24px 0 24px 0;
    overflow: hidden;
    background: var(--light);
    margin-bottom: 20px;
}
.opp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.opp-card:hover .opp-media img { transform: scale(1.05); }

.badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light);
    color: var(--text);
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.3;
}
.badge .icon { color: var(--brand-green); }
.badge-location { top: 12px; right: 12px; padding: 4px 10px; }
.badge-operation { left: 12px; bottom: 12px; padding: 10px 14px; }
.badge-operation .icon { width: 22px; height: 22px; }
.badge-operation.top { top: 20px; right: 20px; left: auto; bottom: auto; }

.opp-title { font-size: 24px; margin-bottom: 20px; }
.opp-title a { color: inherit; text-decoration: none; }
.opp-title a:hover { color: var(--brand-navy); }
.opp-card .btn-leaf { margin-top: auto; }

.opp-empty { font-size: 18px; }

/* ---------- Depoimentos ---------- */

.testimonials {
    padding: 88px 0;
    background: var(--light) url("../img/depoimento-bg.png") right top / auto 100% no-repeat;
}
.testimonials .section-head p { margin: 0; }
.testimonial-carousel { position: relative; padding: 0 56px; }
.testimonial-track { display: flex; gap: 32px; overflow-x: auto; padding: 56px 0 8px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial {
    position: relative;
    margin: 0;
    padding: 72px 40px 40px;
    background: var(--white);
    border-radius: 12px;
    text-align: center;
    flex: 0 0 calc((100% - 32px) / 2);
    min-width: 0;
    scroll-snap-align: start;
}
.testimonial .avatar {
    position: absolute;
    top: -48px;
    left: 50%;
    width: 96px;
    height: 96px;
    margin-left: -48px;
    border-radius: 50%;
    border: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    object-fit: cover;
}
.testimonial blockquote { margin: 0 0 20px; font-size: 20px; line-height: 1.6; color: var(--text); }
.testimonial figcaption strong { display: block; color: var(--forest); font-size: 15px; }
.testimonial figcaption span { font-size: 13px; }
.testimonial blockquote p { margin: 0; }
.avatar-initial { display: grid; place-items: center; background: var(--brand-lime); color: var(--brand-navy); font: 600 32px var(--font-head); }
.carousel-arrow { position: absolute; top: calc(50% + 24px); transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #dbe3ec; border-radius: 50%; color: var(--forest); background: var(--white); cursor: pointer; transition: background-color .2s, color .2s; }
.carousel-arrow:hover { color: var(--brand-navy); background: var(--brand-lime); border-color: var(--brand-lime); }
.carousel-arrow .icon { width: 20px; height: 20px; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* ---------- Energias ---------- */

.energy { position: relative; padding: 88px 0 152px; isolation: isolate; }
.energy-orbit {
    position: absolute;
    left: -125px;
    top: -155px;
    width: 310px;
    height: 310px;
    opacity: .6;
    z-index: -1;
    pointer-events: none;
}
.has-motion .energy-orbit { animation: orbit-sway 18s ease-in-out infinite alternate; animation-play-state: paused; }
.has-motion .energy-orbit.is-in-view { animation-play-state: running; }
@keyframes orbit-sway { from { transform: rotate(-9deg); } to { transform: rotate(12deg); } }
.energy-leaf { position: absolute; right: 24px; bottom: 18px; width: min(320px, 28vw); height: auto; pointer-events: none; z-index: -1; transform-origin: 72% 24%; }
.has-leaf-observer.has-motion .energy-leaf[data-leaf-motion] { opacity: 0; transform: translate3d(34px, -72px, 0) rotate(14deg); }
.has-leaf-observer.has-motion .energy-leaf[data-leaf-motion].is-settled { animation: leaf-arrive 1.7s cubic-bezier(.2, .72, .25, 1) both; }
@keyframes leaf-arrive {
    0% { opacity: 0; transform: translate3d(34px, -72px, 0) rotate(14deg); }
    48% { opacity: 1; transform: translate3d(-10px, -32px, 0) rotate(-8deg); }
    72% { transform: translate3d(7px, -10px, 0) rotate(4deg); }
    88% { transform: translate3d(-3px, -2px, 0) rotate(-2deg); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
}
.energy-grid {
    display: grid;
    grid-template-columns: .9fr 1.15fr;
    gap: 64px;
    align-items: center;
}
.energy-media { position: relative; }
.energy-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0 0 40px 0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .15);
}
.energy-tag {
    position: absolute;
    left: -40px;
    bottom: -32px;
    margin: 0;
    padding: 24px 32px;
    background: var(--brand-lime);
    color: var(--brand-navy);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    border-radius: 16px 0 16px 0;
}
.energy-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.energy-list li { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.energy-list li:nth-child(even) { margin-top: 28px; }
.energy-list .icon-circle { width: 64px; height: 64px; flex: 0 0 64px; }
.energy-list .icon { width: 26px; height: 26px; }
.energy-list h3 { font-size: 21px; margin: 0 0 12px; font-weight: 700; overflow-wrap: anywhere; }
.energy-list p { margin: 0; font-size: 17px; line-height: 1.75; }

/* ---------- Mineração e carbono: continuação das frentes do hub ---------- */

.hub-fronts { margin-top: 96px; }
.mining-front {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 72px;
    padding-top: 44px;
    border-top: 1px solid var(--line);
}
.front-eyebrow { margin: 0 0 16px; color: var(--brand-navy); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6; }
.mining-copy .section-head { margin-bottom: 24px; }
.mining-copy .section-head h2 { font-size: clamp(30px, 3.2vw, 40px); }
.mining-copy .section-head h2::after { margin-top: 20px; }
.mining-copy > p:not(.front-eyebrow) { font-size: 17px; line-height: 1.75; }
.front-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--brand-green);
    color: var(--forest);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.45;
    transition: color .2s;
}
.front-link .icon { width: 18px; height: 18px; color: var(--brand-green); transition: transform .2s; }
.front-link:hover { color: var(--brand-green); }
.front-link:hover .icon { transform: translateX(4px); }
.mining-media { position: relative; margin: 0; min-width: 0; padding-bottom: 22px; }
.mining-media > img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 36px 0 36px 0; box-shadow: 0 24px 45px rgba(0,30,69,.12); }
.mining-media-label {
    position: absolute;
    left: -24px;
    bottom: 0;
    display: grid;
    grid-template-columns: 24px auto;
    gap: 2px 14px;
    padding: 18px 26px;
    border-radius: var(--leaf);
    color: var(--white);
    background: var(--forest);
    font-family: var(--font-head);
    font-size: 18px;
    line-height: 1.4;
}
.mining-media-label .icon { grid-row: 1 / 3; align-self: center; width: 24px; height: 24px; color: var(--olive); }
.mining-media-label small { color: #d1dceb; font: 400 11px/1.5 var(--font-body); }
.carbon-front {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-top: 0;
    padding: 32px 36px;
    background: var(--forest);
    color: var(--white);
    border-left: 4px solid var(--olive);
    border-radius: 0 0 24px 0;
    box-shadow: 0 20px 48px rgba(0, 30, 69, .14);
}
.carbon-symbol { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--olive); }
.carbon-symbol .icon { width: 32px; height: 32px; }
.carbon-copy .front-eyebrow { margin-bottom: 6px; color: var(--olive); font-size: 10px; letter-spacing: .08em; }
.carbon-copy h3 { margin-bottom: 8px; color: var(--white); font-size: 25px; }
.carbon-front .front-link { margin: 0; color: var(--white); font-size: 14px; white-space: nowrap; border-color: var(--olive); }
.carbon-front .front-link .icon { color: var(--olive); }
.mining-front { margin-top: 40px; }

@media (max-width: 1024px) {
    .nav-actions { gap: 18px; }
    .mining-front { gap: 42px; }
    .carbon-front { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 28px; }
    .carbon-symbol { width: 64px; height: 64px; }
    .carbon-front .front-link { grid-column: 2; justify-self: start; margin-top: -8px; }
}
@media (max-width: 860px) {
    .hub-fronts { margin-top: 64px; }
    .mining-front { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
    .mining-copy { max-width: 650px; }
    .mining-media > img { aspect-ratio: 16 / 9; }
    .mining-media-label { left: 16px; }
    .carbon-front { margin-top: 0; }
    .mining-front { margin-top: 44px; }
}
@media (max-width: 560px) {
    .hub-fronts { margin-top: 56px; }
    .mining-front { padding-top: 36px; gap: 28px; }
    .mining-copy > p:not(.front-eyebrow) { font-size: 16px; }
    .front-eyebrow { font-size: 10px; }
    .mining-media > img { aspect-ratio: 4 / 3; border-radius: 24px 0 24px 0; }
    .mining-media-label { padding: 14px 20px; font-size: 16px; }
    .carbon-front { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 24px 20px; align-items: start; margin-top: 0; }
    .mining-front { margin-top: 36px; }
    .carbon-symbol { width: 48px; height: 48px; }
    .carbon-symbol .icon { width: 24px; height: 24px; }
    .carbon-symbol { grid-row: 1 / 3; align-self: center; }
    .carbon-copy { display: contents; }
    .carbon-copy .front-eyebrow { grid-column: 2; margin: 0; }
    .carbon-copy h3 { grid-column: 2; margin: -8px 0 0; font-size: 22px; }
    .carbon-copy > .rich-content { grid-column: 1 / -1; font-size: 15px; }
    .carbon-front .front-link { grid-column: 1 / -1; white-space: normal; margin-top: 0; }
}

/* ---------- Parceiros ---------- */

.partners { padding: 88px 0 68px; background: var(--mist); }
.partner-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.partner-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 36px 64px;
}
.partner-row img { height: 55px; width: auto; max-width: 180px; object-fit: contain; }

/* ---------- Página de oportunidade ---------- */

.opp-single { background: var(--light); padding: calc(var(--header-h) + 60px) 0 80px; }
.opp-single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.back-link { display: inline-block; margin-bottom: 20px; font-size: 14px; text-decoration: none; font-weight: 700; }
.opp-info h1 { font-size: 40px; overflow-wrap: anywhere; }
.opp-facts { margin: 24px 0; }
.opp-facts div { margin-bottom: 16px; }
.opp-facts dt { font-weight: 700; color: var(--forest); }
.opp-facts dd { margin: 0; }
.opp-facts .inline dt,
.opp-facts .inline dd { display: inline; }
.rule { display: block; width: 46px; height: 2px; background: var(--brand-lime); margin: 8px 0 32px; }
.opp-description { margin-bottom: 32px; }
.opp-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.opp-single-media { position: relative; margin: 0; }
.opp-single-media img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 16px 0 16px 0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
}
.related { padding-top: 80px; }
.gallery-stage { position: relative; }
.gallery-stage [data-gallery-main] { object-fit: contain; background: #fff; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.gallery-thumbs a { display: block; border: 2px solid transparent; padding: 3px; border-radius: 12px 0 12px 0; }
.gallery-thumbs a[aria-current="true"] { border-color: var(--brand-green); }
.gallery-thumbs img { aspect-ratio: 3 / 2; width: 100%; border-radius: 8px 0 8px 0; box-shadow: none; object-fit: cover; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; background: rgba(0, 30, 69, .85); cursor: pointer; }
.gallery-arrow .icon { width: 18px; height: 18px; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-full { display: inline-block; margin-top: 12px; font-size: 14px; }

.not-found { padding: calc(var(--header-h) + 120px) 0 120px; background: var(--light); }
.not-found h1 { font-size: 48px; }

/* ---------- Rodapé ---------- */

.site-footer {
    background: var(--forest) url("../img/rodape.png") left top / auto 100% no-repeat;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 48px;
    padding-top: 90px;
    padding-bottom: 60px;
}
.brand-footer { margin-bottom: 16px; }
.site-footer h2 { color: var(--white); font-size: 24px; margin-bottom: 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--olive); }
.footer-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    padding-bottom: 28px;
    font-size: 13px;
}
.footer-bottom p { margin: 0; }

/* ---------- Modal de vídeo ---------- */

.video-modal {
    width: min(960px, 92vw);
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #000;
    overflow: visible;
}
.video-modal::backdrop { background: rgba(10, 12, 6, .85); }
.video-modal video { width: 100%; border-radius: 12px; }
.modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Animação de entrada ---------- */

.reveal { opacity: 1; transform: none; }
.has-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.has-reveal .reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.has-reveal .area-card:nth-child(2),
.has-reveal .video-card:nth-child(2),
.has-reveal .stat:nth-child(2),
.has-reveal .testimonial:nth-child(2),
.has-reveal .energy-list li:nth-child(2) { transition-delay: .1s; }
.has-reveal .area-card:nth-child(3),
.has-reveal .stat:nth-child(3),
.has-reveal .testimonial:nth-child(3),
.has-reveal .energy-list li:nth-child(3) { transition-delay: .18s; }
.has-reveal .area-card:nth-child(4),
.has-reveal .stat:nth-child(4),
.has-reveal .testimonial:nth-child(4),
.has-reveal .energy-list li:nth-child(4) { transition-delay: .26s; }
.has-reveal .area-card:nth-child(5) { transition-delay: .34s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .energy-orbit { animation: none !important; transform: none; }
    .energy-leaf { opacity: 1 !important; transform: none !important; animation: none !important; }
    .hero-video { display: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* =========================================================================
   Responsivo
   ========================================================================= */

@media (max-width: 1024px) {
    .main-nav,
    .main-nav > ul { gap: 24px; }
    .main-nav { gap: 22px; }
    .hero h1 { font-size: 56px; }
    .hero-content { margin-left: 40%; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .opp-grid { grid-template-columns: repeat(2, 1fr); }
    .energy-grid { gap: 48px; }
    .energy-tag { left: -16px; }
    .energy-list .icon-circle { width: 56px; height: 56px; flex-basis: 56px; }
    .energy-list h3 { font-size: 19px; }
    .energy-list li { gap: 14px; }
    .acc-panel-content { font-size: 16px; padding: 24px; }
}

@media (max-width: 860px) {
    :root { --header-h: 72px; }

    .nav-toggle { display: block; }
    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 28px;
        background: var(--forest);
        box-shadow: 0 20px 30px rgba(0, 0, 0, .2);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, transform .25s, visibility .25s;
    }
    .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
    .main-nav > ul { flex-direction: column; gap: 0; }
    .main-nav > ul a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .main-nav .nav-actions { justify-content: center; gap: 18px; margin-top: 20px; }
    .main-nav .btn-outline { margin-top: 0; text-align: center; }
    .menu-open .site-header { background: var(--forest); }

    .section-head h2 { font-size: 32px; }

    .hero { border-radius: 0 0 80px 0; }
    .hero-content { margin-left: 0; }
    .hero h1 { font-size: 46px; }
    .hero-link { font-size: 20px; }

    .home .section-head { margin-bottom: 32px; }
    .about { padding: 64px 0 48px; background: linear-gradient(var(--white) 0 80%, var(--light) 80%); }
    .about-milestones { gap: 12px; margin: 26px auto 32px; }
    .about-milestone { min-height: 68px; padding: 12px 16px; gap: 10px; }
    .area-grid { gap: 16px; }
    .video-grid { grid-template-columns: 1fr; gap: 52px; }

    .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
    .stat:nth-child(3) { border-left: 0; }

    .stats { padding: 56px 0 64px; }
    .services { padding: 64px 0 60px; background-size: 240px auto; background-position: right -90px bottom -40px; }
    .services-solar { width: 360px; left: -70px; top: -100px; opacity: .65; }
    .services .section-head { padding-left: 0; }

    /* Acordeão vira vertical */
    .h-accordion.is-enhanced { flex-direction: column; min-height: 0; }
    .is-enhanced .acc-item, .is-enhanced .acc-item.is-open { flex: none; flex-direction: column; }
    .is-enhanced .acc-tab {
        flex-direction: row;
        width: 100%;
        padding: 20px 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 30, 69, .12);
        text-align: left;
    }
    .is-enhanced .acc-tab-title { writing-mode: horizontal-tb; transform: none; white-space: normal; order: 1; max-height: none; }
    .acc-sign { order: 2; }
    .is-enhanced .acc-panel { width: 100%; max-height: 0; transition: max-height .4s ease, opacity .3s ease; }
    .acc-panel-content { padding: 28px 24px; }

    .opportunities,
    .testimonials { padding: 64px 0; }
    .partners { padding: 64px 0 52px; }
    .testimonial { flex-basis: 100%; }
    .testimonial blockquote { font-size: 18px; }

    .energy { padding: 64px 0 128px; }
    .energy-orbit { width: 240px; height: 240px; left: -105px; top: -120px; }
    .energy-leaf { width: 240px; right: 0; bottom: 10px; }
    .energy-grid { grid-template-columns: 1fr; gap: 56px; }
    .energy-tag { left: 16px; }
    
    .opp-single-grid { grid-template-columns: 1fr; gap: 40px; }
    .opp-single-media { order: -1; }
    .opp-info h1 { font-size: 32px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 64px; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 40px; }
    .area-grid { grid-template-columns: 1fr 1fr; }
    .about { padding-bottom: 44px; }
    .about-milestones { flex-wrap: wrap; }
    .about-milestone { flex: 1 1 100%; justify-content: center; }
    .area-card { padding: 20px 8px 24px; }
    .area-card h3 { font-size: 16px; }
    .area-card p { font-size: 14px; }
    .icon-circle { width: 56px; height: 56px; }
    .stat-number { font-size: 32px; }
    .opp-grid { grid-template-columns: 1fr; }
    .energy-list { grid-template-columns: 1fr; gap: 28px; }
    .energy-list li:nth-child(even) { margin-top: 0; }
    .energy-list h3 { font-size: 21px; margin-bottom: 4px; }
    .energy-list p { font-size: 16px; }
    .testimonial-carousel { padding: 0 38px; }
    .testimonial { padding: 64px 18px 28px; }
    .testimonial blockquote { font-size: 16px; }
    .carousel-arrow { width: 32px; height: 32px; }
    .services .section-head { padding-left: 0; }
    .services-solar { width: 300px; left: -100px; top: -110px; }
    .energy-orbit { width: 190px; height: 190px; left: -105px; top: -95px; }
    .energy-tag { font-size: 16px; padding: 18px 24px; left: 12px; right: 12px; bottom: -28px; }
    .btn-leaf { padding: 18px 32px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 4px; }
}

/* ---------- Navegação: trilha, explorar, listas, negociadas ---------- */

.breadcrumbs { font-size: 14px; margin-bottom: 24px; color: var(--text); }
.breadcrumbs a { color: var(--brand-navy); text-decoration: none; font-weight: 700; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 8px; color: #8997a8; }

.explore {
    display: grid;
    gap: 12px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-size: 15px;
}
.explore-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.explore-label { font-weight: 700; color: var(--forest); margin-right: 4px; }
.explore a {
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.explore a span { color: #999; }
.explore a:hover,
.explore a[aria-current="page"] { border-color: var(--brand-navy); color: var(--brand-navy); }

.list-hero { background: var(--light); padding: calc(var(--header-h) + 56px) 0 56px; }
.list-hero h1 { font-size: 48px; }
.list-hero p { max-width: 760px; margin: 0; }
.list-page { padding-top: 64px; }
.list-page .opp-title { font-size: 24px; }
.catalogue { padding-top: 32px; }
.opportunity-filters { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) auto; align-items: end; gap: 12px; padding: 18px; background: #f3f6fa; border: 1px solid #dbe3ec; border-radius: 18px 0 18px 0; }
.opportunity-filters label { display: grid; gap: 4px; min-width: 0; }
.opportunity-filters label > span { font-size: 12px; font-weight: 700; color: var(--forest); }
.opportunity-filters input, .opportunity-filters select { min-width: 0; width: 100%; height: 44px; padding: 8px 12px; border: 1px solid #c9d6e6; border-radius: 8px; background: #fff; font: inherit; font-size: 14px; color: var(--text); }
.opportunity-filters .btn { min-height: 44px; padding: 12px 20px; }
.catalogue-summary { display: flex; justify-content: space-between; gap: 16px; margin: 24px 0 32px; font-size: 14px; }
.catalogue-summary p { margin: 0; }
.catalogue-summary a { font-weight: 700; }
.catalogue-empty { text-align: center; padding: 48px 24px; border: 1px dashed #c9d6e6; border-radius: 18px; }
.catalogue-empty h2 { font-size: 24px; }
.opportunities-page .opp-title { font-size: 24px; }
@media (max-width: 1024px) { .opportunity-filters { grid-template-columns: repeat(2, 1fr); } .filter-search { grid-column: 1 / -1; } }
@media (max-width: 560px) { .opportunity-filters { padding: 14px; gap: 10px; } .opportunity-filters label:nth-of-type(4) { grid-column: 1 / -1; } .opportunity-filters .btn { grid-column: 1 / -1; } .list-hero { padding-bottom: 36px; } }

.opp-facts a { color: inherit; }
.opp-facts a:hover { color: var(--brand-navy); }
a.badge { text-decoration: none; }
.opp-single .breadcrumbs { margin-top: -20px; }

.badge-closed {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 5px;
    background: var(--forest);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}
.opp-single-media .badge-closed { top: 20px; left: 20px; }
.opp-card.is-closed .opp-media img { filter: grayscale(.6); }
.closed-note {
    padding: 12px 16px;
    border-left: 3px solid var(--olive);
    background: var(--white);
    font-weight: 500;
}

@media (max-width: 860px) {
    .list-hero h1 { font-size: 36px; }
}

/* Privacidade: aviso de cookies e páginas informativas. */
.privacy-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; font-size: 13px; }
.privacy-footer-links a, .privacy-footer-links button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.privacy-hero { padding: calc(var(--header-h) + 48px) 0 46px; background: var(--light); }
.privacy-hero h1 { max-width: 850px; margin: 12px 0 16px; font-size: clamp(36px, 5vw, 56px); }
.privacy-intro { max-width: 820px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.privacy-document { max-width: 850px; }
.privacy-document section + section { margin-top: 32px; }
.privacy-document h2 { margin: 0 0 10px; color: var(--forest); font-size: 24px; }
.privacy-document p, .privacy-document li { color: var(--muted); line-height: 1.8; }
.privacy-document a, .privacy-preferences-link { color: var(--brand-navy); font-weight: 700; }
.privacy-preferences-link { padding: 0; border: 0; background: transparent; font: inherit; text-decoration: underline; cursor: pointer; }
.cookie-banner { position: fixed; z-index: 1200; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 880px; margin: 0 auto; padding: 14px 18px; border: 1px solid rgba(0,30,69,.12); border-radius: 18px; background: #fff; box-shadow: 0 18px 60px rgba(0,20,46,.22); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-copy { max-width: 640px; }
.cookie-banner-copy strong { color: var(--forest); font: 700 16px/1.2 Rubik, sans-serif; }
.cookie-banner-copy p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.cookie-banner-copy a { color: var(--brand-navy); font-weight: 700; }
.cookie-banner-actions, .cookie-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-button { min-height: 38px; padding: 9px 14px; border: 1px solid transparent; border-radius: 999px; font: 700 14px/1 Karla, sans-serif; cursor: pointer; }
.cookie-button-primary { background: var(--brand-navy); color: #fff; }
.cookie-button-primary:hover { filter: brightness(1.1); }
.cookie-button-secondary { border-color: #d7dfe8; background: #fff; color: var(--forest); }
.cookie-button-secondary:hover { background: #f4f6f8; }
.cookie-dialog { width: min(560px, calc(100% - 28px)); max-width: none; max-height: min(86vh, 720px); padding: 0; overflow: auto; border: 0; border-radius: 24px; background: transparent; color: var(--text); }
.cookie-dialog::backdrop { background: rgba(0,14,32,.58); backdrop-filter: blur(3px); }
.cookie-dialog-card { position: relative; padding: 32px; border-radius: 24px; background: #fff; box-shadow: 0 24px 80px rgba(0,20,46,.25); }
.cookie-dialog-card h2 { margin: 6px 36px 10px 0; color: var(--forest); font: 700 28px/1.15 Rubik, sans-serif; }
.cookie-dialog-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.cookie-dialog-close { position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f1f3f5; color: var(--forest); font-size: 25px; cursor: pointer; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 16px; border: 1px solid #e1e6eb; border-radius: 14px; }
.cookie-category p, .cookie-category small { display: block; margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.cookie-category strong { color: var(--forest); }
.cookie-always-active { flex: 0 0 auto; color: var(--brand-navy); font-size: 12px; font-weight: 700; }
.cookie-category-toggle input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--brand-navy); }
.cookie-dialog-actions { margin-top: 20px; }
@media (max-width: 760px) {
    .cookie-banner { right: 10px; bottom: 10px; left: 10px; align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; border-radius: 18px; }
    .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-banner-actions .cookie-button { width: 100%; }
    .privacy-footer-links { margin: 0 auto; }
}
@media (max-width: 460px) {
    .cookie-dialog-card { padding: 24px 18px; }
    .cookie-dialog-actions { display: grid; grid-template-columns: 1fr; }
    .cookie-dialog-actions .cookie-button { width: 100%; }
}
