/* ============================================================
   EZZATA CONTÁBIL – DESIGN SYSTEM v7 (Monochrome)
   ============================================================ */

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

/* ---------- TOKENS ---------- */
:root {
    /* Brand - Preto e Cinza */
    --primary: #000000;
    --primary-dark: #1a1a1a;
    --primary-light: #404040;
    --primary-pale: #f5f5f5;
    --primary-glow: rgba(0, 0, 0, 0.4);

    /* Accent - Cinza médio */
    --accent: #666666;
    --accent-dark: #4d4d4d;
    --accent-glow: rgba(102, 102, 102, 0.4);

    /* Neutral */
    --gray-900: #000000;
    --gray-800: #1a1a1a;
    --gray-700: #333333;
    --gray-600: #4d4d4d;
    --gray-500: #666666;
    --gray-400: #808080;
    --gray-300: #999999;
    --gray-200: #b3b3b3;
    --gray-100: #cccccc;
    --gray-50: #f0f0f0;
    --white: #ffffff;

    /* Surface */
    --surface: var(--white);
    --surface-glass: rgba(255, 255, 255, 0.7);

    /* Text */
    --text-main: #333333;
    --text-muted: #666666;
    --text-dim: #999999;

    --container-max: 1200px;
    --radius-md: 4px;
    --duration: 0.8s;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--gray-50);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--gray-50);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

ul,
ol {
    list-style: none !important;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: 0.3s;
}

section {
    background-color: var(--white);
    position: relative;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.text-gold {
    color: var(--primary) !important;
    padding: 1rem;
    font-weight: 800;
}

.text-gold:hover {
    border: none;
    padding: 1rem;
    color: var(--gray-900) !important;
}

/* ---------- PAGE HERO BACKGROUNDS ---------- */
.hero-sobre {
    background: linear-gradient(180deg, var(--gray-400) 0%, var(--gray-50) 100%);
    padding-top: 130px !important;
}

.hero-servicos {
    background: linear-gradient(135deg, var(--gray-400) 0%, var(--gray-50) 100%);
    padding-top: 200px !important;
}

.hero-especialidades {
    background: linear-gradient(45deg, var(--gray-400) 0%, var(--gray-50) 100%);
    padding-top: 200px !important;
}

.hero-blog {
    background: linear-gradient(225deg, var(--gray-400) 0%, var(--gray-50) 100%);
    padding-top: 200px !important;
}

.hero-contato {
    background: linear-gradient(90deg, var(--gray-400) 0%, var(--gray-50) 100%);
    padding-top: 200px !important;
}

/* Header styles for dark backgrounds */
.main-header.on-dark-bg {
    color: #ffffff;
}

.main-header.on-dark-bg .nav-menu a {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.main-header.on-dark-bg .logo-icon {
    filter: brightness(0) invert(1);
}

.main-header.on-dark-bg .logo-text {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.main-header.main-header.scrolled .nav-actions a {
    color: #000000;
    border-color: #cfcfcf;
}

.main-header.main-header.scrolled .nav-actions a:hover {
    color: #000000;
    border-color: #919191;
}

.main-header.on-dark-bg .nav-actions a {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    border-color: #cfcfcf;
}

.main-header.on-dark-bg .nav-actions a:hover {
    border-color: #ffffff;
}

/* Dropdown visibility fix for dark backgrounds */
.main-header.on-dark-bg .dropdown {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.main-header.on-dark-bg .dropdown a {
    color: var(--gray-700);
    text-shadow: none;
}

.main-header.on-dark-bg .dropdown a:hover {
    color: var(--primary) !important;
    background: var(--gray-50);
}

/* ---------- ABOUT PAGE STYLES ---------- */
.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-top: 20px;
    color: var(--text-main);
    line-height: 1.1;
}

.about-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 30px auto 0;
    line-height: 1.6;
}

.about-content-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 40px;
    color: var(--text-main);
    line-height: 1.2;
}

.about-content-text {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-content-text:last-child {
    margin-bottom: 40px;
}

.about-value-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 50px;
}

.value-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01));
    padding: 35px;
    border-radius: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.value-card:hover {
    transform: translateY(-5px);
    border: 2px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
}

.value-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.value-card-icon i {
    color: white;
    font-size: 1.2rem;
}

.value-card-title {
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.value-card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-floating-stats {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    min-width: 150px;
}

.about-stat-number {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

.about-stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

/* ---------- CONTACT PAGE STYLES ---------- */
.contact-hero-title {
    font-size: 4rem;
    margin-top: 20px;
    color: var(--text-main);
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary);
    max-width: 700px;
    margin: 30px auto 0;
}

.contact-form-container {
    background: var(--bg-surface);
    padding: 60px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.contact-success-message {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

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

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

.form-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgb(0, 0, 0);
    color: black;
    padding: 10px 0;
    outline: none;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
}

.form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgb(0, 0, 0);
    color: black;
    padding: 10px 0;
    outline: none;
    transition: 0.3s;
    resize: none;
}

.form-textarea:focus {
    border-color: var(--primary);
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-item {
    display: flex;
    gap: 25px;
    align-items: center;
}

.contact-info-icon {
    color: var(--primary);
    font-size: 20px;
}

.contact-info-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.contact-info-content p {
    font-size: 1.1rem;
    color: rgb(0, 0, 0);
}

.contact-cta-title {
    font-size: 3rem;
    margin-bottom: 30px;
}

.contact-cta-subtitle {
    color: var(--primary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ---------- SPECIALTY PAGE STYLES ---------- */
.specialty-hero-title {
    font-size: 4rem;
    margin: 20px 0 40px;
    color: var(--text-main);
}

.specialty-hero-description {
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1.8;
}

.specialty-content-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.specialty-content-text {
    color: var(--primary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.specialty-benefits-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
}

.specialty-benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.specialty-benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: var(--bg-surface);
    padding: 20px;
    border-radius: var(--radius-sm);
    border-left: 2px solid var(--primary);
}

.specialty-benefit-item i {
    color: var(--primary);
    margin-top: 5px;
    font-size: 14px;
}

.specialty-benefit-text {
    font-size: 0.95rem;
    color: var(--text-main);
}

.specialty-sidebar {
    background: var(--bg-surface);
    padding: 50px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(197, 160, 89, 0.2);
    position: sticky;
    top: 120px;
}

.specialty-sidebar-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-main);
}

/* ---------- BLOG PAGE STYLES ---------- */
.blog-hero-title {
    font-size: 4rem;
    margin-top: 20px;
    color: var(--text-main);
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 30px auto 0;
}

.blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.blog-card {
    padding: 60px 45px;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    margin-bottom: 25px;
}

.blog-card-date span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.blog-card-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    line-height: 1.3;
    flex-grow: 0;
}

.blog-card-excerpt {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.blog-card-link i {
    font-size: 10px;
    margin-left: 15px;
}

.blog-cta-title {
    font-size: 3rem;
    margin-bottom: 30px;
}

.blog-cta-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ---------- SERVICES PAGE STYLES ---------- */
.services-hero-title {
    font-size: 4rem;
    margin-top: 20px;
    color: var(--text-main);
}

.services-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 30px auto 0;
}

.services-section {
    background: var(--bg-deep);
}

.service-card-content {
    display: flex;
    flex-direction: column;
}

.service-card-description {
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-card-list {
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.service-card-list-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-main);
    align-items: flex-start;
}

.service-card-list-item i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 12px;
}

.service-card-button {
    width: 100%;
    font-size: 10px;
    border-color: rgba(66, 66, 66, 0.75);
}

.services-cta-title {
    font-size: 3rem;
    margin-bottom: 30px;
}

.services-cta-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ---------- ABOUT PAGE STYLES ---------- */
.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-top: 20px;
    color: var(--text-main);
    line-height: 1.1;
}

.about-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 30px auto 0;
    line-height: 1.6;
}

.about-content-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 40px;
    color: var(--text-main);
    line-height: 1.2;
}

.about-content-text {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-content-text:last-child {
    margin-bottom: 40px;
}

.about-value-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 50px;
}

.value-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.value-card-title {
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.value-card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- UTILITIES ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

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

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

/* ---------- HEADER ---------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 40px 0;
    transition: all var(--duration) var(--ease);
    background: transparent;
}

.main-header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

.main-header.scrolled .nav-menu a {
    color: var(--gray-700);
    text-shadow: none;
}

.main-header.scrolled .logo-text {
    color: var(--gray-700);
    text-shadow: none;
}

.main-header.scrolled .nav-actions a {
    color: var(--gray-700);
    text-shadow: none;
}

p.badge--glass {
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--gray-800);
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

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

.logo-text {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--gray-900);
    text-transform: uppercase;
}

.logo-dot {
    color: var(--primary);
}

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

.nav-menu a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gray-700);
}

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

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 240px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 25px;
    text-transform: none !important;
    font-size: 14px !important;
    letter-spacing: normal !important;
    color: var(--gray-600);
}

.dropdown a:hover {
    color: var(--gray-300) !important;
    transform: translateX(5px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gray-900);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Menu Overlay Styles */
.mobile-menu-overlay ul li a:hover {
    color: var(--gray-300) !important;
    transform: translateX(5px);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    position: relative;
    overflow: visible;
    background: var(--gray-50);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/contabil-meeting.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    filter: grayscale(50%) brightness(1.1);
    animation: kenBurns 40s infinite alternate ease-in-out;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(0, 0, 0, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    z-index: 2;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(-3%, -3%);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 5.5vw, 4.8rem) !important;
    line-height: 1;
    margin-bottom: 40px;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: heroFadeUp 1.4s var(--ease) forwards;
}

.hero p {
    font-size: 1.3rem;
    color: var(--gray-700);
    max-width: 650px;
    margin-bottom: 60px;
    opacity: 0;
    animation: heroFadeUp 1.4s var(--ease) 0.3s forwards;
    font-weight: 500;
}

.hero-buttons {
    opacity: 0;
    animation: heroFadeUp 1.4s var(--ease) 0.6s forwards;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    animation: fadeSlideUp 0.8s var(--ease-out) 0.7s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-700);
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    border-radius: 50px;
    border: 2px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trust-item i {
    color: var(--primary);
    font-size: 1rem;
}

.trust-item strong {
    color: var(--gray-900);
    font-weight: 600;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

/* Floating particles effect */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 50px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    border-radius: 50px;
    transition: all 0.5s var(--ease);
}

.btn-accent {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-accent:hover {
    background: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    border: 2px solid #000000;
    color: #000000;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all var(--duration-fast);
}

/* ---------- GRID & CARDS ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.service-card {
    background: #fdfdfd;
    padding: 80px 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 1.4s var(--ease) !important;
    opacity: 1 !important;
    transform: translateY(0px) !important;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    background: linear-gradient(45deg, var(--gray-700), #000000) !important;
    transform: scale(0.98) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover h3 {
    color: #ffffff !important;
}

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

.service-card:hover .service-icon {
    color: #ffffff !important;
}

.service-card:hover .text-gold {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.service-card:hover * {
    color: #ffffff !important;
}

.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 40px;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.6;
}

/* ---------- SERVICES CAROUSEL (INFINITE) ---------- */
.services-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    margin: 0 auto;
}

.services-carousel-container {
    overflow: hidden;
    width: 100%;
}

.services-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.services-carousel-track .service-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 0;
    user-select: none;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #000000;
    background: white;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav-btn.prev {
    left: 0;
}

.carousel-nav-btn.next {
    right: 0;
}

.carousel-nav-btn.prev:hover {
    animation: slideLeft 0.6s ease-in-out infinite;
}

.carousel-nav-btn.next:hover {
    animation: slideRight 0.6s ease-in-out infinite;
}

@keyframes slideLeft {
    0%, 100% {
        transform: translateY(-50%) translateX(0) scale(1.1);
    }
    50% {
        transform: translateY(-50%) translateX(-3px) scale(1.1);
    }
}

@keyframes slideRight {
    0%, 100% {
        transform: translateY(-50%) translateX(0) scale(1.1);
    }
    50% {
        transform: translateY(-50%) translateX(3px) scale(1.1);
    }
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #000000;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.carousel-indicator.active {
    background: #000000;
    transform: scale(1.2);
    animation: indicatorPulse 2s ease-in-out infinite;
}

.carousel-indicator:hover {
    background: var(--gray-400);
    transform: scale(1.1);
}

@keyframes indicatorPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(0, 0, 0, 0);
    }
}

/* Responsive para carrossel */
@media (max-width: 1200px) {
    .services-carousel-track .service-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .services-carousel-track .service-card {
        flex: 0 0 100%;
    }
    
    .services-carousel-wrapper {
        padding: 0 50px;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
}


.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo .logo-icon {
    height: 36px;
}

.logo-icon {
    height: 36px;
    width: auto;
    border-radius: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.main-header.scrolled .logo-icon {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.1);
    filter: brightness(1);
}

/* ---------- TESTIMONIALS CAROUSEL ---------- */
.testimonials-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
    min-width: 100%;
    background: #f8f8f8;
    padding: 80px 60px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    box-sizing: border-box;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 30px;
    left: 5%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 8px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #000000;
    background: white;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ---------- ABOUT SECTION ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    filter: grayscale(1) brightness(0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
}

@media (max-width: 768px) {
    .image-wrapper {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .image-wrapper img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
        border: 1px solid rgba(255, 255, 255, 0.05);
        filter: grayscale(1) brightness(0.7);
        border-radius: 30px;
    }
}

.floating-stats {
    position: absolute;
    bottom: -70px;
    right: -30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--primary);
    line-height: 1;
}

@media (max-width: 768px) {
    .about-value-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 25px;
        text-align: center;
    }

    .value-card-icon {
        margin: 0 auto 20px;
        width: 60px;
        height: 60px;
    }

    .value-card-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .value-card-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ---------- FOOTER ---------- */
.main-footer {
    background: var(--bg-surface);
    padding: 60px 0 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col h4 {
    color: var(--primary);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 50px;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 0.2em;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--duration-fast) var(--ease-out);
}

.social-links a:hover {
    background: var(--primary-pale);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

/* ---------- WHATSAPP ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 999;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: 0.4s;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    /* Separado do WhatsApp */
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #000000;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.back-to-top:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .container {
        padding: 0 30px;
    }

    .main-header {
        padding: 30px 0;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 80px;
    }

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

    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: none;
    }

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

    .hero {
        text-align: center;
        padding-top: 200px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero p {
        margin: 0 auto 50px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        display: flex !important;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-left: 0 !important;
    }

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

    .floating-stats {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 30px;
        width: 100%;
        text-align: center;
    }

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

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

    .logo-text {
        font-size: 24px;
    }

    .hero h1 {
        font-size: 2.8rem !important;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem !important;
    }

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

/* ============================================
   MODAL DE CONTATO (sucesso / erro)
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
    animation: modalFadeIn 0.3s var(--ease);
}
.modal-box {
    background: var(--white);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.3s var(--ease);
}
.modal-box--error {
    border-color: #e05252;
    box-shadow: 0 20px 60px rgba(224, 82, 82, 0.25);
}
.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-pale);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    color: var(--primary);
}
.modal-icon--error {
    background: rgba(224, 82, 82, 0.1);
    border-color: #e05252;
    color: #e05252;
}
.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}
.modal-text {
    color: var(--text-main);
    margin-bottom: 32px;
    line-height: 1.6;
}
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
