:root {
    --fade-duration: 900ms;
    --zoom-duration: 6000ms;
}

* { 
    box-sizing: border-box; 
}

body {
    margin: 0;
    font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #111;
    background: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
    padding: 280px 0 90px;
}

/* Carrossel */
.carousel {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--fade-duration) ease;
    will-change: opacity;
}

.slide.active { 
    opacity: 1; 
}

.slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transform-origin: center center;
    animation: none;
}

.slide.active img {
    animation: zoomIn var(--zoom-duration) ease-in forwards;
}

@keyframes zoomIn {
    from { transform: scale(1); }
    to   { transform: scale(1.03); }
}

/* Overlay escuro para melhor legibilidade */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.25) 40%, rgba(0,0,0,.45));
    z-index: 1;
}

/* Container e conteúdo */
.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Coluna da esquerda - AJUSTADO */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translate(-10px, -80px);
}

.hero-title {
    font-size: 5.2rem;
    font-weight: 700;
    animation: fadeInUp 1s ease;
    line-height: 1; /* Mantido 1 para quebras de linha precisas */
    margin: 0;
    text-transform: none;
    white-space: nowrap; /* Impede quebra automática */
}

/* QUEBRAS DE LINHA ESPECÍFICAS */
.hero-title br {
    display: block;
    content: "";
    margin-bottom: 0; /* Remove margem extra */
}

.hero-title br:first-child {
    margin-bottom: 0.5rem; /* Espaço após "Conectando você" */
}

.hero-title br:nth-child(2) {
    margin-bottom: 0.5rem; /* Espaço após "a destinos" */
}

/* Coluna da direita - AJUSTADO */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: flex-start;
    padding-top: 1.5rem;
    transform: translate(90px, 180px);
}

/* TEXTO DA DIREITA AJUSTADO */
.hero-description {
    font-size: 2.2rem;
    animation: fadeInUp 1s ease 0.6s both;
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
}

.hero-description strong {
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Container para tags */
.hero-tags-buttons-container {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 1s ease 0.4s both;
    flex-wrap: wrap;
}

/* TAGS - LADO ESQUERDO AJUSTADO */
.hero-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 120px;
}

/* Estilo para tags como links */
.hero-tags .tag {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.hero-tags .tag:hover {
    background: #72939c;
    border-color: #72939c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(114, 147, 156, 0.3);
    text-decoration: none;
    color: #ffffff;
}

/* Estados de focus para acessibilidade */
.hero-tags .tag:focus {
    outline: 2px solid #72939c;
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.2);
}

/* Remove os pontos entre as tags */
.hero-tags .tag:not(:last-child)::after {
    display: none;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Indicadores do carrossel */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #ffffff;
}

/* Ajustes para responsividade */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.8rem;
        white-space: normal; /* Permite quebra em tablet */
    }

    .hero-content {
        gap: 40px;
    }

    .hero-left {
        transform: translate(-20px, -40px);
    }

    .hero-right {
        transform: translate(80px, 80px);
    }

    .hero-tags-buttons-container {
        gap: 30px;
    }

    .hero-description {
        font-size: 1.9rem;
    }
    
    .hero-tags {
        margin-top: 100px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        white-space: normal; /* Permite quebra em mobile */
    }

    .hero-left,
    .hero-right {
        transform: none;
        gap: 1rem;
    }

    .hero-tags-buttons-container {
        justify-content: center;
        gap: 20px;
    }

    .hero-tags {
        justify-content: center;
        margin-top: 1.5rem;
        gap: 12px;
    }

    .hero-description {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    /* Remove espaçamento específico dos br em mobile */
    .hero-title br:first-child,
    .hero-title br:nth-child(2) {
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 70px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .hero-tags-buttons-container {
        flex-direction: column;
        gap: 15px;
    }

    .hero-tags {
        gap: 8px;
        margin-top: 1rem;
    }

    .hero-tags .tag {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero-title br:first-child,
    .hero-title br:nth-child(2) {
        margin-bottom: 0.2rem;
    }
}

/* High contrast mode support for hero */
@media (prefers-contrast: high) {
    .hero-tags .tag {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid #ffffff;
    }
    
    .hero-tags .tag:hover {
        background: #72939c;
        border-color: #72939c;
    }
}

/* Reduced motion support for hero */
@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-tags,
    .hero-description,
    .hero-tags-buttons-container,
    .hero-tags .tag {
        animation: none;
    }

    .hero-tags .tag:hover {
        transform: none;
    }
    
    .slide { 
        transition: none; 
    }
    
    .slide.active img { 
        animation: none; 
    }
}