﻿:root {
  --deep: #1d3c51;
  --ocean: #429bba;
  --mist: #8cc4cf;
  --slate: #4e6d7a;
  --teal: #55a3a6;
}

html { scroll-behavior: smooth; }

body {
  text-rendering: optimizeLegibility;
  background: linear-gradient(165deg, #ffffff 0%, #f8fbfe 52%, #ffffff 100%);
}

p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 14% 15%, rgba(140, 196, 207, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(66, 155, 186, 0.06), transparent 35%);
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  opacity: 0.72;
  z-index: -1;
}

#header-shell.header-scrolled {
  background: #1d3c51;
  backdrop-filter: none;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 34px -24px rgba(0, 0, 0, 0.32);
}

#header-shell {
  position: relative;
  background: #1d3c51;
  border-color: rgba(255, 255, 255, 0.14);
  padding: 0.46rem 0.78rem;
  box-shadow: 0 18px 42px -32px rgba(29, 60, 81, 0.48);
}

@media (min-width: 768px) {
  #header-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(0.7rem, 1vw, 1rem);
  }

  #site-header nav {
    justify-self: stretch;
    justify-content: space-evenly;
  }

  #site-header #header-shell > div:last-child {
    justify-self: end;
  }
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 28px;
  max-width: min(46vw, 260px);
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

#site-header nav {
  align-items: center;
  gap: 0;
  font-size: 0.8rem;
  line-height: 1;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.nav-link:hover { color: #fff; }

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.84rem 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--deep), #2d5d79 55%, var(--ocean));
  box-shadow: 0 16px 30px -18px rgba(29, 60, 81, 0.75);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px -20px rgba(29, 60, 81, 0.8);
}

#site-header .btn-primary {
  background: #fff;
  color: #1d3c51;
  font-size: 0.82rem;
  padding: 0.58rem 1.08rem;
  box-shadow: 0 12px 24px -18px rgba(0, 0, 0, 0.32);
}

#site-header .btn-primary:hover {
  background: #f4f8fb;
  color: #1d3c51;
}

.btn-secondary {
  color: #1f475f;
  border: 1px solid rgba(29, 60, 81, 0.42);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 26px -24px rgba(29, 60, 81, 0.45);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  color: var(--deep);
  background: #fff;
  border-color: rgba(29, 60, 81, 0.64);
  box-shadow: 0 20px 34px -24px rgba(29, 60, 81, 0.52);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
}

.hero-section {
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #f3f8fa 60%, #ffffff 100%);
  --hero-top-offset: clamp(2.85rem, 5.7vw, 4.45rem);
  --hero-copy-offset: calc(var(--hero-top-offset) + clamp(0rem, 0.1vw, 0.12rem));
  --hero-frame-height: clamp(19rem, 23vw, 22rem);
  --hero-frame-width: min(68%, 425px);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/padronagem-2.png');
  background-size: 310px;
  background-repeat: repeat;
  opacity: 0.018;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-section > .mx-auto {
  position: relative;
  z-index: 1;
  align-items: start;
}

.hero-copy {
  padding-top: var(--hero-copy-offset);
}

.hero-badge {
  min-width: clamp(25rem, 42vw, 36rem);
  margin-bottom: -0.15rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-badge-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(82%, 27rem);
  gap: 1.05rem;
}

.hero-badge-dot {
  flex: 0 0 auto;
  opacity: 0.82;
}

.hero-copy h1 {
  max-width: 44.5rem;
  letter-spacing: 0.003em;
  line-height: 1.005;
}

.hero-copy p {
  max-width: 35.5rem;
  line-height: 1.66;
  margin-top: -0.15rem;
}

.hero-photo-col {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--hero-top-offset) + 1.34rem);
  min-height: calc(var(--hero-top-offset) + var(--hero-frame-height));
  isolation: isolate;
}

.hero-photo-col::before {
  content: "";
  position: absolute;
  top: var(--hero-top-offset);
  left: 50%;
  width: var(--hero-frame-width);
  height: var(--hero-frame-height);
  transform: translateX(-46%);
  background: rgba(29, 60, 81, 0.052);
  border: 1px solid rgba(29, 60, 81, 0.035);
  border-radius: 22px;
  box-shadow: 0 24px 46px -42px rgba(29, 60, 81, 0.32);
  z-index: -1;
}

.hero-media-frame {
  width: min(55%, 312px);
  height: calc(var(--hero-frame-height) - 2.8rem);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 11px;
  padding: 0;
  box-shadow: 0 20px 34px -30px rgba(29, 60, 81, 0.3);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.18);
  transform-origin: center 46%;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  background: #fff;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.12;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--deep);
}

#sobre .section-title,
#atuacao .section-title,
#relatos .section-title,
#diferenciais .section-title,
#contato h2 {
  font-weight: 700;
}

.sobre-copy {
  display: grid;
  gap: 1.25rem;
}

.sobre-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 600;
  color: var(--slate);
  max-width: 60ch;
}

#sobre {
  position: relative;
  background: #fff;
}

.about-card,
.axis-card,
.service-card,
.diff-card,
.cta-panel {
  border-radius: 24px;
  border: 1px solid rgba(29, 60, 81, 0.1);
}

.about-card,
.axis-card,
.service-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  box-shadow: 0 16px 28px -24px rgba(29, 60, 81, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-card:hover,
.axis-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 34px -24px rgba(29, 60, 81, 0.35);
}

.about-card h3,
.axis-card h3,
.service-card h3,
.diff-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.34rem;
  margin-bottom: 0.52rem;
}

.about-card p,
.axis-card p,
.service-card p,
.diff-card p {
  color: var(--slate);
  line-height: 1.7;
  text-align: left;
}

.service-card a {
  margin-top: 1.1rem;
  display: inline-flex;
  color: var(--deep);
  font-weight: 600;
}

.relatos-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(140, 196, 207, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(243, 248, 250, 0.88) 0%, rgba(232, 246, 248, 0.72) 100%);
}

.relatos-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/padronagem-2.png');
  background-size: 310px;
  background-repeat: repeat;
  opacity: 0.012;
  pointer-events: none;
}

.relatos-section > div {
  position: relative;
  z-index: 1;
}

.relatos-grid {
  align-items: stretch;
}

.relato-card {
  display: flex;
  flex-direction: column;
  min-height: 30rem;
  border: 1px solid rgba(29, 60, 81, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(2.2rem, 3vw, 3rem) clamp(1.8rem, 2.8vw, 2.55rem);
  box-shadow: 0 30px 60px -42px rgba(29, 60, 81, 0.35);
}

.relato-quote {
  display: block;
  height: 2.1rem;
  margin-bottom: 1.35rem;
  color: var(--ocean);
  font-family: Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.85;
  text-align: center;
}

.relato-card p {
  color: var(--deep);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.65;
  text-align: justify;
}

.relato-divider {
  display: block;
  width: 2.1rem;
  height: 1px;
  margin: auto auto 1.7rem;
  background: var(--ocean);
}

.relato-card h3 {
  color: var(--deep);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.chips {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(29, 60, 81, 0.09);
  font-size: 0.92rem;
}

.diff-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.3rem;
}

.diff-card p {
  color: rgba(255, 255, 255, 0.74);
  text-align: left;
  hyphens: none;
}

.diff-link {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  padding: 0.52rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  transition: background-color .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
}

.diff-link:hover {
  background: #fff;
  color: var(--deep);
  border-color: #fff;
  transform: translateY(-1px);
}

.quote {
  border-left: 2px solid rgba(66, 155, 186, 0.45);
  padding-left: 1rem;
  color: var(--deep);
  font-size: 1.06rem;
  line-height: 1.8;
}

.cta-panel {
  text-align: center;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(140,196,207,.2));
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 8vw, 6rem);
  box-shadow: 0 20px 36px -24px rgba(29,60,81,.42);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-panel h2 {
  text-align: center;
}

.cta-panel p {
  text-align: justify !important;
}

.contato-section {
  position: relative;
}

.contato-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/padronagem-2.png');
  background-size: 310px;
  background-repeat: repeat;
  opacity: 0.018;
  pointer-events: none;
}

.footer-premium {
  position: relative;
  background: #1d3c51;
  border-top-color: rgba(255,255,255,.14) !important;
}

.footer-premium > div {
  position: relative;
  z-index: 1;
}

.footer-premium p,
.footer-premium a {
  color: rgba(255,255,255,.86) !important;
}

.footer-logo {
  height: 56px !important;
  width: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0 !important;
  filter: brightness(0) invert(1);
}

#sobre p,
#atuacao p,
#servicos p {
  text-align: justify;
}

.diff-card p,
#diferenciais p {
  text-align: left;
}

.mobile-panel {
  display: grid;
  gap: 0.55rem;
  background: #1d3c51;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  margin-top: 0.65rem;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.35s ease;
}

.mobile-panel.open {
  padding: 1rem;
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}

.mobile-panel a {
  padding: 0.5rem 0.2rem;
  color: #fff;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--deep);
  position: relative;
  transition: all .3s ease;
  content: '';
}

.hamburger::before {
  top: -6px;
  position: absolute;
}

.hamburger::after {
  top: 4px;
  position: absolute;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero-section {
    --hero-top-offset: 0rem;
    --hero-copy-offset: 0rem;
    --hero-frame-height: clamp(18rem, 88vw, 24rem);
    --hero-frame-width: 92%;
  }

  #header-shell {
    background: #1d3c51;
    border-color: rgba(255, 255, 255, 0.14);
    padding: 0.5rem 0.76rem;
  }

  #header-shell .brand-logo img {
    filter: brightness(0) invert(1);
  }

  #mobile-toggle {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
  }

  #mobile-toggle .hamburger,
  #mobile-toggle .hamburger::before,
  #mobile-toggle .hamburger::after {
    background: #fff;
  }

  #hero {
    padding-top: 7.1rem;
  }

  #hero .reveal {
    padding-left: 0;
    padding-right: 0;
  }

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

  .hero-badge {
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    justify-content: center;
  }

  .hero-badge-inner {
    width: auto;
    justify-content: center;
    gap: 0.45rem;
  }

  .hero-copy h1 {
    max-width: 100%;
    line-height: 1.06;
  }

  .hero-copy p {
    max-width: 100%;
    margin-top: 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  .hero-section {
    background: linear-gradient(180deg, #f3f8fa 0%, #ffffff 100%);
  }

  .hero-section::before {
    opacity: 0.016;
    background-size: 280px;
  }

  .hero-photo-col {
    padding-top: 1rem;
    min-height: calc(var(--hero-frame-height) + 2rem);
  }

  .hero-photo-col::before {
    top: 0;
    left: 50%;
    width: var(--hero-frame-width);
    height: var(--hero-frame-height);
    transform: translateX(-50%);
    background: rgba(29, 60, 81, 0.055);
    border-radius: 20px;
  }

  .hero-media-frame {
    width: min(75%, 326px);
    height: calc(var(--hero-frame-height) - 2.2rem);
  }

  .hero-media {
    transform: scale(1.14);
  }

  .brand-logo img {
    height: 26px;
    max-width: 58vw;
  }

  .cta-panel {
    padding: 2rem 1.5rem;
  }

  #sobre p,
  #atuacao p,
  #servicos p,
  #relatos p,
  #diferenciais p {
    text-align: justify;
    text-justify: inter-word;
  }

  .about-card p,
  .axis-card p,
  .service-card p,
  .diff-card p,
  .relato-card p {
    text-align: left;
  }

  .about-card,
  .axis-card,
  .service-card {
    padding: 1.35rem;
  }

  .relato-card {
    min-height: auto;
    padding: 2rem 1.55rem;
  }

  .relato-quote {
    margin-bottom: 0.85rem;
    font-size: 3.4rem;
  }

  .relato-divider {
    margin-top: 2rem;
    margin-bottom: 1.25rem;
  }

  .about-card h3,
  .axis-card h3,
  .service-card h3 {
    line-height: 1.35;
  }
}
