.ctr-about-full {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  color: var(--foreground);
}

.ctr-intro {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  width: fit-content;
}

.btn-back:hover {
  opacity: 0.7;
  transform: translateX(-4px);
}

.ctr-intro .page-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--foreground);
  margin: 0;
}

.intro-box {
  border-radius: 8px;
  padding: 32px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 1.6;
  font-size: 1rem;
}

/* Gallery Section */
.carousel-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ctr-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 100%;
  padding: 35px 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.ctr-gallery::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 152px; /* Centralizado verticalmente com a altura da polaroid */
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(240, 230, 245, 0.5);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 20;
  transition: all 0.3s ease;
  color: hsl(var(--primary));
}

.carousel-btn:hover {
  background: hsl(var(--primary));
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 8px;
  margin-top: 0px;
  margin-bottom: 20px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: hsl(var(--primary));
  transform: scale(1.3);
}

.polaroid-wrapper {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 10px 20px;
  width: max-content;
  margin: 0 auto;
}

.polaroid {
  background: #fff;
  padding: 16px 16px 48px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  width: 240px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.polaroid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #eee;
  image-rendering: -webkit-optimize-contrast; /* Melhora a nitidez em navegadores baseados em Chromium */
  display: block;
}

.polaroid .caption {
  position: absolute;
  bottom: 16px;
  width: calc(100% - 32px);
  text-align: center;
  font-family: "Caveat", cursive, sans-serif; /* handwritten feel */
  font-size: 1.2rem;
  color: #333;
}

/* Polaroids slight rotation */
.polaroid:nth-child(4n + 1) {
  transform: rotate(-3deg);
}
.polaroid:nth-child(4n + 2) {
  transform: rotate(2deg);
}
.polaroid:nth-child(4n + 3) {
  transform: rotate(-1deg);
}
.polaroid:nth-child(4n + 4) {
  transform: rotate(3deg);
}

.polaroid:hover {
  transform: scale(1.05) translateY(-10px);
  z-index: 10;
}

/* Paperclip imitation */
.paperclip {
  position: absolute;
  top: -15px;
  left: 90%;
  transform: translateX(-50%);
  width: 12px;
  height: 40px;
  border: 2px solid #a0a0a0;
  border-radius: 10px;
  background: transparent;
  z-index: 2;
}

.paperclip::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 2px;
  width: 4px;
  height: 20px;
  border: 2px solid #a0a0a0;
  border-top: none;
  border-right: none;
  border-bottom: none;
}

/* Inspirations Section */
.ctr-inspirations {
  padding: 40px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 0;
}

.ctr-about-full .subtitle {
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 8px;
}

.inspiration-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin-top: 12px;
}

.inspiration-tags .tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid rgba(var(--primary), 0.1);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  color: #555;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  cursor: default;
}

.inspiration-tags .tag i {
  color: hsl(var(--primary));
  opacity: 0.8;
}

.inspiration-tags .tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(var(--primary), 0.08);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.inspiration-tags .tag:hover i {
  opacity: 1;
}

/* Certificates */
.ctr-certificates {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 20px 0;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1000px;
}

.cert-card {
  text-decoration: none;
  background: white;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: hsl(var(--primary));
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: hsla(var(--primary), 0.1);
}

.cert-card:hover::before {
  opacity: 1;
}

.cert-icon {
  width: 48px;
  height: 48px;
  background: hsla(var(--primary), 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.cert-card:hover .cert-icon {
  transform: scale(1.1);
}

.cert-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cert-info strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.cert-info span {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

/* Lang and Edu */
.ctr-lang-edu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px 0;
}

.ctr-lang-edu .column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ctr-lang-edu .section-header {
  justify-content: flex-start;
}

.maroon-box {
  background-color: hsl(var(--primary));
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.maroon-box.large {
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.maroon-box.large p {
  margin: 0;
}

.maroon-box strong {
  font-weight: 600;
}

/* Tools */
.ctr-tools {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: 40px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 900px;
  margin-top: 16px;
}

.tool-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #444;
}

.tool-card img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.tool-card:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .ctr-lang-edu {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .btn-back {
    margin-inline: auto;
  }

  .ctr-intro .page-title {
    text-align: center;
  }

  .ctr-about-full {
    padding: 100px 16px 40px;
  }

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

  .cert-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
