@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #080e17;
  color: #f0f4f8;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #080e17; }
::-webkit-scrollbar-thumb { background: #1e4d7b; border-radius: 10px; }

/* ─── HERO ──────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 10, 20, 0.35) 0%,
    rgba(4, 10, 20, 0.55) 70%,
    rgba(8, 14, 23, 1)    100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 16px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff; /* fallback browsers sem suporte a gradient text */
  background: linear-gradient(135deg, #ffffff 30%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: fadeUp 1s ease both;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.35rem);
  max-width: 680px;
  color: #bae6fd;
  font-weight: 300;
  letter-spacing: 0.02em;
  animation: fadeUp 1s ease 0.2s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.6;
  animation: bounce 2s infinite;
  font-size: 0.75rem;
  color: #7dd3fc;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-hint svg {
  width: 20px;
  height: 20px;
  stroke: #7dd3fc;
  fill: none;
  stroke-width: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── NAV ───────────────────────────────────────── */
.top-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 20px;
  background: rgba(8, 14, 23, 0.75);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(125, 211, 252, 0.08);
}

.top-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 7px 14px;
  border-radius: 8px;
  margin: 2px; /* fallback para browsers sem suporte a gap em flex */
  -webkit-transition: color 0.2s ease, background 0.2s ease;
  transition: color 0.2s ease, background 0.2s ease;
}

.top-nav a:hover {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.08);
}

/* ─── SECTIONS ──────────────────────────────────── */
.full-section {
  padding: 100px 24px;
  max-width: 1280px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.full-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.full-section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  text-align: center;
  color: #f0f4f8; /* fallback */
  background: linear-gradient(135deg, #f0f4f8 40%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.full-section > p {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px auto;
  color: #94a3b8;
  font-size: 1.05rem;
  font-weight: 300;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* ─── DIVIDER ───────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(56,189,248,0.2), transparent);
  margin: 0 auto;
}

/* ─── CAMERA ────────────────────────────────────── */
.camera-frame {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 24px 60px rgba(0, 0, 0, 0.55);
  background: #0d1b2a;
  position: relative;
}

.camera-frame::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 60px rgba(56, 189, 248, 0.05);
  pointer-events: none;
  z-index: 1;
}

.camera-frame img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* ─── TEMPERATURA ───────────────────────────────── */
.temp-card {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  background: linear-gradient(135deg, #0d1b2e 0%, #0a2240 100%);
  border: 1px solid rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 60px rgba(14, 116, 203, 0.15), 0 24px 60px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.temp-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
  pointer-events: none;
}

.temp-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.temp-value {
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.4);
}

.temp-meta {
  font-size: 0.9rem;
  color: #4e7a9e;
  letter-spacing: 0.02em;
}

/* ─── GALERIA — PREVIEW ─────────────────────────── */
.photo-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .photo-preview { grid-template-columns: 1fr; }
}

.album-open-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 100px;
  padding: 12px 28px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.album-open-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: #38bdf8;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

/* ─── MODAL ÁLBUM ───────────────────────────────── */
.album-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(4, 10, 20, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-box-align: flex-end;
  -ms-flex-align: flex-end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.album-modal.open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.album-modal-inner {
  width: 100%;
  max-height: 92vh;
  background: #0a1520;
  border-radius: 24px 24px 0 0;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.album-modal.open .album-modal-inner {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.album-modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: #0a1520;
  z-index: 10;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.album-modal-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.album-modal-title strong {
  font-size: 1.1rem;
  color: #e2e8f0;
}

.album-modal-count {
  font-size: 0.82rem;
  color: #4e7a9e;
  letter-spacing: 0.04em;
}

.album-modal-close {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.album-modal-close:hover {
  background: rgba(56, 189, 248, 0.15);
}

.album-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 24px 28px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 600px) {
  .album-modal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px;
  }
  .album-modal-header { padding: 16px; }
}

.photo-card {
  background: #0d1b2a;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}

.photo-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
}

.photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
}

.photo-card:hover .photo-img-wrap img {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

.photo-info {
  padding: 14px 18px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  gap: 10px;
}

.photo-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  white-space: nowrap;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.photo-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ─── LIGHTBOX ──────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(4, 10, 20, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.lightbox.open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 0 80px rgba(0,0,0,0.7);
  display: block;
  margin: 0 auto;
}

.lightbox-inner p {
  margin-top: 14px;
  color: #94a3b8;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #ffffff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(56, 189, 248, 0.2);
}

.lightbox-close { top: 20px; right: 20px; }

.lightbox-prev {
  left: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* ─── VÍDEOS ────────────────────────────────────── */
.videos-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.video-item {
  background: #0d1b2a;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  min-height: 180px;
  position: relative;
  -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}

.video-item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: block;
  object-fit: cover;
  -webkit-transition: -webkit-filter 0.3s ease;
  transition: filter 0.3s ease;
}

.video-item:hover img {
  -webkit-filter: brightness(0.75);
  filter: brightness(0.75);
}

.video-play-btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-play-btn svg {
  width: 56px;
  height: 56px;
  fill: white;
  -webkit-filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  opacity: 0.85;
  -webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-item:hover .video-play-btn svg {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  opacity: 1;
}

.video-item iframe {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: block;
  border: 0;
}

/* ─── LINKS ─────────────────────────────────────── */
.links-category {
  margin-top: 48px;
}

.links-category:first-child {
  margin-top: 0;
}

.links-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #7dd3fc;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.12);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.link-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-decoration: none;
  background: #0d1b2a;
  color: #f0f4f8;
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  -webkit-transition: -webkit-transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.link-card:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: rgba(56, 189, 248, 0.2);
}

.link-card span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #e2e8f0;
}

.link-card p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}

/* ─── FOOTER ────────────────────────────────────── */
footer {
  text-align: center;
  padding: 40px 20px;
  color: #334155;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 60px;
}

footer span {
  color: #38bdf8;
}

/* ─── RESPONSIVO ────────────────────────────────── */
@media (max-width: 768px) {
  .hero { height: 90vh; }

  .top-nav {
    gap: 2px;
    padding: 8px 12px;
  }

  .top-nav a {
    font-size: 0.82rem;
    padding: 6px 10px;
  }

  .full-section {
    padding: 72px 18px;
  }

  .temp-card {
    padding: 44px 24px;
  }

  .camera-frame img {
    min-height: 220px;
    object-fit: cover;
  }
}
