:root {
  --bg: #0a0d12;
  --bg-2: #111923;
  --logo-bg: #0f0f10;
  --panel: #121922;
  --panel-strong: #171e28;
  --line: rgba(255,255,255,0.08);
  --muted: #b9c0ca;
  --text: #f3f6fa;
  --gold: #d7a84a;
  --gold-soft: rgba(215, 168, 74, 0.12);
  --shadow: 0 18px 40px rgba(0,0,0,0.35);
  --fade-painel: linear-gradient(90deg, var(--panel), rgba(18, 25, 34, 0.45));
  --fade-dourado: linear-gradient(90deg, rgba(216, 184, 110, 0.82), rgba(216, 184, 110, 0.65));
  --borda-dourada: rgba(216, 184, 110, 0.82);
  --gold-marca: linear-gradient(
    180deg,
    #8a6320 0%,
    #c99a35 14%,
    #f6e2a4 38%,
    #fffaea 50%,
    #edcb75 60%,
    #c08f2c 80%,
    #7d5719 100%
  );
  --gold-marca-sub: linear-gradient(180deg, #ffffff 0%, #eef1f5 55%, #d7dde5 100%);
  --gold-marca-solido: #d9a944;
  --gold-marca-sub-solido: #f3f6fa;
  --shadow-topo: 0 -18px 40px rgba(0,0,0,0.35);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* Foco de teclado visivel em qualquer fundo (WCAG 2.4.7 / LBI 13.146). */
:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(10, 13, 18, 0.85);
  border-radius: 6px;
}

/* Pula direto para o conteudo, primeiro item do Tab (WCAG 2.4.1). */
.pular-conteudo {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: #111619;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 10px 0;
}

.pular-conteudo:focus {
  left: 0;
}

svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 68px;
  width: auto;
}

.marca {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  min-width: 0;
}

.marca-titulo {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-marca-solido);
  background: var(--gold-marca);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.65));
}

.marca-sub {
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--gold-marca-sub-solido);
  background: var(--gold-marca-sub);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
}


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

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(215, 168, 74, 0.5);
  background: linear-gradient(180deg, #d7a84a 0%, #b98b34 100%);
  color: #111619;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 22px rgba(215,168,74,0.12);
  transition: transform 0.2s ease;
}

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

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-shape {
  position: absolute;
  left: -12%;
  top: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, rgba(216, 184, 110, 0.82), rgba(216, 184, 110, 0.65));
  clip-path: ellipse(73% 83% at 18% 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 28px;
  padding: 80px 0 110px;
}

.hero-copy {
  max-width: 650px;
  padding-left: 22px;
  position: relative;
  z-index: 2;
}

.hero-intro {
  max-width: 380px;
  margin: 0 0 24px;
  color: rgba(248, 248, 248, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(3.1rem, 5vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  max-width: 760px;
  text-transform: none;
}

.hero-copy h1 span {
  color: var(--text);
}

.hero-copy h1 .hero-brand {
  color: inherit;
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 30px;
  color: #16191d;
  font-size: 1.14rem;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: min(100%, 930px);
  height: 100%;
  clip-path: ellipse(82% 83% at 82% 50%);
  background: url('../assets/capa.webp') center/cover no-repeat;
}

.story {
  background: #f0eee5;
  color: #12151a;
  padding: 90px 0 54px;
}

.story-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  min-height: 520px;
}

.story-copy {
  max-width: 590px;
}

.story-copy h2,
.section-head h2,
.services-intro h2,
.panel-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 3vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
  color: inherit;
}

.story-copy p {
  margin-top: 28px;
  color: rgba(18,21,26,0.8);
  line-height: 1.9;
  font-size: 1.06rem;
}

.camera-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-visual img {
  width: min(100%, 620px);
  height: auto;
  transform: scaleX(-1);
}

.story-visual {
  position: relative;
  width: min(100%, 620px);
  height: 500px;
  margin-left: auto;
}

.story-visual-card {
  position: absolute;
  width: 210px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(17,25,35,0.9), rgba(17,25,35,0.66));
  color: var(--text);
}

.story-visual-card span {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.story-card-a {
  left: 0;
  top: 120px;
  z-index: 1;
}

.story-card-b {
  right: 20px;
  top: 30px;
  width: 250px;
  height: 210px;
  background: linear-gradient(180deg, rgba(215,168,74,0.18), rgba(17,25,35,0.8));
  z-index: 2;
}

.story-card-c {
  left: 70px;
  bottom: 15px;
  z-index: 1;
}

.story-card-d {
  right: 90px;
  bottom: 0;
  z-index: 3;
}

.visual-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.visual-icon img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}

.feature-scroll {
  position: relative;
  overflow: hidden;
  padding: 0 0 18px;
}

.feature-panel {
  min-height: 135vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  isolation: isolate;
}

.feature-panel + .feature-panel {
  margin-top: -102px;
  position: relative;
  z-index: 2;
}

.panel-light,
.panel-dark {
  position: relative;
  margin: 0;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 30px 60px rgba(0,0,0,0.22);
  overflow: hidden;
  background-attachment: fixed;
}

.panel-light {
  background: linear-gradient(180deg, #d9c89a 0%, #d0be8c 100%);
  color: #12151a;
  border: 1px solid rgba(19, 23, 28, 0.24);
}

.panel-dark {
  background: linear-gradient(180deg, #0b1017 0%, #0d131b 100%);
  color: #eef3f6;
  border: 1px solid rgba(255,255,255,0.08);
}

.panel-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 34px;
  min-height: 100vh;
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.panel-inner.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.panel-copy {
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.panel-copy p {
  margin: 22px 0 30px;
  font-size: 1.08rem;
  line-height: 1.8;
}

.panel-copy .eyebrow {
  color: rgba(18, 21, 26, 0.76);
  margin-bottom: 20px;
}

.panel-dark .panel-copy .eyebrow {
  color: #d7a84a;
}

.panel-visual {
  position: relative;
  height: 620px;
  width: 100%;
  display: block;
  z-index: 4;
  transform: translateZ(0);
}

.sticky-visual {
  position: sticky;
  top: 110px;
  height: calc(100vh - 150px);
}

.panel-photo {
  position: absolute;
  border-radius: 38px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 32px 60px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.24);
  overflow: hidden;
}

.panel-photo-one {
  background-image: url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1200&q=80');
  left: -42px;
  bottom: -22px;
  width: 86%;
  height: 84%;
  z-index: 1;
}

.panel-photo-two {
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1200&q=80');
  left: 25%;
  top: 6%;
  width: 84%;
  height: 86%;
  z-index: 3;
  transform: translateY(28px);
}

.panel-photo-three {
  background-image: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1200&q=80');
  left: -42px;
  bottom: -22px;
  width: 86%;
  height: 84%;
  z-index: 1;
}

.panel-photo-four {
  background-image: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1200&q=80');
  right: -42px;
  top: 6%;
  left: auto;
  width: 84%;
  height: 86%;
  z-index: 3;
  transform: translateY(28px);
}

.security-hero {
  padding: 30px 0 0;
}

.security-hero h2 {
  padding: 52px 20px 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.0));
}

.security-hero h2 span {
  color: var(--gold);
}

.services-intro {
  padding: 58px 0 18px;
  background: linear-gradient(180deg, #0b1017 0%, #0d131b 100%);
}

.services-intro h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  text-align: center;
}

.services-title-icon {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  filter: brightness(0) saturate(100%) invert(80%) sepia(26%) saturate(850%) hue-rotate(10deg) brightness(95%) contrast(88%);
}

.services {
  padding-top: 88px;
  padding-bottom: 90px;
  background: var(--bg);
}

.section-head {
  margin-bottom: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px 28px 26px;
  min-height: 312px;
  transition: transform 180ms ease, border-color 180ms ease;
  transform-origin: center;
}

.service-card:nth-child(even) {
  background: #d7a84a;
  border-color: #d7a84a;
  color: #111619;
}

.service-card:nth-child(even) .service-topline {
  background: linear-gradient(90deg, #111619, transparent);
}

.service-card:nth-child(even) .service-icon {
  background: rgba(17, 22, 25, 0.1);
  border-color: rgba(17, 22, 25, 0.24);
}

.service-card:nth-child(even) .service-icon img {
  filter: brightness(0) saturate(100%);
}

.service-card:nth-child(even) p,
.service-card:nth-child(even) span {
  color: #111619;
}

.service-card:hover {
  transform: scale(1.02);
  border-color: rgba(215, 168, 74, 0.42);
}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
  }
}

.service-topline {
  width: 86px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 999px;
  margin-bottom: 20px;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(215, 168, 74, 0.08);
  border: 1px solid rgba(215, 168, 74, 0.25);
  margin-bottom: 18px;
}

.service-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(80%) sepia(26%) saturate(850%) hue-rotate(10deg) brightness(95%) contrast(88%);
}

.service-card h3 {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 2.3vw, 3rem);
  letter-spacing: -0.065em;
  line-height: 1.06;
  text-transform: uppercase;
}

.service-card p {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 1.28vw, 1.7rem);
  color: var(--gold);
  line-height: 1.4;
  font-weight: 700;
}

.service-card span {
  color: var(--muted);
  line-height: 1.72;
  display: block;
  font-size: 1.02rem;
}

.solutions {
  padding: 10px 0 80px;
  background: var(--bg);
}

section .narrow {
  max-width: 760px;
}

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

.solution-card {
  background: var(--fade-painel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px;
  min-height: 260px;
}

.solution-card:nth-child(even) {
  background: var(--fade-dourado);
  border-color: var(--borda-dourada);
  color: #111619;
}

.solution-card:nth-child(even) .solution-number,
.solution-card:nth-child(even) p {
  color: #111619;
}

.solution-card:nth-child(even) .solution-icon {
  background: rgba(17, 22, 25, 0.1);
  border-color: rgba(17, 22, 25, 0.24);
}

.solution-card:nth-child(even) .solution-icon img {
  filter: brightness(0) saturate(100%);
}

.solution-number {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.solution-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(215, 168, 74, 0.08);
  border: 1px solid rgba(215, 168, 74, 0.25);
  margin-bottom: 18px;
}

.solution-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(80%) sepia(26%) saturate(850%) hue-rotate(10deg) brightness(95%) contrast(88%);
}

.solution-card h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-strip {
  padding: 12px 0 60px;
}

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

.feature-box {
  min-height: 190px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
}

.feature-box h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  letter-spacing: -0.05em;
}

.feature-box.highlight {
  background: linear-gradient(135deg, rgba(215,168,74,0.08), rgba(255,255,255,0.02));
  border-color: rgba(215,168,74,0.45);
  display: block;
  padding: 26px 24px;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.feature-box.highlight h3 {
  margin-bottom: 12px;
}

.feature-box.highlight p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cta-band {
  padding: 20px 0 65px;
}

.cta-inner {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
  max-width: 760px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
  background: var(--bg);
}

.footer-top {
  display: grid;
  gap: 26px;
  justify-items: center;
  max-width: 900px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-sm {
  width: 90px;
  height: auto;
  margin-inline: auto;
}

.marca-centro {
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-top: 12px;
}

.marca-centro .marca-titulo {
  font-size: 2rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}

.marca-centro .marca-sub {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.marca-centro {
  gap: 8px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  border-color: rgba(215,168,74,0.65);
  transform: translateY(-2px);
}

.footer-info h3 {
  margin: 0 0 14px;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.footer-info {
  min-width: 0;
  max-width: 720px;
  width: 100%;
}

.footer-info p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 20px 0 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contato a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contato {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 900px;
  margin: 0 auto;
}

.footer-contato p {
  margin-bottom: 4px;
}

.footer-contato a:hover {
  color: var(--gold);
}

.footer-form-wrap {
  width: min(520px, 100%);
  flex: 0 1 520px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}

.field span {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(215,168,74,0.7);
  box-shadow: 0 0 0 3px rgba(215,168,74,0.12);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--muted);
  padding-top: 6px;
}

.radio-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.radio-item input {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  position: relative;
  margin: 0;
}

.radio-item input:checked {
  border-color: var(--gold);
}

.radio-item input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.textarea-field textarea {
  min-height: 128px;
}

.form-submit-row {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.checkbox-row input {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.02);
  margin-top: 4px;
  position: relative;
}

.checkbox-row input:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-row input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.send-btn {
  justify-self: flex-end;
  min-width: 200px;
  margin-top: 4px;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 20px;
  color: var(--muted);
  flex-wrap: wrap;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--muted);
  text-decoration: none;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #2fd96d 0%, #19b758 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(25, 183, 88, 0.35);
  z-index: 40;
}

.wa-float svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 980px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .hero-inner {
    gap: 22px;
    padding: 58px 0 76px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 430px;
  }

  .story-inner,
  .cta-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .services-grid,
  .solution-grid,
  .feature-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-form-wrap {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .main-nav {
    display: none;
  }

  .header-inner {
    height: 76px;
  }

  .logo img {
    height: 56px;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 46px 0 64px;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 11vw, 4.2rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-copy .btn-primary {
    width: 100%;
    max-width: 360px;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-photo {
    position: relative;
    width: 100%;
    height: 360px;
    clip-path: ellipse(92% 82% at 82% 50%);
  }

  .services-grid,
  .solution-grid,
  .feature-inner {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    padding: 24px 20px;
  }

  .footer-top {
    width: min(var(--container), calc(100% - 32px));
  }

  .footer-contato {
    gap: 2px;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
  }
}

@media (min-width: 760px) and (max-width: 899px) {
  .linha-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    padding: 22px;
  }

  .linha-imagem {
    max-width: 300px;
  }
}

.feature-inner {
  grid-template-columns: 1fr;
}

.cta-inner {
  padding: 28px 20px;
}

.story-visual {
  height: 330px;
}




/* ---------- Paginas de politica ---------- */

.legal-page {
  padding: 64px 0 90px;
  background: var(--bg);
}

.legal-inner {
  max-width: 860px;
}

.legal-inner h1 {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.legal-update {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-inner h2 {
  margin: 40px 0 14px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.legal-inner p,
.legal-inner li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-inner p {
  margin: 0 0 14px;
}

.legal-inner ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-inner li {
  margin-bottom: 8px;
}

.legal-inner strong {
  color: var(--text);
}

.legal-inner a {
  color: var(--gold);
}

.legal-table-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.legal-table th {
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

/* ---------- Servicos em zigue-zague ---------- */

.linha-tempo {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  display: grid;
  gap: 34px;
}

.linha-card {
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--fade-painel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.linha-item:nth-child(even) .linha-card {
  background: var(--fade-dourado);
  border-color: var(--borda-dourada);
  color: #111619;
}

.linha-item:nth-child(even) .linha-texto p {
  color: #111619;
}

.linha-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 168, 74, 0.42);
}

.linha-imagem {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  height: auto;
  justify-self: center;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
}

/* corta pela esquerda, preservando o lado direito da foto */
.linha-imagem[data-foco="direita"] {
  object-position: right top;
}

.linha-texto h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  letter-spacing: -0.05em;
  line-height: 1.06;
  text-transform: uppercase;
}

.linha-texto p {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.02rem, 1.05vw, 1.25rem);
  line-height: 1.5;
  font-weight: 700;
}

/* zigue-zague: imagem alterna de lado, card ocupa a largura toda */
@media (min-width: 900px) {
  .linha-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
    padding: 26px;
  }

  .linha-esquerda .linha-imagem {
    grid-column: 2;
    grid-row: 1;
  }

  .linha-esquerda .linha-texto {
    grid-column: 1;
    grid-row: 1;
  }

  .linha-direita .linha-imagem {
    grid-column: 1;
    grid-row: 1;
  }

  .linha-direita .linha-texto {
    grid-column: 2;
    grid-row: 1;
  }
}

/* ---------- Copiar contato ---------- */

.apenas-leitor {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.footer-contato [data-copiavel] {
  position: relative;
  cursor: pointer;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.footer-contato [data-copiavel]:hover {
  border-bottom-color: var(--gold);
}

.footer-contato [data-copiavel].copiado::after {
  content: "Copiado";
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--gold);
  color: #111619;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}
