  :root {
    --brand-teal: #02818c;
    --brand-teal-dark: #026a73;
    --brand-coral: #ff8873;
    --brand-yellow: #efc778;
    --brand-navy: #002d6b;
    --brand-ink: #0b1f3a;
    --brand-bg: #f6f5f0;
    --brand-muted: #5a6b82;
    --brand-line: #e7ecf3;
    --brand-shadow: 0 10px 28px rgba(11, 31, 58, .08);
    --brand-shadow-teal: 0 10px 24px rgba(2, 129, 140, .28);
    --brand-radius: 1rem;
    --brand-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  body {
    color: var(--brand-navy);
    font-family: var(--brand-font);
  }



  /* ---- Brand / Logo ---- */
  .navbar .brand-logo {
    color: var(--bs-body-color);
    text-decoration: none;
  }

  .navbar .brand-logo:hover {
    color: var(--brand-teal, #0ea5a5);
  }

  .logo-mark {
    display: inline-block;
    flex: 0 0 auto;
  }

  .logo-type {
    display: none;
    height: 24px;
    margin-left: -8px;
  }

  @media (min-width: 420px) {
    .logo-type {
      display: inline-block;
    }
  }

  /* Footer wordmark mínimo, para não pesar visualmente */
  .logo-type-text {
    font-family: Georgia, "Times New Roman", Palatino, serif;
    font-size: 1rem;
    line-height: 1;
    margin-left: -8px;
  } 

  /* Suporte a dark mode (se usar prefers-color-scheme) */
  @media (prefers-color-scheme: dark) {
    .navbar .brand-logo {
      color: #e9ecef;
    }

    .logo-mark rect[fill="#fff"] {
      fill: #0f172a;
    }

    /* folha levemente escura em dark */
  }

  /* Animação sutil na interação */
  .brand-logo .logo-mark {
    transition: transform .2s ease;
  }

  .brand-logo:hover .logo-mark {
    transform: translateY(-1px) scale(1.02);
  }

  /* Ajuste de alinhamento vertical */
  .navbar-brand .logo-mark {
    margin-top: 2px;
  }

  /* ---- FIM Brand / Logo ---- */


  /* ---- Botões elegantes ---- */
  .btn-teal {
    background: linear-gradient(180deg, #04919d 0%, var(--brand-teal) 100%);
    color: #fff;
    border: 0;
    box-shadow: var(--brand-shadow-teal);
    font-weight: 600;
    letter-spacing: .01em;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
  }

  .btn-teal:hover,
  .btn-teal:focus {
    background: linear-gradient(180deg, var(--brand-teal) 0%, var(--brand-teal-dark) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(2, 129, 140, .34);
  }

  .btn-teal:active {
    transform: translateY(0);
    filter: brightness(.96);
  }

  .btn-teal:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .22rem rgba(2, 129, 140, .28), var(--brand-shadow-teal);
  }

  .btn-outline-brand {
    color: var(--brand-navy);
    background: #fff;
    border: 1.5px solid rgba(2, 129, 140, .35);
    font-weight: 600;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  }

  .btn-outline-brand:hover,
  .btn-outline-brand:focus {
    color: #fff;
    background: var(--brand-teal);
    border-color: var(--brand-teal);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(2, 129, 140, .18);
  }

  .btn-outline-brand:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .22rem rgba(2, 129, 140, .22);
  }

  .btn-pill {
    border-radius: 8px;
    padding-inline: 1.15rem;
  }

  .btn-pill.btn-lg {
    padding-block: .65rem;
    padding-inline: 1.35rem;
  }

  .btn-pill.btn-sm {
    font-size: .8rem;
    padding-block: .35rem;
    padding-inline: .85rem;
    white-space: nowrap;
  }

  .cv-card .btn {
    font-size: .78rem;
    white-space: nowrap;
    padding-inline: .7rem;
  }

  .btn i.bi {
    vertical-align: -0.08em;
    opacity: .95;
  }

  .btn-icon {
    width: 2.55rem;
    height: 2.55rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }

  /* Navbar */
  .navbar {
    backdrop-filter: saturate(1.2) blur(8px);
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 1px 0 rgba(11, 31, 58, .04);
  }

  .navbar .nav-link {
    font-weight: 600;
    color: var(--brand-ink);
    padding-inline: .85rem !important;
    transition: color .15s ease;
  }

  .navbar .nav-link:hover,
  .navbar .nav-link:focus {
    color: var(--brand-teal);
  }

  .navbar-brand {
    font-weight: 800;
    color: var(--brand-ink);
    letter-spacing: .3px;
  }

  .navbar-brand span {
    color: var(--brand-teal);
  }

  /* Hero */
  .hero {
    background:
      radial-gradient(90% 70% at 100% 0%, rgba(2, 129, 140, .12), transparent 55%),
      radial-gradient(70% 50% at 0% 100%, rgba(239, 199, 120, .14), transparent 50%),
      linear-gradient(165deg, #f7f6f2 0%, var(--brand-bg) 55%, #eef6f7 100%);
    border-radius: 0 0 0 6rem;
    position: relative;
    overflow: hidden;
  }

  .hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6rem;
    width: 6rem;
    height: 6rem;
    background: #fff;
    border-radius: 0 6rem 0 0;
  }

  .hero-copy {
    max-width: 36rem;
  }

  .hero-brand {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.35rem;
  }

  .hero-logo {
    width: clamp(4.5rem, 10vw, 7rem);
    height: auto;
    flex: 0 0 auto;
    filter: drop-shadow(0 10px 18px rgba(1, 65, 64, .12));
    animation: hero-logo-in .7s ease both;
  }

  .hero-brand-name {
    font-family: Georgia, "Times New Roman", "Palatino Linotype", Palatino, serif;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.15;
    color: var(--brand-navy);
    animation: hero-fade-up .65s ease .08s both;
  }

  .hero-title {
    font-weight: 800;
    color: var(--brand-ink);
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
    animation: hero-fade-up .7s ease .14s both;
  }

  .hero-lead {
    font-size: 1.125rem;
    color: #3d4f6a;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    max-width: 34rem;
    animation: hero-fade-up .7s ease .22s both;
  }

  .hero-copy .cta-tray {
    gap: .75rem;
    animation: hero-fade-up .7s ease .3s both;
  }

  @keyframes hero-logo-in {
    from {
      opacity: 0;
      transform: translateY(10px) scale(.94);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes hero-fade-up {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 575.98px) {
    .hero-brand {
      margin-bottom: 1.1rem;
    }

    .hero-logo {
      width: 4.25rem;
    }
  }

  /* Visual fake do hero (não alterado) */
  .resume-stack {
    position: relative;
    width: clamp(260px, 46vw, 420px);
    aspect-ratio: 3/4;
    margin-inline: auto;
  }

  .resume-card,
  .resume-shadow {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
  }

  .resume-shadow {
    background: #cfd7e6;
    transform: translate(14px, 14px);
    filter: blur(0.5px);
    opacity: .6;
  }

  .resume-card {
    background: #fff;
    border: 1px solid #e9ecef;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
    padding: 1.25rem;
  }

  .resume-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #d9f1f3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-teal);
    font-size: 1.75rem;
    font-weight: 800;
  }

  .line {
    height: 10px;
    border-radius: 6px;
    background: #eef1f6;
  }

  .line.thick {
    height: 14px;
  }

  .line.accent {
    background: #dff1f3;
  }

  .bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dfe3ea;
  }

  /* Trusted */
  .trusted {
    font-size: .95rem;
    color: #3b4a69;
  }

  .logo-chip {
    height: 28px;
    padding: .5rem .85rem;
    border-radius: .75rem;
    background: #fff;
    border: 1px solid #eaecef;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
  }

  .logo-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px 0;
    background: #9fb5d1;
    display: inline-block;
  }

  /* Steps */
  .feature-step {
    height: 100%;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 1.15rem;
    box-shadow: 0 4px 16px rgba(11, 31, 58, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .feature-step:hover {
    transform: translateY(-3px);
    border-color: rgba(2, 129, 140, .28);
    box-shadow: var(--brand-shadow);
  }

  .feature-step h5 {
    color: var(--brand-ink);
    letter-spacing: -.01em;
  }

  .feature-step p {
    color: var(--brand-muted);
    margin-bottom: 0;
    line-height: 1.6;
  }

  .step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: .95rem;
    background: linear-gradient(145deg, #e8f6f7, #d9f1f3);
    color: var(--brand-teal);
    transition: transform .2s ease, box-shadow .2s ease;
  }

  .step-icon.is-coral {
    background: linear-gradient(145deg, #ffb3a4, var(--brand-coral));
    color: #fff;
  }

  .step-icon.is-soft {
    background: linear-gradient(145deg, #dff4f6, #c1ebef);
    color: var(--brand-navy);
  }

  .step-icon svg {
    display: block;
  }

  .feature-step:hover .step-icon {
    box-shadow: 0 8px 18px rgba(2, 129, 140, .18);
    transform: translateY(-2px) scale(1.03);
  }

  .section-kicker {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-teal);
    margin-bottom: .55rem;
  }


  /* Cards/Carousel */
  .cv-card {
    border-radius: 1.15rem;
    border: 1px solid var(--brand-line);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(11, 31, 58, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .cv-card:hover {
    transform: translateY(-3px);
    border-color: rgba(2, 129, 140, .28);
    box-shadow: var(--brand-shadow);
  }

  .cv-thumb {
    background: #fff;
    position: relative;
  }

  .cv-preview-canvas {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-bottom: 1px solid #eef1f6;
  }

  .cv-preview-scale {
    transform-origin: top left;
    position: absolute;
    left: 0;
    top: 0;
  }

  .meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem .5rem;
  }

  .meta-item {
    font-size: .78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: .4rem;
  }

  .meta-item i {
    font-size: .9rem;
  }

  /* FAQ / Footer */
  .accordion-button:not(.collapsed) {
    color: var(--brand-ink);
    background: #e7f7f8;
  }

  .site-footer {
    background: #394d6b;
    color: #fff;
    border-radius: 5rem 0 0 0;
  }

  .site-footer a {
    color: #fff;
    text-decoration: none;
  }

  .site-footer a:hover {
    text-decoration: underline;
  }

  @media (prefers-reduced-motion: reduce) {

    .carousel,
    .carousel * {
      transition: none !important;
      animation: none !important;
    }
  }

  /* ===== Componentes do currículo (usados no card E no modal) ===== */
  .cv-root {
    border: 1px solid #e9ecef;
    border-radius: .75rem;
    overflow: hidden;
    background: #fff;
    width: 780px
  }

  .cv-head {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #eef1f6
  }

  .cv-head img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 3px solid transparent
  }

  .cv-title {
    margin: 0;
    font-weight: 800
  }

  .cv-sub {
    margin: 2px 0 0 0;
    font-size: .95rem
  }

  .cv-cols {
    display: grid;
    grid-template-columns: 240px 1fr
  }

  .cv-left {
    padding: 14px 16px;
    border-right: 1px solid #eef1f6
  }

  .cv-right {
    padding: 14px 16px
  }

  .cv-sec {
    margin-bottom: 12px
  }

  .cv-sec h6 {
    font-weight: 700;
    margin-bottom: .35rem
  }

  .cv-chip {
    font-size: .78rem;
    padding: .25rem .5rem;
    border-radius: .5rem;
    display: inline-block;
    margin: .18rem .2rem .18rem 0;
    background: #eef6f8
  }

  .cv-meta {
    font-size: .88rem;
    color: #64748b;
    display: flex;
    gap: .5rem;
    align-items: center;
    margin: .22rem 0
  }

  .cv-bullet {
    display: flex;
    gap: .5rem;
    margin: .22rem 0
  }

  .cv-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c1ebef;
    margin-top: .45rem
  }

  .cv-link {
    color: inherit;
    text-decoration: none
  }

  .cv-link:hover {
    text-decoration: underline
  }

  /* Temas (aplicados dinamicamente) */
  .theme-dark .cv-root {
    background: #0b1f3a;
    color: #eaf2ff;
    border-color: #0f294f
  }

  .theme-dark .cv-head {
    border-bottom-color: #163a63
  }

  .theme-dark .cv-left {
    background: #0f294f;
    border-right-color: #163a63
  }

  .theme-dark .cv-right {
    background: #0b1f3a
  }

  .theme-dark .cv-sec h6 {
    color: #fff
  }

  .theme-dark .cv-chip {
    background: #103a5a;
    color: #cfe4ff
  }

  .theme-dark .cv-meta {
    color: #cfe4ff
  }

  .theme-dark .cv-dot {
    background: #64b2ff
  }

  /* Modal zoom */
  .zoom-resume {
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    overflow: auto;
    background: #fff;
  }


  /* Template escopado para não conflitar com o resto do site */
  .rcv {
    display: grid;
    grid-template-columns: 32% 1fr;
    height: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
  }

  .rcv-left {
    background: #b03a39;
    color: #fff;
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .rcv-photo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .7);
  }

  .rcv-left h6 {
    font-weight: 800;
    margin: 0 0 6px;
  }

  .rcv-left .rcv-sec {
    font-size: .86rem;
  }

  .rcv-left .rcv-line {
    height: 1px;
    background: rgba(255, 255, 255, .35);
    border: 0;
    margin: 10px 0;
  }

  .rcv-chip {
    display: inline-block;
    font-size: .78rem;
    padding: .28rem .55rem;
    border-radius: .5rem;
    background: rgba(255, 255, 255, .15);
    margin: 0 .35rem .35rem 0;
    border: 1px solid rgba(255, 255, 255, .25);
  }

  .rcv-badge {
    font-size: .78rem;
    font-weight: 700;
    display: block;
    margin-top: 6px;
  }

  .rcv-right {
    padding: 18px 20px;
    color: #0b1f3a;
  }

  .rcv-name {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.15;
    margin: 0;
  }

  .rcv-name .last {
    font-weight: 900;
  }

  .rcv-role {
    margin: 2px 0 0;
    color: #5b6b83;
    font-size: .9rem;
  }

  .rcv-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 22px;
    margin: 12px 0 10px;
    color: #3b4a69;
    font-size: .9rem;
  }

  .rcv-sep {
    height: 2px;
    background: #e6eaf0;
    border-radius: 2px;
    margin: 10px 0 14px;
  }

  .rcv-grid {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 10px 22px;
  }

  .rcv-h {
    text-transform: uppercase;
    letter-spacing: .4px;
    font-weight: 800;
    font-size: .9rem;
    margin: 0 0 6px;
  }

  .rcv-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0aa37a;
    margin-top: .48rem;
    flex: 0 0 auto;
  }

  .rcv-item {
    display: flex;
    gap: .55rem;
    font-size: .92rem;
    color: #3b4a69;
  }

  .rcv-ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .rcv-small {
    font-size: .92rem;
    color: #3b4a69;
  }

  /* garante que o cartão preencha bem o mock do hero */
  .resume-card {
    padding: 0 !important;
    border: 1px solid #e9ecef;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
  }



  /* Swiper dentro do mock do HERO */
  .resume-swiper.swiper {
    width: clamp(260px, 46vw, 420px);
    aspect-ratio: 3/4;
  }

  .resume-swiper .swiper-wrapper,
  .resume-swiper .swiper-slide {
    height: 100%;
  }

  .resume-swiper .swiper-slide {
    display: flex;
    align-items: stretch;
    position: relative;
  }

  .resume-swiper .resume-card,
  .resume-swiper .resume-shadow {
    position: absolute;
    inset: 0;
  }

  .resume-swiper .resume-card {
    z-index: 2;
  }

  .resume-swiper .resume-shadow {
    z-index: 1;
  }

  /* Opcional: botões discretos no mock */
  .resume-swiper .swiper-button-prev,
  .resume-swiper .swiper-button-next {
    --swiper-navigation-size: 22px;
    color: #7a8aa6;
  }

  .resume-swiper .swiper-pagination-bullet {
    background: #94a3b8;
    opacity: .5;
  }

  .resume-swiper .swiper-pagination-bullet-active {
    opacity: 1;
  }


  /* ===== Responsivo do mock do currículo (Swiper do HERO) ===== */

  /* Ajusta o container no mobile */
  @media (max-width: 900px) {
    .resume-swiper.swiper {
      width: min(92vw, 420px);
      aspect-ratio: 3/4;
    }

    /* Força a tipografia a reduzir (sobrepõe o inline 12px) */
    .resume-swiper .resume-card {
      font-size: 11px !important;
      /* antes 12px inline */
      line-height: 1.35 !important;
      border-radius: 1rem;
    }

    /* Foto do perfil dentro da barra lateral (sobrepõe width/height inline) */
    .resume-swiper .resume-card img {
      border-radius: .5rem;
    }

    /* Espaçamentos mais contidos */
    .resume-swiper .resume-card [style*="padding:0.9rem"] {
      padding: 0.75rem !important;
    }

    .resume-swiper .resume-card [style*="margin-bottom:0.8rem"] {
      margin-bottom: 0.6rem !important;
    }

    /* Esconde setas, deixa só os bullets no mobile (evita sobrepor a barra vermelha) */
    .resume-swiper .swiper-button-prev,
    .resume-swiper .swiper-button-next {
      display: none !important;
    }
  }

  /* Telas muito pequenas: aperta mais a fonte/foto */
  @media (max-width: 380px) {
    .resume-swiper .resume-card {
      font-size: 10px !important;
    }

    .resume-swiper .resume-card img {
      width: 56px !important;
      height: 56px !important;
    }
  }

  /* Melhora acessibilidade dos bullets no mock */
  .resume-swiper .swiper-pagination-bullet {
    background: #94a3b8;
    opacity: .55;
  }

  .resume-swiper .swiper-pagination-bullet-active {
    opacity: 1;
  }


  /* ===== Variações de foto do HERO (responsivo incluso) ===== */

  /* Base */
  .hero-photo {
    display: block;
    object-fit: cover;
  }

  /* (A) Foto retangular no topo da sidebar */
  .hero-photo-rect {
    width: 100%;
    height: clamp(120px, 22vw, 160px);
    border-bottom: 4px solid rgba(255, 255, 255, .35);
    /* cor real vem inline se quiser */
    border-radius: .5rem .5rem 0 0;
  }

  /* (B) Foto circular “overlap” (encosta no header da sidebar) */
  .hero-photo-circle-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: .2rem;
    margin-bottom: .8rem;
  }

  .hero-photo-circle {
    width: clamp(68px, 10vw, 92px);
    height: clamp(68px, 10vw, 92px);
    border-radius: 50%;
    border: 3px solid #fff;
    /* cor real pode vir inline */
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  }

  /* (C) Foto com “máscara” diagonal e cantos decorativos */
  .hero-photo-diagonal-wrap {
    position: relative;
    width: 100%;
    padding: 0;
    border-radius: .5rem .5rem 0 0;
    overflow: hidden;
  }

  .hero-photo-diagonal {
    width: 100%;
    height: clamp(120px, 22vw, 160px);
    /* recorte diagonal inferior direito */
    clip-path: polygon(0 0, 100% 0, 100% 76%, 80% 100%, 0 100%);
  }

  /* cantos decorativos (usam a cor da sidebar via inline no wrapper) */
  .hero-photo-diagonal-wrap::before,
  .hero-photo-diagonal-wrap::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background: currentColor;
  }

  .hero-photo-diagonal-wrap::before {
    left: 0;
    top: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }

  .hero-photo-diagonal-wrap::after {
    right: 0;
    top: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
  }

  /* Ajustes no mobile */
  @media (max-width: 576px) {
    .resume-swiper .resume-card {
      font-size: 11px !important;
      line-height: 1.35 !important;
    }

    .hero-photo-circle {
      width: 64px;
      height: 64px;
    }
  }


  /* ===== HERO: variações da foto na sidebar ===== */
  .hero-photo {
    display: block;
    object-fit: cover;
  }

  /* A) Retangular no topo */
  .hero-photo-rect {
    width: 100%;
    height: clamp(120px, 22vw, 160px);
    border-radius: .5rem .5rem 0 0;
  }

  /* B) Retangular com acento vertical (borda direita colorida) */
  .hero-photo-rect-accent-wrap {
    position: relative;
    width: 100%;
    border-radius: .5rem .5rem 0 0;
    overflow: hidden;
  }

  .hero-photo-rect-accent {
    width: 100%;
    height: clamp(120px, 22vw, 160px);
  }

  .hero-photo-rect-accent-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
    /* a cor vem inline no wrapper */
  }

  /* C) Circular, embutida/overlap */
  .hero-photo-circle-wrap {
    display: flex;
    justify-content: center;
    padding: .75rem 0 .5rem;
  }

  .hero-photo-circle {
    width: clamp(68px, 10vw, 92px);
    height: clamp(68px, 10vw, 92px);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  }

  /* D) Diagonal com cantos (máscara) */
  .hero-photo-diagonal-wrap {
    position: relative;
    width: 100%;
    border-radius: .5rem .5rem 0 0;
    overflow: hidden;
  }

  .hero-photo-diagonal {
    width: 100%;
    height: clamp(120px, 22vw, 160px);
    clip-path: polygon(0 0, 100% 0, 100% 76%, 80% 100%, 0 100%);
  }

  .hero-photo-diagonal-wrap::before,
  .hero-photo-diagonal-wrap::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background: currentColor;
  }

  .hero-photo-diagonal-wrap::before {
    left: 0;
    top: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }

  .hero-photo-diagonal-wrap::after {
    right: 0;
    top: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
  }

  /* Mobile: tipografia e tamanhos agradáveis */
  @media (max-width:576px) {
    .resume-swiper .resume-card {
      font-size: 11px !important;
      line-height: 1.35 !important;
    }

    .hero-photo-circle {
      width: 64px;
      height: 64px;
    }
  }


  /* ===== Sidebar: títulos, divisórias e listas ===== */
  .sb-title {
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
    font-size: .92rem;
    margin: 1rem 0 .5rem;
    border-top: 1px solid rgba(255, 255, 255, .25);
    padding-top: .75rem;
  }

  .sb-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: .92rem;
    line-height: 1.4;
  }

  .sb-list li {
    margin: .25rem 0;
  }

  /* ===== Idiomas (barra de proficiência) ===== */
  .lang-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
  }

  .lang-muted {
    font-weight: 400;
    opacity: .9;
    font-size: .9rem;
    margin-bottom: .2rem;
  }

  .lang-meter {
    height: 6px;
    background: rgba(255, 255, 255, .25);
    border-radius: 3px;
    overflow: hidden;
    margin: .15rem 0 .55rem;
  }

  .lang-meter>span {
    display: block;
    height: 100%;
    width: 0%;
    background: #fff;
    opacity: .85;
  }

  /* (opcional) melhor contraste quando sidebar clara */
  .theme-light-sidebar .sb-title {
    border-top-color: rgba(11, 31, 58, .2);
  }

  .theme-light-sidebar .lang-meter {
    background: rgba(11, 31, 58, .15);
  }

  .theme-light-sidebar .lang-meter>span {
    background: #0b1f3a;
    opacity: .65;
  }



  .resume-card ul {
    margin: 0;
  }

  .resume-card li {
    margin: .22rem 0;
  }



  /* HERO mock mais compacto */
  .resume-swiper .resume-card {
    font-size: 10.2px;
    line-height: 1.32;
    padding-bottom: .6rem
  }

  .resume-swiper .resume-card ul {
    margin: 0
  }

  .resume-swiper .resume-card li {
    margin: .14rem 0
  }

  .resume-swiper .resume-card img {
    border-radius: .5rem
  }

  .resume-swiper .resume-card [data-huge] {
    font-size: 1.06rem
  }

  .resume-swiper .resume-card [data-big] {
    font-size: .95rem
  }

  @media (max-width:420px) {
    .resume-swiper .resume-card {
      font-size: 9.4px;
      line-height: 1.30
    }
  }



  /* === Modelos em destaque: neutraliza regras do HERO === */
  #modelos .cv-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    /* defina o ratio desejado (ex.: 3:4) */
    overflow: hidden;
    border-radius: .75rem;
    /* opcional, para manter cantos iguais */
  }

  #modelos .cv-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* preenche sem distorcer */
    display: block;
  }

  #modelos .cv-thumb .resume-card {
    position: static !important;
    /* sai do absolute usado no Swiper */
    inset: auto !important;
    width: 760px;
    /* largura de referência para a escala */
    border-radius: .75rem;
  }

  #modelos .cv-thumb .resume-shadow {
    display: none !important;
  }

  #modelos .cv-thumb .preview-scale {
    transform-origin: top left;
    position: absolute;
    left: 0;
    top: 0;
  }




  /* HERO: deixar o Modelo 1 mais compacto para caber no mock */
  .resume-swiper .m1 {
    /* reduz fonte e dá respiro */
    font-size: 9.6px;
    line-height: 1.32;
    /* lateral um pouco mais estreita */
    grid-template-columns: 232px 1fr;
    /* se ainda sobrar conteúdo, ativa scroll vertical */
    overflow: auto;
  }

  .resume-swiper .m1-head {
    padding: 14px 18px;
  }

  .resume-swiper .m1-name {
    font-size: 1.85rem;
  }

  .resume-swiper .m1-sub {
    font-size: .90rem;
    max-width: 62ch;
  }

  .resume-swiper .m1-body {
    padding: 12px 18px 14px 18px;
  }

  .resume-swiper .m1-side-pad {
    padding: 12px 14px 14px;
  }

  .resume-swiper .m1-list {
    font-size: .92rem;
  }

  .resume-swiper .m1-list li {
    margin: .18rem 0;
  }

  .resume-swiper .m1-contact li {
    margin: .2rem 0;
  }

  .resume-swiper .m1-side hr {
    margin: 8px 0 10px;
  }




  /* === Modelo 5 (timeline) — tipografia e espaçamentos === */
  .cv-timeline {
    /* tipografia base */
    font-family: Inter, "Helvetica Neue", Roboto, Arial, system-ui, sans-serif;
    font-size: 12.2px;
    line-height: 1.45;
    /* espaçamentos do cartão */
    padding: 26px 26px 20px !important;
    border-radius: 1rem;
  }

  .cv-timeline .cv-headline {
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: .2px;
    line-height: 1.1;
    margin: 0 0 4px 0;
  }

  .cv-timeline .cv-contact {
    color: #3b4a69;
    margin-bottom: 6px;
  }

  .cv-timeline .cv-grid {
    display: grid;
    grid-template-columns: 18px 1fr;
    column-gap: 16px;
  }

  .cv-timeline .cv-rail {
    position: relative;
  }

  .cv-timeline .cv-rail::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    border-left: 3px solid #e6eaf0;
  }

  .cv-timeline .cv-sec {
    position: relative;
    margin: .7rem 0 .4rem;
    font-weight: 800;
    color: #0b1f3a;
    letter-spacing: .2px;
  }

  .cv-timeline .cv-sec .cv-dot {
    position: absolute;
    left: -32px;
    top: .45rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #dfe3ea;
  }

  .cv-timeline .cv-small {
    color: #3b4a69;
  }

  .cv-timeline ul {
    padding-left: 1rem;
    margin: 0;
  }

  .cv-timeline li {
    margin: .22rem 0;
  }

  .cv-timeline .cv-two-cols {
    columns: 2;
    column-gap: 22px;
  }



  /* === Zoom em formato A4 === */
  #a4Canvas {
    /* usa medidas reais (imprime perfeito) */
    width: 210mm;
    height: 297mm;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    margin: 0 auto;
    /* centraliza no modal */
    position: relative;
    overflow: hidden;
  }

  /* onde a .resume-card é escalada para caber na folha */
  #a4Canvas .a4-scale {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: top left;
  }

  /* impressão bonitinha */
  @media print {
    @page {
      size: A4;
      margin: 10mm;
    }

    #a4Canvas {
      box-shadow: none;
      border: 0;
      width: 210mm;
      height: 297mm;
    }
  }




  /* === Botão Voltar ao Topo === */
  .to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1040;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--brand-navy), var(--brand-teal));
    color: #fff;
    box-shadow: 0 10px 24px rgba(11, 31, 58, .22);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease;
  }

  .to-top i {
    font-size: 1.25rem;
    line-height: 1;
  }

  .to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(2, 129, 140, .3);
  }

  .to-top:active {
    transform: translateY(0);
  }

  /* FAQ accordion polish */
  #faq .accordion-item {
    border: 1px solid var(--brand-line);
    border-radius: .9rem !important;
    overflow: hidden;
    margin-bottom: .75rem;
    background: #fff;
  }

  #faq .accordion-button {
    font-weight: 700;
    color: var(--brand-ink);
    box-shadow: none !important;
  }

  #faq .accordion-button:not(.collapsed) {
    background: #eef8f9;
    color: var(--brand-teal);
  }

  #faq .accordion-button::after {
    filter: none;
  }

  #faq .accordion-body {
    color: var(--brand-muted);
    line-height: 1.65;
  }

  .trusted {
    font-weight: 600;
    color: var(--brand-muted);
    letter-spacing: .02em;
  }

  @media (max-width: 575px) {
    .to-top {
      right: 16px;
      bottom: 16px;
      width: 52px;
      height: 52px;
    }
  }

  /* fallback se alguém desativa animações */
  @media (prefers-reduced-motion: reduce) {
    .to-top {
      transition: none;
    }

    html {
      scroll-behavior: auto;
    }
  }





  .trusted {
    font-weight: 600;
    color: #444;
  }

  .brand-ticker {
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    padding: 12px 44px;
    /* espaço pros botões */
  }

  .brand-track {
    display: flex;
    gap: 28px;
    align-items: center;
    will-change: transform;
    animation: ticker-auto 28s linear infinite;
  }

  /* Pausa no hover/foco (acessível) */
  .brand-ticker:hover .brand-track,
  .brand-ticker:focus-within .brand-track {
    animation-play-state: paused;
  }

  /* Item */
  .brand-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #fafafa;
    min-width: 140px;
    height: 56px;
  }

  .brand-item img {
    max-height: 34px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(10%);
  }

  /* Controles */
  .brand-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    cursor: pointer;
    line-height: 32px;
    text-align: center;
    font-size: 20px;
    color: #444;
  }

  .brand-prev {
    left: 8px;
  }

  .brand-next {
    right: 8px;
  }

  .brand-ctrl:hover {
    background: rgba(0, 0, 0, .1);
  }

  /* Animação contínua (duplicamos a lista via JS) */
  @keyframes ticker-auto {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }

    /* metade porque duplicamos a sequência */
  }

  /* Responsivo: menos gap em telas pequenas */
  @media (max-width: 576px) {
    .brand-track {
      gap: 16px;
    }

    .brand-item {
      min-width: 120px;
      height: 52px;
    }

    .brand-item img {
      max-height: 30px;
    }
  }

  /* ---- Popup vagas (cronBuscador) ---- */
  .vagas-modal-content {
    border: 0;
    border-radius: 1.35rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 60px rgba(11, 31, 58, .22);
  }

  .vagas-modal-hero {
    position: relative;
    padding: 1.6rem 1.5rem 1.35rem;
    background:
      radial-gradient(90% 70% at 100% 0%, rgba(239, 199, 120, .22), transparent 55%),
      linear-gradient(155deg, #0a2a5c 0%, #02818c 100%);
    color: #fff;
    text-align: center;
  }

  .vagas-modal-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    opacity: .85;
  }

  .vagas-modal-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    margin-bottom: .85rem;
  }

  .vagas-modal-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
    border: 3px solid rgba(255, 255, 255, .95);
  }

  .vagas-modal-logo {
    width: 3.15rem;
    height: auto;
    display: block;
  }

  .vagas-modal-brand-name {
    font-family: Georgia, "Times New Roman", Palatino, serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  }

  .vagas-modal-kicker {
    margin: 0 0 .35rem;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .88;
  }

  .vagas-modal-title {
    margin: 0 auto .45rem;
    max-width: 22rem;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 800;
    line-height: 1.2;
  }

  .vagas-modal-sub {
    margin: 0 auto 1.05rem;
    max-width: 26rem;
    font-size: .92rem;
    line-height: 1.45;
    opacity: .92;
  }

  .vagas-steps {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
  }

  .vagas-step {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    opacity: .55;
  }

  .vagas-step.is-active {
    opacity: 1;
    background: var(--brand-teal);
    border-color: var(--brand-teal);
  }

  .vagas-step-line {
    width: 1.5rem;
    height: 1px;
    background: rgba(255, 255, 255, .35);
  }

  .vagas-modal-body {
    padding: 1.35rem 1.5rem 1.6rem;
  }

  .vagas-label {
    display: block;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: .65rem;
  }

  .vagas-select {
    border-radius: .85rem;
    border-color: #d7dde8;
  }

  .vagas-back {
    color: var(--brand-teal);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: .35rem;
  }

  .vagas-lista {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-height: min(42vh, 360px);
    overflow: auto;
    padding-right: .15rem;
  }

  .vaga-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .65rem 1rem;
    align-items: center;
    padding: .9rem 1rem;
    border: 1px solid #e7ecf3;
    border-radius: 1rem;
    background: linear-gradient(180deg, #fff, #f7fafb);
    transition: border-color .2s ease, transform .2s ease;
  }

  .vaga-card:hover {
    border-color: rgba(2, 129, 140, .45);
    transform: translateY(-1px);
  }

  .vaga-card-title {
    margin: 0 0 .2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-ink);
  }

  .vaga-card-meta {
    margin: 0;
    font-size: .85rem;
    color: #5a6b82;
  }

  .vaga-card .btn {
    white-space: nowrap;
  }

  .vagas-list-meta {
    font-size: .9rem;
    color: #5a6b82;
  }

  .vagas-empty {
    text-align: center;
    padding: 1rem .5rem;
    color: #3d4f6a;
  }

  @media (max-width: 575.98px) {
    .vaga-card {
      grid-template-columns: 1fr;
    }

    .vaga-card .btn {
      width: 100%;
    }
  }