/* 
  Unaplan Gestão — Site institucional v2
  Versão estática com responsividade reforçada para mobile.
*/

:root {
  --graphite: #1F2428;
  --off-white: #F7F4EF;
  --gold: #B08A3C;
  --gray: #8A8F93;
  --white: #FFFFFF;
  --black: #000000;

  --container: 1180px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.10);
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--off-white);
  color: var(--graphite);
  font-family: Inter, Avenir, "Avenir Next", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

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

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  min-width: 0;
}

.brand,
.footer-brand {
  font-family: Optima, "Avenir Next", Candara, "Segoe UI", sans-serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(31, 36, 40, 0.68);
  font-size: 14px;
}

.main-nav a,
.site-footer nav a {
  transition: color .25s ease;
}

.main-nav a:hover,
.site-footer nav a:hover {
  color: var(--gold);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--graphite);
  color: var(--white);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: background .25s ease, transform .25s ease;
}

.header-cta:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--off-white);
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--graphite);
  color: var(--off-white);
}

.section-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

p {
  color: rgba(31, 36, 40, 0.72);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 72px;
  padding-top: 100px;
  padding-bottom: 120px;
  min-width: 0;
}

.hero-content {
  min-width: 0;
  animation: fadeInUp .7s ease-out both;
}

.hero-text {
  max-width: 690px;
  margin: 28px 0 0;
  font-size: 19px;
  line-height: 1.75;
}

.hero-note {
  max-width: 570px;
  margin: 30px 0 0;
  color: rgba(31, 36, 40, 0.55);
  font-size: 14px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  transition: opacity .25s ease, background .25s ease, transform .25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
}

.btn-secondary {
  border: 1px solid rgba(176, 138, 60, 0.45);
  color: var(--graphite);
}

.btn-secondary:hover {
  background: rgba(176, 138, 60, 0.10);
}

.btn-white {
  background: var(--white);
  color: var(--graphite);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.hero-glow-one {
  top: -120px;
  right: -90px;
  width: 560px;
  height: 560px;
  background: rgba(176, 138, 60, 0.12);
}

.hero-glow-two {
  bottom: -80px;
  left: -90px;
  width: 360px;
  height: 360px;
  background: rgba(0,0,0,0.06);
}

.hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
  animation: fadeIn .8s ease-out both;
}

.dashboard-card {
  position: relative;
  width: min(100%, 520px);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(176,138,60,0.16), rgba(255,255,255,0.03)),
    var(--graphite);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.dashboard-top,
.dashboard-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.dashboard-kicker {
  display: block;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dashboard-top strong {
  display: block;
  color: var(--off-white);
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.icon-shield {
  width: 38px;
  height: 38px;
  color: var(--gold);
  flex: 0 0 auto;
}

.metric-list {
  display: grid;
  gap: 16px;
}

.metric {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  padding: 16px;
}

.metric > div:first-child {
  display: flex;
  justify-content: space-between;
  color: rgba(247, 244, 239, 0.70);
  font-size: 14px;
}

.metric > div:first-child span:last-child {
  color: var(--gold);
}

.metric-bar {
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}

.metric-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--gold);
}

.dashboard-bottom {
  justify-content: flex-start;
  color: rgba(247, 244, 239, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.dashboard-bottom svg {
  width: 25px;
  height: 25px;
  color: var(--gold);
  flex: 0 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 72px;
}

.text-block {
  display: grid;
  gap: 22px;
  font-size: 18px;
  line-height: 1.75;
  min-width: 0;
}

.text-block p {
  margin: 0;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.pill-grid div {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  background: var(--white);
  padding: 20px;
  color: var(--graphite);
  font-weight: 750;
  box-shadow: 0 10px 30px rgba(0,0,0,0.035);
}

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

.section-heading p:not(.section-label),
.section-description {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.75;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  min-width: 0;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 28px;
  background: var(--off-white);
  padding: 34px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.08);
}

.service-card p {
  margin-top: 18px;
  line-height: 1.75;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 34px;
  border-radius: 18px;
  background: rgba(176, 138, 60, 0.12);
  color: var(--gold);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.method-card {
  min-width: 0;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.035);
}

.method-card span {
  display: block;
  margin-bottom: 38px;
  color: rgba(176, 138, 60, 0.42);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.method-card h3 {
  font-size: 20px;
}

.method-card p {
  margin-top: 16px;
  color: rgba(31, 36, 40, 0.65);
  font-size: 14px;
  line-height: 1.7;
}

.dark-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.section-dark .section-label {
  color: var(--gold);
}

.section-dark h2 {
  font-size: clamp(38px, 5vw, 66px);
}

.dark-text p {
  color: rgba(247, 244, 239, 0.72);
}

.dark-text strong {
  display: block;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  color: var(--gold);
  font-size: 26px;
  line-height: 1.25;
}

.fit-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.check-list {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.check-list div {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border-radius: 20px;
  background: var(--off-white);
  padding: 20px;
  color: rgba(31, 36, 40, 0.74);
  line-height: 1.65;
}

.check-list span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(176, 138, 60, 0.5);
  border-radius: 50%;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.about-grid {
  align-items: center;
}

.brand-panel {
  min-width: 0;
  border-radius: var(--radius-xl);
  background: var(--graphite);
  color: var(--off-white);
  padding: 34px;
}

.brand-panel-inner {
  display: flex;
  min-height: 365px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  padding: 34px;
}

.brand-panel p {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand-panel strong {
  display: block;
  max-width: 380px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

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

.brand-tags span {
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  padding: 16px 10px;
  color: rgba(247, 244, 239, 0.72);
  font-size: 14px;
  text-align: center;
}

.about-content {
  min-width: 0;
}

.about-content p:not(.section-label) {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.75;
}

.contact-section {
  padding-top: 40px;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  border-radius: 36px;
  background: var(--gold);
  color: var(--white);
  padding: 62px;
  min-width: 0;
}

.cta-box h2 {
  max-width: 770px;
  font-size: clamp(36px, 4.4vw, 56px);
}

.cta-box p {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  line-height: 1.75;
}

.cta-box small {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  background: var(--off-white);
  padding: 42px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 0;
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(31, 36, 40, 0.58);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(31, 36, 40, 0.60);
  font-size: 14px;
}

.site-footer small {
  color: rgba(31, 36, 40, 0.50);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Tablets e telas médias */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .two-col,
  .dark-grid,
  .fit-grid,
  .about-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 72px;
    padding-bottom: 82px;
    gap: 56px;
  }

  .dashboard-card {
    max-width: 560px;
    width: 100%;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-box {
    align-items: start;
  }
}

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

  .header-inner {
    padding: 16px 0;
  }

  .brand {
    max-width: calc(100vw - 48px);
    overflow: hidden;
    font-size: 23px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-label {
    margin-bottom: 12px;
    font-size: 10.5px;
    letter-spacing: 0.19em;
  }

  h1 {
    font-size: clamp(38px, 11.5vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.05em;
  }

  h2,
  .section-dark h2,
  .cta-box h2 {
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.07;
    letter-spacing: -0.042em;
  }

  h3 {
    font-size: 21px;
  }

  .hero-grid {
    gap: 42px;
    padding-top: 56px;
    padding-bottom: 68px;
  }

  .hero-text,
  .section-heading p:not(.section-label),
  .section-description,
  .about-content p:not(.section-label),
  .text-block,
  .cta-box p {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 30px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .hero-note {
    margin-top: 24px;
    font-size: 13.5px;
  }

  .hero-glow-one {
    width: 360px;
    height: 360px;
    right: -180px;
  }

  .hero-glow-two {
    width: 260px;
    height: 260px;
  }

  .dashboard-card {
    width: 100%;
    max-width: 420px;
    aspect-ratio: auto;
    min-height: auto;
    border-radius: 26px;
    padding: 22px;
    gap: 28px;
  }

  .dashboard-top {
    align-items: flex-start;
  }

  .dashboard-kicker {
    font-size: 11px;
    letter-spacing: 0.20em;
  }

  .dashboard-top strong {
    font-size: 21px;
  }

  .icon-shield {
    width: 32px;
    height: 32px;
  }

  .metric-list {
    gap: 12px;
  }

  .metric {
    border-radius: 16px;
    padding: 13px;
  }

  .metric > div:first-child {
    font-size: 13px;
  }

  .dashboard-bottom {
    align-items: flex-start;
    font-size: 13px;
  }

  .two-col,
  .dark-grid,
  .fit-grid,
  .about-grid {
    gap: 34px;
  }

  .pill-grid,
  .cards-grid,
  .method-grid,
  .brand-tags {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .method-grid {
    margin-top: 36px;
  }

  .service-card,
  .method-card {
    padding: 24px;
    border-radius: 22px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .method-card span {
    margin-bottom: 26px;
    font-size: 42px;
  }

  .dark-text strong {
    padding-left: 18px;
    font-size: 21px;
  }

  .check-list div {
    padding: 17px;
    border-radius: 17px;
    font-size: 15px;
  }

  .brand-panel {
    padding: 22px;
    border-radius: 26px;
  }

  .brand-panel-inner {
    min-height: 300px;
    padding: 24px;
    border-radius: 20px;
  }

  .brand-panel p {
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  .brand-panel strong {
    font-size: 32px;
  }

  .brand-tags {
    gap: 10px;
  }

  .brand-tags span {
    padding: 14px 10px;
  }

  .contact-section {
    padding-top: 20px;
  }

  .cta-box {
    gap: 28px;
    padding: 28px;
    border-radius: 26px;
  }

  .site-footer {
    padding: 36px 0;
  }

  .footer-brand {
    font-size: 24px;
  }

  .site-footer nav {
    gap: 16px 22px;
  }
}

/* Celulares pequenos */
@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand {
    font-size: 21px;
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(34px, 11vw, 40px);
  }

  h2,
  .section-dark h2,
  .cta-box h2 {
    font-size: clamp(28px, 8.8vw, 35px);
  }

  .hero-grid {
    padding-top: 44px;
    padding-bottom: 58px;
  }

  .dashboard-card {
    padding: 18px;
    border-radius: 22px;
    gap: 22px;
  }

  .dashboard-top strong {
    font-size: 19px;
  }

  .metric {
    padding: 11px;
  }

  .service-card,
  .method-card,
  .brand-panel,
  .brand-panel-inner,
  .cta-box {
    padding: 20px;
  }

  .pill-grid div {
    padding: 17px;
  }

  .brand-panel strong {
    font-size: 29px;
  }
}
