:root {
    --color-navy: #0f2f56;
    --color-gray: #eef2f7;
    --color-dark-gray: #14263d;
    --color-orange: #e85a0c;
    --color-text: #111827;
    --color-muted: #4b5563;
    --color-gold: #d4af37;
    --font-primary: 'DM Sans', 'Segoe UI', sans-serif;
    --font-accent: 'Kode Mono', 'Courier New', monospace;
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: linear-gradient(180deg, rgba(15, 47, 86, 0.04) 0%, rgba(238, 242, 247, 0.65) 60%, rgba(238, 242, 247, 1) 100%);
    line-height: 1.6;
}

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

.container {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

main {
    margin-top: 4.5rem;
}

.section-kicker {
    font-family: var(--font-accent);
    color: var(--color-orange);
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
    color: var(--color-dark-gray);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.muted {
    color: var(--color-muted);
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: var(--color-orange);
    color: #fff;
    box-shadow: 0 12px 28px rgba(232, 90, 12, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(232, 90, 12, 0.38);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 28px rgba(10, 32, 64, 0.28);
}

.btn-secondary:hover,
.btn-secondary:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(10, 32, 64, 0.38);
    background: rgba(255, 255, 255, 0.18);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 47, 86, 0.92);
    backdrop-filter: blur(14px);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar.scrolled {
    background: rgba(15, 47, 86, 0.98);
    box-shadow: 0 12px 30px rgba(10, 32, 64, 0.25);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
}


/* agora .logo-mark é uma imagem */

.logo-mark {
    width: 60px;
    /* ajusta o tamanho do logo */
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}


/* o resto permanece igual */

.logo-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.2;
}

.logo-text small {
    font-size: 0.75rem;
    display: block;
    color: rgba(255, 255, 255, 0.85);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.language-option {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.language-option .flag {
    width: 1.5rem;
    height: auto;
    display: block;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.language-option.active,
.language-option:hover,
.language-option:focus-visible {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: #fff;
    transform: translateY(-1px);
}

.language-option:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.nav-links a {
    color: rgba(229, 237, 255, 0.92);
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    height: 2px;
    width: 0;
    background: var(--color-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-toggle {
    background: transparent;
    border: none;
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}

.nav-toggle .line {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.hero {
    position: relative;
    min-height: 90vh;
    display: grid;
    place-items: center;
    text-align: left;
    padding: 7rem 0 5rem;
    color: #fff;
    background-color: var(--color-dark-gray);
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.hero-slide:first-child,
.hero-slide.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
    .hero-slide:first-child {
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 32, 64, 0.55), rgba(15, 47, 86, 0.35));
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 600px;
    color: #fff;
    z-index: 2;
}

.hero-content h1 {
    color: #fff;
    text-shadow: 0 10px 35px rgba(10, 32, 64, 0.45);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.88);
}

.hero-kicker {
    font-family: var(--font-accent);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--color-orange);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(12, 32, 64, 0.35);
    color: var(--color-orange);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(9, 25, 48, 0.28);
}

section {
    padding: 5rem 0;
    scroll-margin-top: 6rem;
}

.sobre {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
}

.sobre-grid {
    display: grid;
    gap: 2.5rem;
}

.sobre-cards {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.sobre-cards article {
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 18px 35px rgba(10, 32, 64, 0.08);
    border: 1px solid rgba(15, 47, 86, 0.05);
    transition: transform 0.3s ease;
}

.sobre-cards article:hover {
    transform: translateY(-4px);
}

.sobre-text p,
.sobre-cards article p,
.sobre-cards li {
    color: var(--color-text);
}

.sobre-cards li strong {
    color: var(--color-dark-gray);
}

.sobre-cards ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.sobre-imagem img {
    border-radius: 1.5rem;
    box-shadow: 0 24px 55px rgba(10, 32, 64, 0.25);
}

.servicos {
    background: linear-gradient(180deg, rgba(15, 47, 86, 0.05) 0%, rgba(238, 242, 247, 1) 80%);
}

.servicos-grid {
    display: grid;
    gap: 1.5rem;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(10, 32, 64, 0.1);
    border: 1px solid rgba(15, 47, 86, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 55px rgba(10, 32, 64, 0.18);
}

.card .icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(15, 47, 86, 0.1);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
}

.card .icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-navy);
}

.listaNaoOrdenada {
    list-style-type: square;
    list-style-position: inside;
    margin: 0;
    padding-left: 0.8rem;
}

.diferenciais {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.diferenciais::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(15, 47, 86, 0.12), transparent 55%), radial-gradient(circle at bottom left, rgba(15, 47, 86, 0.08), transparent 50%);
    pointer-events: none;
}

.diferenciais .container {
    position: relative;
    z-index: 1;
}

.diferenciais-grid {
    display: grid;
    gap: 1.5rem;
}

.diferenciais article {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(15, 47, 86, 0.08), 0 15px 35px rgba(10, 32, 64, 0.1);
    transition: transform 0.3s ease;
}

.diferenciais article:hover {
    transform: translateY(-4px);
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(15, 47, 86, 0.12), rgba(232, 90, 12, 0.18));
    color: var(--color-navy);
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portfolio {
    background: linear-gradient(180deg, rgba(238, 242, 247, 1) 0%, rgba(219, 228, 240, 0.85) 100%);
}

.portfolio-header {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.portfolio-filters {
    display: inline-flex;
    gap: 0.75rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 20px 40px rgba(10, 32, 64, 0.1);
}

.filter {
    border: none;
    background: transparent;
    color: var(--color-navy);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.filter.active,
.filter:hover,
.filter:focus {
    background: var(--color-orange);
    color: #fff;
}

.portfolio-grid {
    display: grid;
    gap: 1.5rem;
}

.portfolio-item {
    border-radius: 1.25rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 45px rgba(10, 32, 64, 0.12);
    border: 1px solid rgba(15, 47, 86, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(0.95);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.portfolio-item img:focus-visible {
    outline: 3px solid rgba(232, 90, 12, 0.75);
    outline-offset: -3px;
}

.portfolio-item video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

.portfolio-item videos-ladrilhos {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(10, 32, 64, 0.2);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item figcaption {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--color-navy);
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.92);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-items: center;
    padding: clamp(1.5rem, 3vw, 3rem);
    gap: clamp(1rem, 4vw, 2.5rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1200;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    width: min(70vw, 720px);
    max-height: min(70vh, 600px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lightbox-content img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 1.25rem;
    background: #000;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-counter {
    color: #f9fafb;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.lightbox-close {
    position: absolute;
    top: clamp(1rem, 2vw, 2rem);
    right: clamp(1rem, 2vw, 2rem);
    background: transparent;
    border: none;
    color: #f9fafb;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    color: var(--color-orange);
    transform: scale(1.1);
}

.lightbox-nav {
    background: rgba(15, 47, 86, 0.6);
    border: none;
    color: #f9fafb;
    width: clamp(2.75rem, 6vw, 3.5rem);
    height: clamp(2.75rem, 6vw, 3.5rem);
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-nav span {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    background: var(--color-orange);
    transform: scale(1.05);
}

.lightbox[hidden] {
    display: none !important;
}

.resultados {
    background: linear-gradient(180deg, #ffffff 0%, rgba(238, 242, 247, 0.85) 100%);
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-title {
    font-family: var(--font-accent);
    color: var(--color-orange);
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.section-head .muted {
    color: var(--color-muted);
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 18px 40px rgba(10, 32, 64, 0.12);
    border: 1px solid rgba(15, 47, 86, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(10, 32, 64, 0.16);
}

.stat-icon {
    font-size: 2rem;
    color: var(--color-orange);
    margin-bottom: 0.75rem;
}

.stat h3 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.25rem;
}

.stat p {
    margin-bottom: 0;
}

.partners-head {
    margin-top: 1.5rem;
}

.partners-grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.partner {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 16px 36px rgba(10, 32, 64, 0.1);
    border: 1px solid rgba(15, 47, 86, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner img {
    max-height: 52px;
    object-fit: contain;
}

.partner:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(10, 32, 64, 0.16);
}

.contato {
    background: linear-gradient(135deg, rgba(10, 32, 64, 0.95), rgba(15, 47, 86, 0.7));
    color: #fff;
}

.contato-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.contato-intro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contato-intro h2 {
    color: #fff;
    margin-bottom: 0.25rem;
}

.contato-intro p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.contato-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.contato-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
}

.contato-list strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.25rem;
}

.contato-list li div span {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.contato-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: #ffffff;
}

.contato-actions {
    margin-top: 0.5rem;
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #e85a0c;
    color: #ffffff;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 18px 32px rgba(232, 90, 12, 0.35);
}

.whatsapp-cta:hover,
.whatsapp-cta:focus {
    transform: translateY(-2px);
    background: #cc4d05;
    box-shadow: 0 20px 36px rgba(232, 90, 12, 0.45);
}

.whatsapp-cta:focus-visible {
    outline: 3px solid rgba(232, 90, 12, 0.6);
    outline-offset: 4px;
}

.whatsapp-icon svg {
    display: block;
    fill: currentColor;
}

.whatsapp-text {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
}

.contato p,
.contato label {
    color: rgba(255, 255, 255, 0.85);
}

.contato-info p {
    margin-bottom: 0.75rem;
}

.contato-form {
    background: rgba(255, 255, 255, 0.12);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.form-group {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

input,
select,
textarea {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: none;
    font-size: 1rem;
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-dark-gray);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 90, 12, 0.35);
    transform: translateY(-2px);
}

textarea {
    resize: vertical;
}

.footer {
    background: var(--color-navy);
    color: #fff;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

.footer-heading {
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-column p {
    margin: 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.footer-column strong {
    color: #fff;
}

.footer-contact a {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: var(--color-gold);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-list li::before {
    content: '•';
    color: var(--color-gold);
    margin-right: 0.5rem;
}

.footer-certifications {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-certifications a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-certifications a:hover,
.footer-certifications a:focus {
    color: #fff;
}

.footer-certifications img {
    max-width: 140px;
    height: auto;
}

.footer-certifications p {
    margin-top: 0.5rem;
}

.footer-map iframe {
    width: 100%;
    border: 0;
    border-radius: 12px;
    min-height: 200px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.footer-divider {
    margin: 3rem 0 2rem;
    border: none;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom p {
    margin: 0;
}

.footer-links,
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.footer-links a,
.footer-socials a {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-socials a:hover,
.footer-socials a:focus {
    color: var(--color-gold);
}

.footer-divider + .footer-bottom {
    padding-top: 0.5rem;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.7);
}

.scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3.25rem;
    height: 3.25rem;
    border: none;
    border-radius: 50%;
    background: var(--color-orange);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 40px rgba(232, 90, 12, 0.35);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 999;
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top:hover,
.scroll-top:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(232, 90, 12, 0.45);
}

.scroll-top:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links,
    .footer-socials {
        gap: 0.75rem;
    }
}

.fade-in {
    animation: fadeInUp 0.9s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 640px) {
    .servicos-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .diferenciais-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .contato-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .lightbox {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr auto;
        padding: 1.5rem;
    }
    .hero-actions {
        width: 100%;
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .lightbox-prev,
    .lightbox-next {
        order: unset;
        justify-self: center;
    }
    .lightbox-content {
        order: unset;
        width: min(86vw, 420px);
        max-height: 65vh;
    }
    .lightbox-nav {
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (min-width: 768px) {
    .sobre-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }
    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        right: 1rem;
        background: rgba(15, 47, 86, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        border-radius: 1rem;
        gap: 1rem;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .language-selector {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        padding-top: 1rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .language-option {
        flex: 1 1 calc(50% - 0.75rem);
        justify-content: center;
    }
    .hero {
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 6rem 0;
    }
    .card {
        padding: 2.5rem;
    }
}