/* ==========================================================
   Power Summit /25 — estilos
   Valores extraídos do CSS original. Onde o original tinha
   regras de mobile anuladas por especificidade, mantemos o
   resultado que de fato aparecia na tela.
   ========================================================== */

/* Fonte: Hanken Grotesk (Google Fonts, carregada no index.html), no lugar da
   National 2 do original. Só os pesos 500 e 700 são carregados, como o
   Medium/Bold do original: todo texto não negrito usa o 500. */

:root {
    --orange: #e84d0d;
    --orange-btn: #d54e16;
    --orange-btn-hover: #dc7143;
    --purple-name: #8670ed;
    --purple-gradient: linear-gradient(90deg, rgb(170, 105, 255) 0%, rgb(134, 54, 255) 69%);
    --marquee: #9fb2dd;
    --bg: #000;
    --bg-111: #111111;
    --bg-0f: #0f0f0f;
    --bg-26: #262626;
    --text-dark: #212529;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    position: relative;
    width: 100%;
    margin: 0;
    background: var(--bg);
    color: #fff;
    font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
    font-size: 35px;
    font-weight: 500;
    line-height: 35px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

section {
    padding: 100px;
}

/* As imagens decorativas vazam para os lados; no celular isso alargava a
   página para ~1070px. O clip corta só o eixo X, sem criar rolagem interna. */
main {
    overflow-x: hidden;
    overflow-x: clip;
}

h1, h2, h3, .h1 {
    margin: 0 0 .5rem;
    font-size: 80px;
    font-weight: 500;
    line-height: 1.2;
}

h2, h3 {
    font-weight: 700;
}

p {
    margin: 0 0 1rem;
}

b {
    font-weight: bolder;
}

blockquote {
    margin: 0;
}

img,
svg {
    vertical-align: middle;
}

.underline {
    text-decoration: underline;
}

.text-dark {
    color: var(--text-dark) !important;
}

/* Camada de conteúdo acima das imagens decorativas */
.layer {
    position: relative;
    z-index: 1;
}

/* Ajuste fino de 10px usado em várias imagens de fundo */
.nudge {
    margin-top: 10px;
}

/* ---------- Grid (mesmo comportamento do Bootstrap 5) ---------- */
.container {
    width: 100%;
    margin-inline: auto;
    padding-inline: 12px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -12px;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding-inline: 12px;
}

.col-5  { flex: 0 0 auto; width: 41.66666667%; }
.col-6  { flex: 0 0 auto; width: 50%; }
.col-7  { flex: 0 0 auto; width: 58.33333333%; }
.col-12 { flex: 0 0 auto; width: 100%; }

@media (min-width: 576px) {
    .container { max-width: 540px; }
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
    .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
}

@media (min-width: 992px) {
    .container { max-width: 960px; }
    .mt-lg-5 { margin-top: 3rem !important; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}

/* ---------- Utilitários ---------- */
.d-flex { display: flex !important; }
.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }
.gap-5 { gap: 3rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.text-center { text-align: center !important; }
.img-fluid { max-width: 100%; height: auto; }

/* <br> que só quebra a linha a partir de 1200px: abaixo disso as frases
   longas já quebram sozinhas e o <br> deixava palavras órfãs */
@media (max-width: 1199.98px) {
    .br-md { display: none !important; }
}

@media (max-width: 767.98px) {
    .show-md-up { display: none !important; }
}

@media (min-width: 768px) {
    .hide-md-up { display: none !important; }
}

/* ---------- Imagens decorativas ---------- */
.overlay-image,
.overlay-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 90%;
    transform: translate(-50%, -50%);
}

.overlay-image img,
.overlay-hover img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* ---------- Botões ---------- */
.purpleBtnCTA,
.orangeBtnCTA {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background .3s ease, box-shadow .3s ease;
}

.purpleBtnCTA {
    background: var(--purple-gradient);
}

.purpleBtnCTA:hover {
    background: var(--purple-name);
}

.orangeBtnCTA {
    background: var(--orange-btn);
}

.orangeBtnCTA:hover {
    background: var(--orange-btn-hover);
}

/* ==========================================================
   Seções
   ========================================================== */

/* ---------- Hero ---------- */
#header {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: 350px;
    padding-bottom: 350px;
    background: var(--bg);
    overflow: hidden;
}

#header .overlay-hover {
    animation: spin 20s linear infinite;
}

#header .overlay-hover img {
    max-width: 190%;
    max-height: 190%;
}

#header .hero-logo {
    width: 60%;
}

/* ---------- Letreiros ---------- */
.messageBanner,
.reverseMessageBanner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    background: var(--bg-111);
    overflow: hidden;
}

.reverseMessageBanner {
    margin-top: -60px;
}

.messageBanner .scrolling,
.reverseMessageBanner .scrolling {
    display: flex;
    width: max-content;
    animation: marquee 120s linear infinite;
}

.reverseMessageBanner .scrolling {
    animation-name: reverseMarquee;
}

.messageBanner span,
.reverseMessageBanner span {
    padding: 0 2rem;
    color: var(--marquee);
    font-size: 100px;
    font-weight: bold;
    white-space: nowrap;
}

/* ---------- Sobre ---------- */
#about {
    position: relative;
    width: 100%;
    background-color: var(--bg-111);
    overflow: hidden;
}

#about .overlay-image {
    top: 20%;
    right: -30%;
    left: auto;
    width: 100%;
    height: 100%;
    transform: none;
}

#about .about-text {
    position: relative;
    z-index: 99;
}

#about .about-text p + p {
    padding-top: 1lh;
}

#about .about-symbol {
    margin-left: 60px;
}

#about .about-symbol img {
    width: 30%;
}

/* ---------- Galeria (carrossel Swiper) ---------- */
#gallery {
    --gallery-h: clamp(380px, 64vh, 640px);
    position: relative;
    width: 100%;
    padding-inline: 0;
    background-color: var(--bg-0f);
    overflow: hidden;
}

#gallery .gallery-stage {
    margin-top: 3rem;
}

#gallery .gallery-swiper {
    padding-block: 24px;
    /* As fotos laterais somem suavemente nas bordas */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

#gallery .gallery-slide {
    position: relative;
    height: var(--gallery-h);
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-26);
    opacity: .4;
    transition: opacity .3s ease;
}

#gallery .gallery-slide.is-portrait {
    width: calc(var(--gallery-h) * 2 / 3);
}

#gallery .gallery-slide.is-landscape {
    width: min(calc(var(--gallery-h) * 3 / 2), 88vw);
}

#gallery .gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery .gallery-slide.swiper-slide-active {
    opacity: 1;
}

/* Setas e indicadores */
#gallery .gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 2rem;
    padding-inline: 16px;
}

#gallery .gallery-nav {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

#gallery .gallery-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#gallery .gallery-nav:hover,
#gallery .gallery-nav:focus-visible {
    border-color: var(--orange);
    background: var(--orange);
    outline: none;
}

#gallery .gallery-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
}

#gallery .gallery-pagination .swiper-pagination-bullet {
    position: relative;
    width: 10px;
    height: 10px;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, .28);
    opacity: 1;
    transition: width .5s cubic-bezier(.2, .7, .2, 1), background .3s ease;
}

#gallery .gallery-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, .5);
}

/* O indicador ativo vira uma pílula que enche com o tempo do autoplay */
#gallery .gallery-pagination .swiper-pagination-bullet-active {
    width: 46px;
    background: rgba(255, 255, 255, .18);
}

#gallery .gallery-pagination .swiper-pagination-bullet-active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--orange), #6c2bd9);
    transform: scaleX(var(--progress, 1));
    transform-origin: left center;
}

/* ---------- Setas ---------- */
#arrows {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#arrows .arrows-asterisk {
    width: 60%;
    margin-top: -850px;
    margin-left: 1300px;
}

/* Grelha 3 x 5 de setas: cada seta ocupa a própria célula, sem se
   sobrepor às vizinhas, e o conjunto encolhe junto com a coluna */
#arrows .arrows {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 20px;
    max-width: 360px;
}

#arrows .arrows svg {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    overflow: visible;
    fill: transparent;
    stroke: var(--orange);
    stroke-width: 2px;
    opacity: .8;
}

#arrows .arrows svg.is-filled {
    fill: var(--orange);
}

#arrows .arrows svg.flip {
    transform: scaleX(-1);
}

#arrows .arrows-content {
    margin-top: 200px;
}

#arrows .orangeBtnCTA {
    max-width: 500px;
}

/* Logos redondas ao lado do botão. bannerArrowsSymbol.png já traz duas
   bolinhas de 435px (centros a 387px, ou seja, 48px de sobreposição);
   a terceira (Recon) segue o mesmo passo. Em unidades da imagem o grupo
   mede 822 + 387 = 1209px, e todas as medidas abaixo são frações disso. */
#arrows .arrows-logos {
    display: flex;
    flex: none;
    align-items: center;
    width: 14.71%; /* os 10% que as duas bolinhas ocupavam × 1209 / 822 */
}

#arrows .arrows-logos .arrows-symbol {
    flex: none;
    width: 67.99%; /* 822 / 1209 */
}

#arrows .logo-badge {
    display: grid;
    flex: none;
    place-items: center;
    width: 35.98%; /* 435 / 1209 */
    aspect-ratio: 1;
    margin-left: -3.97%; /* sobreposição de 48 / 1209 */
    padding: 0 4.5%; /* deixa a palavra com ~75% do diâmetro */
    border-radius: 50%;
    background: #fff;
}

#arrows .logo-badge img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#arrows .arrows-square {
    width: 30%;
}

#arrows .arrows-label {
    width: 20%;
}

/* ---------- Bíblia ---------- */
#biblia {
    position: relative;
    width: 100%;
    padding-top: 350px;
    padding-bottom: 350px;
    background: url("../images/bannerBiblia.png") no-repeat center center / cover;
}

#biblia .overlay-hover {
    top: -45%;
    right: 0;
    left: auto;
    z-index: 11;
    width: 80%;
    height: auto;
    overflow: hidden;
    transform: none;
}

#biblia .overlay-hover img {
    width: 60%;
    margin-right: -1000px;
}

/* ---------- Responsabilidade ---------- */
#responsability {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url("../images/bannerResponsability.png") no-repeat center center / cover;
}

#responsability .responsability-symbol {
    width: 30%;
}

#responsability .responsability-symbol-wrap {
    margin-top: 250px;
}

/* ---------- O que o evento oferece ---------- */
#offers {
    position: relative;
    min-height: 1200px;
    background-color: var(--bg-26);
}

#offers .offers-symbol-one {
    margin-left: -130px;
}

#offers .offers-symbol-two {
    margin-top: -300px;
}

#offers p,
#preFooter p {
    display: inline-block;
    padding: 4px 8px;
    background: var(--purple-gradient);
    color: #fff;
}

/* ---------- Informações do evento ---------- */
#date {
    position: relative;
    width: 100%;
    padding-top: 200px;
    padding-bottom: 320px;
}

#date .overlay-image {
    margin-top: -300px;
}

#date .container {
    max-width: 900px;
}

/* O contorno "PWS" roxo dos preletores sobe até aqui; o texto fica por cima */
#date .layer {
    z-index: 2;
}

#date .row {
    border-bottom: 1px solid #fff;
}

#date .date-value {
    text-align: right;
}

@media (min-width: 992px) {
    #date h3 {
        font-size: 64px;
    }
}

/* ---------- Preletores ---------- */
#speakers {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-color: var(--bg-26);
}

#speakers .speakers-cta {
    position: relative;
    z-index: 999;
}

#speakers .speakers-cta .purpleBtnCTA {
    position: relative;
    z-index: 999;
}

#speakers .overlay-image {
    inset: 0;
    display: block;
    width: auto;
    height: auto;
    transform: none;
    z-index: auto;
}

#speakers .overlay-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    object-fit: fill;
    transform: translate(-50%, -50%);
}

#speakers .overlay-image .speakers-dots {
    z-index: 5;
}

#speakers .overlay-image .speakers-dots-overlay {
    z-index: 1;
    width: 200%;
    height: 200%;
    object-fit: contain;
}

#speakers .overlay-image .speakers-border {
    z-index: 1;
    width: 90%;
    margin-top: -430px;
}

#speakers .name {
    color: var(--purple-name);
    font-size: 30px;
}

#speakers .position {
    color: #bababa;
    font-size: 20px;
}

/* ---------- Barras ---------- */
#bars {
    width: 100%;
    padding: 0;
}

#bars .bar,
#bars .reverseBar {
    display: block;
}

#bars .bar {
    height: 20px;
    background: linear-gradient(90deg, #5a00ff 0%, #8a3cff 50%, #a36bff 100%);
}

#bars .reverseBar {
    height: 40px;
    background: linear-gradient(90deg, #a36bff 0%, #8a3cff 50%, #5a00ff 100%);
}

/* ---------- Chamada final ---------- */
#preFooter {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    overflow: hidden;
}

#preFooter .overlay-image {
    top: auto;
    bottom: -80%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, 30%);
    animation: liftAndDrop 3s ease-in-out infinite;
}

#preFooter .overlay-image img {
    max-width: 150%;
    max-height: 150%;
}

#preFooter .regular {
    font-weight: 400;
}

/* ---------- Rodapé ---------- */
footer {
    position: relative;
    z-index: 70;
    padding: 50px;
    background: var(--bg-0f);
}

footer .footerMainColor,
footer .footerSubColor {
    margin-bottom: .5rem;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

footer .footerMainColor {
    color: #d6d6d6;
}

footer .footerSubColor {
    color: #807e7e;
}

footer a {
    text-decoration: none;
}

footer a.footer-social {
    font-size: 35px;
}

footer .footer-social svg {
    width: .875em;
    height: 1em;
    fill: currentColor;
}

/* ---------- Animações ---------- */
@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes marquee {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

@keyframes reverseMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

@keyframes liftAndDrop {
    0%   { bottom: -5%; }
    50%  { bottom: 0%; }
    100% { bottom: -5%; }
}

/* ==========================================================
   Tablet e celular (até 991px)
   ========================================================== */
@media (max-width: 991.98px) {
    body {
        font-size: 22px;
        line-height: 1.4;
    }

    section {
        padding: 60px 24px;
    }

    h1, h2, h3, .h1 {
        font-size: 48px;
        line-height: 1.1;
    }

    #header {
        padding-top: 350px;
        padding-bottom: 350px;
    }

    #about .col-5,
    #about .col-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #biblia {
        padding-inline: 0;
    }

    #biblia p {
        font-size: 22px;
        line-height: 1.5;
    }

    #arrows .arrows-content {
        margin-top: 40px;
    }

    #responsability .orangeBtnCTA {
        margin-top: 24px !important;
    }

    #offers {
        padding-bottom: 40px;
    }

    #offers p {
        margin: 8px 0;
        font-size: 20px;
    }

    #date {
        padding-inline: 0;
    }

    #date .date-value {
        margin-top: 8px !important;
        font-size: 24px;
    }

    #speakers {
        padding: 40px 0;
    }

    #speakers .overlay-image .speakers-dots-overlay {
        width: 130%;
        height: auto;
        opacity: .5;
    }

    #speakers .overlay-image .speakers-dots,
    #speakers .overlay-image .speakers-border {
        opacity: .4;
    }

    #speakers .name {
        font-size: 24px;
    }

    #speakers .position {
        font-size: 16px;
    }

    #preFooter {
        height: auto;
        min-height: 70vh;
    }

    .purpleBtnCTA,
    .orangeBtnCTA {
        position: relative;
        z-index: 9;
        padding: 12px 22px;
        border-radius: 10px;
        font-size: 30px;
    }

    footer {
        padding: 28px;
    }

    footer .footerMainColor,
    footer .footerSubColor {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* ==========================================================
   Celular (até 767px)
   ========================================================== */
@media (max-width: 767.98px) {
    body {
        font-size: 18px;
    }

    h1, h2, h3, .h1 {
        font-size: 36px;
    }

    #header {
        height: 80vh;
        padding-top: 0;
        padding-bottom: 0;
    }

    #header .hero-logo {
        width: 100%;
    }

    .messageBanner,
    .reverseMessageBanner {
        font-size: 18px;
    }

    .messageBanner span,
    .reverseMessageBanner span {
        font-size: 45px;
    }

    .reverseMessageBanner {
        margin-top: -20px;
    }

    #about .about-symbol img {
        margin-left: -60px;
    }

    #arrows {
        margin: 50px 30px 0;
        padding: 20px 20px 50px;
        overflow-x: hidden;
    }

    #arrows .arrows {
        gap: 10px 14px;
        max-width: 240px;
    }

    #arrows .arrows-content {
        max-width: 84%;
    }

    #arrows .arrows-square,
    #arrows .arrows-label {
        width: 80%;
    }

    #arrows .arrows-cta {
        gap: 16px !important;
    }

    #biblia {
        max-height: 800px;
        padding: 50px 0 100px;
    }

    #responsability {
        max-height: 500px;
        padding: 50px 0 100px;
    }

    #offers {
        max-height: 100px;
        min-height: 650px;
        padding: 50px 0 0;
    }

    #offers .offers-symbol-one {
        margin-left: 50px;
    }

    #offers .offers-symbol-two {
        margin-top: -400px;
    }

    #date {
        min-height: 550px;
        padding: 50px 0 160px;
    }

    #date .row > .col-6 {
        width: 100%;
    }

    #date h3 {
        margin-bottom: 0;
    }

    #date .date-value {
        margin-top: 4px !important;
        font-size: 22px;
        text-align: left;
    }

    #date .text-mobile {
        font-size: 16px;
    }

    #gallery {
        --gallery-h: min(62vh, 118vw);
    }

    #gallery .gallery-swiper {
        -webkit-mask-image: none;
        mask-image: none;
    }

    #gallery .gallery-controls {
        gap: 16px;
    }

    #gallery .gallery-nav {
        width: 46px;
        height: 46px;
    }

    #gallery .gallery-pagination .swiper-pagination-bullet-active {
        width: 30px;
    }

    #speakers {
        padding: 50px 0;
    }

    #speakers .overlay-image .speakers-border {
        margin-top: -870px;
    }


    #preFooter .overlay-image {
        bottom: -30%;
        animation-duration: 4s;
    }
}

/* ==========================================================
   Celular pequeno (até 575px)
   ========================================================== */
@media (max-width: 575.98px) {
    section {
        padding: 44px 18px;
    }

    #header {
        padding-top: 0;
        padding-bottom: 0;
    }

    #arrows {
        padding: 20px 20px 50px;
    }

    #biblia {
        padding: 50px 0 100px;
    }

    #responsability {
        padding: 50px 0 100px;
    }

    #offers {
        padding: 50px 0 0;
    }

    #offers p {
        font-size: 18px;
        text-align: center;
    }

    #date {
        padding: 50px 0 160px;
    }

    #speakers {
        padding: 50px 0;
    }

    .purpleBtnCTA,
    .orangeBtnCTA {
        padding: 10px 18px;
        font-size: 24px;
    }

    footer .footerMainColor,
    footer .footerSubColor {
        font-size: 11px;
    }
}

/* ==========================================================
   Camada premium: textura, partículas e micro-interações.
   As animações de entrada e de rolagem ficam no main.js (GSAP).
   ========================================================== */

/* Grão de filme fixo sobre a página, quase imperceptível */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .05;
}

/* Imagens decorativas não devem roubar o hover (cobriam as fotos dos preletores) */
.overlay-image,
.overlay-hover,
.overlay-push {
    pointer-events: none;
}

/* Poeira em laranja e roxo, desenhada pelo main.js */
#particles {
    position: fixed;
    inset: 0;
    z-index: 50;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ---------- Botões: magnéticos, com reflexo e brilho ---------- */
.purpleBtnCTA,
.orangeBtnCTA {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    will-change: transform;
}

/* Reflexo de vidro que acompanha o cursor (--mx/--my vêm do main.js) */
.purpleBtnCTA::before,
.orangeBtnCTA::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
}

/* Faixa de luz que atravessa o botão no hover */
.purpleBtnCTA::after,
.orangeBtnCTA::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.purpleBtnCTA:hover::before,
.orangeBtnCTA:hover::before {
    opacity: 1;
}

.purpleBtnCTA:hover::after,
.orangeBtnCTA:hover::after {
    left: 125%;
    transition: left .8s ease;
}

.orangeBtnCTA:hover {
    box-shadow: 0 10px 40px -8px rgba(232, 77, 13, .65);
}

.purpleBtnCTA:hover {
    box-shadow: 0 10px 40px -8px rgba(108, 43, 217, .7);
}

/* ---------- Fotos dos preletores ---------- */
#speakers .speaker-photo {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

#speakers .speaker-photo .img-preletor {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    /* As fotos já vêm recortadas com a cabeça no mesmo ponto; se alguma
       não for quadrada, o topo (onde está a cabeça) é que fica visível */
    object-position: top;
}

@media (max-width: 767.98px) {
    #speakers .speaker-photo {
        width: 50%;
    }
}

/* Barras roxas: o main.js estica conforme a rolagem */
#bars .bar { transform-origin: left center; }
#bars .reverseBar { transform-origin: right center; }

@media (prefers-reduced-motion: reduce) {
    #particles { display: none; }

    .purpleBtnCTA:hover::after,
    .orangeBtnCTA:hover::after {
        transition: none;
    }
}

/* ---------- Grade de preletores (6 nomes: 3 por linha a partir de 768px, 1 no celular) ---------- */
#speakers .speakers-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: .02em;
    text-underline-offset: .18em;
    text-decoration-thickness: 2px;
}

#speakers .speakers-grid {
    row-gap: 48px;
    justify-content: center;
}

#speakers .speaker-card .speaker-photo {
    max-width: 300px;
}

@media (max-width: 767.98px) {
    #speakers .speakers-grid {
        row-gap: 32px;
    }
}
