/* =========================================================
   01. SISTEMA VISUAL — BRUNA BRU
========================================================= */

:root {

    /* FUNDOS — BRANCO E AZUL-CLARO */
    --bg: #FFFFFF;
    --bg2: #F4F8FB;
    --bg3: rgba(1, 155, 229, .10);

    /* CARDS / SUPERFÍCIES */
    --card: #FFFFFF;
    --card2: #F8FBFD;

    /* CORES PRINCIPAIS — AZUL-MARINHO */
    --primary: #091E31;
    --primary-dark: #061522;

    /* DESTAQUES — AZUL ELÉTRICO */
    --accent: #019BE5;
    --accent-dark: #017BB7;

    /* CORES COMPLEMENTARES */
    --red: #B83232;
    --yellow: #BFEAFF;

    /* TEXTOS */
    --text: #091E31;
    --muted: #5E6B76;
    --text-subtle: #82909B;

    /* TEXTO CLARO */
    --white: #FFFFFF;

    /* TRANSPARÊNCIAS */
    --primary-soft: rgba(9, 30, 49, .05);
    --primary-border: rgba(9, 30, 49, .14);

    --text-soft: rgba(9, 30, 49, .04);
    --text-border: rgba(9, 30, 49, .10);

    --white-soft: rgba(255, 255, 255, .82);

    /* SOMBRAS — SUAVES */
    --shadow: 0 18px 50px rgba(9, 30, 49, .08);

    /* FORMAS */
    --radius: 22px;

    /* ELEMENTOS ESPECIAIS */
    --sticky-text: #FFFFFF;
    --video-bg: #091E31;
    --modal-bg: #FFFFFF;
    --line: rgba(9, 30, 49, .10);
}

/* =========================================================
   02. RESET / BASE
========================================================= */

* {
    box-sizing: border-box
}

/* =========================================================
   03. ESTRUTURA PRINCIPAL
========================================================= */

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    font-family: "DM Sans", sans-serif;
    margin: 0;
    background: var(--primary-dark);
    color: var(--text);
    padding-bottom: 94px;
}

a {
    text-decoration: none;
    color: inherit
}

button {
    color: inherit
}

img,
video {
    display: block;
    max-width: 100%
}

.bio-page {
    background:
        radial-gradient(800px 500px at 50% -10%,
            rgba(217, 154, 32, .12),
            transparent 65%),
        linear-gradient(180deg,
            var(--bg) 0%,
            var(--bg2) 100%);

    max-width: 800px;
    margin: auto;
    padding: 28px 16px 0px
}

/* =========================================================
   04. PERFIL
========================================================= */

.profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 2px 14px
}

.profile-photo-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg,
            var(--primary),
            var(--accent));
    flex: none;
    box-shadow: 0 8px 24px rgba(90, 45, 28, .20);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--bg)
}

.profile-main h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--text);
}

.handle {
    margin: 7px 0 0;
    color: var(--text-subtle);
    font-size: 12px;
}

.handle span {
    color: var(--accent);
    padding: 0 4px
}

/* =========================================================
   05. REDES SOCIAIS
========================================================= */

.socials {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar para a próxima linha */
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 6px 0 18px;
    width: 100%;
    box-sizing: border-box;
}

.social {
    min-width: 43px;
    min-height: 43px;
    flex-shrink: 0;

    border: 1px solid rgba(90, 65, 28, 0.16);
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: rgba(255, 252, 247, 0.55);
    transition: .25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}

.social:hover,
.social:active {
    border-color: #416e80;
    background: #5f9de428;
}

.social svg {
    height: 19px;
}

.social svg path:not(.fill-bg),
.social svg rect,
.social svg circle {
    vector-effect: non-scaling-stroke;
}

.social .fill-bg {
    fill: var(--bg);
    stroke: none;
}

/* =========================================================
   06. CTA PRINCIPAL
========================================================= */

.primary-cta {
    min-height: 60px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: 34px 1fr 28px;
    align-items: center;
    padding: 0 17px;
    background: linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));
    color: var(--white);

    box-shadow:
        0 16px 42px rgba(102, 61, 0, 0.18),
        /* ALTERAR MANUAL */
        inset 0 1px rgba(255, 255, 255, .45);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-align: center;
    transition: .5s;
}

.primary-cta:hover {
    filter: brightness(1.2);
    cursor: pointer;
}

.cta-icon {
    font-size: 20px
}

.cta-arrow {
    font-size: 22px
}

/* =========================================================
   08. IMAGEM PRINCIPAL
========================================================= */

.featured-card {
    position: relative;
    border-radius: 27px;
    overflow: hidden;
    box-shadow:
        0 18px 50px rgba(102, 75, 0, 0.18);
    /* ALTERAR MANUAL */

    border: 1px solid rgba(102, 58, 0, 0.18);
    /* ALTERAR MANUAL */
    margin-bottom: 28px;
}

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

/* =========================================================
   09. SEÇÕES / TÍTULOS
========================================================= */

.section {
    margin-top: 30px
}

.section.compact {
    margin-top: 24px
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 2px;
    max-width: 768px;
    margin: auto;
}

.section-title h2 {
    margin: 0;
    font: 600 21px/1;
    letter-spacing: -.025em;
    color: var(--text);
}

/* =========================================================
   10. CARROSSEL DE SERVIÇOS
========================================================= */

.rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 3px 1px 10px;
    overscroll-behavior-x: contain
}

.rail::-webkit-scrollbar {
    display: none
}

.service-card {
    position: relative;
    flex: 1 0 150px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;

    border: 1px solid var(--accent);
    background: var(--card);

    cursor: pointer;

    box-shadow:
        0 8px 14px rgba(90, 45, 28, .14);

    padding: 0;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.service-card:after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.823),
            transparent 58%);
}

.service-name {
    position: absolute;
    z-index: 2;
    left: 13px;
    right: 9px;
    bottom: 13px;
    font: 500 16px/1.05;
    color: white
}

.service-arrow {
    position: absolute;
    z-index: 2;
    right: 11px;
    top: 11px;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    color: var(--accent);
    font-size: 13px;
}

/* =========================================================
   11. CARROSSEL DE RESULTADOS E FEEDBACKS
========================================================= */

.results-rail,
.feedbacks-rail {
    gap: 10px;
}

.result-card,
.feedback-card {
    display: block;
    flex: 0 0 77%;
    aspect-ratio: 1 / 1;
    height: auto;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    scroll-snap-align: center;
    border-radius: 22px;
    border: 1px solid rgba(139, 30, 30, .12);
    background: var(--card);
    box-shadow: 0 4px 14px rgba(90, 45, 28, .16);
    cursor: pointer;
}

.result-card img,
.feedback-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   12. CARROSSEL DE VÍDEOS
========================================= */

.video-carousel {
    width: 100%;
    position: relative;
    max-width: 768px;
    margin: auto;
}

.video-rail {
    display: flex;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0px 8px 10px !important;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-top: 14px;
}

.video-rail::-webkit-scrollbar {
    display: none;
}

.video-card {
    position: relative;
    flex: 0 0 235px;
    width: 235px;
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    background: var(--video-bg);
}

.video-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    padding-bottom: 10px;
}

/* MOBILE */
@media(max-width:600px) {
    .video-rail {
        gap: 13px;
        padding: 18px 6px 10px;
    }

    .video-card {
        flex: 0 0 205px;
        width: 205px;
        border-radius: 13px;
    }

    .video-pagination {
        gap: 5px;
    }
}

/* =========================================================
   13. ESPAÇO
========================================================= */

.space-card {
    position: relative;
    min-height: 270px;
    border-radius: 25px;
    overflow: hidden;

    border: 1px solid rgba(139, 30, 30, .12);

    box-shadow:
        0 18px 50px rgba(90, 45, 28, .16);
}

.space-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.space-card img {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.space-card a:hover img {
    transform: scale(1.02);
}

/* =========================================================
   14. Workspace
========================================================= */

.ws-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    margin-bottom: 10px;

}

.ws-rail::-webkit-scrollbar {
    display: none
}

.ws-card {
    flex: 0 0 100%;
    padding: 0;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    scroll-snap-align: start;
    background: none;
}

.ws-card a {
    display: block;
    width: 100%;
}

.ws-card img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.muted-mini {
    border: 0;
    background: none;
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 0;
    color: var(--muted)
}


/* =========================================================
   17. BARRA FIXA INFERIOR
========================================================= */

.sticky-actions {
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: calc(10px + env(safe-area-inset-bottom));
    transform: translateX(-50%);

    width: min(calc(100% - 18px), 540px);

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 6px;

    padding: 6px;

    border: 1px solid rgba(255, 255, 255, .15);

    background: rgba(173, 173, 173, 0.36);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 999px;

    box-shadow:
        0 20px 50px rgba(90, 45, 28, .28);
}

.sticky-actions a {
    min-height: 58px;
    border-radius: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    color: var(--white) !important;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
}

.sticky-actions a span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-actions a svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sticky-actions .sticky-main {
    background: #0000008c;
    color: var(--white);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, .65);
}

.sticky-actions #openCart .cart-nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-actions #openCart .cart-count {
  position: absolute;
  top: -7px;
  right: -10px;
  display: grid;
  min-width: 15px;
  height: 15px;
  place-items: center;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0;
}

/* =========================================================
   18. MODAL / DIALOG
========================================================= */

.dialog {
    width: min(92%, 500px);
    border: 1px solid var(--line);
    border-radius: 25px;
    background: var(--modal-bg);
    color: var(--text);
    padding: 0;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .55)
}

.dialog::backdrop {
    background: rgba(5, 3, 2, .78);
    backdrop-filter: blur(5px)
}

.dialog-close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .25);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 3
}

.dialog-body {
    padding: 26px
}

.dialog-body img {
    width: 100%;
    aspect-ratio: 1.3;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 20px
}

.dialog-body .eyebrow {
    color: var(--accent)
}

.dialog-body h3 {
    font: 500 32px/1.05;
    margin: 6px 0 12px
}

.dialog-body p {
    font-size: 12px;
    line-height: 1.65;
    color: var(--muted);
    white-space: pre-line
}

.dialog-body a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    margin-top: 20px
}

/* =========================================================
   19. RESPONSIVIDADE DESKTOP
========================================================= */

@media(min-width:700px) {
    body {
        padding-bottom: 30px
    }

    .bio-page {
        padding-top: 48px
    }

    .sticky-actions {
        width: 440px
    }

    .service-card {
        flex-basis: 160px;
    }

    .result-card {
        flex-basis: 42%
    }

    .video-card {
        flex-basis: 32%
    }
}

/* =========================================================
   20. ACESSIBILIDADE / REDUÇÃO DE MOVIMENTO
========================================================= */

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}

/* =========================================================
   22. BOTÃO AVALIAÇÃO GOOGLE
========================================================= */

.google-review {
    display: flex;
    width: auto;
    padding: 8px 12px;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid rgba(90, 45, 28, .12);
}

.google-review span {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.google-review svg:last-child {
    opacity: 0.6;
}

/* =========================================================
   23. ESTATÍSTICAS
========================================================= */

.results-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    width: 100%;
    margin: 10px 0;
    padding: 4px 0;
    border: 1px solid rgba(101, 78, 36, 0.405);
    /* ALTERAR MANUAL */
    border-radius: 15px;
    background: rgba(255, 252, 247, 0.55);
    /* ALTERAR MANUAL */

}

.result-stat {
    position: relative;
    min-height: 58px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.result-stat strong {
    color: var(--primary);
}

.result-stat+.result-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16%;
    width: 1px;
    height: 68%;
    background: rgba(90, 45, 28, .15);
    ;
}

.result-stat strong {
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.result-stat strong span {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.55;
}

.result-stat small {
    margin-top: 7px;
    font-size: 8px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 1.1px;
    opacity: 0.5;
}

@media (max-width: 380px) {
    .results-stats {
        margin: 12px 0 18px;
    }

    .result-stat {
        padding: 7px 4px;
    }

    .result-stat strong {
        font-size: 17px;
    }

    .result-stat small {
        font-size: 7px;
        letter-spacing: 0.8px;
    }
}

/* DOTS DO CURSO */

#wsDots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin-top: 2px;
    padding: 4px 0 10px;
}

#wsDots i {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 6px;
    height: 6px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(139, 30, 30, .28);
    opacity: 0.7;
    transition: transform 0.3s ease,
        background 0.3s ease,
        opacity 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}

#wsDots i.active {
    width: 7px;
    height: 7px;
    background: var(--accent);
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 8px rgba(217, 154, 32, .42);
}

/* =========================================================
   CATEGORIAS
========================================================= */

#categoryNav {
  margin-top: 10px;
}

.category-nav {
    display: flex;
    align-items: center;
    gap: 8px;

    overflow-x: auto;
    scrollbar-width: none;

    margin-bottom: 0px;
    padding: 3px 2px;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-tab {
    position: relative;
    flex: 0 0 auto;
    border: 1px solid rgba(90, 45, 28, .10);
    background: var(--card);
    padding: 8px 16px;
    border-radius: 15px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

/* Categoria selecionada */
.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 14px rgba(139, 30, 30, .16);
}

/* Remove o antigo indicador inferior */
.category-tab.active::after {
    display: none;
}

/* Efeito ao tocar/clicar */
.category-tab:active {
    transform: scale(.96);
}

/* PAGINAÇÃO UNIFICADA */

#resultsDots,
#feedbacksDots,
#videoPagination,
#wsDots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 4px 0 0;
    padding: 6px 0 10px;
}

#resultsDots>i,
#feedbacksDots>i,
#videoPagination>i,
#videoPagination>.video-pagination-bar,
#wsDots>i {
    box-sizing: border-box !important;
    display: block !important;
    flex: 0 0 7px !important;
    width: 7px !important;
    min-width: 7px !important;
    max-width: 7px !important;
    height: 7px !important;
    min-height: 7px !important;
    max-height: 7px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--muted) !important;
    opacity: .7;
    transform: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background .25s ease, opacity .25s ease;
}

#resultsDots>i.active,
#feedbacksDots>i.active,
#videoPagination>i.active,
#videoPagination>.video-pagination-bar.active,
#wsDots>i.active {
    background: var(--accent) !important;
    opacity: 1;
}



/* =========================================
   SEÇÃO DE DESTAQUE FULL WIDTH
   Fundo de ponta a ponta da tela
========================================= */


/* SEÇÃO EM DESTAQUE */
.section-highlight {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);

    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 36px 0;
    box-sizing: border-box;
}

/* TÍTULO CENTRALIZADO */
.section-highlight .section-title {
    text-align: center;
}

.section-highlight .section-title h2 {
    color: var(--white);
    width: fit-content;
    margin: 0 auto;
}

/* TRAÇO DO TÍTULO */
.section-highlight .section-title h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    margin: 10px auto 0;
    border-radius: 2px;
    background: var(--accent);
}

/* TEXTOS */
.section-highlight p,
.section-highlight small,
.section-highlight .section-description {
    color: rgba(255, 255, 255, 0.76);
}

/* DOTS DOS CARROSSÉIS */
.section-highlight .rail-dots i,
.section-highlight .video-pagination i,
.section-highlight .rail-dots button,
.section-highlight .video-pagination button {
    background-color: rgba(255, 255, 255, 0.30);
    border-color: transparent;
}

/* DOT ATIVO */
.section-highlight .rail-dots .active,
.section-highlight .video-pagination .active,
.section-highlight .rail-dots [aria-current="true"],
.section-highlight .video-pagination [aria-current="true"] {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* CELULAR */
@media (max-width: 576px) {
    .section-highlight {
        padding: 28px 20px;
    }
}


/* =========================
   CURSOS
========================= */

.courses-description {
    max-width: 768px;
    margin: 12px auto 18px;
    padding: 0 2px;
    color: var(--text-subtle);
    font-size: 13px;
    line-height: 1.6;
}

.courses-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 3px 1px 12px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.courses-rail::-webkit-scrollbar {
    display: none;
}

.course-card {
    flex: 0 0 220px;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--text-border, #e5e2df);
    border-radius: 14px;
    background: #fff;
    color: var(--text, #242424);
    text-align: left;
    font: inherit;
    cursor: pointer;
    scroll-snap-align: start;
}

.course-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f5f2ef;
}

.course-card-content {
    padding: 14px;
}

.course-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.course-card p {
    margin: 6px 0 0;
    color: var(--text-subtle);
    font-size: 12px;
    line-height: 1.6;
}

.course-card-action {
    display: inline-block;
    margin-top: 13px;
    font-size: 12px;
    font-weight: 600;
}

.course-card:focus-visible,
.courses-modal-close:focus-visible {
    outline: 2px solid var(--text, #242424);
    outline-offset: 3px;
}

/* Modal */

.courses-modal {
    position: fixed;
    width: min(480px, calc(100% - 28px));
    max-width: 480px;
    max-height: 85vh;
    padding: 0;
    overflow-y: auto;
    border: 1px solid var(--text-border, #e5e2df);
    border-radius: 14px;
    background: #fff;
    color: var(--text, #242424);
}

.courses-modal::backdrop {
    background: rgb(0 0 0 / 45%);
}

.courses-modal-close {
    position: sticky;
    top: 10px;
    float: right;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 10px 10px -42px 0;
    border: 1px solid var(--text-border, #e5e2df);
    border-radius: 50%;
    background: #fff;
    color: var(--text, #242424);
    font-size: 21px;
    cursor: pointer;
}

.courses-modal-image {
    display: block;
    width: 100%;
    max-height: 230px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #f5f2ef;
}

.courses-modal-body {
    padding: 22px;
}

.courses-modal-body h2 {
    margin: 0 0 9px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
}

.courses-modal-category {
    margin: 0 0 12px;
    color: var(--text-subtle);
    font-size: 12px;
}

.courses-modal-description {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}

.courses-modal-block {
    padding-top: 17px;
    margin-top: 17px;
    border-top: 1px solid var(--text-border, #e5e2df);
}

.courses-modal-block h3 {
    margin: 0 0 9px;
    font-size: 14px;
    font-weight: 600;
}

.courses-modal-block p,
.courses-modal-block li {
    font-size: 13px;
    line-height: 1.8;
}

.courses-modal-block p {
    margin: 0;
}

.courses-modal-block ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 480px) {
    .course-card {
        flex-basis: 68%;
    }

    .courses-modal-body {
        padding: 18px;
    }
}

/* =========================
   POP-UP DE AGENDAMENTO
========================= */

/* Mantém o visual original do CTA */
button.primary-cta {
    width: 100%;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

/* Seletor de profissionais */
.professionals-dialog {
    width: min(92%, 460px);
    max-height: 82vh;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    background: var(--card);
    color: var(--text);
    box-shadow: var(--shadow);
}

.professionals-dialog::backdrop {
    background: rgba(20, 15, 12, .58);
    backdrop-filter: blur(4px);
}

.professionals-dialog h2 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: 21px;
}

.professionals-dialog a {
    display: block;
    margin-top: 8px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--card2);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.professionals-dialog a:hover {
    border-color: var(--accent-dark);
    background: var(--card);
}

#closeProfessionals {
    float: right;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--card2);
    color: var(--text);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .professionals-dialog {
        width: 100%;
        max-width: none;
        max-height: 88vh;
        margin: auto 0 0;
        border-radius: 24px 24px 0 0;
    }
}

.professional-option {
    display: grid;
    grid-template-columns: 8fr 1fr 1fr;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--card2);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.professional-option>a {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--card);
    color: var(--primary);
}

.professional-option>a:hover {
    background: var(--accent);
}

.professional-services {
    font-weight: 400;
}

.service-professionals h4 {
    margin: 20px 0 10px;
    color: var(--text);
    font-size: 14px;
}

.service-professionals .professional-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card2);
}

.service-professionals .professional-option strong {
    font-size: 12px;
}

.service-professionals .professional-option a {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    font-size: 10px;
    font-weight: 700;
    margin: 0;
    background: none;
    width: 48px;
    height: 48px;
}

.service-professionals .professional-option a:hover {
    border-color: var(--accent-dark);
    background: var(--card);
}


/* dropdown
 */

 
/* POPUP AVALIAÇÃO GOOGLE */
.google-review-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    background: rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(3px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.google-review-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.google-review-section {
    width: 100%;
    max-width: 380px;
}

.google-review-card {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Botão fechar */
.google-review-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: none;
    border-radius: 50%;
    background: var(--bg2);
    color: var(--muted);

    cursor: pointer;
}

/* Agora não */
.google-review-later {
    display: block;
    width: 100%;

    margin-top: 12px;
    padding: 10px;

    border: none;
    background: transparent;

    color: var(--muted);
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
    transition: color 0.2s ease;
}

.google-review-later:hover {
    color: var(--text);
}

@media (max-width: 480px) {
    .google-review-section {
        max-width: 340px;
    }
}


/* ESTATÍSTICAS DE CREDIBILIDADE — RESULTADOS */

.results-trust-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    margin: 0 auto 0px;
    padding: 18px 28px;

    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 90px;
}

.results-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1;
}

.results-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    flex-shrink: 0;

    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 12px;

    font-size: 20px;
}

.results-trust-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.results-trust-info strong {
    color: var(--text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.results-trust-info small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.results-trust-divider {
    width: 1px;
    height: 38px;
    background: var(--line);
}

/* RESPONSIVIDADE */

@media (max-width: 480px) {
    .results-trust-stats {
        gap: 16px;
        padding: 14px 16px;
        margin-bottom: 0px;
    }

    .results-trust-item {
        gap: 8px;
    }

    .results-trust-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 17px;
    }

    .results-trust-info strong {
        font-size: 20px;
    }

    .results-trust-info small {
        font-size: 8px;
        letter-spacing: 0.3px;
    }

    .results-trust-divider {
        height: 32px;
    }
}
/* Acabamento comum: foco visível, superfícies e ações */
:where(button, a, [tabindex]):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
:where(.category-tab, .primary-cta, .social, .location-button, .service-interest) { transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.category-tab { min-height: 42px; }
.service-card { border-radius: var(--radius); overflow: hidden; }
.service-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.service-name { line-height: 1.35; }
.service-professionals { display: grid; gap: 10px; }
.professional-options { display: grid; gap: 12px; margin-top: 18px; }
.professional-option { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.professional-option strong, .professional-option .professional-services { flex: 1 1 100%; }
.service-interest { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--primary); color: var(--white); font-weight: 700; }
.service-interest:hover { transform: translateY(-1px); background: var(--accent-dark); color: var(--white); }

/* BIOTAP 3.0 — opções e solicitação de atendimento */
.service-card-more {
    position: absolute;
    z-index: 2;
    right: 11px;
    top: 11px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 999px;
    color: #fff;
    background: rgba(30,26,23,.36);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .02em;
}
.service-name { right: 13px; bottom: 13px; }
.service-card:hover .service-card-more { background: var(--accent-dark); border-color: var(--accent-dark); }
.dialog { max-height: min(90dvh, 900px); overflow-y: auto; overscroll-behavior: contain; }
.dialog-close { color: var(--text); background: rgba(255,255,255,.9); }
.dialog-body { padding: 24px; }
.dialog-body img { max-height: 240px; }
.dialog-body h3 { padding-right: 30px; }
.service-options-heading { margin: 24px 0 4px; font-size: 15px; }
.dialog-body .service-options-hint { margin: 0 0 12px; font-size: 11px; }
.service-options-table-wrap {
    max-height: min(42vh, 360px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.service-options-table { width: 100%; min-width: 340px; border-collapse: separate; border-spacing: 0; text-align: left; }
.service-options-table th, .service-options-table td { padding: 10px 11px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.service-options-table thead th { position: sticky; top: 0; z-index: 1; background: var(--card2); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.service-options-table tbody th { min-width: 120px; color: var(--text); font-size: 11px; font-weight: 600; line-height: 1.35; }
.service-options-table tbody td { color: var(--text); font-size: 11px; white-space: nowrap; }
.service-options-table tbody tr:last-child th, .service-options-table tbody tr:last-child td { border-bottom: 0; }
.service-options-table tbody tr:nth-child(even) { background: var(--bg); }
.service-option-price { color: var(--accent-dark); font-size: 11px; font-weight: 700; }
.service-options-table .quantity-control { gap: 7px; }
.service-options-table .quantity-control button { width: 27px; height: 27px; font-size: 16px; }
.service-options-table .quantity-control output { min-width: 14px; font-size: 12px; }
.option-professional-select { width: 100%; min-height: 32px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--text); font-size: 10px; }
.quantity-control { display: flex; align-items: center; gap: 12px; }
.quantity-control button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--primary-border); border-radius: 50%; background: var(--card); color: var(--text); font-size: 19px; line-height: 1; cursor: pointer; }
.quantity-control output { min-width: 18px; text-align: center; font-size: 14px; font-weight: 700; }
.service-add-to-cart, .cart-checkout {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.service-add-to-cart:hover, .cart-checkout:hover { background: var(--accent-dark); color: #fff; }
.sticky-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* ALTERAR CARRINHO */
.sticky-actions button#openCart {
    display: flex;
    min-width: 0;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: var(--white);
    font: 700 8px/1.2 "DM Sans", sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
}
.sticky-actions button#openCart:hover { background: rgba(255,255,255,.12); }
.cart-nav-icon { position: relative; display: flex; }
.cart-nav-icon svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -7px; right: -10px; display: grid; min-width: 15px; height: 15px; place-items: center; padding: 0 3px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 9px; letter-spacing: 0; }
.cart-dialog { width: min(94%, 560px); }
.cart-content-inner { padding: 25px; }
.cart-content-inner h3 { margin: 0 38px 18px 0; font-size: 24px; }
.cart-empty { padding: 20px 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.cart-item-list { display: grid; gap: 10px; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--card2); }
.cart-item>div:first-child { display: grid; gap: 4px; }
.cart-item strong { font-size: 13px; }
.cart-item span { color: var(--muted); font-size: 10px; }
.cart-item .cart-item-price { color: var(--accent-dark); font-weight: 700; }
.cart-item-controls { display: grid; justify-items: end; gap: 8px; }
.quantity-control.compact { gap: 8px; }
.quantity-control.compact button { width: 27px; height: 27px; font-size: 16px; }
.quantity-control.compact output { font-size: 12px; }
.cart-remove { padding: 3px 0; border: 0; background: none; color: var(--muted); font-size: 10px; text-decoration: underline; cursor: pointer; }
.cart-total { margin: 16px 0 8px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--text); font-size: 12px; font-weight: 700; line-height: 1.5; }
.cart-continue { width: 100%; min-height: 42px; margin: 0 0 8px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font-size: 11px; font-weight: 700; cursor: pointer; }
.cart-continue:hover { border-color: var(--accent); color: var(--accent-dark); }
.cart-routing-notice { padding: 12px; border-radius: 12px; background: var(--bg3); color: var(--muted); font-size: 11px; line-height: 1.5; }
.cart-checkout[aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media (max-width: 380px) {
    .sticky-actions { gap: 2px; padding: 5px; }
    .sticky-actions a, .sticky-actions button#openCart { font-size: 7px; }
    .cart-item { align-items: flex-start; }
}
@media (max-width: 440px) {
    .service-options-table th, .service-options-table td { padding: 8px 7px; }
    .service-options-table tbody th { min-width: 110px; }
    .service-options-table { min-width: 320px; }
}
.info-card { height: 100%; }
.hours-toggle { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ajustes */

#servicos {
    margin-top: 0px;
}

#resultsCategoryNav {
    margin-bottom: 10px;
}

#title-feedback {
    margin-bottom: 10px;
}

/* Ícones e personalização da lista de profissionais no pop-up de agendamento */

