/* =========================================================
   Fortec Lajes — Folha de estilos principal
   Cores institucionais: #2B75B1 (azul) e branco
   ========================================================= */

:root {
  --primary: #2B75B1;
  --primary-dark: #1D5586;
  --primary-darker: #14406A;
  --primary-light: #5B96C7;
  --primary-lighter: #EAF2F9;
  --white: #FFFFFF;
  --off-white: #F6F9FC;
  --gray-100: #EDF2F7;
  --gray-200: #E1E8F0;
  --gray-400: #A0AEC0;
  --gray-600: #5A6B7B;
  --gray-700: #3D4A58;
  --gray-800: #263140;
  --dark: #16202C;
  --whatsapp: #25D366;
  --whatsapp-dark: #1EBE5A;
  --yellow-accent: #F2A93B;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(20, 64, 106, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 64, 106, 0.14);
  --shadow-lg: 0 18px 48px rgba(20, 64, 106, 0.20);
  --container: 1180px;
  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary-darker);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--gray-700); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

.section--tight { padding: 56px 0; }

.section--alt {
  background: var(--off-white);
}

.section--dark {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
  color: var(--white);
}
.section--dark h2, .section--dark h3, .section--dark p { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-lighter);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head {
  max-width: 700px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-heading);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--primary-dark); }

.btn--white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.btn--white:hover { background: var(--primary-lighter); }

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,.12); }

.btn--outline-blue {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn--outline-blue:hover { background: var(--primary-lighter); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, .35);
}
.btn--whatsapp:hover { background: var(--whatsapp-dark); }

.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.top-bar {
  background: var(--primary-darker);
  color: var(--white);
  font-size: .85rem;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar__item { display: inline-flex; align-items: center; gap: 6px; opacity: .95; }
.top-bar__item svg { width: 14px; height: 14px; flex-shrink: 0; }
.top-bar__links { display: flex; gap: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; flex-shrink: 0; }
.brand__text { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .96rem;
  color: var(--gray-700);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--primary);
  border-color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-lighter);
  border: 1.5px solid var(--primary-light);
  color: var(--primary-darker);
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  transition: background .15s, transform .15s;
}
.phone-highlight:hover { background: var(--primary); color: var(--white); transform: translateY(-1px); }
.phone-highlight svg { width: 19px; height: 19px; flex-shrink: 0; }
.phone-highlight small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .85;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--primary-darker);
  border-radius: 3px;
  transition: transform .2s, opacity .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--primary-darker);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15,45,74,.94) 0%, rgba(20,64,106,.88) 45%, rgba(43,117,177,.55) 100%);
}
.hero__content {
  position: relative;
  padding: 110px 0 100px;
  max-width: 700px;
}
.hero__content--narrow { max-width: 620px; padding: 70px 0 60px; }
.hero .eyebrow { background: rgba(255,255,255,.14); color: var(--white); }
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.92); max-width: 560px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
}
.hero__stat span { font-size: .85rem; color: rgba(255,255,255,.8); }

.breadcrumb {
  position: relative;
  font-size: .85rem;
  display: flex;
  gap: 8px;
  color: rgba(255,255,255,.85);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 30px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-lighter);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feature-card p { margin: 0; font-size: .93rem; color: var(--gray-600); }

/* Product cards */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.07); }
.product-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.product-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__body h3 { margin-bottom: 10px; }
.product-card__body p { font-size: .93rem; color: var(--gray-600); flex: 1; }
.product-card__link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  font-size: .95rem;
}
.product-card__link svg { width: 16px; height: 16px; transition: transform .15s; }
.product-card:hover .product-card__link svg { transform: translateX(4px); }

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
}
.split__media-badge {
  position: absolute;
  bottom: -26px;
  right: -26px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
  text-align: center;
}
.split__media-badge strong { display: block; font-size: 1.9rem; }
.split__media-badge span { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }

.checklist { margin: 22px 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gray-700);
  font-size: .97rem;
}
.checklist li svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  color: var(--primary);
}

/* ---------- Applications list (product pages) ---------- */
.apps-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.apps-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .96rem;
  color: var(--gray-700);
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-200);
}
.apps-list li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary); margin-top: 3px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery a { border-radius: var(--radius); overflow: hidden; display: block; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1;
  transition: transform .35s ease;
}
.gallery a:hover img { transform: scale(1.08); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }

/* ---------- Steps / process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 22px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; left: 22px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin-top: 10px; font-size: 1.05rem; }
.step p { font-size: .9rem; color: var(--gray-600); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2, .cta-band p { color: var(--white); margin: 0; }
.cta-band p { opacity: .92; margin-top: 6px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Service area chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--primary-lighter);
  color: var(--primary-darker);
  font-size: .86rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-heading);
}

/* ---------- Related products ---------- */
.related-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px;
  transition: box-shadow .15s, transform .15s;
}
.related-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.related-card img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.related-card span { font-size: .84rem; font-weight: 600; font-family: var(--font-heading); color: var(--gray-800); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.72);
  padding: 64px 0 0;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid h4 {
  color: var(--white);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--primary-light); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-float__bubble {
  background: var(--white);
  color: var(--gray-800);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.wa-float:hover .wa-float__bubble { opacity: 1; transform: translateX(0); }
.wa-float__btn {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.5);
  animation: wa-pulse 2.4s infinite;
}
.wa-float__btn svg { width: 32px; height: 32px; fill: var(--white); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 10px 26px rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,.5); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,.5); }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .related-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 70px 0; }
  .split__media { order: -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .top-bar__links { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .brand__text { display: none; }
  .site-header .container { gap: 10px; }
  .brand img { height: 36px; }
  .header-actions { gap: 8px; }
  .header-actions .btn--primary { display: none; }
  .phone-highlight { padding: 8px 12px; }
  .phone-highlight span { font-size: .92rem; }

  body.nav-open .main-nav {
    display: flex;
    position: fixed;
    inset: 0;
    top: 78px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px;
    gap: 6px;
    z-index: 400;
    overflow-y: auto;
  }
  body.nav-open .main-nav a { width: 100%; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--gray-100); }

  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .related-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .apps-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
  .cta-band { padding: 34px 26px; flex-direction: column; align-items: flex-start; }
  .hero__content { padding: 70px 0 60px; }
  .hero__stats { gap: 26px; }
  .phone-highlight small { display: none; }
  .wa-float__bubble { display: none; }
}
