/* ==========================================================================
   Public Desktop V3 — Pedro Carraro
   Tradução do sistema editorial do Mobile V3 para telas largas.
   Não altera conteúdo, CMS, Admin ou Área do Cliente.
   ========================================================================== */
@media screen and (min-width:821px){
  :root{
    --header-h:78px;
    --desktop-rule:rgba(91,30,30,.13);
    --desktop-rule-dark:rgba(247,243,239,.13);
    --desktop-soft:rgba(247,243,239,.78);
  }

  html{scroll-padding-top:var(--header-h)}
  body{background:var(--cream);font-size:15px;line-height:1.66}
  .container{width:min(1280px,calc(100% - 72px))}
  .section{padding:88px 0}

  /* ---------- cabeçalho: compacto como o mobile, com leitura desktop ---------- */
  .site-header{
    background:rgba(247,243,239,.91);
    border-bottom:1px solid rgba(91,30,30,.08);
    box-shadow:0 8px 28px rgba(17,17,17,.028);
    backdrop-filter:blur(22px) saturate(1.18);
    -webkit-backdrop-filter:blur(22px) saturate(1.18)
  }
  .header-inner{height:var(--header-h);gap:24px}
  .brand{display:flex;align-items:center;gap:11px;min-width:0}
  .brand-monogram{display:block;width:36px;height:36px;flex:0 0 auto}
  .brand-divider{display:none}
  .brand-wordmark{display:block;width:128px;height:40px;object-fit:contain;object-position:left center}
  .brand-oab{display:none}
  .nav{gap:26px;margin-left:auto}
  .nav a{font-size:.63rem;letter-spacing:.085em;padding-bottom:7px}
  .header-actions{gap:9px}
  .urgent-icon{
    height:40px;padding:0 14px;border-radius:999px;
    border-color:rgba(91,30,30,.25);background:rgba(255,255,255,.26)
  }

  /* ---------- tipografia / ações ---------- */
  .display{letter-spacing:-.034em}
  .h2{letter-spacing:-.03em}
  .btn{border-radius:999px;min-height:46px;padding-inline:19px;font-size:.66rem;letter-spacing:.08em}
  .text-link{font-size:.68rem;letter-spacing:.09em}

  /* ---------- hero: mesma hierarquia do Mobile V3 em composição larga ---------- */
  .hero,.hero-copy{min-height:clamp(590px,70vh,720px)}
  .hero{background:#0f0e0d}
  .hero-copy{
    width:min(1280px,calc(100% - 72px));
    padding:56px 52% 50px 0;
    justify-content:flex-end
  }
  .hero-name{
    margin:0 0 12px;font-size:.59rem;letter-spacing:.17em;
    color:rgba(231,214,205,.84)
  }
  .hero .display{
    max-width:630px;margin:0 0 18px;
    font-size:clamp(3.25rem,4.25vw,4.75rem);line-height:.9;
    letter-spacing:-.036em;text-wrap:balance
  }
  .hero .display span{display:block;white-space:normal;color:#d6b9ab}
  .hero .lead{max-width:560px;font-size:.88rem;line-height:1.58;color:rgba(247,243,239,.78)}
  .hero .lead:after{width:40px;height:1px;margin-top:18px;background:#b47661}
  .hero-actions{margin-top:19px;gap:15px;align-items:center}
  .hero-actions .btn,.hero .btn-outline{
    width:auto;min-width:0;min-height:44px;padding:0 17px;border-radius:999px;
    font-size:.61rem;letter-spacing:.08em
  }
  .hero-whatsapp{padding:9px 0 7px;font-size:.61rem;letter-spacing:.075em}
  .hero-credentials{margin-top:13px;font-size:.54rem;letter-spacing:.085em}
  .hero-visual img{object-position:center 24%;filter:saturate(.82) contrast(1.035)}
  .hero-visual:before{
    background:
      linear-gradient(90deg,rgba(10,9,8,.88) 0%,rgba(10,9,8,.72) 24%,rgba(10,9,8,.24) 50%,rgba(10,9,8,.05) 72%),
      linear-gradient(180deg,rgba(10,9,8,.02) 35%,rgba(10,9,8,.18) 100%)
  }
  [data-home-access]{display:none!important}

  /* ---------- diferenciais: faixa editorial, não cards ---------- */
  .fact-strip{padding:0;background:var(--cream);border-bottom:1px solid var(--desktop-rule)}
  .fact-row{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:0}
  .fact{
    min-height:166px;padding:30px 30px 28px;
    align-items:flex-start;text-align:left;background:transparent;border:0;box-shadow:none
  }
  .fact+.fact,.fact:nth-child(3){border:0;border-left:1px solid var(--desktop-rule)}
  .fact-icon{padding:0 0 12px;font-size:.55rem;letter-spacing:.15em}
  .fact-icon:after{left:0;bottom:5px;width:15px;transform:none}
  .fact strong{margin:0;font-size:1.38rem;line-height:1.02;font-weight:500}
  .fact small{max-width:260px;margin-top:9px;font-size:.7rem;line-height:1.5;color:var(--muted)}

  /* ---------- sobre / áreas: mesma sequência do mobile em três planos ---------- */
  .reference-overview{
    display:grid;grid-template-columns:34% 36% 30%;
    min-height:560px;background:#151312;color:var(--cream)
  }
  .overview-photo{min-height:560px;aspect-ratio:auto}
  .overview-photo img{object-position:center 18%;filter:saturate(.8) contrast(1.02)}
  .overview-about{padding:58px 46px 0}
  .overview-about .h2{max-width:470px;margin:11px 0 17px;font-size:clamp(2.7rem,3.4vw,4rem);line-height:.93}
  .overview-about>p{max-width:470px;font-size:.79rem;line-height:1.62;color:rgba(247,243,239,.68)}
  .overview-about>.text-link{margin-top:4px}
  .overview-contact{
    grid-template-columns:38px 1fr auto;grid-template-rows:auto;gap:12px;
    margin-top:auto;padding:20px 0 24px;min-height:0;border-radius:0;
    border-top:1px solid var(--desktop-rule-dark);box-shadow:none;background:transparent;color:var(--cream)
  }
  .overview-contact-icon{width:36px;height:36px;font-size:.65rem}
  .overview-contact strong{font-size:1.08rem;line-height:1.05}
  .overview-contact small{margin-top:4px;font-size:.62rem;color:rgba(247,243,239,.58)}
  .overview-contact .btn{display:none}
  .overview-whatsapp{grid-column:3;grid-row:1;width:38px;height:38px;border-radius:50%;color:#d4a690;border-color:rgba(247,243,239,.23)}
  .overview-whatsapp:hover{background:rgba(255,255,255,.08);color:var(--cream)}
  .overview-practice{
    margin:0;padding:58px 38px 40px;background:transparent;
    border-left:1px solid var(--desktop-rule-dark)
  }
  .overview-practice-list{margin-top:12px}
  .overview-practice-list a{
    grid-template-columns:28px 1fr auto;padding:16px 0;
    border-bottom-color:var(--desktop-rule-dark);font-size:1.28rem;line-height:1.05
  }
  .overview-practice-list a:hover{padding-left:0;background:transparent;color:#e4c1b2}
  .overview-practice-list a span{font-size:.52rem;letter-spacing:.12em}

  /* ---------- experiência ---------- */
  .section-dark{background:#121110}
  .experience-grid{grid-template-columns:.86fr 1.14fr;gap:84px;align-items:start}
  .experience-photo img{
    width:100%;border-radius:0;box-shadow:none;aspect-ratio:4/4.9;
    object-fit:cover;object-position:center 20%
  }
  .experience-grid .h2{max-width:620px;margin:11px 0 18px;font-size:clamp(3rem,3.8vw,4.45rem);line-height:.94}
  .experience-grid .lead{font-size:.84rem;line-height:1.62}
  .timeline{position:relative;margin-top:34px;padding-left:22px;border-left:1px solid rgba(215,176,163,.22)}
  .timeline-item{grid-template-columns:80px 1fr;gap:20px;padding:20px 0;border:0}
  .timeline-year{font-size:1.65rem;color:#d5b5a5}
  .timeline-title{font-size:1.42rem}
  .timeline-copy{font-size:.77rem;line-height:1.55;color:rgba(247,243,239,.61)}

  /* ---------- forma de trabalho: lista editorial em duas colunas ---------- */
  .process{
    display:grid;grid-template-columns:repeat(2,1fr);gap:0;
    margin-top:36px;background:transparent;border-top:1px solid var(--desktop-rule);border-left:0;border-right:0;border-bottom:0
  }
  .process-item{
    position:relative;display:grid;grid-template-columns:72px 1fr;grid-template-rows:auto auto;column-gap:20px;
    min-height:170px;padding:30px 30px 30px 0;border:0;border-bottom:1px solid var(--desktop-rule);
    border-radius:0;background:transparent;box-shadow:none
  }
  .process-item:nth-child(even){padding-left:30px;border-left:1px solid var(--desktop-rule)}
  .process-item:hover{background:transparent}
  .process-num{grid-row:1/3;font-size:3.7rem;line-height:.88;color:rgba(91,30,30,.34)}
  .process-title{margin:0 0 7px;font-size:1.72rem;line-height:1}
  .process-copy{font-size:.78rem;line-height:1.56;color:var(--muted)}

  /* ---------- serviços / contato ---------- */
  .service-grid,.contact-grid,.contact-layout,.about-grid{gap:76px}
  .service-grid .h2,.contact-grid .h2,.editorial-heading .h2{font-size:clamp(3rem,3.8vw,4.4rem);line-height:.95}
  .service-list{border-top-color:var(--desktop-rule)}
  .service-row{padding:20px 0;border-bottom-color:var(--desktop-rule);grid-template-columns:130px 1fr}
  .service-label{font-size:.63rem;letter-spacing:.14em}
  .service-actions{margin-top:24px;gap:10px}
  .service-actions .btn{width:auto;min-height:44px;border-radius:999px;padding-inline:17px;font-size:.61rem}
  .location-card{
    margin-top:28px;padding:23px 0;border:0;border-radius:0;background:transparent;
    border-top:1px solid var(--desktop-rule);border-bottom:1px solid var(--desktop-rule);box-shadow:none
  }
  .location-card strong{font-size:1.52rem}
  .contact-row .value{font-size:1.25rem;line-height:1.26}

  /* ---------- urgência ---------- */
  .emergency-grid{grid-template-columns:110px 1fr auto;gap:34px}
  .emergency-symbol{font-size:5rem;line-height:1;color:#d7b0a3}
  .emergency-copy h2{font-size:clamp(2.7rem,3.6vw,4rem);line-height:.94}
  .emergency-copy p{font-size:.8rem;line-height:1.6}
  .emergency-grid .btn{min-height:44px;border-radius:999px;padding-inline:18px}

  /* ---------- artigos: revista, sem cartões elevados ---------- */
  .editorial-section{background:var(--cream-2)}
  .editorial-heading{gap:70px;margin-bottom:30px}
  .editorial-heading>p{font-size:.82rem;line-height:1.6}
  .article-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:0;
    border-top:1px solid var(--desktop-rule);border-left:0;background:transparent
  }
  .article-card,.article-card:last-child{
    min-height:285px;padding:30px 30px 28px;
    border:0;border-right:1px solid var(--desktop-rule);border-bottom:1px solid var(--desktop-rule);
    border-radius:0;background:transparent;box-shadow:none
  }
  .article-card:first-child{padding-left:0}
  .article-card:last-child{border-right:0;padding-right:0}
  .article-card:hover{background:transparent;transform:none}
  .article-card h2,.article-card h3{margin:16px 0 10px;font-size:1.85rem;line-height:1.02}
  .article-card p{font-size:.76rem;line-height:1.56}
  .article-link{padding-top:16px}

  /* ---------- páginas internas ---------- */
  .page-hero{padding:62px 0 66px;background:var(--cream);border-bottom:1px solid var(--desktop-rule)}
  .page-hero .display{max-width:900px;margin:12px 0 17px;font-size:clamp(3.6rem,5vw,5.9rem);line-height:.9;text-wrap:balance}
  .page-hero .lead{max-width:700px;font-size:.91rem;line-height:1.6}
  .breadcrumbs{background:rgba(239,231,224,.42);border-bottom-color:rgba(91,30,30,.07)}
  .breadcrumbs ol{padding:10px 0;font-size:.57rem;letter-spacing:.08em}

  .area-feature-grid,.area-page-list,.detail-grid{gap:0;border-top:1px solid var(--desktop-rule);background:transparent}
  .area-feature-grid{grid-template-columns:repeat(2,1fr)}
  .area-page-list,.detail-grid{grid-template-columns:repeat(2,1fr)}
  .area-feature-card,.area-page-item,.detail-card{
    min-height:0;padding:31px 32px;border:0;border-bottom:1px solid var(--desktop-rule);
    border-right:1px solid var(--desktop-rule);border-radius:0;background:transparent;box-shadow:none
  }
  .area-feature-card:nth-child(even),.area-page-item:nth-child(even),.detail-card:nth-child(even){border-right:0}
  .area-feature-card:hover,.area-page-item:hover,.detail-card:hover{background:rgba(255,255,255,.18);transform:none}
  .area-feature-card h2{margin:14px 0 11px;font-size:2.05rem;line-height:1}
  .area-page-item h2,.detail-card h3{font-size:1.72rem;line-height:1.03}
  .area-aside{
    padding:24px;border:1px solid rgba(91,30,30,.11);border-radius:16px;
    background:rgba(255,255,255,.34);box-shadow:none
  }
  .content-disclaimer{margin-top:30px;border-radius:0;padding:17px 0 17px 18px;background:transparent}
  .prose{max-width:820px}
  .prose h2{margin-top:44px;font-size:2.12rem;line-height:1.02}
  .prose h3{font-size:1.58rem;line-height:1.07}
  .prose p,.prose li{font-size:.88rem;line-height:1.7}
  .photo-frame img{border-radius:0}
  .photo-frame:after{display:none}

  /* ---------- formulário ---------- */
  .form-field{gap:7px}
  .form-field input,.form-field select,.form-field textarea{
    min-height:52px;border-radius:12px;border-color:rgba(91,30,30,.16);background:rgba(255,255,255,.58)
  }
  .form-field textarea{min-height:142px}
  .form-actions{gap:10px}
  .form-actions .btn{min-height:46px;border-radius:999px}

  /* ---------- modal / rodapé ---------- */
  .modal{border-radius:18px;box-shadow:0 28px 80px rgba(17,17,17,.22)}
  .modal-actions .btn{border-radius:999px}
  .footer{background:#11100f}
  .footer-grid{gap:54px}
  .footer-copy{font-size:.72rem;line-height:1.6}
  .footer-links a{font-size:.69rem}
}

/* Tablets horizontais preservam a lógica editorial sem apertar três colunas. */
@media screen and (min-width:821px) and (max-width:1080px){
  .container,.hero-copy{width:calc(100% - 48px)}
  .nav{gap:16px}
  .nav a{font-size:.58rem}
  .urgent-label{display:none}
  .hero-copy{padding-right:46%}
  .hero .display{font-size:clamp(3rem,5vw,4.25rem)}
  .fact{padding-inline:20px}
  .reference-overview{grid-template-columns:42% 58%}
  .overview-photo{min-height:520px}
  .overview-practice{grid-column:1/-1;border-left:0;border-top:1px solid var(--desktop-rule-dark)}
  .experience-grid{grid-template-columns:.9fr 1.1fr;gap:50px}
  .service-grid,.contact-grid,.contact-layout,.about-grid{gap:48px}
  .editorial-heading{grid-template-columns:1fr;gap:14px}
  .article-grid{grid-template-columns:repeat(2,1fr)}
  .article-card:last-child{grid-column:1/-1;border-right:0;padding-left:0}
}
