/* ═══════════════════════════════════════════════
   Ariadne Jeronimo | Advogada Criminalista
   style.css
   ═══════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #c9a84c;
  --gold-light: #e8c87a;
  --gold-pale: #f5e6c0;
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #181818;
  --dark3: #222222;
  --white: #f5f0e8;
  --gray: #7a7a7a;
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s,
    width 0.3s var(--ease-out),
    height 0.3s var(--ease-out),
    background 0.3s;
}
.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s var(--ease-out);
}
body:hover .cursor {
  opacity: 1;
}

/* ─── SCROLL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}

/* ─── UTILITY ─── */
.gold {
  color: var(--gold);
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}
section {
  position: relative;
  overflow: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 0.4s,
    padding 0.4s,
    backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  padding: 14px 40px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-brand .name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
}
.nav-brand .title-small {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(245, 240, 232, 0.7);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 10px 24px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: none;
  transition:
    background 0.3s,
    color 0.3s;
  text-decoration: none;
}
.btn-nav:hover {
  background: var(--gold);
  color: var(--black);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: 0.3s;
  display: block;
}
.mobile-menu {
  display: none;
}

.nav-logo {
  width: 200px;
}

/* ─── PAGE LOADER ─── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s,
    visibility 0.6s;
}
.page-loader.done {
  opacity: 0;
  visibility: hidden;
}
.loader-text {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 0.3em;
  animation: loaderPulse 1.4s infinite;
}
@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  padding-top: 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 70% at 75% 50%,
      rgba(201, 168, 76, 0.06) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 20% 80%,
      rgba(201, 168, 76, 0.04) 0%,
      transparent 60%
    );
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-tag::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}
.hero-h1 span {
  display: block;
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  color: rgba(245, 240, 232, 0.6);
  font-size: 14px;
  line-height: 1.8;
  max-width: 420px;
  margin: 20px 0 36px;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 44px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 232, 0.75);
}
.hero-badge::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5 6.5-7' stroke='%23C9A84C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  border: none;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s;
}
.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}
.btn-cta:hover::before {
  transform: translateX(0);
}
.btn-cta span {
  position: relative;
  z-index: 1;
}
.btn-cta svg {
  position: relative;
  z-index: 1;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(201, 168, 76, 0.3);
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-img-frame {
  position: relative;
  width: 420px;
  height: 560px;
  border: 1px solid rgba(201, 168, 76, 0.2);
}
.hero-img-frame::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid rgba(201, 168, 76, 0.1);
  z-index: -1;
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}
.hero-img-frame .img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--dark2) 0%, var(--dark3) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero-img-frame .img-placeholder svg {
  opacity: 0.15;
}
.hero-img-frame .img-placeholder p {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 0.6;
  text-transform: uppercase;
}

.hero-float-badge {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: var(--gold);
  color: var(--black);
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.hero-float-badge span {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ─── DIVIDER ─── */
.divider-gold {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

/* ─── SECTION HEADERS ─── */
.section-tag {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
}
.section-h2 em {
  font-style: italic;
  color: var(--gold);
}

/* ─── SOBRE ─── */
#sobre {
  padding: 120px 0;
  background: var(--dark);
}
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre-img-wrap {
  position: relative;
}
.sobre-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  border: 1px solid rgba(201, 168, 76, 0.15);
}
.sobre-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--dark2) 0%, var(--dark3) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}
.sobre-img-placeholder svg {
  opacity: 0.12;
}
.sobre-img-placeholder p {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 0.6;
  text-transform: uppercase;
}
.sobre-deco {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  opacity: 0.3;
  pointer-events: none;
}
.sobre-deco-bl {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  opacity: 0.2;
  pointer-events: none;
}
.sobre-edu {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-left: 2px solid var(--gold);
}
.sobre-edu p {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}
.sobre-edu strong {
  display: block;
  font-size: 12px;
  color: var(--white);
  margin-top: 4px;
}
.sobre-text p {
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 20px;
  font-size: 14px;
}
.sobre-quote {
  border-left: 2px solid var(--gold);
  padding: 16px 24px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: rgba(245, 240, 232, 0.85);
  line-height: 1.5;
}

/* ─── ÁREAS ─── */
#areas {
  padding: 120px 0;
  background: var(--black);
}
.areas-header {
  text-align: center;
  margin-bottom: 64px;
}
.areas-header p {
  color: var(--gray);
  margin-top: 14px;
  font-size: 14px;
}
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid rgba(201, 168, 76, 0.12);
}
.area-card {
  padding: 44px 40px;
  background: var(--dark);
  border: 1px solid rgba(201, 168, 76, 0.06);
  transition:
    background 0.4s,
    border-color 0.4s,
    transform 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.area-card:hover::before {
  transform: scaleX(1);
}
.area-card:hover {
  background: rgba(201, 168, 76, 0.04);
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
}
.area-card.featured {
  background: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.2);
}
.area-card.featured .area-title {
  color: var(--gold);
}
.area-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.area-icon svg {
  stroke: var(--gold);
}
.area-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}
.area-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
}

/* ─── DIFERENCIAIS ─── */
#diferenciais {
  padding: 120px 0;
  background: var(--dark);
}
.dif-header {
  text-align: center;
  margin-bottom: 72px;
}
.dif-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.dif-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid rgba(201, 168, 76, 0.1);
  transition:
    border-color 0.4s,
    transform 0.4s var(--ease-out);
  position: relative;
}
.dif-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-6px);
}
.dif-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dif-icon svg {
  stroke: var(--gold);
}
.dif-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.dif-text {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.8;
}

/* ─── CTA FINAL ─── */
#cta {
  padding: 140px 0;
  background: var(--black);
  text-align: center;
  position: relative;
}
#cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%
  );
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 32px;
}
.cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-h2 em {
  font-style: italic;
  color: var(--gold);
}
.cta-sub {
  color: var(--gray);
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto 48px;
}
.cta-note {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.5);
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  padding: 48px 40px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand .name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}
.footer-brand .sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
}
.footer-contact {
  text-align: right;
}
.footer-contact p {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 4px;
}
.footer-contact a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.footer-contact a:hover {
  color: var(--gold);
}
.footer-bottom {
  max-width: 1160px;
  margin: 24px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(245, 240, 232, 0.25);
}

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  cursor: none;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s;
  animation: waPulse 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 48px rgba(37, 211, 102, 0.55);
  animation: none;
}
@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 48px rgba(37, 211, 102, 0.7);
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero-image-wrap {
    justify-content: center;
    order: -1;
  }
  .hero-img-frame {
    width: 300px;
    height: 400px;
  }
  .hero-badges {
    align-items: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-tag {
    justify-content: center;
  }
  .sobre-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .areas-grid {
    grid-template-columns: 1fr;
  }
  .dif-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links,
  .btn-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  nav {
    padding: 16px 24px;
  }
  .container {
    padding: 0 24px;
  }
  .dif-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-contact {
    text-align: center;
  }
  body {
    cursor: auto;
  }
  .cursor,
  .cursor-follower {
    display: none;
  }
}
