/* ===== HERO ===== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video background */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0d1b2a;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 8, 0, 0.75) 0%,
    rgba(180, 70, 0, 0.3) 50%,
    rgba(13, 8, 0, 0.65) 100%
  );
}

/* Content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: heroFadeUp 0.9s ease both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo no hero */
.hero-logo {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(1);
  animation: heroFadeUp 0.9s ease 0.1s both;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(242, 123, 19, 0.18);
  border: 1px solid rgba(242, 123, 19, 0.45);
  border-radius: 100px;
  padding: 6px 18px;
  animation: heroFadeUp 0.9s ease 0.1s both;
}

.hero-badge span {
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  color: #f9b870;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Title */
.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: heroFadeUp 0.9s ease 0.25s both;
}

.hero-title-accent {
  color: var(--color-secondary);
}

/* Subtitle */
.hero-subtitle {
  font-family: var(--font-main);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 620px;
  animation: heroFadeUp 0.9s ease 0.3s both;
}

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeUp 0.9s ease 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-secondary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(242, 123, 19, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-secondary-dark);
  box-shadow: 0 8px 28px rgba(242, 123, 19, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.7);
  animation: scrollBounce 2s ease-in-out infinite;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-scroll-indicator:hover {
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
}

.hero-scroll-indicator svg {
  width: 18px;
  height: 18px;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== SEGMENTOS ===== */

.segmentos {
  padding: 120px 0 100px;
  background-color: #fef7f0;
  overflow: hidden;
}

/* Header */
.segmentos-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.segmentos-header.seg-visible {
  opacity: 1;
  transform: translateY(0);
}

.segmentos-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 14px;
  position: relative;
  padding: 0 20px;
}

.segmentos-eyebrow::before,
.segmentos-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 14px;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: 2px;
}

.segmentos-eyebrow::before { right: 0; }
.segmentos-eyebrow::after  { left: 0; }

.segmentos-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.segmentos-title-accent {
  color: var(--color-secondary);
}

.segmentos-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.7;
}

/* Grid */
.segmentos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 16px;
}

/* Card */
.seg-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease,
    flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease;
}

.seg-card.seg-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered delay */
.seg-card[data-index="0"] { transition-delay: 0.05s; }
.seg-card[data-index="1"] { transition-delay: 0.15s; }
.seg-card[data-index="2"] { transition-delay: 0.25s; }
.seg-card[data-index="3"] { transition-delay: 0.35s; }
.seg-card[data-index="4"] { transition-delay: 0.45s; }

.seg-card:hover {
  box-shadow: 0 24px 60px rgba(242, 123, 19, 0.22);
  z-index: 2;
}

/* Background image */
.seg-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card da Educação Infantil */
.seg-card-bg--educacao-infantil {
  background-image: url('../images/segmentos/educacao-infantil/capa.png');
}

/* Card do Ensino Fundamental I */
.seg-card-bg--fundamental-1 {
  background-image: url('../images/segmentos/fundamental-1/capa.png');
}

/* Card do Ensino Fundamental II */
.seg-card-bg--fundamental-2 {
  background-image: url('../images/segmentos/fundamental-2/capa.png');
}

/* Card do Ensino Médio */
.seg-card-bg--ensino-medio {
  background-image: url('../images/segmentos/ensino-medio/capa.png');
}

/* Card do Período Integral */
.seg-card-bg--periodo-integral {
  background-image: url('../images/segmentos/periodo-integral/capa.png');
}

.seg-card:hover .seg-card-bg {
  transform: scale(1.07);
}

/* Overlay */
.seg-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 8, 0, 0.85) 0%,
    rgba(13, 8, 0, 0.3) 50%,
    rgba(180, 70, 0, 0.05) 100%
  );
  transition: background 0.4s ease;
}

.seg-card:hover .seg-card-overlay {
  background: linear-gradient(
    to top,
    rgba(13, 8, 0, 0.9) 0%,
    rgba(13, 8, 0, 0.5) 55%,
    rgba(180, 70, 0, 0.12) 100%
  );
}

/* Card number */
.seg-card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  user-select: none;
}

.seg-card:hover .seg-card-number {
  color: rgba(255, 255, 255, 0.12);
  transform: scale(1.1) translateY(-4px);
}

/* Card content */
.seg-card-content {
  position: relative;
  z-index: 1;
  padding: 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Icon */
.seg-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(242, 123, 19, 0.2);
  border: 1px solid rgba(242, 123, 19, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.seg-card:hover .seg-card-icon {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: scale(1.08);
}

.seg-card-icon svg {
  width: 20px;
  height: 20px;
  color: #f9b870;
  transition: color 0.3s ease;
}

.seg-card:hover .seg-card-icon svg {
  color: #ffffff;
}

/* Tag */
.seg-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

/* Title */
.seg-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Description */
.seg-card-desc {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.4s ease 0.05s, margin 0.4s ease;
  margin-top: 0;
}

.seg-card:hover .seg-card-desc {
  max-height: 180px;
  opacity: 1;
  margin-top: 2px;
}

/* CTA button */
.seg-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: fit-content;
  margin-top: 4px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, gap 0.25s ease;
  opacity: 0;
  transform: translateY(10px);
}

.seg-card:hover .seg-card-btn {
  opacity: 1;
  transform: translateY(0);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.35s ease 0.1s,
    opacity 0.35s ease 0.1s,
    gap 0.25s ease;
}

.seg-card-btn:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  gap: 12px;
}

.seg-card-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
  .segmentos-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .seg-card:last-child {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  .segmentos {
    padding: 80px 0 72px;
  }

  .segmentos-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 20px;
    gap: 14px;
  }

  .seg-card {
    min-height: 360px;
  }

  .seg-card:last-child {
    grid-column: 1 / -1;
  }

  .seg-card-desc {
    display: none;
  }
}

@media (max-width: 480px) {
  .segmentos-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .seg-card {
    min-height: 300px;
  }

  .seg-card:last-child {
    grid-column: auto;
  }

  .seg-card-desc {
    display: block;
    max-height: none;
    opacity: 1;
  }

  .seg-card-btn {
    opacity: 1;
    transform: none;
  }
}

/* ===== SOBRE ===== */

.sobre {
  position: relative;
  padding: 120px 0 110px;
  background-color: #ffffff;
  overflow: hidden;
}

.sobre-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Background shapes */
.sobre-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.sobre-bg-shape--1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(242, 123, 19, 0.07) 0%, transparent 70%);
  top: -100px;
  left: -120px;
}

.sobre-bg-shape--2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(242, 123, 19, 0.06) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
}

/* ---- Visual (imagem) ---- */

.sobre-visual {
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.sobre-visual.sobre-visible {
  opacity: 1;
  transform: translateX(0);
}

.sobre-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.sobre-img {
  width: 100%;
  border-radius: 24px;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: top center;
}

/* Anel decorativo */
.sobre-img-deco--ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 3px solid var(--color-secondary);
  top: -28px;
  right: -28px;
  z-index: 0;
  opacity: 0.35;
}

/* Pontos decorativos */
.sobre-img-deco--dot {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
}

.sobre-img-deco--dot1 {
  width: 18px;
  height: 18px;
  background-color: var(--color-secondary);
  bottom: 60px;
  left: -14px;
}

.sobre-img-deco--dot2 {
  width: 12px;
  height: 12px;
  background-color: var(--color-primary);
  top: 30px;
  left: 20px;
  opacity: 0.5;
}

.sobre-img-deco--dot3 {
  width: 24px;
  height: 24px;
  background-color: var(--color-secondary);
  top: -16px;
  left: 50%;
  opacity: 0.25;
}

/* Stat cards flutuantes */
.sobre-stat-card {
  position: absolute;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.sobre-stat-card.sobre-visible {
  opacity: 1;
  transform: translateY(0);
}

.sobre-stat-card--1 {
  bottom: 40px;
  right: -24px;
  transition-delay: 0.3s;
}

.sobre-stat-card--2 {
  top: 40px;
  left: -24px;
  transition-delay: 0.5s;
}

.sobre-stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1;
}

.sobre-stat-plus {
  font-size: 1.2rem;
  color: var(--color-secondary);
}

.sobre-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---- Texto ---- */

.sobre-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

.sobre-text.sobre-visible {
  opacity: 1;
  transform: translateX(0);
}

.sobre-eyebrow {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.sobre-eyebrow strong {
  font-weight: 700;
  color: var(--color-secondary);
}

.sobre-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sobre-title-accent {
  color: var(--color-secondary);
}

.sobre-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.7;
}

.sobre-body {
  font-size: 0.92rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.75;
}

/* Pilares */
.sobre-pilares {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.sobre-pilar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background-color: var(--color-gray-lighter);
  border-radius: 12px;
  border: 1px solid var(--color-gray-light);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.sobre-pilar.sobre-visible {
  opacity: 1;
  transform: translateY(0);
}

.sobre-pilar:nth-child(1) { transition-delay: 0.2s; }
.sobre-pilar:nth-child(2) { transition-delay: 0.35s; }
.sobre-pilar:nth-child(3) { transition-delay: 0.5s; }

.sobre-pilar:hover {
  background-color: rgba(242, 123, 19, 0.07);
  border-color: rgba(242, 123, 19, 0.3);
}

.sobre-pilar-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background-color: rgba(242, 123, 19, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.sobre-pilar:hover .sobre-pilar-icon {
  background-color: var(--color-secondary);
}

.sobre-pilar-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
  transition: color 0.2s ease;
}

.sobre-pilar:hover .sobre-pilar-icon svg {
  color: #ffffff;
}

.sobre-pilar span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Actions */
.sobre-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-secondary-outline:hover {
  background-color: rgba(242, 123, 19, 0.07);
  border-color: var(--color-secondary-dark);
  color: var(--color-secondary-dark);
}

/* ===== RESPONSIVE SOBRE ===== */

@media (max-width: 968px) {
  .sobre-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .sobre-visual {
    transform: translateY(30px);
    max-width: 400px;
    margin: 0 auto;
  }

  .sobre-visual.sobre-visible {
    transform: translateY(0);
  }

  .sobre-text {
    transform: translateY(30px);
  }

  .sobre-text.sobre-visible {
    transform: translateY(0);
  }

  .sobre-stat-card--1 { right: 0; }
  .sobre-stat-card--2 { left: 0; }
}

@media (max-width: 480px) {
  .sobre {
    padding: 80px 0 72px;
  }

  .sobre-container {
    padding: 0 20px;
  }

  .sobre-stat-card {
    display: none;
  }

  .sobre-pilares {
    gap: 8px;
  }

  .sobre-pilar {
    padding: 8px 14px;
  }
}

/* ===== RECONHECIMENTOS ===== */

.reconhecimentos {
  padding: 88px 0 96px;
  background: #ffffff;
}

.reconhecimentos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.reconhecimentos-header {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.reconhecimentos-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reconhecimentos-title {
  color: var(--color-text);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.reconhecimentos-title span {
  color: var(--color-secondary);
}

.reconhecimentos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.reconhecimento {
  position: relative;
  min-height: 180px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-gray-lighter);
  border: 1px solid var(--color-gray-light);
  border-radius: 18px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s ease;
}

.reconhecimento img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.reconhecimento-saiba {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-secondary);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.reconhecimento-saiba svg {
  width: 14px;
  height: 14px;
}

.reconhecimento:hover,
.reconhecimento:focus-visible {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: rgba(242, 123, 19, 0.4);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.reconhecimento:hover img,
.reconhecimento:focus-visible img {
  transform: translateY(-10px);
}

.reconhecimento:hover .reconhecimento-saiba,
.reconhecimento:focus-visible .reconhecimento-saiba {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .reconhecimento img { transform: translateY(-10px); }
  .reconhecimento-saiba { opacity: 1; transform: translateY(0); }
}

.reconhecimento--wide img {
  max-height: 100px;
}

.reconhecimento--vertical img {
  max-width: 180px;
  max-height: 140px;
}

.reconhecimento--unesco img {
  width: 115%;
  max-width: 207px;
}

@media (max-width: 900px) {
  .reconhecimentos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .reconhecimentos {
    padding: 64px 0 72px;
  }

  .reconhecimentos-container {
    padding: 0 20px;
  }

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

  .reconhecimento {
    min-height: 150px;
  }
}

/* ===== INSTAGRAM ===== */

.instagram-section {
  padding: 96px 0 112px;
  background: var(--color-gray-lighter);
  position: relative;
  overflow: hidden;
}

.instagram-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 123, 19, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.instagram-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.instagram-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 14px;
}

.instagram-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.instagram-title-accent {
  color: var(--color-secondary);
}

.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
  border: 1.5px solid var(--color-secondary);
  border-radius: 999px;
  padding: 7px 18px;
  transition: background 0.2s ease, color 0.2s ease;
}

.instagram-handle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.instagram-handle:hover {
  background: var(--color-secondary);
  color: #fff;
}

#instagram-feed {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.instagram-post {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.instagram-post:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  transform: translateY(-3px);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.instagram-post:hover img {
  transform: scale(1.06);
}

.instagram-post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 8, 0, 0.72) 0%,
    rgba(13, 8, 0, 0.18) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  border-radius: 14px;
}

.instagram-post:hover .instagram-post-overlay {
  opacity: 1;
}

.instagram-post-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.instagram-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.instagram-stat svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.instagram-fallback {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
}

.instagram-fallback-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.instagram-fallback-link:hover {
  color: var(--color-secondary-dark);
}

@media (max-width: 900px) {
  #instagram-feed {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .instagram-section {
    padding: 64px 0 72px;
  }
  #instagram-feed {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
    gap: 10px;
  }
  .instagram-post-overlay {
    opacity: 1;
  }
}

/* ===== MAPA ===== */

.mapa {
  display: grid;
  grid-template-columns: 380px 1fr;
  height: 520px;
  width: 100%;
  overflow: hidden;
}

.mapa-info {
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.mapa-info::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -100px;
  left: -80px;
  pointer-events: none;
}

.mapa-info::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  top: -40px;
  right: -40px;
  pointer-events: none;
}

.mapa-info-inner {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.mapa-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.mapa-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mapa-title-accent {
  color: #ffffff;
}

.mapa-endereco {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mapa-endereco-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(242, 123, 19, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mapa-endereco-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
}

.mapa-endereco div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mapa-endereco strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.mapa-endereco span {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
}

.mapa-contatos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mapa-contato-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.mapa-contato-item:hover {
  color: #ffffff;
}

.mapa-contato-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.mapa-contato-item:hover .mapa-contato-icon {
  background: rgba(255, 255, 255, 0.15);
}

.mapa-contato-icon svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.mapa-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 11px 20px;
  background: #ffffff;
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  width: fit-content;
  transition: background-color 0.2s ease, transform 0.2s ease, gap 0.2s ease, box-shadow 0.2s ease;
}

.mapa-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mapa-cta svg {
  width: 14px;
  height: 14px;
}

.mapa-embed {
  position: relative;
  width: 100%;
  height: 100%;
}

.mapa-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  filter: saturate(0.85) contrast(1.05);
  transition: filter 0.3s ease;
}

.mapa-embed:hover iframe {
  filter: saturate(1) contrast(1);
}

/* ===== RESPONSIVE MAPA ===== */

@media (max-width: 900px) {
  .mapa {
    grid-template-columns: 1fr;
    grid-template-rows: auto 360px;
    height: auto;
  }

  .mapa-info-inner {
    padding: 40px 28px;
  }

  .mapa-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .mapa-embed {
    height: 300px;
  }

  .mapa-info-inner {
    padding: 32px 20px;
    gap: 16px;
  }
}

/* ===== RESPONSIVE HERO ===== */

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn {
    padding: 13px 24px;
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 280px;
  }

  .btn {
    width: 100%;
  }
}
