/* ============================================================
   GAPI Tecnologia & Sistemas — Site Público
   Tema: Azul Naval Profissional
   ============================================================ */

:root {
    --primary:      #0d1b5e;
    --primary-mid:  #1565c0;
    --accent:       #2979ff;
    --accent-light: #64b5f6;
    --dark:         #0a0f2c;
    --white:        #ffffff;
    --gray-light:   #f0f4ff;
    --gray-mid:     #e8eaf6;
    --text:         #1a1a2e;
    --text-muted:   #546e7a;
    --border:       #dde3f0;
    --shadow:       0 4px 24px rgba(13,27,94,.10);
    --shadow-hover: 0 8px 40px rgba(13,27,94,.20);
    --radius:       12px;
    --radius-sm:    8px;
    --transition:   .3s cubic-bezier(.4,0,.2,1);
    --font-main:    'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 700;
    color: var(--primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
p  { color: var(--text-muted); }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

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

/* ── Container ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-mid) 100%);
    color: var(--white);
    border-color: transparent;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(41,121,255,.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}
.btn-outline-primary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-outline-primary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }

/* ── Section ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-light); }
.section-dark {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.8); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .badge {
    display: inline-block;
    background: rgba(41,121,255,.12);
    color: var(--accent);
    padding: .35rem 1rem;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.section-dark .section-header .badge {
    background: rgba(255,255,255,.15);
    color: var(--white);
}
.section-header p { font-size: 1.1rem; max-width: 600px; margin-inline: auto; margin-top: .75rem; }
.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    margin: .75rem auto 0;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(10,15,44,.97);
    backdrop-filter: blur(12px);
    padding: .65rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}
.navbar-brand img { height: 46px; width: auto; }
.navbar-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.navbar-brand-text .brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: .02em;
}
.navbar-brand-text .brand-slogan {
    font-size: .65rem;
    color: var(--accent-light);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
}
.navbar-nav a {
    color: rgba(255,255,255,.85);
    font-weight: 500;
    padding: .5rem .9rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    transition: all var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--white);
    background: rgba(41,121,255,.2);
}
.navbar-cta { margin-left: .5rem; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: .5rem;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 60%, var(--primary-mid) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 0 4rem;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232979ff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-circuit {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    opacity: .06;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%23fff' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='50' fill='none' stroke='%23fff' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='20' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cline x1='20' y1='100' x2='80' y2='100' stroke='%23fff' stroke-width='1'/%3E%3Cline x1='120' y1='100' x2='180' y2='100' stroke='%23fff' stroke-width='1'/%3E%3Cline x1='100' y1='20' x2='100' y2='80' stroke='%23fff' stroke-width='1'/%3E%3Cline x1='100' y1='120' x2='100' y2='180' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(41,121,255,.2);
    border: 1px solid rgba(41,121,255,.4);
    color: var(--accent-light);
    padding: .4rem 1.1rem;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--accent-light); }
.hero p {
    color: rgba(255,255,255,.8);
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.stat-item { display: flex; flex-direction: column; }
.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.stat-item .stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: .2rem;
}

.hero-image-area {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-mockup {
    width: 100%;
    max-width: 500px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}
.mockup-bar {
    display: flex;
    gap: .45rem;
    margin-bottom: 1.5rem;
}
.mockup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-code { display: flex; flex-direction: column; gap: .5rem; }
.code-line {
    height: 12px;
    border-radius: 6px;
    background: rgba(255,255,255,.1);
}
.code-line.w-80 { width: 80%; }
.code-line.w-60 { width: 60%; }
.code-line.w-90 { width: 90%; }
.code-line.w-45 { width: 45%; }
.code-line.w-70 { width: 70%; }
.code-line.accent { background: rgba(41,121,255,.4); }

/* ── Cards ── */
.card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(41,121,255,.3);
}

/* ── Serviços ── */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.servico-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.servico-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.servico-card:hover::before { transform: scaleX(1); }
.servico-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.servico-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.servico-card h3 { margin-bottom: .6rem; font-size: 1.15rem; }
.servico-card p { font-size: .9rem; line-height: 1.6; }
.servico-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--accent);
    font-weight: 600;
    font-size: .9rem;
    margin-top: 1.2rem;
    transition: gap var(--transition);
}
.servico-link:hover { gap: .8rem; }

/* ── Portfolio ── */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.filter-btn {
    padding: .5rem 1.25rem;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}
.portfolio-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: var(--dark);
    aspect-ratio: 4/3;
}
.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,44,.95) 40%, transparent 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .35rem; }
.portfolio-overlay p { color: rgba(255,255,255,.75); font-size: .85rem; }
.portfolio-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: .25rem .75rem;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: .75rem;
    align-self: flex-start;
}
.portfolio-card-no-img {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
}
.portfolio-card-no-img .pi-icon {
    font-size: 4rem;
    color: rgba(255,255,255,.25);
}

/* ── Depoimentos ── */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.depoimento-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
}
.depoimento-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    color: rgba(41,121,255,.25);
    font-family: Georgia, serif;
    line-height: 1;
}
.depoimento-stars { color: #ffd600; font-size: 1rem; margin-bottom: 1rem; }
.depoimento-card p { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.depoimento-autor {
    display: flex;
    align-items: center;
    gap: .85rem;
}
.depoimento-foto {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}
.depoimento-foto img { width: 100%; height: 100%; object-fit: cover; }
.depoimento-nome { color: var(--white); font-weight: 700; font-size: .95rem; }
.depoimento-cargo { color: rgba(255,255,255,.6); font-size: .8rem; }

/* ── Tecnologias ── */
.tecnologias-section { padding: 4rem 0; }
.tech-grupo { margin-bottom: 2.5rem; }
.tech-grupo-titulo {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
    margin-bottom: 1rem;
}
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.tech-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--gray-light);
    border: 1px solid var(--border);
    padding: .5rem 1rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition);
}
.tech-item:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-2px);
}
.tech-item img { width: 20px; height: 20px; object-fit: contain; }

/* ── CTA Section ── */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-mid) 50%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    border: 100px solid rgba(255,255,255,.05);
    right: -200px; top: -200px;
}
.cta-content { position: relative; text-align: center; }
.cta-content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }

/* ── Contato ── */
.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}
.contato-info h3 { margin-bottom: 1rem; }
.contato-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contato-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}
.contato-item h4 { font-size: .85rem; color: var(--text-muted); font-weight: 500; margin-bottom: .15rem; }
.contato-item p { color: var(--text); font-weight: 600; font-size: .95rem; }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: .4rem;
}
.form-control {
    width: 100%;
    padding: .75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(41,121,255,.15);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Footer ── */
.footer {
    background: var(--dark);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 50px; margin-bottom: 1rem; }
.footer-desc { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .75rem; }
.social-link {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7);
    transition: all var(--transition);
}
.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-title {
    color: var(--white);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .9rem;
}
.footer-contact-item i { color: var(--accent); margin-top: .15rem; min-width: 16px; }
.footer-contact-item span { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.5; }

/* ── Barra fixa inferior (footer-bar) ── */
.footer-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 42px;
    background: linear-gradient(90deg, rgba(10,15,44,.97) 0%, rgba(13,27,94,.97) 100%);
    border-top: 1px solid rgba(41,121,255,.2);
    z-index: 990;
    backdrop-filter: blur(8px);
}
.footer-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .78rem;
    color: rgba(255,255,255,.5);
}
.footer-bar-inner strong { color: rgba(255,255,255,.75); }
.footer-bar-inner a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-bar-inner a:hover { color: var(--accent-light); }
.footer-bar-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #00c853;
    box-shadow: 0 0 6px #00c853;
    animation: pulse-dot 2s infinite;
    margin-right: .4rem;
    vertical-align: middle;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

body { padding-bottom: 42px; }

/* ── Back to top ── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--accent), var(--primary-mid));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    border: none;
    box-shadow: 0 4px 16px rgba(41,121,255,.4);
    z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-4px); }

/* ── Sobre ── */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.sobre-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}
.sobre-stat-card {
    background: var(--gray-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
.sobre-stat-card .number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.sobre-stat-card .label { font-size: .82rem; color: var(--text-muted); margin-top: .3rem; }
.sobre-image-wrapper { position: relative; }
.sobre-image-wrapper img {
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}
.badge-flutuante {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: .75rem;
}
.badge-flutuante .bf-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--primary-mid));
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}
.badge-flutuante .bf-text { display: flex; flex-direction: column; }
.badge-flutuante .bf-number { font-size: 1.3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.badge-flutuante .bf-label { font-size: .72rem; color: var(--text-muted); }

/* ── Page Hero (interno) ── */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 600px; margin: .75rem auto 0; }
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 1.25rem;
    font-size: .85rem;
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb span { color: rgba(255,255,255,.4); }
.breadcrumb .current { color: var(--accent-light); }

/* ── Alert / Toast (Vanilla JS) ── */
#gapi-toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 380px;
    width: 100%;
}
.gapi-toast {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    border-left: 4px solid var(--accent);
    animation: toastIn .3s ease;
    position: relative;
}
.gapi-toast.success { border-left-color: #00c853; }
.gapi-toast.error   { border-left-color: #f44336; }
.gapi-toast.warning { border-left-color: #ff9800; }
.gapi-toast.info    { border-left-color: var(--accent); }
.toast-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.gapi-toast.success .toast-icon { color: #00c853; }
.gapi-toast.error   .toast-icon { color: #f44336; }
.gapi-toast.warning .toast-icon { color: #ff9800; }
.gapi-toast.info    .toast-icon { color: var(--accent); }
.toast-body { flex: 1; }
.toast-title { font-weight: 700; color: var(--text); font-size: .9rem; margin-bottom: .15rem; }
.toast-msg { font-size: .85rem; color: var(--text-muted); }
.toast-close {
    background: none; border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(100%); }
}
.gapi-toast.removing { animation: toastOut .3s ease forwards; }

/* ── Responsivo ── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contato-wrapper { grid-template-columns: 1fr; }
    .sobre-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .navbar-nav { display: none; position: fixed; top: 70px; left: 0; right: 0;
        background: rgba(10,15,44,.98); flex-direction: column; padding: 1.5rem;
        border-top: 1px solid rgba(255,255,255,.1); }
    .navbar-nav.open { display: flex; }
    .hamburger { display: flex; }
    .hero { padding: 6rem 0 3rem; }
    .hero-image-area { display: none; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .sobre-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .hero-stats { gap: 1.25rem; }
    .sobre-stats { grid-template-columns: 1fr; }
}

/* ── Navbar Actions (ícones direita) ── */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: .35rem;
}
.nav-icon-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.85);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: .95rem;
    text-decoration: none;
    transition: all var(--transition);
}
.nav-icon-btn:hover { background: rgba(41,121,255,.35); border-color: var(--accent); color: var(--white); }
.nav-icon-primary { background: var(--accent); border-color: var(--accent); color: var(--white); }
.nav-icon-primary:hover { background: var(--primary-mid); border-color: var(--primary-mid); color: var(--white); }

/* Dropdown acessibilidade */
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(10,15,44,.97);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: .85rem;
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    backdrop-filter: blur(12px);
    z-index: 1100;
}
.nav-dropdown.open .nav-dropdown-panel { display: block; }
.nav-dropdown-title { font-size: .68rem; color: rgba(255,255,255,.45); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.nav-dropdown-row { display: flex; gap: .4rem; }
.nav-dropdown-row button {
    flex: 1;
    padding: .3rem .4rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.8);
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}
.nav-dropdown-row button:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.nav-dropdown-vlibras {
    width: 100%;
    margin-top: .35rem;
    padding: .35rem .6rem;
    background: rgba(41,121,255,.2);
    border: 1px solid rgba(41,121,255,.35);
    color: var(--accent-light);
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    display: flex; align-items: center; gap: .4rem; justify-content: center;
}
.nav-dropdown-vlibras:hover { background: var(--accent); color: var(--white); }

/* ── Acessibilidade ── */
.a11y-bar { display: flex; align-items: center; gap: .35rem; }
.a11y-btn {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.85);
    border-radius: 6px;
    padding: .25rem .5rem;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1.4;
}
.a11y-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.a11y-sep { color: rgba(255,255,255,.3); font-size: .7rem; }

/* Alto contraste */
body.alto-contraste {
    background: #000 !important;
    color: #fff !important;
}
body.alto-contraste * { background-color: transparent !important; color: #fff !important; border-color: #fff !important; }
body.alto-contraste a { color: #ff0 !important; }
body.alto-contraste .navbar,
body.alto-contraste .footer,
body.alto-contraste .hero { background: #000 !important; }

/* Fundo amarelo */
body.fundo-amarelo { background: #ff0 !important; color: #000 !important; }
body.fundo-amarelo * { color: #000 !important; }
body.fundo-amarelo a { color: #00008b !important; }
body.fundo-amarelo .navbar,
body.fundo-amarelo .footer,
body.fundo-amarelo .hero { background: #ffdd00 !important; }

/* ── Mapa do Site ── */
.mapa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.mapa-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}
.mapa-card-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--gray-mid);
}
.mapa-card-title i { color: var(--accent); font-size: 1.1rem; }
.mapa-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.mapa-links li a {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-muted);
    font-size: .9rem;
    transition: color var(--transition);
}
.mapa-links li a:hover { color: var(--accent); }
.mapa-links li a i { width: 16px; font-size: .8rem; }

/* ── Auth pages: navbar sólida ── */
body.page-auth .navbar {
    background: rgba(10,15,44,.98) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.35);
}

/* ── Login Split-screen ── */
.login-section {
    min-height: calc(100vh - 42px); /* descontar footer-bar */
    padding-top: 78px;              /* espaço navbar fixa */
    display: flex;
    align-items: stretch;
}
.login-left {
    flex: 0 0 42%;
    background: linear-gradient(145deg, #00091a, #001229, var(--primary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 2.5rem 3rem;
    position: relative;
    overflow: hidden;
}
.login-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(41,121,255,.25) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(100,181,246,.15) 0%, transparent 50%);
}
.login-left-content { position: relative; z-index: 1; text-align: center; width: 100%; }
.login-logo {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid rgba(255,255,255,.2);
    padding: .75rem;
    margin: 1.5rem auto 1.5rem;
    display: block;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(4px);
}
.login-brand-name { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: .5rem; }
.login-brand-tag { font-size: .8rem; color: var(--accent-light); letter-spacing: .06em; margin-bottom: 2rem; }
.login-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: .85rem; width: 100%; max-width: 300px; margin: 0 auto; }
.login-features li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .65rem .9rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
}
.login-features li i { color: var(--accent-light); font-size: .95rem; margin-top: .1rem; flex-shrink: 0; }
.login-features li span { color: rgba(255,255,255,.85); font-size: .82rem; line-height: 1.45; }
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: #f4f6f9;
}
.login-form-box {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 40px rgba(13,27,94,.12);
}
.login-form-box h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: .4rem; }
.login-form-box .subtitle { font-size: .875rem; color: var(--text-muted); margin-bottom: 2rem; }
.login-input-wrap { position: relative; }
.login-input-wrap i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: .9rem; }
.login-input-wrap input { padding-left: 2.5rem; }
.login-eye {
    position: absolute;
    right: .9rem; top: 50%; transform: translateY(-50%);
    background: none; border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    font-size: .9rem;
}
.login-eye:hover { color: var(--accent); }
@media (max-width: 768px) {
    .login-left { display: none; }
    .login-section { min-height: calc(100vh - 60px); }
}
