/* 
 * Design System - Sinalização Vô Ermínio
 * Colors, Typography, Layout, Grid and Micro-animations
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --color-asphalt-950: #090B0E;
    --color-asphalt-900: #0F1319;
    --color-asphalt-800: #1A1F26;
    --color-asphalt-700: #2C3540;
    --color-asphalt-600: #424E5C;
    --color-asphalt-300: #9EADB8;
    --color-asphalt-100: #E2E8F0;

    --color-yellow-primary: #F59E0B;
    /* Traffic Yellow */
    --color-yellow-hover: #D97706;
    --color-yellow-light: #FEF3C7;

    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #128C7E;

    --color-white: #FFFFFF;
    --color-danger: #EF4444;
    --color-success: #10B981;

    /* Semantic Colors for Signaling Specs */
    --sig-yellow: #F59E0B;
    --sig-red: #DC2626;
    --sig-blue: #2563EB;
    --sig-white: #FFFFFF;
    --sig-black: #1E293B;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout & Animations */
    --container-max-width: 1200px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-asphalt-700);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-asphalt-900);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-yellow-primary);
    border-radius: 2px;
}

h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

p {
    font-size: 1rem;
    color: var(--color-asphalt-600);
}

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

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

/* Grid & Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-bg-dark {
    background-color: var(--color-asphalt-900);
    color: var(--color-white);
}

.section-bg-dark h2,
.section-bg-dark h3 {
    color: var(--color-white);
}

.section-bg-dark p {
    color: var(--color-asphalt-300);
}

.section-bg-light {
    background-color: var(--color-asphalt-100);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-yellow-primary);
    color: var(--color-asphalt-950);
}

.btn-primary:hover {
    background-color: var(--color-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-asphalt-950);
    transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
    background-color: var(--color-asphalt-900);
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(15, 19, 25, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.header.scrolled .nav-link:hover {
    color: var(--color-yellow-primary);
}

.header.scrolled .logo-text {
    color: var(--color-white);
}

.header.scrolled .logo-sub {
    color: var(--color-asphalt-300);
}

.header.scrolled .menu-toggle-bar {
    background-color: var(--color-white);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-yellow-primary);
    clip-path: polygon(50% 0%, 100% 85%, 0% 85%);
    /* Triangle Roadsign Shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--color-asphalt-950);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-asphalt-900);
    line-height: 1.1;
    letter-spacing: -0.5px;
    transition: var(--transition-smooth);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--color-asphalt-600);
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-asphalt-700);
}

.nav-link:hover {
    color: var(--color-yellow-primary);
}

.nav-cta {
    margin-left: 10px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle-bar {
    width: 28px;
    height: 3px;
    background-color: var(--color-asphalt-900);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(15, 19, 25, 0.03) 0%, transparent 60%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-yellow-light);
    color: var(--color-yellow-hover);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--color-yellow-primary);
    display: inline-block;
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(245, 158, 11, 0.15);
    z-index: -1;
}

.hero-desc {
    font-size: 1.15rem;
    margin: 20px 0 35px 0;
    color: var(--color-asphalt-600);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--color-asphalt-100);
    padding-top: 30px;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-feature-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-yellow-primary);
    line-height: 1;
}

.hero-feature-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-asphalt-800);
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background-color: var(--color-asphalt-800);
}

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

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

.hero-floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background-color: var(--color-white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 250px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-yellow-light);
    color: var(--color-yellow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.floating-info h4 {
    font-size: 1rem;
    font-weight: 700;
}

.floating-info p {
    font-size: 0.8rem;
}

/* Services Section */
.services-intro {
    max-width: 700px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.services-carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-asphalt-900);
    border: 1px solid var(--color-asphalt-100);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.carousel-btn:hover {
    background-color: var(--color-yellow-primary);
    color: var(--color-asphalt-950);
}

.carousel-btn.prev-btn {
    left: -10px;
}

.carousel-btn.next-btn {
    right: -10px;
}

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

.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-asphalt-100);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-yellow-primary);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--color-asphalt-100);
    color: var(--color-asphalt-900);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--color-yellow-primary);
    color: var(--color-asphalt-950);
}

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-asphalt-700);
}

.service-features li::before {
    content: "✓";
    color: var(--color-yellow-primary);
    font-weight: 800;
}

/* Technical Specifications Section */
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: flex-start;
}

.spec-sidebar h2 {
    margin-bottom: 20px;
}

.spec-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.spec-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background-color: var(--color-asphalt-100);
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-asphalt-800);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.spec-tab-btn:hover {
    background-color: var(--color-asphalt-200);
}

.spec-tab-btn.active {
    background-color: var(--color-yellow-primary);
    color: var(--color-asphalt-950);
}

.spec-tab-btn i {
    font-size: 18px;
    transition: var(--transition-smooth);
}

.spec-tab-btn.active i {
    transform: translateX(5px);
}

.spec-content-area {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-asphalt-100);
    min-height: 450px;
}

.spec-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.spec-panel.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spec-panel h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.spec-panel h3::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--color-asphalt-100);
}

.spec-color-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.spec-color-span-2 {
    grid-column: span 2;
}

.spec-color-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-asphalt-100);
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.color-dot.yellow {
    background-color: var(--sig-yellow);
}

.color-dot.red {
    background-color: var(--sig-red);
}

.color-dot.blue {
    background-color: var(--sig-blue);
}

.color-dot.white {
    background-color: var(--sig-white);
}

.color-dot.black {
    background-color: var(--sig-black);
}

.color-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.color-info p {
    font-size: 0.8rem;
}

.spec-material-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 25px;
}

.material-item {
    border-left: 4px solid var(--color-yellow-primary);
    padding-left: 20px;
}

.material-item h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.material-item p {
    font-size: 0.9rem;
}

.spec-norm-badge-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.norm-badge {
    background-color: var(--color-asphalt-100);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    border: 1px dashed var(--color-asphalt-300);
}

.norm-badge h4 {
    font-size: 1.2rem;
    color: var(--color-yellow-hover);
    margin-bottom: 6px;
}

.norm-badge p {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 19, 25, 0.9) 0%, rgba(15, 19, 25, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

.portfolio-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-yellow-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.portfolio-title {
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 700;
}

/* Location/Service Area Section */
.location-box {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    border: 1px solid var(--color-asphalt-100);
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.location-info h3 {
    margin-bottom: 15px;
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-tag {
    background-color: var(--color-asphalt-100);
    color: var(--color-asphalt-800);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.location-tag:hover {
    background-color: var(--color-yellow-light);
    color: var(--color-yellow-hover);
    transform: translateY(-2px);
}

.location-map-placeholder {
    width: 100%;
    height: 250px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    background-color: var(--color-asphalt-800);
}

.location-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--color-asphalt-800);
    padding: 24px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.contact-card:hover {
    border-color: var(--color-yellow-primary);
    transform: translateX(5px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--color-yellow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card-details h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-card-details p {
    color: var(--color-asphalt-300);
    font-size: 0.9rem;
}

.contact-card-details a {
    color: var(--color-yellow-primary);
    font-weight: 600;
    word-break: normal;
    overflow-wrap: break-word;
}

.contact-form-wrapper {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-asphalt-100);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-asphalt-800);
}

.form-input {
    padding: 12px 16px;
    border: 1.5px solid var(--color-asphalt-100);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    background-color: var(--color-white);
    max-width: 100%;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-yellow-primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-input::placeholder {
    color: var(--color-asphalt-300);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23424E5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
    white-space: normal;
    word-wrap: break-word;
    text-overflow: ellipsis;
}

.form-select option {
    white-space: normal;
    word-wrap: break-word;
}

.form-submit-btn {
    width: 100%;
    margin-top: 10px;
}

.form-status {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--color-danger);
    border: 1px solid var(--color-danger);
}

/* Footer Section */
.footer {
    background-color: var(--color-asphalt-950);
    padding: 80px 0 30px 0;
    color: var(--color-white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-yellow-primary);
}

.footer-logo-desc {
    color: var(--color-asphalt-300);
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-asphalt-300);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-yellow-primary);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--color-asphalt-300);
}

.footer-contact-item i {
    color: var(--color-yellow-primary);
    margin-top: 4px;
    flex-shrink: 0;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-asphalt-300);
}

.footer-cert {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-cert-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-asphalt-300);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pedestrian Crossing Background */
#portfolio {
    background-color: var(--color-asphalt-950);
    background-image: repeating-linear-gradient(90deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.03) 100px,
            rgba(255, 255, 255, 0.03) 200px);
}

/* Logo Inversion */
.header.scrolled .logo-img,
.footer .logo-img {
    filter: brightness(0) invert(1);
}

/* Cases Marquee Scroller Styles */
.cases-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 50px;
    padding: 20px 0;
}

.cases-marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
}

.cases-marquee-track:hover {
    animation-play-state: paused;
}

.cases-marquee-group {
    display: flex;
    gap: 30px;
    padding-right: 30px;
    flex-shrink: 0;
}

.case-card {
    flex: 0 0 420px;
    width: 420px;
    background-color: var(--color-asphalt-900);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.3);
}

.case-img-wrap {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.case-badge-local {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(9, 11, 14, 0.85);
    backdrop-filter: blur(8px);
    color: var(--color-white);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.case-content-wrap {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.case-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-tag-area {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--color-yellow-primary);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.case-tag-tinta {
    background-color: rgba(226, 232, 240, 0.05);
    color: var(--color-asphalt-300);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-tag-norma {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.case-title {
    color: var(--color-white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
}

.case-desc {
    color: var(--color-asphalt-300);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.case-link-btn {
    align-self: flex-start;
    width: 100%;
    text-align: center;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.3333%);
    }
}

/* Responsiveness */

/* Tabletes e Laptops Menores */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-grid,
    .spec-grid,
    .portfolio-grid,
    .location-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-badge {
        margin: 0 auto 24px auto;
    }

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

    .hero-features {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-floating-card {
        left: 20px;
    }

    .spec-sidebar {
        text-align: center;
    }

    .spec-sidebar h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .spec-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .spec-tab-btn {
        flex: 1 1 200px;
    }
}

/* Tablets em PÃ© e Celulares Grandes */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    /* Navbar & Mobile Menu */
    .navbar {
        height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-asphalt-950);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 998;
    }

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

    .nav-link {
        color: var(--color-white);
        font-size: 1.25rem;
    }

    .header.scrolled .nav-link {
        color: var(--color-white);
    }

    .menu-toggle.active .menu-toggle-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .menu-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .menu-toggle-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hero Adjustments */
    .hero {
        padding: 120px 0 60px 0;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-visual {
        order: -1;
    }

    /* Services Section - Carousel on mobile (User Requested) */
    .carousel-btn {
        display: flex;
    }

    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        margin: 0 -20px;
        width: calc(100% + 40px);
        padding: 0 calc(50% - 160px + 20px) 20px calc(50% - 160px + 20px); /* Center 320px cards */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        position: relative;
        z-index: 1;
    }

    .services-grid {
        scrollbar-width: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 320px;
        /* Fixed width for swipe */
        scroll-snap-align: center;
        height: auto;
    }

    /* Form & Footer */
    .contact-info {
        text-align: center;
    }

    .contact-cards {
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

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

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

    /* Specifications Scroll */
    .spec-sidebar, .spec-content-area {
        min-width: 0;
        max-width: 100%;
    }

    .spec-tabs {
        flex-direction: column;
        overflow-x: visible;
        padding-bottom: 0;
        border-right: none;
        border-bottom: none;
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        max-width: 100%;
    }

    .spec-tabs::-webkit-scrollbar {
        display: none;
    }

    .spec-tab-btn {
        border-right: none;
        border-bottom: none;
        border-left: 3px solid transparent;
        padding: 12px 16px;
        white-space: normal;
        flex: 1 1 auto;
        text-align: left;
    }

    .spec-tab-btn.active {
        border-bottom-color: transparent;
        border-left-color: var(--color-yellow-primary);
        background-color: var(--color-yellow-light);
    }

    .spec-tab-btn i {
        display: none;
    }

    .spec-color-grid {
        grid-template-columns: 1fr;
    }

    .spec-norm-badge-container {
        grid-template-columns: 1fr;
    }

    .spec-color-card {
        grid-column: span 1 !important;
    }

    /* Cases Scroller Mobile tweaks */
    .cases-marquee-container {
        margin-top: 30px;
    }

    .cases-marquee-track {
        animation: none !important;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding-bottom: 20px;
        padding: 0 calc(50% - 160px) 20px calc(50% - 160px); /* Center 320px cards */
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        position: relative;
        z-index: 1;
    }

    .portfolio-carousel-wrapper .prev-btn {
        left: 10px !important;
    }

    .portfolio-carousel-wrapper .next-btn {
        right: 10px !important;
    }

    .cases-marquee-track {
        scrollbar-width: none;
    }

    .cases-marquee-track::-webkit-scrollbar {
        display: none;
    }

    .cases-marquee-group {
        display: contents;
    }

    .cases-marquee-group[aria-hidden="true"] {
        display: none !important;
    }

    .case-card {
        flex: 0 0 320px;
        width: 320px;
        scroll-snap-align: center;
    }

    .case-img-wrap {
        height: 180px;
    }

    .case-content-wrap {
        padding: 20px;
    }

    .case-title {
        font-size: 1.15rem;
    }

    .case-desc {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }
}

/* Celulares Pequenos */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        margin-left: 0 !important;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-card-details a {
        font-size: 0.85rem;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

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

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

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

    .service-card,
    .case-card {
        flex: 0 0 280px;
        width: 280px;
    }
}

/* =========================================
   19. WhatsApp Region Modal
   ========================================= */
.wa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 16, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.wa-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wa-modal {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 35px 30px;
    width: 90%;
    max-width: 420px;
    position: relative;
    text-align: center;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.wa-modal-overlay.active .wa-modal {
    transform: translateY(0);
}

.wa-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-background);
    border: none;
    font-size: 24px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
    transition: all 0.2s;
    line-height: 1;
}

.wa-modal-close:hover {
    color: var(--color-white);
    background-color: var(--color-primary);
}

.wa-modal h3 {
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 1.5rem;
}

.wa-modal p {
    margin-bottom: 25px;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.wa-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wa-modal-buttons .btn {
    width: 100%;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1.05rem;
    justify-content: center;
}