/**
 * frontend.css — Estilos do site institucional público GAPI Tecnologia & Sistemas
 * @author GAPI Tecnologia & Sistemas
 */

/* ─── UTILITÁRIOS DE SEÇÃO ──────────────────────────────────────────────────── */

.section-badge {
    display: inline-block;
    background: rgba(255,133,27,.12);
    color: var(--gapi-orange);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 50px;
    border: 1px solid rgba(255,133,27,.25);
    margin-bottom: .9rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--gapi-dark);
    margin-bottom: .75rem;
}

.section-title-light {
    color: #fff;
}

.section-divider {
    width: 52px;
    height: 4px;
    background: linear-gradient(90deg, var(--gapi-orange), #e67616);
    border-radius: 2px;
    margin: .75rem auto 1.25rem;
}

.section-divider--left {
    margin-left: 0;
}

.section-desc {
    font-size: 1.05rem;
    color: #6c757d;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── ANIMAÇÕES DE ENTRADA ──────────────────────────────────────────────────── */

[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: .1s; }
[data-animate-delay="2"] { transition-delay: .2s; }
[data-animate-delay="3"] { transition-delay: .3s; }
[data-animate-delay="4"] { transition-delay: .4s; }

/* ─── HERO ──────────────────────────────────────────────────────────────────── */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(145deg, #00091a 0%, #001229 35%, #001f3f 65%, #003d7a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,133,27,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,133,27,.06) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.hero-glow-a {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,133,27,.14) 0%, transparent 65%);
    top: -250px;
    right: -200px;
    pointer-events: none;
}

.hero-glow-b {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,100,200,.18) 0%, transparent 65%);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,133,27,.12);
    border: 1px solid rgba(255,133,27,.3);
    color: #FF851B;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .38rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--gapi-orange);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.68);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 2.25rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-bottom: 3rem;
}

.hero-ctas .btn {
    padding: .7rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .02em;
}

.hero-ctas .btn-outline-light {
    border-width: 2px;
    color: rgba(255,255,255,.85);
}

.hero-ctas .btn-outline-light:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
    font-size: .78rem;
    padding: .3rem .8rem;
    border-radius: 50px;
}

.hero-chip i {
    color: var(--gapi-orange);
}

/* Hero visual — mockup CMS dashboard */
.hero-mockup {
    position: relative;
    z-index: 2;
    animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

.mock-window {
    background: rgba(10,25,45,.92);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,133,27,.1);
    width: 380px;
    max-width: 100%;
}

.mock-titlebar {
    background: rgba(255,255,255,.05);
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}

.mock-dot--yellow { background: #ffbd2e; }
.mock-dot--green  { background: #28ca41; }

.mock-title {
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    margin-left: .5rem;
    letter-spacing: .06em;
}

.mock-body {
    display: flex;
    height: 280px;
}

.mock-sidebar {
    width: 48px;
    background: rgba(0,15,40,.8);
    padding: .8rem .5rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    border-right: 1px solid rgba(255,255,255,.05);
}

.mock-nav-item {
    height: 28px;
    background: rgba(255,255,255,.07);
    border-radius: 6px;
}

.mock-nav-item--active {
    background: rgba(255,133,27,.3);
    border-left: 3px solid var(--gapi-orange);
}

.mock-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    overflow: hidden;
}

.mock-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}

.mock-kpi {
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    padding: .5rem .4rem;
    text-align: center;
}

.mock-kpi-val {
    display: block;
    font-size: .95rem;
    font-weight: 800;
    color: var(--gapi-orange);
    line-height: 1.2;
}

.mock-kpi-lbl {
    font-size: .6rem;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: .3rem;
    height: 70px;
    background: rgba(255,255,255,.03);
    border-radius: 8px;
    padding: .5rem .6rem .4rem;
}

.mock-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: rgba(0,51,102,.6);
    transition: background .3s;
}

.mock-bar--1 { height: 55%; }
.mock-bar--2 { height: 80%; background: rgba(255,133,27,.6); }
.mock-bar--3 { height: 40%; }
.mock-bar--4 { height: 95%; background: rgba(46,204,64,.4); }
.mock-bar--5 { height: 65%; }
.mock-bar--6 { height: 50%; background: rgba(255,133,27,.4); }
.mock-bar--7 { height: 75%; }

.mock-rows {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.mock-row {
    height: 10px;
    background: rgba(255,255,255,.06);
    border-radius: 4px;
}

.mock-row--sm { width: 60%; }

/* ─── SCROLL ARROW ──────────────────────────────────────────────────────────── */

.hero-scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.35);
    font-size: 1.25rem;
    text-decoration: none;
    animation: arrowBounce 2s ease-in-out infinite;
    transition: color .3s;
}

.hero-scroll-arrow:hover { color: var(--gapi-orange); }

@keyframes arrowBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(9px); }
}

/* ─── SERVIÇOS ──────────────────────────────────────────────────────────────── */

.servico-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.servico-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gapi-orange), #e67616);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    border-color: rgba(255,133,27,.2);
}

.servico-card:hover::after { transform: scaleX(1); }

.servico-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.svc-blue   { background: rgba(0,51,102,.1);   color: var(--gapi-navy);   }
.svc-orange { background: rgba(255,133,27,.1);  color: var(--gapi-orange); }
.svc-green  { background: rgba(46,204,64,.1);   color: var(--gapi-green);  }
.svc-dark   { background: rgba(0,31,63,.1);     color: var(--gapi-dark);   }

.servico-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gapi-dark);
    margin-bottom: .65rem;
}

.servico-card p {
    color: #6c757d;
    font-size: .92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.servico-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.servico-features li {
    font-size: .84rem;
    color: #555;
    padding: .3rem 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    border-bottom: 1px solid #f0f0f0;
}

.servico-features li:last-child { border-bottom: none; }

.servico-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gapi-orange);
    flex-shrink: 0;
}

/* ─── DIFERENCIAIS ──────────────────────────────────────────────────────────── */

.diferencial-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    border: 1px solid rgba(0,0,0,.04);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}

.diferencial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.diferencial-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 1.2rem;
}

.diferencial-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gapi-dark);
    margin-bottom: .5rem;
}

.diferencial-card p {
    font-size: .88rem;
    color: #6c757d;
    line-height: 1.65;
    margin: 0;
}

/* ─── SOBRE ─────────────────────────────────────────────────────────────────── */

.sobre-section {
    background: #f8f9fa;
}

.sobre-visual {
    background: linear-gradient(145deg, var(--gapi-dark), var(--gapi-navy));
    border-radius: 20px;
    padding: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sobre-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,133,27,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,133,27,.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.sobre-visual-logo {
    position: relative;
    z-index: 1;
}

.sobre-visual-logo img {
    max-width: 160px;
    filter: brightness(0) invert(1);
    opacity: .9;
}

.sobre-visual-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sobre-stat {
    background: rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.sobre-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gapi-orange);
    line-height: 1.1;
}

.sobre-stat-lbl {
    font-size: .72rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sobre-text h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--gapi-dark);
    margin-bottom: 1rem;
}

.sobre-pontos {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.sobre-pontos li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .9rem;
    font-size: .93rem;
    color: #444;
    line-height: 1.55;
}

.sobre-pontos li i {
    color: var(--gapi-orange);
    font-size: 1rem;
    margin-top: .15rem;
    flex-shrink: 0;
}

/* ─── ESTATÍSTICAS ──────────────────────────────────────────────────────────── */

.stats-section {
    background: linear-gradient(135deg, #00091a 0%, #001f3f 50%, #003d7a 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,133,27,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,133,27,.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-icon {
    font-size: 2rem;
    color: rgba(255,133,27,.5);
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--gapi-orange);
    line-height: 1.1;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    display: block;
    font-size: .82rem;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-top: .4rem;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(255,255,255,.1);
    margin: auto;
}

/* ─── GAPICORE CMS ──────────────────────────────────────────────────────────── */

.gapicore-section {
    background: var(--gapi-dark);
    position: relative;
    overflow: hidden;
}

.gapicore-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,133,27,.1) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    pointer-events: none;
}

.gapicore-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gapicore-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: rgba(255,255,255,.8);
    font-size: .93rem;
    line-height: 1.55;
}

.gapicore-feature-list li:last-child { border-bottom: none; }

.gapicore-feat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,133,27,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gapi-orange);
    font-size: .95rem;
    flex-shrink: 0;
}

.gapicore-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
}

.tech-badge {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
    font-size: .75rem;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 6px;
    letter-spacing: .04em;
}

/* Mockup CMS (painel direito da seção GAPICore) */
.gapicore-mockup {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    overflow: hidden;
}

.gm-header {
    background: rgba(255,133,27,.15);
    padding: .75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.gm-header-title {
    font-size: .8rem;
    font-weight: 700;
    color: var(--gapi-orange);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gm-status {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    color: rgba(255,255,255,.5);
}

.gm-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gapi-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .4; }
}

.gm-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.gm-module-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    padding: .65rem 1rem;
    font-size: .82rem;
    color: rgba(255,255,255,.7);
}

.gm-module-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    flex-shrink: 0;
}

.gm-module-info {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex: 1;
}

.gm-module-count {
    font-size: .7rem;
    color: rgba(255,255,255,.4);
}

.gm-badge {
    font-size: .62rem;
    font-weight: 700;
    padding: .2rem .55rem;
    border-radius: 50px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gm-badge--active  { background: rgba(46,204,64,.2);  color: #2ecc40; }
.gm-badge--pending { background: rgba(255,133,27,.2);  color: #FF851B; }
.gm-badge--info    { background: rgba(0,51,102,.3);    color: #8bb8ff; }

/* ─── PORTFÓLIO ─────────────────────────────────────────────────────────────── */

.portfolio-section {
    background: #f0f2f5;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.portfolio-filter-btn {
    background: #fff;
    border: 1.5px solid #dee2e6;
    color: #6c757d;
    font-size: .82rem;
    font-weight: 600;
    padding: .45rem 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all .25s;
    letter-spacing: .03em;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
    background: var(--gapi-orange);
    border-color: var(--gapi-orange);
    color: #fff;
}

.portfolio-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    transition: transform .3s, box-shadow .3s;
    background: #fff;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.14);
}

.portfolio-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,.5);
    position: relative;
}

.grad-blue   { background: linear-gradient(135deg, #001f3f, #003d7a); }
.grad-orange { background: linear-gradient(135deg, #b35000, #FF851B); }
.grad-green  { background: linear-gradient(135deg, #0d5c29, #2ECC40); }
.grad-dark   { background: linear-gradient(135deg, #1a1a2e, #16213e); }

.portfolio-thumb-category {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: rgba(0,0,0,.4);
    color: rgba(255,255,255,.8);
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .25rem .65rem;
    border-radius: 50px;
}

.portfolio-body {
    padding: 1.25rem;
}

.portfolio-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gapi-dark);
    margin-bottom: .4rem;
}

.portfolio-cliente {
    font-size: .8rem;
    color: #888;
    margin-bottom: .75rem;
}

.portfolio-tech {
    font-size: .75rem;
    color: var(--gapi-navy);
    font-weight: 600;
    background: rgba(0,51,102,.08);
    padding: .3rem .7rem;
    border-radius: 6px;
    display: inline-block;
}

/* ─── CONTATO ───────────────────────────────────────────────────────────────── */

.contato-section {
    background: #fff;
}

.contato-info-card {
    background: linear-gradient(145deg, var(--gapi-dark), var(--gapi-navy));
    border-radius: 18px;
    padding: 2.25rem;
    color: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contato-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,133,27,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,133,27,.06) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

.contato-info-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    margin-bottom: .5rem;
}

.contato-info-card p {
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    position: relative;
    z-index: 1;
    margin-bottom: 1.75rem;
}

.contato-info-items {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.contato-info-items li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .9rem;
    color: rgba(255,255,255,.8);
    line-height: 1.5;
}

.contato-info-items li:last-child { border-bottom: none; }

.contato-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,133,27,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gapi-orange);
    font-size: .9rem;
    flex-shrink: 0;
}

.contato-form-card {
    background: #f8f9fa;
    border-radius: 18px;
    padding: 2.25rem;
    height: 100%;
}

.contato-form-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gapi-dark);
    margin-bottom: .4rem;
}

.contato-form-card .form-control {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: .7rem 1rem;
    font-size: .9rem;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}

.contato-form-card .form-control:focus {
    border-color: var(--gapi-orange);
    box-shadow: 0 0 0 3px rgba(255,133,27,.12);
    outline: none;
}

.contato-form-card textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-contato-submit {
    background: linear-gradient(135deg, var(--gapi-orange), #e67616);
    color: #fff;
    font-weight: 700;
    border: none;
    padding: .8rem 2rem;
    border-radius: 10px;
    font-size: .95rem;
    transition: transform .25s, box-shadow .25s;
    letter-spacing: .02em;
}

.btn-contato-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,133,27,.35);
    color: #fff;
}

/* ─── SITE FOOTER ───────────────────────────────────────────────────────────── */

.site-footer {
    background: #0a0e1a;
    color: rgba(255,255,255,.75);
    padding: 4rem 0 2rem;
}

.site-footer-logo img {
    max-height: 48px;
    filter: brightness(0) invert(1);
    opacity: .9;
    margin-bottom: 1rem;
}

.site-footer-desc {
    font-size: .85rem;
    color: rgba(255,255,255,.45);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.site-footer-social {
    display: flex;
    gap: .5rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    font-size: .9rem;
    text-decoration: none;
    transition: background .25s, color .25s;
}

.social-btn:hover {
    background: var(--gapi-orange);
    color: #fff;
}

.site-footer h6 {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.35);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .5rem;
}

.footer-links a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: .85rem;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.footer-links a:hover { color: var(--gapi-orange); }

.footer-links a i {
    font-size: .65rem;
    color: rgba(255,133,27,.5);
}

.site-footer-divider {
    border-color: rgba(255,255,255,.07);
    margin: 2.5rem 0 1.5rem;
}

.site-footer-bottom {
    font-size: .78rem;
    color: rgba(255,255,255,.3);
}

/* ─── CLIENTES ──────────────────────────────────────────────────────────────── */

.clientes-section {
    background: #f8f9fc;
    padding: 5rem 0;
}

.cliente-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.cliente-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1.5px solid #edf0f5;
    transition: border-color .25s, box-shadow .25s, transform .25s;
    position: relative;
}

.cliente-card:hover {
    border-color: rgba(255,133,27,.4);
    box-shadow: 0 8px 28px rgba(255,133,27,.1);
    transform: translateY(-3px);
}

.cliente-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
}

.cliente-card-icon--pub  { background: rgba(0,51,102,.08);  color: var(--gapi-navy); }
.cliente-card-icon--priv { background: rgba(46,204,64,.1);   color: #27ae60; }

.cliente-card-nome {
    font-size: .9rem;
    font-weight: 700;
    color: var(--gapi-dark);
    line-height: 1.4;
    margin-bottom: .4rem;
}

.cliente-card-meta {
    font-size: .75rem;
    color: #8a94a6;
    margin-bottom: .5rem;
}

.cliente-card-periodo {
    font-size: .75rem;
    font-weight: 600;
}

.cliente-card-periodo--ativo    { color: var(--gapi-green); }
.cliente-card-periodo--encerrado { color: #adb5bd; }

.cliente-tipo-badge {
    position: absolute;
    top: .75rem;
    right: .75rem;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .18rem .55rem;
    border-radius: 50px;
}

.cliente-tipo-badge--pub  { background: rgba(0,51,102,.1);  color: var(--gapi-navy); }
.cliente-tipo-badge--priv { background: rgba(46,204,64,.12); color: #27ae60; }

/* ─── DEPOIMENTOS ───────────────────────────────────────────────────────────── */

.depoimentos-section {
    background: linear-gradient(160deg, var(--gapi-dark) 0%, var(--gapi-navy) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.depoimentos-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,133,27,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,133,27,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.depoimento-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    padding: 2rem;
    position: relative;
    transition: border-color .3s, background .3s;
}

.depoimento-card:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,133,27,.3);
}

.depoimento-quote {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 3rem;
    color: rgba(255,133,27,.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.depoimento-stars {
    color: #f4c430;
    font-size: .85rem;
    margin-bottom: 1rem;
    letter-spacing: .05em;
}

.depoimento-texto {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.depoimento-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,133,27,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gapi-orange);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.depoimento-autor-nome {
    font-weight: 700;
    font-size: .88rem;
    color: #fff;
    margin-bottom: .1rem;
}

.depoimento-autor-cargo {
    font-size: .75rem;
    color: rgba(255,255,255,.45);
}

.btn-depoimento {
    border: 1.5px solid rgba(255,133,27,.5);
    color: var(--gapi-orange);
    background: transparent;
    font-weight: 600;
    padding: .65rem 1.75rem;
    border-radius: 50px;
    font-size: .88rem;
    transition: background .25s, color .25s;
}

.btn-depoimento:hover {
    background: var(--gapi-orange);
    color: #fff;
    border-color: var(--gapi-orange);
}

/* ─── NAV GAPI LINKS ────────────────────────────────────────────────────────── */

.nav-gapi {
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: rgba(255,255,255,.75) !important;
    padding: .45rem .75rem !important;
    border-radius: 6px;
    transition: color .2s, background .2s;
    position: relative;
}

.nav-gapi:hover,
.nav-gapi.active {
    color: #fff !important;
    background: rgba(255,133,27,.15);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────────── */

@media (max-width: 991.98px) {
    .hero-section { padding: 5rem 0 3rem; }
    .hero-title   { font-size: 2.4rem; }
    .mock-window  { width: 100%; max-width: 360px; }
    .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; }
    .sobre-visual { min-height: 280px; }
    .stat-divider { display: none; }
    .contato-info-card, .contato-form-card { padding: 1.5rem; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 1.5rem; }
    .servico-card { padding: 1.5rem 1.25rem; }
    .portfolio-filters { gap: .35rem; }
}
