/* ==========================================================================
   Instituto Caminhos da Inclusão - CSS Stylesheet
   Author: Antigravity Code Assistant
   Date: July 2026
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEME SETTINGS
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --clr-primary: #1A3A4D;         /* Deep Ocean Blue */
    --clr-primary-rgb: 26, 58, 77;
    --clr-primary-light: #2c566f;
    --clr-secondary: #4EC5F1;       /* Energetic Turquoise */
    --clr-secondary-rgb: 78, 197, 241;
    --clr-accent: #FFC529;          /* Warm Yellow/Gold */
    --clr-accent-rgb: 255, 197, 41;
    
    --clr-text-main: #2C3E50;       /* Dark slate for high contrast readability */
    --clr-text-muted: #5D6D7E;      /* Muted gray for secondary info */
    --clr-bg-light: #F4F8FA;        /* Very light tint blue/gray for bg */
    --clr-bg-white: #FFFFFF;
    
    --clr-success: #2ECC71;
    --clr-danger: #E74C3C;
    
    /* Fonts */
    --ff-headings: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout & Spacing */
    --container-max-width: 1200px;
    --header-height: 80px;
    --header-height-scrolled: 70px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 30px 60px -15px rgba(26, 58, 77, 0.15);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --------------------------------------------------------------------------
   2. CSS RESET & GLOBAL STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

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

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--clr-bg-light);
}
::-webkit-scrollbar-thumb {
    background: #BDC3C7;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #95A5A6;
}

/* Helper Utilities */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.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;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--ff-headings);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-secondary);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-family: var(--ff-headings);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1.25;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   3. COMPONENTS & BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-headings);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 100px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-primary);
    box-shadow: 0 4px 14px rgba(255, 197, 41, 0.4);
}

.btn-primary:hover {
    background-color: #f7bb1b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 197, 41, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-bg-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: var(--clr-bg-white);
    color: var(--clr-primary);
    border-color: var(--clr-bg-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--clr-secondary);
    color: var(--clr-bg-white);
    box-shadow: 0 4px 14px rgba(78, 197, 241, 0.3);
}

.btn-secondary:hover {
    background-color: #3cbbe9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 197, 241, 0.5);
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-block;
    background-color: rgba(78, 197, 241, 0.15);
    color: var(--clr-secondary);
    font-family: var(--ff-headings);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   4. LAYOUT COMPONENTS - HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 58, 77, 0.08);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: var(--header-height-scrolled);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 0;
    border: none;
    transition: var(--transition-smooth);
}

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

.logo-text {
    font-family: var(--ff-headings);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--clr-primary);
}

.logo-text span {
    color: var(--clr-secondary);
}

.logo-white .logo-text {
    color: var(--clr-bg-white);
}

.logo-white .logo-text span {
    color: var(--clr-accent);
}

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

.nav-link {
    font-family: var(--ff-headings);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-primary);
    position: relative;
    padding: 6px 0;
}

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

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

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

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
}

/* --------------------------------------------------------------------------
   5. SECTIONS
   -------------------------------------------------------------------------- */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 95vh;
    padding: 180px 0 140px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--clr-bg-white);
}

.hero-container {
    position: relative;
    z-index: 2;
}

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

.hero-content h1 {
    font-family: var(--ff-headings);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-content .highlight {
    color: var(--clr-accent);
    position: relative;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-rating .stars {
    color: var(--clr-accent);
    font-size: 1.35rem;
    letter-spacing: 2px;
}

.hero-rating span {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 500;
}

.hero-shapes {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.hero-shapes svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

.hero-shapes .shape-fill {
    fill: var(--clr-bg-white);
}

/* Stats Section */
.stats-section {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding-bottom: 60px;
}

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

.stat-card {
    background-color: var(--clr-bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border-bottom: 4px solid transparent;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--clr-secondary);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(78, 197, 241, 0.12);
    color: var(--clr-secondary);
    margin: 0 auto 24px auto;
}

.stat-number {
    font-family: var(--ff-headings);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    color: var(--clr-text-muted);
    font-family: var(--ff-headings);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quem Somos Section */
.about-section {
    padding: 100px 0;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

/* Premium Collage Layout */
.about-image-collage {
    position: relative;
    height: 600px;
    width: 100%;
    margin-top: 15px;
}

.about-collage-bg {
    position: absolute;
    top: 8%;
    left: 8%;
    width: 78%;
    height: 78%;
    background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-accent-light));
    opacity: 0.18;
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
    z-index: 0;
    filter: blur(15px);
    animation: blob-animate 15s infinite alternate ease-in-out;
}

@keyframes blob-animate {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
    }
    100% {
        border-radius: 70% 30% 40% 60% / 60% 60% 40% 40%;
    }
}

.about-img-wrapper {
    position: absolute;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--clr-bg-white);
    transition: var(--transition-smooth);
}

.about-img-wrapper:hover {
    transform: scale(1.02);
    z-index: 10;
}

.primary-wrapper {
    top: 0;
    right: 0;
    width: 82%;
    height: 420px;
    z-index: 1;
}

.about-img-primary {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.secondary-wrapper {
    bottom: 0;
    left: 0;
    width: 60%;
    height: 280px;
    z-index: 2;
}

.about-img-secondary {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 110px;
    right: -20px;
    background-color: var(--clr-primary);
    color: var(--clr-bg-white);
    padding: 20px 28px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid var(--clr-accent);
    z-index: 5;
}

.badge-num {
    font-family: var(--ff-headings);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-accent);
    line-height: 1;
}

.badge-txt {
    font-family: var(--ff-headings);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.about-content h2 {
    font-family: var(--ff-headings);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--clr-text-main);
    font-weight: 500;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--clr-text-muted);
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    background-color: var(--clr-bg-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(26, 58, 77, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 58, 77, 0.15);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--clr-success);
    color: var(--clr-bg-white);
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.feature-item h4 {
    font-family: var(--ff-headings);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 6px;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 0.92rem;
    color: var(--clr-text-muted);
    line-height: 1.45;
}

/* Serviços Section */
.services-section {
    background-color: var(--clr-bg-light);
    padding: 100px 0;
}

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

.service-card {
    background-color: var(--clr-bg-white);
    border-radius: var(--border-radius-md);
    padding: 48px 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:nth-child(1)::before { background-color: var(--clr-secondary); }
.service-card:nth-child(2)::before { background-color: var(--clr-accent); }
.service-card:nth-child(3)::before { background-color: var(--clr-primary); }

.service-icon-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 30px;
    color: var(--clr-bg-white);
}

.service-icon-bg.color-1 { background-color: var(--clr-secondary); }
.service-icon-bg.color-2 { background-color: var(--clr-accent); color: var(--clr-primary); }
.service-icon-bg.color-3 { background-color: var(--clr-primary); }

.service-card h3 {
    font-family: var(--ff-headings);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 18px;
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.service-list {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.service-list li {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.service-list li::before {
    content: '•';
    color: var(--clr-secondary);
    font-size: 1.5rem;
    line-height: 1;
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--clr-bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(26, 58, 77, 0.05);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--clr-primary);
    color: var(--clr-bg-white);
    font-family: var(--ff-headings);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 100px;
    z-index: 2;
}

.project-card:nth-child(2) .project-tag {
    background-color: var(--clr-secondary);
}
.project-card:nth-child(3) .project-tag {
    background-color: var(--clr-accent);
    color: var(--clr-primary);
}

.project-info {
    padding: 32px 28px;
}

.project-info h3 {
    font-family: var(--ff-headings);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 12px;
}

.project-info p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Galeria Section */
.gallery-section {
    background-color: var(--clr-bg-light);
    padding: 100px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.filter-btn {
    font-family: var(--ff-headings);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    background-color: var(--clr-bg-white);
    color: var(--clr-primary);
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--clr-secondary);
    color: var(--clr-bg-white);
    box-shadow: 0 4px 12px rgba(78, 197, 241, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background-color: var(--clr-primary);
    transition: var(--transition-smooth);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 58, 77, 0.85) 0%, rgba(26, 58, 77, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-overlay span {
    color: var(--clr-bg-white);
    font-family: var(--ff-headings);
    font-weight: 700;
    font-size: 1rem;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
    opacity: 0.85;
}

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

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

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

/* Depoimentos Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--clr-bg-white);
    position: relative;
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.testimonial-slider {
    position: relative;
    min-height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--clr-bg-white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(26, 58, 77, 0.05);
    border: 1px solid rgba(26, 58, 77, 0.03);
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.quote-icon {
    font-family: var(--ff-headings);
    font-size: 6rem;
    color: rgba(78, 197, 241, 0.2);
    line-height: 1;
    margin-bottom: -20px;
    user-select: none;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--clr-text-main);
    font-weight: 400;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-meta strong {
    display: block;
    font-family: var(--ff-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 4px;
}

.testimonial-meta span {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
}

.slider-arrow {
    background-color: var(--clr-bg-light);
    color: var(--clr-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
    padding: 0;
}

.slider-arrow:hover {
    background-color: var(--clr-secondary);
    color: var(--clr-bg-white);
    box-shadow: 0 4px 10px rgba(78, 197, 241, 0.4);
}

.slider-arrow:focus-visible {
    outline: 2px solid var(--clr-primary);
    outline-offset: 2px;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(26, 58, 77, 0.15);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    padding: 0;
    outline: none;
}

.dot.active {
    background-color: var(--clr-secondary);
    width: 24px;
    border-radius: 100px;
}

.dot:focus-visible {
    outline: 2px solid var(--clr-primary);
    outline-offset: 2px;
}

/* Contato Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--clr-bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
}

.contact-info-column h2 {
    font-family: var(--ff-headings);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    margin-bottom: 48px;
}

.contact-details {
    display: grid;
    gap: 36px;
}

.contact-detail-item {
    display: flex;
    gap: 24px;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: var(--clr-bg-white);
    color: var(--clr-secondary);
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
    border: 1px solid rgba(78, 197, 241, 0.1);
}

.contact-detail-item h4 {
    font-family: var(--ff-headings);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 6px;
}

.contact-detail-item p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.link-alt:hover {
    color: var(--clr-secondary);
    text-decoration: underline;
}

.form-wrapper {
    background-color: var(--clr-bg-white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-premium);
}

.form-wrapper h3 {
    font-family: var(--ff-headings);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--clr-primary);
    margin-bottom: 10px;
}

.form-wrapper p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--clr-bg-light);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    padding: 14px 20px;
    color: var(--clr-text-main);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #95A5A6;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--clr-secondary);
    background-color: var(--clr-bg-white);
    box-shadow: 0 0 0 4px rgba(78, 197, 241, 0.15);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: var(--clr-danger);
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-danger);
    margin-top: 4px;
}

.form-success-banner {
    display: none;
    background-color: rgba(46, 204, 113, 0.1);
    border: 2px solid var(--clr-success);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    text-align: center;
    animation: fadeIn 0.4s ease forwards;
}

.form-success-banner h4 {
    color: #27AE60;
    font-family: var(--ff-headings);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.form-success-banner p {
    margin-bottom: 0;
    color: var(--clr-text-main);
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   6. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: var(--clr-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 24px 0;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--clr-bg-white);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--clr-accent);
    color: var(--clr-primary);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--ff-headings);
    color: var(--clr-bg-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

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

.footer-contact p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   7. INTERACTIVE LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--clr-bg-white);
    font-size: 3.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2002;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--clr-accent);
    transform: rotate(90deg);
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lightbox-content {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--clr-bg-white);
    font-family: var(--ff-headings);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--clr-bg-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition-fast);
    z-index: 2001;
}

.lightbox-arrow:hover {
    background-color: var(--clr-secondary);
    box-shadow: 0 0 20px rgba(78, 197, 241, 0.5);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

/* --------------------------------------------------------------------------
   8. ANIMATIONS & SCROLL REVEAL
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in up for Hero load */
.fade-in-up {
    animation: fadeInUpAnim 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUpAnim {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------------------------------- */

@media (min-width: 1025px) {
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 40px auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-rating {
        justify-content: center;
    }
}


@media (max-width: 1024px) {
    /* Fonts scale */
    .hero-content h1 {
        font-size: 3rem;
    }
    
    /* Layouts scale */
    .about-container {
        gap: 50px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-container {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    /* Navigation layout changes to hamburger drawer */
    .mobile-nav-toggle {
        display: block;
        position: relative;
        z-index: 200;
        width: 32px;
        height: 32px;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 2px;
        background-color: var(--clr-primary);
        transition: transform 0.15s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--clr-primary);
        transition: transform 0.15s ease, top 0.15s ease 0.15s, bottom 0.15s ease 0.15s;
    }

    .hamburger::before { top: -7px; left: 0; }
    .hamburger::after { bottom: -7px; left: 0; }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
        transition: top 0.15s ease, transform 0.15s ease 0.15s;
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
        transition: bottom 0.15s ease, transform 0.15s ease 0.15s;
    }

    .primary-navigation {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background-color: var(--clr-bg-white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        padding: 120px 40px 40px 40px;
        transform: translateX(100%);
        transition: var(--transition-smooth);
        z-index: 100;
    }

    .primary-navigation.show {
        transform: translateX(0);
    }

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

    .nav-link {
        font-size: 1.15rem;
    }

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

    /* Section Layout Shifts */
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-image {
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-image-collage {
        height: 520px;
    }
    
    .primary-wrapper {
        height: 370px;
    }
    
    .secondary-wrapper {
        height: 240px;
    }
    
    .about-image-collage .experience-badge {
        bottom: 110px;
        right: -10px;
        padding: 16px 22px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-section {
        margin-top: -30px;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.05rem;
    }

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

    .section-header h2 {
        font-size: 1.75rem;
    }

    .about-content h2 {
        font-size: 1.85rem;
    }

    .experience-badge {
        padding: 16px 24px;
        bottom: 20px;
        right: 20px;
    }

    .badge-num {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }

    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* ==========================================================================
   10. LGPD COMPLIANCE (COOKIE BANNER & MODAL)
   ========================================================================== */

/* LGPD Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    width: 100%;
    background-color: var(--clr-primary);
    color: var(--clr-bg-white);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px 0;
    z-index: 1900;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner p a {
    color: var(--clr-accent);
    text-decoration: underline;
    font-weight: 600;
}

.btn-sm {
    padding: 8px 24px;
    font-size: 0.85rem;
    border-radius: var(--border-radius-sm);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-banner-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-banner {
        padding: 15px 0;
    }
}

@media (max-width: 600px) {
    .about-image-collage {
        height: 420px;
    }
    
    .primary-wrapper {
        height: 300px;
        width: 82%;
    }
    
    .secondary-wrapper {
        height: 190px;
        width: 60%;
    }
    
    .about-image-collage .experience-badge {
        bottom: 95px;
        right: -5px;
        padding: 12px 18px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --------------------------------------------------------------------------
   11. PREMIUM UI ENHANCEMENTS (FLOATS & ANIMATIONS)
   ========================================================================== */

/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.float-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.float-whatsapp:hover {
    background-color: #1ebe5d;
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.float-whatsapp .tooltip {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: var(--ff-body);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.float-whatsapp:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 30px;
    left: 30px;
    background-color: var(--clr-primary);
    color: var(--clr-bg-white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--clr-secondary);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .float-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .float-whatsapp svg {
        width: 28px;
        height: 28px;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: 20px;
    }
}

/* Cascading Animation Helpers (Stagger) */
.reveal {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
