/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #1a4d3a 0%, #2d7a5f 50%, #4a9d7a 100%), url('imgs/Clip path group.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    padding: 40px 0 30px;
    position: relative;
    overflow: hidden;
    padding-top: 110px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.frigelar-logo {
    height: 40px;
}

.main-title {
    text-align: center;
    position: relative;
}

.trophy-icon {
    font-size: 60px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.main-title h1 {
    font-size: 48px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.copa-text {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.subtitle-badge {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.flags {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flag {
    font-size: 40px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.promo-text {
    text-align: center;
    background: #0d1829;
    max-width: 600px;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.1),
        inset 0 -2px 4px rgba(0,0,0,0.3),
        0 0 0 2px #b8860b,
        0 0 20px rgba(255,215,0,0.3);
    margin: -80px auto 40px auto;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(2deg);
    transition: all 0.3s ease;
    z-index: 10;
}

.promo-text p {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 1.3;
}

.promo-text p strong {
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
}
@media (max-width: 1200px) {
    .hero-text h2 {
        font-size: 32px !important;
    }
    .hero-text-title {
        font-size: 32px !important;
        line-height: 1.1 !important;
        color: #183a68;
    }
    .hero-text p{
        font-size: 24px !important;
    }
    .dream-trip-container{
        display: block !important;
    }
    .trip-left-column {
        width: 100% !important;
        max-width: 700px !important;
    }
    .trip-right-column {
        width: 100% !important;
        max-width: 700px !important;
    }
    .container.dream-trip-container {
        align-items: center !important;
        justify-content: center !important;
        justify-items: center;
    }
    h2.trip-title {
        text-align: center;
    }
    p.trip-description {
        text-align: center;
    }
    .trip-benefits{
        align-items: center;
        justify-items: center;
    }
    .trip-right.trip-right-column {
        margin-top: 120px;
        margin-left: 40px;
    }
}

img.regulation-image {
        max-width: 260px;
}
.regulation-content{
    padding: 0px 20px !important;
}

@media (max-width: 800px) {
    h2.regulation-title {
        font-size: 32px !important;
    }
    p.regulation-text {
        font-size: 24px !important;
    }
    .hero-image-content{
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .hero-text-content{
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .promo-text p strong {
        font-size: 20px;
        font-weight: 900;
        font-style: italic;
    }
    
    /* Layout responsivo da seção hero */
    .hero-content {
        flex-direction: column-reverse !important;
        text-align: center !important;
        gap: 30px !important;
    }
    /* Fallback para flex gap no Safari iOS (hero) */
    @supports not (gap: 1rem) {
        .hero-content > * {
            margin-bottom: 30px !important;
        }
        .hero-content > *:first-child {
            margin-bottom: 0 !important;
        }
    }
    
    .hero-text, .hero-image {
        text-align: center !important;
    }
    
    .hero-image img {
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
        max-width: 400px !important;
        margin-left: 10px !important;
    }

    .hero-text h2 {
        font-size: 28px !important;
    }
    .hero-text p{
        font-size: 20px !important;
    }
    
    /* Layout responsivo da seção regulation-images */
    .regulation-images-container {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .regulation-image-col {
        max-width: 100% !important;
    }
    /* Fallback para flex gap no Safari iOS */
    @supports not (gap: 1rem) {
        .regulation-images-container > * {
            margin-bottom: 2rem;
        }
        .regulation-images-container > *:last-child {
            margin-bottom: 0;
        }
    }
}


/* Hero Section */
.hero {
    background: #F2EEE7;
    padding: 60px 0;
    position: relative;
}

.hero-content {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Fallback de gap para desktop (iOS 13 e navegadores sem suporte a flex-gap) */
@supports not (gap: 1rem) {
    .hero-content > * {
        margin-right: 60px;
    }
    .hero-content > *:last-child {
        margin-right: 0;
    }
}

.hero-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #183A68;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
    color: #333333;
}

.destination-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-5deg);
}

.destination-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.destination-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
}

/* Partners Section */
.partners {
    background: #F2EEE7;
    padding: 30px 20px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px !important;
    flex-wrap: wrap;
}

/* Fallback de gap para desktop nas logos de parceiros */
@supports not (gap: 1rem) {
    .partners-logos > * {
        margin-right: 40px;
    }
    .partners-logos > *:last-child {
        margin-right: 0;
    }
}

.partners-logos img {
    height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partners-logos img:hover {
    opacity: 1;
}

/* Dream Trip Section */
.dream-trip {
    background-color: #183A68;
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-header p {
    font-size: 18px;
    opacity: 0.9;
}

.trip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.trip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trip-card h3 {
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* How to Participate Section */
.how-to-participate {
    background: linear-gradient(135deg, #1a4d3a 0%, #2d7a5f 100%);
    padding: 80px 0;
}

.how-to-participate h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    padding: 40px 20px;
}

.step-icon {
    font-size: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

/* Action Section */
.action-section {
    background: linear-gradient(135deg, #2d7a5f 0%, #4a9d7a 100%);
    padding: 60px 0;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.action-card {
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-3px);
}

.action-card.green {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.action-card.blue {
    background: linear-gradient(135deg, #3498db, #5dade2);
}

.action-card.orange {
    background: linear-gradient(135deg, #f39c12, #f7dc6f);
    color: #2c3e50;
}

.additional-info {
    text-align: center;
    background: rgba(0,0,0,0.2);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.additional-info p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

/* Footer Section */
.footer {
    background: linear-gradient(135deg, #1a4d3a 0%, #0d2818 100%);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.dates {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.calendar-icon,
.plane-icon {
    font-size: 30px;
}

.date-text {
    font-weight: 600;
}

.date-range {
    font-size: 18px;
    color: #ffd700;
}

.travel-date {
    font-size: 18px;
    color: #7dd3fc;
}

.regulation {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.regulation h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffd700;
}

.regulation p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.regulation-btn {
    background: linear-gradient(135deg, #f39c12, #f7dc6f);
    color: #2c3e50;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 20px;
}

.regulation-btn:hover {
    transform: translateY(-2px);
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-title h1 {
        font-size: 36px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .section-header h2,
    .how-to-participate h2 {
        font-size: 32px;
    }
    
    .trip-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .dates {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .trip-benefits ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-title h1 {
        font-size: 28px;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .section-header h2,
    .how-to-participate h2 {
        font-size: 28px;
    }
    
    .dates {
        flex-direction: column;
    }
}

/* Classes para elementos específicos */
.images-stack {
    position: relative;
    display: block;
    max-width: 600px;
    margin: 0 auto; /* Centralização horizontal */
    text-align: center; /* Centraliza o conteúdo interno */
}

.images-stack img:first-child {
    width: 100%;
    display: block;
    margin: 0 auto; /* Garante centralização da imagem */
    margin-top: -50px !important; /* Estilo inline migrado */
}

.images-stack img:nth-child(2) {
    display: block;
    margin: 0 auto; /* Centraliza a segunda imagem */
    max-width: 300px !important; /* Estilo inline migrado */
    margin-top: -30px !important; /* Estilo inline migrado */
}

.images-stack img {
    display: block;
    margin: 0 auto; /* Centraliza todas as imagens */
}

.mobile-message {
    font-size: 24px !important;
}

.hero-text-content {
    flex: 0 0 60%;
    max-width: 60%;
}

.hero-text-title {
    font-size: 32px;
    line-height: 1.1;
    color: #183a68;
    margin-bottom: 20px;
}

.hero-text-description {
    font-size: 24px !important;
    line-height: 1.3 !important;
}

.hero-image-content {
    flex: 0 0 40%;
    max-width: 40%;
}

.hero-image-content img {
    width: 100%;
    margin-left: -30px;
}

.partners-container {
    margin-bottom: 50px;
    border: 2px solid #233D69;
    border-radius: 24px;
    padding: 20px 40px;
    max-width: 1000px;
    display: flex;
    align-items: center;
    padding-top: 36px;
}

.partners-logos-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.partner-logo-eos {
    max-height: 100%;
    width: auto;
    height: 52px;
}

.partner-logo-lg {
    max-height: 100%;
    width: auto;
    height: 78px;
}

.partner-logo-midea {
    max-height: 100%;
    width: auto;
    height: 78px;
}

.partner-logo-tcl {
    max-height: 100%;
    width: auto;
    height: 58px;
}

.dream-trip-container {
    display: flex;
    gap: 2rem;
}

.trip-left-column {
    flex: 0 0 40%;
    max-width: 40%;
}

.trip-section-header {
    text-align: left;
}

.trip-title {
    color: #E0B707 !important;
    font-style: italic !important;
    font-size: 32px !important;
    line-height: 1.1 !important;
}

.trip-description {
    font-size: 24px !important;
    line-height: 1.2 !important;
}

.trip-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}

.trip-benefit-item {
    display: flex;
    align-items: center;
}

.trip-benefit-icon {
    vertical-align: top;
    width: 48px;
}

.trip-benefit-text {
    font-weight: bold !important;
    font-style: italic !important;
    padding-left: 12px;
    font-size: 18px !important;
    line-height: 1.2 !important;
}

.trip-right-column {
    flex: 0 0 60%;
    max-width: 60%;
}

.trip-decoration-1 {
    position: absolute;
    margin-left: -90px;
    margin-top: -110px;
    max-width: 220px;
}

.trip-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.trip-decoration-2 {
    margin-top: -190px;
    width: 100%;
    text-align: right;
    margin-left: 60px;
}

.how-to-participate-bg {
    background-image: url('imgs/4 1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.how-to-participate-title {
    color: #E0B707 !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    font-style: italic !important;
}

.step-image {
    max-width: 160px;
}

.step-number {
    color: #E0B707 !important;
    font-size: 36px !important;
    font-weight: 900 !important;
    font-style: italic !important;
}

.step-description {
    font-size: 24px !important;
    font-weight: bold !important;
    font-style: italic !important;
}

.points-section-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.col-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.col-image-1 {
    width: 100%;
    max-width: 260px;
}

.col-plus-icon {
    width: 100%;
    max-width: 40px;
    margin-top: -20px;
    margin-bottom: -20px;
}

.col-image-2 {
    width: 100%;
    max-width: 260px;
}

.col-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-center-image {
    max-width: 300px;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.col-center-image-2 {
    max-width: 340px;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.col-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    max-width: 460px;
}

.col-text-content {
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #fff !important;
    font-style: italic !important;
}

.regulation-section {
    padding: 4rem 0;
    background-color: #F2EEE7;
}

.regulation-images-container {
    display: flex;
    gap: 8rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.regulation-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.regulation-image {
    max-width: 100%;
    height: auto;
}

.regulation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.regulation-title {
    text-align: center;
    margin-top: 2rem;
    font-size: 32px !important;
    color: #183A68 !important;
    font-weight: 900 !important;
    font-style: italic !important;
}

.regulation-text {
    font-weight: 600 !important;
    text-align: center;
    margin-top: 1rem;
    font-size: 24px !important;
    line-height: 1.4 !important;
    color: #333 !important;
    max-width: 1300px;
}

.regulation-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;
    margin-bottom: -140px;
}

.regulation-button-image {
    max-width: 600px;
    width: 100%;
    height: auto;
}

.footer-bg {
    background-image: url('imgs/Grupo 11.png');
    min-height: 400px;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 400px;
}

.footer-logos-image {
    max-width: 1400px;
    width: 100%;
}

/* Media Queries para controle de exibição dos bodies mobile e desktop */
/* Para telas maiores que 1400px - mostrar desktop, ocultar mobile */
@media (min-width: 1401px) {
    .mobile {
        display: none !important;
    }
    
    .desktop {
        display: block !important;
    }
}

/* Para telas menores ou iguais a 1400px - mostrar mobile, ocultar desktop */
@media (max-width: 1400px) {
    .mobile {
        display: block !important;
    }
    
    .desktop {
        display: none !important;
    }
}

@media (max-width: 1300px) {
    .trip-decoration-1 {
        position: absolute;
        margin-left: -75px;
        margin-top: -80px;
        width: 170px;
    }
    .trip-decoration-2 img {
        width: 100px;
    }
    .trip-decoration-2 {
        margin-top: -100px;
        width: 100%;
        text-align: right;
        margin-left: 0px;
    }
    
    /* Layout responsivo da seção points-section */
    .points-section-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 3rem !important;
    }
    /* Fallback para flex gap no Safari iOS */
    @supports not (gap: 1rem) {
        .points-section-container > * {
            margin-bottom: 3rem;
        }
        .points-section-container > *:last-child {
            margin-bottom: 0;
        }
    }
    
    .col-images {
        order: 1;
        max-width: 100% !important;
        justify-content: center !important;
    }
    
    .col-center {
        order: 2;
        max-width: 100% !important;
        justify-content: center !important;
    }
    
    .col-text {
        order: 3;
        max-width: 100% !important;
        justify-content: center !important;
    }
    
    .col-center-image,
    .col-center-image-2 {
        max-width: 300px !important;
    }
}

@media (max-width: 600px) {
    .trip-grid-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .trip-right.trip-right-column {
        margin-top: 120px;
        max-width: 300px !important;
    }
    img.step-image {
        max-width: 120px;
    }
    h3.step-description {
        font-size: 24px !important;
    }
    .section-header h2, .how-to-participate h2 {
        font-size: 36px !important;
    }
    p.trip-description {
        font-size: 20px !important;
    }
}
html {
    scroll-behavior: smooth;
}

/* Navegação no cabeçalho */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 0;
    position: relative;
    z-index: 9999;
    background-color: #0d1829;
    height: 70px;
    position: fixed;
    width: 100%;
}

.nav-toggle {
    display: none;
    background: #0d1829;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    border: none !important;
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 700;
    color: #ffffff;
    background: #0d1829;
    padding: 8px 12px;
}

.nav-menu a:hover {
    text-decoration: underline;
}

@media (max-width: 1300px) {
    .nav-toggle {
        display: inline-block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 12px;
        position: absolute;
        left: 0;
        right: 0;
        top: 48px;
        /* background: rgba(242, 238, 231, 0.95); */
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        z-index: 9999;
        position: fixed;
        margin-top: 35px;
        align-items: center;
        row-gap: 20px;
    }
    .nav-menu.open {
        display: flex;
        background-color: #0d1829;
        margin-top: 15px;
    }
}