/* ===========================
   COMPONENTS — IKP Redesign
   =========================== */

/* ════════════════════════════
   NAVBAR
   ════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-border);
  padding: 0 40px;
  transition: var(--transition);
}

.navbar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo img {
  height: 48px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
}

.navbar__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
}

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

.navbar__link:hover::after,
.navbar__link--active::after {
  width: 100%;
}

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

/* Hamburger (mobile - placeholder) */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  transition: var(--transition);
}

/* ── Navbar Responsiva ── */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 72px;
    /* Height of navbar */
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--white);
    flex-direction: column;
    padding: var(--gap-xl) var(--gap-lg);
    gap: var(--gap-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
  }

  .navbar__links--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar__link {
    font-size: 18px;
    font-weight: 500;
  }

  /* Hamburger Animado */
  .navbar__hamburger--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .navbar__hamburger--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ════════════════════════════
   BOTÕES
   ════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--cta-bg);
  color: var(--cta-text);
  border: 1px solid var(--gold-primary);
}

.btn--primary:hover {
  background-color: var(--gold-light);
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.btn--secondary {
  background-color: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
}

.btn--secondary:hover {
  background-color: var(--gold-primary);
  color: var(--cta-text);
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

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

.btn--white-outline:hover {
  background-color: var(--white);
  color: var(--charcoal);
  transform: scale(1.02);
}

.btn--whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  border: none;
}

.btn--whatsapp:hover {
  background-color: #1EBE5D;
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* ════════════════════════════
   CARDS
   ════════════════════════════ */
.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: var(--gap-lg);
}

.card__date {
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--gap-sm);
}

.card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--gap-sm);
  line-height: 1.3;
}

.card__excerpt {
  font-size: 15px;
  color: var(--warm-gray);
  margin-bottom: var(--gap-md);
  line-height: 1.6;
}

.card__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.card__link:hover {
  color: var(--gold-dark);
  gap: 10px;
}

/* ── Recruit Cards ── */
.recruit-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--gap-xl) var(--gap-lg);
  text-align: center;
  transition: var(--transition);
}

.recruit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.recruit-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--gap-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  border-radius: var(--radius-full);
  color: var(--gold-primary);
}

.recruit-card__icon svg,
.recruit-card__icon i {
  font-size: 28px;
  width: 28px;
  height: 28px;
}

.recruit-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--gap-md);
}

.recruit-card__list {
  text-align: left;
  margin-bottom: var(--gap-lg);
}

.recruit-card__list li {
  font-size: 15px;
  color: var(--warm-gray);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.recruit-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-primary);
}

/* ── Team Cards ── */
.team-card {
  text-align: center;
  transition: var(--transition);
}

.team-card__photo-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--gap-md);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.team-card__photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background-color: rgba(201, 168, 76, 0);
  transition: var(--transition);
}

.team-card:hover .team-card__photo-wrap::after {
  background-color: rgba(201, 168, 76, 0.2);
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 14px;
  color: var(--warm-gray);
}

/* ════════════════════════════
   GALERIA
   ════════════════════════════ */
.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery__item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ════════════════════════════
   FORMULÁRIO
   ════════════════════════════ */
.form__group {
  margin-bottom: var(--gap-lg);
}

.form__label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: var(--gap-sm);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background-color: var(--off-white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

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

.form__error {
  font-size: 13px;
  color: #D64545;
  margin-top: 4px;
  display: none;
}

.form__group--error .form__input,
.form__group--error .form__textarea {
  border-color: #D64545;
}

.form__group--error .form__error {
  display: block;
}

/* ════════════════════════════
   HERO CAROUSEL
   ════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
}

.hero__carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero__slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(28, 28, 30, 0.75) 0%,
      rgba(28, 28, 30, 0.55) 50%,
      rgba(28, 28, 30, 0.70) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 80px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--gap-lg);
}

.hero__highlight {
  color: var(--gold-light);
  font-weight: 700;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--gap-xl);
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: var(--gap-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Navigation Arrows ── */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.hero__arrow:hover {
  background-color: rgba(201, 168, 76, 0.3);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.hero__arrow--prev {
  left: 32px;
}

.hero__arrow--next {
  right: 32px;
}

/* ── Dots Indicator ── */
.hero__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero__dot:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.hero__dot--active {
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero {
    height: 80vh;
    /* Reduced height on mobile */
  }

  .hero__carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hero__carousel::-webkit-scrollbar {
    display: none;
  }

  .hero__slide {
    position: relative;
    flex: 0 0 100%;
    inset: auto;
    opacity: 1 !important;
    visibility: visible !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transition: none;
    /* Disable fade transition on mobile */
  }

  .hero__content {
    padding: 0 24px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 16px;
    margin-bottom: var(--gap-lg);
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__arrow {
    display: none;
  }
}

/* ════════════════════════════
   SOBRE / BIO
   ════════════════════════════ */
.bio {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--gap-xl);
  align-items: center;
  margin-top: var(--gap-xl);
  padding-top: var(--gap-xl);
  border-top: 1px solid var(--light-border);
}

.bio__photo {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--gold-primary);
}

.bio__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--gap-sm);
}

.bio__role {
  font-size: 15px;
  color: var(--gold-primary);
  font-weight: 500;
  margin-bottom: var(--gap-md);
}

.bio__text {
  color: var(--warm-gray);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .bio {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--gap-lg);
  }

  .bio__photo {
    margin: 0 auto;
  }
}

/* ════════════════════════════
   VALORES CARDS (Missão, Visão, Valores)
   ════════════════════════════ */
.value-card {
  text-align: center;
  padding: var(--gap-lg);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--gap-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
}

.value-card__icon svg {
  width: 32px;
  height: 32px;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--gap-md);
}

.value-card__text {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ════════════════════════════
   CONTATO INFO
   ════════════════════════════ */
.contact-info__item {
  display: flex;
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  border-radius: var(--radius-full);
  color: var(--gold-primary);
}

.contact-info__label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.5;
}

/* ════════════════════════════
   FOOTER
   ════════════════════════════ */
.footer {
  background-color: var(--charcoal);
  padding: var(--gap-xl) 40px var(--gap-lg);
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--gap-xl);
}

@media (max-width: 768px) {
  .footer {
    padding: var(--gap-xl) 20px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
  }

  .footer__brand {
    text-align: center;
  }

  .footer__logo {
    display: inline-block;
  }

  .footer__heading {
    margin-top: var(--gap-md);
  }

  .footer__social {
    justify-content: center;
  }
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-top: var(--gap-md);
  line-height: 1.7;
}

.footer__logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--gap-lg);
}

.footer__links li {
  margin-bottom: var(--gap-sm);
}

.footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

.footer__social {
  display: flex;
  gap: var(--gap-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer__social-link:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.footer__bottom {
  max-width: var(--container-max);
  margin: var(--gap-lg) auto 0;
  padding-top: var(--gap-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ════════════════════════════
   COACHING SECTION
   ════════════════════════════ */
.coaching__features {
  margin-top: var(--gap-lg);
}

.coaching__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-md);
  margin-bottom: var(--gap-md);
}

.coaching__feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
}

.coaching__feature-icon svg {
  width: 20px;
  height: 20px;
}

.coaching__feature-text {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.5;
}

.coaching__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.coaching__image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ════════════════════════════
   SEARCH BAR
   ════════════════════════════ */
.search-bar {
  display: flex;
  position: relative;
  width: 100%;
}

.search-bar__input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  transition: var(--transition);
}

.search-bar__input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.search-bar__btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 38px;
  background: transparent;
  border: none;
  color: var(--warm-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.search-bar__btn:hover {
  color: var(--gold-primary);
  background: rgba(201, 168, 76, 0.05);
}

.search-bar__btn i {
  font-size: 20px;
}

/* Override: base.css define p { color: warm-gray } mas no artigo queremos texto escuro */
.artigo-body p,
.artigo-body li,
.artigo-callout__text {
  color: #3a3530 !important;
}

.artigo-lead {
  color: var(--charcoal) !important;
}

.artigo-quote p {
  color: var(--charcoal) !important;
}

.search-bar__btn:hover {
  color: var(--gold-primary);
  background: rgba(201, 168, 76, 0.05);
}

.search-bar__btn i {
  font-size: 20px;
}

/* Override: base.css define p { color: warm-gray } mas no artigo queremos texto escuro */
.artigo-body p,
.artigo-body li,
.artigo-callout__text {
  color: #3a3530 !important;
}

.artigo-lead {
  color: var(--charcoal) !important;
}

.artigo-quote p {
  color: var(--charcoal) !important;
}

.section--whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  padding: 86px 20px;
}

@media (max-width: 768px) {
  .section--whatsapp {
    padding: 64px 20px;
  }
}

@media (max-width: 768px) {
  .section--whatsapp {
    padding: 64px 20px;
  }
}