/* ==========================================================================
   Site institucional ASA Máquinas — visual próprio, distinto do painel.
   ========================================================================== */
:root {
  --primary: #1f6b52;
  --primary-dark: #16301f;
  --accent: #c9a227;
  --background: #ffffff;
  --surface: #f5f6f2;
  --border: #e2e5dd;
  --text-primary: #1b221d;
  --text-secondary: #56605a;
  --on-dark: #e9efe9;
  --radius: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.site { font-family: var(--font); color: var(--text-primary); background: var(--background); font-size: 1rem; line-height: 1.6; }
.site a { color: var(--primary); }
.site h1, .site h2, .site h3 { font-weight: 700; letter-spacing: -0.01em; color: var(--text-primary); }

.site-header { background: var(--background); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1030; }
.site-header .navbar { padding: 0.7rem 0; }
.site-header .nav-link { color: var(--text-secondary); font-weight: 500; padding: 0.4rem 0.9rem !important; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--primary); }
.site-header .navbar-toggler { border: 0; font-size: 1.6rem; color: var(--text-primary); }
.site-header .navbar-toggler:focus { box-shadow: none; }
.site-mark { background: var(--primary); color: #fff; font-weight: 800; padding: 0.15rem 0.45rem; border-radius: 4px; margin-right: 0.4rem; letter-spacing: 0.04em; }
.site-brand-text { font-weight: 700; color: var(--text-primary); }

.btn-site { background: var(--primary); color: #fff !important; border-radius: var(--radius); font-weight: 600; padding: 0.5rem 1.1rem; border: 0; }
.btn-site:hover { background: var(--primary-dark); }
.btn-site-outline { border: 1px solid var(--on-dark); color: var(--on-dark) !important; border-radius: var(--radius); font-weight: 600; padding: 0.5rem 1.1rem; }
.btn-site-outline:hover { background: rgba(255, 255, 255, 0.1); }

.hero { background: var(--primary-dark); color: var(--on-dark); padding: 5rem 0 4.5rem; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 16ch; }
.hero .lead { color: var(--on-dark); opacity: 0.9; max-width: 55ch; }
.hero .kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--accent); font-weight: 700; }

.section { padding: 4rem 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head .kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--primary); font-weight: 700; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-head p { color: var(--text-secondary); }

.area { border-top: 3px solid var(--primary); padding-top: 1rem; height: 100%; }
.area h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.area p { color: var(--text-secondary); margin-bottom: 0; }
.area i { font-size: 1.4rem; color: var(--primary); display: block; margin-bottom: 0.5rem; }

.servico-lista { border-top: 1px solid var(--border); }
.servico-item { display: flex; gap: 1rem; justify-content: space-between; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.servico-item h3 { font-size: 1.1rem; margin: 0 0 0.2rem; }
.servico-item p { margin: 0; color: var(--text-secondary); }
.servico-item .cat { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); font-weight: 700; white-space: nowrap; }

.placeholder-note { color: #8a6d00; background: #fff8e1; border: 1px dashed #e0c36a; padding: 0.5rem 0.7rem; border-radius: 4px; font-size: 0.88rem; }
.site-footer .placeholder-note { background: transparent; border-color: rgba(255, 255, 255, 0.3); color: #d9c989; }

.cta { background: var(--primary); color: #fff; padding: 3rem 0; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark); }

.site .form-control { border-radius: var(--radius); padding: 0.6rem 0.8rem; border-color: var(--border); }
.site .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem rgba(31, 107, 82, 0.15); }
.site .form-label { font-weight: 500; font-size: 0.92rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { background: var(--primary-dark); color: var(--on-dark); padding: 3rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-copy { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2rem; padding-top: 1rem; color: rgba(233, 239, 233, 0.7); }
.site-copy a { color: rgba(233, 239, 233, 0.7); }

.whats-float {
  position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%;
  background: #1f9d55; color: #fff !important; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); z-index: 1040; text-decoration: none;
}

@media (max-width: 767.98px) {
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 2.75rem 0; }
  .servico-item { flex-direction: column; gap: 0.3rem; }
}

/* Página inicial e identidade do site público */
@font-face { font-family: Geist; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/vendor/fonts/geist/files/geist-latin-wght-normal.woff2') format('woff2'); }
:root { --primary: #23654e; --primary-dark: #102e25; --accent: #e6c46a; --surface: #f5f6f1; --border: #dfe5de; --radius: 12px; --font: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body.site { -webkit-font-smoothing: antialiased; }
.site a { text-underline-offset: 5px; }
.site a:focus-visible, .site button:focus-visible { outline: 3px solid #b59132; outline-offset: 5px; }
.site-header { background: #fafbf8; }
.site-header .navbar { padding: 1.15rem 0; }
.site-header .navbar-brand { display: flex; align-items: center; gap: .35rem; }
.site-header .navbar-brand img { max-width: 190px; object-fit: contain; }
.site-mark { border-radius: 7px; padding: .3rem .5rem; font-size: 1.15rem; }
.site-brand-text { letter-spacing: -.04em; }
.site-header .nav-link { font-size: .875rem; }
.site-header .nav-link.active { font-weight: 700; }
.btn-site { padding: .85rem 1.3rem; font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; transition: background .2s, transform .2s; }
.btn-site:hover { transform: translateY(-2px); }
.home-hero { padding: 3.5rem 0 4rem; background: var(--primary-dark); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.hero-content { padding: 1rem 0; }
.hero-eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.65rem; }
.hero-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.home-hero h1 { font-size: clamp(2.6rem, 4.2vw, 4.1rem); line-height: 1.1; letter-spacing: -.055em; max-width: none; margin-bottom: 1.5rem; font-weight: 650; }
.home-hero h1 em { font-style: normal; color: var(--accent); }
.home-hero .lead { font-size: 1.03rem; max-width: 42ch; line-height: 1.8; color: #c9d8cf; margin-bottom: 1.8rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.3rem; }
.home-hero .btn-site, .cta-panel .btn-site { background: var(--accent); color: #172f25 !important; }
.home-hero .btn-site:hover, .cta-panel .btn-site:hover { background: #f3d589; }
.site .hero-link { color: #fff; font-size: .875rem; text-decoration: none; display: inline-flex; gap: .7rem; align-items: center; }
.hero-link:hover { text-decoration: underline; }
.hero-note { display: flex; align-items: center; gap: .5rem; margin-top: 2.5rem; color: #b6c7bc; font-size: .78rem; }
.hero-visual { position: relative; height: 475px; border-radius: 18px; overflow: hidden; background: #42644a; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,30,20,.15), transparent 40%, rgba(12,30,20,.8)); pointer-events: none; }
.visual-label { position: absolute; z-index: 1; left: 1.5rem; top: 1.5rem; border: 1px solid #ffffff60; background: #102e256b; border-radius: 30px; padding: .5rem .8rem; display: flex; align-items: center; gap: .55rem; color: #fff; font-size: .7rem; }
.visual-label span { width: 6px; height: 6px; background: #e6c46a; border-radius: 50%; }
.visual-caption { position: absolute; left: 2rem; right: 2rem; bottom: 1.8rem; z-index: 1; }
.visual-caption > span { color: #efddad; letter-spacing: .18em; font-size: .65rem; font-weight: 600; }
.visual-caption p { font-size: 1.5rem; line-height: 1.35; color: white; margin: .6rem 3rem 0 0; letter-spacing: -.03em; }
.site .visual-caption a { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff70; border-radius: 50%; color: #fff; text-decoration: none; }
.visual-caption a:hover { background: #ffffff20; }
.expertise-strip { border-bottom: 1px solid var(--border); background: #f8f9f5; }
.expertise-strip .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.expertise-strip span { display: flex; align-items: center; gap: .7rem; font-size: .8rem; color: #435a4e; font-weight: 500; }
.expertise-strip span i { font-size: 1.15rem; color: var(--primary); }
.expertise-strip a { text-decoration: none; font-size: .75rem; font-weight: 600; }
.section { padding: 5rem 0; }
.section-heading-row { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: 2.2rem; }
.section-heading-row .section-head { margin: 0; }
.section-heading-row > p { color: var(--text-secondary); max-width: 33ch; font-size: .925rem; margin: 0 0 .3rem; }
.site .kicker { text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 650; color: var(--primary); margin-bottom: .85rem; }
.site .hero .kicker { color: var(--accent); }
.site .section-head h2, .home-about h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.18; letter-spacing: -.045em; font-weight: 600; }
.site .solution-card { display: flex; flex-direction: column; height: 100%; padding: 2rem; border: 1px solid var(--border); border-radius: 15px; background: #fff; text-decoration: none; color: var(--text-primary); transition: transform .2s, border-color .2s, box-shadow .2s; }
.solution-card:hover { transform: translateY(-5px); border-color: #8fae9b; box-shadow: 0 15px 35px #193e2410; }
.solution-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.solution-icon { width: 55px; height: 55px; display: grid; place-items: center; background: #eef3ec; color: var(--primary); border-radius: 12px; font-size: 1.6rem; }
.solution-number { color: #859489; font-size: .8rem; }
.solution-tag { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: .7rem; font-weight: 600; }
.solution-card h3 { font-size: 1.3rem; letter-spacing: -.035em; margin-bottom: .8rem; }
.solution-card p { color: var(--text-secondary); font-size: .88rem; line-height: 1.8; margin-bottom: 1.7rem; }
.solution-link { display: flex; justify-content: space-between; align-items: center; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: .8rem; font-weight: 600; margin-top: auto; color: var(--primary); }
.text-link { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-size: .85rem; font-weight: 600; }
.text-link:hover { text-decoration: underline; }
.home-service-item { align-items: center; padding: 1.5rem .5rem; text-decoration: none; transition: background .2s; }
.home-service-item:hover { background: #e9eee5; }
.service-number { color: #778b7b; min-width: 2rem; font-size: .8rem; }
.service-description { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.service-description p { font-size: .85rem; max-width: 70ch; }
.service-arrow { font-size: 1.2rem; margin-left: 1rem; }
.home-service-item .cat { font-size: .65rem; white-space: normal; border: 1px solid #d3ded2; padding: .35rem .65rem; border-radius: 30px; max-width: 25%; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.home-about p { color: var(--text-secondary); line-height: 1.9; margin-bottom: 1.5rem; }
.home-cta { padding: 0 0 5rem; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.5rem; background: var(--primary-dark); border-radius: 18px; }
.site .cta-panel .kicker { color: var(--accent); }
.site .cta-panel h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.18; letter-spacing: -.04em; font-weight: 550; }
.cta-panel p { color: #c3d3c8; font-size: .9rem; margin: 1rem 0 0; }
.cta-panel .btn { flex-shrink: 0; }
.site-footer { padding: 3.5rem 0 1.5rem; background: #0c241c; }
.site-footer .footer-brand { font-size: 1.3rem; letter-spacing: -.035em; }
.footer-intro { color: #b7cabc; font-size: .85rem; max-width: 33ch; }
.site-footer .footer-title { color: #b7cabc; font-size: .7rem; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; font-size: .85rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-copy { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .75rem; margin-top: 2.5rem; padding-top: 1.5rem; }
.whats-float { box-shadow: 0 5px 20px #102e2530; border: 3px solid #fff; }
@media (max-width: 991.98px) {
  .hero-grid { gap: 2rem; }
  .home-hero h1 { font-size: 2.8rem; }
  .hero-visual { height: 440px; }
  .hero-actions { gap: 1rem; }
  .solution-card { padding: 1.5rem; }
  .solution-card h3 { font-size: 1.15rem; }
  .expertise-strip .container { justify-content: center; gap: 1rem 2rem; }
  .expertise-strip a { display: none; }
  .cta-panel { padding: 2.5rem; }
  .site-header .navbar-collapse { padding-top: 1rem; }
}
@media (max-width: 767.98px) {
  .site-header .navbar { padding: .8rem 0; }
  .home-hero { padding: 2rem 0; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .home-hero h1 { font-size: clamp(2.45rem, 9vw, 3.5rem); }
  .hero-eyebrow { margin-bottom: 1.2rem; }
  .hero-note { margin-top: 1.8rem; }
  .hero-visual { height: 340px; }
  .visual-caption { left: 1.5rem; right: 1.5rem; }
  .expertise-strip .container { gap: .7rem 1.2rem; padding-top: 1rem; padding-bottom: 1rem; }
  .expertise-strip span { font-size: .7rem; }
  .section { padding: 3rem 0; }
  .section-heading-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .section-heading-row > p { max-width: 45ch; }
  .solution-top { margin-bottom: 1.4rem; }
  .solution-card h3 { font-size: 1.35rem; }
  .home-service-item { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: .75rem; }
  .home-service-item .cat { max-width: none; margin-left: 2.75rem; order: 4; }
  .service-description { flex-basis: calc(100% - 6rem); }
  .service-arrow { margin-left: 0; }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
  .home-cta { padding-bottom: 3rem; }
  .site-footer { padding-top: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .solution-card, .btn-site, .home-service-item { transition: none; }
  .solution-card:hover, .btn-site:hover { transform: none; }
}
