:root {
   --navy-950: #0b1526;
   --navy-800: #1a2744;
   --navy-600: #34456b;
   --gold-500: #c9a15a;
   --gold-300: #e3c98a;
   --parchment-50: #f6f3ec;
   --ink-500: #4a5568;
   --white: #ffffff;

   --font-display: "Mortend", sans-serif;
   --font-body: "DM Sans", sans-serif;
   --font-mono: "IBM Plex Mono", monospace;
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: auto;
}

section {
   scroll-margin-top: 90px;
}

body {
   font-family: var(--font-body);
   color: var(--navy-800);
   background-color: var(--parchment-50);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
   outline: 2px solid var(--gold-500);
   outline-offset: 3px;
}

.container {
   width: 100%;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 1.5rem;
}

/* ---------- Header ---------- */

site-header {
   display: block;
   position: sticky;
   top: 0;
   z-index: 999;
   background-color: var(--navy-950);
}

.site-header {
   position: sticky;
   top: 0;
   z-index: 999;
   background-color: rgba(11, 21, 38, 0.7);
   backdrop-filter: blur(14px);
   -webkit-backdrop-filter: blur(14px);
   border-bottom: 1px solid rgba(201, 161, 90, 0.18);
}

.site-header__inner {
   max-width: 1200px;
   margin: 0 auto;
   padding: 1rem 1.5rem;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.site-header__logo {
   display: flex;
   align-items: center;
}

.site-header__logo img {
   height: 36px;
   width: auto;
   display: block;
}

.site-header__nav {
   display: flex;
   gap: 2rem;
}

.site-header__nav a {
   position: relative;
   color: var(--parchment-50);
   text-decoration: none;
   font-weight: 500;
   font-size: 0.95rem;
   transition: color 0.2s ease;
}

.site-header__nav a:hover {
   color: var(--gold-300);
}

/* ---------- Footer ---------- */

.site-footer {
   background-color: var(--navy-950);
   color: rgba(246, 243, 236, 0.7);
   text-align: center;
   padding: 1.5rem;
   font-size: 0.875rem;
}

/* ---------- Typography ---------- */

h1,
h2 {
   font-family: var(--font-display);
   font-weight: 700;
   line-height: 1.1;
}

h1 {
   font-size: 4rem;
   letter-spacing: -0.02em;
}

h2 {
   font-size: 2.5rem;
   letter-spacing: -0.01em;
}

p {
   font-size: 1.125rem;
   font-weight: 500;
   line-height: 1.6;
}

img {
   width: 50%;
   height: 50%;
   object-fit: cover;
}

.eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 0.6rem;
   font-family: var(--font-mono);
   font-size: 0.75rem;
   font-weight: 500;
   letter-spacing: 0.14em;
   text-transform: uppercase;
   color: var(--gold-500);
}

.eyebrow::before {
   content: "";
   width: 1.5rem;
   height: 1px;
   background: var(--gold-500);
}

/* ---------- Section rhythm (dynamic background) ---------- */

main>section:nth-child(odd) {
   background-color: var(--navy-950);
   color: var(--parchment-50);
}

main>section:nth-child(even) {
   background-color: var(--parchment-50);
   color: var(--navy-800);
}

main>section:nth-child(odd) .eyebrow {
   color: var(--gold-300);
}

main>section:nth-child(even) .eyebrow {
   color: #8a6a2c;
}

main>section:nth-child(even) .eyebrow::before {
   background: #8a6a2c;
}

/* ---------- Hero ---------- */

.hero {
   position: relative;
   width: 100%;
   min-height: 100svh;
   padding: 7rem 2rem 4rem;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   gap: 2rem;
   overflow: hidden;
   text-align: center;
}

.hero__content {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1.25rem;
   max-width: 40rem;
}

.hero h1 {
   width: 100%;
}

.hero p {
   width: 85%;
   color: rgba(246, 243, 236, 0.75);
}

.btn {
   display: inline-block;
   background-color: var(--gold-500);
   color: var(--navy-950);
   text-decoration: none;
   font-weight: 700;
   padding: 0.9rem 2.25rem;
   border-radius: 999px;
   border: none;
   font-family: var(--font-body);
   font-size: 1rem;
   cursor: pointer;
   transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
   background-color: var(--gold-300);
   transform: translateY(-2px);
}

/* ---------- Orbit signature ---------- */

.orbit {
   --orbit-size: 460px;
   position: relative;
   width: var(--orbit-size);
   height: var(--orbit-size);
   max-width: 90vw;
   max-height: 90vw;
   margin: 0 auto;
}

.orbit__ring {
   position: absolute;
   inset: 0;
   border: 1px solid rgba(201, 161, 90, 0.3);
   border-radius: 50%;
}

.orbit__ring--inner {
   inset: 18%;
   border-color: rgba(201, 161, 90, 0.5);
}

.orbit__core {
   position: absolute;
   inset: 0;
   margin: auto;
   width: 32%;
   height: 32%;
   border-radius: 50%;
   background: radial-gradient(circle at 35% 30%, #24365c, var(--navy-950));
   border: 1px solid rgba(201, 161, 90, 0.6);
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 0 60px rgba(201, 161, 90, 0.25);
}

.orbit__core img {
   width: 58%;
   height: auto;
}

.orbit__node {
   position: absolute;
   top: 50%;
   left: 50%;
   width: 0;
   height: 0;
   transform: rotate(var(--angle));
   animation: orbit-spin 32s linear infinite;
}

.orbit__label {
   position: absolute;
   top: 0;
   left: var(--radius);
   transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle)));
   display: inline-block;
   padding: 0.4rem 0.9rem;
   border-radius: 999px;
   background: rgba(11, 21, 38, 0.65);
   border: 1px solid rgba(201, 161, 90, 0.4);
   color: var(--parchment-50);
   font-family: var(--font-mono);
   font-size: 0.7rem;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   white-space: nowrap;
   animation: orbit-spin-reverse 32s linear infinite;
}

@keyframes orbit-spin {
   to {
      transform: rotate(calc(var(--angle) + 360deg));
   }
}

@keyframes orbit-spin-reverse {
   to {
      transform: translate(-50%, -50%) rotate(calc(-1 * (var(--angle) + 360deg)));
   }
}

@media (prefers-reduced-motion: reduce) {

   .orbit__node,
   .orbit__label {
      animation: none;
   }
}

/* ---------- Card signature (seal corner) ---------- */

.card {
   position: relative;
   background: var(--white);
   color: var(--navy-800);
   padding: 2.25rem 2rem 2rem;
   clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
   filter: drop-shadow(0 18px 30px rgba(26, 39, 68, 0.18));
   display: flex;
   flex-direction: column;
   gap: 1rem;
   transition: transform 0.3s ease, filter 0.3s ease;
}

.card:hover {
   transform: translateY(-8px);
   filter: drop-shadow(0 26px 42px rgba(26, 39, 68, 0.28));
}

.card::after {
   content: "";
   position: absolute;
   top: 0;
   right: 0;
   width: 32px;
   height: 32px;
   background: var(--gold-500);
   clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.card p {
   color: var(--ink-500);
   font-size: 1rem;
}

/* ---------- Spotlight (Soluções) ---------- */

.spotlight {
   position: relative;
   width: 100%;
   padding: 6rem 2rem;
   display: flex;
   flex-direction: column;
   gap: 10rem;
   overflow: hidden;
}

.spotlight .row {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 1.5rem;
}

.spotlight .row .col {
   flex: 1;
   display: flex;
   flex-direction: column;
   justify-content: center;
}

.spotlight .card {
   width: 75%;
   margin: 0 auto;
}

.spotlight .floating-3d {
   position: relative;
   display: flex;
   justify-content: center;
}

.spotlight .floating-3d__image {
   position: relative;
   z-index: 1;
   width: 36%;
   height: auto;
   filter: drop-shadow(0 35px 30px rgba(26, 39, 68, 0.4));
   will-change: transform;
}

.spotlight .floating-3d__shadow {
   position: absolute;
   bottom: 0;
   left: 50%;
   width: 26%;
   height: 1.5rem;
   background: radial-gradient(closest-side, rgba(26, 39, 68, 0.45), transparent 75%);
   border-radius: 50%;
   transform: translateX(-50%);
   will-change: transform, opacity;
}

.spotlight .svg-path {
   position: absolute;
   top: 25svh;
   left: 50%;
   transform: translateX(-50%);
   width: 90%;
   height: 100%;
   z-index: -1;
}

.spotlight .svg-path svg {
   width: 100%;
   height: auto;
}

/* ---------- About ---------- */

.about {
   padding: 6rem 2rem;
}

.about__inner {
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   gap: 2rem;
}

.about__header {
   display: flex;
   flex-direction: column;
   gap: 1rem;
   max-width: 40rem;
}

.about p {
   color: rgba(246, 243, 236, 0.75);
   font-size: 1.125rem;
}

.about__pillars {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1.5rem;
   margin-top: 1.5rem;
}

.about__pillar {
   border-left: 2px solid var(--gold-500);
   padding-left: 1.25rem;
}

.about__pillar h3 {
   font-family: var(--font-display);
   font-size: 1.15rem;
   margin-bottom: 0.4rem;
}

.about__pillar p {
   font-size: 0.95rem;
   color: rgba(246, 243, 236, 0.65);
}

/* ---------- Services ---------- */

.services {
   padding: 6rem 2rem;
}

.services__inner {
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   gap: 2.5rem;
}

.services__header {
   display: flex;
   flex-direction: column;
   gap: 1rem;
   max-width: 40rem;
}

.services__grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 1.5rem;
}

.services__grid .card h3 {
   font-family: var(--font-display);
   font-size: 1.4rem;
}

/* ---------- Contact ---------- */

.contact {
   padding: 6rem 2rem;
}

.contact__inner {
   max-width: 1200px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 3rem;
}

.contact__header {
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.contact p {
   color: rgba(246, 243, 236, 0.75);
}

.contact__details {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 0.75rem;
   margin-top: 1.5rem;
   font-family: var(--font-mono);
   font-size: 0.95rem;
   color: var(--parchment-50);
}

.contact__form {
   display: flex;
   flex-direction: column;
   gap: 1.1rem;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(201, 161, 90, 0.25);
   padding: 2rem;
   clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}

.contact__field {
   display: flex;
   flex-direction: column;
   gap: 0.4rem;
}

.contact__field label {
   font-family: var(--font-mono);
   font-size: 0.75rem;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: var(--gold-300);
}

.contact__field input,
.contact__field textarea {
   background: rgba(11, 21, 38, 0.4);
   border: 1px solid rgba(201, 161, 90, 0.3);
   color: var(--parchment-50);
   padding: 0.75rem 1rem;
   font-family: var(--font-body);
   font-size: 1rem;
   border-radius: 0.25rem;
}

.contact__field textarea {
   resize: vertical;
   min-height: 120px;
}

.contact__form .btn {
   align-self: flex-start;
}

.contact__note {
   font-size: 0.8rem;
   color: rgba(246, 243, 236, 0.5);
}

/* ---------- Responsive ---------- */

@media (max-width:1000px) {

   h1 {
      font-size: 2.25rem;
   }

   h2 {
      font-size: 1.6rem;
   }

   p {
      font-size: 1rem;
   }

   .hero p {
      width: 100%;
   }

   .orbit {
      --orbit-size: 320px;
   }

   .orbit__label {
      font-size: 0.6rem;
      padding: 0.3rem 0.6rem;
   }

   .spotlight {
      gap: 5rem;
      padding: 4rem 1.5rem;
   }

   .spotlight .row {
      flex-direction: column;
   }

   .spotlight .card {
      width: 100%;
   }

   .spotlight .svg-path {
      top: 15svh;
      width: 275%;
   }

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

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

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