/* AMEC Refrigeração e Serviços Integrados — V1.8, identidade Conceito 2 aprovada. */
:root {
  --navy: #0B2D6B;
  --navy-deep: #071E40;
  --navy-soft: #13467F;
  --accent: #3CC4FF;
  --accent-strong: #0E6FD6;
  --accent-light: #EBF8FF;
  --ink: #102A50;
  --muted: #627382;
  --bg: #f6f9fb;
  --line: #e0e9ef;
  --white: #fff;
  --heading: "Manrope",Arial,sans-serif;
  --body: "DM Sans",Arial,sans-serif;
  --radius: 22px;
  --shadow: 0 25px 80px rgba(14,40,58,.10);
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: white;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,input,select,textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.container {
  max-width: 1256px;
  padding-inline: 28px;
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -90px;
  left: 15px;
  padding: 12px 17px;
  background: #fff;
  color: #000;
  z-index: 1000;
}

.skip-link:focus {
  top: 15px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.075);
  transition: box-shadow .25s;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 35px rgba(0,0,0,.15);
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--navy);
  border-radius: 12px;
  transform: rotate(-8deg);
}

.brand-symbol>.icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.4;
  transform: rotate(8deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font: 800 27px/1 var(--heading);
  letter-spacing: -1.5px;
}

.brand-dot {
  color: var(--accent);
}

.brand-text small {
  font: 700 9px/1.5 var(--heading);
  letter-spacing: 4.6px;
  margin-top: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 29px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: #ccd9e2;
  transition: color .2s;
  white-space: nowrap;
}

.nav-link:hover,.nav-link.is-active {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 49px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font: 700 13px/1.2 var(--heading);
  transition: transform .2s,background .2s,border-color .2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: #9ce5fc;
}

.nav-cta {
  min-height: 44px;
  font-size: 12px;
  padding: 12px 16px;
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  color: white;
}

.menu-toggle .close-icon {
  display: none;
}

.hero {
  position: relative;
  background: var(--navy);
  color: white;
  min-height: 686px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -260px;
  width: 650px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(27,126,168,.20),transparent 66%);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(to right,#77d9fb 1px,transparent 1px),linear-gradient(to bottom,#77d9fb 1px,transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg,transparent 35%,#000);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
  min-height: 594px;
  padding-top: 46px;
  padding-bottom: 30px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 35px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 20px;
  color: #208cad;
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: 2.2px;
  font-size: 11px;
}

.eyebrow-line {
  width: 27px;
  height: 2px;
  display: inline-block;
  background: currentColor;
}

.eyebrow-on-dark {
  color: var(--accent);
}

h1,h2,h3,p {
  margin-top: 0;
}

.hero h1 {
  max-width: 700px;
  font: 800 clamp(52px,5.3vw,82px)/1.08 var(--heading);
  letter-spacing: -4.7px;
  margin: 0 0 27px;
}

.text-accent {
  color: var(--accent);
}

.hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: #bad0de;
  max-width: 515px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn-large {
  min-height: 59px;
  padding: 17px 22px;
}

.btn-text-light {
  color: white;
  padding: 13px 1px;
}

.btn-text-light:hover {
  color: var(--accent);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #a9c2d2;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 49px;
}

.hero-proof strong {
  color: #e5f4fb;
  font-weight: 700;
}

.proof-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(121,212,246,.23);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.proof-icon .icon {
  width: 20px;
  height: 20px;
}

.hero-media {
  height: 530px;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-photo-frame {
  position: relative;
  z-index: 1;
  width: 79%;
  height: 100%;
  border-radius: 26px 26px 10px 26px;
  overflow: hidden;
  background: #06111b;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 32px 80px rgba(0,0,0,.2);
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(4,25,42,.06) 30%,rgba(4,25,42,.82) 100%);
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(.75) contrast(1.03);
}

.hero-visual-glow {
  position: absolute;
  inset: auto 8% -18px 15%;
  height: 240px;
  background: rgba(56,168,217,.23);
  filter: blur(70px);
}

.hero-floating-card {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 74px;
  padding: 17px 21px;
  min-width: 258px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: rgba(14,49,71,.92);
  box-shadow: 0 30px 75px rgba(0,0,0,.2);
  backdrop-filter: blur(15px);
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--navy);
  background: var(--accent);
}

.hero-floating-card span:last-child {
  display: grid;
  gap: 5px;
}

.hero-floating-card strong {
  font: 800 13px var(--heading);
}

.hero-floating-card small {
  font-size: 11px;
  color: #abc9d9;
}

.hero-index {
  position: absolute;
  right: -33px;
  top: 20px;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255,255,255,.48);
  font-size: 9px;
  letter-spacing: 2px;
}

.index-bar {
  width: 1px;
  height: 45px;
  background: rgba(255,255,255,.3);
}

.hero-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
  font: 700 10px var(--heading);
  letter-spacing: 1.7px;
  color: #7b9cae;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #bbd7e3;
}

.scroll-cue .icon {
  transform: rotate(90deg);
  width: 14px;
  height: 14px;
}

.capability-bar {
  background: #0b2b40;
  color: #d9eaf2;
}

.capability-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  min-height: 88px;
  align-items: center;
}

.capability-inner span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font: 700 12px var(--heading);
  letter-spacing: .05px;
}

.capability-inner span+span {
  border-left: 1px solid rgba(255,255,255,.16);
}

.capability-inner .icon {
  color: var(--accent);
}

.section {
  padding-block: 111px;
}

.services {
  background: var(--bg);
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 35px;
}

.section-top>div {
  max-width: 660px;
}

.section-top h2,.about h2,.contact h2,.faq-section h2 {
  font: 800 clamp(35px,3.5vw,49px)/1.18 var(--heading);
  letter-spacing: -2.5px;
  margin: 0;
}

.section-top h2 span {
  color: #5c798b;
}

.section-intro {
  max-width: 350px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 4px;
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 23px;
  flex-wrap: wrap;
}

.filter-button {
  padding: 11px 15px;
  background: transparent;
  color: #677d8d;
  font: 700 12px var(--heading);
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: all .2s;
}

.filter-button:hover {
  border-color: #9bb9cb;
  color: var(--ink);
}

.filter-button.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.service-card {
  min-height: 292px;
  padding: 27px 27px 24px;
  border-radius: 17px;
  background: #fff;
  border: 1px solid #e5edf1;
  display: flex;
  flex-direction: column;
  transition: transform .25s,box-shadow .25s,border-color .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #b6dce9;
}

.service-card[hidden] {
  display: none !important;
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 27px;
}

.card-icon {
  width: 51px;
  height: 51px;
  border-radius: 13px;
  background: #eaf8fc;
  color: #1387af;
  display: grid;
  place-items: center;
}

.card-icon .icon {
  width: 26px;
  height: 26px;
}

.card-number {
  font: 700 10px var(--heading);
  color: #aec0ca;
  letter-spacing: 1px;
}

.service-card h3 {
  font: 800 18px/1.35 var(--heading);
  letter-spacing: -.6px;
  margin-bottom: 9px;
}

.service-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #708392;
  margin: 0 0 20px;
}

.card-link {
  font: 800 12px var(--heading);
  color: #0c83aa;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
}

.card-link .icon {
  width: 14px;
  height: 14px;
}

.card-link:hover {
  text-decoration: underline;
}

.feature-section {
  background: white;
}

.feature-heading {
  margin-bottom: 47px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9%;
  margin-bottom: 106px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-img-wrap {
  position: relative;
  height: 504px;
  background: #d4e4eb;
  border-radius: 20px;
  overflow: hidden;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.84);
}

.feature-img.tech-img {
  object-position: center 42%;
}

.feature-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,rgba(4,26,41,.45),transparent 40%);
}

.image-tag {
  position: absolute;
  left: 25px;
  bottom: 25px;
  z-index: 1;
  color: white;
  font: 800 11px var(--heading);
  letter-spacing: 1.8px;
}

.feature-copy {
  padding: 28px 0;
}

.mini-label {
  display: block;
  font: 800 11px var(--heading);
  color: #1588ad;
  letter-spacing: 1.4px;
  margin-bottom: 17px;
}

.feature-copy h3 {
  font: 800 clamp(29px,2.9vw,40px)/1.2 var(--heading);
  letter-spacing: -1.9px;
  margin-bottom: 18px;
}

.feature-copy>p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 23px;
}

.check-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 13px;
}

.check-list li {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.check-list .icon {
  width: 17px;
  height: 17px;
  color: #219bc5;
}

.btn-outline-dark {
  border: 1px solid #adc3d0;
  color: #09304b;
  background: white;
}

.btn-outline-dark:hover {
  border-color: #217fa8;
  background: #f2fbfd;
}

.feature-row-reverse .feature-img-wrap {
  order: 2;
}

.feature-row-reverse .feature-copy {
  order: 1;
}

.metal-img-wrap {
  height: 475px;
}

.about {
  position: relative;
  overflow: hidden;
  background: #082239;
  color: #fff;
}

.about-lines {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 75%,rgba(87,193,232,.12),transparent 35%),repeating-linear-gradient(145deg,transparent 0,transparent 79px,rgba(255,255,255,.018) 80px);
  pointer-events: none;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  align-items: center;
}

.about h2 {
  max-width: 550px;
  font-size: clamp(38px,4vw,54px);
  margin-bottom: 22px;
}

.about-main>p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.85;
  color: #adc6d4;
  margin-bottom: 30px;
  max-width: 510px;
}

.about-values {
  display: grid;
  gap: 0;
}

.value-row {
  display: grid;
  grid-template-columns: 58px 1fr 30px;
  gap: 16px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.value-row:first-child {
  border-top: 1px solid rgba(255,255,255,.12);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: rgba(88,194,231,.12);
  color: var(--accent);
}

.value-row h3 {
  margin: 0 0 5px;
  font: 800 17px var(--heading);
}

.value-row p {
  margin: 0;
  color: #9dbbc9;
  font-size: 12px;
  line-height: 1.6;
}

.value-num {
  align-self: start;
  font: 700 11px var(--heading);
  color: #749aad;
}

.process {
  background: #f8fafb;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.step {
  padding: 29px 30px 34px;
  background: white;
  border-radius: 16px;
  border: 1px solid #e3ebf1;
}

.step>span {
  font: 800 34px var(--heading);
  letter-spacing: -1.5px;
  color: #66c1df;
  display: block;
  margin-bottom: 30px;
}

.step h3 {
  font: 800 18px var(--heading);
  letter-spacing: -.5px;
  margin-bottom: 10px;
}

.step p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
}

.contact {
  background: var(--navy);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: start;
}

.contact h2 {
  font-size: clamp(38px,4vw,56px);
  margin-bottom: 20px;
  max-width: 590px;
}

.contact-copy>p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.85;
  color: #adc4d2;
  max-width: 500px;
  margin-bottom: 32px;
}

.contact-links {
  display: grid;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,.11);
  padding: 17px 0;
  min-width: 0;
}

.contact-links a:hover strong {
  color: var(--accent);
}

.contact-links .contact-icon {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-links a span:nth-child(2) {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.contact-links small {
  font: 700 10px var(--heading);
  color: #80a5b8;
  letter-spacing: 1.1px;
}

.contact-links strong {
  font: 700 16px var(--heading);
  overflow-wrap: anywhere;
  transition: color .2s;
}

.contact-links .contact-email {
  font-size: 13px;
}

.contact-links .end-arrow {
  margin-left: auto;
  color: #82acc1;
  width: 16px;
  height: 16px;
}

.form-shell {
  background: white;
  color: var(--ink);
  border-radius: 19px;
  padding: 38px 37px;
  box-shadow: 0 25px 55px rgba(0,0,0,.14);
}

.form-kicker {
  display: block;
  font: 800 11px var(--heading);
  letter-spacing: 1.7px;
  color: #138db2;
  margin-bottom: 12px;
}

.form-head h3 {
  font: 800 29px var(--heading);
  letter-spacing: -1.2px;
  margin: 0 0 10px;
}

.form-head p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 25px;
}

.field {
  margin: 0 0 17px;
}

.field label {
  display: block;
  font: 700 12px var(--heading);
  margin-bottom: 9px;
}

.field label>span:not(.optional) {
  color: #087da6;
}

.optional {
  font-weight: 400;
  color: #758996;
}

.field input,.field select,.field textarea {
  display: block;
  width: 100%;
  border: 1px solid #dce7ed;
  background: #f9fcfd;
  border-radius: 9px;
  color: var(--ink);
  padding: 14px 15px;
  font-size: 13px;
  outline: none;
  transition: border-color .2s,box-shadow .2s;
}

.field textarea {
  min-height: 106px;
  resize: vertical;
}

.field :is(input,select,textarea):focus {
  border-color: #35afe2;
  box-shadow: 0 0 0 3px rgba(53,175,226,.13);
}

.field :is(input,select,textarea)::placeholder {
  color: #9aabb5;
}

.btn-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
}

.form-note {
  font-size: 10px;
  color: #82939d;
  line-height: 1.6;
  margin: 13px 0 0;
  text-align: center;
}

.form-message {
  font-size: 12px;
  color: #b42318;
  line-height: 1.5;
  margin: 0 0 5px;
  min-height: 0;
}

.form-message:empty {
  display: none;
}

.faq-section {
  padding-block: 85px;
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 13%;
}

.faq-section h2 {
  margin-bottom: 13px;
}

.faq-grid>div>p:last-child {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  max-width: 300px;
}

.faq-items {
  border-top: 1px solid #dce7ed;
}

.faq-items details {
  border-bottom: 1px solid #dce7ed;
  padding: 0;
}

.faq-items summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  padding: 21px 3px;
  font: 800 14px/1.5 var(--heading);
}

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

.faq-items summary span {
  color: #279eca;
  font: 400 25px var(--body);
}

.faq-items details[open] summary span {
  transform: rotate(45deg);
}

.faq-items details p {
  padding: 0 18px 19px 3px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.footer {
  background: #051622;
  color: #b9cbd6;
  padding-top: 65px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 12%;
  padding-bottom: 59px;
}

.footer-company p {
  max-width: 310px;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 20px;
  color: #92a9b8;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-column h3 {
  font: 800 11px var(--heading);
  letter-spacing: 1.4px;
  color: #fff;
  margin-bottom: 9px;
}

.footer-column a {
  font-size: 13px;
}

.footer-column a:hover,.footer-bottom a:hover {
  color: var(--accent);
}

.small-inline {
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #7996a5;
}

.footer-bottom a {
  font-weight: 700;
  color: #dbeef6;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 80;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  background: #25d366;
  color: #052818;
  font: 800 12px var(--heading);
  box-shadow: 0 12px 38px rgba(0,0,0,.25);
  transition: transform .2s;
}

.floating-whatsapp:hover {
  transform: translateY(-4px);
  background: #48e783;
}

.floating-whatsapp .icon {
  width: 22px;
  height: 22px;
}

.reveal {
  transition: opacity .55s ease,transform .55s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(19px);
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width:1120px) {
  .nav {
    gap: 19px;
  }

  .nav-link {
    font-size: 12px;
  }

  .header-inner {
    gap: 20px;
  }

  .hero-inner {
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(45px,5.4vw,70px);
  }

  .hero-photo-frame {
    width: 85%;
  }

  .contact-grid {
    gap: 6%;
  }

  .feature-row {
    gap: 6%;
  }
}

@media (max-width:920px) {
  .header-inner {
    height: 74px;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle[aria-expanded=true] .open-icon {
    display: none;
  }

  .menu-toggle[aria-expanded=true] .close-icon {
    display: block;
  }

  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: #09253a;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 24px 27px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 30px 50px rgba(0,0,0,.24);
    max-height: calc(100dvh - 74px);
    overflow: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-link {
    font-size: 16px;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav-cta {
    margin-top: 19px;
    min-height: 53px;
    justify-content: center;
  }

  .hero-inner {
    grid-template-columns: 1.05fr .95fr;
    min-height: 610px;
  }

  .hero-media {
    height: 455px;
  }

  .hero h1 {
    letter-spacing: -2.8px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-floating-card {
    left: -12px;
    min-width: 200px;
  }

  .hero-bottom {
    height: 65px;
  }

  .section {
    padding-block: 85px;
  }

  .section-top {
    gap: 30px;
  }

  .services-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .feature-row {
    gap: 5%;
  }

  .feature-img-wrap {
    height: 410px;
  }

  .feature-copy h3 {
    font-size: 29px;
  }

  .about-grid {
    gap: 6%;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5%;
  }

  .form-shell {
    padding: 29px 26px;
  }

  .contact-links strong {
    font-size: 13px;
  }

  .footer-top {
    gap: 6%;
  }
}

@media (max-width:700px) {
  html {
    scroll-padding-top: 75px;
  }

  .container {
    padding-inline: 20px;
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 23px;
  }

  .brand-text small {
    letter-spacing: 3.9px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 54px;
    padding-bottom: 32px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(45px,11vw,67px);
    letter-spacing: -2.8px;
    margin-bottom: 19px;
    max-width: 560px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 24px;
  }

  .hero-actions {
    gap: 13px;
  }

  .btn-large {
    min-height: 54px;
    font-size: 12px;
    padding-inline: 17px;
  }

  .hero-proof {
    margin-top: 29px;
  }

  .hero-media {
    height: 380px;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
    justify-content: center;
  }

  .hero-photo-frame {
    height: 100%;
    width: 73%;
    max-width: 380px;
    position: absolute;
    right: 4%;
  }

  .hero-floating-card {
    left: 0;
    bottom: 40px;
    min-width: 205px;
    padding: 13px;
  }

  .hero-index {
    right: -10px;
  }

  .hero-bottom {
    height: 54px;
    font-size: 9px;
  }

  .hero-bottom>span {
    max-width: 250px;
    line-height: 1.6;
  }

  .capability-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 12px;
  }

  .capability-inner span {
    justify-content: flex-start;
    text-align: left;
    padding: 12px 0;
    font-size: 12px;
  }

  .capability-inner span+span {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .section {
    padding-block: 75px;
  }

  .section-top {
    display: block;
    margin-bottom: 29px;
  }

  .section-top h2,.about h2,.contact h2 {
    font-size: clamp(34px,8vw,45px);
    letter-spacing: -1.8px;
  }

  .section-intro {
    max-width: none;
    margin-top: 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    min-height: 245px;
    padding: 24px;
  }

  .service-card-top {
    margin-bottom: 19px;
  }

  .filter-bar {
    gap: 7px;
  }

  .filter-button {
    font-size: 11px;
    padding: 10px 11px;
  }

  .feature-heading {
    margin-bottom: 32px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 65px;
  }

  .feature-row-reverse .feature-img-wrap,.feature-row-reverse .feature-copy {
    order: initial;
  }

  .feature-img-wrap {
    height: 350px;
  }

  .feature-copy {
    padding: 0;
  }

  .feature-copy h3 {
    font-size: 32px;
  }

  .feature-copy>p {
    font-size: 14px;
  }

  .metal-img-wrap {
    height: 315px;
  }

  .about-grid,.contact-grid,.faq-grid {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  .about h2 {
    max-width: 490px;
  }

  .about-main>p:not(.eyebrow) {
    font-size: 14px;
  }

  .value-row {
    padding: 18px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step {
    padding: 22px 24px;
  }

  .step>span {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .contact-grid {
    gap: 35px;
  }

  .contact-copy>p:not(.eyebrow) {
    font-size: 14px;
  }

  .form-shell {
    padding: 29px 24px;
  }

  .faq-section {
    padding-block: 65px;
  }

  .faq-grid {
    gap: 20px;
  }

  .faq-grid>div>p:last-child {
    max-width: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 38px 15px;
  }

  .footer-company {
    grid-column: 1/-1;
  }

  .footer-bottom {
    display: grid;
    gap: 10px;
  }

  .floating-whatsapp {
    right: 15px;
    bottom: 15px;
    padding: 14px;
    border-radius: 50%;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp .icon {
    width: 25px;
    height: 25px;
  }
}

@media (max-width:400px) {
  .hero h1 {
    font-size: 43px;
  }

  .hero-media {
    height: 333px;
  }

  .hero-floating-card {
    bottom: 22px;
    min-width: 190px;
  }

  .hero-bottom>span {
    max-width: 200px;
  }

  .btn-text-light {
    padding: 12px 0;
  }

  .filter-button {
    font-size: 10px;
  }

  .contact-links strong {
    font-size: 12px;
  }

  .form-shell {
    padding: 25px 19px;
  }

  .hero-proof {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,*::before,*::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* AMEC V1.2 — logotipo oficial com medalhão circular sem redesenho. */

.brand-logo {
  width: 54px;
  height: 54px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.28));
}

.footer .brand-logo {
  width: 62px;
  height: 62px;
}

@media (max-width:700px) {
  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .footer .brand-logo {
    width: 56px;
    height: 56px;
  }
}

/* FAQ: painel animado em altura intrínseca, sem JS de medidas ou clipping abrupto. */

.faq-items .faq-item {
  border-bottom: 1px solid #dce7ed;
}

.faq-heading {
  margin: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 21px 3px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: 800 14px/1.5 var(--heading);
}

.faq-question:hover {
  color: #147c9e;
}

.faq-question .faq-plus {
  width: 20px;
  height: 20px;
  stroke: #279eca;
  stroke-width: 2.3;
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
}

.js .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .36s cubic-bezier(.2,.8,.2,1),opacity .3s ease,visibility .36s;
}

.js .faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 18px 19px 3px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

/* Rodapé sempre legível, mesmo quando a conversa flutuante aparece na página. */

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7ad8f4 !important;
  font-weight: 700;
}

.footer-whatsapp:hover {
  color: #b4eaff !important;
}

.floating-whatsapp {
  transition: transform .2s ease,opacity .2s ease,visibility .2s ease;
}

.floating-whatsapp.is-hidden-near-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

@media (prefers-reduced-motion:reduce) {
  .faq-answer,.faq-question .faq-plus,.floating-whatsapp {
    transition: none !important;
  }
}

/* AMEC V1.3 — comunicação, escolha por necessidade e refinamentos autônomos */

.need-selector {
  padding: 84px 0 90px;
  background: #fff;
}

.need-heading {
  max-width: 780px;
  margin: 0 auto 35px;
  text-align: center;
}

.need-heading .eyebrow {
  justify-content: center;
}

.need-heading h2 {
  font: 800 clamp(33px,3.7vw,49px)/1.18 var(--heading);
  letter-spacing: -2.1px;
  margin: 11px 0 14px;
  color: var(--ink);
}

.need-heading h2 span {
  color: #527184;
}

.need-heading>p:last-child {
  max-width: 560px;
  margin: auto;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.need-card {
  min-width: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 35px 35px 30px;
  border-radius: 19px;
  background: linear-gradient(145deg,#0a3048,#071e31);
  color: #fff;
  border: 1px solid rgba(96,187,223,.18);
  transition: transform .26s ease,box-shadow .26s ease;
}

.need-card-metal {
  background: linear-gradient(145deg,#173a50,#0b2234);
}

.need-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -125px;
  top: -150px;
  background: radial-gradient(circle,rgba(101,200,237,.18),transparent 70%);
  pointer-events: none;
}

.need-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(6,28,46,.15);
}

.need-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
}

.need-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border: 1px solid rgba(137,224,250,.24);
  border-radius: 13px;
  background: rgba(127,209,237,.12);
  color: #87def7;
}

.need-icon .icon {
  width: 26px;
  height: 26px;
}

.need-index {
  font: 800 10px var(--heading);
  letter-spacing: 1.3px;
  color: #a8d0df;
  text-align: right;
}

.need-card h3 {
  position: relative;
  z-index: 1;
  font: 800 clamp(23px,2.35vw,32px)/1.27 var(--heading);
  letter-spacing: -.9px;
  max-width: 430px;
  margin: 0 0 13px;
}

.need-card p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.75;
  color: #c1d4df;
  margin: 0 0 29px;
  max-width: 440px;
}

.need-card-link {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #83d7f3;
  font: 800 13px var(--heading);
  border-bottom: 1px solid rgba(134,220,249,.5);
  padding-bottom: 7px;
  transition: color .2s ease,border-color .2s ease;
}

.need-card-link:hover {
  color: white;
  border-color: white;
}

.need-card-link .icon {
  width: 18px;
  height: 18px;
}

.need-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 23px 0 0;
  line-height: 1.7;
}

.need-note a {
  color: #087da4;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.card-link {
  transition: color .2s, transform .2s;
}

.card-link:hover {
  transform: translateX(3px);
}

#quote-form [aria-invalid="true"] {
  border-color: #c95050 !important;
  box-shadow: 0 0 0 2px rgba(215,72,72,.12);
}

.form-message:not(:empty) {
  padding: 11px 12px;
  border-radius: 8px;
  background: #fff0ef;
  color: #8b2328;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

:where(a,button,input,select,textarea):focus-visible {
  outline: 3px solid #60c6f0;
  outline-offset: 3px;
}

.hero-actions .btn-primary {
  box-shadow: 0 9px 30px rgba(101,200,237,.12);
}

@media (max-width:700px) {
  .need-selector {
    padding: 58px 0 66px;
  }

  .need-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .need-heading {
    margin-bottom: 24px;
  }

  .need-heading h2 {
    font-size: clamp(31px,8vw,40px);
    letter-spacing: -1.3px;
  }

  .need-heading>p:last-child {
    font-size: 14px;
  }

  .need-card {
    padding: 27px 24px;
  }

  .need-card-top {
    margin-bottom: 23px;
  }

  .need-card h3 {
    font-size: 25px;
  }

  .need-card p {
    font-size: 13px;
    margin-bottom: 24px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .need-card,.need-card-link {
    transition: none !important;
  }

  .need-card:hover,.card-link:hover {
    transform: none !important;
  }
}

/* Sem JavaScript: respostas FAQ visíveis e canal de WhatsApp direto no lugar do formulário. */

html:not(.js) .faq-answer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
}

html:not(.js) #quote-form {
  display: none;
}

html:not(.js) .menu-toggle {
  display: none;
}

@media (max-width:920px) {
  html:not(.js) .nav {
    position: static;
    display: flex;
    flex-direction: column;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    flex: 1;
    gap: 12px;
    border: 0;
    background: none;
    padding: 10px 0;
  }

  .header-inner:has(.nav) {
    flex-wrap: wrap;
  }

  html:not(.js) .site-header {
    position: static;
  }
}

/* V1.4 — componentes das páginas específicas de serviços */
.need-detail-link{display:inline-flex;margin:6px 0 0;color:#9be2fa;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.card-more{display:inline-flex;margin-top:12px;color:#2c7b9f;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.feature-more{display:inline-flex;margin:18px 0 0;color:#156a91;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:4px}


/* V1.7 — acessibilidade, transparência e estados sem script */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
.form-privacy-note,.form-nojs { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 13px 0 0; }
.form-privacy-note a,.form-nojs a { color: #155c7d; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.legal-page { background: #fff; padding: 48px 0 92px; }
.legal-content { max-width: 930px; }
.legal-breadcrumb { margin-bottom: 35px; color: #526979; font-size: 13px; }
.legal-breadcrumb a { color: #126081; text-decoration: underline; text-underline-offset: 3px; }
.legal-content h1 { font: 800 clamp(34px,4.5vw,58px)/1.16 var(--heading); margin: 15px 0 20px; letter-spacing: -1.8px; }
.legal-lead { font-size: 17px; line-height: 1.8; color: #375164; margin-bottom: 45px; }
.legal-content section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal-content h2 { font: 800 clamp(21px,3vw,27px)/1.3 var(--heading); margin: 0 0 12px; }
.legal-content section p { line-height: 1.85; font-size: 15px; color: #354e60; margin: 0; }
.legal-content section a { color: #116081; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { background: #eaf6fb; border-left: 4px solid #177a9d; border-radius: 9px; margin-top: 28px; padding: 17px 20px; line-height: 1.6; font-size: 13px; }
.error-page { min-height: 100dvh; display: grid; align-items: center; background: var(--bg); }
.error-panel { max-width: 760px; padding-block: 80px; }
.error-panel h1 { font: 800 clamp(34px,5vw,56px)/1.15 var(--heading); margin: 12px 0; }
.error-panel p { color: #465d6c; line-height: 1.7; }
.error-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
@media(max-width:700px) { .legal-page { padding: 26px 0 62px; } .legal-content section { padding: 18px 0; } }

/* Progressive enhancement: links remain available on mobile without JavaScript. */
@media (max-width: 920px) {
  html:not(.js) .header-inner { height: auto; min-height: 74px; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .nav {
    position: static; display: flex; width: 100%; max-height: none;
    flex-direction: row; flex-wrap: wrap; gap: 5px; padding: 6px 0;
    box-shadow: none; border: 0; background: transparent;
  }
  html:not(.js) .nav-link { padding: 9px 10px; font-size: 12px; border: 0; }
  html:not(.js) .nav-cta { margin: 0; min-height: 40px; padding: 9px 11px; }
}


/* V1.8.4 — aplicação da identidade oficial da AMEC.
   O logotipo cromático aprovado exige fundo claro para preservar seu azul-marinho.
   O rodapé escuro usa a variante oficial branca já incluída na baseline.
   Sem filtros, recoloração por CSS, stretching ou alterações à arte aprovada. */
.site-header {
  background: #ffffff;
  color: #0b2d6b;
  border-bottom: 1px solid #d8e5f0;
}
.site-header::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #0b2d6b, #0a6eff 52%, #23d6ff);
}
.site-header.is-scrolled { box-shadow: 0 10px 32px rgba(7,30,64,.10); }
.header-inner { height: 90px; gap: 22px; }
.site-header .nav-link { color: #35516c; }
.site-header .nav-link:hover,
.site-header .nav-link.is-active { color: #0b2d6b; }
.site-header .nav-cta { background: #0a6eff; color: #ffffff; }
.site-header .nav-cta:hover { background: #0755bf; }
.site-header .menu-toggle {
  color: #0b2d6b;
  background: #eff7fd;
  border-color: #d3e4f0;
}
.brand.brand-official {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}
.brand-logo-official {
  display: block;
  width: 278px;
  height: auto;
  aspect-ratio: 1127 / 290;
  max-width: 100%;
  object-fit: contain;
  filter: none;
}
.footer .brand-logo-official {
  width: 270px;
  height: auto;
  aspect-ratio: 1036 / 356;
}
.footer .brand-logo-official--footer {
  image-rendering: auto;
}
.footer .brand-logo-official--footer {
  /* White negative prepared directly from approved high-resolution artwork. */
  filter: none;
  transform: none;
  backface-visibility: visible;
}
@media (max-width: 1120px) {
  .header-inner { gap: 15px; }
  .brand-logo-official { width: 242px; }
}
@media (max-width: 920px) {
  .header-inner { height: 74px; }
  .brand-logo-official { width: 224px; }
  .site-header .nav {
    background: #ffffff;
    border-top: 1px solid #e0eaf2;
    box-shadow: 0 26px 45px rgba(7,30,64,.16);
  }
  .site-header .nav-link { border-bottom-color: #e6eef4; }
  .site-header .nav-link:hover,
  .site-header .nav-link.is-active { color: #0969d3; }
  .footer .brand-logo-official { width: 262px; }
}
@media (max-width: 440px) {
  .brand-logo-official { width: min(224px, 58vw); }
  .footer .brand-logo-official { width: min(262px, 74vw); }
}
@media (max-width: 350px) {
  .brand-logo-official { width: min(185px, 56vw); }
}

/* V1.8.5 - Conceito 2, proporcao original preservada. */
.site-header .brand-logo-official,
.footer .brand-logo-official { object-fit: contain; height: auto; }


/* AMEC V1.8.6 — sistema consistente de pictogramas locais para serviços. */
.service-card .card-icon,
.detail-block .detail-block-icon {
  display: inline-grid;
  place-items: center;
  color: #0c6cab;
  background: #e4f5fd;
  border: 1px solid #c8e8f8;
  flex: 0 0 auto;
}
.detail-block .detail-block-icon {
  width: 49px;
  height: 49px;
  border-radius: 13px;
  margin-bottom: 15px;
}
.detail-block .detail-block-icon .icon {width:25px;height:25px;stroke-width:1.85;}
.service-card .card-icon .icon {stroke-width:1.85;}
/* Foco visível sobre superfícies claras, preservando o contraste no teclado. */
:focus-visible {outline-color:#1261A0;}
.hero :focus-visible, .detail-hero :focus-visible, .footer :focus-visible,
.need-card :focus-visible {outline-color:#86E5FF;}
/* Prevenção de imagens com proporção imprecisa e layout-shift em decodificação. */
.brand-logo-official {object-fit:contain;}
