/* ===== TOKENS ===== */
:root {
    --blue: #152d6b;
    --blue-light: #1e3f99;
    --blue-dark: #0c1a42;
    --gold: #d4a528;
    --gold-light: #f0c94c;
    --red: #8b1a2b;
    --white: #ffffff;
    --gray-50: #f8f9fc;
    --gray-100: #f0f2f7;
    --gray-200: #e2e6ef;
    --gray-400: #8d96a8;
    --gray-600: #4a5568;
    --gray-900: #1a202c;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-full: 100px;
    --shadow: 0 4px 20px rgba(15,26,66,0.08);
    --shadow-lg: 0 12px 40px rgba(15,26,66,0.12);
    --transition: 0.25s ease;
    --font: 'Inter', system-ui, sans-serif;
    --font-display: 'Outfit', system-ui, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--gray-900); background: var(--white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
    position: fixed; inset: 0 0 auto; z-index: 200;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.header--scrolled { border-bottom-color: var(--gray-200); box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.logo__img { height: 44px; width: auto; }

.nav { display: flex; gap: 36px; }
.nav__link { font-size: 14px; font-weight: 600; color: var(--gray-600); position: relative; transition: color var(--transition); }
.nav__link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); border-radius: 2px; transition: width var(--transition); }
.nav__link:hover, .nav__link.active { color: var(--blue); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.menu-btn { display: none; flex-direction: column; gap: 5px; width: 28px; z-index: 200; }
.menu-btn span { display: block; height: 2.5px; background: var(--blue); border-radius: 4px; transition: var(--transition); }
.menu-btn--open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn--open span:nth-child(2) { opacity: 0; }
.menu-btn--open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    background: url('img/fachada.jpeg') center 30%/cover no-repeat;
}
.hero__bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(12,26,66,0.88) 0%, rgba(21,45,107,0.8) 50%, rgba(30,63,153,0.75) 100%);
}
.hero__content { position: relative; padding: 140px 24px 100px; max-width: 700px; }
.hero__badge {
    display: inline-block;
    background: rgba(212,165,40,0.2); border: 1px solid rgba(212,165,40,0.4);
    color: var(--gold-light); font-weight: 700; font-size: 13px; letter-spacing: 1px;
    padding: 8px 20px; border-radius: var(--radius-full); margin-bottom: 28px;
    text-transform: uppercase;
}
.hero__welcome {
    font-size: 16px; font-weight: 400; letter-spacing: 1px;
    text-transform: uppercase; opacity: 0.75; margin-bottom: 12px;
}
.hero__title {
    font-family: 'Playfair Display', Georgia, serif; font-size: clamp(40px, 7vw, 72px);
    font-weight: 700; line-height: 1.1; margin-bottom: 20px;
    font-style: italic; letter-spacing: -0.5px;
}
.hero__sub { font-size: 18px; opacity: 0.85; font-weight: 400; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: var(--radius-full);
    font-size: 15px; font-weight: 700; transition: all var(--transition);
    background: var(--gold); color: var(--blue-dark);
    box-shadow: 0 4px 16px rgba(212,165,40,0.35);
}
.btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(212,165,40,0.45); }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.35); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn--full { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section--dark { background: var(--blue); color: var(--white); }
.section--alt { background: var(--gray-50); }

.section__head { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.section__head h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.section__head p { color: var(--gray-400); font-size: 16px; }
.section--dark .section__head p { color: rgba(255,255,255,0.65); }

.label {
    display: inline-block; font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
    margin-bottom: 12px;
}

/* ===== CARDS (Programações) ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 32px 28px; transition: all var(--transition); position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__ico { font-size: 24px; color: var(--gold); margin-bottom: 18px; }
.card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.card--accent { background: var(--blue); color: var(--white); border-color: transparent; }
.card--accent::before { display: none; }
.card--accent .card__ico { color: var(--gold-light); }
.card--accent p { color: rgba(255,255,255,0.75); }

/* ===== HORÁRIOS ===== */
.horarios__turnos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.turno {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px;
}
.turno__label {
    font-family: var(--font-display); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: var(--gold-light);
}
.turno__items { display: flex; flex-direction: column; gap: 16px; }
.horario { display: flex; align-items: center; gap: 16px; }
.horario__time { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--gold-light); min-width: 72px; }
.horario__info strong { display: block; font-size: 15px; margin-bottom: 2px; }
.horario__info span { font-size: 13px; opacity: 0.55; }
.horarios__note {
    display: flex; align-items: flex-start; gap: 14px;
    background: rgba(212,165,40,0.08); border: 1px solid rgba(212,165,40,0.2);
    border-radius: var(--radius); padding: 20px 24px; max-width: 660px; margin: 0 auto;
}
.horarios__note i { color: var(--gold-light); font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.horarios__note p { font-size: 14px; line-height: 1.7; opacity: 0.85; }
.horarios__social { text-align: center; margin-top: 28px; font-size: 13px; opacity: 0.5; }
.horarios__social i { color: var(--gold-light); }

/* ===== MEDITAÇÕES ===== */
.meditacoes { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin: 0 auto; }
.med {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200); background: var(--white);
    transition: all var(--transition);
}
.med:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateX(4px); }
.med__ico { font-size: 20px; color: var(--gold); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--gray-100); border-radius: var(--radius-sm); flex-shrink: 0; }
.med__info { flex: 1; min-width: 0; }
.med__info strong { display: block; font-size: 14px; font-weight: 700; color: var(--blue); }
.med__info span { font-size: 13px; color: var(--gray-400); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.med__dl { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--white); border-radius: 50%; font-size: 12px; flex-shrink: 0; transition: all var(--transition); }
.med:hover .med__dl { background: var(--blue); transform: scale(1.1); }

/* ===== OFERTAS ===== */
.ofertas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 700px; margin: 0 auto; align-items: stretch; }
.ofertas__pix, .ofertas__banco {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); padding: 32px; text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ofertas__ico { font-size: 32px; color: var(--gold-light); margin-bottom: 16px; }
.ofertas__qr { width: 160px; height: 160px; margin: 0 auto 16px; border-radius: var(--radius-sm); background: var(--white); padding: 8px; }
.ofertas__pix h3, .ofertas__banco h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.ofertas__chave {
    font-size: 15px; font-weight: 600; color: var(--gold-light);
    background: rgba(212,165,40,0.1); border: 1px solid rgba(212,165,40,0.3);
    border-radius: var(--radius-sm); padding: 10px 16px; margin-bottom: 10px;
    word-break: break-all;
}
.ofertas__cnpj { font-size: 13px; opacity: 0.6; }
.ofertas__dados p { font-size: 14px; line-height: 1.8; opacity: 0.85; }
.ofertas__dados strong { color: var(--white); }

@media (max-width: 600px) {
    .ofertas { grid-template-columns: 1fr; }
}

/* ===== COMO CHEGAR ===== */
.location { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.location__details { display: flex; flex-direction: column; gap: 24px; }
.location__item { display: flex; gap: 14px; align-items: flex-start; }
.location__item > i { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--gray-100); color: var(--gold); border-radius: var(--radius-sm); font-size: 16px; flex-shrink: 0; }
.location__item strong { display: block; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.location__item p { font-size: 14px; color: var(--gray-600); line-height: 1.5; }
.location__item a { color: var(--blue-light); transition: color var(--transition); }
.location__item a:hover { color: var(--gold); }
.location__map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 380px; }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--blue-dark); color: rgba(255,255,255,0.8); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { height: 56px; width: auto; margin-bottom: 14px; border-radius: var(--radius-sm); }
.footer__slogan { color: var(--gold-light); font-style: italic; font-size: 14px; margin-bottom: 4px; }
.footer__history { font-size: 13px; opacity: 0.5; }
.footer__col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--white); margin-bottom: 14px; }
.footer__col p { font-size: 14px; line-height: 1.7; }
.footer__col a { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; transition: color var(--transition); }
.footer__col a:hover { color: var(--gold-light); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); font-size: 16px; transition: all var(--transition); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; font-size: 12px; opacity: 0.4; }

/* ===== BACK TO TOP ===== */
.top-btn {
    position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold); color: var(--white); border-radius: 50%;
    font-size: 16px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: all var(--transition); z-index: 90;
}
.top-btn--visible { opacity: 1; visibility: visible; transform: translateY(0); }
.top-btn:hover { background: var(--blue); transform: translateY(-3px); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .location { grid-template-columns: 1fr; }
    .location__map { min-height: 280px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        width: 100%; height: 100vh;
        background: var(--white);
        flex-direction: column; align-items: center; justify-content: center;
        gap: 32px; opacity: 0; visibility: hidden; transition: all var(--transition);
        z-index: 150;
    }
    .nav--open { opacity: 1; visibility: visible; }
    .nav__link { font-size: 22px; color: var(--blue); }
    .menu-btn { display: flex; z-index: 200; }
    .hero__content { padding: 130px 24px 80px; }
    .section { padding: 72px 0; }
    .cards { grid-template-columns: 1fr; }
    .horarios__turnos { grid-template-columns: 1fr; }
    .horario { max-width: 100%; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
