@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Ubuntu:wght@400;500;700&display=swap');

:root {
  --navy: #1c2f4a;
  --red: #95171d;
  --black: #000;
  --gray-bg: #f5f5f5;
  --text: #333;
  --text-muted: #666;
  --white: #fff;
  --container: 1140px;
  --shadow: 0 5px 15px rgba(0,0,0,.1);
  --font-heading: 'Ubuntu', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .85; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-heading); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }

/* Ícones Font Awesome */
.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.ui-icon i {
  display: block;
  line-height: 1;
}

/* Header icons */
.site-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #f8f8f8, #eceff3);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.site-header__icon .ui-icon {
  font-size: 22px;
  color: #071e4c;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 50px;
  font-family: var(--font-heading);
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); opacity: 1; }
.btn-white { background: var(--white); color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-red { background: var(--red); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); box-shadow: none; }

/* Acessibilidade — oculto até receber foco via teclado */
#accessJumperMenu {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#accessJumperMenu a:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 9999;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

/* Flash messages */
div.message {
  padding: 12px 20px;
  margin: 0;
  text-align: center;
  font-weight: 600;
}
div.message-success { background: #d4edda; color: #155724; }
div.message-error, div.message-alert { background: #f8d7da; color: #721c24; }

/* Header — sobreposto ao banner/hero */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-top: 4px solid var(--black);
}
.site-header__top {
  padding: 18px 0;
  background: var(--white);
  position: relative;
  z-index: 3;
}
.site-header__top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.site-header__logo img { height: 65px; width: auto; }
.site-header__infos { display: flex; gap: 44px; flex-wrap: wrap; }
.site-header__info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.site-header__info-text { line-height: 1.5; }
.site-header__info-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.site-header__info-text a,
.site-header__info-text span {
  display: block;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.4;
}
.site-header__info-text a:hover { color: var(--red); opacity: 1; }

.site-header__nav-wrap { position: relative; z-index: 4; }
.site-header__nav-wrap .container { padding: 0 15px; }
.site-header__nav {
  background: var(--black);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: -1px;
}
.site-header__menu {
  display: flex;
  align-items: stretch;
  flex: 1;
  order: 1;
}
.site-header__menu li { display: flex; }
.site-header__menu a {
  display: flex;
  align-items: center;
  padding: 0 21px;
  min-height: 65px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.site-header__menu a:hover,
.site-header__menu a.active {
  opacity: 1;
  border-bottom-color: var(--red);
}
.site-header__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white) !important;
  padding: 0 50px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
  min-height: 65px;
  order: 2;
  flex-shrink: 0;
  transition: background .2s;
}
.site-header__cta:hover { opacity: 1; background: #7a1217; }
.site-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 56px;
  min-height: 56px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  order: 3;
  flex-shrink: 0;
}
.site-header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.site-header__hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header__hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-header__hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.site-header__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.site-header__backdrop.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Páginas internas: hero sob o header */
#page { position: relative; }
#content-area { position: relative; }

/* Page hero */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  margin-top: 0;
  padding-top: 200px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.page-hero .container { position: relative; z-index: 1; padding: 60px 15px; }
.page-hero h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}
.page-hero .breadcrumb {
  color: rgba(255,255,255,.8);
  font-size: 14px;
}
.page-hero .breadcrumb a { color: var(--white); }

/* Features strip */
.features-strip { background: var(--gray-bg); padding: 80px 0; }
.features-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}
.feature-item {
  text-align: center;
  padding: 0 15px;
  flex: 0 1 240px;
  max-width: 280px;
  width: 100%;
}
.feature-item__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(149, 23, 29, 0.07);
  border: 1px solid rgba(149, 23, 29, 0.15);
  transition: transform .25s, background .25s;
}
.feature-item:hover .feature-item__icon {
  transform: translateY(-4px);
  background: rgba(149, 23, 29, 0.12);
}
.feature-item__icon .ui-icon {
  font-size: 32px;
  color: var(--red);
}
.feature-item a {
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feature-item__link-icon {
  font-size: 12px !important;
  color: var(--red);
}
.feature-item h3 {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.feature-item p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.65; }

/* Trajetoria section */
.section-trajetoria {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
}
.section-trajetoria::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28,47,74,.85);
}
.section-trajetoria .container { position: relative; z-index: 1; max-width: 800px; }
.section-trajetoria h2 {
  color: var(--white);
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.section-trajetoria p { color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.7; }

/* CTA bar */
.cta-bar {
  background: var(--red);
  padding: 30px 0;
}
.cta-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-bar h3 { color: var(--white); font-size: 24px; margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); }
.site-footer__main { padding: 64px 0 44px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.site-footer__brand { display: flex; flex-direction: column; }
.site-footer__logo img { height: 48px; width: auto; margin-bottom: 22px; }
.site-footer__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 600;
}
.site-footer__phone a { color: var(--white); }
.site-footer__phone a:hover { color: rgba(255,255,255,.9); opacity: 1; }
.site-footer__contacts { margin-bottom: 18px; }
.site-footer__contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
}
.site-footer__contact-line a { color: var(--white); }
.site-footer__contact-line a:hover { opacity: .9; }
.site-footer__contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .75;
  margin-bottom: 2px;
}
.site-footer__emails { display: flex; flex-direction: column; gap: 4px; }
.site-footer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--red);
  border-radius: 8px;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.site-footer__icon--wa { background: #1f8f4e; }
.site-footer__phone:hover .site-footer__icon { background: #7a1217; transform: translateY(-1px); }
.site-footer__icon .ui-icon {
  font-size: 18px;
  color: #fff;
}
.site-footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.site-footer__social-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.site-footer__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background .2s, transform .2s;
}
.site-footer__social-link:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
  opacity: 1;
  color: #fff;
}
.site-footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--red);
  border-radius: 6px;
  flex-shrink: 0;
}
.site-footer__social-icon--wa { background: #1f8f4e; }
.site-footer__social-icon .ui-icon {
  font-size: 15px;
  color: #fff;
}
.site-footer__social-text { line-height: 1; }
.site-footer__menu a {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  transition: color .2s, transform .2s;
}
.site-footer__menu a:hover {
  color: #fff;
  transform: translateX(4px);
  opacity: 1;
}
.site-footer__menu-icon {
  font-size: 11px !important;
  color: var(--red) !important;
  width: 18px;
  height: 18px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border-radius: 4px;
  flex-shrink: 0;
}
.site-footer__menu-icon i { color: #fff !important; font-size: 10px !important; }
.site-footer h4 {
  font-size: 17px;
  margin-bottom: 18px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.site-footer__menu li { margin-bottom: 4px; }
.site-footer__parceiros-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--red);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 16px rgba(149, 23, 29, .28);
}
.site-footer__parceiros-btn:hover {
  background: #7a1217;
  transform: translateY(-1px);
  opacity: 1;
  color: #fff !important;
}
.site-footer__parceiros-btn i {
  font-size: 16px;
}
.site-footer__newsletter input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 10px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-body);
}
.site-footer__newsletter input:focus {
  outline: 2px solid rgba(255,255,255,.35);
  outline-offset: 1px;
}
.site-footer__newsletter button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 13px 30px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background .2s, transform .2s;
}
.site-footer__newsletter button:hover {
  background: #7a1217;
  transform: translateY(-1px);
}

.site-footer__selos {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.site-footer__selos-title {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.site-footer__selos-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.site-footer__selo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 72px;
  max-width: 100%;
  padding: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  box-sizing: border-box;
  overflow: hidden;
}
.site-footer__selo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.site-footer__copy {
  background: rgba(0,0,0,.25);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.65);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .45);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .55);
  opacity: 1;
}
.whatsapp-float__icon {
  font-size: 30px !important;
  color: #fff !important;
}

/* Selo flutuante — canto inferior esquerdo */
.selo-float {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 998;
  width: 88px;
  pointer-events: none;
  line-height: 0;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35));
  transition: transform .25s ease, width .25s ease;
}
.selo-float__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1199px) {
  .site-header__infos { gap: 28px; }
  .site-header__menu a { padding: 0 16px; }
  .site-header__cta { padding: 0 36px; }
}

@media (max-width: 991px) {
  .selo-float {
    left: 14px;
    bottom: 14px;
    width: 76px;
  }
  .site-header {
    position: relative;
    background: var(--white);
  }
  .site-header__backdrop { display: none !important; }
  .site-header__infos { display: none; }
  .site-header__top { padding: 14px 0; }
  .site-header__top .container { justify-content: center; }
  .site-header__logo img { height: 56px; }
  .site-header__nav-wrap .container { padding: 0; }
  .site-header__nav {
    flex-wrap: wrap;
    align-items: stretch;
  }
  .site-header__hamburger { display: flex; order: 2; }
  .site-header__cta {
    order: 1;
    flex: 1;
    min-height: 56px;
    padding: 0 20px;
    font-size: 15px;
    box-shadow: none;
  }
  .site-header__menu {
    order: 3;
    display: none;
    flex-direction: column;
    width: 100%;
    flex: none;
    background: #111;
    border-top: 1px solid rgba(255,255,255,.08);
    position: relative;
    z-index: 5;
  }
  .site-header__menu.open {
    display: flex;
  }
  .site-header__menu li { width: 100%; }
  .site-header__menu a {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    border-left: 3px solid transparent;
  }
  .site-header__menu a:hover,
  .site-header__menu a.active {
    border-bottom-color: rgba(255,255,255,.06);
    border-left-color: var(--red);
    background: rgba(255,255,255,.04);
  }
  .features-strip { padding: 60px 0; }
  .feature-item { flex-basis: calc(50% - 30px); max-width: 320px; }
  .section-trajetoria { padding: 70px 0; }
  .page-hero { padding-top: 0; min-height: 220px; }
  .page-hero .container { padding: 44px 15px; }
  .page-hero h1 { font-size: 40px; }
  .cta-bar h3 { font-size: 20px; }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .btn { padding: 12px 28px; font-size: 15px; }
  .site-header__logo img { height: 52px; }
  .page-hero { padding-top: 0; min-height: 200px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero .breadcrumb { font-size: 13px; }
  .features-strip { padding: 48px 0; }
  .features-strip .container { gap: 36px; }
  .feature-item { flex-basis: 100%; max-width: 360px; padding: 0 8px; }
  .section-trajetoria { padding: 56px 0; }
  .section-trajetoria h2 { font-size: 24px; }
  .cta-bar { padding: 24px 0; }
  .cta-bar .container { flex-direction: column; text-align: center; }
  .cta-bar h3 { font-size: 18px; }
  .site-footer__main { padding: 48px 0 32px; }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .site-footer__brand { align-items: center; }
  .site-footer__logo img { margin-left: auto; margin-right: auto; }
  .site-footer__phone { justify-content: center; }
  .site-footer__social { align-items: center; }
  .site-footer__social-list { justify-content: center; }
  .site-footer__menu a { justify-content: center; }
  .site-footer__menu a:hover { transform: none; }
  .site-footer__parceiros-btn {
    display: flex;
    width: 100%;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }
  .site-footer__newsletter {
    max-width: 360px;
    margin: 0 auto;
  }
  .site-footer__newsletter button { width: 100%; }
  .site-footer__selos { text-align: center; }
  .site-footer__selos-list { justify-content: center; }
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float__icon { font-size: 26px !important; }
  .selo-float {
    left: 12px;
    bottom: 12px;
    width: 68px;
  }
}

@media (max-width: 479px) {
  .site-header__top { padding: 12px 0; }
  .site-header__logo img { height: 48px; }
  .site-header__cta { font-size: 14px; padding: 0 14px; min-height: 52px; }
  .site-header__hamburger { width: 52px; min-height: 52px; }
  .page-hero { padding-top: 0; min-height: 180px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero .container { padding: 36px 16px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .site-footer h4 { font-size: 15px; }
  .site-footer__phone { font-size: 15px; flex-wrap: wrap; justify-content: center; }
  .whatsapp-float { bottom: 14px; right: 14px; width: 50px; height: 50px; }
  .selo-float {
    left: 8px;
    bottom: 8px;
    width: 58px;
  }
}
