/* =========================================================
   FERAS REPRESENTAÇÕES — style.css
   Paleta:
   --purple-main:#58297C  --purple-dark:#1D072E  --purple-deep:#381650
   --lilac:#875D92        --bg-light:#F3F3F3     --skin:#CEA49F
   ========================================================= */

:root {
  --purple-main: #58297C;
  --purple-dark: #1D072E;
  --purple-deep: #381650;
  --lilac: #875D92;
  --bg-light: #F3F3F3;
  --skin: #CEA49F;

  --text-dark: #241432;
  --text-soft: #5c4f66;
  --white: #ffffff;

  --font-title: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 50px rgba(29, 7, 46, 0.12);
  --shadow-card: 0 10px 30px rgba(29, 7, 46, 0.08);

  --container-w: 1180px;
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--purple-dark); font-weight: 700; text-wrap: pretty; }
p { text-wrap: pretty; }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.12s; }
.reveal-delay-2.in-view { transition-delay: 0.24s; }
.reveal-delay-3.in-view { transition-delay: 0.36s; }
.reveal-delay-4.in-view { transition-delay: 0.48s; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple-main);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(88, 41, 124, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(88, 41, 124, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }
.btn-whatsapp {
  background: var(--purple-deep);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn-whatsapp:hover { background: var(--purple-main); transform: translateY(-2px); }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(243, 243, 243, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(29, 7, 46, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 84px; width: auto; transition: height 0.35s ease; }
.site-header.scrolled .logo-img { height: 68px; }
.logo-img-footer { height: 92px; }

/* Troca fluida entre logo clara (fundo transparente) e logo degradê (fundo branco) */
.logo-swap { position: relative; }
.logo-swap .logo-img-dark {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 0.45s ease, height 0.35s ease;
}
.logo-swap .logo-img-light { opacity: 1; transition: opacity 0.45s ease, height 0.35s ease; }
.site-header.scrolled .logo-swap .logo-img-light { opacity: 0; }
.site-header.scrolled .logo-swap .logo-img-dark { opacity: 1; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--purple-main), var(--purple-deep));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
}
.logo-text { font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; color: var(--white); transition: color 0.35s ease; }
.logo-text em { font-style: normal; font-weight: 400; opacity: 0.75; display: block; font-size: 0.7rem; letter-spacing: 0.06em; }
.site-header.scrolled .logo-text { color: var(--purple-dark); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  transition: color 0.35s ease;
}
.site-header.scrolled .nav-link { color: var(--purple-dark); }
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: currentColor;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.35s ease;
}
.site-header.scrolled .menu-toggle span { background: var(--purple-dark); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--purple-dark);
  padding-top: 110px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 15% 0%, var(--purple-deep) 0%, var(--purple-dark) 55%, #10041a 100%);
}
.hero-panther-img {
  position: absolute;
  top: 0; right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.95) 55%, black 100%),
                       radial-gradient(120% 100% at 100% 0%, black 55%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.95) 55%, black 100%),
              radial-gradient(120% 100% at 100% 0%, black 55%, transparent 100%);
  mask-composite: intersect;
}
.silk-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}
.blob-1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle at 30% 30%, var(--purple-main), transparent 70%);
  top: -180px; left: -120px;
  animation: driftA 16s ease-in-out infinite;
}
.blob-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 60% 40%, var(--lilac), transparent 70%);
  bottom: -220px; right: -100px;
  animation: driftB 20s ease-in-out infinite;
}
.blob-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle at 50% 50%, var(--skin), transparent 72%);
  opacity: 0.28;
  top: 30%; right: 20%;
  animation: driftC 18s ease-in-out infinite;
}
.silk-lines {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 70px);
  mix-blend-mode: overlay;
}
@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.08); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -30px) scale(1.05); }
}
@keyframes driftC {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 40px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
}
.eyebrow {
  color: var(--skin);
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 16px;
}
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-soft);
  justify-self: end;
  align-self: end;
  margin-bottom: 40px;
  width: 100%;
  max-width: 380px;
}
.hero-photo {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--skin), var(--lilac));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
}
.hero-photo-img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-info { display: flex; flex-direction: column; gap: 4px; }
.hero-card-info strong { color: var(--white); font-family: var(--font-title); font-size: 1.05rem; }
.hero-card-info span { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.45);
  border-radius: 20px; z-index: 2;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--white);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 8px; }
}

/* ---------- SECTIONS ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--white); }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 18px;
  max-width: 640px;
}
.section-intro {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 56px;
}

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- SERVICE CARDS ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(88,41,124,0.06);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(29,7,46,0.14); }
.card-index {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--purple-main);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.96rem; }

/* ---------- BRAND / REPRESENTADAS CARDS ---------- */
.brand-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(88,41,124,0.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.brand-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.brand-logo {
  width: 96px; height: 56px;
  border-radius: var(--radius-sm);
  background: repeating-linear-gradient(135deg, rgba(88,41,124,0.08), rgba(88,41,124,0.08) 6px, rgba(88,41,124,0.03) 6px, rgba(88,41,124,0.03) 12px);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-main);
  font-family: var(--font-title);
  font-size: 0.75rem;
  margin-bottom: 20px;
}
.brand-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.brand-segment {
  color: var(--lilac);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.brand-card p { color: var(--text-soft); font-size: 0.94rem; margin-bottom: 16px; }
.brand-solutions li {
  font-size: 0.88rem;
  color: var(--text-dark);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.brand-solutions li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-main);
}

/* ---------- EQUIPE ---------- */
.team-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.team-card-featured { background: linear-gradient(160deg, var(--purple-deep), var(--purple-main)); }
.team-card-featured h3, .team-card-featured .team-role, .team-card-featured p { color: var(--white); }
.team-card-featured .team-role { color: var(--skin); }

.team-card.team-card-featured p:not(.team-role) { color: var(--white) !important; }
.team-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(145deg, var(--skin), var(--lilac));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
  overflow: hidden;
}
.team-photo-img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-empty {
  background: var(--bg-light);
  border: 2px dashed rgba(88,41,124,0.3);
  color: var(--purple-main);
  font-size: 2.2rem;
}
.team-role { color: var(--lilac); font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; }
.team-card p { color: var(--text-soft); font-size: 0.94rem; }
.team-card-placeholder { opacity: 0.85; }

/* ---------- TIMELINE ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 26px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(88,41,124,0.25), transparent);
  z-index: 0;
}
.timeline-step { position: relative; z-index: 1; }
.timeline-number {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--purple-main);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(88,41,124,0.3);
}
.timeline-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-step p { color: var(--text-soft); font-size: 0.9rem; }

/* ---------- DIFERENCIAIS ---------- */
.diff-grid { grid-template-columns: repeat(4, 1fr); }
.diff-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease;
}
.diff-item:hover { transform: translateY(-5px); }
.diff-mark {
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--purple-main);
  flex-shrink: 0;
  transform: rotate(45deg);
}
.diff-item p { font-weight: 600; font-size: 0.95rem; color: var(--purple-dark); }

/* ---------- CTA FINAL ---------- */
.cta-final {
  position: relative;
  background: var(--purple-dark);
  padding: 130px 0;
  overflow: hidden;
  text-align: center;
}
.cta-blob {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--purple-main), transparent 70%);
  top: -250px; left: 50%; transform: translateX(-50%);
  filter: blur(70px);
  opacity: 0.6;
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-final h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 20px; }
.cta-final p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 36px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--purple-dark); color: rgba(255,255,255,0.85); padding-top: 70px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { margin-bottom: 18px; }
.footer-logo .logo-text, .footer-logo .logo-text em { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-col p { font-size: 0.92rem; margin-bottom: 10px; line-height: 1.7; }
.footer-col a:hover { color: var(--skin); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.92rem; }
.footer-links a:hover { color: var(--skin); }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 900;
  background: var(--purple-main);
  color: var(--white);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px rgba(88,41,124,0.4);
  transition: transform 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
  overflow: hidden;
}
.whatsapp-float span {
  font-size: 0; font-weight: 600; white-space: nowrap;
  transition: font-size 0.3s ease;
}
.whatsapp-float::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--white);
  flex-shrink: 0;
}
.whatsapp-float:hover {
  width: 168px;
  border-radius: 100px;
  gap: 10px;
  transform: translateY(-3px);
}
.whatsapp-float:hover span { font-size: 0.85rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; max-width: 420px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card-featured { grid-column: 1 / -1; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { display: none; }
}

@media (max-width: 780px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--purple-dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link, .main-nav .nav-cta { color: var(--white); font-size: 1.1rem; }
  .main-nav .btn-whatsapp { color: var(--white); }
  .menu-toggle { display: flex; z-index: 1001; }
  .section { padding: 80px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
.hero-actions { flex-direction: row; flex-wrap: nowrap; gap: 10px; }
.hero-actions .btn { flex: 1 1 0; padding-left: 14px; padding-right: 14px; font-size: 0.82rem; white-space: normal; text-align: center; }
.logo-img { height: 44px; }
.site-header.scrolled .logo-img { height: 38px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-card { flex-direction: column; text-align: center; }
}
