/* =========================================
   Variables & Theme Setup
   ========================================= */
:root {
    /* Premium Palette */
    --primary: #051e3e;
    /* Deep Navy */
    --primary-dark: #020c1b;
    /* Almost Black Blue */
    --accent: #d4af37;
    /* Classic Gold */
    --accent-light: #f3e5ab;
    /* Champagne */
    --secondary: #0077b6;
    /* Ocean Blue */

    --text-main: #1f2937;
    --text-light: #64748b;
    --white: #ffffff;

    --gradient-hero: linear-gradient(135deg, #020c1b 0%, #0a2540 100%);
    --gradient-gold: linear-gradient(45deg, #d4af37, #f3e5ab);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.2);

    --radius: 16px;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #f8fafc;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================================
   Utilities
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background: #e5c15e;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.text-center {
    text-align: center;
}

/* =========================================
   Header (Absolute & Transparent)
   ========================================= */
header {
    position: absolute;
    /* FIXED AT TOP BUT SCROLLS AWAY */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    /* No background */
}

/* Nav Logo */
.nav-logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--white);
}

.btn-contact {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    color: var(--white);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-contact:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 110vh;
    /* Taller hero */
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 12rem; /* Added to push content up and prevent overlap with waves */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, #153966 0%, #020c1b 70%);
    opacity: 0.9;
    z-index: 1;
}

/* Animated Shapes */
.shape {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    animation: floatShape 10s infinite alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--secondary);
    border-radius: 50%;
}

.shape-2 {
    bottom: 0%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    border-radius: 50%;
    animation-delay: -5s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 60px;
    /* Pushed down to clear navbar */
}

.hero-logo-container {
    position: relative;
    padding: 20px;
}

/* Logo Styles */
/* Logo Styles */
.hero-logo {
    max-height: 380px;
    /* Significantly increased size */
    width: auto;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    /* Removed white background and padding */
    transition: all 0.5s ease;
    animation: logoFloat 6s ease-in-out infinite;
    /* Continuous animation */
}

.hero-logo:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #b4c6e7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #ffffff;
    max-width: 800px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 3rem;
    /* Increased space */
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    /* Stack vertically to center the main button */
    align-items: center;
    /* Center align items */
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-bottom: 4rem;
}

.hero-waves {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    z-index: 5;
    line-height: 0;
}

/* =========================================
   About Preview Cards
   ========================================= */
.about-preview {
    margin-top: -100px;
    /* Overlap hero */
    position: relative;
    z-index: 20;
    padding-bottom: 5rem;
}

.about-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.premium-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Stronger shadow */
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-top: 5px solid transparent;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.premium-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.card-icon-float {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 20px;
    background: #f0f9ff;
    border-radius: 50%;
    transition: all 0.4s;
}

.premium-card:hover .card-icon-float {
    background: var(--primary);
    color: var(--accent);
    transform: rotateY(180deg);
}

.premium-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.premium-card.highlight {
    background: linear-gradient(135deg, #0a2540 0%, #1e40af 100%);
    color: var(--white);
}

.premium-card.highlight h3 {
    color: var(--white);
}

.premium-card.highlight p {
    color: rgba(255, 255, 255, 0.8);
}

.premium-card.highlight .card-icon-float {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

/* =========================================
   Timeline Modern
   ========================================= */
.timeline-modern {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    z-index: 0;
    border-radius: 4px;
}

.tl-item {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    min-width: 200px;
}

.tl-dot {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 8px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 0 0 5px rgba(5, 30, 62, 0.1);
}

.tl-item:hover .tl-dot {
    background: var(--accent);
    border-color: var(--primary);
    transform: scale(1.2);
}

.tl-date {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(5, 30, 62, 0.1);
    margin-bottom: 0.5rem;
    transition: 0.3s;
}

.tl-item:hover .tl-date {
    color: var(--secondary);
    transform: translateY(-5px);
}

.tl-content h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tl-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* =========================================
   Parallax Process
   ========================================= */
.parallax-process {
    background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=2000');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 8rem 0;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 30, 62, 0.9);
}

.relative-z {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    color: var(--primary);
}

.parallax-process .section-title {
    color: var(--white);
}

.parallax-process .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.process-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.process-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.4s;
}

.process-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.p-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.process-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.process-box p {
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   Sindafinho IA Section
   ========================================= */
.section-ia {
    background: var(--white);
    padding: 6rem 0;
}

.ia-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.ia-content {
    flex: 1;
}

.ia-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.tag-glow {
    background: linear-gradient(90deg, #d4af37, #f3e5ab);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    display: inline-block;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Robot Animation */
.floating-avatar {
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    position: absolute;
    top: -40px;
    right: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
    z-index: 20;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: pulse 2s infinite;
}

.chat-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-strong);
    border: 1px solid #e2e8f0;
}

.msg {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    max-width: 85%;
}

.received {
    background: var(--white);
    color: var(--text-main);
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sent {
    background: var(--primary);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

/* =========================================
   Footer
   ========================================= */
.footer-modern {
    background: var(--primary-dark);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.footer-nav ul li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: #94a3b8;
}

.footer-nav a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.8rem;
}

.footer-contact i {
    color: var(--accent);
}

.footer-copy {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* =========================================
   Keyframes
   ========================================= */
@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) rotate(20deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Response */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        z-index: 2000;
        transition: 0.4s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 2100;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .timeline-modern {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-modern::before {
        width: 4px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .tl-item {
        margin-bottom: 2rem;
    }
}

/* =========================================
   News Section
   ========================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.news-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

.news-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.news-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
    /* Pushes the button down */
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: gap 0.3s;
}

.news-link:hover {
    gap: 0.8rem;
    color: var(--secondary);
}

.btn-outline-dark {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* =========================================
   Video Highlight Section
   ========================================= */
.video-highlight {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.video-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

.video-content {
    flex: 1;
    min-width: 300px;
}

.video-content .section-desc.text-left {
    margin: 0 0 2rem 0;
    text-align: left;
    max-width: 100%;
}

.feature-list.text-dark li {
    color: var(--primary);
    font-weight: 500;
}

.feature-list.text-dark i {
    color: var(--secondary);
}

.video-player-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    min-width: 300px;
}

/* Phone Frame Style for 9:16 Video */
.phone-frame {
    width: 300px;
    /* Approximate width for 9:16 ratio relative to screen */
    height: 533px;
    /* 16:9 ratio based on width */
    background: #000;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 12px solid #1e293b;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.vertical-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1e293b;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 3;
}

.video-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s infinite;
}

@media (max-width: 768px) {
    .video-grid {
        flex-direction: column;
        text-align: center;
    }

    .video-content .section-desc.text-left {
        text-align: center;
    }

    .feature-list.text-dark li {
        justify-content: center;
    }
}

/* =========================================
   Carousel Section
   ========================================= */
.carousel-section {
    padding: 6rem 0;
    background: #f8fafc;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    max-width: 800px;
    /* Reduced width for vertical images */
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    aspect-ratio: 4/5;
    /* Optimized for vertical/portrait images */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover to fill the container nicely */
    object-position: center top;
    /* Focus on top part usually for people */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--white);
    color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--accent);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0;
        max-width: 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.8);
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

}


/* Sindafinho Image Style */
.sindafinho-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--white);
}

/* Chat Interface Styles */
.chat-interface {
    display: flex;
    flex-direction: column;
    height: 550px;
    padding: 0;
    overflow: hidden;
    background: #34495e;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.chat-interface-header {
    padding: 1.5rem;
    background: #2c3e50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-info {
    display: flex;
    flex-direction: column;
}

.header-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.header-subtitle {
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-top: 2px;
}

/* Redirection Content */
.chat-redirection-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    background: #34495e;
    color: #ffffff;
}



.chat-redirection-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.chat-redirection-content p {
    font-size: 1.1rem;
    color: #ecf0f1;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 320px;
}

.btn-chat-redirect {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #e5c15e 100%);
    color: var(--primary-dark) !important;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-chat-redirect:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

.btn-chat-redirect i {
    font-size: 1rem;
}





@media (max-width: 768px) {
    .btn-ia-hero {
        display: none;
    }

    .about-preview {
        margin-top: 0;
    }
}

/* =========================================
   Quem Somos / Board Section
   ========================================= */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.address-footer {
    align-items: flex-start !important;
}



/* =========================================
   Instagram CTA Section
   ========================================= */
.cta-instagram {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('https://images.unsplash.com/photo-1596443686812-2f45229eebc3?auto=format&fit=crop&q=80&w=1000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.cta-instagram .cta-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-instagram .cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.insta-icon-wrapper {
    font-size: 4rem;
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.board-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

/* Abstract curves for the header graphics similar to image */
.header-graphic-left,
.header-graphic-right {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 4px solid var(--white);
    border-radius: 50%;
    opacity: 0.5;
}

.header-graphic-left {
    top: -20px;
    left: -20px;
    border-right-color: transparent;
    border-bottom-color: transparent;
    width: 100px;
    height: 100px;
}

.header-graphic-right {
    bottom: -20px;
    right: -20px;
    border-left-color: transparent;
    border-top-color: transparent;
    width: 100px;
    height: 100px;
}

/* Adding concentric circles via shadow for the "lines" effect in image */
.header-graphic-left::before,
.header-graphic-right::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--white);
    border-radius: 50%;
    top: 15px;
    left: 15px;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

.header-graphic-right::before {
    top: -15px;
    left: -15px;
    border-left-color: transparent;
    border-top-color: transparent;
    border-right-color: var(--white);
    border-bottom-color: var(--white);
}

.board-header h3 {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.board-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.board-list {
    background: #fffcf4;
    /* deeply subtle yellow tint to match image hint */
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 55, 0.1);
    /* Slight gold border */
}

.board-list li {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.board-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.board-list li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.2;
}

.council-group {
    margin-bottom: 2rem;
}

.council-title {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* =========================================
   Banner Documentos
   ========================================= */
.parallax-documentos {
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&q=80&w=2000');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 8rem 0;
}

.text-white {
    color: var(--white) !important;
}

.text-white-tag {
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.bg-accent {
    background: var(--accent) !important;
}