/*
Theme Name: Spider Segurança
Theme URI: https://spiderseguranca.co.mz
Author: Start Technology
Author URI: https://startechnology.co.mz
Description: Tema institucional da Spider Serviços de Protecção e Segurança, SA, com gestão de conteúdos integrada.
Version: 2.1.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: spider-seguranca
*/

:root {
  --navy: #07162f;
  --navy-soft: #0c2446;
  --blue: #143f75;
  --red: #c6263b;
  --red-dark: #9d172b;
  --ink: #101828;
  --muted: #667085;
  --line: #dfe5ee;
  --paper: #f5f7fa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body,
button,
input,
select,
textarea {
  font-family: Arial, Helvetica, sans-serif;
}

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

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

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(4, 17, 38, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  width: min(250px, 29vw);
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand-fallback {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 50% 50% 44% 56%;
  color: var(--white);
  font-size: 25px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  left: -6px;
  width: 10px;
  height: 2px;
  content: "";
  background: var(--red);
  box-shadow: 0 7px 0 var(--red), 0 14px 0 var(--red);
  transform: rotate(-24deg);
}

.brand-mark::after {
  right: -6px;
  left: auto;
  transform: rotate(24deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 23px;
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand-copy small {
  margin-top: 5px;
  color: #b8c5d8;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.nav-links a {
  position: relative;
  padding: 32px 0;
  color: #d9e1ec;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 23px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-current::after {
  transform: scaleX(1);
}

.nav-links a.is-current {
  color: var(--white);
}

.header-cta {
  justify-self: end;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.header-cta:hover {
  border-color: var(--red);
  background: var(--red);
}

.menu-button {
  display: none;
}

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

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background-image: var(--spider-hero-image, url("assets/images/hero.jpg"));
  background-position: center top;
  background-size: cover;
  transform: scale(1.018);
  transition: opacity 700ms ease, visibility 700ms ease, transform 6500ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3, 15, 36, 0.97) 0%, rgba(5, 20, 45, 0.84) 38%, rgba(5, 20, 45, 0.18) 72%, rgba(5, 20, 45, 0.04) 100%);
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(4, 15, 34, 0.95), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 84px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 36px;
  height: 2px;
  background: var(--red);
}

.eyebrow.light,
.section-kicker.light,
.inverse .section-kicker {
  color: #d8e3f2;
}

.section-kicker span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(20, 63, 117, 0.3);
  color: var(--red);
  font-size: 10px;
}

.section-kicker.light span,
.inverse .section-kicker span {
  border-color: rgba(255, 255, 255, 0.28);
}

.hero h1,
.section-heading h2,
.intro h2,
.training-copy h2,
.operations h2,
.difference-grid h2,
.quality h2,
.contact-form-wrap h2,
.contact-overlay h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 850px;
  margin-top: 26px;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--red);
  font-weight: 400;
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: #d5deea;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}

.hero-carousel-controls {
  position: absolute;
  z-index: 4;
  left: 4vw;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-carousel-arrow,
.hero-carousel-dot {
  border: 0;
  cursor: pointer;
}

.hero-carousel-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: var(--white);
  background: rgba(4, 17, 38, 0.55);
  font-size: 18px;
  transition: border-color 180ms ease, background 180ms ease;
}

.hero-carousel-arrow:hover,
.hero-carousel-arrow:focus-visible {
  border-color: var(--red);
  background: var(--red);
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: width 180ms ease, background 180ms ease;
}

.hero-carousel-dot.is-active {
  width: 28px;
  background: var(--red);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 25px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: rgba(6, 22, 48, 0.25);
}

.hero-meta {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: min(780px, 68%);
  min-height: 125px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 22, 47, 0.88);
  backdrop-filter: blur(14px);
}

.hero-meta div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-meta strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.hero-meta span {
  color: #b9c7d8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-paths {
  padding-block: 110px;
}

.home-paths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.home-paths-grid a {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-paths-grid a:hover,
.home-paths-grid a:focus-visible {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-5px);
}

.home-paths-grid span {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.home-paths-grid strong {
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.home-paths-grid small {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.home-paths-grid a:hover small,
.home-paths-grid a:focus-visible small {
  color: #dbe5f2;
}

.page-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}

.page-hero--about {
  background-image: var(--spider-quality-image, url("assets/images/ethics.jpg"));
}

.page-hero--services {
  background-image: var(--spider-hero-image, url("assets/images/hero.jpg"));
}

.page-hero--operations {
  background-image: var(--spider-operations-image, url("assets/images/operations.jpg"));
}

.page-hero--contact {
  background-image: var(--spider-contact-image, url("assets/images/contact.jpg"));
}

.page-hero--generic {
  min-height: 420px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 15, 36, 0.96), rgba(5, 20, 45, 0.28));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: 78px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.page-hero-content > p {
  max-width: 620px;
  margin: 25px 0 0;
  color: #d7e1ed;
  font-size: 17px;
  line-height: 1.7;
}

.page-cta {
  padding-block: 85px;
  color: var(--white);
  background: linear-gradient(125deg, #07162f, #0e2e59);
}

.page-cta .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.page-cta h2 {
  margin: 22px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
}

.intro,
.principles,
.operations,
.quality {
  padding-block: 120px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 100px;
  align-items: start;
  margin-top: 38px;
}

.intro h2,
.section-heading h2,
.training-copy h2,
.operations h2,
.difference-grid h2,
.quality h2,
.contact-form-wrap h2 {
  font-size: clamp(40px, 4.3vw, 62px);
  line-height: 1.06;
}

.intro-copy p,
.operations-copy > p,
.quality-copy > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 78px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.milestones article {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 28px;
  border-right: 1px solid var(--line);
}

.milestones article:last-child {
  border-right: 0;
}

.milestones strong {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 400;
}

.milestones span {
  max-width: 150px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
}

.services-section {
  padding-block: 116px;
  color: var(--white);
  background: var(--navy);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 70px;
  align-items: end;
}

.section-heading h2 {
  margin-top: 24px;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.section-heading.inverse > p {
  color: #aab9cc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card {
  position: relative;
  min-height: 355px;
  grid-column: span 2;
  padding: 34px 30px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: #0a1c39;
  transition: transform 220ms ease, background 220ms ease;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
  min-height: 300px;
}

.service-card:hover {
  z-index: 2;
  background: var(--blue);
  transform: translateY(-6px);
}

.service-number {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #8190a4;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.shield-icon {
  width: 49px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 7px 7px 18px 18px;
  color: var(--red);
  font-size: 20px;
  font-weight: 800;
}

.service-card h3 {
  max-width: 220px;
  margin: 55px 0 14px;
  font-size: 21px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: #aebbd0;
  font-size: 14px;
  line-height: 1.7;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 65px;
}

.principles-grid article {
  min-height: 290px;
  padding: 30px 26px;
  border-top: 3px solid var(--blue);
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.principles-grid article:nth-child(even) {
  border-top-color: var(--red);
  background: #eef2f7;
}

.principles-grid article > span {
  color: #a2adba;
  font-size: 11px;
}

.principles-grid h3 {
  margin: 68px 0 16px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.principles-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.training-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 760px;
  color: var(--white);
  background: var(--navy);
}

.training-image {
  min-height: 650px;
  background-image: linear-gradient(90deg, transparent 65%, var(--navy)), var(--spider-training-image, url("assets/images/training.jpg"));
  background-position: center;
  background-size: cover;
}

.training-copy {
  max-width: 660px;
  align-self: center;
  padding: 90px 8vw 90px 6vw;
}

.training-copy h2 {
  margin-top: 28px;
}

.training-copy > p {
  margin: 25px 0 0;
  color: #b6c3d5;
  font-size: 16px;
  line-height: 1.75;
}

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

.check-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #e7edf5;
  font-size: 14px;
}

.check-list span {
  color: var(--red);
}

.operations {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 85px;
  align-items: center;
}

.operations h2,
.quality h2 {
  margin-top: 27px;
}

.operations-copy > p,
.quality-copy > p {
  margin-top: 25px;
}

.operation-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 34px;
}

.operation-tags span {
  padding: 14px 15px;
  border: 1px solid var(--line);
  color: #344054;
  font-size: 12px;
}

.operations-image {
  min-height: 590px;
  box-shadow: 28px 28px 0 #edf0f5;
  background-image: var(--spider-operations-image, url("assets/images/operations.jpg"));
  background-position: center;
  background-size: cover;
}

.difference-section {
  padding-block: 110px;
  color: var(--white);
  background: linear-gradient(125deg, #07162f, #0e2e59);
}

.difference-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 120px;
}

.difference-grid h2 {
  margin-top: 27px;
}

.difference-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.difference-list p {
  min-height: 95px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #d7e0eb;
  font-size: 13px;
  line-height: 1.45;
}

.difference-list span {
  color: var(--red);
  font-weight: 800;
}

.quality {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 90px;
  align-items: center;
}

.quality-image {
  min-height: 590px;
  box-shadow: -26px 26px 0 #edf0f5;
  background-image: var(--spider-quality-image, url("assets/images/ethics.jpg"));
  background-position: center;
  background-size: cover;
}

.quality-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.quality-points span {
  position: relative;
  padding: 17px 15px 17px 35px;
  border: 1px solid var(--line);
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.quality-points span::before {
  position: absolute;
  top: 20px;
  left: 15px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--red);
}

.clients-section {
  padding-block: 115px;
  background: var(--paper);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.clients-grid article {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.clients-grid span {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.clients-grid strong {
  max-width: 270px;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.4;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  color: var(--white);
  background: var(--navy);
}

.contact-visual {
  position: relative;
  min-height: 780px;
  background-image: var(--spider-contact-image, url("assets/images/contact.jpg"));
  background-position: center;
  background-size: cover;
}

.contact-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(4, 18, 42, 0.96), rgba(4, 18, 42, 0.15) 70%);
}

.contact-overlay {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 10%;
  left: 9%;
}

.contact-overlay p {
  margin: 0 0 16px;
  color: #dce5f0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-overlay h2 {
  max-width: 520px;
  margin-bottom: 26px;
  font-size: 46px;
  line-height: 1.08;
}

.contact-overlay a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: #e9eef5;
  font-size: 18px;
}

.contact-form-wrap {
  align-self: center;
  padding: 90px max(7vw, 60px);
}

.contact-form-wrap h2 {
  max-width: 640px;
  margin-top: 25px;
}

.contact-form-wrap > p {
  margin: 20px 0 0;
  color: #aebed1;
  font-size: 15px;
}

form {
  margin-top: 38px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
  color: #ccd7e5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 2px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 180ms ease;
}

input,
select {
  height: 53px;
  padding: 0 14px;
}

textarea {
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
}

select option {
  color: var(--ink);
}

textarea::placeholder {
  color: #8795a8;
}

.form-button {
  margin-top: 4px;
}

.form-note {
  margin: 12px 0 0;
  color: #b9c6d7;
  font-size: 12px;
}

footer {
  padding-top: 78px;
  color: #c3cfdd;
  background: #030d1d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 0.65fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-grid strong {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid p {
  margin: 0;
  color: #8f9db0;
  font-size: 12px;
  line-height: 1.7;
}

.footer-brand p {
  margin-top: 24px;
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #738196;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.whatsapp {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: var(--white);
  background: #22a763;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    justify-self: end;
  }

  .hero {
    min-height: 820px;
  }

  .hero-slide {
    background-position: 62% top;
  }

  .hero-meta {
    width: 78%;
  }

  .intro-grid,
  .difference-grid {
    gap: 55px;
  }

  .operations,
  .quality {
    gap: 55px;
  }

  .contact-form-wrap {
    padding-inline: 55px;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 34px, 680px);
  }

  .site-header {
    height: 74px;
    padding-inline: 18px;
  }

  .brand {
    width: min(190px, calc(100vw - 92px));
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: transparent;
  }

  .menu-button span {
    width: 19px;
    height: 2px;
    background: currentColor;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 22px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(4, 17, 38, 0.98);
  }

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

  .nav-links a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 800px;
  }

  .hero-slide {
    align-items: flex-end;
    padding-bottom: 170px;
    background-position: 68% top;
  }

  .hero-slide::before {
    background: linear-gradient(0deg, rgba(3, 15, 36, 0.98) 10%, rgba(5, 20, 45, 0.62) 68%, rgba(5, 20, 45, 0.13));
  }

  .hero-carousel-controls {
    bottom: 126px;
  }

  .hero h1 {
    font-size: clamp(44px, 9vw, 64px);
  }

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

  .hero-meta {
    width: 100%;
    min-height: 108px;
  }

  .hero-meta div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 16px;
  }

  .hero-meta strong {
    font-size: 25px;
  }

  .intro,
  .principles,
  .operations,
  .quality {
    padding-block: 80px;
  }

  .intro-grid,
  .section-heading,
  .operations,
  .quality,
  .difference-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .section-heading,
  .operations,
  .quality,
  .difference-grid {
    gap: 38px;
  }

  .milestones {
    grid-template-columns: 1fr 1fr;
  }

  .milestones article:nth-child(2) {
    border-right: 0;
  }

  .milestones article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .services-section,
  .clients-section,
  .home-paths {
    padding-block: 80px;
  }

  .home-paths-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    min-height: 480px;
  }

  .page-hero-content {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .page-cta .shell {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    min-height: 325px;
    grid-column: span 1;
  }

  .service-card:last-child {
    grid-column: span 2;
  }

  .principles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .training-section {
    grid-template-columns: 1fr;
  }

  .training-image {
    min-height: 540px;
    background-image: linear-gradient(0deg, var(--navy), transparent 40%), var(--spider-training-image, url("assets/images/training.jpg"));
  }

  .training-copy {
    max-width: 680px;
    padding: 70px 24px 80px;
    margin-inline: auto;
  }

  .operations-image,
  .quality-image {
    min-height: 480px;
    box-shadow: none;
  }

  .quality-image {
    order: 2;
  }

  .difference-section {
    padding-block: 80px;
  }

  .clients-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    min-height: 620px;
  }

  .contact-form-wrap {
    padding: 80px 24px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 30px);
  }

  .hero {
    min-height: 760px;
  }

  .hero-slide {
    padding-bottom: 185px;
  }

  .hero-content {
    padding-top: 90px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-carousel-controls {
    right: 15px;
    bottom: 126px;
    left: 15px;
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .hero-meta span {
    font-size: 9px;
  }

  .hero-meta div {
    padding: 15px 10px;
  }

  .intro h2,
  .section-heading h2,
  .training-copy h2,
  .operations h2,
  .difference-grid h2,
  .quality h2,
  .contact-form-wrap h2 {
    font-size: 39px;
  }

  .milestones {
    margin-top: 55px;
  }

  .milestones article {
    min-height: 125px;
    padding: 20px 16px;
  }

  .milestones strong {
    font-size: 34px;
  }

  .services-grid,
  .principles-grid,
  .difference-list,
  .quality-points,
  .clients-grid,
  .form-row,
  .home-paths-grid {
    grid-template-columns: 1fr;
  }

  .home-paths-grid a {
    min-height: 190px;
  }

  .page-hero {
    min-height: 440px;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5),
  .service-card:last-child {
    min-height: 300px;
    grid-column: span 1;
  }

  .principles-grid article {
    min-height: 235px;
  }

  .principles-grid h3 {
    margin-top: 42px;
  }

  .training-image,
  .operations-image,
  .quality-image {
    min-height: 410px;
  }

  .operation-tags {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    min-height: 540px;
  }

  .contact-overlay h2 {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Integração WordPress */
.admin-bar .site-header {
  top: 32px;
}

.brand-logo,
.brand-logo .custom-logo-link {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
}

.brand-logo .custom-logo-link {
  justify-content: flex-start;
  overflow: hidden;
}

.brand-logo .custom-logo,
.brand-logo .custom-logo-link img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 54px !important;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 820px) {
  .brand-logo .custom-logo,
  .brand-logo .custom-logo-link img {
    max-height: 44px !important;
  }
}

.spider-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-success {
  color: #b9f6cf;
}

.form-error {
  color: #ffb5bf;
}

.spider-inner-page {
  background: var(--paper);
}

.spider-inner-header {
  position: relative;
  top: 0;
}

.spider-content {
  min-height: 70vh;
  padding-block: 90px;
  color: var(--ink);
}

.spider-content h1 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
}

.spider-content p,
.spider-content li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
