/* ECOSUB / Imersão v2 — prévia incremental da homepage. */
:root {
  --ocean-void: #001421;
  --ocean-night: #002b40;
  --ocean-light: #40d8f3;
  --ocean-leaf: #aaf334;
}
body.ocean-theme {
  color-scheme: dark;
  background: var(--ocean-void);
  color: #ecf8fc;
  --green: var(--ocean-leaf);
  --teal: #52deed;
}
.ocean-theme .site-layout { background: var(--ocean-void); }
.ocean-theme .site-main {
  background:
    radial-gradient(circle at 85% 1%, #0484a447, transparent 30rem),
    linear-gradient(180deg, #00293d, #001726 67%, #00131e);
}
.ocean-theme .site-sidebar {
  background:
    linear-gradient(180deg, #00273bdd, #001321f6 88%),
    url('images/galeria/47.jpg') 44% 100% / auto 55% no-repeat;
  border-right: 1px solid #59d6e33b;
}
.ocean-theme .site-sidebar::before {
  background:
    radial-gradient(ellipse at 50% 0, #18b8e328, transparent 60%),
    linear-gradient(90deg, #27dff712, transparent);
}
.ocean-theme .sidebar-scroll { padding: 22px 15px 22px; }
.ocean-theme .brand { width: 178px; margin: 1px auto 18px; }
.ocean-theme .brand img { width: 178px; height: auto; }
.ocean-theme .sidebar-kicker {
  margin: 0 10px 20px;
  color: #aad9e5;
  font-size: 9px;
  letter-spacing: .17em;
  line-height: 1.7;
}
.ocean-theme .primary-nav { gap: 3px; }
.ocean-theme .nav-link {
  padding: 12px 17px;
  color: #d5edf4;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
}
.ocean-theme .nav-link:hover { background: #0ba4b91e; }
.ocean-theme .nav-link.is-active {
  color: white;
  border-color: #5df3dd75;
  background: linear-gradient(90deg, #aaf33427, #007fa04d);
  box-shadow: inset 3px 0 #aaf334, 0 8px 35px #00b4d51d;
}
.ocean-theme .nav-bullet,
.ocean-theme .nav-link.is-active .nav-bullet {
  background: #90eaf4;
  width: 5px;
  height: 5px;
}
.ocean-theme .nav-link.is-active .nav-bullet { background: #aaf334; }
.ocean-theme .sidebar-contacts {
  margin-top: auto;
  padding: 21px 7px 10px;
  border-color: #7fe8f83d;
}
.ocean-theme .contact-eyebrow { color: #aaf334; }
.ocean-theme .sidebar-whatsapp {
  border: 1px solid #aaf334a8;
  background: linear-gradient(90deg, #aaf3340b, #12aeb71d);
  color: white;
  border-radius: 11px;
}
.ocean-theme .sidebar-bottom { color: #7fb7ca; }
.ocean-theme a:focus-visible,
.ocean-theme button:focus-visible { outline-color: #aaf334; }

/* Uma única narrativa visual subaquática, com primeiro paint legível sem JS. */
.ocean-home .hero-home {
  isolation: isolate;
  display: block;
  min-height: min(745px, 88vh);
  background:
    linear-gradient(90deg, #001825 4%, #002c43bb 55%, #003c5666 100%),
    url('images/galeria/20.jpg') 55% 50% / cover no-repeat;
  overflow: hidden;
}
.ocean-home .hero-home::before {
  z-index: 1;
  background:
    linear-gradient(90deg, #001b2ef5 0%, #00283ab0 37%, #00293b0d 80%),
    linear-gradient(180deg, #00283e38, transparent 20%, transparent 70%, #001929 96%);
}
.ocean-home .hero-home::after {
  z-index: 1;
  right: -200px;
  bottom: -380px;
  border-color: #6fdef31a;
}
.ocean-home .ocean-layers {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}
.ocean-home .water-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 1%, #10ceffff 0, #0bf2f744 14%, transparent 47%),
    radial-gradient(ellipse at 52% 79%, #08567f33, transparent 55%);
  opacity: .63;
}
.ocean-home .hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(66%, 820px);
  min-height: 0;
  background: url('assets/mergulhadora-ilustrativa.webp') right bottom / 100% auto no-repeat;
  filter: saturate(1.10) contrast(1.04);
}
.ocean-home .turtle-photo {
  position: absolute;
  width: clamp(160px, 17vw, 275px);
  aspect-ratio: 332 / 154;
  top: 6%;
  right: 24%;
  background: url('assets/tartaruga-ilustrativa.webp') center / contain no-repeat;
  opacity: .83;
  transform: rotate(-5deg);
}
.ocean-home .hero-reef {
  position: absolute;
  left: -2%;
  bottom: -12%;
  width: 45%;
  height: 48%;
  background: url('images/galeria/26.jpg') center 37% / cover no-repeat;
  opacity: .75;
  -webkit-mask-image: radial-gradient(ellipse at 16% 98%, #000 0%, #0009 32%, transparent 78%);
  mask-image: radial-gradient(ellipse at 16% 98%, #000 0%, #0009 32%, transparent 78%);
}
.ocean-home .sea-sparkles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#a6faff 1px, transparent 1.6px);
  background-size: 85px 89px;
  opacity: .09;
}
.ocean-home .hero-content {
  position: relative;
  z-index: 2;
  max-width: min(860px, 70%);
  padding: 135px clamp(30px, 5.4vw, 90px) 125px;
}
.ocean-home .eyebrow { color: #d5f9ff; letter-spacing: .24em; font-size: 10px; }
.ocean-home .eyebrow-line { background: #adf238; }
.ocean-home .hero-home h1 {
  font-size: clamp(46px, 5.5vw, 84px);
  letter-spacing: -.057em;
  font-weight: 800;
  max-width: 770px;
  text-shadow: 0 5px 38px #001b2ec9;
  margin: 24px 0 23px;
}
.ocean-home .hero-home h1 em { display: block; color: #b1ef39; }
.ocean-home .hero-content > p {
  max-width: 565px;
  font-size: clamp(15px, 1.28vw, 18px);
  line-height: 1.64;
  color: #effbff;
  text-shadow: 0 2px 14px #00121ee3;
  margin-bottom: 31px;
}
.ocean-theme .button { border-radius: 12px; padding: 16px 22px; gap: 12px; }
.ocean-theme .button-green {
  background: linear-gradient(180deg, #c6fb52, #a3ec29);
  color: #072532;
  box-shadow: 0 10px 32px #a0ed3521;
}
.ocean-theme .button-green:hover { background: #cdff60; }
.ocean-theme .button-outline {
  background: #00344e90;
  border-color: #d7fbffb8;
  backdrop-filter: blur(8px);
  color: #fff;
}
.ocean-home .hero-caption {
  right: 36px;
  bottom: 28px;
  z-index: 3;
  letter-spacing: .15em;
}
.ocean-theme .caption-dot { background: #b5f346; }

/* Atalhos que substituem a antiga faixa, sem URLs fictícias. */
.ocean-quicknav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  min-height: 92px;
  background: linear-gradient(180deg, #00415b, #002b42);
  border-block: 1px solid #4bd5ed6b;
  box-shadow: inset 0 1px 20px #00cfff22;
}
.ocean-quicknav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  color: #f2fbff;
  letter-spacing: .17em;
  font-weight: 800;
  font-size: 10px;
  transition: color .2s, background .2s;
  text-align: center;
  padding: 14px 5px;
}
.ocean-quicknav a:hover { color: #b9f84b; background: #24d2e518; }
.ocean-quicknav a + a::before {
  content: '';
  position: absolute;
  left: 0;
  height: 35px;
  border-left: 1px solid #7ac8d55c;
}
.ocean-quicknav svg { width: 28px; height: 28px; }

/* Nesta prévia a narrativa segue dentro do mar, sem o bloco branco da v1. */
.ocean-home .welcome {
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 65px);
  margin: 24px;
  padding: 0;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid #36cde25a;
  border-radius: 21px;
  background: linear-gradient(105deg, #00374e, #002538f5 57%, #002e41);
  box-shadow: 0 20px 60px #00091a66, inset 0 0 40px #18bce210;
}
.ocean-home .welcome-image { position: relative; min-height: 340px; }
.ocean-home .welcome-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: saturate(1.10) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 65%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 65%, transparent 100%);
}
.ocean-home .welcome-image span {
  position: absolute;
  bottom: 15px;
  left: 22px;
  font-size: 9px;
  letter-spacing: .14em;
  background: #002b3d9c;
  border-radius: 7px;
  padding: 6px 9px;
  color: #daf8fa;
}
.ocean-home .welcome-message {
  padding: 45px clamp(26px, 4vw, 64px) 45px 0;
  align-self: center;
  color: #d9edf3;
}
.ocean-home .welcome-message h2 { color: #fff; font-size: clamp(35px, 3vw, 50px); margin: 13px 0 19px; }
.ocean-home .welcome-message p { font-size: 15px; line-height: 1.72; max-width: 670px; margin: 0 0 13px; }
.ocean-home .section-label { color: #b5ee3d; }
.ocean-home .text-link { color: #a7f7fa; border-color: #60bbc6; margin-top: 9px; }
.ocean-home .text-link:hover { color: #c3fa47; }
.ocean-home .highlights { background: #001b2b; color: white; }
.ocean-home .gallery-section { background: #00283b; color: white; }
.ocean-home .feature-card { border: 1px solid #67dff344; border-radius: 18px; }
.ocean-home .home-gallery a { border: 1px solid #67dff344; border-radius: 17px; }
.ocean-home .cta-band { color: white; background: linear-gradient(110deg, #00566e, #002b42); border-block: 1px solid #6df6fb44; }
.ocean-home .cta-band p { color: #daf4f5; }
.ocean-home .cta-band .section-label { color: #a5ee46; }
.ocean-home .button-dark { background: #b4ee3c; color: #002b3c; }
.ocean-home .original-links, .ocean-home .historic-details { background: #001e2c; color: #d9f2f7; border-color: #417c8c; }
.ocean-home .original-links p { color: #adceda; }
.ocean-home .original-link-grid a { border-color: #247c85; color: #b0fbf8; }
.ocean-home .historic-details summary { color: #a7f4f4; }
.ocean-home .site-footer { background: #00111b; }
.ocean-home .ocean-disclosure {
  grid-column: 1 / -1;
  color: #90b9c3;
  font-size: 11px;
  margin: 0;
  border-top: 1px solid #ffffff20;
  padding-top: 14px;
}

@media (max-width: 1210px) {
  .ocean-home .hero-content { max-width: 72%; padding-left: 46px; padding-right: 26px; }
  .ocean-home .hero-home h1 { font-size: clamp(44px, 5.3vw, 72px); }
  .ocean-home .turtle-photo { right: 29%; }
}
@media (max-width: 900px) {
  .ocean-theme .mobile-topbar {
    background: #001b2dc7;
    border-bottom: 1px solid #47d4e633;
    backdrop-filter: blur(12px);
  }
  .ocean-theme .mobile-topbar img { width: 116px; }
  .ocean-theme .menu-toggle { background: #00415d99; border-radius: 12px; border-color: #74dded7a; }
  .ocean-theme .sidebar-scroll { min-height: 0; }
  .ocean-theme .site-sidebar { border-right: 0; }
  .ocean-home .hero-home { min-height: 740px; }
  .ocean-home .hero-content { max-width: 76%; padding: 105px 40px 130px; }
  .ocean-home .hero-photo { width: 72%; background-position: right center; }
  .ocean-home .turtle-photo { right: 28%; top: 3%; }
}
@media (max-width: 600px) {
  .ocean-home .hero-home { min-height: 740px; }
  .ocean-home .hero-home::before {
    background: linear-gradient(180deg, #001929a8 0%, #002638e3 22%, #00263acd 48%, #00213644 76%, #001929ed 99%);
  }
  .ocean-home .hero-photo {
    width: 95%;
    height: 62%;
    top: auto;
    bottom: 0;
    background-size: 100% auto;
    background-position: right bottom;
    opacity: .9;
  }
  .ocean-home .hero-reef { width: 80%; height: 30%; left: -15%; bottom: -5%; }
  .ocean-home .water-glow { opacity: .8; }
  .ocean-home .turtle-photo {
    width: 155px;
    top: 2%;
    right: 4%;
    opacity: .6;
  }
  .ocean-home .hero-content {
    padding: 82px 23px 75px;
    max-width: 100%;
    z-index: 3;
  }
  .ocean-home .hero-home h1 {
    font-size: clamp(40px, 11vw, 60px);
    line-height: 1.08;
    max-width: 540px;
    margin: 18px 0 19px;
  }
  .ocean-home .hero-content > p {
    font-size: 14px;
    max-width: 400px;
    margin-bottom: 26px;
  }
  .ocean-home .hero-actions { width: min(100%, 330px); }
  .ocean-home .hero-actions .button { padding: 14px 17px; }
  .ocean-home .hero-caption { bottom: 16px; left: 22px; right: auto; }
  .ocean-quicknav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ocean-quicknav a { min-height: 84px; letter-spacing: .06em; font-size: 9px; }
  .ocean-quicknav a + a::before { height: 28px; }
  .ocean-quicknav a:nth-child(4)::before { display: none; }
  .ocean-quicknav svg { width: 25px; height: 25px; }
  .ocean-home .welcome { display: block; margin: 16px; min-height: 0; }
  .ocean-home .welcome-image { min-height: 194px; }
  .ocean-home .welcome-image img {
    height: 240px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  }
  .ocean-home .welcome-message { padding: 20px 22px 30px; }
  .ocean-home .welcome-message h2 { font-size: 36px; }
}
@media (max-width: 360px) {
  .ocean-home .hero-content { padding-left: 18px; padding-right: 18px; }
  .ocean-home .hero-home h1 { font-size: 39px; }
  .ocean-home .hero-home { min-height: 760px; }
  .ocean-home .eyebrow { letter-spacing: .12em; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .ocean-theme *, .ocean-theme *::before, .ocean-theme *::after {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}

/* ECOSUB / Identidade submarina compartilhada em todas as páginas.
   Cores e tipografia do conceito aprovado. Os textos ficam visíveis sem JavaScript. */
.ocean-theme {
  --navy: #001827;
  --navy-2: #00344c;
  --ink: #ecf8fe;
  --paper: #002030;
  --muted: #a3c5d0;
  --teal: #59def0;
  --green: #adee36;
  --orange: #a5dcef;
  --line: #397888;
  background: #001723;
  color: #e8f9fd;
}
.ocean-theme .site-main {
  background:
    radial-gradient(ellipse 85% 580px at 78% 2%, #006d8454, transparent),
    linear-gradient(#002c3d, #001923 55%, #001521);
}
.ocean-theme .site-sidebar {
  background:
    linear-gradient(180deg, #002c44f5 0%, #001421fa 75%),
    url('images/galeria/47.jpg') center bottom / auto 65% no-repeat;
  border-right: 1px solid #4bd9ed30;
}
.ocean-theme .site-sidebar::before {
  background: radial-gradient(circle at 100% 3%, #25cae42c, transparent 50%);
}
.ocean-theme .sidebar-scroll { padding: 21px 16px 20px; }
.ocean-theme .brand { width: 174px; margin: 2px auto 20px; }
.ocean-theme .brand img { display: block; width: 174px; height: auto; }
.ocean-theme .sidebar-kicker {
  color: #90c5d3;
  font-size: 9px;
  letter-spacing: .17em;
  line-height: 1.65;
  margin: 0 10px 20px;
}
.ocean-theme .primary-nav { gap: 3px; }
.ocean-theme .nav-link {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 13px;
  gap: 13px;
  color: #d7f0f5;
  font-size: 13px;
  letter-spacing: 0;
}
.ocean-theme .nav-icon { flex: 0 0 19px; color: #b9dce5; }
.ocean-theme .nav-link:hover { background: #0da5bb29; color: white; }
.ocean-theme .nav-link.is-active {
  color: #fff;
  border-color: #83f5bb69;
  background: linear-gradient(90deg, #a7ef3527, #05a6bf30);
  box-shadow: inset 3px 0 #aef53f, 0 12px 24px #00111b55;
}
.ocean-theme .nav-link.is-active .nav-icon { color: #b6ef42; }
.ocean-theme .sidebar-contacts {
  margin-top: auto;
  padding: 24px 7px 12px;
  border-color: #8ee7ea36;
}
.ocean-theme .contact-eyebrow { color: #b8f34f; }
.ocean-theme .sidebar-contacts>a:not(.sidebar-whatsapp) { color: #d1f0f6; }
.ocean-theme .sidebar-contacts>a:not(.sidebar-whatsapp):hover { color: #b5fa58; }
.ocean-theme .sidebar-whatsapp {
  color: #e8fbfa;
  border-radius: 11px;
  border: 1px solid #a4ed45a1;
  background: linear-gradient(90deg, #c4ef3214, #007da342);
}
.ocean-theme .sidebar-bottom { color: #84b3c7; }
.ocean-theme a:focus-visible,
.ocean-theme button:focus-visible,
.ocean-theme input:focus-visible,
.ocean-theme textarea:focus-visible,
.ocean-theme select:focus-visible { outline-color: #b0f449; }
.ocean-theme .button-green,
.ocean-theme .button-dark {
  color: #092331;
  border: 1px solid #d4ff93;
  border-radius: 12px;
  background: linear-gradient(180deg, #c6f95b, #a9ed31);
  box-shadow: 0 10px 31px #76b92524;
}
.ocean-theme .button-green:hover,
.ocean-theme .button-dark:hover { background: #d6fd78; }
.ocean-theme .section-label { color: #b4ef43; }
.ocean-theme .site-footer {
  position: relative;
  background: #00131f;
  border-top: 1px solid #56c9dc48;
  color: #cee8f0;
}
.ocean-theme .site-footer strong { color: #ecfbfc; }
.ocean-theme .site-footer span { color: #82b3c1; }
.ocean-theme .site-footer a { color: #d4f4f9; }
.ocean-theme .site-footer a:hover { color: #b7ef46; }
.ocean-theme .site-footer .ocean-disclosure {
  grid-column: 1 / -1;
  border-top: 1px solid #ffffff1e;
  padding-top: 17px;
  margin: 0;
  color: #85aeba;
  font-size: 11px;
  line-height: 1.6;
}
.ocean-theme .site-footer .copyright { color: #86aab8; }

/* Todas as páginas internas começam dentro do oceano, não em um bloco de escritório. */
.ocean-inner .inner-hero {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  min-height: 358px;
  padding-top: 84px;
  padding-bottom: 84px;
  background:
    linear-gradient(90deg, #001826f4 0%, #002f40db 48%, #004d6597 100%),
    url('images/galeria/19.jpg') right 40% / cover no-repeat;
  border-bottom: 1px solid #40cfe65e;
}
.ocean-inner .inner-hero.compact { min-height: 236px; padding-top: 51px; padding-bottom: 51px; }
.ocean-inner .inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 30% 76% at 77% -25%, #96edff9e, transparent 80%),
    repeating-conic-gradient(from -7deg at 79% -29%, #7beaff12 0deg 3deg, transparent 5deg 15deg),
    linear-gradient(180deg, #00334e00 52%, #001a2af2 100%);
  pointer-events: none;
}
.ocean-inner .inner-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #62f0ed65, transparent);
  pointer-events: none;
}
.ocean-inner .inner-hero > div { position: relative; z-index: 2; max-width: 780px; }
.ocean-inner .inner-hero .scene-depth { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ocean-inner .inner-hero .scene-life {
  position: absolute;
  z-index: 0;
  top: 13%;
  right: 2%;
  width: clamp(150px, 20vw, 300px);
  aspect-ratio: 2.2;
  background: url('assets/tartaruga-ilustrativa.webp') center / contain no-repeat;
  opacity: .44;
  pointer-events: none;
}
.ocean-inner .inner-hero.scene-training {
  background:
    linear-gradient(90deg, #001826ef 0%, #002c42d5 55%, #00465c66 100%),
    url('images/galeria/33.jpg') 80% 35% / cover no-repeat;
}
.ocean-inner .inner-hero.scene-reef {
  background:
    linear-gradient(90deg, #001826f0 0%, #003447b0 51%, #0047595e 100%),
    url('images/galeria/26.jpg') 70% 46% / cover no-repeat;
}
.ocean-inner .inner-hero.scene-travel {
  background:
    linear-gradient(90deg, #001826ee 0%, #003143b0 55%, #00475d69 100%),
    url('images/galeria/20.jpg') center 45% / cover no-repeat;
}
.ocean-inner .inner-hero.scene-gear {
  background:
    linear-gradient(90deg, #001826f0 0%, #002b42b0 55%, #004e5d55 100%),
    url('images/galeria/39.jpg') right 49% / cover no-repeat;
}
.ocean-inner .inner-hero.scene-contact {
  background:
    linear-gradient(90deg, #001826f2 0%, #003143ba 55%, #00475d71 100%),
    url('images/galeria/47.jpg') 70% center / cover no-repeat;
}
.ocean-inner .inner-hero h1 {
  color: #f5fcff;
  font-size: clamp(43px, 4.65vw, 68px);
  font-weight: 770;
  letter-spacing: -.055em;
  text-shadow: 0 10px 28px #001424b9;
}
.ocean-inner .inner-hero p {
  max-width: 610px;
  font-size: clamp(14px, 1.25vw, 17px);
  color: #d1f0f5;
  text-shadow: 0 4px 16px #001624;
}
.ocean-inner .eyebrow { color: #aaf2f2; }
.ocean-inner .breadcrumbs {
  background: #002b3d;
  border-bottom: 1px solid #51e0e728;
  color: #b7d5e2;
}
.ocean-inner .breadcrumbs a { color: #bcf344; }
.ocean-inner .breadcrumbs a:hover { text-decoration: underline; }
.ocean-inner .interior-content {
  background: radial-gradient(ellipse 100% 700px at 100% 0%, #0081a11e, transparent), #001d2a;
}
.ocean-inner .info-panel,
.ocean-inner .contact-form-panel {
  color: #d0e6ee;
  border-radius: 17px;
  background:
    linear-gradient(133deg, #073b50ed, #00293dce 60%, #002235f7);
  border: 1px solid #48afc65f;
  box-shadow: 0 18px 60px #000d1a36, inset 0 1px #c8f6ff0b;
}
.ocean-inner .info-panel { padding: clamp(22px, 3.2vw, 40px); }
.ocean-inner .rich-text {
  color: #d4e9f0;
  line-height: 1.88;
  font-size: 15px;
}
.ocean-inner .rich-text b,
.ocean-inner .rich-text strong { color: #f2fcff; }
.ocean-inner .rich-text a,
.ocean-inner .direct-mail a { color: #99eff4; }
.ocean-inner .rich-text a:hover { color: #c0fa5a; }
.ocean-inner .rich-text img {
  background: #00273b;
  border-radius: 9px;
  margin-block: 4px;
}
.ocean-inner .rich-text td,
.ocean-inner .rich-text th { border-color: #4ca4af4b; }
.ocean-inner .archive-note {
  background: #4d563029;
  border-left-color: #bafa4e;
  color: #dcecb8;
  border-radius: 0 9px 9px 0;
  font-size: 12px;
}
.ocean-inner .inner-cta {
  color: #effaff;
  background: linear-gradient(100deg, #004d68, #002b41);
  border-top: 1px solid #5fc8db6e;
  border-bottom: 1px solid #5fc8db40;
}
.ocean-inner .inner-cta p { color: #c2e0e6; }
.ocean-inner .gallery-page,
.ocean-inner .photo-page { background: #002133; }
.ocean-inner .gallery-grid { gap: clamp(10px, 1.35vw, 20px); }
.ocean-inner .gallery-tile {
  border: 1px solid #50c4da6b;
  border-radius: 14px;
  background: #00364b;
  box-shadow: 0 12px 28px #000b1866;
  transition: transform .2s ease, border-color .2s ease;
}
.ocean-inner .gallery-tile:hover {
  transform: translateY(-4px);
  border-color: #aeec46;
}
.ocean-inner .gallery-tile img { aspect-ratio: 4 / 3; object-fit: cover; }
.ocean-inner .gallery-tile span { color: #d4f3fa; background: linear-gradient(90deg, #00364b, #00455b); }
.ocean-inner .gallery-tile:hover span { color: #bdf244; }
.ocean-inner .gallery-credits {
  background: #001b29;
  border-top: 1px solid #4fc8da33;
  color: #abd0d9;
}
.ocean-inner .gallery-credits strong { color: #e3f8fc; }
.ocean-inner .photo-page {
  background:
    radial-gradient(ellipse at 50% 10%, #0084ad2d, transparent 60%),
    #001d2d;
}
.ocean-inner .photo-page img {
  border: 1px solid #50c7dc8a;
  border-radius: 15px;
  box-shadow: 0 0 0 8px #00425d2a, 0 24px 76px #000b18b3;
}
.ocean-inner .photo-page figcaption { color: #b4dce6; }
.ocean-inner .photo-nav a {
  border: 1px solid #54becaaa;
  color: #dcf9fb;
  background: #00394e;
  border-radius: 10px;
  padding: 11px 16px;
}
.ocean-inner .photo-nav a:hover { border-color: #bdf55b; color: #c6f25e; }
.ocean-inner .photo-counter { color: #c3e4e9; }
.ocean-inner .contact-layout {
  background: radial-gradient(circle at 80% 0%, #0c809836, transparent 55%), #001e2d;
}
.ocean-inner .contact-info h2 { color: #f3fbff; }
.ocean-inner .contact-list>div { border-color: #59b4c545; }
.ocean-inner .contact-list span { color: #bafa45; }
.ocean-inner .contact-list p { color: #d1f0f5; }
.ocean-inner .contact-list a:hover { color: #bafa45; }
.ocean-inner .contact-form-panel h2 { color: #f1fbff; }
.ocean-inner .form-explainer { color: #b4d6df; }
.ocean-inner #email-form label { color: #e2f7f7; }
.ocean-inner #email-form input,
.ocean-inner #email-form textarea,
.ocean-inner #email-form select {
  border: 1px solid #63adb96b;
  border-radius: 9px;
  background: #001e30;
  color: #effcff;
}
.ocean-inner #email-form input::placeholder,
.ocean-inner #email-form textarea::placeholder { color: #8cb8c3; }
.ocean-inner .form-status { color: #cbf59e; }
.ocean-inner .direct-mail { color: #badbe4; }
.ocean-inner .direct-mail a { color: #aef7f4; }
.ocean-inner .historic-details,
.ocean-inner .original-links { background: #00263a; color: #daeff5; }
.ocean-inner .historic-details summary { color: #bef1d3; }
.ocean-inner .original-links p { color: #b6d2df; }
.ocean-inner .original-link-grid a { color: #a7ebef; border-color: #6ec5d075; }
.ocean-inner .original-link-grid a:hover { color: #cbf55a; border-color: #c0f55a; }

/* A capa dos cursos oferece caminhos claros; texto original continua integral abaixo. */
.course-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.course-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 220px;
  border-radius: 15px;
  border: 1px solid #59d1e47d;
  color: white;
  background: #00344a;
  box-shadow: 0 15px 30px #000b1850;
}
.course-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #001622f5 0%, #00273940 83%);
}
.course-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.course-card:hover img { transform: scale(1.06); }
.course-card > span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: end;
  min-height: 220px;
  padding: 17px;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.2;
}
.course-card small { font-size: 12px; color: #b8f147; }
.course-card b { font-weight: 700; }
.ocean-redirect {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    linear-gradient(120deg, #001825ea, #003e5bb9),
    url('images/galeria/20.jpg') center / cover;
}
.ocean-redirect .redirect-panel {
  max-width: 550px;
  padding: 50px;
  margin: 20px;
  background: #002737e6;
  border: 1px solid #47c8d86b;
  border-radius: 18px;
}
.ocean-redirect img { width: 178px; height: auto; }
.ocean-redirect h1 { font-size: 35px; }

@media (max-width: 1100px) {
  .course-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ocean-theme .mobile-topbar {
    background: #001b2de3;
    border-bottom: 1px solid #4bd3e652;
    backdrop-filter: blur(12px);
  }
  .ocean-theme .mobile-topbar img { width: 116px; }
  .ocean-theme .menu-toggle { border-color: #67d6e576; border-radius: 11px; background: #01415e8c; }
  .ocean-theme .sidebar-scroll { min-height: 0; }
  .ocean-theme .site-sidebar { border-right: 0; }
}
@media (max-width: 600px) {
  .ocean-inner .inner-hero { min-height: 270px; padding: 60px 24px; }
  .ocean-inner .inner-hero.compact { min-height: 215px; padding: 47px 24px; }
  .ocean-inner .inner-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .ocean-inner .inner-hero .scene-life { width: 150px; right: -20px; top: 4%; opacity: .28; }
  .ocean-inner .inner-hero::before { background: linear-gradient(90deg, #001a28bc, #003b5124); }
  .ocean-inner .breadcrumbs { padding: 15px 24px; }
  .ocean-inner .info-panel { padding: 22px; }
  .ocean-inner .rich-text { font-size: 14px; }
  .ocean-inner .gallery-grid { gap: 11px; }
  .ocean-inner .gallery-tile span { font-size: 11px; padding: 9px 10px; }
  .ocean-inner .photo-nav a { padding: 11px 13px; }
  .course-card, .course-card > span { min-height: 190px; }
  .course-card > span { padding: 13px; font-size: 16px; }
}
@media (max-width: 360px) {
  .course-cards { gap: 9px; }
  .course-card > span { font-size: 15px; }
  .ocean-inner .inner-hero { padding-inline: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .ocean-theme .course-card img { transition-duration: 0s; }
  .ocean-theme .gallery-tile { transition-duration: 0s; }
}
