/*
Theme Name: Medical Law
Description: Tema filho para o Twenty Twenty-Five, adaptado para Medical Law.
Author: Rafael
Author URI: https://medicallaw.com.br/artigos
Template: twentytwentyfive
Version: 1.0.0
*/
:root {
    --color-primary: #07332E;
    --color-secondary: #2d5a2f;
    --color-bg: #FFFFFF;
    --color-destaque: #AB8747;
    --color-card-bg: #E8F0E9;
    --color-border: #5A7F66;
    --color-text: #3D4439;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    /* NOTA: get_stylesheet_directory_uri() deve ser usado no functions.php
       para injetar estas URLs dinamicamente se o CSS não funcionar de primeira.
       No CSS puro, manteremos as URLs relativas ao tema filho: */
    --img-logo-topnav: url(https://medicallaw.com.br/images/logo-top.webp);
    --img-logo-footer: url(https://medicallaw.com.br/images/logo-footer.webp);
    --img-service-preventivo: url(https://medicallaw.com.br/images/service-preventivo.webp);
    --img-service-acordo: url(https://medicallaw.com.br/images/service-acordo.webp);
    --img-service-judicial: url(https://medicallaw.com.br/images/service-judicial.webp);

    --img-team-1: url(https://medicallaw.com.br/images/r/team-aloe.webp);
    --img-team-2: url(https://medicallaw.com.br/images/r/team-paloma.webp);
    --img-team-3: url(https://medicallaw.com.br/images/r/team-flaviane.webp);
    --img-team-4: url(https://medicallaw.com.br/images/r/team-rafael.webp);
    --img-team-5: url(https://medicallaw.com.br/images/r/team-maria.webp);

    --img-diferencial-1: url(https://medicallaw.com.br/images/r/diferencial-1.webp);
    --img-diferencial-2: url(https://medicallaw.com.br/images/r/diferencial-2.webp);

    --qr-whatsapp: url(https://medicallaw.com.br/images/FD55HUVMK2IEH1.svg);
    /* URLs de data (ÍCONES) - Copiadas integralmente do style.php */
    --icon-at: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" class="bi bi-at" viewBox="0 0 16 16"><path d="M13.106 7.222c0-2.967-2.249-5.032-5.482-5.032-3.35 0-5.646 2.318-5.646 5.702 0 3.493 2.235 5.708 5.762 5.708.862 0 1.689-.123 2.304-.335v-.862c-.43.199-1.354.328-2.29.328-2.926 0-4.813-1.88-4.813-4.798 0-2.844 1.921-4.881 4.594-4.881 2.735 0 4.608 1.688 4.608 4.156 0 1.682-.554 2.769-1.416 2.769-.492 0-.772-.28-.772-.76V5.206H8.923v.834h-.11c-.266-.595-.881-.964-1.6-.964-1.4 0-2.378 1.162-2.378 2.823 0 1.737.957 2.906 2.379 2.906.8 0 1.415-.39 1.709-1.087h.11c.081.67.703 1.148 1.503 1.148 1.572 0 2.57-1.415 2.57-3.643zm-7.177.704c0-1.197.54-1.907 1.456-1.907.93 0 1.524.738 1.524 1.907S8.308 9.84 7.371 9.84c-.895 0-1.442-.725-1.442-1.914"/></svg>');
    --icon-intagram: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" viewBox="0 0 16 16"><path d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.9 3.9 0 0 0-1.417.923A3.9 3.9 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.9 3.9 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.9 3.9 0 0 0-.923-1.417A3.9 3.9 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599s.453.546.598.92c.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.5 2.5 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.5 2.5 0 0 1-.92-.598 2.5 2.5 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233s.008-2.388.046-3.231c.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92s.546-.453.92-.598c.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92m-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217m0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334"/></svg>');
    --icon-facebook: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" viewBox="0 0 16 16"><path d="M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951"/></svg>');
    --icon-linkedin: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" viewBox="0 0 16 16"><path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z"/></svg>');
    --icon-youtube: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" viewBox="0 0 16 16"><path d="M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z"/></svg>');
    --icon-spotify: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" viewBox="0 0 16 16"><path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0m3.669 11.538a.5.5 0 0 1-.686.165c-1.879-1.147-4.243-1.407-7.028-.77a.499.499 0 0 1-.222-.973c3.048-.696 5.662-.397 7.77.892a.5.5 0 0 1 .166.686m.979-2.178a.624.624 0 0 1-.858.205c-2.15-1.321-5.428-1.704-7.972-.932a.625.625 0 0 1-.362-1.194c2.905-.881 6.517-.454 8.986 1.063a.624.624 0 0 1 .206.858m.084-2.268C10.154 5.56 5.9 5.419 3.438 6.166a.748.748 0 1 1-.434-1.432c2.825-.857 7.523-.692 10.492 1.07a.747.747 0 1 1-.764 1.288"/></svg>');
    --icon-whatsapp: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" viewBox="0 0 16 16"><path d="M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232"/></svg>');
    --icon-tictoc: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" viewBox="0 0 32 32"><path d="M16.656 1.029c1.637-0.025 3.262-0.012 4.886-0.025 0.054 2.031 0.878 3.859 2.189 5.213l-0.002-0.002c1.411 1.271 3.247 2.095 5.271 2.235l0.028 0.002v5.036c-1.912-0.048-3.71-0.489-5.331-1.247l0.082 0.034c-0.784-0.377-1.447-0.764-2.077-1.196l0.052 0.034c-0.012 3.649 0.012 7.298-0.025 10.934-0.103 1.853-0.719 3.543-1.707 4.954l0.020-0.031c-1.652 2.366-4.328 3.919-7.371 4.011l-0.014 0c-0.123 0.006-0.268 0.009-0.414 0.009-1.73 0-3.347-0.482-4.725-1.319l0.040 0.023c-2.508-1.509-4.238-4.091-4.558-7.094l-0.004-0.041c-0.025-0.625-0.037-1.25-0.012-1.862 0.49-4.779 4.494-8.476 9.361-8.476 0.547 0 1.083 0.047 1.604 0.136l-0.056-0.008c0.025 1.849-0.050 3.699-0.050 5.548-0.423-0.153-0.911-0.242-1.42-0.242-1.868 0-3.457 1.194-4.045 2.861l-0.009 0.030c-0.133 0.427-0.21 0.918-0.21 1.426 0 0.206 0.013 0.41 0.037 0.61l-0.002-0.024c0.332 2.046 2.086 3.59 4.201 3.59 0.061 0 0.121-0.001 0.181-0.004l-0.009 0c1.463-0.044 2.733-0.831 3.451-1.994l0.010-0.018c0.267-0.372 0.45-0.822 0.511-1.311l0.001-0.014c0.125-2.237 0.075-4.461 0.087-6.698 0.012-5.036-0.012-10.060 0.025-15.083z"/></svg>');
    --icon-phone: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" viewBox="0 0 16 16"><path d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.6 17.6 0 0 0 4.168 6.608 17.6 17.6 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.68.68 0 0 0-.58-.122l-2.19.547a1.75 1.75 0 0 1-1.657-.459L5.482 8.062a1.75 1.75 0 0 1-.46-1.657l.548-2.19a.68.68 0 0 0-.122-.58zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.68.68 0 0 0 .178.643l2.457 2.457a.68.68 0 0 0 .644.178l2.189-.547a1.75 1.75 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.6 18.6 0 0 1-7.01-4.42 18.6 18.6 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877z"/></svg>');
    --icon-email: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" viewBox="0 0 16 16"><path d="M2 2a2 2 0 0 0-2 2v8.01A2 2 0 0 0 2 14h5.5a.5.5 0 0 0 0-1H2a1 1 0 0 1-.966-.741l5.64-3.471L8 9.583l7-4.2V8.5a.5.5 0 0 0 1 0V4a2 2 0 0 0-2-2zm3.708 6.208L1 11.105V5.383zM1 4.217V4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v.217l-7 4.2z"/><path d="M14.247 14.269c1.01 0 1.587-.857 1.587-2.025v-.21C15.834 10.43 14.64 9 12.52 9h-.035C10.42 9 9 10.36 9 12.432v.214C9 14.82 10.438 16 12.358 16h.044c.594 0 1.018-.074 1.237-.175v-.73c-.245.11-.673.18-1.18.18h-.044c-1.334 0-2.571-.788-2.571-2.655v-.157c0-1.657 1.058-2.724 2.64-2.724h.04c1.535 0 2.484 1.05 2.484 2.326v.118c0 .975-.324 1.39-.639 1.39-.232 0-.41-.148-.41-.42v-2.19h-.906v.569h-.03c-.084-.298-.368-.63-.954-.63-.778 0-1.259.555-1.259 1.4v.528c0 .892.49 1.434 1.26 1.434.471 0 .896-.227 1.014-.643h.043c.118.42.617.648 1.12.648m-2.453-1.588v-.227c0-.546.227-.791.573-.791.297 0 .572.192.572.708v.367c0 .573-.253.744-.564.744-.354 0-.581-.215-.581-.8Z"/></svg>');
    --icon-hifen: url('data:image/svg+xml;utf8,<svg width="12" height="6" viewBox="0 0 12 6" fill="rgb(171, 135, 71)" xmlns="http://www.w3.org/2000/svg"><path d="M0 0H12V6H0V0Z" fill="rgb(171, 135, 71)"/></svg>');
    --icon-link: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5"/><path fill-rule="evenodd" d="M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0z"/></svg>');
    --icon-top: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(171, 135, 71)" class="bi bi-arrow-bar-up" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8 10a.5.5 0 0 0 .5-.5V3.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 3.707V9.5a.5.5 0 0 0 .5.5m-7 2.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5"/></svg>');
}

/* 2. DEFINIÇÕES GLOBAIS DE FONTE */
/* Montserrat Regular (400) */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat/Montserrat-Regular.ttf') format('truetype'); 
  font-weight: 400; 
  font-style: normal;
  font-display: swap; 
}

/* Montserrat Semibold (600) */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600; 
  font-style: normal;
  font-display: swap; 
}

/* Montserrat Bold (700) */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700; 
  font-style: normal;
  font-display: swap; 
}

/* Open Sans Light (300) */
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/Open_Sans/OpenSans-Light.ttf') format('truetype');
  font-weight: 300; 
  font-style: normal;
  font-display: swap; 
}

/* Open Sans Regular (400) */
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/Open_Sans/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400; 
  font-style: normal;
  font-display: swap; 
}

/* Open Sans Bold (700) */
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/Open_Sans/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700; 
  font-style: normal;
  font-display: swap; 
}

/* 3. REGRAS GLOBAIS DE ESTRUTURA */

a {
    text-decoration: none;
}

.btn-whatsapp-contato {
    display: inline-block;
    background-color: #128C7E;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.btn-whatsapp-contato:hover {
    background-color: var(--color-destaque);
}

.btn-whatsapp {
    background-color: var(--color-destaque);
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}


.btn-whatsapp:hover {
    background-color: #167d60;
}

.destaque {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
}
.section-header .title-section {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.subtitle-section {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .title-section {
        font-size: 1.6rem;
    }

    .subtitle-section {
        font-size: 1rem;
    }
}

section.atuacao p {
    margin-bottom: 1em;
    color: var(--color-text);
}

section.atuacao h3 {
  line-height: 1.3;
}

.atuacao-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    list-style: none;
    padding: 0;
    gap: 1.5em;
}
.saibamais {
    margin-top: 1em;
    flex-wrap: wrap;
    list-style: none;
}
.atuacao-mais {
    margin-top: 1em;
}
.servicos {
    margin-top: 2em;
}
.servicos li:has(.atuacao-img) {
border: none;
}
.servicos li:has(.atuacao-img):hover {
box-shadow: none;
}
.atuacao-grid-list li {
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}
.atuacao-grid-list li a img {
    border-radius: 12px 12px 3px 3px;
}
.atuacao-grid-list li a div {
    border-radius: 3px 3px 12px 12px;
}

.atuacao-mais li {    
    background-color: var(--color-card-bg);
    height: fit-content;
    border: 1px solid var(--color-border);
}
.saibamais li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color-bg);
    border-radius: 8px;
    transition: background-color 0.3s;
}

.saibamais li a:hover .btn-saude {
    background-color: var(--color-destaque);
}


.saibamais li details summary h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5em;
}

.saibamais li p {
    padding: 0 1.5em 0 1.5em;
    color: var(--color-text);
}

section.atuacao li:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.atuacao-mais li details summary h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}
.atuacao-mais li details div {
    padding: 0.5em 1.5em;
    margin-top: 0;
    color: var(--color-text);
    background-color: var(--color-bg);
  overflow: hidden;
}

    section.atuacao li details summary {
list-style: none;
    cursor: pointer;
    padding: 1.5em;
    
    display: flex;
    align-items: center; 
    justify-content: center;
    text-align: center;
    height: 132px;
}
.atuacao-link {
    color: var(--color-destaque);
}

.atuacao-title {
    padding-bottom: 1rem;
}

[class^="atuacao-img"] {
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 8px;
}

.atuacao-img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1024 / 1024;
    margin: 0 auto;
    display: block;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.atuacao-img-ratio {
    width: 100%;
    aspect-ratio: 993 / 500;
    background-size: 100% auto;
    background-position: center center;
    margin: 1em auto 2rem;
}

.atuacao-txt {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
        align-items: center;
    }

    .atuacao-img-ratio {
        width: 45%;
    }

    .atuacao-txt {
        flex: 1;
    }
}
.dl-atuacao {
max-width: 100%;
margin: 2em auto;
}

.clickable li {
  will-change: transform;
}
.clickable li:hover{
    transform: translateY(-5px);
}
.saibamais li {
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: fit-content;
}

.servicos li {
    text-align: center;
    height: 100%;
    border: 1px solid var(--color-border);
}


.servicos li img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.servicos li h3 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    padding: 0.5em 1.5em 0 1.5em;
}

.servicos li p {
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 1.5em 0 1.5em;
}


[class^="servicos-img-"] {
    min-height: 180px;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 12px 12px 0 0;
}

.servicos-img-1 {
    background-image: var(--img-service-preventivo);
}

.servicos-img-2 {
    background-image: var(--img-service-acordo);
}

.servicos-img-3 {
    background-image: var(--img-service-judicial);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .servicos {
        grid-template-columns: 1fr;
    }
}


.img-saude {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    max-width: 100%;
}

.btn-saude {
    margin-top: 0.2em;
    border-radius: 3px;
    padding: 0.8em 0 0.8em 0;
    background-color: var(--color-primary);    
    transition: background-color 0.3s;
}


button,
.btn-contato-link {
    font-family: var(--font-primary);
    background-color: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 8px;
    padding: 0.8em 1.2em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-contato-link[disabled],
.btn-contato-link:hover[disabled] {
    background-color: #cccccc;
    cursor: not-allowed;
}

button:hover,
.btn-contato-link:hover {
    background-color: var(--color-secondary);
}
.o-escritorio .intro-text {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: justify;
    line-height: 1.6;
    color: var(--color-text);
}

.diferencial .title-section {
    text-align: center;
    margin-bottom: 2rem;
}


[class^="diferencial-img-"] {
    height: 180px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    aspect-ratio: 300 / 225;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--color-destaque);
}

.diferencial>h3 {
    color: var(--color-primary);
}

.diferencial-img-1 {
    background-image: var(--img-diferencial-1);
}

.diferencial-img-2 {
    background-image: var(--img-diferencial-2);
}

.diferencial-img-3 {
    background-image: var(--img-diferencial-3);
}


.escritorio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.escritorio-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.escritorio-item h4 {
    text-align: center;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-primary);
    margin: 0.5rem 0 0 0;
}

@media (max-width: 768px) {
    .escritorio-grid {
        grid-template-columns: 1fr;
    }
}

.equipe-carousel {
    display: flex;
    overflow-x: auto;
    gap: 1.5em;
    padding: 1em 0;
    scroll-behavior: smooth;
}

.equipe-carousel::-webkit-scrollbar {
    height: 8px;
}

.equipe-carousel::-webkit-scrollbar-thumb {
    background-color: var(--color-destaque);
    border-radius: 4px;
}

.equipe-card {
    flex: 0 0 280px;
    background-color: var(--color-primary);
    border: 1px solid var(--color-destaque);
    color: var(--color-card-bg);
    border-radius: 12px;
    padding: 1em;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    word-wrap: break-word;
}

[class^="equipe-img-"] {
    aspect-ratio: 1 / 1;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 1em auto;
    border: 3px solid var(--color-destaque);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.equipe-img-1 {
    background-image: var(--img-team-1);
}

.equipe-img-2 {
    background-image: var(--img-team-2);
}

.equipe-img-3 {
    background-image: var(--img-team-3);
}

.equipe-img-4 {
    background-image: var(--img-team-4);
}

.equipe-img-5 {
    background-image: var(--img-team-5);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .equipe-card {
        flex: 0 0 200px;
        /* largura menor em mobile */
    }

    .equipe-card img {
        width: 100px;
        height: 100px;
    }
}

.pilares-grid {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2em;
}

.pilares-card {
    flex: 0 0 280px;
    border: 1px solid var(--color-destaque);
    border-radius: 12px;
    padding: 1.5em;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pilares-card h3 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1em;
}

.pilares-card p {
    color: var(--color-text);
    font-family: var(--font-secondary);
    margin-bottom: 0.75em;
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .pilares-card {
        flex: 0 0 100%;
        /* ocupa toda a largura em mobile */
    }
}

/* ====== CONTATO ====== */
.contato-area {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 1em;
}

.contato-area a {
    color: var(--color-primary);
    text-decoration: underline;
}

.contato-info {
    flex: 1 1 400px;
}

.contato-info h4 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin-bottom: 1em;
}

.contato-info p {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

.contato-info-destaque a {
    display: inline-block;
    margin-bottom: 0.5em;
    color: var(--color-primary);
    text-decoration: none;
    transition: background-color 0.3s;
}

.contato-info-destaque a:hover {
    text-decoration: underline;
}

#aceite {
    width: 26px;
}

.map {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 8px;
    margin: 0.5em 0 0 0;
}

.contato-container {
    flex: 1 1 400px;
}


.i-clock {
    padding-bottom: 1em;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.contato-form .form-group {
    display: flex;
    flex-direction: column;
}

.contato-form .form-group.inline {
    flex-direction: row;
    gap: 1em;
}

.contato-form input,
.contato-form select,
.contato-form textarea {
    padding: 0.8em;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    font-family: var(--font-secondary);
    width: 100%;
}

.contato-form button {
    align-self: flex-start;
}

.contato-form .checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
}

@media (max-width: 768px) {
    .contato-area {
        flex-direction: column;
    }

    .contato-form .form-group.inline {
        flex-direction: column;
    }
}

.social a {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.i-linkedin {
    background-image: var(--icon-linkedin)
}

.i-instagram {
    background-image: var(--icon-intagram)
}

.i-facebook {
    background-image: var(--icon-facebook)
}

.i-youtube {
    background-image: var(--icon-youtube)
}

.i-spotify {
    background-image: var(--icon-spotify)
}

.i-tictoc {
    background-image: var(--icon-tictoc)
}

span.i-at::before {
    content: var(--icon-at);
}

span.i-phone::before {
    content: var(--icon-phone)
}

span.i-whatsapp::before {
    content: var(--icon-whatsapp)
}

.inpi {
    max-width: 1200px;
    margin: 0.9rem auto 0 auto;
    text-align: center;
    padding-bottom: 40px;
}

.inpi p {
    margin: 0;
    font-size: 0.8rem;
}

.break {
    display: block;
}

hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .grid-footer {
        flex-direction: column;
        gap: 1.5rem;
    }
    .grid-footer-3, h2 {
    text-align: center;
}
}
#openModalBtn {
    background-color: transparent;
    color: var(--color-destaque);
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.perguntas {
    padding: 4rem 1.5rem;
    background: var(--color-primary);
    border-radius: 8px;
}
.txtb {
    color: var(--color-bg);
}

.pergunta [itemprop="acceptedAnswer"] {
    margin: 0;
    padding: 0;
}

.perguntas .title-section {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--color-bg);
}

.perguntas-list {
    max-width: 900px;
    max-height: 75vh;
    overflow-y: auto;
  overflow-x: hidden;  
    margin: 0 auto;
    padding: 0px 12px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.perguntas-list::-webkit-scrollbar {
  width: 8px;
}
.perguntas-list::-webkit-scrollbar-track {
  background: var(--color-bg);
  border-radius: 4px;
}

.perguntas-list::-webkit-scrollbar-thumb {
  background-color: var(--color-destaque);
  border-radius: 4px;
}

.perguntas-list::-webkit-scrollbar-thumb:hover {
  border: 2px solid var(--color-bg);
}

.pergunta {
    border: 1px solid #e1e1e1;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pergunta:hover {
    border-color: #ccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pergunta summary {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 1.25rem 2rem 1.25rem 1.25rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    list-style: none;
    outline: none;
    cursor: pointer;
    position: relative;
}

.pergunta summary::-webkit-details-marker {
    display: none;
}

.pergunta summary::marker {
    display: none;
}

.pergunta summary::after {
    content: "+";
    position: absolute;
    right: 0.5rem;
    font-size: 1.4rem;
    color: var(--color-destaque);
    transition: transform 0.3s ease, content 0.3s ease;
}

.pergunta[open] summary::after {
    content: "–";
    transform: rotate(180deg);
}

.pergunta [itemprop="text"] {
    margin: 0;
    text-align: left;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    padding: 0 1rem 1rem 1.25rem;
}

@media (max-width: 768px) {
    .perguntas {
    padding: 40px;
    border-radius: 0;
    }

    .pergunta {
        padding: 0.9rem 1rem;
    }

    .pergunta summary {
        font-size: 1rem;
    }
}

.banner-privacidade {
    padding-top: 30px;
}

.wp {
    position: fixed;
    right: 70px;
    bottom: 16px;
    z-index: 95
}

.wp-bt {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 0;
    cursor: pointer;
    margin-bottom: 10px;
    margin-right: 15px;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, .2);
    background-color: #25D366;
    transition: background-color 0.3s;
}

.wp-bt:hover {
    background-color: #25D366;
    transform: translateY(-3px);
}

.wp-bt svg {
    transform: translate(-23%, -7%)
}

.index li {
    border-radius: 8px;    
    border: 1px solid var(--color-primary);
    background-color: var(--color-card-bg);
}

.index a {
    display: block;
    color: var(--color-destaque);
    padding: 0.5rem;
}

.topo {
    content: var(--icon-top);
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

[class^="left"] {
   text-align: left;
}


#img-o-que-e-defesa-medica {
    background-image: url(/images/img-advmed.webp);
}
#img-o-que-e-defesa-odontologica {
    background-image: url(/images/img-advdentista.webp);
}

#img-processos-judiciais {
    background-image: url(/images/img-advs.webp);
}



#img-judiciais {
    background-image: url(/images/img-judiciario.webp);
}

#img-judiciais-d {
    background-image: url(/images/img-judiciario.webp);
}

#img-sindicancia {
    background-image: url(/images/img-sindicancia.webp);
}

#img-acordo {
    background-image: url(/images/img-acordo.webp);
}

#img-livros {
    background-image: url(/images/img-livros.webp);
}

#img-inquerito {
    background-image: url(/images/img-inq.webp);
}
.ebook {
    background-color: var(--color-bg);
}

.ebook .container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ebook .title-section {
    text-align: center;
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ebook .subtitle-section {
    text-align: center;
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.title-fla {
    margin-top: 1.5rem;
    padding-bottom: 1rem;
}
.ebook-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.ebook-img-container {
    flex-shrink: 0;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.ebook-img-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ebook-img-container img:hover {
    transform: translateY(-5px);
}

.ebook-texto {
    flex-grow: 1;
}

.ebook-texto p {
    color: var(--color-text);
    line-height: 1.6;
}

p:has(.btn-download) {
  text-align: center;
}

.btn-download {
    display: inline-block;
    background-color: var(--color-destaque);
    color: #fff;
    font-weight: 600;
    font-family: var(--font-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-top: 1rem;

}

.btn-download:hover {
    background-color: var(--color-primary);
}

@media (min-width: 768px) {
    .ebook-grid {
        flex-wrap: nowrap;
    }
}

.qr-whatsapp {
    content: var(--qr-whatsapp);
}

.esfera-titulo {
font-size: 1.5rem;
font-weight: 700;
margin-top: 1.5em;
margin-bottom: 0.5em;
padding: 10px;
background-color: var(--color-primary);
color: var(--color-bg);
border-radius: 5px 5px 0 0;
}
.esfera-titulo h2 {
    font-size: 1.5rem;
}
.area-especifica {
font-weight: 600;
padding: 10px;
margin-top: 15px;
background-color: var(--color-card-bg);
border: 1px solid var(--color-border); 
border-left: 5px solid var(--color-destaque);
font-size: 1.2rem;
}
.servicos-lista {
padding: 10px 10px 10px 30px;
margin-bottom: 20px;
border: 1px solid var(--color-border);
border-top: none;
list-style: disc;
}
.servicos-lista ul {
margin: 0;
padding-left: 20px;
text-align: left;
}
.servicos-lista ul li {
  transform: translateY(0)!important;
  box-shadow: none !important;
}

footer {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 2rem 1rem;
    font-size: 0.9rem;
}
footer {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 2.5rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

footer h2 {
    color: #fff;
    font-size: 1rem;
}

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

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

.title-footer {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.grid-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-footer>div {
    flex: 1 1 250px;
    margin: 0.5rem;
}


.grid-footer-1 {
    background: var(--img-logo-footer) no-repeat center/contain;
}

.grid-footer-3 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.grid-footer-3 ul li {
    margin-bottom: 0.5rem;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
}
