/* ===== MCA Assessoria — Estilos Globais ===== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- Variáveis --- */
:root {
  --navy-deep: #070e1a;
  --navy: #0a1628;
  --navy-light: #0f1f3a;
  --navy-mid: #152847;
  --gold: #c9a227;
  --gold-light: #dbb94a;
  --gold-pale: #f0dea0;
  --gold-glow: rgba(201, 162, 39, 0.15);
  --white: #f5f2ed;
  --white-pure: #ffffff;
  --gray-light: #bfc4ce;
  --gray: #8a90a0;
  --gray-dark: #4a5068;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy-deep);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Tipografia --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

p {
  color: var(--gray-light);
  font-size: 1.05rem;
  max-width: 680px;
}

/* --- Navegação --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.8rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.navbar__logo span {
  color: var(--gold);
}

.navbar__menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.navbar__link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-light);
  position: relative;
  padding-bottom: 4px;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.navbar__link:hover {
  color: var(--white);
}

.navbar__link:hover::after {
  width: 100%;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(201, 162, 39, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(15, 31, 58, 0.8) 0%, transparent 60%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(201, 162, 39, 0.03) 120px,
      rgba(201, 162, 39, 0.03) 121px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 120px,
      rgba(201, 162, 39, 0.03) 120px,
      rgba(201, 162, 39, 0.03) 121px
    );
}

.hero__globe {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.08);
  opacity: 0.4;
  animation: globeRotate 60s linear infinite;
}

.hero__globe::before {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.06);
}

.hero__globe::after {
  content: '';
  position: absolute;
  inset: 130px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.04);
}

@keyframes globeRotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: var(--gold-glow);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease both;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.hero__title {
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.15s ease both;
}

.hero__title .accent {
  color: var(--gold);
  font-style: italic;
}

.hero__desc {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s ease both;
}

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 4px;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn--primary:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.3);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* --- Seções --- */
.section {
  padding: 7rem 0;
  position: relative;
}

.section--alt {
  background: var(--navy);
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__overline {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section__title {
  color: var(--white);
  margin-bottom: 1rem;
}

.section__subtitle {
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.05rem;
}

/* Linha decorativa */
.section__header::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem auto 0;
}

/* --- Sobre Nós --- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__visual {
  position: relative;
  height: 420px;
}

.about__box {
  position: absolute;
  border-radius: 6px;
}

.about__box--main {
  inset: 0;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid rgba(201, 162, 39, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__box--main svg {
  width: 180px;
  height: 180px;
  opacity: 0.15;
  color: var(--gold);
}

.about__box--accent {
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  background: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.about__box--accent .number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1;
}

.about__box--accent .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
}

.about__text h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.about__text p {
  margin-bottom: 1.2rem;
}

.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat__label {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 0.3rem;
}

/* --- Serviços --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

/* --- Diferenciais --- */
.diff__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.diff-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all var(--transition);
}

.diff-card:hover {
  background: rgba(201, 162, 39, 0.04);
  border-color: rgba(201, 162, 39, 0.12);
}

.diff-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.diff-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.diff-card__desc {
  font-size: 0.88rem;
  color: var(--gray);
}

/* --- Contato --- */
.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact__info h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact__info p {
  margin-bottom: 2rem;
}

.contact__detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.contact__detail-text h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.contact__detail-text p {
  font-size: 0.95rem;
  color: var(--gray-light);
}

.contact__form {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 2.5rem;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --- Rodapé --- */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__brand-name span {
  color: var(--gold);
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer__cnpj {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--gray);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer__links li {
  margin-bottom: 0.8rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--gray);
  transition: color var(--transition);
}

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

.footer__address p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--gray-dark);
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

.footer__legal a {
  font-size: 0.82rem;
  color: var(--gray-dark);
}

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

/* --- Animações --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Página de Política --- */
.policy {
  padding: 8rem 0 5rem;
  min-height: 100vh;
}

.policy__content {
  max-width: 800px;
  margin: 0 auto;
}

.policy__content h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.policy__date {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.policy__content h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.policy__content h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--gold);
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 2px;
}

.policy__content p {
  margin-bottom: 1rem;
  max-width: 100%;
}

.policy__content ul {
  list-style: none;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.policy__content ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--gray-light);
  font-size: 1rem;
}

.policy__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.policy__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.policy__back:hover {
  color: var(--gold-light);
}

/* --- Responsivo --- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  .navbar__menu.active {
    right: 0;
  }

  .navbar__toggle {
    display: flex;
    z-index: 1001;
  }

  .navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: 90vh;
  }

  .hero__globe {
    width: 400px;
    height: 400px;
    right: -30%;
    opacity: 0.2;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__visual {
    height: 300px;
  }

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

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

  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .about__stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}
