/* ==========================================
   TWK Engenharia - Design Moderno
   ========================================== */

/* Reset e Variáveis */
:root {
    --primary-color: #263248;
    --primary-dark: #1a2536;
    --primary-light: #3a4d6a;
    --accent-color: #f7931e;
    --accent-hover: #e8850f;
    --accent-light: #fff4e6;
    --secondary-color: #2ecc71;
    --text-dark: #1a1a2e;
    --text-medium: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --gradient-primary: var(--primary-color);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #ff6b35 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* ==========================================
   Tipografia
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ==========================================
   Utilitários
   ========================================== */

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

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0 auto 24px;
    border-radius: 2px;
}

/* ==========================================
   Botões
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 147, 30, 0.5);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 58, 92, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
    transform: translateY(-3px);
}

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

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* ==========================================
   Header
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 18px;
    border-radius: 25px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--bg-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: var(--bg-white);
    background: rgba(255, 255, 255, 0.15);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--bg-white);
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(247, 147, 30, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(46, 204, 113, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--bg-white);
    top: 50%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(247, 147, 30, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(46, 204, 113, 0.06) 0%, transparent 25%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 20%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 0 48px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-left {
    flex: 1;
    max-width: 580px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    color: var(--bg-white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3.75rem;
    color: var(--bg-white);
    margin-bottom: 28px;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--bg-white);
    font-size: 1.2rem;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.hero-scroll a:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==========================================
   Sobre Section
   ========================================== */

.sobre {
    background: var(--bg-white);
    position: relative;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre-text h3 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.sobre-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.sobre-text p {
    margin-bottom: 20px;
    color: var(--text-medium);
    line-height: 1.9;
    font-size: 1.05rem;
}

.sobre-diferenciais {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.diferencial-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.diferencial-item:hover {
    background: var(--bg-white);
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.diferencial-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 10px;
}

.diferencial-item span {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 35px 25px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ==========================================
   Serviços Section
   ========================================== */

.servicos {
    background: var(--bg-gradient);
    position: relative;
}

.servicos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, var(--bg-white), transparent);
    z-index: 1;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.servico-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.servico-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.servico-card:hover .servico-icon {
    background: var(--gradient-primary);
    transform: rotate(10deg) scale(1.1);
}

.servico-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.servico-card:hover .servico-icon i {
    color: var(--bg-white);
}

.servico-card h3 {
    color: var(--text-dark);
    margin-bottom: 16px;
    font-size: 1.35rem;
    font-weight: 700;
}

.servico-card p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    color: var(--text-light);
    line-height: 1.8;
}

.servico-lista li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.9rem;
    color: var(--text-medium);
    border-top: 1px solid var(--border-color);
}

.servico-lista li i {
    color: var(--accent-color);
    font-size: 0.8rem;
    width: 20px;
}

/* ==========================================
   Clientes Section
   ========================================== */

.clientes {
    background: var(--bg-gradient);
    position: relative;
}

.clientes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, var(--bg-white), transparent);
    z-index: 1;
}

.clientes::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-white), transparent);
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.cliente-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.cliente-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.cliente-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.cliente-card:hover::before {
    transform: scaleX(1);
}

.cliente-logo {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: var(--transition);
    overflow: hidden;
    padding: 12px;
}

.cliente-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.cliente-card:hover .cliente-logo {
    transform: scale(1.05);
    background: var(--bg-white);
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.2);
}

.cliente-card h4 {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.clientes-ver-mais {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* ==========================================
   Contato Section
   ========================================== */

.contato {
    background: var(--bg-gradient);
    position: relative;
}

.contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, var(--bg-white), transparent);
    z-index: 1;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.info-item:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.25rem;
    color: var(--bg-white);
}

.info-text h4 {
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

.info-text p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-link i {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

.social-link:hover i {
    color: var(--bg-white);
}

/* Formulário de Contato */
.contato-form {
    background: var(--bg-white);
    padding: 45px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(247, 147, 30, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 24px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.footer-brand .logo:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.footer-brand .logo img {
    display: block;
    width: 160px;
    height: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--bg-white);
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--accent-color);
}

.footer-dev {
    display: flex;
    align-items: center;
}

.footer-dev a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-dev img {
    height: 38px;
    width: 38px;
    opacity: 0.8;
    transition: var(--transition);
    border-radius: 50%;
    object-fit: cover;
}

.footer-dev:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* ==========================================
   Back to Top
   ========================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(247, 147, 30, 0.5);
}

/* ==========================================
   WhatsApp Float Button
   ========================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================
   Página de Projetos
   ========================================== */

.page-header {
    background: var(--gradient-primary);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(247, 147, 30, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(46, 204, 113, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    color: var(--bg-white);
    position: relative;
    z-index: 1;
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header .breadcrumb {
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.page-header .breadcrumb a:hover {
    color: var(--accent-color);
}

.page-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}

/* Projeto Cards com Imagens */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.projeto-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.projeto-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.projeto-imagem-real {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.projeto-imagem-real::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(26, 58, 92, 0.8), transparent);
}

.projeto-imagem-real img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.projeto-card:hover .projeto-imagem-real img {
    transform: scale(1.1);
}

.projeto-content {
    padding: 28px;
}

.projeto-content h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.projeto-content p {
    font-size: 0.9rem;
    margin-bottom: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

.projeto-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Video Section */
.video-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    margin-top: 60px;
}

.video-section .section-title {
    color: var(--bg-white);
}

.video-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-container video {
    width: 100%;
    display: block;
}

/* ==========================================
   Página de Clientes
   ========================================== */

.clientes-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cliente-page-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.cliente-page-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

/* ==========================================
   Responsividade
   ========================================== */

@media (max-width: 1200px) {
    .navbar {
        padding: 0 30px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 24px;
    }

    .hero-left {
        max-width: 700px;
    }

    .hero-right {
        order: -1;
    }

    .hero-image-container {
        max-width: 400px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sobre-stats {
        order: -1;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }

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

    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .projetos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clientes-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .logo-img {
        height: 40px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--gradient-primary);
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        padding: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        padding: 12px 20px;
    }

    .hero {
        min-height: auto;
        padding: 150px 0 100px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-image-container {
        max-width: 320px;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .sobre-diferenciais {
        grid-template-columns: 1fr;
    }

    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-brand .logo {
        display: inline-flex;
        padding: 12px 20px;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

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

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

    .clientes-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header {
        padding: 140px 0 80px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contato-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .clientes-grid,
    .clientes-page-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ==========================================
   Animações
   ========================================== */

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.15s; }
.delay-3 { animation-delay: 0.2s; }
.delay-4 { animation-delay: 0.25s; }
.delay-5 { animation-delay: 0.3s; }
.delay-6 { animation-delay: 0.35s; }