/* Google Fonts loaded via <link> in HTML (non-render-blocking) */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.3px;
}

:root {
    --primary: #0F1923;
    --secondary: #0F1923;
    --accent: #FF7A1A;
    --accent-soft: #FFAA66;
    --success: #28a745;
    --dark: #0F1923;
    --light: #F3F7FC;
    --text: #1E2A38;
    --text-light: #5A6A7A;
    --border: #DDE3EA;
    --shadow: rgba(15, 25, 35, 0.08);
    --hero-heading: #F5F9FF;
    --hero-stat-text: #D8E9FF;
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

/* Skip Navigation (Acessibilidade) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 9999;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Focus visível para teclado */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
    border-radius: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: all 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    transition: transform 0.3s ease;
}

.logo a:hover .logo-icon {
    transform: rotate(15deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--dark);
}

.btn-contato {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-contato:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 25, 35, 0.35);
}

/* ── LANGUAGE SWITCHER ────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    padding: 0.4rem 0.9rem;
    border: none;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 6px;
    letter-spacing: 0.5px;
    position: relative;
}

.lang-btn:hover {
    color: var(--dark);
}

.lang-btn.is-active {
    color: var(--dark);
    background: rgba(15, 25, 35, 0.08);
    font-weight: 700;
}

.lang-btn.is-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
}

.lang-switcher > span {
    color: var(--border);
    font-weight: 300;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    border-radius: 4px;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    display: block;
}

/* Hamburger → X quando aberto */
.menu-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 7px);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}

.menu-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -7px);
}

/* Animação de entrada do menu mobile */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../img/fundo-home-logo.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 10, 18, 0.74) 0%, rgba(5, 10, 18, 0.68) 45%, rgba(5, 10, 18, 0.76) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: var(--hero-heading);
    text-shadow: 0 8px 28px rgba(10, 31, 68, 0.28);
}

.gradient-text {
    background: linear-gradient(to right, var(--accent), var(--accent-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: -0.5rem;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--hero-heading);
    text-shadow: 0 8px 28px rgba(10, 31, 68, 0.28);
}

.stat p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: var(--hero-stat-text);
    text-shadow: 0 8px 24px rgba(10, 31, 68, 0.24);
}

.hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 150px;
    background: white;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

/* SECTIONS */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* HOMEPAGE: orange accent details */
body:not(.case-page) .nav-links a:not(.btn-contato) {
    position: relative;
}

body:not(.case-page) .nav-links a:not(.btn-contato)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    opacity: 0.85;
}

body:not(.case-page) .nav-links a:not(.btn-contato):hover::after {
    transform: scaleX(1);
}

body:not(.case-page) .section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.7rem;
}

body:not(.case-page) .section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    opacity: 0.8;
}

body:not(.case-page) .service-card,
body:not(.case-page) .portfolio-item,
body:not(.case-page) .pricing-card {
    border: 1px solid rgba(255, 122, 26, 0.14);
}

body:not(.case-page) .service-card:hover,
body:not(.case-page) .portfolio-item:hover,
body:not(.case-page) .pricing-card:hover {
    box-shadow: 0 14px 36px rgba(255, 122, 26, 0.12);
}

body:not(.case-page) .tag {
    background: rgba(255, 122, 26, 0.09);
    border: 1px solid rgba(255, 122, 26, 0.24);
}

body:not(.case-page) .badge-popular {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: #2c1400;
}

body:not(.case-page) .contact-info {
    border-left-color: var(--accent);
}

body:not(.case-page) .contact-icon {
    background: rgba(255, 122, 26, 0.12);
    color: #9a4100;
}

/* SERVICES */
.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(15, 25, 35, 0.15);
}

.service-card.featured {
    border: 2px solid var(--dark);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon--sm {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.75rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    margin-top: 1.5rem;
}

.service-list li {
    padding: 0.7rem 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

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

/* SOBRE */
.sobre {
    background: white;
}

.sobre-content {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.sobre-foto {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.foto-wrapper {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 25, 35, 0.15);
    border: 4px solid var(--dark);
}

.foto-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sobre-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--light);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

.sobre-texto {
    padding-top: 0.5rem;
}

.sobre-label {
    display: inline-block;
    background: rgba(15, 25, 35, 0.08);
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.sobre-texto h3 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sobre-texto p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}


/* PORTFOLIO */
/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    background: white;
    color: var(--text);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.filter-btn:hover {
    border-color: var(--dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 25, 35, 0.12);
}

.filter-btn.is-active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(15, 25, 35, 0.28);
}

.filter-btn.is-active:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 25, 35, 0.35);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow);
    transition: transform 0.3s, opacity 0.3s;
    opacity: 1;
}

.portfolio-item[hidden] {
    display: none;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: linear-gradient(135deg, var(--dark), #2A4A66);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.gradient-1 {
    background: linear-gradient(135deg, var(--dark) 0%, #2A4A66 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.gradient-3 {
    background: linear-gradient(135deg, #0F1923 0%, #0F1923 100%);
}

.placeholder-content {
    animation: fadeIn 0.6s ease-in;
}

.placeholder-content p {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.placeholder-content small {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 25, 35, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.btn-view {
    background: white;
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 500;
}

/* PRICING */
.pricing {
    background: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 30px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(15, 25, 35, 0.15);
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.3rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
}

.price-desc {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

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

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

.pricing-card .btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pricing-card .btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 25, 35, 0.35);
}

.btn-outline-primary {
    border: 2px solid var(--dark);
    color: var(--dark);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--dark);
    color: white;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ── PRICING GRID 4 COLUMNS ────────────────────── */
.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ── PRICE RANGE TYPOGRAPHY ───────────────────── */
.price-range {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin: 1.5rem 0;
    text-align: center;
    letter-spacing: -0.5px;
}

.price-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* ── CURRENCY TOGGLE ──────────────────────────── */
.currency-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.currency-btn {
    padding: 0.65rem 1.8rem;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: white;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.currency-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.currency-btn.is-active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(15, 25, 35, 0.35);
}

/* ── PRICING MAINTENANCE SECTION ──────────────── */
.pricing-maintenance {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 10px 40px rgba(15, 25, 35, 0.3);
}

.maint-info {
    flex: 1;
}

.maint-icon {
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.pricing-maintenance h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
}

.maint-info > p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.975rem;
    line-height: 1.6;
    font-weight: 500;
}

.pricing-maintenance > div:nth-child(2) {
    text-align: center;
}

.pricing-maintenance .price-range {
    color: white;
    margin: 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.pricing-maintenance small {
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-maintenance .btn-outline {
    border-color: white;
    color: white;
    white-space: nowrap;
    padding: 0.9rem 2rem;
}

.pricing-maintenance .btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* ── RESPONSIVE: 4 COLUMN TO 2 ON TABLET ──────── */
@media (max-width: 1024px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── RESPONSIVE: STACK ON MOBILE ──────────────── */
@media (max-width: 768px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-maintenance {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
        text-align: center;
    }

    .pricing-maintenance > div:nth-child(2),
    .pricing-maintenance > a {
        text-align: center;
    }

    .pricing-maintenance .btn-outline {
        width: 100%;
    }

    .currency-toggle {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .currency-btn {
        padding: 0.55rem 1.2rem;
        font-size: 0.95rem;
    }

    .price-range {
        font-size: 1.5rem;
    }

    .pricing-maintenance .price-range {
        font-size: 1.6rem;
    }
}

/* TESTIMONIALS */
.testimonials {
    background: var(--dark);
    color: white;
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* CONTACT */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

/* Card da coluna de informações */
.contact-info {
    background: var(--light);
    border-radius: 20px;
    padding: 2.5rem;
    border-left: 4px solid var(--secondary);
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-intro {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    align-items: flex-start;
}

.contact-item:hover {
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: white;
}

/* Badge quadrado arredondado para ícones SVG */
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(15, 25, 35, 0.08);
    border-radius: 8px;
    color: var(--primary);
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-item h4 {
    margin-bottom: 0.3rem;
    color: var(--dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA card */
.contact-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: sticky;
    top: 100px;
}

.contact-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

.contact-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 0.97rem;
    line-height: 1.6;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1rem;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.availability {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    margin-top: 6rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-left .logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.footer-left span {
    font-size: 1.3rem;
    font-weight: 300;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

/* SVG sprite helpers */
.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon-16 {
    width: 16px;
    height: 16px;
}

.logo-link-case {
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--dark);
    letter-spacing: 0.5px;
}

/* CASE PAGES */
body.case-page {
    background-color: var(--light);
}

.case-wrapper {
    margin-top: 80px;
}

.breadcrumb {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.breadcrumb-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-light);
}

.breadcrumb-inner a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-inner a:hover {
    color: var(--secondary);
}

.breadcrumb-sep {
    color: var(--border);
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

.case-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 5rem 20px 4rem;
    text-align: center;
}

.case-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.case-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.case-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.case-hero .subtitle {
    font-size: 1.1rem;
    opacity: 0.92;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.case-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-soft);
    margin-bottom: 0.3rem;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.85;
}

.case-preview {
    max-width: 960px;
    margin: -2rem auto 0;
    padding: 0 20px;
}

.case-preview picture {
    display: block;
}

.case-preview img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 25, 35, 0.2);
    display: block;
}

.case-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 20px 4rem;
}

.case-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 20px rgba(15, 25, 35, 0.07);
}

.case-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(15, 25, 35, 0.08);
    border-radius: 8px;
    color: var(--primary);
    flex-shrink: 0;
}

.case-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.case-section p:last-child {
    margin-bottom: 0;
}

.case-section p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.case-section p a:hover {
    color: var(--secondary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.result-card {
    background: rgba(40, 167, 69, 0.06);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.result-card h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 0.4rem;
}

.result-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-block {
    background: var(--dark);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.testimonial-block .stars {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.testimonial-block blockquote {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.testimonial-block cite {
    color: var(--accent-soft);
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.tech-badge {
    background: rgba(15, 25, 35, 0.08);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
}

.case-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.case-cta h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
}

.case-cta p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

body.case-page .footer {
    margin-top: 0;
}

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

.footer-right p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    /* Navbar: posicionamento relativo para o dropdown */
    .navbar .container {
        position: relative;
    }

    /* Menu fechado: invisível mas fora do fluxo no mobile */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
        padding: 0.75rem 0;
        z-index: 999;
        gap: 0;
        margin: 0 12px;
    }

    /* Menu aberto */
    .nav-links.is-open {
        display: flex;
        animation: slideDown 0.25s ease forwards;
    }

    /* Links dentro do menu mobile */
    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        color: var(--dark);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links a:hover {
        background: var(--light);
    }

    /* Botão "Contato" no mobile */
    .btn-contato {
        margin: 0.5rem 1rem !important;
        display: block;
        text-align: center;
        border-radius: 8px;
        padding: 0.75rem 1rem !important;
    }

    /* Botão hamburguer visível */
    .menu-toggle {
        display: flex;
    }

    /* Language switcher mobile */
    .lang-switcher {
        margin-left: 0.5rem;
        gap: 0.3rem;
    }

    .lang-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
        border-radius: 4px;
    }

    .lang-btn.is-active::after {
        height: 1.5px;
    }

    .lang-switcher > span {
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2.25rem;
    }

    .hero {
        background-size: cover;
        background-position: center center;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 2rem;
        margin-top: -0.2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-cta {
        position: static;
        padding: 2rem 1.5rem;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sobre-foto {
        align-items: center;
    }

    .foto-wrapper {
        max-width: 220px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
    }


    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 3rem 0;
    }

    .service-card,
    .pricing-card {
        padding: 1.5rem;
    }

    .portfolio-filters {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .case-stats {
        gap: 1.5rem;
    }

    .case-preview {
        margin-top: -1rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .case-section {
        padding: 1.5rem;
    }

    .case-cta {
        padding: 2rem 1.5rem;
    }
}
