/* --------------------------------------------------------------------------
   SEV Gestão e Sistemas — Base, variáveis e componentes reutilizáveis
   -------------------------------------------------------------------------- */
:root {
  --navy: #09213a;
  --navy-deep: #06182c;
  --slate: #334155;
  --muted: #637286;
  --line: #dfe6ed;
  --surface: #f4f7fa;
  --white: #ffffff;
  --accent: #0089a7;
  --accent-light: #dff4f7;
  --heading: "Sora", "Inter", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --shadow: 0 20px 45px rgba(6, 24, 44, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--slate); font-family: var(--body); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); font-family: var(--heading); letter-spacing: -0.045em; line-height: 1.14; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; padding: 10px 14px; border-radius: 4px; background: var(--navy); color: var(--white); transition: top .2s ease; }
.skip-link:focus { top: 12px; }

/* Elementos de ação e detalhes de identidade. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 23px; border: 1px solid var(--accent); border-radius: 3px; background: var(--accent); color: var(--white); font-size: .875rem; font-weight: 700; letter-spacing: .01em; transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.button:hover { border-color: #006d85; background: #006d85; box-shadow: 0 10px 24px rgba(0, 137, 167, .22); transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, .menu-toggle:focus-visible { outline: 3px solid rgba(0, 137, 167, .42); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 0 16px; font-size: .78rem; }
.button-light { border-color: var(--white); background: var(--white); color: var(--navy); }
.button-light:hover { border-color: var(--accent-light); background: var(--accent-light); color: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: .875rem; font-weight: 700; }
.text-link span, .service-card a span { transition: transform .2s ease; }
.text-link:hover span, .service-card a:hover span { transform: translateX(4px); }
.dark-link { color: var(--navy); }
.eyebrow { margin-bottom: 15px; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Header e navegação
   -------------------------------------------------------------------------- */
.site-header { position: fixed; z-index: 30; top: 0; left: 0; width: 100%; border-bottom: 1px solid transparent; background: rgba(255,255,255,.94); transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 5px 20px rgba(6, 24, 44, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 3px; background: var(--navy); color: var(--white); font-family: var(--heading); font-size: 1.08rem; font-weight: 700; }
.brand-name { display: flex; flex-direction: column; font-family: var(--heading); font-size: 1rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.brand-name small { margin-top: 4px; color: var(--muted); font-family: var(--body); font-size: .55rem; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { position: relative; color: var(--slate); font-size: .8rem; font-weight: 600; }
.nav-link::after { position: absolute; bottom: -8px; left: 0; width: 0; height: 2px; background: var(--accent); content: ""; transition: width .2s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header-cta { margin-left: 4px; }
.menu-toggle { display: none; padding: 6px 0 6px 8px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }

/* --------------------------------------------------------------------------
   Hero — detalhes abstratos feitos em CSS para evitar peso de imagens
   -------------------------------------------------------------------------- */
.hero { position: relative; display: flex; overflow: hidden; min-height: min(790px, 100vh); align-items: center; padding: 160px 0 94px; background: var(--navy-deep); }
.hero::after { position: absolute; right: -190px; bottom: -330px; width: 640px; height: 640px; border: 1px solid rgba(102, 207, 227, .16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(102, 207, 227, .035), 0 0 0 140px rgba(102, 207, 227, .025); content: ""; }
.hero-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(153, 211, 225, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(153, 211, 225, .09) 1px, transparent 1px); background-position: center; background-size: 58px 58px; mask-image: linear-gradient(90deg, black 0%, rgba(0,0,0,.75) 50%, transparent 100%); }
.hero-content { position: relative; z-index: 1; }
.hero .eyebrow { color: #76d3e4; }
.hero h1 { max-width: 820px; margin-bottom: 22px; color: var(--white); font-size: clamp(2.7rem, 6.1vw, 5rem); font-weight: 600; }
.hero h1 span { color: #79dce9; }
.hero-text { max-width: 605px; margin-bottom: 31px; color: #c9d6e1; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px 29px; margin-top: 64px; color: #b6c6d5; font-size: .72rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-panel { position: absolute; z-index: 1; right: max(5vw, calc((100vw - 1120px) / 2)); bottom: 96px; width: 255px; overflow: hidden; border: 1px solid rgba(157, 205, 217, .19); border-radius: 5px; background: rgba(12, 43, 67, .88); box-shadow: 0 24px 55px rgba(0,0,0,.23); backdrop-filter: blur(7px); }
.panel-top { display: flex; gap: 5px; padding: 12px 13px; border-bottom: 1px solid rgba(157, 205, 217, .13); }
.panel-top span { width: 5px; height: 5px; border-radius: 50%; background: #4d6c82; }
.panel-body { padding: 18px; }
.panel-body > p { margin-bottom: 17px; color: #c8d8e5; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.chart-bars { display: flex; height: 77px; align-items: flex-end; justify-content: space-between; gap: 7px; padding-bottom: 9px; border-bottom: 1px solid rgba(157, 205, 217, .18); }
.chart-bars i { display: block; width: 14px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #65cfdd, #1687a0); }
.chart-bars i:nth-child(1) { height: 30%; }.chart-bars i:nth-child(2) { height: 47%; }.chart-bars i:nth-child(3) { height: 42%; }.chart-bars i:nth-child(4) { height: 64%; }.chart-bars i:nth-child(5) { height: 57%; }.chart-bars i:nth-child(6) { height: 83%; }.chart-bars i:nth-child(7) { height: 100%; }
.metric-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; color: #a5bbc9; font-size: .64rem; }
.metric-row strong { color: #77dce9; font-size: .7rem; }

/* --------------------------------------------------------------------------
   Seções de conteúdo e cartões de solução
   -------------------------------------------------------------------------- */
.section { padding: 112px 0; }
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 11vw, 150px); }
.section-intro h2, .section-heading h2, .advantages h2, .contact h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; }
.about-copy { max-width: 610px; padding-top: 4px; }
.about-copy .lead { margin-bottom: 22px; color: var(--navy); font-size: 1.17rem; line-height: 1.7; }
.about-copy > p:not(.lead) { margin-bottom: 28px; color: var(--muted); }
.solutions { background: var(--surface); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 49px; }
.section-heading h2 { max-width: 650px; }
.section-heading > p { max-width: 310px; margin: 0; color: var(--muted); font-size: .9rem; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { position: relative; min-height: 350px; padding: 26px 24px 24px; border: 1px solid var(--line); background: var(--white); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.service-card:hover { border-color: rgba(0, 137, 167, .4); box-shadow: var(--shadow); transform: translateY(-5px); }
.icon-box { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 45px; border: 1px solid #b9dfe5; border-radius: 3px; color: var(--accent); }
.icon-box svg { width: 22px; height: 22px; }
.card-number { position: absolute; top: 28px; right: 24px; color: #9babb9; font-size: .68rem; font-weight: 700; }
.service-card h3 { margin-bottom: 13px; font-size: 1.11rem; font-weight: 600; }
.service-card > p:not(.card-number) { margin-bottom: 26px; color: var(--muted); font-size: .84rem; line-height: 1.68; }
.service-card a { position: absolute; bottom: 23px; display: inline-flex; gap: 8px; color: var(--navy); font-size: .76rem; font-weight: 700; }

/* --------------------------------------------------------------------------
   Diferenciais e processo
   -------------------------------------------------------------------------- */
.advantages { background: var(--navy); color: var(--white); }
.advantages-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 10vw, 130px); }
.advantages .eyebrow { color: #78d7e8; }
.advantages h2 { max-width: 510px; margin-bottom: 34px; color: var(--white); }
.advantages-list { border-top: 1px solid rgba(212, 231, 237, .2); }
.advantage { display: grid; grid-template-columns: 51px 1fr; gap: 13px; padding: 23px 0; border-bottom: 1px solid rgba(212, 231, 237, .2); }
.advantage-number { color: #77dce9; font-size: .72rem; font-weight: 700; }
.advantage h3 { margin-bottom: 7px; color: var(--white); font-family: var(--body); font-size: .95rem; letter-spacing: 0; }
.advantage p { margin: 0; color: #bbcbda; font-size: .84rem; line-height: 1.6; }
.process { padding-top: 108px; padding-bottom: 110px; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 23px; padding: 0; margin: 0; list-style: none; }
.process-list li { padding-top: 17px; border-top: 1px solid #a9c9d0; }
.process-list span { display: block; margin-bottom: 40px; color: var(--accent); font-size: .75rem; font-weight: 700; }
.process-list h3 { margin-bottom: 10px; font-family: var(--body); font-size: 1rem; letter-spacing: 0; }
.process-list p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }

/* --------------------------------------------------------------------------
   Contato, formulário e rodapé
   -------------------------------------------------------------------------- */
.contact { padding: 100px 0; background: #eaf1f5; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(55px, 12vw, 150px); }
.contact-intro > p:not(.eyebrow) { max-width: 470px; margin: 20px 0 35px; color: var(--muted); }
.contact-details { display: grid; gap: 11px; }
.contact-details a, .contact-details p { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--navy); font-size: .84rem; font-weight: 600; }
.contact-details span { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid #a5ccd2; border-radius: 50%; color: var(--accent); font-size: .59rem; font-weight: 700; }
.contact-details a:hover { color: var(--accent); }
.contact-form { padding: 31px; border: 1px solid #d4e0e7; background: var(--white); box-shadow: 0 16px 32px rgba(6, 24, 44, .05); }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--navy); font-size: .76rem; font-weight: 700; }
.form-field input, .form-field textarea { display: block; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #b8c9d3; border-radius: 0; outline: none; background: transparent; color: var(--navy); font-size: .9rem; transition: border-color .2s ease; }
.form-field textarea { min-height: 80px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field.is-invalid input, .form-field.is-invalid textarea { border-color: #b94747; }
.field-error { display: block; min-height: 17px; padding-top: 4px; color: #a72f2f; font-size: .7rem; }
.form-button { width: 100%; margin-top: 2px; }
.form-status { min-height: 20px; margin: 15px 0 0; color: var(--accent); font-size: .77rem; font-weight: 600; text-align: center; }
.site-footer { padding-top: 48px; background: var(--navy-deep); color: #c1d0dc; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 42px; }
.brand-footer { color: var(--white); }.brand-footer .brand-mark { background: var(--accent); }.brand-footer .brand-name small { color: #91a7ba; }
.footer-links { display: flex; flex-wrap: wrap; gap: 23px; }
.footer-links a, .footer-bottom a { color: #c1d0dc; font-size: .76rem; font-weight: 600; }.footer-links a:hover, .footer-bottom a:hover { color: #7ddbe8; }
.social-links { display: flex; gap: 7px; }.social-links a { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #49677d; border-radius: 50%; color: var(--white); font-size: .67rem; font-weight: 700; }.social-links a:hover { border-color: #79dce9; color: #79dce9; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid #243f55; }.footer-bottom p { margin: 0; color: #8da3b5; font-size: .7rem; }.footer-bottom div { display: flex; gap: 18px; }.footer-bottom a { color: #8da3b5; font-size: .7rem; }

/* Revelação sutil ativada pelo JavaScript e desativada para quem reduz movimento. */
.reveal { opacity: 0; transform: translateY(17px); transition: opacity .65s ease, transform .65s ease; }.reveal.visible { opacity: 1; transform: translateY(0); }.reveal-delay-1 { transition-delay: .08s; }.reveal-delay-2 { transition-delay: .16s; }.reveal-delay-3 { transition-delay: .24s; }

/* --------------------------------------------------------------------------
   Ajustes responsivos — abordagem mobile-first nos pontos críticos
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .main-nav { gap: 18px; }.services-grid { grid-template-columns: repeat(2, 1fr); }.service-card { min-height: 310px; }.hero-panel { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }.container { width: min(100% - 36px, 600px); }.header-inner { min-height: 66px; }.menu-toggle { display: block; z-index: 2; }.main-nav { position: absolute; top: 66px; right: 0; left: 0; display: grid; visibility: hidden; gap: 0; padding: 14px 18px 19px; border-bottom: 1px solid var(--line); background: var(--white); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }.site-header.menu-open .main-nav { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }.nav-link { padding: 11px 0; }.nav-link::after { display: none; }.header-cta { width: max-content; margin: 9px 0 0; }.site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }.site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 680px; padding: 128px 0 62px; }.hero h1 { font-size: clamp(2.45rem, 11.5vw, 3.5rem); }.hero-actions { align-items: flex-start; flex-direction: column; gap: 23px; }.hero-trust { gap: 12px 20px; margin-top: 48px; }.hero::after { right: -280px; bottom: -350px; }
  .section { padding: 75px 0; }.about-grid, .advantages-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 36px; }.section-heading > p { max-width: 500px; }.services-grid { grid-template-columns: 1fr; gap: 12px; }.service-card { min-height: 275px; }.icon-box { margin-bottom: 36px; }.advantages { padding: 76px 0; }.advantages h2 { margin-bottom: 29px; }.process-list { grid-template-columns: repeat(2, 1fr); gap: 27px 18px; }.process-list span { margin-bottom: 26px; }.contact { padding: 76px 0; }.contact-form { padding: 25px 22px; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }.footer-main { gap: 27px; }.footer-bottom { gap: 11px; }.footer-bottom div { flex-wrap: wrap; }
}
@media (max-width: 380px) { .hero-trust { flex-direction: column; align-items: flex-start; }.process-list { grid-template-columns: 1fr; }.brand-name { font-size: .9rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
.form-status.is-success {
  color: #078b63;
}

.form-status.is-error {
  color: #a72f2f;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.75;
}
/* Link e botão flutuante do WhatsApp */
.whatsapp-link {
  color: #128c45;
}

.whatsapp-float {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(18, 140, 69, 0.3);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  background: #1fb65a;
  box-shadow: 0 16px 32px rgba(18, 140, 69, 0.38);
  transform: translateY(-3px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 4px;
}

.whatsapp-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.whatsapp-icon svg {
  width: 24px;
  height: 24px;
}

/* Mobile: botão circular, sem ocupar espaço demais */
@media (max-width: 560px) {
  .whatsapp-float {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    min-width: 56px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-label {
    display: none;
  }
}
