    :root {
      /* Cores */
      --primary-color: #007bff; /* Azul vibrante para botões e links principais */
      --secondary-color: #28a745; /* Verde para destaque ou sucesso (ex: Teste Gratuito) */
      --text-dark: #343a40; /* Texto principal escuro */
      --text-light: #f8f9fa; /* Texto claro (em backgrounds escuros) */
      --bg-light: #ffffff; /* Fundo principal claro */
      --bg-secondary: #f4f7f9; /* Fundo de seções de destaque */
      --border-color: #dee2e6; /* Cor de borda suave */
      --accent-color: #17a2b8; /* Ciano para detalhes ou ícones */
      --color-van: #1a1bad;
      --color-buttom_back: #dedbdb;

      /* Tipografia */
      --font-heading: 'Inter', sans-serif;
      --font-body: 'Montserrat', sans-serif;
    }
    /** {*/
    /*  margin: 0;*/
    /*  padding: 0;*/
    /*  box-sizing: border-box;*/
    /*}*/

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-body);
      color: var(--bg-light);
      /* line-height: 1.6;
      background-color: var(--bg-light);
      overflow-x: hidden; */
    } 

    .ciapa-section {
        max-width: 90%;
        margin: 0 auto;
    }

    h1, .h1, h2, .h2 {
        font-family: var(--font-heading);
    }

    .section-title {
      color: var(--color-van);
      font-size: 1.6em;
      margin-top: 0;
      margin-bottom: 15px;
      border-bottom: 1px solid #eee;
      /* padding-bottom: 10px; */
      /* background: #fff; */
      background-color: var(--color-buttom_back);
      border-radius: 8px;
      line-height: 1.15;
      padding: 6px 10px;
    }

    .sobre {
      align-items: flex-start;
      display: flex;
      /* font-family: "Merriweather", serif; */
      flex-wrap: wrap;
      justify-content: center;
      min-height: 100vh;
      margin: 0;
      padding: 40px 20px;
      gap: 40px;
    }
    .person {
      align-items: center;
      display: flex;
      flex-direction: column;
      /* width: 280px; */
      width: 220px;
      position: relative;
    }

    .container-sobre {
      border-radius: 50%;
      /* height: 312px; */
      height: 240px;
      -webkit-tap-highlight-color: transparent;
      /* transform: scale(0.48); */
      transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
      width: 400px;
      cursor: pointer;
      position: relative;
      z-index: 2;

      transform: scale(0.38); /* Reduzido de 0.48 para 0.38 */
    }

    .container-sobre:hover {
      /* transform: scale(0.54); */
      transform: scale(0.42);
    }

    .container-inner {
      clip-path: path(
        "M 390,400 C 390,504.9341 304.9341,590 200,590 95.065898,590 10,504.9341 10,400 V 10 H 200 390 Z"
      );
      position: relative;
      transform-origin: 50%;
      top: -200px;
    }
    .circle {
      background-color: var(--bg-light);
      border-radius: 50%;
      cursor: pointer;
      height: 380px;
      left: 10px;
      pointer-events: none;
      position: absolute;
      top: 210px;
      width: 380px;
    }
    .img {
      pointer-events: none;
      position: relative;
      transform: translateY(20px) scale(1.15);
      transform-origin: 50% bottom;
      transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
    }
    .container-sobre:hover .img {
      transform: translateY(0) scale(1.2);
    }
    .img1 {
      left: 22px;
      top: 164px;
      width: 340px;
    }
    .img2 {
      left: -46px;
      top: 174px;
      width: 444px;
    }
    .img3 {
      left: -16px;
      top: 144px;
      width: 466px;
    }
    .divider {
      background-color: #ca6060;
      height: 1px;
      width: 160px;
    }
    .name {
      color: var(--color-light);
      font-size: 1.2rem;
      font-weight: 600;
      margin-top: 16px;
      text-align: center;
      line-height: 1;
    }
    .title {
      color: var(--color-light);
      /* font-family: arial; */
      font-size: 14px;
      font-style: italic;
      margin-top: 4px;
      text-align: center;
    }

    /* Modal/Tooltip Styles */
    .person-modal {
      display: none;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      margin-top: 30px;
      z-index: 1;
      /* width: 400px; */
      /* max-width: 90vw; */

      width: 320px; /* Reduzido de 400px para 320px */
      max-width: 90vw;
    }

    /* Linha conectora */
    .person-modal::before {
      content: "";
      position: absolute;
      top: -30px;
      left: 50%;
      transform: translateX(-50%);
      width: 2px;
      height: 30px;
      background: linear-gradient(to bottom, #ca6060, #181818);
    }

    /* Triângulo apontando para cima */
    .person-modal::after {
      content: "";
      position: absolute;
      top: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-bottom: 10px solid #ca6060;
    }

    .modal-checkbox {
      display: none;
    }

    .modal-checkbox:checked ~ .person-modal {
      display: block;
      animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }
    }

    .tab-container {
      list-style-type: none;
      padding: 0;
      margin: 0;
      width: 100%;
      position: relative;
      background: var(--bg-light);
      border-radius: 8px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
      /* border: 2px solid #ca6060; */
      border: 2px solid #acaaaa;
    }

    .tab-container:after {
        content: "";
        display: table;
        clear: both;
    }

    .tab-container ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    /* Header com nome da pessoa */
    .modal-header {
        /* background: linear-gradient(135deg, #ca6060 0%, #181818 100%); */
        /* background: linear-gradient(135deg, #111010 0%, #685f5f 100%); */
        color: var(--bg-light);
        /* padding: 15px 50px 15px 20px; */
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        /* font-size: 20px;
        font-weight: 600; */
        position: relative;

        /* ########## */
        /* width: 100%;
        box-sizing: border-box;
        z-index: 3; */
    }

    .modal-close-btn {
        position: absolute;
        /* top: 12px; */
        top: -40px;
        /* right: 15px; */
        right: 35px;
        background: rgba(255, 255, 255, 0.2);
        color: var(--bg-light);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 20px;
        z-index: 10;
        border: none;
        transition: background 0.3s;
        font-weight: bold;
        line-height: 1;
    }

    .modal-close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .contatos {
        align-content: center;
    }

    .contatos p {
        margin-bottom: 5px;
    }

    .tab-container .arrows {
        display: block;
        /* width: 60px; */
        font-size: 28px;
        bottom: 5px;
        /* right: 10px; */
        position: absolute;
    }

    .tab-container .arrows label {
        display: inline-block;
        cursor: pointer;
        color: #aaa;
        user-select: none;
        margin-left: 5px;
    }

    .tab-container .arrows label:hover {
        color: #333;
    }

    .tab-content-container {
        font-family: var(--font-heading);
    }

    .tab-container .tab-content-container {
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
        height: 0;
        opacity: 0;
        overflow: hidden;
        line-height: 22px;
        background: var(--bg-light);
        position: absolute;
        /* top: 98px; */
        top: 56px;
        width: 100%;
        padding: 0;
        border-top: 0;
    }

    .tab-container .tab-content-container .tab-content {
        opacity: 0;
        /* padding: 20px 60px 20px 20px; */
        padding: 20px;
        /* min-height: 192px;   */
        transition: opacity 0.1s ease-in;
        margin-bottom: 24px;
    }

    .tab-container .tab {
        outline: 0;
        float: left;
        cursor: pointer;
        opacity: 1;
        width: 25%;
        /* line-height: 48px; */
        /* height: 48px; */
        display: block;
        margin: 0;
        position: relative;
        /* background: #f5f5f5; */
        background: #d3cbcb;
        /* color: #333; */
        color: #000;
        text-align: center;
        border-right: 1px solid #ddd;
        transition: all 0.3s;
        /* font-size: 14px; */
        font-weight: 500;

        font-size: 12px; /* Reduzido levemente para as palavras não quebrarem */
        height: 40px;
        line-height: 40px;
    }

    .tab-container .tab:hover {
      background: #e8e8e8;
    }

    .tab-container .tab-toggle {
      display: none;
    }

    .tab-container .tab-toggle:checked + .tab {
      background: var(--bg-light);
      /* color: #ca6060; */
      /* border-bottom: 3px solid #ca6060; */
      font-weight: 600;
    }

    .tab-container .tab-toggle:checked ~ .tab-content-container {
      height: auto;
      opacity: 1;
    }

    .tab-container .tab-toggle:checked ~ .tab-content-container .tab-content {
      opacity: 1;
      color: #000;
      line-height: 1.2;
      /* font-size: .85rem; */
      /* margin-top: 30px;  */
      /* padding: 13px 15px; */

      font-size: 0.75rem; /* Texto levemente menor para caber no quadro reduzido */
        padding: 10px 12px;
    }

    .section-content1 p {
     margin-bottom: 5px !important;
    }

    /* 1. Ajuste de Prioridade (Z-INDEX) */
    /* Garante que a pessoa que está com o modal aberto fique SEMPRE acima das outras */
    .person:has(.modal-checkbox:checked) {
        z-index: 99;
    }

    .fraseFinal {
        margin: 15px 0 30px;
        display: grid;
        justify-content: center;
        text-align: left;
    }

    .fraseFinal p {
        margin-bottom: 5px;
    }


    @media (min-width: 1200px) {
      .sobre {
        gap: 10px; /* Reduzimos o espaço entre elas */
        justify-content: space-evenly; /* Distribui melhor o espaço */
        flex-wrap: nowrap; /* Força a ficarem na mesma linha */
      }

      /* .person {
        width: 250px; /*Reduzimos levemente a largura da área da pessoa *
      } */
    }

    /* 2. Solução para Telas Médias e Pequenas (Onde há empilhamento) */
    @media (max-width: 1199px) {
        /* Fazemos o modal deixar de ser "flutuante" (absolute) e passar a ocupar espaço (relative) */
        .person-modal {
            position: relative; 
            top: 0;
            left: 0;
            transform: none;
            /* margin: 20px auto 0 auto; Centraliza e dá um respiro no topo */
            display: none; /* Mantém escondido até o check */
        }

        /* Quando marcado, o modal aparece e, por ser 'relative', 
          ele empurra a próxima '.person' automaticamente para baixo */
        .modal-checkbox:checked ~ .person-modal {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        /* Removemos os elementos decorativos (linha e triângulo) no mobile 
          pois eles não alinham bem em layouts relativos */
        .person-modal::before, 
        .person-modal::after {
            display: none;
        }

        /* Ajuste de animação mais simples para o modo relativo */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
    }

    /* 4. Garantia para telas de 1024px até 1266px */
    @media (min-width: 1024px) {
        .sobre {
            gap: 15px; /* Espaço pequeno mas existente */
            flex-wrap: nowrap; /* Proíbe a quebra de linha */
            justify-content: center;
        }
    }

    @media (max-width: 1024px) {
        .person-modal {
            margin-bottom: 130px;
        }
    }

    @media (max-width: 768px) {
      .person-modal {
        width: 350px;
      }

      .tab-container .tab {
        font-size: 12px;
        line-height: 44px;
        height: 44px;
      }

      .tab-container .tab-content-container .tab-content {
        padding: 15px 50px 15px 15px;
        min-height: 150px;
      }

      .modal-header {
        font-size: 18px;
        /* padding: 12px 45px 12px 15px; */
      }

      /* ######## */
      .modal-close-btn {
        top: -35px; /* Ajusta a posição do 'X' para não sumir da tela */
        right: 10px;
        background: #ca6060; /* Dá uma cor de destaque no mobile para facilitar o toque */
      }
      /* ######## */
    }

    @media (max-width: 630px) {
       .person-modal {
        width: 50vw;
        margin-bottom: 130px;
      }
    }

    /* @media (max-width: 567px) { */
    @media (max-width: 540px) {
      /*.btn {*/
      /*  font-size: .7rem;*/
      /*  padding: 12px 12px;*/
      /*}*/

      .person-modal {
        width: 95vw;
        margin-bottom: 130px;
      }
    }

    @media (max-width: 480px) {
      .person-modal {
        width: 95vw;
      }
      
      .page-title {
        font-size: 2em;
      }
      
      .section-title {
        font-size: 1.2em;
      }
      
      .section-content1 p,
      .section-content p {
        font-size: .85rem;
        line-height: 1.4;
      }
    }


    @media (max-width: 360px) {
      .person-modal {
        margin-bottom: 150px;
      }
    }