/* ============================================
   REALIZA BRASIL TOUR 2026 - MIRROR STYLES
   Matches: realizabrasil2026.com.br/en
   ============================================ */

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #fdac12;
    --gold-dark: #e59a00;
    --green: #697d40;
    --green-dark: #4a5e2a;
    --white: #ffffff;
    --black: #000000;
    --zinc-50: #fafafa;
    --zinc-100: #f4f4f5;
    --zinc-200: #e4e4e7;
    --zinc-300: #d4d4d8;
    --zinc-400: #a1a1aa;
    --zinc-500: #71717a;
    --zinc-600: #52525b;
    --zinc-700: #3f3f46;
    --zinc-800: #27272a;
    --zinc-900: #18181b;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
    width: 80vw;
    max-width: 1200px;
    margin: 0 auto;
}

/* === UTILITY === */
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.icon-gold { color: var(--gold); }

/* === SECTION TITLES === */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--zinc-500);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn:hover { opacity: 0.6; }

/* Split button (gold left + green right with arrow) */
.btn-split {
    border-radius: 0;
    overflow: hidden;
}

.btn-split .btn-left {
    background: var(--gold);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 12px 0 0 12px;
    font-size: 1rem;
}

.btn-split .btn-right {
    background: var(--green);
    color: var(--white);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 12px 12px 0;
}

.btn-split.btn-sm .btn-left {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-split.btn-sm .btn-right {
    width: 42px;
    height: 42px;
}

/* Gold solid button */
.btn-gold {
    background: var(--gold);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
}

/* Text button */
.btn-text {
    background: none;
    color: var(--zinc-600);
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btn-text:hover { color: var(--gold); }

/* Outline button */
.btn-outline {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    height: 72px;
}

.nav-logo { display: flex; align-items: center; }

.logo-img { height: 44px; width: auto; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active-section {
    opacity: 0.6;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--zinc-200);
}

.lang-active { font-weight: 700 !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    margin-top: 72px;
    background: var(--white);
    overflow: hidden;
}

/* Decorative palm leaf - top left */
.hero-leaf {
    position: absolute;
    top: -5vh;
    left: -10vw;
    width: 28vw;
    max-width: 400px;
    opacity: 0.5;
    transform: rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

/* Abstract artwork - top right */
.hero-artwork {
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    z-index: 1;
    pointer-events: none;
}

.hero-artwork svg {
    width: 100%;
    height: 100%;
}

/* Main banner image - prominently displayed */
.hero-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2vh 5vw 0;
    position: relative;
    z-index: 2;
}

.hero-banner-img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* Portrait overlapping the banner */
.hero-portrait {
    position: absolute;
    top: 10vh;
    right: 8vw;
    width: 15vw;
    max-width: 220px;
    border-radius: 20px;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Text content below the banner */
.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 24px 5rem;
}

.hero-logo {
    height: 90px;
    width: auto;
    margin: 0 auto 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--zinc-600);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* === ROUTES SECTION === */
.routes {
    padding: 10vh 0;
    background: var(--white);
}

.routes .section-title {
    margin-bottom: 3rem;
}

.routes-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.route-card {
    flex: 1;
    max-width: 350px;
    border: 3px solid var(--green);
    border-radius: 24px;
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
    display: block;
    text-decoration: none;
    color: inherit;
}

.route-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(105, 125, 64, 0.15);
}

.route-image {
    height: 220px;
    overflow: hidden;
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.route-card:hover .route-image img {
    transform: scale(1.05);
}

.route-card-body {
    padding: 24px;
    text-align: center;
}

.route-abbr {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.route-card-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.route-card-cta {
    display: flex;
    justify-content: center;
}

/* === DONATIONS SECTION === */
.donations {
    padding: 10vh 0;
    background: var(--white);
}

.donations .section-title {
    margin-bottom: 3rem;
}

.donations-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.donations-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.donations-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.donations-info {
    flex: 1;
}

.donation-counter {
    margin-bottom: 2rem;
}

.counter-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
}

.counter-goal {
    font-size: 1.1rem;
    color: var(--zinc-500);
    font-weight: 500;
}

.donations-text {
    font-size: 1rem;
    color: var(--zinc-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.donations-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* === ABOUT SECTION === */
.about {
    padding: 10vh 0 15vh;
    background: var(--zinc-50);
}

.about .section-title {
    margin-bottom: 3rem;
}

.about-box {
    border: 4px solid var(--green);
    border-radius: 24px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-box p {
    font-size: 1.05rem;
    color: var(--zinc-700);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-box .btn-split {
    margin-top: 1rem;
}

/* === CONTACT SECTION === */
.contact {
    padding: 10vh 0;
    background: var(--white);
}

.contact .section-title {
    margin-bottom: 0.5rem;
}

.contact .section-subtitle {
    margin-bottom: 3rem;
}

.contact-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    text-align: center;
    padding: 30px;
    flex: 1;
    max-width: 300px;
}

.contact-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.contact-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #16a34a;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-whatsapp:hover {
    opacity: 0.6;
}

.whatsapp-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* === FAQ SECTION === */
.faq {
    padding: 10vh 0 15vh;
    background: var(--white);
}

.faq .section-title {
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-category {
    min-width: 0;
}

.faq-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--zinc-200);
}

.faq-item {
    border-bottom: 1px solid var(--zinc-200);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
    cursor: pointer;
    text-align: left;
    gap: 12px;
    transition: var(--transition);
}

.faq-question:hover { opacity: 0.6; }

.faq-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--zinc-400);
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer { max-height: 600px; }

.faq-answer p {
    padding: 0 0 14px;
    color: var(--zinc-600);
    line-height: 1.75;
    font-size: 0.92rem;
}

.faq-answer ul {
    padding: 0 0 16px 24px;
    list-style: disc;
}

.faq-answer ul li {
    color: var(--zinc-600);
    line-height: 1.7;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

/* === FOOTER === */
.footer {
    background: var(--green);
    color: var(--white);
    padding: 20px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-logo-img {
    height: 80px;
    width: auto;
}

.footer-contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-link:hover { opacity: 0.6; }

.footer-link svg {
    flex-shrink: 0;
}

.footer-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-nav a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-nav a:hover { opacity: 0.6; }

/* === MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: var(--white);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--zinc-200);
    position: sticky;
    top: 0;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.modal-header h2 {
    font-size: 1.4rem;
    color: var(--black);
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--zinc-100);
    font-size: 1.4rem;
    color: var(--zinc-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover { background: var(--zinc-200); color: var(--black); }

.modal-body { padding: 28px; }

.modal-body h3 {
    font-size: 1.15rem;
    color: var(--black);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.modal-body h4 {
    font-size: 1rem;
    color: var(--green);
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    font-weight: 700;
}

.modal-body p { color: var(--zinc-600); line-height: 1.75; margin-bottom: 1rem; font-size: 0.95rem; }

.modal-section { margin-top: 1.5rem; }

.bus-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 1rem 0;
}

.feature-item {
    background: var(--zinc-50);
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--zinc-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item svg { flex-shrink: 0; }

.cost-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 1.5rem 0;
}

.cost-route {
    background: var(--zinc-50);
    padding: 18px;
    border-radius: 12px;
}

.cost-route h5 {
    font-size: 0.9rem;
    color: var(--green);
    margin-bottom: 10px;
    font-weight: 700;
}

.cost-route ul { list-style: none; padding: 0; }

.cost-route ul li {
    color: var(--zinc-600);
    font-size: 0.82rem;
    margin-bottom: 6px;
    line-height: 1.5;
}

.artist-costs {
    background: var(--zinc-50);
    padding: 18px;
    border-radius: 12px;
    margin: 1rem 0;
}

.artist-costs ul { list-style: none; padding: 0; }
.artist-costs ul li { padding: 5px 0; color: var(--zinc-600); font-size: 0.92rem; }

.modal-closing {
    font-weight: 600;
    color: var(--green) !important;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--zinc-200);
    flex-wrap: wrap;
}

/* === ANIMATIONS === */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger */
.routes-grid .route-card:nth-child(2).fade-in-up { transition-delay: 0.1s; }
.routes-grid .route-card:nth-child(3).fade-in-up { transition-delay: 0.2s; }
.contact-grid .contact-card:nth-child(2).fade-in-up { transition-delay: 0.1s; }
.contact-grid .contact-card:nth-child(3).fade-in-up { transition-delay: 0.2s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .container { width: 90vw; }
    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2rem; }
    .routes-grid { flex-wrap: wrap; }
    .route-card { max-width: 45%; flex: 0 0 45%; }
    .donations-content { flex-direction: column; }
    .donations-image img { height: 300px; }
    .cost-breakdown { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-contact-info { justify-content: center; }
    .footer-nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 24px 40px;
        gap: 4px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
    }

    .nav-menu.active { right: 0; }

    .nav-link { padding: 12px 16px; font-size: 1rem; width: 100%; }

    .lang-selector {
        margin-left: 0; padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--zinc-200);
        padding-top: 16px; margin-top: 12px;
    }

    .hero { min-height: auto; }
    .hero-title { font-size: 2.2rem; }
    .hero-description { font-size: 0.95rem; }
    .hero-logo { height: 60px; }
    .hero-leaf, .hero-portrait, .hero-artwork { display: none; }
    .hero-banner { padding: 1vh 4vw 0; }
    .hero-content { padding: 2rem 20px 3rem; }

    .container { width: 90vw; }
    .section-title { font-size: 1.8rem; }

    .routes-grid { flex-direction: column; align-items: center; }
    .route-card { max-width: 100%; flex: 1; }
    .route-image { height: 200px; }

    .contact-grid { flex-direction: column; align-items: center; }
    .contact-card { max-width: 100%; }

    .about-box { padding: 2rem 1.5rem; }

    .donations-buttons { flex-direction: column; align-items: stretch; }
    .donations-buttons .btn { justify-content: center; text-align: center; }

    .bus-features { grid-template-columns: 1fr; }
    .modal-body { padding: 20px; }
    .modal-header { padding: 18px 20px; }

    .footer-nav { display: none; }
}

@media (max-width: 480px) {
    .container { width: 92vw; }
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }

    .btn-split .btn-left { padding: 10px 18px; font-size: 0.88rem; }
    .btn-split .btn-right { width: 42px; height: 42px; }

    .counter-current { font-size: 2rem; }
    .about-box { padding: 1.5rem 1rem; }
    .contact-photo { width: 120px; height: 120px; }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--zinc-50); }
::-webkit-scrollbar-thumb { background: var(--zinc-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--zinc-400); }

/* === SELECTION === */
::selection { background: var(--gold); color: var(--white); }
