/* ============================================
   WHITE STONE GRANITO - Premium CSS
   Colors: #1A1A2E (grafite), #F5F5F0 (off-white), #C8A96E (dourado)
   ============================================ */

/* --- Accessibility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only.focusable:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 12px 20px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 10000;
    text-decoration: none;
}

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

:root {
    --color-primary: #1A1A2E;
    --color-secondary: #F5F5F0;
    --color-accent: #C8A96E;
    --color-accent-light: #d4b87e;
    --color-accent-dark: #a88a55;
    --color-accent-text: #9E7F42;
    --color-dark: #0f0f1a;
    --color-text: #2d2d3a;
    --color-text-light: #6b6b7b;
    --color-white: #ffffff;
    --color-border: #e8e5df;
    --color-card-bg: #faf9f7;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.12);
    --shadow-xl: 0 30px 80px rgba(26, 26, 46, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

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

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

.preloader-logo-img {
    max-width: 280px;
    max-height: 120px;
    margin-bottom: 24px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    border-radius: 2px;
    animation: preloaderFill 1.5s ease forwards;
}

@keyframes preloaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* --- Typography --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-text);
    margin-bottom: 16px;
    position: relative;
    padding-left: 32px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1.5px;
    background: var(--color-accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.section-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 14px 28px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: #b89558;
    color: var(--color-white);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 169, 110, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

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

#header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-img {
    height: 55px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

#header.scrolled .logo-img {
    filter: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    position: relative;
    padding: 4px 0;
}

#header.scrolled .nav-link {
    color: var(--color-text-light);
}

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

#header.scrolled .btn-outline {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

#header.scrolled .btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
    border-radius: 2px;
}

#header.scrolled .nav-toggle span {
    background: var(--color-primary);
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-marble-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200, 169, 110, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(200, 169, 110, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(245, 245, 240, 0.03) 0%, transparent 50%);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        #1e1e36 40%,
        #252542 70%,
        #2a2a4a 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 100px 24px 80px;
    width: 100%;
    box-sizing: border-box;
}

.hero-logo {
    max-width: 520px;
    width: 100%;
    margin: 0 auto 40px;
    height: auto;
    filter: brightness(0) invert(1);
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 30px 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 20px;
    width: fit-content;
    max-width: calc(100% - 48px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

/* --- About --- */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.sobre-image {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    object-fit: cover;
    object-position: center;
}

.sobre-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-md);
    z-index: -1;
}

.sobre-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: 4px;
    opacity: 0.9;
}

.sobre-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-secondary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.pillar-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200, 169, 110, 0.15);
    color: var(--color-accent-text);
}

.pillar-icon svg {
    width: 20px;
    height: 20px;
}

.pillar-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.pillar-text span {
    font-size: 0.88rem;
    color: var(--color-text-light);
}

/* --- Contact Map --- */
.contato-map {
    margin-top: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.contato-map iframe {
    display: block;
    width: 100%;
}


/* --- Materials Gallery --- */
.materiais {
    background: var(--color-secondary);
}

.materiais-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-light);
    background: transparent;
    border: 1.5px solid var(--color-border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.filter-btn:hover {
    color: var(--color-accent-text);
    border-color: var(--color-accent);
}

.filter-btn.active {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.materiais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.material-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

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

.material-item.hidden {
    display: none;
}

.material-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.material-item:hover .material-image img {
    transform: scale(1.08);
}

.material-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
}

.material-category {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
}

.material-name {
    padding: 14px 16px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
}

/* --- Materials CTA --- */
.materiais-cta {
    text-align: center;
    margin-top: 40px;
    padding: 40px 0 0;
    border-top: 1px solid var(--color-border);
}

.materiais-cta .btn {
    font-size: 1.05rem;
    padding: 18px 40px;
}

.materiais-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    font-size: 0.88rem;
    color: var(--color-text-light);
    font-style: italic;
    text-align: center;
}

.materiais-disclaimer svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

/* Material placeholder when no image */
.material-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 16px;
}

.material-placeholder.marmores { background: linear-gradient(135deg, #f0ece6 0%, #e0d8cc 30%, #f5f0e8 60%, #d8cfc2 100%); color: var(--color-text-light); }
.material-placeholder.granitos { background: linear-gradient(135deg, #2a2a3e 0%, #3a3a52 30%, #1e1e32 60%, #444460 100%); }
.material-placeholder.quartzitos { background: linear-gradient(135deg, #e8dcc8 0%, #f0e4d0 30%, #ddd0b8 60%, #f5ead6 100%); color: var(--color-text-light); }
.material-placeholder.onix { background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 30%, #1a1a2e 60%, #3d2d5c 100%); }
.material-placeholder.sinteticos { background: linear-gradient(135deg, #f2ede8 0%, #e4ddd5 30%, #f8f3ee 60%, #dcd4c8 100%); color: var(--color-text-light); }

/* --- Process --- */
.processo {
    background: var(--color-white);
}

.processo-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
}

.processo-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 12px;
}

.step-line {
    width: 40px;
    height: 2px;
    background: var(--color-accent);
    margin: 0 auto 20px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --- Projects Gallery --- */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.projeto-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.projeto-image {
    height: 280px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    background-size: cover;
    background-position: center;
}

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

.projeto-item-lg .projeto-image {
    height: 360px;
}

.projeto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,26,46,0.5);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.projeto-overlay svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transform: scale(0.8);
    transition: var(--transition);
}

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

.projeto-item:hover .projeto-overlay svg {
    transform: scale(1);
}

.projeto-item:hover .projeto-image img {
    transform: scale(1.05);
}

/* --- Testimonials --- */
.depoimentos {
    background: var(--color-primary);
}

.depoimentos .section-tag {
    color: var(--color-accent);
}

.depoimentos .section-header .section-title {
    color: var(--color-white);
}

.depoimentos .text-accent {
    color: var(--color-accent);
}

.depoimentos .section-subtitle {
    color: rgba(255,255,255,0.5);
}

.depoimentos-carousel-wrapper {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 400px;
}

.depoimentos-carousel {
    display: flex;
    align-items: flex-start;
    transition: transform 0.5s ease;
}

.depoimento-card {
    min-width: calc(33.333% - 16px);
    width: calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    flex-shrink: 0;
    height: 280px;
    max-height: 280px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-right: 24px;
    transition: max-height 0.4s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.depoimento-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(200, 169, 110, 0.2);
    transform: translateY(-4px);
    z-index: 10;
    max-height: 500px;
    height: auto;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Expand text on hover */
.depoimento-card:hover .depoimento-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.depoimento-card:hover .depoimento-text::after {
    opacity: 0;
}

.depoimento-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.depoimento-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    position: relative;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    width: 100%;
}

/* Fade-out gradient for truncated testimonial text */
.depoimento-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to bottom, transparent, rgba(26, 26, 46, 0.95));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.depoimento-text.truncated::after {
    opacity: 1;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    flex-shrink: 0;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-white);
}

.author-info span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-prev,
.carousel-next {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--color-accent);
    width: 28px;
    border-radius: 5px;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-marble {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(200, 169, 110, 0.06) 0%, transparent 50%);
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e1e36 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contato-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contato-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200, 169, 110, 0.1);
    flex-shrink: 0;
}

.contato-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.contato-item span,
.contato-item a {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.contato-item a:hover {
    color: var(--color-accent-text);
}

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

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* --- Contact Form --- */
.contato-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.label-optional {
    font-weight: 400;
    color: var(--color-text-light);
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-secondary);
    color: var(--color-text);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
    opacity: 0.6;
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b6b7b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* File upload */
.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.file-input {
    display: none;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-secondary);
    border: 1.5px dashed var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: var(--transition);
}

.file-label:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-text);
    background: rgba(200, 169, 110, 0.05);
}

.file-name {
    font-size: 0.82rem;
    color: var(--color-text-light);
    font-style: italic;
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-align: center;
}

.form-note a {
    color: var(--color-accent-text);
    font-weight: 600;
}

.form-note a:hover {
    text-decoration: underline;
}

/* --- Footer --- */
.footer {
    background: var(--color-primary);
    padding: 80px 0 30px;
    color: var(--color-white);
}

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

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 70px;
    max-width: 300px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-accent);
    margin-bottom: 12px;
    font-style: italic;
    max-width: 300px;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.footer-phone,
.footer-whatsapp,
.footer-email {
    display: block;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.footer-phone:hover,
.footer-whatsapp:hover,
.footer-email:hover {
    color: var(--color-accent);
}

.footer-address,
.footer-hours {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

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

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

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    height: 60px;
    background: #25d366;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 0 16px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: var(--transition);
    animation: floatPulse 3s ease infinite;
    text-decoration: none;
}

.whatsapp-float-text {
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float-text {
    opacity: 1;
    max-width: 150px;
    padding-left: 4px;
}

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

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--color-accent);
    transform: scale(1.2);
}

.lightbox-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 12px;
    font-family: var(--font-heading);
}

/* --- Load More Button --- */
.load-more-btn {
    display: block;
    margin: 40px auto 0;
    color: var(--color-accent-text);
    border-color: var(--color-accent);
}

.load-more-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .processo-steps {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .materiais-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

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

    .depoimento-card {
        min-width: calc(50% - 12px);
        height: 300px;
        max-height: 300px;
    }

    /* Safety net for nav links on tablet */
    .nav-links {
        gap: 20px;
        flex-shrink: 1;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-link {
        font-size: 0.82rem;
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: var(--transition-slow);
        z-index: 1000;
        overflow-x: visible;
    }

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

    .nav-link {
        font-size: 1.2rem;
        color: rgba(255,255,255,0.7) !important;
    }

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

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-image {
        height: 350px;
    }

    .materiais-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

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

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

    .projeto-image,
    .projeto-item-lg .projeto-image {
        height: 220px;
    }

    .depoimento-card {
        min-width: calc(100% - 0px);
        margin-right: 16px;
        height: 260px;
        max-height: 260px;
    }

    .depoimento-text {
        -webkit-line-clamp: 5;
    }

    .depoimentos-carousel-wrapper {
        min-height: 360px;
    }

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

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

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
        width: 100%;
        max-width: 320px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

    .stat-suffix {
        font-size: 1.2rem;
    }

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

    .section {
        padding: 70px 0;
    }

    .hero-content {
        padding: 80px 16px 60px;
    }

    .hero-logo {
        max-width: 320px;
    }

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

    .sobre-experience-badge {
        bottom: -20px;
        right: 10px;
    }

    .sobre-image-accent {
        display: none;
    }

    .whatsapp-float-text {
        display: none;
    }

    .whatsapp-float {
        width: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

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

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    .contato-form-wrapper {
        padding: 24px;
    }

    .hero-logo {
        max-width: 220px;
    }

    .processo-steps {
        grid-template-columns: 1fr;
    }

    .materiais-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}
