/* =====================================================
   VALDERRAMOS CONTABILIDADE - MODERN WEBSITE STYLES
   ===================================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Lighter Navy Blue */
    --primary-dark: #0f172a; /* Slate 900 */
    --primary: #1e293b; /* Slate 800 */
    --primary-light: #334155; /* Slate 700 */
    --primary-lighter: #475569; /* Slate 600 */

    /* Accent Colors - Metallic Gold */
    --accent: #d4af37; /* Classic Gold */
    --accent-light: #fcd34d; /* Bright Gold */
    --accent-dark: #b45309; /* Dark Gold/Bronze */

    /* Premium Highlights (Gold) */
    --gold: #d4af37; /* Metallic Gold */
    --gold-light: #faeab1; /* Pale Gold */
    --gold-dark: #a16207; /* Deep Gold (Text on white) */

    /* Neutral Colors - Warm tones for premium feel */
    --white: #ffffff;
    --cream: #fdfbf7;
    --gray-50: #faf9f7;
    --gray-100: #f5f3f0;
    --gray-200: #e8e5e0;
    --gray-300: #d4d0c8;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #57534e;
    --gray-700: #44403c;
    --gray-800: #292524;
    --gray-900: #1c1917;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    --gradient-dark: linear-gradient(135deg, #020617 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    --gradient-hero: linear-gradient(180deg, var(--cream) 0%, #fffbeb 50%, var(--gray-100) 100%);
    --gradient-hero-soft: linear-gradient(180deg, var(--white) 0%, #fffbeb 100%);
    --gradient-premium: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;

    /* Shadows - Modern & Deep with soft ambient occlusion */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 16px 36px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 32px 64px rgba(15, 23, 42, 0.16);
    
    /* Gold-tinted Shadows */
    --shadow-card: 0 12px 32px rgba(212, 175, 55, 0.04), 0 4px 8px rgba(15, 23, 42, 0.02);
    --shadow-card-hover: 0 24px 48px rgba(212, 175, 55, 0.1), 0 8px 16px rgba(15, 23, 42, 0.04);
    --shadow-premium: 0 24px 48px rgba(15, 23, 42, 0.14), 0 4px 16px rgba(212, 175, 55, 0.08);

    /* Glassmorphism Styles */
    --glass-bg-light: rgba(255, 255, 255, 0.75);
    --glass-bg-dark: rgba(15, 23, 42, 0.75);
    --glass-border-light: 1px solid rgba(255, 255, 255, 0.4);
    --glass-border-dark: 1px solid rgba(255, 255, 255, 0.08);
    --glass-border-gold: 1px solid rgba(212, 175, 55, 0.18);
    --glass-blur: blur(16px);

    /* Transitions - Snappier premium cubic-bezier */
    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background: linear-gradient(135deg, var(--cream) 0%, #ffffff 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

/* Prevent horizontal scroll on small screens */
@media (max-width: 768px) {
    html {
        overflow-x: clip !important;
        width: 100% !important;
    }

    body {
        overflow-x: clip !important;
        position: relative !important;
        width: 100% !important;
    }

    /* Ensure all fixed position elements stay within viewport */
    .whatsapp-float,
    .back-to-top {
        position: fixed !important;
    }

    /* Disable hover animation on mobile to prevent layout issues */
    .back-to-top:hover {
        transform: none !important;
    }

    .whatsapp-float:hover {
        transform: none !important;
    }
}

/* Opera specific fixes */
@supports (-o-object-fit: cover) {
    .hero-content {
        width: 100%;
    }

    .navbar .container {
        width: 100%;
    }
}

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

ul,
ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
}

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

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-tag::before {
    display: none;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* =====================================================
   PRELOADER
   ===================================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid var(--gray-200);
    border-radius: 50%;
    position: relative;
}

.loader-inner {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: padding var(--transition-slow);
    background: transparent;
    padding: 1.5rem 0;
}

#header.scrolled {
    padding: 1rem 0;
}

#header .nav-link {
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
}

#header .nav-link:hover,
#header .nav-link.active {
    color: var(--white);
}

#header.scrolled .nav-link {
    color: var(--gray-700);
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
    color: var(--primary-dark);
}

.navbar {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    transition: all var(--transition-slow);
}

#header.scrolled .navbar {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-lg);
    border: var(--glass-border-light);
    border-radius: var(--radius-full);
    padding: 0.5rem 0;
    width: calc(100% - 2.5rem);
    max-width: 1200px;
}

/* Opera support fallback */
@supports not (backdrop-filter: blur(10px)) {
    #header.scrolled .navbar {
        background: rgba(255, 255, 255, 0.98);
    }
}

.navbar .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.nav-menu {
    justify-self: center;
}

.header-actions {
    justify-self: end;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

#header.scrolled .logo-img {
    height: 60px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    transition: var(--transition);
}

#header.scrolled .logo-text {
    color: var(--primary-dark);
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: -2px;
}

/* Nav Menu */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Header Button */
.btn-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    border: 2px solid var(--primary-dark);
}

.btn-header:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

.btn-header i {
    font-size: 1.1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

#header.scrolled .hamburger span {
    background: var(--primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover {
    color: var(--primary-dark);
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary i {
    transition: var(--transition);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

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

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

/* Hero specific button overrides for dark background */
.hero-buttons .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-secondary:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-dark);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

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

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

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

.btn-block {
    width: 100%;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 12rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../hero-bg.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 35%, rgba(212, 175, 55, 0.12) 0%, transparent 55%),
                radial-gradient(circle at 20% 70%, rgba(30, 58, 95, 0.25) 0%, transparent 60%),
                linear-gradient(135deg, rgba(9, 14, 26, 0.96) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.05), rgba(201, 169, 98, 0.01));
    animation: float 25s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, -15px) rotate(3deg);
    }
    50% {
        transform: translate(0, 15px) rotate(-3deg);
    }
    75% {
        transform: translate(-15px, -8px) rotate(2deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 0.55rem 1.5rem;
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 175, 55, 0.35);
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.05);
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.75rem;
    color: var(--white);
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    color: var(--gold);
    position: relative;
    white-space: nowrap;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.05));
    z-index: -1;
    border-radius: var(--radius-full);
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Hero Cards */
.hero-image {
    position: relative;
    height: 520px;
}

.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border-dark);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: cardFloat 6.5s infinite ease-in-out;
    transition: all 0.4s var(--transition-fast);
}

.hero-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.04) !important;
}

.hero-card:first-child {
    top: 5%;
    right: 0;
    animation-delay: 0s;
}

.hero-card.card-2 {
    top: 38%;
    left: 0;
    animation-delay: -2.2s;
}

.hero-card.card-3 {
    top: 72%;
    right: 15%;
    animation-delay: -4.4s;
}

/* Keyframes - Animating margin-top to leave transform property completely free for hover transitions */
@keyframes cardFloat {
    0%, 100% {
        margin-top: 0;
    }
    50% {
        margin-top: -12px;
    }
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.card-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.card-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray-300);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

.arrow-down {
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

/* =====================================================
   SOBRE SECTION
   ===================================================== */

.sobre {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

.sobre-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sobre-image {
    position: relative;
    padding: 1rem;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: var(--white);
    padding: 0.5rem;
    transition: var(--transition-slow);
}

.image-frame img {
    width: 100%;
    height: 450px;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    border-radius: calc(var(--radius-lg) - 6px);
    transition: var(--transition-slow);
}

.image-frame:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

.image-placeholder {
    height: 450px;
    background: var(--gradient-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border-radius: calc(var(--radius-lg) - 6px);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
    color: var(--gold);
}

.image-placeholder span {
    font-size: 1.25rem;
    font-weight: 600;
}

.experience-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 130px;
    height: 130px;
    background: rgba(15, 23, 42, 0.88);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl), 0 10px 30px rgba(212, 175, 55, 0.15);
    color: var(--gold);
    border: 2px solid var(--gold);
    z-index: 2;
    transition: var(--transition);
}

.experience-badge:hover {
    transform: scale(1.08) rotate(5deg);
    border-color: var(--gold-light);
    box-shadow: var(--shadow-xl), 0 15px 35px rgba(212, 175, 55, 0.25);
}

.experience-badge .years {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}

.experience-badge .text {
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    margin-top: 0.25rem;
}

.sobre-content .section-title {
    margin-bottom: 1.5rem;
}

.sobre-text {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.sobre-text strong {
    color: var(--primary-dark);
}

.sobre-features {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    transition: var(--transition);
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 95, 0.05);
    border: 1px solid rgba(30, 58, 95, 0.08);
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    font-size: 1.15rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--gold);
    border-color: var(--primary-dark);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.feature-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* =====================================================
   SERVIÇOS SECTION
   ===================================================== */

.servicos {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 50%, var(--gray-100) 100%);
    position: relative;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.servico-card {
    position: relative;
    padding: 3rem 2.25rem;
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(212, 175, 55, 0.2);
}

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

.servico-card.featured {
    background: linear-gradient(135deg, #fffefc 0%, #faf8f2 100%);
    border: 2px solid var(--gold);
    color: var(--primary-dark);
    box-shadow: var(--shadow-premium), 0 10px 40px rgba(212, 175, 55, 0.12);
}

.servico-card.featured::before {
    background: var(--gradient-accent);
    transform: scaleX(1);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.45rem 1.15rem;
    background: var(--gradient-accent);
    color: var(--primary-dark);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.servico-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 95, 0.05);
    border: 1px solid rgba(30, 58, 95, 0.06);
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
    font-size: 1.6rem;
    color: var(--primary-dark);
    transition: var(--transition);
}

.servico-card.featured .servico-icon {
    background: var(--primary-dark);
    color: var(--gold);
    border-color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.servico-card:hover .servico-icon {
    background: var(--gradient-primary);
    color: var(--gold);
    border-color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.servico-card.featured:hover .servico-icon {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    border-color: var(--gold-light);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.servico-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.15rem;
    letter-spacing: -0.25px;
}

.servico-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 1.75rem;
    line-height: 1.7;
    flex-grow: 1;
}

.servico-list {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.servico-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.servico-list li i {
    color: var(--gold);
    font-size: 0.85rem;
}

.servico-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    transition: var(--transition);
    margin-top: auto;
}

.servico-card.featured .servico-link {
    color: var(--gold-dark);
}

.servico-link i {
    transition: var(--transition);
    font-size: 0.8rem;
}

.servico-link:hover {
    color: var(--gold-dark);
}

.servico-link:hover i {
    transform: translateX(6px);
}

/* =====================================================
   DIFERENCIAIS SECTION
   ===================================================== */

.diferenciais {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-50) 50%, var(--white) 100%);
    position: relative;
}

.diferenciais-wrapper {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 5rem;
    align-items: center;
}

.diferenciais-content .section-text {
    color: var(--gray-600);
    margin-bottom: 3rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.diferenciais-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.diferencial-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-left: 3px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--transition);
}

.diferencial-item:hover {
    transform: translateX(8px);
    border-left-color: var(--gold);
    box-shadow: var(--shadow-md), 0 10px 30px rgba(15, 23, 42, 0.05);
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.diferencial-number {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.diferencial-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.25px;
}

.diferencial-content p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.visual-card {
    padding: 3.5rem 3rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #111827 100%);
    border: var(--glass-border-dark);
    border-radius: var(--radius-xl);
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

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

.visual-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-radius: 50%;
    font-size: 1.875rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.visual-card:hover .visual-icon {
    transform: scale(1.1) rotate(10deg);
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
}

.visual-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.visual-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.25rem;
    line-height: 1.6;
}

.visual-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.visual-stat i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.visual-stat span {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.visual-stat small {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #050811 0%, #0c1222 50%, #0f172a 100%);
    z-index: -1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(30, 58, 95, 0.15) 0%, transparent 60%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    text-align: center;
    color: var(--white);
    max-width: 750px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   CONTATO SECTION
   ===================================================== */

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

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4.5rem;
}

.info-card {
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: var(--glass-border-dark);
    border-radius: var(--radius-xl);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.05);
}

.info-content h4 {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.info-content p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

.social-links {
    margin-top: 2.5rem;
}

.social-links h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.25px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-md);
    color: var(--gray-600);
    font-size: 1.15rem;
    transition: all 0.4s var(--transition);
}

.social-icon:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-dark);
}

.social-icon.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Contact Form */
.contato-form {
    padding: 3.5rem;
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    letter-spacing: 0.25px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: var(--gray-50);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: all 0.35s var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.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' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: #090e1a;
    /* Even darker shade of the primary slate */
    color: var(--white);
}

.footer-top {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-about p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 1.5rem 0;
    line-height: 1.8;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact i {
    color: var(--gold);
    margin-top: 4px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* =====================================================
   WHATSAPP FLOAT & BACK TO TOP
   ===================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.4s var(--transition);
    will-change: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: waPulse 2.2s infinite;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.65;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.whatsapp-float i {
    font-size: 1.75rem;
    margin-right: 0;
}

/* Text label side "Fale Conosco" */
.whatsapp-float span {
    position: absolute;
    right: 70px;
    /* Push to the left of the button */
    background: var(--white);
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--gray-200);
    /* "Com uma borda" */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 1;
    /* Always visible or on hover? User imply visible "sair um fale conosco" */
    transition: var(--transition);
}

/* Optional: Hide label on mobile to save space, or keep it */
@media (max-width: 768px) {
    .whatsapp-float span {
        display: none;
    }
}

/* Remove old tooltip styles */
.whatsapp-float .tooltip {
    display: none;
}

/* Tooltip removed */

.back-to-top {
    position: fixed;
    bottom: 90px;
    /* Above WhatsApp button */
    right: calc(1.25rem + 7.5px);
    /* Centered relative to 60px WhatsApp button */
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: var(--transition);
    will-change: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

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

/* Hover effect only on large screens */
@media (min-width: 769px) {
    .back-to-top:hover {
        transform: translateY(-5px);
    }

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

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }

    .logo-img {
        height: 65px;
    }

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

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

@media (max-width: 992px) {
    .navbar {
        padding: 1rem 0;
    }

    #header.scrolled .navbar {
        padding: 0.75rem 0;
    }

    .logo-img {
        height: 55px;
    }

    #header.scrolled .logo-img {
        height: 45px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 6rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 1000;
    }

    #header .nav-link {
        color: var(--gray-700);
    }

    #header .nav-link:hover,
    #header .nav-link.active {
        color: var(--primary);
    }

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

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        color: var(--gray-700);
        font-size: 1.1rem;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .btn-header {
        display: none;
    }

    .hero {
        padding-top: 9.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        height: auto;
        margin-top: 3rem;
        padding: 1rem;
    }

    .hero-card,
    .hero-card.card-2,
    .hero-card.card-3 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        animation: none !important;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    .sobre-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sobre-image {
        order: -1;
    }

    .image-frame img {
        height: 400px;
    }

    .diferenciais-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .diferenciais-visual {
        order: -1;
    }

    .contato-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .logo-img {
        height: 50px;
    }

    #header.scrolled .logo-img {
        height: 40px;
    }

    .hero {
        padding-top: 9rem;
        padding-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

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

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .stat-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 120px;
    }

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

    .stat-label {
        font-size: 0.7rem;
    }

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

    .servico-card {
        padding: 2rem 1.5rem;
    }

    .image-frame img,
    .image-placeholder {
        height: 350px;
    }

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

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

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .scroll-indicator {
        display: none;
    }

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

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

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .visual-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .whatsapp-float {
        bottom: 16px !important;
        right: 16px !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 1.25rem !important;
        left: auto !important;
    }

    .back-to-top {
        bottom: 16px !important;
        right: 72px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 0.8rem !important;
        left: auto !important;
    }

    .back-to-top:hover,
    .whatsapp-float:hover {
        transform: none !important;
    }

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

@media (max-width: 480px) {
    section {
        padding: 2.5rem 0;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .logo-img {
        height: 45px;
    }

    #header.scrolled .logo-img {
        height: 38px;
    }

    .hero {
        padding-top: 8.5rem;
        min-height: auto;
        padding-bottom: 2rem;
    }

    .hero h1 {
        font-size: 1.625rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero-stats {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        gap: 1rem;
    }

    .stat-item {
        flex: 1 1 100%;
        max-width: 150px;
    }

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

    .stat-label {
        font-size: 0.65rem;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .section-tag {
        font-size: 0.65rem;
        letter-spacing: 2px;
        padding-left: 2rem;
    }

    .section-tag::before {
        width: 1.5rem;
    }

    .image-frame img,
    .image-placeholder {
        height: 280px;
    }

    .experience-badge {
        width: 90px;
        height: 90px;
        bottom: -15px;
        right: -5px;
    }

    .experience-badge .years {
        font-size: 1.5rem;
    }

    .experience-badge .text {
        font-size: 0.6rem;
    }

    .servico-card {
        padding: 1.5rem;
    }

    .servico-card h3 {
        font-size: 1.1rem;
    }

    .servico-card p {
        font-size: 0.875rem;
    }

    .servico-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .diferencial-item {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }

    .diferencial-number {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .visual-card {
        padding: 2rem 1.5rem;
    }

    .visual-card h3 {
        font-size: 1.25rem;
    }

    .visual-stat span {
        font-size: 1.25rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .contato-form {
        padding: 1.5rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .footer-logo-img {
        height: 150px;
    }

    .footer-about p {
        font-size: 0.875rem;
    }

    .whatsapp-float {
        bottom: 12px !important;
        right: 12px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.15rem !important;
        left: auto !important;
    }

    .back-to-top {
        bottom: 12px !important;
        right: 64px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 0.7rem !important;
        left: auto !important;
    }

    .back-to-top:hover,
    .whatsapp-float:hover {
        transform: none !important;
    }

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

    .cta-buttons {
        flex-direction: column;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .stat-item {
        min-width: 100px;
    }

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

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    .servico-card {
        padding: 1.25rem;
    }

    .image-frame img,
    .image-placeholder {
        height: 250px;
    }

    .experience-badge {
        width: 80px;
        height: 80px;
    }

    .experience-badge .years {
        font-size: 1.25rem;
    }

    .whatsapp-float {
        bottom: 10px !important;
        right: 10px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.05rem !important;
        left: auto !important;
    }

    .back-to-top {
        bottom: 10px !important;
        right: 58px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 0.65rem !important;
        left: auto !important;
    }

    .back-to-top:hover,
    .whatsapp-float:hover {
        transform: none !important;
    }

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