:root {
    --primary: #0F0F11;
    --accent: #FF5A1F;
    --accent-rgb: 255, 90, 31;
    --gradient-orange: linear-gradient(135deg, #E63B2E 0%, #FF601B 100%);
    --bg-light: #F6F6F9;
    --text-main: #1D1D20;
    --text-muted: #62626E;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 16px;
    --radius-pill: 100px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: initial;
    /* Lenis handles this */
}

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

ul {
    list-style: none;
}

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

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-large {
    padding: 140px 0;
}

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

.dark-ish-bg {
    background-color: #F8F9FA;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--primary);
}

h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 25px;
}

h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    margin-bottom: 20px;
}

.sub-title {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-orange);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(230, 59, 46, 0.15);
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin-top: 15px;
    margin-bottom: 30px;
    border-radius: 2px;
}

.title-underline.center-align {
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.center {
    text-align: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Buttons */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    gap: 10px;
}

.btn-cta.primary {
    background: var(--gradient-orange);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(230, 59, 46, 0.35);
}

.btn-cta.primary:hover {
    background: linear-gradient(135deg, #FF601B 0%, #E63B2E 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(230, 59, 46, 0.45);
}

.btn-cta.secondary {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.btn-cta.secondary:hover {
    background: var(--gradient-orange);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 59, 46, 0.35);
}

.btn-cta.secondary-dark {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

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

.btn-icon svg,
.btn-icon-nav svg {
    flex-shrink: 0;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(15, 15, 17, 0.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.logo {
    margin-right: auto;
    display: flex;
    align-items: center;
}

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

#navbar.scrolled .logo img {
    height: 48px;
}

.nav-links {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-right: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white) !important;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent) !important;
}

.mobile-cta-only {
    display: none;
}

.btn-icon-nav {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: #000 url('images/images-hero/ezgif-frame-001.webp') no-repeat center center;
    background-size: cover;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#three-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 1100px;
    padding: 0 5%;
    z-index: 2;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    margin-top: 30px;
    /* Offset to prevent navbar overlap */
}

.no-wrap {
    white-space: nowrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 90, 31, 0.15);
    border: 1px solid rgba(255, 90, 31, 0.25);
    border-radius: var(--radius-pill);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    max-width: 600px;
    margin-bottom: 25px;
    opacity: 0.9;
    color: var(--white);
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    align-items: center;
}

.highlight {
    color: var(--accent);
}

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

.scroll-down-circle {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    animation: scroll-pulse 2s infinite ease-in-out;
    cursor: pointer;
}

.scroll-down-circle svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.scroll-down-circle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

@keyframes scroll-pulse {
    0% {
        transform: translateY(0);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        transform: translateY(10px);
        opacity: 1;
        box-shadow: 0 0 10px 4px rgba(255, 90, 31, 0.3);
        border-color: var(--accent);
    }

    100% {
        transform: translateY(0);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }
}

/* Stats Section */
#stats {
    padding: 30px 0;
    background: var(--gradient-orange);
    color: var(--white);
    position: relative;
    z-index: 2;
}

.stats-bar-gradient {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
}

.stat-suffix {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
}

.stat-item p {
    font-size: 0.85rem;
    opacity: 0.95;
    margin-top: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* About Section (Quem Somos) */
#about {
    background-color: var(--white);
    position: relative;
}

.about-images-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1.25;
}

.about-img-main {
    position: absolute;
    top: 4%;
    left: 4%;
    width: 76%;
    z-index: 2;
}

.about-img-main img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    transition: var(--transition);
}

.about-img-sub {
    position: absolute;
    bottom: 4%;
    right: 4%;
    width: 58%;
    z-index: 3;
}

.about-img-sub img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    transition: var(--transition);
}

.about-images-container:hover .about-img-main img {
    transform: translateY(-5px) rotate(-1deg);
}

.about-images-container:hover .about-img-sub img {
    transform: translateY(5px) scale(1.02) rotate(1deg);
}

.about-badge-circular {
    position: absolute;
    bottom: -15px;
    right: -15px;
    z-index: 4;
}

.badge-inner {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 10px 25px rgba(255, 90, 31, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-inner svg {
    animation: rotate-badge 15s linear infinite;
    position: absolute;
    width: 100%;
    height: 100%;
}

.badge-center-icon {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    z-index: 2;
}

@keyframes rotate-badge {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.about-content {
    padding-left: 20px;
}

.about-content h2 {
    font-size: 2.8rem;
    margin: 15px 0;
    color: var(--primary);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.about-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Redefined Differentials */
#differentials {
    background-color: var(--bg-light);
    position: relative;
}

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

.diff-item {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.diff-item:hover {
    background: var(--gradient-orange);
    border-color: transparent;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(230, 59, 46, 0.25);
}

.diff-item.highlighted {
    background: var(--gradient-orange);
    color: var(--white);
    border-color: transparent;
    position: relative;
    box-shadow: 0 15px 35px rgba(230, 59, 46, 0.25);
    transform: none;
}

.diff-item.highlighted h3 {
    color: var(--white);
}

.diff-item.highlighted p {
    color: rgba(255, 255, 255, 0.9);
}

.diff-item.highlighted:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(230, 59, 46, 0.35);
}

.diff-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 90, 31, 0.1);
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.diff-item:hover .diff-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.diff-item.highlighted .diff-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    box-shadow: none;
}

.diff-item.highlighted:hover .diff-icon {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    box-shadow: none;
}

.diff-icon svg {
    width: 30px;
    height: 30px;
}

.diff-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary);
    transition: var(--transition);
}

.diff-item:hover h3 {
    color: var(--white);
}

.diff-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    transition: var(--transition);
}

.diff-item:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Services Modern Grid */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.service-modern-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-modern-card:hover {
    background: var(--gradient-orange);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(230, 59, 46, 0.25);
    border-color: transparent;
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 90, 31, 0.08);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-modern-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-modern-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 10px;
    transition: var(--transition);
}

.service-modern-card:hover h3 {
    color: var(--white);
}

.service-modern-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
    transition: var(--transition);
}

.service-modern-card:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.service-action-link {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #D43224;
    transition: var(--transition);
    align-self: flex-start;
}

.service-modern-card:hover .service-action-link {
    color: var(--white) !important;
}

/* Swiper Slider Wrapper */
.portfolio-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 60px;
}

.portfolio-swiper {
    padding: 10px 0 40px !important;
}

.swiper-slide {
    width: auto;
    height: auto;
}

.portfolio-item-box {
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 380px;
    width: 100%;
    position: relative;
}

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

.portfolio-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 17, 0.4);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

.portfolio-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: #E63B2E;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(15px);
    transition: var(--transition);
}

.portfolio-item-box:hover .portfolio-btn {
    transform: translateY(0);
}


.swiper-nav-prev,
.swiper-nav-next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.swiper-nav-prev:hover,
.swiper-nav-next:hover {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(255, 90, 31, 0.3);
}

.swiper-nav-prev {
    left: 0;
}

.swiper-nav-next {
    right: 0;
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    margin: 0 10px !important;
    position: relative;
    cursor: pointer;
    background: rgba(15, 15, 17, 0.2);
    opacity: 1 !important;
    transition: var(--transition);
}

.swiper-pagination-bullet::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* Infinity Partners Scroller */
.partners-marquee-wrapper {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-marquee-wrapper::before,
.partners-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-marquee {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
    animation: partner-scroll 25s linear infinite;
}

.partner-item {
    width: 130px;
    height: 60px;
    flex-shrink: 0;
}

.partner-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) opacity(0.4);
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0) opacity(1);
}

@keyframes partner-scroll {
    0% {
        transform: translateX(0);
    }

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

/* Contact CTA Banner */
#contact-cta-banner {
    padding: 100px 0;
    background-image: linear-gradient(135deg, rgba(230, 59, 46, 0.92) 0%, rgba(255, 96, 27, 0.92) 100%), url('images/fachada Armazem 76.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    text-align: center;
    border-top: 1px solid rgba(255, 90, 31, 0.1);
    position: relative;
    z-index: 2;
}

.cta-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-banner-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.btn-orange {
    background: var(--white);
    color: #0F0F11;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-orange:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* Modern Contact Card Box */
.contact-card-box {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
    margin-top: 50px;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-card-left {
    background-color: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-right: none;
}

/* Contact Details List & Items */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.detail-icon {
    width: 54px;
    height: 54px;
    background: var(--gradient-orange);
    color: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(230, 59, 46, 0.25);
}

.detail-icon svg {
    width: 22px;
    height: 22px;
}

.detail-info h4 {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 4px;
}

.detail-info p,
.detail-info a {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-decoration: none;
    transition: var(--transition);
}

.detail-info a:hover {
    color: var(--accent);
}

.contact-map-full {
    width: 100%;
    height: 450px;
    margin-top: 60px;
    margin-bottom: -100px;
    line-height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card-right {
    padding: 45px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-card-right h3 {
    font-size: 1.6rem;
    color: #1D1D22;
    margin-bottom: 8px;
    font-weight: 800;
}

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

.form-row-2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

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

.form-group-modern label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1D1D22;
    text-transform: none;
    letter-spacing: normal;
}

.form-group-modern input,
.form-group-modern textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background-color: #F8F9FB;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: #E63B2E;
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(230, 59, 46, 0.1);
}

/* LGPD Agreement Box */
.lgpd-agreement-box {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 5px;
}

.lgpd-agreement-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #E63B2E;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
}

.lgpd-agreement-box label {
    font-size: 0.82rem;
    color: #4A5568;
    line-height: 1.45;
    cursor: pointer;
    font-weight: 500;
}

/* WhatsApp Submit Button */
.btn-whatsapp-submit {
    background-color: #075E54;
    color: var(--white);
    width: 100%;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-whatsapp-submit:hover {
    background-color: #20ba56;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

.btn-full {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Social Floating */
.floating-social {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-btn svg {
    width: 30px;
    height: 30px;
}

.social-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.social-btn:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

/* Footer */
#main-footer {
    padding: 100px 0 0px;
    background-color: #0d0d0d;
    color: var(--white);
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--white);
    opacity: 0.7;
    font-size: 1rem;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.brand-col .footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 25px;
}

.footer-tagline {
    opacity: 0.7;
    margin-bottom: 30px;
    max-width: 250px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a svg {
    width: 18px;
    height: 18px;
}

.footer-socials a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.contact-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    opacity: 0.8;
    margin-bottom: 25px;
}

.contact-list li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 5px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #080808;
    /* Slightly darker bar */
    font-size: 0.85rem;
    opacity: 0.9;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
    /* Keep on one line on desktop */
}

.footer-bottom p {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

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

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

#navbar.scrolled .mobile-menu-toggle span {
    background-color: var(--primary);
}

/* Mobile Menu Active State */
.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--white) !important;
}

.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--white) !important;
}

/* Responsive */
@media (max-width: 1024px) {

    .grid-2,
    .services-grid,
    .diff-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        flex-direction: column;
    }

    .service-card {
        width: 100% !important;
        min-width: 100%;
    }

    .services-modern-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1000;
        margin-right: 0;
    }

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

    .nav-links li a {
        font-size: 1.8rem !important;
        color: var(--white) !important;
    }

    .mobile-cta-only {
        display: block;
        margin-top: 20px;
    }

    .mobile-cta-only .btn-cta {
        background-color: var(--accent);
        color: var(--white);
        width: 100%;
        text-align: center;
        font-size: 1.1rem !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 1rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
        margin-bottom: 30px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }

    .hero-btns .btn-cta {
        width: 100%;
        text-align: center;
    }

    .logo img {
        height: 35px;
    }

    .nav-cta {
        display: none !important;
    }

    .hero-content {
        padding: 0 25px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        margin: 0;
        max-width: 100%;
        text-align: center;
    }

    .hero-btns .btn-cta {
        padding: 15px 30px;
        font-size: 0.95rem;
    }

    .scroll-indicator {
        display: none;
    }

    .floating-social {
        bottom: 20px;
        right: 20px;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 12px;
    }

    .social-btn {
        width: 48px;
        height: 48px;
    }

    /* Extra darkening for mobile animation */
    #hero::after {
        background: linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%);
    }

    #wa-btn {
        display: none;
    }

    /* Redundant if we move floating-social */

    .social-btn.whatsapp {
        background: #25D366;
    }

    .social-btn.instagram {
        background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
    }
}

@media (max-width: 768px) {
    html, body {
        position: relative;
        overflow-x: hidden !important;
        width: 100% !important;
    }

    #smooth-wrapper {
        overflow: hidden !important;
        width: 100% !important;
    }

    .container {
        padding: 0 24px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .grid-2 {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 10px;
        padding: 0 10px;
    }

    .stat-item {
        padding: 15px 10px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    /* Symmetrical 2x2 grid borders on mobile */
    .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none !important;
    }

    .stat-value {
        display: flex;
        align-items: baseline;
        justify-content: center;
    }

    .stat-number {
        font-size: 2.2rem;
        line-height: 1;
        flex-shrink: 0;
    }

    .stat-suffix {
        font-size: 1.2rem;
        margin-left: 2px;
        flex-shrink: 0;
    }

    .stat-item p {
        font-size: 0.8rem;
        margin-top: 5px;
        letter-spacing: 0.5px;
        text-align: center;
    }

    /* Quem Somos Mobile Upgrades */
    .about-images-container {
        height: 320px !important;
        margin-bottom: 30px;
        position: relative;
        width: 100%;
    }

    .about-img-main {
        top: 0 !important;
        left: 2% !important;
        width: 70% !important;
        right: auto !important;
    }

    .about-img-sub {
        bottom: 0 !important;
        right: 2% !important;
        width: 52% !important;
        left: auto !important;
    }

    .about-badge-circular {
        top: -10px !important;
        right: 24% !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 4;
    }

    .badge-inner {
        width: 80px !important;
        height: 80px !important;
        box-shadow: 0 8px 20px rgba(255, 90, 31, 0.3) !important;
    }

    .about-badge-circular svg {
        width: 80px !important;
        height: 80px !important;
    }

    .about-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .about-content h2 {
        font-size: 1.8rem !important;
        line-height: 1.25 !important;
        margin: 12px 0 !important;
    }

    .lead-text {
        font-size: 1.05rem !important;
        line-height: 1.5 !important;
    }

    .about-actions {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: 25px !important;
    }

    .about-actions .btn-cta {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Contact Section Mobile Upgrades */
    .contact-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-left {
        padding: 35px 25px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .contact-card-right {
        padding: 35px 25px;
    }

    .contact-map-full {
        height: 350px;
        margin-top: 40px;
    }

    /* Services & Portfolio Mobile Upgrades */
    .services-modern-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .portfolio-slider-container {
        padding: 0 45px !important;
    }

    .swiper-nav-prev,
    .swiper-nav-next {
        display: flex !important;
        top: 50%;
        width: 40px;
        height: 40px;
    }

    .swiper-nav-prev {
        left: 5px;
    }

    .swiper-nav-next {
        right: 5px;
    }

    .swiper-pagination {
        display: none !important;
    }

    .portfolio-swiper {
        padding: 10px 0 0 !important;
    }
}

/* Animations */
.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.parallax-img {
    transition: transform 0.1s ease-out;
}

/* Deep Responsive Mobile Optimizations for Tiny Viewports */
@media (max-width: 480px) {
    .container {
        padding: 0 16px !important;
    }

    .about-content h2 {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
        margin: 10px 0 !important;
    }

    .lead-text {
        font-size: 0.98rem !important;
        line-height: 1.45 !important;
    }

    .about-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }

    .about-actions {
        gap: 10px !important;
        margin-top: 20px !important;
    }

    .about-actions .btn-cta {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
}