body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9fafa;
    color: #333;
  }

  .profile-banner {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .profile-banner__cover {
    position: relative;
    height: min(22vw, 260px);
    min-height: 180px;
    overflow: hidden;
    background:
      radial-gradient(circle at 18% 30%, rgba(36, 114, 255, 0.16), transparent 22%),
      linear-gradient(90deg, #07173f 0%, #081d52 46%, #0a245f 70%, #0b3171 100%);
  }

  .profile-banner__cover > div {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .profile-banner__base {
    background:
      linear-gradient(115deg, rgba(255, 255, 255, 0.03), transparent 35%),
      linear-gradient(90deg, rgba(4, 14, 42, 0.88) 0%, rgba(4, 17, 47, 0.7) 38%, rgba(5, 24, 64, 0.24) 100%);
    background-size: 140% 140%, 120% 120%;
    background-position: 0% 30%, 0% 50%;
    animation: bannerWash 28s ease-in-out infinite alternate;
  }

  .profile-banner__glow {
    filter: blur(10px);
    mix-blend-mode: screen;
    opacity: 0.5;
  }

  .profile-banner__glow--left {
    background: radial-gradient(circle at 20% 34%, rgba(88, 135, 255, 0.22), transparent 18%);
    animation: bannerPulse 22s ease-in-out infinite alternate;
  }

  .profile-banner__glow--right {
    background: radial-gradient(circle at 82% 30%, rgba(54, 217, 255, 0.28), transparent 24%);
    animation: bannerFloat 26s ease-in-out infinite alternate;
  }

  .profile-banner__dashboard {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    align-items: center;
    gap: 20px;
    padding: 18px 42px 14px;
    pointer-events: none;
    z-index: 1;
  }

  .profile-banner__story {
    align-self: center;
    max-width: 420px;
    padding: 10px 0 10px 8px;
    text-shadow: 0 1px 18px rgba(2, 10, 28, 0.22);
  }

  .profile-banner__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(188, 226, 255, 0.82);
  }

  .profile-banner__headline {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.8vw, 2.55rem);
    line-height: 1.02;
    color: #f6fbff;
    font-weight: 700;
  }

  .profile-banner__dek {
    margin: 0 0 18px;
    max-width: 360px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(224, 240, 255, 0.78);
  }


  .profile-banner__visual {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    min-height: 150px;
  }

  .profile-banner__visual::before {
    content: "";
    position: absolute;
    inset: 16px 12px 14px 12px;
    border-radius: 22px;
    background:
      radial-gradient(circle at 78% 28%, rgba(108, 220, 255, 0.15), transparent 28%),
      radial-gradient(circle at 18% 80%, rgba(72, 146, 255, 0.12), transparent 24%);
    border: 1px solid rgba(136, 200, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }

  .profile-banner__chart {
    position: relative;
    width: min(520px, 100%);
    height: 150px;
    overflow: visible;
    filter: drop-shadow(0 10px 18px rgba(2, 10, 28, 0.18));
  }

  .profile-banner__area {
    fill: url(#areaFill);
    animation: areaBreathe 10s ease-in-out infinite alternate;
  }

  .profile-banner__stroke {
    fill: none;
    stroke: url(#chartStroke);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 14 10;
    animation: lineFlow 16s linear infinite;
  }

  .profile-banner__points circle {
    fill: #9defff;
    filter: drop-shadow(0 0 10px rgba(118, 228, 255, 0.55));
    transform-box: fill-box;
    transform-origin: center;
    animation: pointPulse 4.5s ease-in-out infinite;
  }

  .profile-banner__points circle:nth-child(2n) {
    animation-duration: 5.5s;
  }

  .profile-banner__bars {
    position: absolute;
    left: 28px;
    right: 36px;
    bottom: 12px;
    display: flex;
    align-items: end;
    gap: 10px;
    height: 84px;
    opacity: 0.75;
  }

  .profile-banner__bars span {
    flex: 1;
    height: var(--h);
    min-height: 16px;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, rgba(120, 230, 255, 0.9), rgba(48, 102, 214, 0.45));
    box-shadow: 0 0 18px rgba(93, 202, 255, 0.16);
    transform-origin: bottom center;
    animation: barFloat 7s ease-in-out infinite alternate;
  }

  .profile-banner__bars span:nth-child(2n) {
    background: linear-gradient(180deg, rgba(144, 188, 255, 0.88), rgba(49, 93, 202, 0.38));
    animation-duration: 8s;
  }

  .profile-banner__bars span:nth-child(3n) {
    background: linear-gradient(180deg, rgba(178, 239, 255, 0.86), rgba(69, 149, 255, 0.42));
    animation-duration: 9s;
  }

  .profile-banner__grid {
    inset: 0 0 0 54%;
    background-image:
      linear-gradient(rgba(118, 201, 255, 0.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(118, 201, 255, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.75) 25%, #000 100%);
    opacity: 0.18;
    animation: gridShift 38s linear infinite;
  }

  .profile-banner__beam {
    inset: -30% 20% -30% 58%;
    background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.32) 49%, rgba(98, 221, 255, 0.18) 52%, transparent 58%);
    transform: translateX(8%);
    opacity: 0.45;
    animation: beamSweep 18s ease-in-out infinite;
  }

  .profile-banner__particles {
    inset: 0;
    background-image:
      radial-gradient(circle at 15% 28%, rgba(255, 255, 255, 0.1) 0 8px, transparent 9px),
      radial-gradient(circle at 33% 55%, rgba(71, 180, 255, 0.08) 0 3px, transparent 4px),
      radial-gradient(circle at 74% 42%, rgba(127, 228, 255, 0.09) 0 3px, transparent 4px),
      radial-gradient(circle at 88% 24%, rgba(255, 255, 255, 0.12) 0 4px, transparent 5px);
    animation: particleDrift 28s ease-in-out infinite alternate;
  }

  .profile-banner__avatar {
    position: absolute;
    left: 50%;
    bottom: -58px;
    width: 190px;
    height: 190px;
    transform: translateX(-50%);
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    background: #fff;
    box-shadow: 0 12px 28px rgba(9, 28, 66, 0.18);
    z-index: 3;
  }

  .profile-banner__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  header {
    position: relative;
    background: #0e1e30;
    color: white;
    padding: 4.6rem 1rem 2rem;
    text-align: center;
  }

  .profile-header {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  @keyframes bannerPulse {
    from { transform: scale(1) translate3d(0, 0, 0); opacity: 0.45; }
    to { transform: scale(1.08) translate3d(2%, -2%, 0); opacity: 0.75; }
  }

  @keyframes bannerWash {
    from { background-position: 0% 30%, 0% 50%; }
    to { background-position: 12% 40%, 8% 60%; }
  }

  @keyframes bannerFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-3%, 3%, 0) scale(1.06); }
  }

  @keyframes bannerDrift {
    from { transform: rotate(-6deg) translateX(0); }
    to { transform: rotate(-2deg) translateX(2%); }
  }

  @keyframes areaBreathe {
    from { transform: translateY(2px) scale(0.995); opacity: 0.78; }
    to { transform: translateY(-2px) scale(1.01); opacity: 1; }
  }

  @keyframes lineFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -120; }
  }

  @keyframes pointPulse {
    0%, 100% { transform: scale(1); opacity: 0.75; }
    50% { transform: scale(1.14); opacity: 1; }
  }

  @keyframes barFloat {
    from { transform: translateY(0) scaleY(0.92); }
    to { transform: translateY(-2px) scaleY(1.04); }
  }

  @keyframes lineSweep {
    from { transform: translateX(-12%); }
    to { transform: translateX(12%); }
  }

  @keyframes gridShift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-20px, 10px, 0); }
  }

  @keyframes beamSweep {
    0% { transform: translateX(16%) translateY(0) rotate(0deg); opacity: 0; }
    15% { opacity: 0.55; }
    50% { transform: translateX(-10%) translateY(2%) rotate(-1deg); opacity: 0.82; }
    85% { opacity: 0.4; }
    100% { transform: translateX(-28%) translateY(3%) rotate(-2deg); opacity: 0; }
  }

  @keyframes particleDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(1.5%, -1.5%, 0); }
  }

  /* Tablet: hide chart visual, show only story text */
  @media (max-width: 900px) {
    .profile-banner__cover {
      height: min(26vw, 220px);
    }
    .profile-banner__dashboard {
      grid-template-columns: 1fr;
      padding: 14px 28px 10px;
    }
    .profile-banner__visual,
    .profile-banner__grid {
      display: none;
    }
    .profile-banner__headline {
      font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    }
    .profile-banner__dek {
      font-size: 0.88rem;
      margin-bottom: 10px;
    }
  }

  /* Mobile: hide dashboard entirely — avatar overlaps the text area */
  @media (max-width: 600px) {
    .profile-banner__cover {
      height: 140px;
      min-height: 140px;
    }
    .profile-banner__dashboard {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .profile-banner__glow--left,
    .profile-banner__glow--right,
    .profile-banner__bars span,
    .profile-banner__stroke,
    .profile-banner__area,
    .profile-banner__points circle,
    .profile-banner__grid,
    .profile-banner__beam,
    .profile-banner__particles {
      animation: none;
    }
  }

  .header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  
  .header-name {
    font-size: 2rem;
    font-weight: bold;
  }
  
  /* Container para contatos + dropdown */
.header-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    /*margin-top: 0.5rem;*/
    flex-wrap: wrap;
  }

  .header-contacts a {
      color: inherit;          /* Usa a cor herdada do elemento pai */
      text-decoration: none;   /* Remove sublinhado */
    }

    .header-contacts a:visited {
      color: inherit;          /* Impede que o link fique roxo ou azul após o clique */
    }

    .header-contacts a:hover {
      text-decoration: underline; /* Opcional: sublinhado no hover */
    }
  
  .custom-dropdown {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1200;
  }

  
  /* Posicionamento do menu suspenso */
.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    background-color: transparent;
    cursor: pointer;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background-color: #ffffff6e;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1201; /* acima do nav */
    display: none;
    flex-direction: column;
    padding: 5px 0;
  }
  
  .custom-dropdown-menu.active {
    display: flex;
  }
  
  .custom-dropdown-menu a {
    padding: 5px;
    display: flex;
    justify-content: center;
  }
  
  .custom-dropdown-menu a img {
    width: 32px;
    height: 20px;
    border-radius: 3px;
  }
  
  .custom-dropdown-menu a:hover {
    background-color: #f0f0f0;
  }

  .custom-dropdown-button {
    background: rgba(14, 30, 48, 0.51) !important; /* mesmo que 51 em hex */
  }
  
  
  .custom-dropdown-button img {
    width: 32px;
    height: 20px;
    border-radius: 3px;
  }
  
  
  .container {
    max-width: 960px;
    margin: auto;
  }

  p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.6;
  }  

  p.subtitle {
    font-size: 1.0rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.75rem;
  }
  
  p.location {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgb(210, 208, 239);
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
  }

  [data-animate="true"] {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s ease-out;
  }
  
  [data-animate="true"].visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  
  
  
  .social-links {
    margin-top: 0rem;
    font-size: 0.9rem;
  }
  
  .social-links a {
    color: #b3cce0;
    text-decoration: none;
  }
  
  .social-links a:hover {
    text-decoration: underline;
  }
  
  #google_translate_element {
    margin-top: 0rem;
  }
  
  nav {
    background: #132238;
    padding: 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 0.5rem;
  }
  
  nav a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  nav a:hover {
    background: #1c324d;
  }
  
  main {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  section {
    margin-bottom: 3rem;
  }

  h1 {
    color: white;
    margin-top: 0px;
    margin-bottom: 0.6rem;
  }
  
  h2 {
    color: #0e1e30;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
    font-size: 1.8rem;
  }
  
  h3 {
    color: #1c324d;
    margin-top: 2rem;
    font-size: 1.3rem;
  }
  
  h4 {
    margin: 0.5rem 0;
    color: #33475b;
    font-size: 1.1rem;
  }
  
  ul {
    padding-left: 1.2rem;
  }
  
  ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }
  
  footer {
    background: #0e1e30;
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    margin-top: 2rem;
  }
  
  .pdf-button {
    text-align: center;
    margin-top: 2rem;
  }
  
  button {
    background: #0e1e30;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s ease;
  }

  section {
    scroll-margin-top: 100px; /* ou equivalente à altura real do nav */
  }
  
  
  button:hover {
    background: #1c324d;
  }
  
  @media (max-width: 768px) {
    .profile-banner {
        margin-top: 0;
        padding: 0;
      }

    .profile-banner__cover {
        height: 150px;
      }

    .profile-banner__avatar {
        left: 50%;
        bottom: -52px;
        width: 154px;
        height: 154px;
        transform: translateX(-50%);
      }

    header {
        padding-top: 4.7rem;
      }

    .profile-header {
        margin-bottom: 0;
      }

    .profile-banner__dashboard {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px 16px 14px;
      }

    .profile-banner__story {
        max-width: none;
        padding: 12px 6px 0;
      }

    .profile-banner__headline {
        font-size: 1.35rem;
      }

    .profile-banner__dek {
        max-width: none;
        margin-bottom: 14px;
        font-size: 0.92rem;
      }

    .profile-banner__chips {
        gap: 8px;
      }

    .profile-banner__chips span {
        padding: 8px 11px;
        font-size: 11px;
      }

    .profile-banner__visual {
        min-height: 112px;
      }

    .profile-banner__visual::before {
        inset: 8px 6px 8px 6px;
      }

    .profile-banner__chart {
        height: 112px;
      }

    .profile-banner__bars {
        left: 14px;
        right: 18px;
        bottom: 10px;
        gap: 7px;
        height: 60px;
      }

    .header-contacts {
        flex-direction: column;
        gap: 8px;
      }
    nav ul {
      flex-direction: column;
    }
  
    nav li {
      margin-bottom: 0.5rem;
    }
  
    main {
      padding: 1rem;
    }
  
    h2 {
      font-size: 1.5rem;
    }
  
    h3 {
      font-size: 1.2rem;
    }
  
    h4 {
      font-size: 1rem;
    }
  }

    /* Ajustes responsivos */
    @media (max-width: 768px) {
        .custom-dropdown {
            margin: 0 auto; /* Centraliza no menu mobile */
        }

        .custom-dropdown-button img {
            width: 28px; /* Reduz tamanho da bandeira em telas pequenas */
            height: 18px;
        }

        .custom-dropdown-menu a img {
            width: 28px;
            height: 18px;
        }
    }

      
      .hero-photo {
        width: 100%;
        overflow: hidden;
        text-align: center; /* Centraliza a imagem horizontalmente */
        margin: 0 auto; /* Centraliza o container */
        max-width: 800px; /* Ajuste conforme necessário */
    }
    
    .hero-photo img {
        width: auto;
        height: auto; /* Mantém a proporção original */
        max-height: 400px; /* Ajuste conforme necessário */
        display: block; /* Remove espaços extras abaixo da imagem */
        margin: 0 auto; /* Centraliza a imagem horizontalmente */
        object-fit: contain; /* Garante que toda a imagem seja visível */
    }

    .wordcloud {
        display: flex;
        justify-content: center;       /* Centraliza horizontalmente */
        align-items: center;           /* Centraliza verticalmente se necessário */
        padding: 1rem;
        width: 100%;
        max-width: 100%;

        overflow: hidden;
        box-sizing: border-box;
    }
    
    .wordcloud img {
        max-width: 100%;               /* Faz a imagem escalar responsivamente */
        height: auto;                  /* Mantém proporção */
        display: block;
        object-fit: contain;
        margin: 30px auto;
    }
    
      
      .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #132238;
        padding: 1rem;
        position: sticky;
        top: 0;
        z-index: 1000;
      }
      
      .nav-brand {
        color: #f0f0f0;
        font-size: 1.2rem;
        font-weight: bold;
        display: none; /* escondido por padrão (desktop) */
      }

      
          
      
      .menu-toggle {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        display: none;
      }
      
      .nav-links {
        display: flex;
      }
      
      .nav-links.show {
        display: flex;
      }
      
      @media (max-width: 768px) {

    .navbar {
        position: relative; /* necessário para o posicionamento absoluto funcionar */
        display: flex;
        justify-content: space-between;
        align-items: center; /* Alinha ambos verticalmente */
        padding: 0.75rem 1rem;
        flex-wrap: nowrap;
        }
    

        .nav-brand {
        font-size: 1.2rem;
        color: #f0f0f0;
        font-weight: bold;
        margin: 0;
        padding: 0;
        line-height: 1;
        height: 100%;
        display: flex;
        align-items: center; /* Alinha o texto verticalmente */
        }
        
      
        .menu-toggle {
          display: block;
          margin-left: auto;
          margin-top: -2.2rem;
          background: none;
          border: none;
          color: #fff;
          font-size: 1.8rem;
          cursor: pointer;
        }
      
        .nav-links {
          display: none;
          flex-direction: column;
          width: 100%;
          background-color: #132238;
          margin-top: 1rem;
        }
      
        .nav-links.show {
          display: flex;
        }
      
        .nav-links li {
          text-align: center;
          padding: 0.5rem 0;
        }
      }
    
      .social-links {
          display: inline-block; /* Mostra na versão web */
          margin-left: 10px;
          vertical-align: middle;
      }

      .social-links a {
          text-decoration: none;
          color: inherit;
      }

body > .goog-te-banner-frame.skiptranslate,
body > .goog-te-spinner-pos,
body > #goog-gt-tt,
body > .goog-te-balloon-frame {
display: none !important;
visibility: hidden !important;
height: 0 !important;
}

body {
    top: 0 !important;
  }
  
.qa-category {
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fdfdfd;
  padding: 0.5rem 1rem;
}

.qa-category summary {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2b5b84;
  cursor: pointer;
  padding: 0.4rem 0;
}

.qa-category[open] {
  background: #f5faff;
  border-color: #5b9bd5;
}

.qa-items {
  margin-left: 1rem;
  margin-top: 0.5rem;
}

.qa-item summary {
  cursor: pointer;
  font-weight: 500;
  padding: 0.3rem 0;
}

.qa-answer {
  margin: 0.5rem 0 1rem 1rem;
  line-height: 1.6;
}

.qa-intro {
  font-size: 1rem;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.experience-item, .entrepreneurship-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
}

.experience-item summary {
  font-weight: 600;
  font-size: 1.05rem;
  color: #1e3a5f;
  cursor: pointer;
}


.experience-item[open], .entrepreneurship-item[open] {
  background: #f0f8ff;
  border-color: #5b9bd5;
}

.experience-item ul {
  margin-top: 0.75rem;
  padding-left: 1.5rem;
}


          
#chatbox {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.message {
  text-align: left;
  margin: 10px 0;
}
.user { font-weight: bold; }
.ricardo { color: #004aad; }
input[type=text] {
  width: 80%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
#loading {
  margin-top: 10px;
  font-style: italic;
  color: #777;
}

.chat-input-container {
  display: flex;
  align-items: center;
  background: #edebeb;
  border: 1px solid #ccc; /* menos visível */
  border-radius: 24px;     /* mais suave */
  padding: 6px 10px;
  margin-top: 1em;
  max-width: 100%;
  box-shadow: 0 0 4px rgba(0,0,0,0.05);
}
.chat-input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  width: 100%;
  font-size: 14px;
}

.chat-send-btn {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


.chat-send-btn:hover {
  background-color: #333;
}

.chat-send-btn:active {
  transform: scale(0.92);
}

/* Botão flutuante no canto inferior direito */
#chat-toggle-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background-color: transparent;
  border: none;
  width: 78px;
  height: 78px;
  z-index: 9999;
  cursor: pointer;
  border-radius: 50%;
  isolation: isolate;
  overflow: visible;
  transition: transform 0.28s ease, filter 0.28s ease;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.24));
  z-index: 9999;
}

#chat-toggle-btn::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(37, 177, 255, 0.3), rgba(37, 177, 255, 0));
  box-shadow:
    0 0 0 1px rgba(37, 177, 255, 0.18),
    0 0 22px rgba(37, 177, 255, 0.24);
  z-index: 0;
  pointer-events: none;
  animation: chatGlowPulse 3.6s ease-in-out infinite;
}

#chat-toggle-btn:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
}

#chat-toggle-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 90px;
  right: -2px;
  background: linear-gradient(135deg, #0e5f9d, #1683cf);
  color: #fff;
  padding: 7px 11px;
  font-size: 12.5px;
  border-radius: 9px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 99999;
}

#chat-toggle-btn:hover::after {
  opacity: 1;
}

.chat-send-btn i {
  transition: transform 0.2s ease, opacity 0.2s;
}

#floating-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #0d1b2a;
  color: #ddd;
  font-size: 0.85em;
  text-align: center;
  padding: 10px 12px 10px; /* espaço para o avatar */
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#floating-footer.show {
  opacity: 1;
  visibility: visible;
}

/* 👇 Responsivo para mobile */
@media (max-width: 768px) {
  #floating-footer .content {
    width: 75vw;
    padding-left: 15px;
    text-align: center;
  }
}


#nav-sentinel {
  height: 0px;
}


.chat-toggle-img {
  width: 166px;  /* maior que o botão */
  height: auto;
  position: absolute;
  bottom: 8px;
  right: 0;
  transform: translate(22%, 18%);
  pointer-events: none; /* evita clicar na imagem */
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(37, 177, 255, 0.35));
  animation: chatAvatarGlow 3.6s ease-in-out infinite;
}

@keyframes chatGlowPulse {
  0%, 100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.07);
  }
}

@keyframes chatAvatarGlow {
  0%, 100% {
    filter: drop-shadow(0 0 9px rgba(37, 177, 255, 0.28));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(37, 177, 255, 0.5));
  }
}

.chat-disclaimer {
  font-size: 11px;
  color: #777;
  margin-top: 8px;
  text-align: center;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Modal principal */
#chat-modal {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 360px;
  max-height: 80vh;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 9998;
  display: flex;
  flex-direction: column;
}

#chat-modal.hidden {
  display: none;
}

/* Container interno com scroll */
#chatbox {
  display: flex; 
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  max-height: 70vh;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #222;
}

/* Título e subtítulo */
#chatbox h2 {
  margin-top: 0;
  font-size: 20px;
  font-weight: bold;
}

#chatbox p {
  margin-bottom: 16px;
  line-height: 1.4em;
}

/* Histórico de mensagens */

#history {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 60vh;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
}

#history {
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
}

@keyframes wave {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(10deg); }
  30% { transform: rotate(-8deg); }
  45% { transform: rotate(6deg); }
  60% { transform: rotate(-4deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

#chat-toggle-btn.animate-once {
  animation: wave 1.2s ease-in-out;
}

/* Campo de entrada e botão */
.chat-input-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  flex-grow: 1;
  font-size: 14px;
  outline: none;
}

.chat-send-btn {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}

.chat-send-btn:hover {
  background-color: #0056b3;
}

/* Estilo do loading (se tiver) */
#loading {
  margin-top: 8px;
  font-style: italic;
  color: #888;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  #chat-modal {
    left: 10px;
    right: 10px;
    bottom: 80px;
    width: auto;
    max-width: 100%;
    max-height: 80vh;
  }

  #chatbox {
    max-height: 65vh;
    padding: 16px;
  }

  #chat-toggle-btn {
    width: 58px;
    height: 58px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }

  #chat-toggle-btn::before {
    inset: 9px;
  }

  .chat-toggle-img {
    width: 124px;
    transform: translate(18%, 14%);
  }

  .chat-send-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
.chat-message {
  max-width: 80%;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  line-height: 1.4em;
  word-wrap: break-word;
  font-size: 14px;
}

/* Mensagem do usuário */
.chat-message.user {
  align-self: flex-end;
  background-color: #dcf8c6;
  color: #333;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

/* Mensagem do bot */
.chat-message.bot {
  align-self: flex-start;
  background-color: #f1f0f0;
  color: #111;
  border-bottom-left-radius: 4px;
  margin-right: auto;
}

.chat-message-content p {
  margin: 0 0 8px 0;
}

.chat-message-content p:last-child {
  margin-bottom: 0;
}

.chat-message-content ol,
.chat-message-content ul {
  margin: 8px 0;
  padding-left: 20px;
}

.chat-message-content li {
  margin: 4px 0;
}

#history {
  display: flex;
  flex-direction: column;
}
/* Topo fixo do chat com imagem */
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  background-color: #e0f0ff; /* soft blue */
  padding: 12px 16px;
  border-bottom: 1px solid #c0dff2;
  z-index: 2;
}

.chat-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #0077cc;
}

#chat-close-btn {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  font-size: 22px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-close-btn:hover {
  background-color: #0056b3;
}


.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-avatar-large {
  width: 64px;
  height: auto;
  margin-right: 12px;
  object-fit: contain;
}



.chat-subtitle {
  padding: 8px 16px;
  font-size: 13px;
  color: #333;
  background-color: #f9fbfd;
  margin: 0;
}

.chat-trustline {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px 8px 16px;
  margin: 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: #5f6f81;
  background: #f9fbfd;
  border-top: 1px solid #e6eef5;
}

.chat-trustline-icon {
  font-size: 12px;
  line-height: 1;
  opacity: 0.9;
}

.chat-mic-btn {
  background-color: #f5f9f6;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}

.chat-mic-btn.hands-free-active {
  background-color: #1f7a4a;
  box-shadow: 0 0 0 2px rgba(31, 122, 74, 0.18);
}

/* Responsivo para celular */
@media (max-width: 480px) {
  .chat-mic-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

.nav-current-section {
  position: absolute;
  bottom: -22px; /* depende da altura do texto */
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* visivelmente translúcido */
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 4px 0;
  backdrop-filter: blur(4px); /* efeito "glass" */
  z-index: 999;
  pointer-events: none;
  font-weight: 500;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 769px) {
  .nav-current-section {
    display: none;
  }
}

.copy-btn {
  background: #f0f0f0;
  color:grey;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.copy-btn:hover {
  background: #e0e0e0;
}

.chat-message {
  position: relative;
}



.image-comparison {
  width: 100%;
  overflow: hidden;
}

.images-container {
  position: relative;
  width: 100%;
  aspect-ratio: 27 / 9;
  overflow: hidden;
}

.images-container img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.before-image {
  z-index: 2;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.1s ease-out;
}

.after-image {
  z-index: 1;
}

.slider-line {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: #00ffff;
  z-index: 3;
  pointer-events: none;
}

.slide-left-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffffcc;
  font-size: 14px;
  font-family: sans-serif;
  z-index: 10;
  opacity: 1; /* força visibilidade agora */
  background-color: rgba(0, 0, 0, 0.2); /* temporário para debug */
}


.slide-left-hint .arrow-icon {
  margin-top: 4px;
  width: 12px;
  height: 12px;
  border: solid #00ffff;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(135deg);
  animation: bounceLeft 1s infinite alternate;
}


@keyframes fadeInHint {
  to {
    opacity: 1;
  }
}

@keyframes bounceLeft {
  from {
    transform: rotate(135deg) translateX(0);
  }
  to {
    transform: rotate(135deg) translateX(-8px);
  }
}

a.btn-link {
  display: inline-block;
  padding: 6px 12px;
  margin: 4px 6px 4px 0;
  background-color: #007acc;
  color: #fff !important;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease, box-shadow 0.2s ease;
}

a.btn-link:hover {
  background-color: #005fa3;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* TrademarkIQ & Busca de Marcas - Venture Brand Accent */
.venture-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 157, 77, 0.12), rgba(255, 193, 7, 0.08));
  border: 1px solid rgba(255, 157, 77, 0.25);
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 157, 77, 0.9);
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* Experience items with venture accent */
.experience-item {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 4px solid rgba(104, 231, 255, 0.3);
  background: rgba(104, 231, 255, 0.02);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.experience-item:has(summary:contains("TrademarkIQ")),
.experience-item:has(summary:contains("Busca de Marcas")) {
  border-left-color: rgba(255, 157, 77, 0.5);
  background: rgba(255, 157, 77, 0.03);
}

.experience-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 6px 0;
  color: #0a3171;
  transition: color 0.25s ease;
  user-select: none;
}

.experience-item summary:hover {
  color: rgba(255, 157, 77, 0.85);
}

.entrepreneurship-item {
  border-left: 4px solid rgba(255, 157, 77, 0.6);
  padding-left: 18px;
  margin-bottom: 16px;
}

.entrepreneurship-item summary {
  font-weight: 600;
  color: #0a3171;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.25s ease;
  user-select: none;
}

.entrepreneurship-item summary:hover {
  color: rgba(255, 157, 77, 0.85);
}

/* Motion enhancement for venture cards on focus */
.experience-item[open] {
  box-shadow: 0 2px 12px rgba(255, 157, 77, 0.08);
}

.entrepreneurship-item[open] {
  box-shadow: 0 2px 12px rgba(255, 157, 77, 0.12);
}


#cv-document { display: none; }
@page { size: A4; margin: 0; }
@media print {
  html, body { margin: 0 !important; padding: 0 !important; height: auto !important; overflow: visible !important; background: #fff !important; }
  body.cv-print-ready > :not(#cv-document) { display: none !important; }
  body.cv-print-ready #cv-document { display: block !important; font: 8.5pt/1.36 Arial, Helvetica, sans-serif; color: #263849; }
  #cv-document *, #cv-document *::before, #cv-document *::after {
    box-sizing: border-box; margin: 0; padding: 0; font-size: inherit; font-family: inherit; color: inherit; line-height: inherit; background-image: none; box-shadow: none; text-shadow: none;
    animation: none !important; transition: none !important; transform: none !important;
    filter: none !important; backdrop-filter: none !important; opacity: 1 !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  #cv-document .cv-sheet {
    position: relative; width: 210mm; min-height: 297mm; padding: 11mm 11mm 18mm;
    background: #fff; break-after: page; page-break-after: always;
  }
  #cv-document .cv-sheet:last-child { break-after: auto; page-break-after: auto; }
  #cv-document .cv-running { display: flex; align-items: center; gap: 3mm; border-bottom: .25mm solid #ccd3d7; padding-bottom: 3mm; color: #526472; font-size: 6.5pt; letter-spacing: 1.2pt; }
  #cv-document .cv-running span:first-child { font: 700 17pt/1 Georgia, serif; letter-spacing: -1pt; color: #142d40; }
  #cv-document .cv-running span:last-child { margin-left: auto; font-size: 6pt; }
  #cv-document .cv-footer { background: transparent; text-align: left; position: absolute; bottom: 9mm; left: 11mm; right: 11mm; display: flex; justify-content: space-between; gap: 3mm; padding-top: 3mm; border-top: .25mm solid #d2d8dc; color: #526472; font: 5.8pt/1.3 Arial, sans-serif; letter-spacing: .4pt; }
  #cv-document .cv-footer a { color: inherit; text-decoration: none; }
  #cv-document .cv-hero { position: relative; display: flex; justify-content: space-between; gap: 8mm; padding: 6mm 7mm; margin: 5mm 0 0; background: #142d40; color: #fff; border: 0; text-align: left; }
  #cv-document .cv-hero-text { flex: 1; min-width: 0; }
  #cv-document .cv-kicker { font: 700 6.6pt/1.4 Arial, sans-serif; letter-spacing: 1.5pt; color: #aa6746; text-transform: uppercase; }
  #cv-document .cv-hero .cv-kicker { color: #e1b393; }
  #cv-document .cv-name { display: flex; flex-direction: column; margin: 4mm 0; color: #fff; font: 700 39pt/.95 Arial, sans-serif; letter-spacing: -1.6pt; }
  #cv-document .cv-name em { color: #e1b393; font: italic 43pt/1 Georgia, 'Times New Roman', serif; letter-spacing: -1.5pt; }
  #cv-document .cv-position { margin-top: 3mm; color: #fff; font: 10pt/1.3 Georgia, serif; }
  #cv-document .cv-contact { margin-top: 4mm; color: #d9e1e5; font-size: 6.6pt; line-height: 1.6; }
  #cv-document .cv-contact p { color: inherit; font-size: inherit; margin-bottom: 0; }
  #cv-document .cv-contact a { color: #d9e1e5; text-decoration: none; }
  #cv-document .cv-portrait { flex: 0 0 40mm; align-self: center; height: 43mm; border: .5mm solid #c49a7f; padding: 1.4mm; }
  #cv-document .cv-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
  #cv-document .cv-monogram { font: italic 50pt Georgia, serif; color: #e1b393; align-self: center; }
  #cv-document .cv-metrics, #cv-document .cv-proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; padding: 4mm 0; border-bottom: .3mm solid #bdc9cf; margin-bottom: 5mm; }
  #cv-document .cv-metric { border-left: .6mm solid #b77854; padding-left: 3mm; }
  #cv-document .cv-metric strong { display: block; color: #142d40; font: 700 25pt/1 Arial, sans-serif; letter-spacing: -1pt; }
  #cv-document .cv-metric span { display: block; margin-top: 1.5mm; color: #566774; font: 6.5pt/1.3 Arial, sans-serif; }
  #cv-document .cv-grid { display: grid; gap: 6mm; align-items: start; }
  #cv-document .cv-profile { grid-template-columns: 1.45fr 1fr; gap: 7mm; }
  #cv-document .cv-equal { grid-template-columns: 1fr 1fr; }
  #cv-document .cv-label { display: block; margin: 0 0 3mm; padding: 0 0 2mm; color: #9e5e3f; border: 0; border-bottom: .3mm solid #c7a994; font: 700 7pt/1.3 Arial, sans-serif; letter-spacing: 1pt; text-transform: uppercase; break-after: avoid; }
  #cv-document p { margin-bottom: 2.5mm; line-height: 1.32; orphans: 3; widows: 3; }
  #cv-document ul { list-style: none; margin: 2mm 0 4mm; padding: 0; }
  #cv-document li { position: relative; padding-left: 3mm; margin-bottom: 1mm; line-height: 1.3; orphans: 3; widows: 3; }
  #cv-document li::before { position: absolute; left: 0; top: .62em; content: ''; width: 1mm; height: 1mm; background: #ae7353; }
  #cv-document strong { font-weight: 700; color: #142d40; }
  #cv-document a { color: #98613f; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
  #cv-document .cv-sidebar { padding: 4mm; background: #f0f2f1; border-top: 1mm solid #142d40; font-size: 7.6pt; }
  #cv-document .cv-sidebar .cv-copy > p { display: none; }
  #cv-document .cv-cover .cv-sidebar { padding: 6mm; font-size: 9pt; }
  #cv-document .cv-cover .cv-sidebar li { margin-bottom: 4mm; }
  #cv-document .cv-side-note { margin: 3mm 0 6mm; font-size: 8.5pt; }
  #cv-document .cv-sidebar li { margin-bottom: 2mm; line-height: 1.35; }
  #cv-document .cv-sidebar li strong { display: block; margin-bottom: .7mm; }
  #cv-document .cv-chapter { padding: 5mm 0 4mm; }
  #cv-document .cv-chapter h1 { margin: 2mm 0 3mm; color: #142d40; font: 28pt/1.08 Georgia, serif; letter-spacing: -.8pt; }
  #cv-document .cv-chapter p { margin: 0; color: #657581; font-size: 7pt; letter-spacing: 1pt; }
  #cv-document .cv-role { display: block; padding: 0 0 2mm; margin: 0 0 2mm; border: 0; border-bottom: .25mm solid #dce1e3; break-inside: auto; }
  #cv-document .cv-company { padding: 0; margin: 0 0 1.5mm; color: #142d40; font: 700 11.5pt/1.2 Arial, sans-serif; letter-spacing: -.2pt; break-after: avoid; }
  #cv-document .cv-role-title { padding: 0; margin: 0 0 2mm; color: #9b6547; font: 700 8.2pt/1.3 Arial, sans-serif; break-after: avoid; }
  #cv-document .cv-role ul { margin-bottom: 0; }
  #cv-document .cv-proof-strip { padding: 0 0 5mm; margin-bottom: 6mm; }
  #cv-document .cv-proof-strip .cv-metric strong { font-size: 21pt; }
  #cv-document .cv-copy { display: block; margin-bottom: 6mm; padding: 0; background: transparent; border: 0; }
  #cv-document .cv-copy > ul > li { margin-bottom: 3mm; }
  #cv-document .cv-copy > ul > li > strong:first-child { color: #142d40; }
  #cv-document details { display: block; margin-bottom: 5mm; }
  #cv-document details::details-content { content-visibility: visible; display: block; }
  #cv-document summary { display: block; color: #142d40; font: 700 10pt/1.35 Arial, sans-serif; margin-bottom: 2mm; list-style: none; }
  #cv-document summary::marker, #cv-document summary::-webkit-details-marker { display: none; }
  #cv-document .cv-onepage { padding-top: 9mm; font-size: 8pt; }
  #cv-document .cv-onepage .cv-running { padding-bottom: 2mm; }
  #cv-document .cv-onepage .cv-hero { padding: 6mm; margin-top: 3mm; }
  #cv-document .cv-onepage .cv-name { flex-direction: row; align-items: baseline; gap: 3mm; font-size: 30pt; margin: 3mm 0 0; }
  #cv-document .cv-onepage .cv-name em { font-size: 34pt; }
  #cv-document .cv-onepage .cv-position { font-size: 9pt; margin-top: 2mm; }
  #cv-document .cv-onepage .cv-contact { margin-top: 2mm; font-size: 6.1pt; }
  #cv-document .cv-onepage .cv-portrait { flex-basis: 27mm; height: 32mm; }
  #cv-document .cv-onepage .cv-metrics { padding: 4mm 0; margin-bottom: 4mm; }
  #cv-document .cv-onepage .cv-metric strong { font-size: 21pt; }
  #cv-document .cv-onepage .cv-metric span { font-size: 6pt; }
  #cv-document .cv-one-summary { margin-bottom: 4mm; padding: 0; background: transparent; border: 0; }
  #cv-document .cv-one-summary p { margin-bottom: 0; line-height: 1.4; }
  #cv-document .cv-one-grid { grid-template-columns: 1.8fr 1fr; gap: 6mm; }
  #cv-document .cv-onepage .cv-label { margin-bottom: 2.5mm; font-size: 6.5pt; }
  #cv-document .cv-onepage h3 { font: 700 10pt/1.3 Arial, sans-serif; color: #142d40; margin: 0 0 2mm; }
  #cv-document .cv-onepage li { font-size: 7.9pt; line-height: 1.3; margin-bottom: 1.1mm; }
  #cv-document .cv-onepage ul { margin: 0 0 4mm; }
  #cv-document .cv-onepage .cv-sidebar { padding: 4mm; }
  #cv-document .cv-onepage .cv-sidebar li { font-size: 8pt; margin-bottom: 3mm; }
  #cv-document .cv-onepage .cv-sidebar .cv-label:not(:first-child) { margin-top: 6mm; }
}

@media print {
  #cv-document .cv-sheet:nth-child(3) .cv-role li { font-size: 8.3pt; line-height: 1.28; margin-bottom: .7mm; }
  #cv-document .cv-sheet:nth-child(3) .cv-company { font-size: 11pt; }
  #cv-document .cv-sheet:nth-child(n+3) .cv-chapter { padding: 4mm 0 3mm; }
  #cv-document .cv-sheet:nth-child(n+3) .cv-chapter h1 { font-size: 26pt; margin-bottom: 2mm; }
  #cv-document .cv-sheet:nth-child(n+4) p { margin-bottom: 2mm; }
  #cv-document .cv-sheet:nth-child(6) .cv-sidebar li strong { display: inline; margin: 0; }
  #cv-document .cv-sheet:nth-child(6) .cv-sidebar li { margin-bottom: 1.5mm; }
}
@media print {
  #cv-document .cv-sheet:nth-child(5) p, #cv-document .cv-sheet:nth-child(5) li { font-size: 8.3pt; line-height: 1.3; }
  #cv-document .cv-sheet:nth-child(6) .cv-role li { font-size: 8.3pt; line-height: 1.28; margin-bottom: .7mm; }
  #cv-document .cv-sheet:nth-child(6) .cv-company { font-size: 10.5pt; }
  #cv-document .cv-sheet:nth-child(6) .cv-role-title { font-size: 7.8pt; margin-bottom: 1mm; }
}

@media print {
  #cv-document .cv-role--wide { display: grid; grid-template-columns: 1fr 3fr; gap: 6mm; margin-top: 3mm; padding-top: 3mm; border-top: .25mm solid #dce1e3; }
  #cv-document .cv-role--wide ul { margin: 0; }
  #cv-document .cv-role--wide li { font-size: 8pt; line-height: 1.28; margin-bottom: .7mm; }
  #cv-document .cv-onepage .cv-sidebar li strong { display: inline; margin: 0; }
}
@media print {
  #cv-document .cv-sheet { padding-bottom: 15mm; }
  #cv-document .cv-sheet:nth-child(6) .cv-sidebar .cv-copy > p { display: block; }
}

#cv-print-status { position: fixed; inset: 0; z-index: 2147483647; display: grid; place-items: center; background: rgba(20,45,64,.96); color: #fff; font: 20px Arial, sans-serif; }

@media print {
  #cv-document .cv-sheet { height: 297mm; }
  #cv-document .cv-page-body { display: flow-root; }
  #cv-document .cv-grid > * { min-width: 0; }
  #cv-document .cv-chapter h1, #cv-document .cv-company, #cv-document .cv-role-title, #cv-document summary { overflow-wrap: anywhere; }
  #cv-document .cv-portrait img { display: block !important; visibility: visible !important; max-width: none !important; }
  #cv-document font { font-size: inherit !important; line-height: inherit !important; color: inherit !important; }
}
