/* Torneadora Anápolis — V27. A V26 mobile permanece integralmente preservada. */
@media (min-width:769px){
  :root{--v27-yellow:#ffc629;--v27-ink:#1c2528;--v27-muted:#5b676b;--v27-line:#e4e8e3;--v27-paper:#f5f7f4;--v27-shadow:0 17px 42px rgba(16,30,32,.075)}
  body{background:var(--v27-paper)!important;color:var(--v27-ink)}
  .container{width:min(calc(100% - 56px),1320px)!important}
  .site-header{background:rgba(25,32,35,.94)!important;border-bottom:1px solid rgba(255,255,255,.1)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  .header-inner{height:76px!important;gap:18px!important}
  .site-header .brand{width:194px!important;flex:0 0 194px!important}
  .site-header .brand-logo-stack{max-width:194px}
  .site-header .brand img{max-height:58px;object-fit:contain}
  .site-header .main-nav{gap:3px!important;margin-left:auto!important}
  .site-header .main-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 10px;border:1px solid transparent;border-radius:12px;color:#e5ebeb!important;font-size:.82rem!important;font-weight:740!important;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}
  .site-header .main-nav a::after{display:none!important}
  .site-header .main-nav a:is(:hover,:focus-visible){background:rgba(255,255,255,.09)!important;color:#fff!important}
  .site-header .main-nav a:is(.is-current,[aria-current="page"]){background:rgba(255,198,41,.16)!important;border-color:rgba(255,198,41,.2)!important;color:#ffdc7b!important}
  .site-header .header-cta{min-height:44px!important;padding:0 14px!important;border-radius:13px!important;background:var(--v27-yellow)!important;border-color:var(--v27-yellow)!important;color:var(--v27-ink)!important;font-size:.8rem!important;box-shadow:none!important}
  .site-header .header-cta .icon{background-color:currentColor!important}
  .site-header .header-cta:hover{background:#ffda65!important;border-color:#ffda65!important;transform:translateY(-1px)}

  /* Botões com a mesma hierarquia clara do aplicativo. */
  .btn{min-height:50px!important;padding:10px 19px!important;border-radius:14px!important;gap:8px!important;font-size:.88rem!important;line-height:1.22;text-align:center}
  .btn-primary{background:var(--v27-yellow)!important;border-color:var(--v27-yellow)!important;color:var(--v27-ink)!important;box-shadow:0 10px 22px rgba(203,143,0,.14)!important}
  .btn-primary:hover{background:#ffd454!important;border-color:#ffd454!important}
  .btn-secondary{background:#283237!important;border-color:#283237!important;color:#fff!important}
  .btn-secondary:hover{background:#39464a!important;border-color:#39464a!important}
  a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b98000;outline-offset:3px}

  /* Aberturas enquadradas como superfícies do produto, mantendo as fotos. */
  .home-page .hero{width:min(calc(100% - 48px),1440px)!important;min-height:0!important;margin:0 auto!important;padding:100px 0 0!important;background:transparent!important}
  .home-page .hero-slides{height:555px!important;border:1px solid var(--v27-line);border-radius:27px!important;background:#20292c;box-shadow:0 24px 62px rgba(19,33,36,.16);overflow:hidden!important}
  .home-page .hero-slide{background-image:none!important}
  .home-page .hero-content{height:100%!important;align-items:center!important;padding:0!important}
  .home-page .hero-copy{position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:14px!important;width:min(65%,670px)!important;max-width:670px!important;height:100%!important;min-height:0!important;margin:0!important;padding:34px 0 50px!important;color:#fff!important}
  .home-page .hero-copy .eyebrow{position:static!important;align-self:flex-start!important;margin:0!important;padding:7px 12px!important;background:rgba(255,198,41,.17);border:1px solid rgba(255,198,41,.36);border-radius:999px;color:#ffe29b!important;font-size:.7rem!important;letter-spacing:.10em!important}
  .home-page .hero-copy .eyebrow span{display:none!important}
  .home-page .hero-copy h1,.home-page .hero-copy h2{position:static!important;align-self:auto!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;color:#fff!important;font-size:clamp(2.65rem,3.8vw,4rem)!important;line-height:1.06!important;letter-spacing:-.041em!important;text-wrap:balance}
  .home-page .hero-copy p{position:static!important;align-self:auto!important;width:auto!important;max-width:610px!important;margin:0!important;padding:0!important;color:rgba(255,255,255,.86)!important;font-size:1.045rem!important;line-height:1.55!important}
  .home-page .hero-copy .hero-actions,.home-page .hero-actions{position:static!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:11px!important;width:auto!important;height:auto!important;min-height:0!important;margin:14px 0 0!important;padding:0!important}
  .home-page .hero-copy .hero-actions .btn{width:auto!important;height:auto!important;min-width:185px!important}
  .home-page .hero-call-link{min-height:50px!important;min-width:165px!important;padding:10px 16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:1px solid #344044!important;border-radius:14px!important;background:#283237!important;color:#fff!important;box-shadow:none!important;font-size:.88rem!important;text-decoration:none!important}
  .home-page .hero-call-link:hover{background:#39464a!important;color:#fff!important;border-color:#39464a!important;transform:translateY(-2px)}
  .home-page .hero-bottom{left:auto!important;right:18px!important;bottom:18px!important;width:auto!important;height:37px!important;background:rgba(19,26,29,.68)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:999px!important;pointer-events:auto!important;backdrop-filter:blur(10px)!important}
  .home-page .hero-bottom-inner{width:auto!important;height:100%!important;margin:0!important;padding:0 11px!important;justify-content:center!important}
  .home-page .hero-dots{margin:0!important;padding:0!important;background:transparent!important;border:0!important;backdrop-filter:none!important}
  .home-page .hero-dot{width:9px;height:9px;background:rgba(255,255,255,.66)}
  .home-page .hero-dot.is-active{width:22px;background:var(--v27-yellow)}
  .home-page .yellow-band{width:min(calc(100% - 48px),1440px);margin:15px auto 0;border-radius:22px;overflow:hidden;background:var(--v27-yellow)!important;box-shadow:0 9px 24px rgba(190,133,0,.10)}
  .home-page .yellow-band-inner{width:min(calc(100% - 56px),1320px)!important;min-height:102px!important;gap:26px!important}

  body:not(.home-page) .internal-hero{width:min(calc(100% - 48px),1440px)!important;min-height:530px!important;margin:100px auto 0!important;padding:0!important;border:1px solid var(--v27-line);border-radius:27px!important;overflow:hidden!important;box-shadow:0 24px 62px rgba(19,33,36,.15)}
  body:not(.home-page) .internal-hero-content{min-height:530px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:64px 0 46px!important}
  body:not(.home-page) .internal-hero h1{max-width:800px!important;font-size:clamp(2.6rem,4.1vw,4.1rem)!important;line-height:1.07!important;letter-spacing:-.038em!important;text-wrap:balance}
  body:not(.home-page) .internal-hero p{max-width:700px!important;font-size:1.04rem!important;line-height:1.55!important}
  body:not(.home-page) .internal-hero .hero-actions{display:flex!important;flex-wrap:wrap;gap:10px!important}
  body:not(.home-page) .internal-hero .hero-actions .btn{min-width:185px!important}

  /* Ritmo de leitura, cartões claros e fotografias valorizadas. */
  .section{padding:82px 0!important}
  .section-heading h2,.clients-head h2,.split-copy h2,.location-copy h2{color:var(--v27-ink);font-size:clamp(2.15rem,3.45vw,3.45rem);line-height:1.09;letter-spacing:-.043em}
  .section-heading p,.clients-head p,.split-copy p,.location-copy p{line-height:1.58}
  .section-heading.heading-with-note .copy-callout,.clients-head.heading-with-note .copy-callout{max-width:720px!important;padding:14px 18px!important;border:1px solid #f0e0b2!important;border-radius:14px!important;background:#fffbef!important;color:#5d6765!important;font-size:.93rem!important}
  .dark-section .section-heading h2,.dark-section .split-copy h2{color:#fff}
  .dark-section .section-heading.heading-with-note .copy-callout{background:rgba(255,198,41,.08)!important;border-color:rgba(255,198,41,.22)!important;color:#dee6e3!important}
  .service-photo-card{border:1px solid #e5e7df!important;border-radius:22px!important;background:#fff!important;box-shadow:var(--v27-shadow)!important;overflow:hidden!important}
  .service-photo-card:hover{border-color:#e3c579!important;box-shadow:0 22px 46px rgba(22,34,36,.13)!important;transform:translateY(-4px)!important}
  .service-photo-copy{padding:24px!important}
  .service-photo-copy h3{letter-spacing:-.025em}
  .machine-card,.v9-machine-card{border-radius:22px!important;box-shadow:0 16px 40px rgba(0,0,0,.11)!important;overflow:hidden!important}
  .machine-copy{padding:24px 25px 27px!important}
  .gallery-item,.work-card{border-radius:21px!important;overflow:hidden!important}
  .segment-grid a,.segment-detail,.article-card,.related-card,.three-columns article,.value-grid article,.process-grid article,.service-card{border-radius:20px!important}
  .article-card,.related-card,.segment-detail,.process-grid article{border:1px solid var(--v27-line)!important;box-shadow:var(--v27-shadow)!important}
  .logo-card{height:116px;border:1px solid var(--v27-line)!important;border-radius:18px!important;box-shadow:0 8px 22px rgba(18,30,32,.045)}
  .logo-card img{filter:none!important;opacity:1!important;object-fit:contain!important}
  .map-card{border-radius:24px!important;border:1px solid var(--v27-line)!important;box-shadow:var(--v27-shadow)!important;overflow:hidden!important}
  .faq-list details{margin-bottom:9px;padding:6px 17px!important;border:1px solid var(--v27-line);border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(17,29,31,.035)}
  .quote-form{border-radius:22px!important;box-shadow:var(--v27-shadow)!important}
  .contact-cards>a,.contact-cards>button,.contact-cards>div{border-radius:17px!important;border:1px solid var(--v27-line)!important}
  .v13-segment-card{border-radius:22px!important;box-shadow:var(--v27-shadow)!important}
  .v13-segment-card:hover{transform:translateY(-4px)!important}

  /* Encerramento e rodapé agora acompanham o restante do sistema visual. */
  .cta-section{width:min(calc(100% - 48px),1440px);margin:0 auto 26px;border-radius:26px!important;overflow:hidden!important}
  .cta-section:not(.v13-work-photo-cta){background:linear-gradient(130deg,#283338,#1b2428)!important}
  .cta-section:not(.v13-work-photo-cta) .cta-inner{padding-top:64px!important;padding-bottom:64px!important}
  .cta-section:not(.v13-work-photo-cta) .cta-bg{opacity:.11!important}
  .cta-section .cta-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:11px!important}
  .site-footer{border-top:3px solid var(--v27-yellow)!important;background:linear-gradient(145deg,#1b2428,#11181a)!important;padding:54px 0 22px!important}
  .site-footer::before{opacity:.10!important}
  .site-footer::after{opacity:.07!important}
  .site-footer .footer-main{display:grid!important;grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(140px,1fr))!important;gap:32px!important;padding-bottom:30px}
  .site-footer .footer-brand p{max-width:360px;margin:12px 0 0;font-size:.91rem;line-height:1.55;color:#c8d1ce}
  .site-footer .footer-brand strong{color:#fff}
  .site-footer .footer-links h3{margin:0 0 14px;color:#ffdc73;font-size:.83rem;font-weight:850}
  .site-footer .footer-links a{display:block;padding:5px 0;font-size:.87rem;line-height:1.4;color:#dce4e0}
  .site-footer .footer-links a:hover{color:var(--v27-yellow)}
  .site-footer .footer-bottom{padding-top:16px;border-top:1px solid rgba(255,255,255,.13);font-size:.82rem}
}

/* Em telas grandes a abertura fica lado a lado, como a linguagem da home no celular. */
@media (min-width:1120px){
  .home-page .hero-slides{background:#fff!important}
  .home-page .hero-slide{background:radial-gradient(circle at 48% 6%,rgba(255,198,41,.14),transparent 39%),linear-gradient(145deg,#fff,#f7f9f6)!important}
  .home-page .hero-slide-image{top:22px!important;right:22px!important;bottom:22px!important;left:auto!important;width:49%!important;height:calc(100% - 44px)!important;max-width:none!important;border-radius:22px!important;object-fit:cover!important;object-position:center!important;transform:none!important;filter:none!important;box-shadow:0 14px 35px rgba(15,28,31,.14)}
  .home-page .hero-slide.is-active .hero-slide-image{transform:none!important}
  .home-page .hero-overlay{display:none!important}
  .home-page .hero-copy{width:44%!important;max-width:600px!important;padding-right:20px!important;color:var(--v27-ink)!important}
  .home-page .hero-copy .eyebrow{background:#fff1cc!important;border-color:#f1dfb0!important;color:#775600!important}
  .home-page .hero-copy h1,.home-page .hero-copy h2{color:var(--v27-ink)!important}
  .home-page .hero-copy p{color:var(--v27-muted)!important}
  .home-page .hero-copy .hero-actions .btn,.home-page .hero-call-link{min-width:0!important}
  body:not(.home-page) .internal-hero{min-height:575px!important;background:radial-gradient(circle at 48% 8%,rgba(255,198,41,.14),transparent 40%),#fff!important}
  body:not(.home-page) .internal-hero-bg{top:22px!important;right:22px!important;bottom:22px!important;left:auto!important;width:49%!important;height:auto!important;border-radius:22px!important;overflow:hidden!important;box-shadow:0 14px 35px rgba(15,28,31,.14)}
  body:not(.home-page) .internal-hero-bg .internal-hero-image{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;transform:none!important}
  body:not(.home-page) .internal-hero-overlay{display:none!important}
  body:not(.home-page) .internal-hero-content{min-height:575px;padding:38px 0!important}
  body:not(.home-page) .internal-hero .eyebrow{padding:7px 12px;margin:0 0 14px!important;border-radius:999px;background:#fff1cc;color:#775600!important;opacity:1}
  body:not(.home-page) .internal-hero .eyebrow span{display:none}
  body:not(.home-page) .internal-hero h1{width:44%;max-width:600px!important;color:var(--v27-ink)!important;font-size:clamp(2.4rem,3.05vw,3.55rem)!important}
  body:not(.home-page) .internal-hero p{width:44%;max-width:600px!important;color:var(--v27-muted)!important}
  body:not(.home-page) .internal-hero .hero-actions{width:44%;margin-top:8px}
}

/* Tablet e janelas compactas mantêm os textos sobre fotos e o menu acessível. */
@media (min-width:769px) and (max-width:1119px){
  .home-page .hero-copy{width:min(82%,690px)!important;max-width:690px!important;padding-inline:10px!important}
  .home-page .hero-copy h1,.home-page .hero-copy h2{font-size:clamp(2.45rem,4.6vw,3.65rem)!important}
  .home-page .hero-overlay{background:linear-gradient(90deg,rgba(11,17,19,.93),rgba(11,17,19,.65) 70%,rgba(11,17,19,.2))!important}
  .home-page .yellow-band-inner{grid-template-columns:1fr!important;gap:13px!important;padding:19px 0!important}
  .home-page .yellow-band .hero-trust{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:12px!important}
  .home-page .yellow-band .hero-trust-item:nth-child(3){border-left:0!important}
  .company-page .v9-values .value-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .segments-page .v13-segments-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .site-footer .footer-main{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .site-footer .footer-brand{grid-column:1/-1}
}
@media (min-width:769px) and (max-width:980px){
  .site-header .header-inner{height:76px!important}
  .site-header .menu-toggle{display:block!important;flex:0 0 44px;margin-left:0!important;border-radius:12px;background:rgba(255,255,255,.1)}
  .site-header .main-nav{position:fixed;top:76px;left:16px;right:16px;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;max-height:calc(100dvh - 92px);overflow-y:auto;margin:0!important;padding:14px!important;border:1px solid rgba(255,255,255,.13);border-radius:0 0 20px 20px;background:#20292c;box-shadow:0 22px 46px rgba(12,23,26,.24);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-12px);transition:opacity .2s,transform .2s,visibility .2s}
  .site-header .main-nav.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:none}
  .site-header .main-nav a{justify-content:flex-start;min-height:46px;font-size:.92rem!important;padding:10px 14px}
  .site-header .header-cta{display:inline-flex!important;margin-left:auto}
  .home-page .hero-copy{width:min(91%,660px)!important}
  .home-page .hero-copy h1,.home-page .hero-copy h2{font-size:clamp(2.2rem,5vw,3.1rem)!important}
  body:not(.home-page) .internal-hero h1{font-size:clamp(2.25rem,5vw,3.25rem)!important}
  .site-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (min-width:769px) and (prefers-reduced-motion:reduce){
  .home-page .hero-slide,.home-page .hero-copy,.home-page .hero-slide-image,.site-footer::before,.site-footer::after{animation:none!important;transition:none!important}
}
