/* ==========================================================================
   Marcela Buttazzi | Carreira & Saúde
   Estilos principais (Bootstrap 5.3 + customizações do layout Adobe XD)
   ========================================================================== */

/* ---------- Fontes (arquivos em /fontes) ----------
   Ananda: fonte script do layout (Billy Argel).
   Barlow: fonte base do layout (Google Fonts, licença OFL) hospedada localmente. */
@font-face {
  font-family: "Ananda";
  src: url("../../fontes/Ananda%20Personal%20Use.woff2") format("woff2"),
       url("../../fontes/Ananda%20Personal%20Use.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Ananda Black";
  src: url("../../fontes/Ananda%20Black%20Personal%20Use.woff2") format("woff2"),
       url("../../fontes/Ananda%20Black%20Personal%20Use.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face { font-family: "Barlow"; src: url("../../fontes/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../../fontes/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../../fontes/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../../fontes/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../../fontes/barlow-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../../fontes/barlow-latin-900-italic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  /* Paleta extraída do XD */
  --mb-red: #C7130E;
  --mb-red-2: #C5140F;
  --mb-red-dark: #AC1D19;
  --mb-red-darker: #A81C18;
  --mb-dark: #333333;
  --mb-dark-2: #323232;
  --mb-text: #494949;
  --mb-muted: #707070;
  --mb-bg: #F9F9F9;
  --mb-light: #ECEBEB;
  --mb-white: #FFFFFF;
  --mb-shadow: 0 3px 6px #00000029;
  --mb-shadow-lg: 0 10px 30px rgba(0, 0, 0, .18);

  --font-base: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Ananda", cursive;

  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 40px;

  /* Integração com o Bootstrap */
  --bs-primary: var(--mb-red);
  --bs-primary-rgb: 199, 19, 14;
  --bs-body-font-family: var(--font-base);
  --bs-body-color: var(--mb-text);
  --bs-body-bg: var(--mb-bg);
  --bs-link-color: var(--mb-red);
  --bs-link-hover-color: var(--mb-red-dark);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-base);
  color: var(--mb-text);
  background-color: var(--mb-bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
main > section { overflow-x: clip; }
a { transition: color .2s ease; }
::selection { background: var(--mb-red); color: #fff; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 2000;
  background: var(--mb-red); color: #fff; padding: 8px 16px; border-radius: 30px;
}
.skip-link:focus { left: 16px; }

.font-script { font-family: var(--font-script); font-weight: 400; }
.text-red { color: var(--mb-red) !important; }
.text-dark-mb { color: var(--mb-dark) !important; }
.bg-red { background-color: var(--mb-red-dark) !important; }
.bg-dark-mb { background-color: var(--mb-dark) !important; }
.fw-black { font-weight: 900; }

/* Fundo claro com "seda" (substitua pela imagem do XD se quiser) */
.bg-silk {
  background-color: var(--mb-bg);
  background-image:
    linear-gradient(115deg, transparent 0 30%, rgba(255,255,255,.9) 38%, transparent 46%),
    linear-gradient(160deg, transparent 0 55%, rgba(255,255,255,.8) 62%, transparent 70%),
    linear-gradient(135deg, #f3f3f3 0%, #fafafa 50%, #eeeeee 100%);
}

/* Círculos vermelhos desfocados (decoração do layout) */
.blob {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 40% 40%, var(--mb-red) 0%, var(--mb-red-dark) 60%, rgba(172,29,25,.0) 72%);
  filter: blur(2px);
}
.blob-sm { width: 220px; height: 220px; }
.blob-md { width: 320px; height: 320px; }
.blob-lg { width: 420px; height: 420px; }
.position-relative > .container, .position-relative > .container-fluid { position: relative; z-index: 1; }

/* ---------- Botões ---------- */
.btn { font-weight: 700; border-radius: 50px; transition: all .25s ease; }
.btn-mb {
  background: var(--mb-red); color: #fff; border: 2px solid var(--mb-red);
  padding: .55rem 1.8rem;
}
.btn-mb:hover, .btn-mb:focus-visible { background: var(--mb-red-dark); border-color: var(--mb-red-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--mb-shadow-lg); }
.btn-mb-outline {
  background: transparent; color: var(--mb-red); border: 2px solid var(--mb-red);
  padding: .4rem 1.4rem; text-transform: uppercase; font-size: .9rem;
}
.btn-mb-outline:hover { background: var(--mb-red); color: #fff; }
.btn-mb-white { background: #fff; color: var(--mb-red); border: 2px solid #fff; padding: .45rem 1.6rem; }
.btn-mb-white:hover { background: transparent; color: #fff; }
.btn-mb-ghost { background: transparent; color: #fff; border: 2px solid #fff; padding: .5rem 1.6rem; }
.btn-mb-ghost:hover { background: #fff; color: var(--mb-red); }
.btn-mb-sm { font-size: .85rem; padding: .3rem 1rem; }
.btn-mb-lg { font-size: 1.4rem; padding: .7rem 2.6rem; text-transform: uppercase; }

/* ---------- Títulos de seção ---------- */
.section { padding: 90px 0; position: relative; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; color: var(--mb-dark); }
.title-line { display: flex; align-items: center; gap: 1rem; }
.title-line::after { content: ""; flex: 1; height: 3px; background: var(--mb-red); }
.title-line-both { display: flex; align-items: center; justify-content: center; gap: 1.5rem; text-align: center; }
.title-line-both::before, .title-line-both::after { content: ""; flex: 1; max-width: 220px; height: 2px; background: var(--mb-red); }
.page-title {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; color: var(--mb-dark);
  display: inline-block; padding-bottom: .2rem; border-bottom: 4px solid var(--mb-red);
}

/* ---------- Header / Navbar ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; padding: 22px 0; transition: padding .3s ease; }
.site-header.scrolled { padding: 8px 0; }
.navbar-mb {
  background: #fff; border-radius: 50px; padding: .5rem 1.5rem; box-shadow: var(--mb-shadow);
}
.brand-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand-logo .brand-name { font-family: var(--font-script); color: var(--mb-red); font-size: 1.9rem; }
.brand-logo .brand-sub { color: var(--mb-red); font-size: .8rem; letter-spacing: .12em; text-align: right; margin-top: -2px; }
.brand-logo img { max-height: 48px; }
.navbar-mb .nav-link {
  text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; font-weight: 500;
  color: var(--mb-text); padding: .35rem 1rem !important; border-radius: 30px; margin: 0 .2rem;
}
.navbar-mb .nav-link:hover { color: var(--mb-red); }
.navbar-mb .nav-link.active { background: var(--mb-red); color: #fff; font-weight: 700; }
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(199,19,14,.25); }
@media (max-width: 1199.98px) {
  .navbar-mb { border-radius: 24px; }
  .navbar-mb .navbar-collapse { padding: 1rem 0 .5rem; }
  .navbar-mb .nav-link { margin: .15rem 0; display: inline-block; }
}

/* ---------- Hero (Home) ---------- */
.hero { padding: 170px 0 90px; position: relative; z-index: 2; overflow-x: clip; overflow-y: visible !important; }
.hero-title { font-size: clamp(2rem, 3.3vw, 3.2rem); font-weight: 500; line-height: 1.15; color: var(--mb-text); }
@media (min-width: 768px) { .hero-title .nowrap { white-space: nowrap; } }
.hero-title .font-script { color: var(--mb-text); font-size: 1.15em; }
.hero-title strong { color: var(--mb-red); font-weight: 700; }
.hero-lead { font-size: 1.25rem; color: var(--mb-text); max-width: 520px; }

/* Arco vermelho com a foto + card de vídeo */
.hero-arch {
  position: relative; background: var(--mb-red-dark); border-radius: 300px 300px 40px 40px;
  padding: 0 34px 34px; margin-top: 40px; z-index: 3; box-shadow: var(--mb-shadow-lg);
}
.hero-arch .arch-photo { position: relative; margin-top: -60px; text-align: center; }
.hero-arch .arch-photo::before {
  content: ""; position: absolute; left: 50%; top: 60px; transform: translateX(-50%);
  width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--mb-red);
}
.hero-arch .arch-photo img { position: relative; z-index: 1; max-height: 520px; object-fit: contain; }
.hero-arch .arch-photo .img-placeholder { min-height: 440px; position: relative; z-index: 1; background: transparent; color: #fff; }
/* No desktop, o arco "desce" sobre o painel escuro, como no layout */
@media (min-width: 992px) { .hero-arch { margin-bottom: -460px; } }
.hero-arch h3 { position: relative; z-index: 1; color: #fff; font-weight: 700; font-size: 1.4rem; text-align: center; margin: 1.5rem 0 1rem; }

/* ---------- Bloco escuro Recolocação Xpress ---------- */
.dark-panel { background: var(--mb-dark); color: #fff; border-radius: 40px 40px 40px 0; position: relative; z-index: 1; padding-top: 90px; }
@media (max-width: 991.98px) { .dark-panel { padding-top: 70px; border-radius: 30px 30px 30px 0; } .hero { padding-bottom: 60px; } }
.step-label { display: flex; align-items: center; gap: 1rem; font-size: 1.6rem; font-weight: 500; }
.step-label::after { content: ""; flex: 1; height: 4px; background: var(--mb-red); max-width: 260px; }
.xpress-logo { line-height: .9; margin: 1rem 0 2rem; }
.xpress-logo .font-script { font-size: clamp(3.5rem, 6vw, 5.2rem); color: #fff; display: block; }
.xpress-logo .xpress { font-weight: 900; font-style: italic; font-size: clamp(2.4rem, 4vw, 3.6rem); margin-left: 3.2rem; letter-spacing: .02em; }
.bullet-bar { border-left: 4px solid var(--mb-red); padding: .1rem 0 .1rem 1rem; margin-bottom: 1.4rem; font-size: 1.2rem; max-width: 280px; }
.stat-90 { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.stat-90 .num {
  font-size: clamp(3.5rem, 6vw, 5.6rem); font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #9a9a9a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-90 .label { font-size: 1.15rem; max-width: 200px; line-height: 1.2; }

/* ---------- Vídeo (lite YouTube embed) ---------- */
.video-lite {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: #111 center / cover no-repeat; cursor: pointer; border: 0; padding: 0; box-shadow: var(--mb-shadow-lg);
}
.video-lite img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-lite .play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 50px; border-radius: 14px;
  background: #ff0000; display: grid; place-items: center; transition: transform .2s ease;
}
.video-lite .play::after { content: ""; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-lite:hover .play { transform: scale(1.1); }
.video-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Depoimentos ---------- */
.testimonials { position: relative; padding: 0 60px; }
.testimonials .swiper { padding: 20px 6px 30px; }
.testimonials::before, .testimonials::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.testimonials.on-dark::before { left: 50px; background: linear-gradient(90deg, var(--mb-dark), transparent); }
.testimonials.on-dark::after { right: 50px; background: linear-gradient(270deg, var(--mb-dark), transparent); }
.testimonials.on-red::before { left: 50px; background: linear-gradient(90deg, var(--mb-red-dark), transparent); }
.testimonials.on-red::after { right: 50px; background: linear-gradient(270deg, var(--mb-red-dark), transparent); }
@media (max-width: 767.98px) { .testimonials::before, .testimonials::after { display: none; } .testimonials { padding: 0 40px; } }
.testimonial-card {
  background: #fff; color: var(--mb-text); border-radius: var(--radius); padding: 1.6rem; height: 100%;
  box-shadow: var(--mb-shadow-lg); display: flex; flex-direction: column;
}
.testimonial-card .t-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.testimonial-card .avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-card h4 { font-size: 1.3rem; font-weight: 700; color: var(--mb-dark); margin: 0; }
.testimonial-card blockquote { font-size: .98rem; margin: 0 0 1rem; flex: 1; }
.testimonial-card .t-author { font-size: .85rem; color: var(--mb-text); margin: 0; }
.swiper-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: none; border: 0; color: #fff;
  font-size: 2.6rem; line-height: 1; padding: 0; opacity: .95;
}
.swiper-btn:hover { opacity: 1; transform: translateY(-50%) scale(1.1); }
.swiper-btn.prev { left: 0; } .swiper-btn.next { right: 0; }
.swiper-slide { height: auto; }

/* ---------- Divisões (MB Carreira / MB Saúde) ---------- */
.division-card {
  background: var(--mb-dark); color: #fff; border-radius: var(--radius); padding: 2rem; height: 100%;
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.division-card:hover { transform: translateY(-6px); box-shadow: var(--mb-shadow-lg); }
.division-card h3 { font-size: 2.2rem; font-weight: 700; }
.division-card p { font-size: 1rem; max-width: 300px; flex: 1; }
.division-card .bi { font-size: 3.6rem; line-height: 1; }

/* ---------- Pra quem é ---------- */
.audience-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; box-shadow: var(--mb-shadow-lg);
  display: flex; flex-direction: column; transition: transform .3s ease;
}
.audience-card:hover { transform: translateY(-6px); }
.audience-card h3 { font-size: 1.6rem; font-weight: 500; color: var(--mb-dark); padding: 1.2rem 1.4rem .8rem; margin: 0; }
.audience-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.audience-card .body { padding: 1.2rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.audience-card .body p { font-size: .95rem; flex: 1; margin: 0; }
.audience-card .btn { align-self: flex-start; text-transform: none; font-size: .9rem; }

/* ---------- Vitrine de serviços (cards-imagem) ---------- */
.services-dark { background: var(--mb-dark-2) center / cover no-repeat; color: #fff; position: relative; }
.services-dark::before { content: ""; position: absolute; inset: 0; background: rgba(30,30,30,.82); }
.services-light { background: var(--mb-light) center / cover no-repeat; position: relative; }
.services-light::before { content: ""; position: absolute; inset: 0; background: rgba(236,235,235,.85); }
.services-dark > .container, .services-light > .container { position: relative; z-index: 1; }
.division-title { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 700; line-height: 1; margin: 0; }
.division-sub { font-size: 1rem; margin-top: .3rem; }
.services-group-label { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.2rem; text-align: center; }
.service-tile {
  display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--mb-shadow-lg);
  aspect-ratio: 13 / 20; background: #fff; transition: transform .3s ease, box-shadow .3s ease;
}
.service-tile img { width: 100%; height: 100%; object-fit: cover; }
.service-tile:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.services-divider { border-left: 2px solid rgba(255,255,255,.6); }
@media (max-width: 991.98px) { .services-divider { border-left: 0; border-top: 2px solid rgba(255,255,255,.4); padding-top: 2rem; margin-top: 1rem; } }

/* ---------- Por que escolher ---------- */
.why-title { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--mb-dark); line-height: 1.1; }
.why-title .font-script { color: var(--mb-red); font-size: 1.35em; }
.feature-box {
  display: flex; align-items: center; gap: 1.6rem; background: #fff; border: 1.5px solid var(--mb-dark);
  border-radius: var(--radius); padding: 1.2rem 1.6rem; height: 100%; transition: border-color .2s, box-shadow .2s;
}
.feature-box:hover { border-color: var(--mb-red); box-shadow: var(--mb-shadow); }
.feature-box .bi { color: var(--mb-red); font-size: 2.4rem; flex-shrink: 0; width: 56px; text-align: center; }
.feature-box p { margin: 0; font-size: 1.05rem; color: var(--mb-dark); }

/* ---------- Banner Especialista ---------- */
.expert-banner { background: var(--mb-red-dark); color: #fff; position: relative; margin: 0; }
.expert-banner .photo-wrap { position: relative; align-self: flex-end; }
.expert-banner .photo-wrap::before {
  content: ""; position: absolute; right: -12%; top: 22%; width: 70%; height: 55%; background: #fff; border-radius: 40px 0 0 40px;
}
.expert-banner .photo-wrap img { position: relative; z-index: 1; margin-top: -90px; max-height: 560px; object-fit: contain; }
.expert-banner h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; line-height: 1.1; }
.expert-banner h2 .font-script { font-size: 1.2em; }

/* ---------- Conteúdos gratuitos (home) ---------- */
.content-link {
  display: flex; align-items: stretch; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--mb-shadow-lg); text-decoration: none; height: 130px; transition: transform .25s ease;
}
.content-link:hover { transform: translateX(8px); }
.content-link .thumb { position: relative; width: 52%; flex-shrink: 0; overflow: hidden; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.content-link .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
@media (max-width: 575.98px) { .content-link { height: 96px; } }
.content-link .label { flex: 1; display: flex; align-items: center; justify-content: flex-end; padding: 1rem 1.8rem; font-size: clamp(1.3rem, 2.4vw, 2.2rem); font-weight: 700; color: var(--mb-text); text-align: right; }
.content-link:hover .label { color: var(--mb-red); }

/* ---------- Atendimento SP ---------- */
.sp-section { background: var(--mb-dark); color: #fff; }
.sp-section h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; font-weight: 500; }
.sp-section h2 .font-script { font-size: 1.25em; display: block; }
.sp-section .sp-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--mb-shadow-lg); }
.sp-section .sp-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- Páginas internas ---------- */
.page-hero { padding: 170px 0 60px; text-align: center; }
.course-title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; color: var(--mb-dark); }
.course-text { font-size: 1.3rem; color: var(--mb-dark); }
.course-text strong.big { color: var(--mb-red); font-size: 1.4em; }

.laptop-wrap { position: relative; }
.laptop-wrap::before { content: ""; position: absolute; right: -4%; top: -10%; width: 52%; height: 70%; background: var(--mb-red); border-radius: 30px; z-index: 0; }
.laptop-wrap img { position: relative; z-index: 1; }
.laptop { position: relative; z-index: 1; width: 92%; margin: 0 auto; }
.laptop-screen { background: #1d1d1f; border-radius: 16px 16px 0 0; padding: 3.2% 3.2% 2.4%; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.laptop-screen img { display: block; width: 100%; height: auto; border-radius: 2px; }
.laptop-base { position: relative; height: 14px; margin: 0 -6%; background: linear-gradient(#cfcfd1, #8e8e93); border-radius: 0 0 14px 14px; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 6px; background: #6e6e73; border-radius: 0 0 8px 8px; }

.media-card {
  color: var(--mb-text);
  background: #fff; border-radius: var(--radius); padding: 1.4rem 1.2rem; height: 100%; box-shadow: var(--mb-shadow);
  display: flex; flex-direction: column; text-align: left;
}
.media-card .logo { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 1rem; display: block; }
.media-card h3 { font-size: 1.3rem; font-weight: 500; color: var(--mb-dark); margin-bottom: .4rem; }
.media-card p { font-size: .9rem; margin-bottom: .8rem; }
.media-card time { font-size: .85rem; font-weight: 700; color: var(--mb-dark); display: block; margin-bottom: 1rem; flex: 1; }
.media-card .btn { width: 100%; }
.avatar-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--mb-light); color: var(--mb-red); font-size: 2.2rem; }
.media-grid .media-more { transition: opacity .4s ease; }
.media-grid.collapsed .media-more { opacity: .25; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); pointer-events: none; max-height: 180px; overflow: hidden; }
.btn-more .bi { display: block; font-size: 2rem; color: #fff; transition: transform .3s ease; }
.btn-more[aria-expanded="true"] .bi { transform: rotate(180deg); }

/* Sobre */
.about-hero { padding-top: 170px; position: relative; overflow: hidden; }
.about-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 500; color: var(--mb-dark); line-height: 1.15; }
.highlight-mark { display: inline-block; background: var(--mb-red); color: #fff; padding: 0 .4rem; border-radius: 6px; line-height: 1.25; }
.about-h2 { font-size: 1.9rem; font-weight: 700; color: var(--mb-dark); margin: 2rem 0 .8rem; }
.about-photo { position: relative; }
.about-photo::before { content: ""; position: absolute; left: 4%; top: 18%; width: 34%; height: 62%; background: var(--mb-red); border-radius: 30px; }
.about-photo img { position: relative; z-index: 1; }
.mvv-item { padding: 0 1.6rem; }
.mvv-item + .mvv-item { border-left: 3px solid var(--mb-red); }
@media (max-width: 767.98px) { .mvv-item + .mvv-item { border-left: 0; border-top: 3px solid var(--mb-red); padding-top: 1.4rem; margin-top: 1.4rem; } }
.mvv-item h3 { font-size: 2rem; font-weight: 700; color: var(--mb-dark); display: flex; align-items: center; gap: .6rem; }
.mvv-item h3 .bi { color: var(--mb-red); font-size: 1.8rem; }
.cta-next h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); color: var(--mb-dark); line-height: 1.1; font-weight: 500; }
.cta-next h2 .font-script { font-size: 1.15em; }

/* Contato */
.contact-red { background: var(--mb-red-dark); color: #fff; }
.contact-photo { position: relative; }
.contact-photo::before { content: ""; position: absolute; left: -10%; bottom: -6%; width: 85%; height: 40%; background: #fff; border-radius: 20px; }
.contact-photo img { position: relative; z-index: 1; border-radius: var(--radius); width: 100%; aspect-ratio: 13 / 16; object-fit: cover; }
.form-mb .form-label { font-size: .85rem; margin-bottom: .25rem; }
.form-mb .form-control { border-radius: 6px; border: 0; padding: .6rem .9rem; }
.form-mb .form-control:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.45); }
.form-mb .invalid-feedback { color: #ffd1cf; font-weight: 500; }
.form-mb .form-control.is-invalid { box-shadow: 0 0 0 2px #ffd1cf; }
.contact-list li { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; font-size: 1.2rem; color: var(--mb-dark); }
.contact-list .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--mb-red); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.contact-list a { color: var(--mb-dark); text-decoration: none; }
.contact-list a:hover { color: var(--mb-red); }
.map-wrap { border-radius: 8px; overflow: hidden; border: 1px solid #ccc; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 50px 0 30px; font-size: .9rem; }
.site-footer h4 { font-size: 1.05rem; font-weight: 600; color: var(--mb-text); margin-bottom: .4rem; }
.site-footer h5 { font-size: .9rem; font-weight: 600; color: var(--mb-red); margin-bottom: .2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .15rem; }
.site-footer a { color: var(--mb-text); text-decoration: none; }
.site-footer a:hover { color: var(--mb-red); }
.footer-contact li { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .7rem; }
.footer-contact .bi { color: var(--mb-red); }
.social a {
  width: 32px; height: 32px; border: 1.5px solid var(--mb-red); border-radius: 50%; color: var(--mb-red) !important;
  display: inline-grid; place-items: center; margin-right: 4px; transition: all .2s ease;
}
.social a:hover { background: var(--mb-red); color: #fff !important; }
.footer-bottom { background: var(--mb-light); text-align: center; font-size: .8rem; color: var(--mb-muted); padding: .7rem 0; }

/* ---------- Utilidades ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 96px; z-index: 1040; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--mb-red); color: #fff; box-shadow: var(--mb-shadow-lg); font-size: 1.3rem;
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--mb-red-dark); }

/* Botão flutuante de WhatsApp */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1045; display: inline-flex; align-items: center; gap: .55rem;
  height: 60px; min-width: 60px; padding: 0 18px; border-radius: 30px; background: #25D366; color: #fff !important;
  font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float i { font-size: 1.7rem; line-height: 1; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.3); background: #1ebe5b; }
.whatsapp-float:focus-visible { outline: 3px solid #fff; box-shadow: 0 0 0 6px #25D366; }
@media (max-width: 767.98px) {
  .whatsapp-float { right: 16px; bottom: 16px; padding: 0; justify-content: center; width: 58px; height: 58px; }
  .whatsapp-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .back-to-top { right: 21px; bottom: 86px; }
}
.contact-list .ic-whatsapp { background: #25D366; }
.contact-hint { font-size: .85em; color: var(--mb-muted); }
.contact-list a, .footer-contact a { overflow-wrap: anywhere; }

/* Círculos decorativos: nunca por cima do conteúdo; menores e mais discretos no celular */
main section > .container, main section > .container-fluid { position: relative; z-index: 1; }
@media (max-width: 991.98px) {
  .blob { opacity: .55; }
  .blob-sm { width: 140px; height: 140px; }
  .blob-md { width: 180px; height: 180px; }
  .blob-lg { width: 220px; height: 220px; }
  .about-hero .blob, .expert-banner .blob { display: none; }
}

/* Cards de serviço: "Saiba mais" + modal de detalhes */
.service-tile { position: relative; display: block; }
.service-tile .tile-more {
  position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 6px); white-space: nowrap;
  background: #fff; color: var(--mb-red); font-size: .78rem; font-weight: 700; border-radius: 30px; padding: .3rem .85rem;
  box-shadow: var(--mb-shadow); opacity: 0; transition: all .2s ease; pointer-events: none;
}
.service-tile:hover .tile-more, .service-tile:focus-visible .tile-more { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .service-tile .tile-more { opacity: 1; transform: translate(-50%, 0); } }
.service-modal .modal-content { border: 0; border-radius: var(--radius); overflow: hidden; }
.service-modal .modal-body { padding: 0; }
.service-modal .sm-media { background: var(--mb-dark); display: flex; align-items: center; justify-content: center; padding: 2rem; height: 100%; }
.service-modal .sm-media img { width: 100%; max-width: 230px; border-radius: 16px; box-shadow: var(--mb-shadow-lg); }
.service-modal .sm-content { padding: 2rem 2rem 1.6rem; }
@media (max-width: 767.98px) { .service-modal .sm-media { padding: 1.2rem; } .service-modal .sm-media img { max-width: 120px; } .service-modal .sm-content { padding: 1.4rem 1.3rem; } .service-modal .sm-actions .btn { flex: 1 1 100%; } }
.service-modal .sm-kicker { color: var(--mb-red); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .3rem; }
.service-modal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--mb-dark); margin-bottom: .6rem; }
.service-modal .sm-lead { font-size: 1.05rem; color: var(--mb-dark); font-weight: 500; }
.service-modal .sm-list { list-style: none; padding: 0; margin: 1rem 0; }
.service-modal .sm-list li { position: relative; padding-left: 1.8rem; margin-bottom: .45rem; }
.service-modal .sm-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--mb-red); }
.service-modal .sm-for { background: var(--mb-bg); border-left: 4px solid var(--mb-red); border-radius: 8px; padding: .8rem 1rem; font-size: .95rem; }
.service-modal .sm-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.service-modal .btn-close { position: absolute; top: 14px; right: 14px; z-index: 2; background-color: #fff; border-radius: 50%; padding: .6rem; opacity: .9; }
.btn-whatsapp { background: #25D366; color: #fff; border-radius: 30px; font-weight: 700; padding: .6rem 1.4rem; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }

/* Formulário: grupos de opção (perfil / preferência de contato) */
.form-mb .form-select { border: 0; border-radius: 8px; min-height: 44px; }
.form-mb .choice-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.form-mb .choice-group input { position: absolute; opacity: 0; pointer-events: none; }
.form-mb .choice-group label {
  border: 1.5px solid rgba(255,255,255,.8); border-radius: 30px; padding: .35rem .95rem; cursor: pointer; font-size: .9rem; color: #fff;
  transition: all .15s ease; margin: 0;
}
.form-mb .choice-group input:checked + label { background: #fff; color: var(--mb-red); font-weight: 700; }
.form-mb .choice-group input:focus-visible + label { outline: 3px solid #fff; outline-offset: 2px; }
.form-mb.was-validated .choice-group:has(input:invalid) ~ .invalid-feedback { display: block; }
.form-mb.was-validated .choice-group:has(input:invalid) label { border-color: #ffd1cf; }
.form-mb .form-select:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.45); }
.video-lite.is-pending { cursor: default; }
.video-title { font-size: 1.1rem; font-weight: 700; color: var(--mb-dark); margin: .9rem 0 .15rem; }
.video-sub { font-size: .9rem; color: var(--mb-muted); margin: 0; }

/* Placeholder automático para imagens ainda não exportadas do XD */
:where(.img-placeholder) { width: 100%; height: 100%; min-height: 120px; border-radius: inherit; }
.img-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: .5rem; overflow: hidden;
  background: repeating-linear-gradient(45deg, #e9e9e9 0 12px, #f2f2f2 12px 24px); color: var(--mb-muted);
  font-size: .8rem; font-weight: 600; line-height: 1.2;
}
.about-photo .img-placeholder, .photo-wrap .img-placeholder, .laptop-wrap .img-placeholder, .contact-photo .img-placeholder { min-height: 420px; position: relative; z-index: 1; }
.img-placeholder.avatar { font-size: .6rem; min-height: 0; }
.img-placeholder.logo { font-size: .6rem; min-height: 0; border-radius: 50%; }
.services-dark .img-placeholder, .bg-dark-mb .img-placeholder { background: repeating-linear-gradient(45deg, #b51611 0 12px, #c7130e 12px 24px); color: #fff; }

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