﻿:root {
    --primary-color: #0F2027;
    /* Deep Blue/Black gradient start */
    --secondary-color: #203A43;
    --accent-color: #D4AF37;
    /* Gold */
    --text-light: #f4f4f4;
    --text-dark: #333333;
    --bg-light: #ffffff;
    --bg-dark: #0F2027;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Smoother, more premium ease */
    --container-width: 1400px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

.highlight {
    color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #fff;
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline {
    display: inline-block;
    padding: 16px 36px;
    background-color: transparent;
    color: var(--accent-color);
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    border: 1px solid var(--accent-color);
    margin-left: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-text {
    color: var(--accent-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-text:hover {
    gap: 15px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(15, 32, 39, 0.95);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.desktop-nav a:hover {
    color: var(--accent-color);
}

.header-btn {
    padding: 10px 25px;
    font-size: 0.8rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 32, 39, 0.4), rgba(15, 32, 39, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Features */
.section-header {
    margin-bottom: 60px;
}

.section-header .subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: auto;
    height: auto;
    background-color: transparent;
    color: var(--accent-color);
    display: inline-block;
    font-size: 3rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.icon-3d {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Tours */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tour-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tour-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0;
}

.tour-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(212, 175, 55, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: none;
}

.tour-content {
    padding: 30px;
}

.tour-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.tour-duration {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-desc {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}

.cta-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 32, 39, 0.8);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    opacity: 0.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .desktop-nav,
    .header-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu nav ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-menu nav a {
    color: #fff;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.mobile-menu nav a:hover {
    color: var(--accent-color);
}

/* Location Section */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.location-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.location-content p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.location-features {
    list-style: none;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    opacity: 0.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .desktop-nav,
    .header-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu nav ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-menu nav a {
    color: #fff;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.mobile-menu nav a:hover {
    color: var(--accent-color);
}

/* Location Section */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.location-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.location-content p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.location-features {
    list-style: none;
    margin-bottom: 30px;
}

.location-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--secondary-color);
    font-weight: 500;
}

.location-features li i {
    color: var(--accent-color);
    width: 25px;
    text-align: center;
}

.location-image {
    min-height: 400px;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-image {
        min-height: 300px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        transition: var(--transition);
    }
}

/* Testimonials Carousel Styles */
.testimonials-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 100%;
    /* Mobile: 1 card per view */
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 50%;
        /* Tablet: 2 cards per view */
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 33.333%;
        /* Desktop: 3 cards per view */
        max-width: 33.333%;
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 0;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.85rem;
    color: #888;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

/* Refined Shadows & Hover Effects */
.feature-card:hover .icon-box {
    transform: scale(1.1);
}

.feature-card,
.tour-card,
.testimonial-card:hover {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

.feature-card:hover,
.tour-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.12);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 30px;
}

.hero p {
    margin-bottom: 50px;
    font-size: 1.3rem;
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
    /* Adicionado margem à esquerda para separar do botão */
    margin-right: 15px;
}

.lang-selector button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s;
    padding: 0;
}

.lang-selector button:hover,
.lang-selector button.active {
    opacity: 1;
    color: var(--accent-color);
}

.lang-selector .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

@media (max-width: 768px) {
    .lang-selector {
        margin-right: 10px;
    }
}



/* Features Section Improvements */
.features .section-header .header-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-card .icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #002244);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent-color);
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(0, 35, 75, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: "Playfair Display", serif;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}


/* Steps / How It Works Section */
.steps-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
    padding: 0;
}

/* Progress Line Base */
.progress-line-bg {
    position: absolute;
    top: 40px;
    /* Metade da altura do ícone (80px) */
    left: 12.5%;
    right: 12.5%;
    height: 4px;
    background-color: #e0e0e0;
    z-index: 1;
}

/* Progress Line Animated Fill */
.progress-line-fill {
    position: absolute;
    top: 40px;
    left: 50px;
    width: 0%;
    height: 4px;
    background-color: var(--accent-color);
    z-index: 2;
    animation: progressFill 4s ease-in-out infinite;
}

.step-item {
    position: relative;
    z-index: 3;
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #ccc;
    transition: all 0.3s ease;
    position: relative;
}

.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.step-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    opacity: 0.5;
    transition: opacity 0.3s;
}

/* Animations - Slower & Synchronized (12s Cycle) */

/* Barra de Progresso com "Paradas" */
.progress-line-fill {
    position: absolute;
    top: 40px;
    left: 12.5%;
    width: 0%;
    height: 4px;
    background-color: var(--accent-color);
    z-index: 2;
    animation: progressFillStaged 12s linear infinite;
}

@keyframes progressFillStaged {
    0% {
        width: 0%;
    }

    5% {
        width: 10%;
    }

    /* Chega no Passo 1 */
    20% {
        width: 10%;
    }

    /* Espera Passo 1 */
    30% {
        width: 35%;
    }

    /* Chega no Passo 2 */
    45% {
        width: 35%;
    }

    /* Espera Passo 2 */
    55% {
        width: 62%;
    }

    /* Chega no Passo 3 */
    70% {
        width: 62%;
    }

    /* Espera Passo 3 */
    80% {
        width: 90%;
    }

    /* Chega no Passo 4 */
    95% {
        width: 90%;
    }

    /* Espera Passo 4 */
    100% {
        width: 100%;
        opacity: 0;
    }

    /* Finaliza e reseta */
}

/* Animação do Ícone (Cresce, Espera, Diminui) */
@keyframes activateStepStaged {
    0% {
        transform: scale(1);
        border-color: #e0e0e0;
        color: #ccc;
        background: #fff;
        box-shadow: none;
    }

    10% {
        transform: scale(1.3);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: var(--primary-color);
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    }

    /* Cresce rápido */
    60% {
        transform: scale(1.3);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: var(--primary-color);
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    }

    /* Mantém Grande (Espera) */
    100% {
        transform: scale(1);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: #fff;
        box-shadow: none;
    }

    /* Diminui e fica "ativo" mas normal */
}

/* Animação do Texto (Aparece junto com o ícone) */
@keyframes activateTextStaged {
    0% {
        opacity: 0.5;
        transform: translateY(0);
    }

    10% {
        opacity: 1;
        transform: translateY(5px);
        color: var(--primary-color);
        font-weight: 700;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delays calculados para sincronizar com a barra */
.step-item.delay-1 .step-icon {
    animation: activateStepStaged 2.5s ease-in-out infinite;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

/* Nota: Para loop infinito sincronizado, precisamos definir a duração total igual a da barra (12s) e ajustar as porcentagens, OU usar javascript. 
   Mas com CSS puro, vamos ajustar para o ciclo de 12s. */

.step-item .step-icon {
    animation-name: activateStepCycle;
    animation-duration: 12s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

.step-item h3,
.step-item p {
    animation-name: activateTextCycle;
    animation-duration: 12s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

/* Delays exatos baseados na barra */
.step-item.delay-1 .step-icon,
.step-item.delay-1 h3,
.step-item.delay-1 p {
    animation-delay: 0s;
}

.step-item.delay-2 .step-icon,
.step-item.delay-2 h3,
.step-item.delay-2 p {
    animation-delay: 3s;
}

.step-item.delay-3 .step-icon,
.step-item.delay-3 h3,
.step-item.delay-3 p {
    animation-delay: 6s;
}

.step-item.delay-4 .step-icon,
.step-item.delay-4 h3,
.step-item.delay-4 p {
    animation-delay: 9s;
}

@keyframes activateStepCycle {

    0%,
    15% {
        transform: scale(1);
        border-color: #e0e0e0;
        color: #ccc;
        background: #fff;
    }

    /* Antes da barra chegar */

    /* O momento da ativação (aprox 5% do tempo total depois do delay start) */
    18% {
        transform: scale(1.3);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: var(--primary-color);
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    }

    /* O tempo de espera (aprox 1s = 8% de 12s) */
    26% {
        transform: scale(1.3);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: var(--primary-color);
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    }

    /* Diminui */
    30% {
        transform: scale(1);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: #fff;
        box-shadow: none;
    }

    /* Fica "visitado" até o fim do ciclo */
    95% {
        transform: scale(1);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: #fff;
    }

    100% {
        transform: scale(1);
        border-color: #e0e0e0;
        color: #ccc;
        background: #fff;
    }

    /* Reset */
}

@keyframes activateTextCycle {

    0%,
    15% {
        opacity: 0.5;
    }

    18% {
        opacity: 1;
        color: var(--primary-color);
    }

    95% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Mobile Responsiveness Updates */
@media (max-width: 768px) {
    .progress-line-fill {
        width: 4px;
        height: 0%;
        animation: progressFillMobileStaged 12s linear infinite;
    }

    @keyframes progressFillMobileStaged {
        0% {
            height: 0%;
        }

        5% {
            height: 10%;
        }

        20% {
            height: 10%;
        }

        30% {
            height: 35%;
        }

        45% {
            height: 35%;
        }

        55% {
            height: 62%;
        }

        70% {
            height: 62%;
        }

        80% {
            height: 90%;
        }

        95% {
            height: 90%;
        }

        100% {
            height: 100%;
            opacity: 0;
        }
    }
}

/* --- CORREÇÕES FINAIS DE ANIMAÇÃO --- */

/* Sobrescrevendo a animação da barra para paradas exatas */
@keyframes progressFillStaged {
    0% {
        width: 0%;
    }

    12.5% {
        width: 33.33%;
    }

    /* Chega no Passo 2 (1.5s) */
    29% {
        width: 33.33%;
    }

    /* Espera no Passo 2 */
    41.6% {
        width: 66.66%;
    }

    /* Chega no Passo 3 (5.0s) */
    58.3% {
        width: 66.66%;
    }

    /* Espera no Passo 3 */
    70.8% {
        width: 100%;
    }

    /* Chega no Passo 4 (8.5s) */
    100% {
        width: 100%;
        opacity: 0;
    }

    /* Fica no final e reseta */
}

/* Sobrescrevendo a animação de texto para opacidade e cor */
@keyframes activateTextCycle {
    0% {
        opacity: 0.3;
        color: #999;
        transform: translateY(0);
    }

    /* Inativo (Claro) */

    /* Destaque (Escuro e Negrito) - Sincronizado com a chegada da barra */
    5% {
        opacity: 1;
        color: var(--primary-color);
        font-weight: 700;
        transform: translateY(5px);
    }

    15% {
        opacity: 1;
        color: var(--primary-color);
        font-weight: 700;
        transform: translateY(5px);
    }

    /* Visitado (Médio) */
    20% {
        opacity: 0.8;
        color: #666;
        font-weight: 400;
        transform: translateY(0);
    }

    95% {
        opacity: 0.8;
        color: #666;
    }

    /* Reset */
    100% {
        opacity: 0.3;
        color: #999;
    }
}

/* Ajustando os delays para a nova sincronia */
.step-item.delay-1 .step-icon,
.step-item.delay-1 h3,
.step-item.delay-1 p {
    animation-delay: 0s;
}

.step-item.delay-2 .step-icon,
.step-item.delay-2 h3,
.step-item.delay-2 p {
    animation-delay: 1.5s;
}

.step-item.delay-3 .step-icon,
.step-item.delay-3 h3,
.step-item.delay-3 p {
    animation-delay: 5.0s;
}

.step-item.delay-4 .step-icon,
.step-item.delay-4 h3,
.step-item.delay-4 p {
    animation-delay: 8.5s;
}


/* --- AJUSTE FINO DE SINCRONIA --- */
/* A barra espera o ícone terminar de diminuir antes de seguir */

@keyframes progressFillStaged {
    0% {
        width: 0%;
    }

    /* Chega no Passo 2 (rápido) */
    10% {
        width: 33.33%;
    }

    /* ESPERA o ícone 2 (crescer, ficar, diminuir) */
    30% {
        width: 33.33%;
    }

    /* Chega no Passo 3 */
    40% {
        width: 66.66%;
    }

    /* ESPERA o ícone 3 */
    60% {
        width: 66.66%;
    }

    /* Chega no Passo 4 */
    70% {
        width: 100%;
    }

    /* Fica no final */
    100% {
        width: 100%;
        opacity: 0;
    }
}

/* Ajuste nos delays dos ícones para bater com a chegada da barra */
.step-item.delay-1 .step-icon,
.step-item.delay-1 h3,
.step-item.delay-1 p {
    animation-delay: 0s;
}

/* Passo 1 já começa ativo */
.step-item.delay-2 .step-icon,
.step-item.delay-2 h3,
.step-item.delay-2 p {
    animation-delay: 1.2s;
}

/* Ativa quando a barra chega (10% de 12s) */
.step-item.delay-3 .step-icon,
.step-item.delay-3 h3,
.step-item.delay-3 p {
    animation-delay: 4.8s;
}

/* Ativa quando a barra chega (40% de 12s) */
.step-item.delay-4 .step-icon,
.step-item.delay-4 h3,
.step-item.delay-4 p {
    animation-delay: 8.4s;
}

/* Ativa quando a barra chega (70% de 12s) */


/* --- ANIMAÇÃO SEQUENCIAL PERFEITA (16s) --- */

/* 1. A Barra de Progresso */
@keyframes progressFillSequence {
    0% {
        width: 0%;
    }

    18.75% {
        width: 0%;
    }

    /* 3s: Espera Passo 1 terminar */
    25% {
        width: 33.33%;
    }

    /* 4s: Chegou no Passo 2 */
    43.75% {
        width: 33.33%;
    }

    /* 7s: Espera Passo 2 terminar */
    50% {
        width: 66.66%;
    }

    /* 8s: Chegou no Passo 3 */
    68.75% {
        width: 66.66%;
    }

    /* 11s: Espera Passo 3 terminar */
    75% {
        width: 100%;
    }

    /* 12s: Chegou no Passo 4 */
    100% {
        width: 100%;
        opacity: 0;
    }

    /* Fica até o fim e reseta */
}

.progress-line-fill {
    animation: progressFillSequence 16s linear infinite !important;
}

/* 2. O Ícone (Ativa, Fica, Desativa, Espera) */
@keyframes iconSequence {
    0% {
        transform: scale(1);
        border-color: #e0e0e0;
        color: #ccc;
        background: #fff;
    }

    6.25% {
        transform: scale(1.3);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: var(--primary-color);
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    }

    /* 1s: Ativou */
    12.5% {
        transform: scale(1.3);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: var(--primary-color);
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    }

    /* 2s: Manteve */
    18.75% {
        transform: scale(1);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: #fff;
        box-shadow: none;
    }

    /* 3s: Desativou (ficou visitado) */
    100% {
        transform: scale(1);
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: #fff;
    }

    /* Resto: Inativo/Visitado */
}

/* 3. O Texto (Escurece, Fica, Clareia, Espera) */
@keyframes textSequence {
    0% {
        opacity: 0.3;
        color: #999;
        transform: translateY(0);
        font-weight: 400;
    }

    6.25% {
        opacity: 1;
        color: var(--primary-color);
        transform: translateY(5px);
        font-weight: 700;
    }

    /* 1s: Ativou */
    12.5% {
        opacity: 1;
        color: var(--primary-color);
        transform: translateY(5px);
        font-weight: 700;
    }

    /* 2s: Manteve */
    18.75% {
        opacity: 0.8;
        color: #666;
        transform: translateY(0);
        font-weight: 400;
    }

    /* 3s: Desativou */
    100% {
        opacity: 0.8;
        color: #666;
    }

    /* Resto: Leitura normal */
}

/* Aplicando as animações com os delays corretos */
.step-item .step-icon {
    animation: iconSequence 16s ease infinite !important;
}

.step-item h3,
.step-item p {
    animation: textSequence 16s ease infinite !important;
}

/* Delays: Cada passo começa 4s depois do anterior */
.step-item.delay-1 .step-icon,
.step-item.delay-1 h3,
.step-item.delay-1 p {
    animation-delay: 0s !important;
}

.step-item.delay-2 .step-icon,
.step-item.delay-2 h3,
.step-item.delay-2 p {
    animation-delay: 4s !important;
}

.step-item.delay-3 .step-icon,
.step-item.delay-3 h3,
.step-item.delay-3 p {
    animation-delay: 8s !important;
}

.step-item.delay-4 .step-icon,
.step-item.delay-4 h3,
.step-item.delay-4 p {
    animation-delay: 12s !important;
}


/* --- CORREÇÃO DE ALINHAMENTO GEOMÉTRICO --- */
/* Ajustando a posição inicial e final da barra para compensar o padding de 20px do container */

.progress-line-bg,
.progress-line-fill {
    /* Fórmula: Padding Lateral (20px) + Metade da largura de um item ((100% - 40px) / 8) */
    left: calc(20px + (100% - 40px) / 8) !important;
    right: calc(20px + (100% - 40px) / 8) !important;
}

.progress-line-fill {
    /* Resetando a largura para ser controlada apenas pela animação */
    width: 0%;
    /* O right não se aplica ao fill animado da mesma forma, ele precisa crescer a partir do left */
    right: auto !important;
}

/* No mobile, o alinhamento é diferente (vertical) */
@media (max-width: 768px) {

    .progress-line-bg,
    .progress-line-fill {
        left: 69px !important;
        /* Mantendo o ajuste manual que funcionava no mobile */
        right: auto !important;
        top: 0 !important;
        height: 100% !important;
    }

    .progress-line-fill {
        height: 0% !important;
        width: 4px !important;
    }
}


/* --- CORREÇÃO FINAL DE ESTRUTURA (ANINHADO) --- */

/* O Background define o tamanho total da linha (de centro a centro) */
.progress-line-bg {
    /* Mantém o cálculo de posicionamento */
    left: calc(20px + (100% - 40px) / 8) !important;
    right: calc(20px + (100% - 40px) / 8) !important;
    /* Garante que o fill aninhado funcione */
    overflow: visible !important;
}

/* O Fill agora é relativo ao Background */
.progress-line-fill {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    /* A largura será controlada pela animação (0% a 100% do pai) */
    /* Removemos qualquer right ou left antigo */
    right: auto !important;
    bottom: auto !important;
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .progress-line-bg {
        /* No mobile, a linha é vertical */
        width: 4px !important;
        height: auto !important;
        top: 40px !important;
        /* Começa no centro do primeiro ícone */
        bottom: 40px !important;
        /* Termina no centro do último */
        left: 69px !important;
        right: auto !important;
    }

    .progress-line-fill {
        width: 100% !important;
        /* Preenche a largura da linha (4px) */
        height: 0% !important;
        /* Altura controlada pela animação */
    }

    /* Animação Mobile (Altura) */
    @keyframes progressFillMobileSequence {
        0% {
            height: 0%;
        }

        18.75% {
            height: 0%;
        }

        25% {
            height: 33.33%;
        }

        43.75% {
            height: 33.33%;
        }

        50% {
            height: 66.66%;
        }

        68.75% {
            height: 66.66%;
        }

        75% {
            height: 100%;
        }

        100% {
            height: 100%;
            opacity: 0;
        }
    }

    .progress-line-fill {
        animation: progressFillMobileSequence 16s linear infinite !important;
    }
}

/* --- CORREÇÃO DEFINITIVA DE ALINHAMENTO (PADDING REMOVIDO) --- */

/* Com padding: 0 no container, 12.5% é o centro exato do primeiro item (25% / 2) */
.progress-line-bg {
    left: 12.5% !important;
    right: 12.5% !important;
    width: auto !important;
    /* Deixa o left/right definirem a largura */
    overflow: visible !important;
}

.progress-line-fill {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    right: auto !important;
    /* A animação controla a largura */
}

/* Animação Desktop (Largura) */
@keyframes progressFillSequence {
    0% {
        width: 0%;
    }

    18.75% {
        width: 0%;
    }

    /* 3s */
    25% {
        width: 33.33%;
    }

    /* 4s: Chegou no Passo 2 (1/3 do caminho) */
    43.75% {
        width: 33.33%;
    }

    /* 7s */
    50% {
        width: 66.66%;
    }

    /* 8s: Chegou no Passo 3 (2/3 do caminho) */
    68.75% {
        width: 66.66%;
    }

    /* 11s */
    75% {
        width: 100%;
    }

    /* 12s: Chegou no Passo 4 (3/3 do caminho) */
    100% {
        width: 100%;
        opacity: 0;
    }
}

.progress-line-fill {
    animation: progressFillSequence 16s linear infinite !important;
}

/* Mobile Reset */
/* Mobile Reset & Layout Fixes */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        background-position: 25% center;
    }

    .steps-container {
        flex-direction: column;
        gap: 30px;
        padding-left: 0;
    }

    .step-item {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 0 10px;
        gap: 20px;
        z-index: 5;
    }

    .step-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .step-text {
        /* Wrapper for text if needed, but flex handles children */
        flex: 1;
    }

    .step-item h3 {
        margin-bottom: 4px;
        text-align: left;
    }

    .step-item p {
        text-align: left;
    }

    .progress-line-bg {
        left: 50px !important;
        /* Center of 80px icon (40px) + 10px padding */
        right: auto !important;
        width: 4px !important;
        height: auto !important;
        top: 40px !important;
        bottom: 40px !important;
        transform: translateX(-50%);
    }

    .progress-line-fill {
        width: 100% !important;
        height: 0% !important;
        animation: progressFillMobileSequence 16s linear infinite !important;
        left: 0 !important;
    }
}


/* --- ABOUT SECTION --- */
.about-section {
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    /* Alterado para paisagem suave para mostrar mais do helicóptero */
    aspect-ratio: 4/3;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    top: 20px;
    left: 20px;
    z-index: 1;
    border-radius: 20px;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover .image-accent {
    transform: translate(10px, 10px);
}

.about-content h2 {
    margin-bottom: 25px;
    font-size: 3rem;
    line-height: 1;
}

.about-lead {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.7;
    font-weight: 300;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.feat-icon {
    width: 55px;
    height: 55px;
    background: #fff;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    /* Sombra suave em vez de borda */
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.about-features li:hover .feat-icon {
    transform: translateY(-5px);
    background-color: var(--accent-color);
    color: #fff;
}

.feat-text h4 {
    margin: 0 0 8px;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.feat-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-image-wrapper {
        margin: 0 auto;
        padding-right: 20px;
        /* Espaço para o accent no mobile */
    }

    .image-accent {
        left: 10px;
        top: 10px;
    }

    .about-features li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
}