/* ============================================================
   HEALTH & ADVOCACY SUMMIT BRASIL — "Where policy meets purpose."
   Tema claro.
   - Destaque (texto/título): #F54963
   - Títulos:                 #BEBDB8
   - Texto:                   #000000
   - Fundo:                   #FFFFFF
   ============================================================ */
:root {
    --accent: #F54963;
    --accent-soft: rgba(245, 73, 99, 0.5);
    --title: #BEBDB8;
    --ink: #000000;
    --bg: #FFFFFF;
    --border-color: rgba(0, 0, 0, 0.12);
    /* aliases legados usados por classes herdadas */
    --primary-purple: #F54963;
    --text-color: #000000;
    --paper: #FFFFFF;
}

@font-face {
    font-family: "CustomFont";
    src: url("../fonts/CoolveticaLt-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "CustomFont bold";
    src: url("../fonts/CoolveticaRg-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* { box-sizing: border-box; }

body {
    font-family: "CustomFont", sans-serif;
    background-color: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
    letter-spacing: 0.5px;
}

.accent-text { color: var(--accent); }

/* ---------- Cabeçalho ---------- */
.navbar { background: transparent; padding: 1rem 0; }

.navbar-brand img { width: 140px; }

.header-tagline {
    font-family: "CustomFont bold", sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--ink);
}

.header-event {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.nav-link {
    color: rgba(0, 0, 0, 0.7) !important;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0 0.7rem;
    transition: color 0.3s ease;
}

.nav-link:hover { color: var(--accent) !important; }

/* Botão CTA sólido */
.btn-cta-solid {
    display: inline-block;
    background: var(--accent);
    color: #fff !important;
    font-family: "CustomFont bold", sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 40px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
}

.btn-cta-solid:hover { background: #d8324b; color: #fff !important; }

.navbar .btn-nav-cta {
    letter-spacing: 1px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    padding: 10px 26px;
    font-size: 14px;
    text-transform: uppercase;
    background: transparent;
    transition: background 0.3s, color 0.3s;
}

.navbar .btn-nav-cta:hover { background: var(--accent); color: #fff; }

/* ---------- Hero (vídeo) ---------- */
.banner {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #F9F9F9 url("../img/fundo-llyc.svg") center / cover no-repeat;
}

/* scrim para legibilidade do texto sobre o vídeo */
/* .banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
}
 */
/* Vídeo de fundo do hero */
.banner { background: #F9F9F9; }

.banner .banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner .container { position: relative; z-index: 2; width: 100%; }

.hero-title-svg {
    display: block;
    width: 460px;
    max-width: 82%;
    height: auto;
    margin: 0 0 30px;
}

.hero-headline {
    font-family: "CustomFont bold", sans-serif;
    font-size: 78px;
    line-height: 0.98;
    color: #000000;
    margin: 0 0 28px;
    letter-spacing: 0;
}

.hero-headline .accent-text { color: var(--accent); }

.hero-meta {
    display: inline-block;
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.92);
    border-top: 2px solid var(--accent);
    padding-top: 14px;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

/* Countdown */
.count-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.986);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 12px 22px;
    color: #000;
}

.count-box .lbl { font-size: 13px; letter-spacing: 2px; }

.count-box .time-segment { display: flex; align-items: baseline; gap: 6px; }

.count-box #days, .count-box #hours {
    font-family: "CustomFont bold", sans-serif;
    font-size: 34px;
    line-height: 1;
}

.count-box .unit { font-size: 12px; letter-spacing: 1px; opacity: 0.85; }

/* ---------- Seções ---------- */
.content-section { padding: 5.5rem 0; }

/* Zona clara unificada: fundo sólido atrás de todas as seções */
.light-zone {
    position: relative;
    background: #F9F9F9;
}

.light-zone > section {
    position: relative;
    z-index: 1;
    background: transparent;
}

.kicker {
    display: block;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.6rem;
}

.section-title {
    font-family: "CustomFont bold", sans-serif;
    color: var(--title);
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: 0;
    margin-bottom: 1.4rem;
}

.section-title .accent-text { color: var(--accent); }

.lead-text {
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink);
    max-width: 760px;
}

.lead-text + .lead-text { margin-top: 1.2rem; }

/* Divisor sutil */
.sec-divider { border-top: 1px solid var(--border-color); }

/* Data e Local */
#carouselLocal { border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
#carouselLocal .carousel-item img { height: 360px; object-fit: cover; }

.local-date {
    font-family: "CustomFont bold", sans-serif;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.local-addr { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 1.4rem; }

.btn-map {
    display: inline-block;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    padding: 0.75rem 1.6rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

.btn-map:hover { background: var(--accent); color: #fff; }

@media (max-width: 768px) {
    #carouselLocal .carousel-item img { height: 240px; }
    .col-lg-6.ps-lg-5 { padding-left: calc(var(--bs-gutter-x) * .5) !important; margin-top: 1.5rem; }
}

/* Bloco "Em breve" */
.soon-block { padding: 4.5rem 0; }

.soon-flag {
    display: inline-block;
    font-family: "CustomFont bold", sans-serif;
    font-size: 22px;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 30px;
    padding: 8px 26px;
    margin: 0.4rem 0 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.soon-support { font-size: 17px; color: rgba(0,0,0,0.65); max-width: 620px; }

/* ---------- CTA final ---------- */
.cta-final {
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 5rem 0;
}

.cta-final h2 {
    font-family: "CustomFont bold", sans-serif;
    font-size: 56px;
    margin-bottom: 0.4rem;
}

.cta-final p {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-final .btn-cta-solid {
    background: #fff;
    color: var(--accent) !important;
    border-color: #fff;
}

.cta-final .btn-cta-solid:hover { background: #000; color: #fff !important; border-color: #000; }

/* ---------- Faixa separadora (padrão animado) ---------- */
.pattern-strip {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #F9F9F9;
}

.pattern-strip .banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Footer ---------- */
footer { background: #fff; color: var(--ink); text-align: center; padding-top: 3rem; }

.footer-logo { width: 140px; margin-bottom: 1.8rem; }

.footer-tagline {
    font-family: "CustomFont bold", sans-serif;
    font-size: 22px;
    color: var(--title);
    margin-bottom: 0.6rem;
}

.footer-lgpd { font-size: 13px; color: rgba(0,0,0,0.5); margin-bottom: 2rem; }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.6rem 0 3rem;
    font-size: 0.9rem;
    color: rgba(0,0,0,0.6);
}

.footer-bottom a { color: var(--ink); text-decoration: none; margin: 0.4rem 1rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Botão flutuante ---------- */
.floating-cta-btn {
    position: fixed;
    bottom: 20px; right: 12px;
    z-index: 1050;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.floating-cta-btn:hover { background: #d8324b; color: #fff; }

/* ---------- Modal (claro) ---------- */
.modal-content {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--ink);
}

.modal-header { border-bottom: none; padding: 1.5rem 1.5rem 0.5rem; }
.modal-body { padding: 1.5rem 2rem 2rem; }

.form-control-modal {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    border-radius: 0;
    padding: 0.85rem 0;
    color: var(--ink);
    margin-bottom: 0;
    letter-spacing: 1px;
}

.form-control-modal::placeholder { color: rgba(0,0,0,0.45); }

.form-control-modal:focus {
    background: transparent;
    box-shadow: none;
    border-color: var(--accent);
    color: var(--ink);
}

input.form-control-modal:-webkit-autofill,
input.form-control-modal:-webkit-autofill:hover,
input.form-control-modal:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: var(--ink) !important;
    caret-color: var(--ink);
}

#inscricaoForm .mb-3,
#inscricaoForm .mb-4,
#inscricaoForm .row .mb-3 { margin-bottom: 1.6rem !important; }

#inscricaoForm .form-check { margin-bottom: 1rem; }
#inscricaoForm .form-check-label { line-height: 1.6; font-size: 0.9rem; }

.form-check-input { background-color: transparent; border: 1px solid rgba(0,0,0,0.4); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-check-input:focus { box-shadow: none; border-color: var(--accent); }

.btn-modal-submit {
    background: var(--accent);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 1.1rem;
    width: 100%;
    border-radius: 10px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    transition: background 0.3s;
}

.btn-modal-submit:hover { background: #d8324b; color: #fff; }

.btn-close { filter: none; }

/* ---------- Headline reveal (animação das letras) ---------- */
.hero-headline .word { display: inline-block; white-space: nowrap; }
.hero-headline .ch { display: inline-block; opacity: 0; transform: translateX(-24px); }
.hero-headline.reveal .ch { animation: ch-in 0.55s cubic-bezier(0.2,0.7,0.2,1) forwards; }

@keyframes ch-in { to { opacity: 1; transform: translateX(0); } }

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
    .header-tagline, .header-event { display: none; }
    .navbar-toggler { border: 1px solid rgba(0,0,0,0.3); }
    .banner { height: auto; padding: 90px 0 60px; }
    .hero-headline { font-size: 44px; }
}

@media (max-width: 768px) {
    .hero-headline { font-size: 38px; }
    .section-title { font-size: 30px; }
    .cta-final h2 { font-size: 36px; }
    .hero-actions { gap: 16px; }
    .navbar-brand img { width: 140px; }
}
