/* =============================================
   APOENA Gestão Empresarial — style.css
   Paleta: Bordô #500000 | Dourado #9A7B3A | Off-white #F8F5F0
   Tipografia: Cormorant Garamond (display) + DM Sans (corpo)
   ============================================= */

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

:root {
  --bordo:       #500000;
  --bordo-light: #6B0000;
  --bordo-dark:  #380000;
  --gold:        #9A7B3A;
  --gold-light:  #C4A055;
  --off-white:   #F8F5F0;
  --cream:       #EDE8E0;
  --warm-grey:   #C8C0B4;
  --text:        #1A1612;
  --text-mid:    #4A3F35;
  --text-light:  #7A6E65;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --container:   1120px;
  --gap:         2rem;
  --radius:      4px;
  --radius-lg:   8px;

  --shadow-sm: 0 1px 4px rgba(80,0,0,.06);
  --shadow-md: 0 4px 20px rgba(80,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(80,0,0,.14);

  --transition: .25s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

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

ul { list-style: none; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* =============================================
   NAV
   ============================================= */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,245,240,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream);
  transition: box-shadow var(--transition);
}
.nav-wrapper.scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--bordo);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 2px;
  letter-spacing: .02em;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bordo);
  letter-spacing: .12em;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bordo);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-mid);
  padding: .4rem .65rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--bordo); background: rgba(80,0,0,.06); }

.nav-cta {
  background: var(--bordo) !important;
  color: var(--off-white) !important;
  padding: .5rem 1rem !important;
  border-radius: var(--radius) !important;
  font-weight: 500 !important;
  letter-spacing: .06em !important;
  font-size: .78rem !important;
  white-space: nowrap;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--bordo-light) !important; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--bordo);
  color: var(--off-white);
  border-color: var(--bordo);
}
.btn-primary:hover {
  background: var(--bordo-light);
  border-color: var(--bordo-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(248,245,240,.45);
}
.btn-outline:hover {
  background: rgba(248,245,240,.1);
  border-color: var(--off-white);
}
.btn-gold {
  background: var(--gold);
  color: var(--off-white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(154,123,58,.3);
}
.btn-large { padding: 1rem 2.5rem; font-size: .9rem; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  background: var(--bordo-dark);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* decorative line */
.hero-bg-line {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(154,123,58,.08) 100%);
  pointer-events: none;
}
.hero-bg-line::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(154,123,58,.12);
  border-radius: 50%;
}
.hero-bg-line::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 20%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(154,123,58,.08);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 6rem 5rem;
}

.hero-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(154,123,58,.35);
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  animation: fadeUp .7s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--off-white);
  max-width: 640px;
  margin-bottom: 1.5rem;
  animation: fadeUp .7s .1s ease both;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(248,245,240,.72);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  animation: fadeUp .7s .2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeUp .7s .3s ease both;
}

.hero-pillars {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-display);
  font-size: .95rem;
  color: rgba(248,245,240,.45);
  letter-spacing: .08em;
  animation: fadeUp .7s .4s ease both;
}
.hero-pillars .sep { color: var(--gold); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(248,245,240,.3);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

/* =============================================
   SECTIONS SHARED
   ============================================= */
.section { padding-block: 5rem; }
.section-light  { background: var(--off-white); }
.section-dark   { background: var(--text); }
.section-off    { background: var(--cream); }
.section-bordo  { background: var(--bordo); }
.section-cta    { background: var(--bordo-dark); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.section-header-light .section-title,
.section-header-light .section-desc { color: var(--off-white); }
.section-header-light .section-label { color: var(--gold-light); opacity: 1; }

.section-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bordo);
  opacity: .75;
  margin-bottom: .75rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-desc {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* =============================================
   CARDS GRID
   ============================================= */
.cards-grid {
  display: grid;
  gap: 1.25rem;
}
.cards-2x2 { grid-template-columns: repeat(2, 1fr); }

/* Problem cards */
.card-problem {
  background: var(--off-white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.card-problem:hover {
  border-color: rgba(80,0,0,.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-problem .card-icon {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bordo);
  opacity: .18;
  margin-bottom: .75rem;
  line-height: 1;
}
.card-problem h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}
.card-problem p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* Service cards */
.card-service {
  background: rgba(248,245,240,.05);
  border: 1px solid rgba(248,245,240,.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.card-service:hover {
  background: rgba(248,245,240,.09);
  border-color: rgba(154,123,58,.3);
  transform: translateY(-3px);
}
.card-service-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.card-service-icon svg { width: 100%; height: 100%; }
.card-service h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: .5rem;
}
.card-service p { font-size: .88rem; color: rgba(248,245,240,.55); line-height: 1.6; }

/* =============================================
   METHOD STEPS
   ============================================= */
.method-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin-inline: auto;
}
.method-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
}
.method-step:hover .step-number { background: var(--bordo); color: var(--off-white); }

.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--bordo);
  color: var(--bordo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  transition: var(--transition);
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
  margin-top: .6rem;
}
.step-content p { font-size: .9rem; color: var(--text-light); }

.method-connector {
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, var(--bordo), rgba(80,0,0,.2));
  margin-left: calc(26px - 1px); /* center on step-number */
}

/* =============================================
   IMA SECTION
   ============================================= */
.ima-inner {
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
  padding-block: 1rem;
}
.ima-tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(196,160,85,.4);
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.ima-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.ima-desc {
  font-size: .95rem;
  color: rgba(248,245,240,.7);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

/* =============================================
   AUDIENCE / PARA QUEM
   ============================================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 860px;
  margin-inline: auto;
}
.audience-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--cream);
  border: 1px solid rgba(80,0,0,.08);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  font-size: .9rem;
  color: var(--text-mid);
  transition: var(--transition);
}
.audience-card:hover {
  border-color: var(--bordo);
  background: #fff;
  transform: translateY(-2px);
}
.audience-check {
  font-size: .9rem;
  color: var(--bordo);
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   BENEFITS
   ============================================= */
.benefits-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  max-width: 860px;
  margin-inline: auto;
}
.benefit-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.benefit-line {
  width: 32px;
  height: 2px;
  background: var(--bordo);
  border-radius: 2px;
}
.benefit-item p {
  font-size: .95rem;
  color: var(--text-mid);
  font-weight: 400;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-inner {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  padding-block: 2rem;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.cta-desc {
  font-size: .95rem;
  color: rgba(248,245,240,.65);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--text);
  padding-block: 2.5rem;
  border-top: 1px solid rgba(248,245,240,.06);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.footer-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bordo);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 2px;
  flex-shrink: 0;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: .08em;
}
.footer-tagline {
  font-size: .78rem;
  color: var(--gold);
  letter-spacing: .1em;
}
.footer-wa {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(248,245,240,.55);
  font-size: .85rem;
  transition: color var(--transition);
}
.footer-wa:hover { color: #25D366; }
.footer-wa svg { width: 18px; height: 18px; }
.footer-copy {
  font-size: .75rem;
  color: rgba(248,245,240,.28);
  letter-spacing: .04em;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--off-white);
    border-bottom: 1px solid var(--cream);
    padding: 1rem 1.25rem;
    gap: .1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: .65rem .75rem; }
  .nav-cta { margin-top: .5rem; text-align: center !important; }

  /* Cards */
  .cards-2x2 { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .benefits-list { grid-template-columns: 1fr; }

  /* Hero */
  .hero-inner { padding-block: 4.5rem 4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  /* Sections */
  .section { padding-block: 3.5rem; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 2.2rem; }
  .ima-title  { font-size: 1.75rem; }
  .cta-title  { font-size: 1.75rem; }
}

/* =============================================
   APOENA TALENTOS — Seção na Home
   ============================================= */
.section-talentos {
  background: var(--off-white);
  border-top: 1px solid var(--cream);
  border-bottom: 1px solid var(--cream);
}

.talentos-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  padding-block: 1rem;
}

.talentos-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.talentos-title em {
  font-style: italic;
  color: var(--bordo);
}

.talentos-desc {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.talentos-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-talentos-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  background: var(--bordo);
  color: var(--off-white);
  border: 2px solid var(--bordo);
  transition: var(--transition);
  text-decoration: none;
}
.btn-talentos-primary:hover {
  background: var(--bordo-light);
  border-color: var(--bordo-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-talentos-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  background: transparent;
  color: var(--bordo);
  border: 2px solid var(--bordo);
  transition: var(--transition);
  text-decoration: none;
}
.btn-talentos-secondary:hover {
  background: var(--bordo);
  color: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Nav: compacta links extras em desktop para não transbordar */
@media (min-width: 681px) {
  .nav-links a:not(.nav-cta) {
    font-size: .78rem;
    padding: .35rem .5rem;
  }
}

@media (max-width: 680px) {
  .talentos-actions { flex-direction: column; align-items: center; }
  .btn-talentos-primary,
  .btn-talentos-secondary { width: 100%; max-width: 320px; text-align: center; }
}
