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

:root {
  --navy: #0e1f33;
  --navy2: #0a1a2a;
  --sand: #aea797;
  --charcoal: #2a2927;
  --gold: #947946;
  --gold2: #c4a96d;
  --cream: #f1eae0;
  --line: rgba(148, 121, 70, 0.18);
  --line2: rgba(174, 167, 151, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #fff;
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    padding 0.3s,
    box-shadow 0.3s;

  &.scrolled {
    padding: 0.75rem 5vw;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.07);
  }

  .nav-logo {
    display: block;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;

    a {
      font-size: 0.72rem;
      font-weight: 400;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--charcoal);
      text-decoration: none;
      transition: color 0.25s;

      &:hover {
        color: var(--gold);
      }
    }
  }

  .nav-cta {
    padding: 0.55rem 1.4rem !important;
    background: var(--navy) !important;
    color: #fff !important;
    border-radius: 2px;
    font-weight: 500 !important;
    transition: background 0.25s !important;

    &:hover {
      background: var(--gold) !important;
    }
  }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;

  .hero-visual {
    position: relative;
    overflow: hidden;
    background: var(--navy2);
    order: 2;
    @media (max-width: 580px) {
      order: 1;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      filter: brightness(0.85);
      @media (max-width: 580px) {
        margin-top: 80px;
      }
    }

    &::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        135deg,
        rgba(10, 26, 42, 0.5) 0%,
        transparent 60%
      );
    }
  }

  .hero-overlay-tag {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 2;
    background: var(--gold);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 5vw 5rem 8vw;
    order: 1;
    @media (max-width: 580px) {
      order: 2;
    }
  }

  .hero-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;

    &::before {
      content: "";
      width: 24px;
      height: 1px;
      background: var(--gold);
    }
  }

  .hero-h1 {
    font-size: clamp(2.8rem, 4.5vw, 5rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--navy);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;

    i {
      font-family: "DM Serif Display", serif;
      font-style: italic;
      color: var(--gold);
      font-weight: 400;
    }
  }

  .hero-p {
    font-size: 0.95rem;
    font-weight: 300;
    color: #666;
    line-height: 1.8;
    max-width: 380px;
    margin-bottom: 2.5rem;
  }
}

/* Hero Form */
.hform {
  background: #f8f7f5;
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 1.75rem;
  max-width: 400px;

  .hform-top {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding-bottom: 0.75rem;
  }

  .fi {
    margin-bottom: 0.7rem;

    input,
    select {
      width: 100%;
      background: #fff;
      border: 1px solid rgba(0, 0, 0, 0.1);
      padding: 0.72rem 1rem;
      color: var(--charcoal);
      font-family: "DM Sans", sans-serif;
      font-size: 0.875rem;
      font-weight: 300;
      outline: none;
      transition: border-color 0.25s;
      border-radius: 2px;
      -webkit-appearance: none;

      &:focus {
        border-color: var(--gold);
      }
    }

    input::placeholder {
      color: #aaa;
    }

    select {
      color: #888;
      cursor: pointer;

      option {
        color: var(--charcoal);
        background: #fff;
      }
    }
  }

  .btn-primary {
    width: 100%;
    padding: 0.82rem;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s;
    margin-top: 0.25rem;

    &:hover {
      background: var(--gold);
    }
  }

  .fn {
    font-size: 0.68rem;
    color: #aaa;
    margin-top: 0.6rem;
    text-align: center;
  }
}

/* ── NÚMEROS ── */
.numbers {
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.05);

  .num-item {
    padding: 2.75rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.07);

    &:last-child {
      border-right: none;
    }
  }

  .num-val {
    font-size: 2.6rem;
    font-weight: 300;
    color: var(--gold2);
    display: block;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .num-label {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    display: block;
  }
}

/* ── SOBRE ── */
.sobre {
  padding: 7rem 8vw;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;

  .sec-kicker {
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;

    &::before {
      content: "";
      width: 20px;
      height: 1px;
      background: var(--gold);
    }
  }

  .sec-h {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 300;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;

    i {
      font-family: "DM Serif Display", serif;
      font-style: italic;
      color: var(--gold);
    }
  }

  .sobre-text p {
    font-size: 0.9rem;
    font-weight: 300;
    color: #666;
    line-height: 1.85;
    margin-bottom: 0.9rem;
  }

  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;

    .tag {
      font-size: 0.7rem;
      font-weight: 400;
      letter-spacing: 0.04em;
      color: var(--navy);
      background: #f3f1ee;
      padding: 0.4rem 0.85rem;
      border-radius: 2px;
      border-left: 2px solid var(--gold);
    }
  }

  .sobre-img-wrap {
    position: relative;

    .sobre-img {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      object-position: top;
      border-radius: 2px;
      filter: grayscale(10%);
    }

    .sobre-badge {
      position: absolute;
      bottom: -1.5rem;
      right: -1.5rem;
      background: var(--gold);
      color: #fff;
      padding: 1.25rem 1.5rem;
      text-align: center;
      font-size: 0.65rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      line-height: 1.5;

      strong {
        display: block;
        font-size: 1.6rem;
        font-weight: 300;
        letter-spacing: -0.02em;
        margin-bottom: 0.15rem;
      }
    }
  }
}

/* ── PROCEDIMENTOS ── */
.procs-section {
  padding: 7rem 5vw;
  background: #f8f7f5;

  .procs-header {
    max-width: 1300px;
    margin: 0 auto 3.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .procs-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 50px;
    gap: 1.5rem;
    @media (max-width: 580px) {
      flex-direction: column;
      row-gap: 30px;
    }
  }
}

.pcard {
  width: 100%;
  max-width: 395px;
  height: auto;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
  cursor: pointer;

  &:hover {
    box-shadow: 0 8px 32px rgba(14, 31, 51, 0.1);
    transform: translateY(-3px);

    .pcard-img img {
      transform: scale(1.04);
    }

    .pcard-cta svg {
      transform: translateX(4px);
    }
  }

  .pcard-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: var(--navy);

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
      filter: brightness(0.88);
    }
  }

  .pcard-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 1px;
  }

  .pcard-n {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    font-family: "DM Serif Display", serif;
    font-style: italic;
    line-height: 1;
  }

  .pcard-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .pcard-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.65rem;
    line-height: 1.3;
  }

  .pcard-desc {
    font-size: 0.82rem;
    font-weight: 300;
    color: #777;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.25rem;
  }

  .pcard-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.5rem;

    li {
      font-size: 0.76rem;
      color: #888;
      font-weight: 300;
      padding-left: 0.9rem;
      position: relative;

      &::before {
        content: "—";
        position: absolute;
        left: 0;
        color: var(--gold);
        font-size: 0.7rem;
      }
    }
  }

  .pcard-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.25s;

    &:hover {
      color: var(--gold);
    }

    svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      transition: transform 0.25s;
    }
  }
}

/* ── CTA FAIXA ── */
.cta-strip {
  background: var(--navy);
  padding: 5rem 8vw;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;

  h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.01em;

    i {
      font-family: "DM Serif Display", serif;
      font-style: italic;
      color: var(--gold2);
    }
  }

  p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.4rem;
    font-weight: 300;
  }
}

.btn-gold {
  padding: 1rem 2.25rem;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s;

  &:hover {
    background: var(--gold2);
  }
}

/* ── CONTATO ── */
.contato {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;

  .cont-esq {
    background: var(--navy);
    padding: 6rem 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;

    .sec-kicker {
      color: var(--gold2);

      &::before {
        background: var(--gold2);
      }
    }

    .sec-h {
      color: #fff;
    }

    & > p {
      font-size: 0.88rem;
      font-weight: 300;
      color: rgba(255, 255, 255, 0.55);
      line-height: 1.8;
      margin-bottom: 2rem;
    }
  }

  .cont-dir {
    padding: 6rem 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;

    h3 {
      font-size: 1.9rem;
      font-weight: 300;
      color: var(--navy);
      margin-bottom: 2rem;
      line-height: 1.2;
      letter-spacing: -0.01em;

      i {
        font-family: "DM Serif Display", serif;
        font-style: italic;
        color: var(--gold);
      }
    }
  }
  .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--navy2);
    color: var(--cream);
    transition: 0.5s;
    border: none;
    &:hover {
      background: var(--gold);
    }
  }
}

.w-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  .w-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
  }

  .w-ic {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(148, 121, 70, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;

    svg {
      width: 13px;
      height: 13px;
      fill: none;
      stroke: var(--gold2);
      stroke-width: 1.5;
    }
  }

  .w-text {
    font-size: 0.84rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;

    strong {
      color: #fff;
      font-weight: 500;
    }
  }
}

.fl {
  margin-bottom: 0.8rem;

  label {
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 0.35rem;
  }

  input,
  select,
  textarea {
    width: 100%;
    background: #f8f7f5;
    border: 1px solid rgba(0, 0, 0, 0.09);
    padding: 0.72rem 1rem;
    color: var(--charcoal);
    font-family: "DM Sans", sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.25s;
    border-radius: 2px;
    -webkit-appearance: none;

    &:focus {
      border-color: var(--gold);
      background: #fff;
    }
  }

  input::placeholder,
  textarea::placeholder {
    color: #bbb;
  }

  select {
    color: #999;
    cursor: pointer;

    option {
      background: #fff;
      color: var(--charcoal);
    }
  }

  textarea {
    resize: vertical;
  }
}

.fn2 {
  font-size: 0.68rem;
  color: #aaa;
  margin-top: 0.6rem;
  text-align: center;
}

/* ── LOCALIZAÇÃO ── */
.loc-section {
  padding: 7rem 8vw;
  background: #f8f7f5;

  .loc-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;

    .sec-h {
      margin-bottom: 2rem;
    }
  }

  .loc-rows {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .loc-row {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
  }

  .loc-ic {
    width: 28px;
    height: 28px;
    background: var(--navy);
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;

    svg {
      width: 12px;
      height: 12px;
      fill: none;
      stroke: var(--gold2);
      stroke-width: 1.5;
    }
  }

  .loc-t {
    font-size: 0.86rem;
    font-weight: 300;
    color: #666;
    line-height: 1.65;

    strong {
      color: var(--navy);
      font-weight: 500;
    }
  }
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 2rem;
  flex-wrap: wrap;

  .soc {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    transition: all 0.25s;

    &:hover {
      border-color: var(--gold);
      color: var(--gold);
    }
  }
}

.map-box {
  border-radius: 2px;
  overflow: hidden;
  height: 360px;
  border: 1px solid rgba(0, 0, 0, 0.07);

  iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(30%);
  }
}

/* ── FOOTER ── */
footer {
  background: var(--navy2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;

  .fc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
  }

  .fd {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.35);

    a {
      color: var(--gold2);
      text-decoration: none;
    }
  }
}

/* ── MOBILE (Injetado via Nesting nas classes correspondentes se necessário, ou mantido agrupado por legibilidade) ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;

    /* .hero-visual {
      display: none;
    } */

    .hero-content {
      padding: 30px 15px;
    }
  }

  .numbers {
    grid-template-columns: repeat(2, 1fr);

    .num-item {
      border-right: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
  }

  .sobre {
    grid-template-columns: 1fr;
    padding: 5rem 6vw;
    max-width: 100%;

    .sobre-badge {
      bottom: -0.75rem;
      right: -0.75rem;
    }
  }

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

  .cta-strip {
    grid-template-columns: 1fr;
  }

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

  .cont-esq {
    border-bottom: none;
  }

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

  nav .nav-links {
    display: none;
  }

  .procs-header {
    flex-direction: column;
    gap: 1rem;
  }
}
