/* =================================================================
   G3M ENGENHARIA — Sistema de Design
   Dark / Moderno / Glow / Animado
   ================================================================= */

:root {
    /* Marca */
    --g3m-primary:      #3452a0;
    --g3m-primary-600:  #2c4689;
    --g3m-primary-400:  #4d6dc4;
    --g3m-primary-300:  #6f8bd6;
    --g3m-secondary:    #101325;

    /* Superfícies dark */
    --g3m-bg:           #07080f;
    --g3m-bg-2:         #0b0e1d;
    --g3m-surface:      #101325;
    --g3m-surface-2:    #161b34;
    --g3m-border:       rgba(255, 255, 255, 0.08);
    --g3m-border-hover: rgba(77, 109, 196, 0.45);

    /* Texto */
    --g3m-text:         #f2f4fb;
    --g3m-text-muted:   #9aa3c4;
    --g3m-text-dim:     #5d6486;

    /* Efeitos */
    --g3m-glow:         rgba(52, 82, 160, 0.55);
    --g3m-shadow:       0 24px 60px -20px rgba(0, 0, 0, 0.8);

    /* Tipografia */
    --g3m-font-display: 'Sora', sans-serif;
    --g3m-font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --g3m-radius:       18px;
    --g3m-radius-sm:    12px;
    --g3m-header-h:     78px;
    --g3m-ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------- Base ----------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--g3m-bg);
    color: var(--g3m-text);
    font-family: var(--g3m-font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .g3m-display {
    font-family: var(--g3m-font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
}

a { text-decoration: none; color: inherit; transition: color .25s var(--g3m-ease); }

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

::selection { background: var(--g3m-primary); color: #fff; }

.container { max-width: 1240px; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--g3m-bg); }
::-webkit-scrollbar-thumb { background: var(--g3m-surface-2); border-radius: 10px; border: 3px solid var(--g3m-bg); }
::-webkit-scrollbar-thumb:hover { background: var(--g3m-primary-600); }

/* ----------------------------- Loader ----------------------------- */
.g3m-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--g3m-bg);
    display: grid; place-items: center;
    transition: opacity .6s var(--g3m-ease), visibility .6s;
}
.g3m-loader.is-hidden { opacity: 0; visibility: hidden; }
.g3m-loader__mark {
    width: clamp(110px, 22vw, 170px);
    height: auto;
    position: relative;
    animation: g3mPulse 1.4s var(--g3m-ease) infinite;
    filter: drop-shadow(0 0 28px var(--g3m-glow));
}
@keyframes g3mPulse { 0%,100% { opacity: .55; transform: scale(.97); } 50% { opacity: 1; transform: scale(1); } }

/* ----------------------------- Botões ----------------------------- */
.btn-g3m {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--g3m-font-display);
    font-weight: 500; font-size: .82rem;
    letter-spacing: .02em;
    padding: .85rem 1.6rem;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .35s var(--g3m-ease);
    position: relative; overflow: hidden;
    white-space: nowrap;
}
.btn-g3m--solid {
    background: var(--g3m-primary);
    color: #fff;
    box-shadow: 0 8px 28px -8px var(--g3m-glow);
}
.btn-g3m--solid:hover {
    background: var(--g3m-primary-400);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 38px -8px var(--g3m-glow);
}
.btn-g3m--ghost {
    background: rgba(255,255,255,.04);
    color: var(--g3m-text);
    border-color: var(--g3m-border);
    backdrop-filter: blur(8px);
}
.btn-g3m--ghost:hover {
    border-color: var(--g3m-border-hover);
    color: #fff;
    transform: translateY(-2px);
    background: rgba(77,109,196,.12);
}

/* ----------------------------- Header ----------------------------- */
.g3m-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--g3m-header-h);
    display: flex; align-items: center;
    transition: all .4s var(--g3m-ease);
}
.g3m-header.is-scrolled {
    height: 64px;
    background: rgba(7, 8, 15, 0.72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--g3m-border);
}
.g3m-nav {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
}
.g3m-brand { display: flex; align-items: center; }
.g3m-brand__logo {
    width: 260px; height: auto; max-width: 60vw; display: block;
    transition: opacity .3s var(--g3m-ease), width .4s var(--g3m-ease);
}
.g3m-header.is-scrolled .g3m-brand__logo { width: 220px; }
.g3m-brand:hover .g3m-brand__logo { opacity: .85; }
.g3m-nav__links {
    display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0;
    position: absolute; left: 50%; transform: translateX(-50%);
}
.g3m-nav__link {
    font-size: .9rem; font-weight: 500; color: var(--g3m-text-muted);
    position: relative; padding: .3rem 0;
}
.g3m-nav__link::after {
    content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
    background: var(--g3m-primary-400); transition: width .3s var(--g3m-ease);
}
.g3m-nav__link:hover { color: #fff; }
.g3m-nav__link:hover::after { width: 100%; }

.g3m-nav__toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
}
.g3m-nav__toggle span {
    width: 26px; height: 2px; background: #fff; border-radius: 2px;
    transition: all .3s var(--g3m-ease);
}
.g3m-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.g3m-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.g3m-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- Hero ----------------------------- */
.g3m-hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: var(--g3m-header-h);
    overflow: hidden;
    text-align: center;
}
.g3m-hero__bg {
    position: absolute; inset: 0; z-index: 0;
}
/* Foto de fundo */
.g3m-hero__img {
    position: absolute; inset: 0;
    background-position: center; background-size: cover; background-repeat: no-repeat;
    opacity: .5;
    transform: scale(1.05);
    animation: g3mHeroZoom 18s ease-in-out infinite alternate;
}
/* Shadow circular (vignette) que escurece as bordas e foca o centro */
.g3m-hero__shadow {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 50% 44%,
            rgba(7, 8, 15, 0) 0%,
            rgba(7, 8, 15, 0.28) 32%,
            rgba(7, 8, 15, 0.68) 58%,
            rgba(7, 8, 15, 0.9) 82%,
            rgba(7, 8, 15, 0.98) 100%),
        linear-gradient(180deg, rgba(16,19,37,0.6) 0%, rgba(7,8,15,0.3) 32%, rgba(7,8,15,0.75) 82%, var(--g3m-bg) 100%);
}
.g3m-hero__glow {
    position: absolute; left: 50%; top: 52%;
    width: 1000px; height: 1000px; transform: translate(-50%, -50%);
    background: radial-gradient(circle at center,
        rgba(52, 82, 160, 0.42) 0%,
        rgba(52, 82, 160, 0.12) 32%,
        transparent 60%);
    filter: blur(24px);
    mix-blend-mode: screen;
    animation: g3mGlowFloat 9s ease-in-out infinite;
}
@keyframes g3mHeroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.14); }
}
@keyframes g3mGlowFloat {
    0%,100% { transform: translate(-50%, -50%) scale(1); opacity: .85; }
    50%     { transform: translate(-50%, -54%) scale(1.06); opacity: 1; }
}
.g3m-hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--g3m-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--g3m-border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
    opacity: .22;
}
.g3m-hero__content { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.g3m-hero h1 {
    font-size: clamp(1.85rem, 4.3vw, 3.35rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 40px rgba(7, 8, 15, 0.6);
}
.g3m-hero h1 .accent {
    background: linear-gradient(120deg, var(--g3m-primary-300), #fff);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.g3m-hero__sub {
    font-family: var(--g3m-font-body);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: #c7cee6;
    max-width: 680px; margin: 1.8rem auto 2.6rem;
    text-shadow: 0 2px 18px rgba(7, 8, 15, 0.8);
}
.g3m-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.g3m-hero__rating {
    margin-top: 2.6rem; color: var(--g3m-text-muted); font-size: .85rem;
}
.g3m-hero__stars { color: #f5c451; letter-spacing: .15em; font-size: 1rem; }

/* ----------------------------- Seções ----------------------------- */
.g3m-section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.g3m-section--tight { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }

.g3m-eyebrow {
    font-family: var(--g3m-font-display);
    font-weight: 500; font-size: .78rem; letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--g3m-primary-300);
    display: inline-block; margin-bottom: 1rem;
}
.g3m-section__head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.g3m-section__title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    text-transform: uppercase;
}
.g3m-section__desc { color: var(--g3m-text-muted); margin-top: 1.2rem; font-size: 1.08rem; }

/* Faixa de destaque (frase grande) */
.g3m-statement {
    text-align: center; padding: clamp(5rem, 12vw, 9rem) 0;
    border-top: 1px solid var(--g3m-border);
    border-bottom: 1px solid var(--g3m-border);
}
.g3m-statement h2 {
    font-size: clamp(1.8rem, 5vw, 3.6rem);
    max-width: 900px; margin: 0 auto;
    color: var(--g3m-text-muted);
}
.g3m-statement h2 strong { color: var(--g3m-text); font-weight: 700; }

/* ----------------------------- Cards ----------------------------- */
.g3m-card {
    background: linear-gradient(180deg, var(--g3m-surface), var(--g3m-bg-2));
    border: 1px solid var(--g3m-border);
    border-radius: var(--g3m-radius);
    padding: 2.2rem;
    height: 100%;
    transition: all .4s var(--g3m-ease);
    position: relative; overflow: hidden;
}
.g3m-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(77,109,196,.12), transparent 40%);
    opacity: 0; transition: opacity .4s var(--g3m-ease);
}
.g3m-card:hover { transform: translateY(-6px); border-color: var(--g3m-border-hover); box-shadow: var(--g3m-shadow); }
.g3m-card:hover::before { opacity: 1; }
/* Imagem de fundo opcional (900x900) nos cards */
.g3m-card__bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    opacity: .55; transform: scale(1.03);
    transition: opacity .5s var(--g3m-ease), transform .7s var(--g3m-ease);
}
/* Gradiente escuro sobre a imagem para garantir legibilidade do texto */
.g3m-card__bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(11, 14, 29, 0.35) 0%,
        rgba(11, 14, 29, 0.80) 58%,
        rgba(11, 14, 29, 0.94) 100%);
}
.g3m-card:hover .g3m-card__bg { opacity: .78; transform: scale(1.08); }
/* Cards com imagem ganham um pouco mais de altura para a imagem respirar */
.g3m-card:has(.g3m-card__bg) { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
/* Conteúdo acima do fundo (exceto o próprio fundo) */
.g3m-card > *:not(.g3m-card__bg) { position: relative; z-index: 1; }
.g3m-card__icon {
    width: 54px; height: 54px; border-radius: 14px;
    display: grid; place-items: center;
    background: rgba(77,109,196,.14);
    border: 1px solid var(--g3m-border-hover);
    color: var(--g3m-primary-300);
    margin-bottom: 1.4rem; font-size: 1.4rem;
}
.g3m-card__step {
    font-family: var(--g3m-font-display); font-weight: 600;
    color: var(--g3m-primary-300); font-size: .85rem; margin-bottom: .8rem;
}
.g3m-card h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.g3m-card p { color: var(--g3m-text-muted); margin: 0; font-size: .98rem; }

/* ----------------------------- Page Hero (páginas internas) ----------------------------- */
.g3m-pagehero {
    position: relative;
    padding: calc(var(--g3m-header-h) + 5rem) 0 5rem;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--g3m-border);
}
.g3m-pagehero__glow {
    position: absolute; left: 50%; top: 0;
    width: 900px; height: 700px; transform: translate(-50%, -40%);
    background: radial-gradient(circle at center, rgba(52,82,160,.45), transparent 60%);
    filter: blur(20px); z-index: 0;
    animation: g3mGlowFloat 9s ease-in-out infinite;
}
.g3m-pagehero__grid {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(var(--g3m-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--g3m-border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 30%, #000, transparent 65%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 65%);
    opacity: .4;
}
.g3m-pagehero__content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.g3m-pagehero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    text-transform: uppercase;
}
.g3m-pagehero h1 .accent {
    background: linear-gradient(120deg, var(--g3m-primary-300), #fff);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.g3m-pagehero__sub { color: var(--g3m-text-muted); font-size: 1.15rem; margin-top: 1.4rem; }

/* Breadcrumb */
.g3m-breadcrumb {
    font-size: .82rem; color: var(--g3m-text-dim);
    margin-bottom: 1.2rem; letter-spacing: .04em;
}
.g3m-breadcrumb a { color: var(--g3m-primary-300); }

/* ----------------------------- Lista com check ----------------------------- */
.g3m-list { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.g3m-list li {
    position: relative; padding-left: 2rem; margin-bottom: 1.1rem;
    color: var(--g3m-text-muted); font-size: 1rem;
}
.g3m-list li strong { color: var(--g3m-text); font-weight: 600; }
.g3m-list li::before {
    content: ''; position: absolute; left: 0; top: .45em;
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--g3m-primary-400);
    box-shadow: 0 0 0 4px rgba(77,109,196,.18);
}

/* ----------------------------- Serviço detalhado (alternado) ----------------------------- */
.g3m-service {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    border-bottom: 1px solid var(--g3m-border);
}
.g3m-service__index {
    font-family: var(--g3m-font-display); font-weight: 800;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--g3m-border-hover);
    margin-bottom: 1rem;
}
.g3m-service h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.g3m-service__lead { color: var(--g3m-text-muted); font-size: 1.1rem; }
.g3m-service__visual {
    background: linear-gradient(180deg, var(--g3m-surface), var(--g3m-bg-2));
    border: 1px solid var(--g3m-border);
    border-radius: var(--g3m-radius);
    min-height: 340px; display: grid; place-items: center;
    position: relative; overflow: hidden;
}
.g3m-service__visual span { color: var(--g3m-text-dim); font-family: var(--g3m-font-display); }
.g3m-service__visual::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(500px circle at 70% 20%, rgba(77,109,196,.18), transparent 55%);
    pointer-events: none;
}
/* Variante com foto real do serviço */
.g3m-service__visual--photo { min-height: 0; aspect-ratio: 4 / 3; background: var(--g3m-bg-2); }
.g3m-service__visual--photo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s var(--g3m-ease);
}
.g3m-service__visual--photo:hover img { transform: scale(1.04); }
.g3m-service__visual--photo::after {
    background:
        linear-gradient(180deg, transparent 55%, rgba(7,8,15,.55)),
        radial-gradient(500px circle at 70% 20%, rgba(77,109,196,.14), transparent 55%);
}

/* --------------------- Figura / foto institucional --------------------- */
.g3m-figure {
    margin: 0; border: 1px solid var(--g3m-border);
    border-radius: var(--g3m-radius); overflow: hidden;
    box-shadow: var(--g3m-shadow); position: relative;
    background: var(--g3m-bg-2);
}
.g3m-figure img { width: 100%; height: 100%; display: block; object-fit: cover; }
.g3m-figure::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, rgba(7,8,15,.35));
}

/* ----------------------- Galeria (carrossel) ----------------------- */
.g3m-gallery {
    border: 1px solid var(--g3m-border);
    border-radius: var(--g3m-radius);
    overflow: hidden;
    box-shadow: var(--g3m-shadow);
    background: var(--g3m-bg);
}
.g3m-gallery .carousel-item { aspect-ratio: 16 / 9; }
.g3m-gallery .carousel-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.g3m-gallery .carousel-control-prev,
.g3m-gallery .carousel-control-next { width: 12%; opacity: .55; transition: opacity .3s var(--g3m-ease); }
.g3m-gallery:hover .carousel-control-prev,
.g3m-gallery:hover .carousel-control-next { opacity: 1; }
.g3m-gallery .carousel-control-prev-icon,
.g3m-gallery .carousel-control-next-icon {
    width: 2.6rem; height: 2.6rem; background-size: 1.1rem;
    background-color: rgba(7, 8, 15, .6);
    border: 1px solid var(--g3m-border);
    border-radius: 50%;
    backdrop-filter: blur(6px);
}
.g3m-gallery .g3m-gallery__dots { margin-bottom: 1rem; }
.g3m-gallery .g3m-gallery__dots button {
    width: 8px; height: 8px; border-radius: 50%;
    border: 0; margin: 0 5px; opacity: .45;
    background: var(--g3m-text);
    transition: all .3s var(--g3m-ease);
}
.g3m-gallery .g3m-gallery__dots button.active {
    opacity: 1; width: 26px; border-radius: 4px;
    background: var(--g3m-primary-300);
}
@media (max-width: 575.98px) {
    .g3m-gallery .carousel-item { aspect-ratio: 4 / 3; }
    .g3m-gallery .carousel-control-prev,
    .g3m-gallery .carousel-control-next { width: 18%; opacity: 1; }
    .g3m-gallery .carousel-control-prev-icon,
    .g3m-gallery .carousel-control-next-icon { width: 2.1rem; height: 2.1rem; background-size: .85rem; }
}

/* ----------------------------- Cases ----------------------------- */
.g3m-case {
    background: linear-gradient(180deg, var(--g3m-surface), var(--g3m-bg-2));
    border: 1px solid var(--g3m-border);
    border-radius: var(--g3m-radius);
    padding: 2.6rem;
    transition: all .4s var(--g3m-ease);
    position: relative; overflow: hidden;
}
.g3m-case:hover { border-color: var(--g3m-border-hover); box-shadow: var(--g3m-shadow); transform: translateY(-4px); }
.g3m-case__tag {
    display: inline-block; font-family: var(--g3m-font-display); font-weight: 600;
    font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--g3m-primary-300);
    padding: .4rem .9rem; border-radius: 8px;
    background: rgba(77,109,196,.12); border: 1px solid var(--g3m-border-hover);
    margin-bottom: 1.4rem;
}
.g3m-case h3 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.g3m-case__row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.g3m-case__row dt {
    flex: 0 0 96px; font-family: var(--g3m-font-display); font-weight: 500;
    font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
    color: var(--g3m-text-dim); padding-top: .15rem;
}
.g3m-case__row dd { margin: 0; color: var(--g3m-text-muted); font-size: .98rem; }
.g3m-case__row--result dd { color: var(--g3m-text); font-weight: 500; }

/* Case em largura total (col-12) — layout horizontal */
.g3m-case--wide { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: 2.5rem; align-items: start; }
.g3m-case--wide .g3m-case__logo { height: 60px; max-width: 200px; margin-bottom: 1.2rem; }
.g3m-case--wide .g3m-case__head h3 { font-size: 1.5rem; margin: 0; }
.g3m-case__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2.5rem; margin: 0; }
.g3m-case__grid .g3m-case__row { margin: 0; }
@media (max-width: 991px) {
    .g3m-case--wide { grid-template-columns: 1fr; gap: 1.6rem; }
    .g3m-case__grid { grid-template-columns: 1fr 1fr; gap: 1.1rem 2rem; }
}
@media (max-width: 575px) {
    .g3m-case__grid { grid-template-columns: 1fr; }
}

/* Logos de clientes */
.g3m-clients {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 4rem;
    align-items: center; padding: 2rem 0;
}
.g3m-clientlogo {
    height: 66px; width: auto; max-width: 200px;
    object-fit: contain;
    opacity: .55; filter: grayscale(100%) brightness(1.4);
    transition: opacity .3s var(--g3m-ease), filter .3s var(--g3m-ease);
}
.g3m-clientlogo:hover { opacity: 1; filter: none; }
/* Logo do cliente dentro do card de case */
.g3m-case__logo {
    height: 42px; width: auto; max-width: 150px; object-fit: contain;
    margin-bottom: 1.6rem; display: block;
}

/* Chip de texto — placeholder enquanto o logo real não é enviado */
.g3m-logo-chip {
    display: inline-flex; align-items: center; justify-content: center;
    height: 66px; padding: 0 1.3rem;
    border: 1px dashed var(--g3m-border-hover);
    border-radius: 10px;
    font-family: var(--g3m-font-display); font-weight: 600; font-size: .92rem;
    color: var(--g3m-text-dim);
    opacity: .8; white-space: nowrap;
    transition: opacity .3s var(--g3m-ease), color .3s var(--g3m-ease), border-color .3s var(--g3m-ease);
}
.g3m-logo-chip:hover { opacity: 1; color: var(--g3m-text); border-color: var(--g3m-primary-300); }
.g3m-logo-chip--sm { height: 42px; padding: 0 1rem; font-size: .8rem; margin-bottom: 1.6rem; }

/* Marquee de logos (rolagem contínua) */
.g3m-marquee {
    overflow: hidden; position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.g3m-marquee__track {
    display: flex; align-items: center; gap: 3.5rem; width: max-content;
    animation: g3m-marquee 32s linear infinite;
}
.g3m-marquee:hover .g3m-marquee__track { animation-play-state: paused; }
.g3m-marquee__group { display: flex; align-items: center; gap: 3.5rem; flex-shrink: 0; }
@keyframes g3m-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .g3m-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* Pilar (cartão de valor com destaque) */
.g3m-pillar { text-align: left; }
.g3m-pillar__num {
    font-family: var(--g3m-font-display); font-weight: 700; font-size: .85rem;
    color: var(--g3m-primary-300); margin-bottom: 1rem;
}
.g3m-pillar h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.g3m-norm {
    display: inline-block; font-family: var(--g3m-font-display); font-size: .72rem;
    color: var(--g3m-primary-300); border: 1px solid var(--g3m-border-hover);
    padding: .2rem .6rem; border-radius: 6px; margin-top: 1rem; letter-spacing: .05em;
}

.g3m-nav__link.is-active { color: #fff; }
.g3m-nav__link.is-active::after { width: 100%; }

/* ----------------------------- Contato / Mapa ----------------------------- */
.g3m-contact-card {
    background: linear-gradient(180deg, var(--g3m-surface), var(--g3m-bg-2));
    border: 1px solid var(--g3m-border);
    border-radius: var(--g3m-radius);
    padding: 2.2rem;
    height: 100%;
    transition: all .4s var(--g3m-ease);
}
.g3m-contact-card:hover { border-color: var(--g3m-border-hover); }
.g3m-contact-card__label { display:block; font-size:.75rem; text-transform:uppercase; letter-spacing:.1em; color:var(--g3m-text-dim); margin-bottom:.3rem; }
.g3m-contact-card h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.g3m-contact-card p { color: var(--g3m-text-muted); margin: 0 0 .3rem; }
.g3m-map {
    border-radius: var(--g3m-radius);
    overflow: hidden;
    border: 1px solid var(--g3m-border);
    line-height: 0;
    box-shadow: var(--g3m-shadow);
}
.g3m-map iframe { width: 100%; height: 460px; border: 0; filter: invert(0); }

/* ----------------------------- Banner de cookies ----------------------------- */
.g3m-cookie {
    position: fixed; left: 50%; bottom: 24px; z-index: 950;
    transform: translateX(-50%) translateY(140%);
    width: min(920px, calc(100vw - 32px));
    display: flex; align-items: center; gap: 1.6rem;
    padding: 1.3rem 1.6rem;
    background: rgba(16, 19, 37, 0.92);
    border: 1px solid var(--g3m-border-hover);
    border-radius: var(--g3m-radius);
    backdrop-filter: blur(16px);
    box-shadow: var(--g3m-shadow);
    opacity: 0; transition: transform .5s var(--g3m-ease), opacity .5s var(--g3m-ease);
}
.g3m-cookie.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.g3m-cookie__text strong { display:block; font-family:var(--g3m-font-display); font-size:.95rem; margin-bottom:.2rem; color:#fff; }
.g3m-cookie__text span { color: var(--g3m-text-muted); font-size: .88rem; line-height: 1.5; }
.g3m-cookie__text a { color: var(--g3m-primary-300); text-decoration: underline; }
.g3m-cookie__actions { display: flex; gap: .7rem; flex-shrink: 0; }
.g3m-cookie__actions .btn-g3m { padding: .65rem 1.3rem; }
@media (max-width: 720px) {
    .g3m-cookie { flex-direction: column; align-items: stretch; text-align: left; bottom: 12px; }
    .g3m-cookie__actions { justify-content: flex-end; }
}

/* ----------------------------- Conteúdo legal (política) ----------------------------- */
.g3m-legal { max-width: 820px; margin: 0 auto; }
.g3m-legal h2 { font-size: 1.5rem; margin: 2.4rem 0 1rem; }
.g3m-legal h2:first-child { margin-top: 0; }
.g3m-legal p, .g3m-legal li { color: var(--g3m-text-muted); }
.g3m-legal ul { padding-left: 1.2rem; }
.g3m-legal li { margin-bottom: .5rem; }
.g3m-legal a { color: var(--g3m-primary-300); }
.g3m-legal__updated { color: var(--g3m-text-dim); font-size: .85rem; margin-bottom: 2.5rem; }

/* ----------------------------- Footer ----------------------------- */
.g3m-footer {
    background: var(--g3m-secondary);
    border-top: 1px solid var(--g3m-border);
    padding: 5rem 0 2rem;
    position: relative;
}
.g3m-brand--footer { margin-bottom: 1.4rem; display: inline-flex; }
/* Dimensional próprio do footer (não espelha o navbar) */
.g3m-brand--footer .g3m-brand__logo { width: 220px; }
.g3m-footer__about { color: var(--g3m-text-muted); font-size: .95rem; max-width: 320px; }
.g3m-footer__social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.g3m-footer__social a {
    width: 44px; height: 44px; border-radius: 11px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.05); border: 1px solid var(--g3m-border);
    color: var(--g3m-text-muted);
    transition: all .3s var(--g3m-ease);
}
.g3m-footer__social a svg { width: 20px; height: 20px; }
.g3m-footer__social a:hover { background: var(--g3m-primary); color: #fff; transform: translateY(-3px); border-color: var(--g3m-primary); }
.g3m-footer__title {
    font-family: var(--g3m-font-display); font-size: 1rem; font-weight: 500;
    margin-bottom: 1.4rem; color: #fff;
}
.g3m-footer__links, .g3m-footer__contact { list-style: none; padding: 0; margin: 0; }
.g3m-footer__links li { margin-bottom: .7rem; }
.g3m-footer__links a { color: var(--g3m-text-muted); font-size: .95rem; }
.g3m-footer__links a:hover { color: var(--g3m-primary-300); padding-left: 4px; }
.g3m-footer__contact li { margin-bottom: 1.1rem; }
.g3m-footer__label { display: block; font-size: .75rem; color: var(--g3m-text-dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .2rem; }
.g3m-footer__contact a { color: var(--g3m-text); font-size: .98rem; }
.g3m-footer__contact a:hover { color: var(--g3m-primary-300); }
.g3m-footer__bottom {
    margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--g3m-border);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    color: var(--g3m-text-dim); font-size: .85rem;
}
.g3m-footer__bottom p { margin: 0; }
.g3m-footer__credit { color: var(--g3m-primary-300); font-weight: 600; }
.g3m-footer__credit:hover { color: #fff; }

/* ----------------------------- WhatsApp flutuante ----------------------------- */
.g3m-whatsapp {
    position: fixed; right: 24px; bottom: 24px; z-index: 900;
    width: 60px; height: 60px; border-radius: 50%;
    display: grid; place-items: center;
    background: #25d366; color: #fff;
    box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .55);
    transition: all .35s var(--g3m-ease);
    animation: g3mWppFloat 3s ease-in-out infinite;
}
.g3m-whatsapp:hover { transform: scale(1.1); color: #fff; }
.g3m-whatsapp::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25d366; animation: g3mWppRing 2.2s ease-out infinite;
}
@keyframes g3mWppFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes g3mWppRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ----------------------------- Animações de entrada ----------------------------- */
[data-reveal] {
    opacity: 0; transform: translateY(34px);
    transition: opacity .9s var(--g3m-ease), transform .9s var(--g3m-ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
    *, [data-reveal] { animation: none !important; transition: none !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ----------------------------- Responsivo ----------------------------- */
@media (max-width: 991px) {
    .g3m-nav__links {
        position: fixed; inset: 0 0 0 auto; left: auto;
        transform: translateX(100%);
        width: min(82vw, 340px); height: 100vh;
        flex-direction: column; justify-content: center; gap: 1.6rem;
        background: var(--g3m-secondary);
        border-left: 1px solid var(--g3m-border);
        padding: 2rem; transition: transform .45s var(--g3m-ease);
    }
    .g3m-nav__links.is-open { transform: translateX(0); }
    .g3m-nav__link { font-size: 1.15rem; }
    .g3m-nav__toggle { display: flex; z-index: 1001; }
    .g3m-nav__cta { display: none; }
    .g3m-footer__bottom { justify-content: center; text-align: center; }
}
