/* ==============================================================
   Star Laser - Global Stylesheet (Astro SSG + Vanilla CSS)
   Ultralight, 100% responsive, high-performance, identical layout
   ============================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  line-height: 1.8;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #555555;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

a {
  color: #9d0a0e;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #231f20;
}

p {
  margin: 0 0 1.2em;
  line-height: 1.8;
  color: #555555;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Russo One', sans-serif;
  font-weight: 400;
  color: #444444;
  margin: 0 0 15px;
  line-height: 1.3;
}

h1 { font-size: 42px; }
h2 { font-size: 36px; }
h3 { font-size: 31px; }
h4 { font-size: 26px; }
h5 { font-size: 21px; color: #9d0a0e; }
h6 { font-size: 17px; color: #9d0a0e; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 9999;
  background: #0b2957;
  color: #fff;
  padding: 8px 16px;
  font-weight: bold;
}
.skip-link:focus {
  left: 10px;
}

/* ==============================================================
   Header & Navigation
   ============================================================== */

#header {
  background: #ffffff;
  position: relative;
  z-index: 100;
}

#branding {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  height: 150px;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

#header-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#logo {
  display: inline-block;
  text-align: center;
}

#logo img {
  display: block;
  max-width: 398px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Desktop Access Navigation */
#access {
  display: block;
  width: 100%;
  background-color: #0b2957;
  border-top: 6px solid #9d0a0e;
}

#access .menu {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

#prime_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#prime_nav > li {
  position: relative;
  margin: 0;
  padding: 0;
}

#prime_nav > li > a {
  display: block;
  padding: 25px 22px;
  font-family: 'Russo One', sans-serif;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
  line-height: 1.2;
}

#prime_nav > li > a span {
  display: inline-block;
}

#prime_nav > li:hover > a {
  background-color: #9d0a0e;
  color: #ffffff;
}

#prime_nav > li.current-menu-item > a,
#prime_nav > li.current-menu-ancestor > a {
  background-color: #183664;
  color: #ffffff;
}

/* Submenu */
#prime_nav ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 310px;
  background-color: #9d0a0e;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  text-align: left;
}

#prime_nav > li:hover > ul.sub-menu {
  display: block;
}

#prime_nav ul.sub-menu li {
  width: 100%;
  margin: 0;
  padding: 0;
}

#prime_nav ul.sub-menu li a {
  display: block;
  padding: 12px 18px;
  font-family: 'Russo One', sans-serif;
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
  transition: background-color 0.2s ease;
}

#prime_nav ul.sub-menu li a:hover {
  background-color: #ab181c;
}

#prime_nav ul.sub-menu li.current-menu-item a {
  background-color: #ab181c;
}

/* Mobile Nav Toggle */
#nav-toggle {
  display: none;
  width: 100%;
  height: 46px;
  background: #0b2957;
  border: 0;
  border-top: 6px solid #9d0a0e;
  color: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==============================================================
   Main Container
   ============================================================== */

#main {
  background-color: #ffffff;
  padding: 0;
  margin-top: 5px;
  position: relative;
}

#container {
  max-width: 1200px;
  width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

#content {
  width: 100%;
}

.entry-title {
  display: none;
}

/* Back to Top Button */
#toTop {
  width: 49.6px;
  height: 55px;
  position: fixed;
  right: 40px;
  bottom: 50px;
  background-color: rgba(0, 0, 0, 0.06);
  box-shadow: rgba(0, 0, 0, 0.28) 0px 0px 1px 0px;
  border-radius: 0px;
  opacity: 0;
  padding: 14px;
  cursor: pointer;
  z-index: 999;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#toTop svg {
  width: 18px;
  height: 18px;
  fill: #555555;
}

#toTop:hover {
  background-color: #231f20;
}

#toTop:hover svg {
  fill: #ffffff;
}

/* ==============================================================
   SiteOrigin Panels Layout & Grid System
   ============================================================== */

.panel-layout {
  margin-bottom: 25px;
}

/* Row 0 & 1 on Home (5 columns) */
#pg-7-0,
#pg-7-1 {
  display: flex;
  width: 1200px;
  justify-content: space-between;
  margin-bottom: 30px;
}

#pg-7-0 .panel-grid-cell,
#pg-7-1 .panel-grid-cell {
  flex: 0 0 230px;
  width: 230px;
  max-width: 230px;
  text-align: center;
  padding: 0;
  margin: 0;
}

#pg-7-0 .panel-grid-cell img,
#pg-7-1 .panel-grid-cell img {
  width: 230px;
  height: 107px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

#pg-7-0 .panel-grid-cell .hvr-bounce-to-right,
#pg-7-1 .panel-grid-cell .hvr-bounce-to-right {
  width: 205px !important;
  box-sizing: border-box !important;
  margin-top: -25px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  min-height: 56px !important;
  height: 56px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Row 2 on Home (About WRR) */
#pg-7-2 {
  display: flex;
  width: 1200px;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 30px;
}

#pg-7-2 #pgc-7-2-0 {
  flex: 0 0 472px;
  width: 472px;
  max-width: 472px;
  padding: 0;
}

#pg-7-2 #pgc-7-2-0 img {
  width: 472px;
  height: auto;
  display: block;
}

#pg-7-2 #pgc-7-2-1 {
  flex: 0 0 715px;
  width: 715px;
  max-width: 715px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

#pg-7-2 #pgc-7-2-1 .panel-widget-style,
#panel-7-2-1-0 > .panel-widget-style {
  border: 1px solid #c7c7c7;
  padding: 22px 28px;
  background-color: #ffffff;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#pg-7-2 #pgc-7-2-1 h1 {
  font-family: 'Russo One', sans-serif;
  font-size: 34px;
  margin: 0 0 8px;
  color: #444444;
  line-height: 1.2;
  text-align: left;
}

#pg-7-2 #pgc-7-2-1 h5 {
  font-family: 'Russo One', sans-serif;
  font-size: 15px;
  color: #9d0a0e;
  margin: 0 0 16px;
  font-weight: 400;
  text-align: left;
}

#pg-7-2 #pgc-7-2-1 p {
  font-family: 'Ubuntu', sans-serif;
  font-size: 13.5px;
  color: #666666;
  line-height: 1.6;
  margin: 0 0 20px;
  text-align: left;
}

#pg-7-2 #pgc-7-2-1 .hvr-bounce-to-right {
  display: inline-block !important;
  width: auto !important;
  padding: 8px 20px !important;
  font-size: 13px !important;
  margin: 0 !important;
  height: auto !important;
  min-height: auto !important;
  text-transform: lowercase;
  align-self: flex-start;
}

/* Alignment utilities */
.aligncenter {
  display: block;
  margin: 0 auto 15px;
  text-align: center;
}

.alignright {
  float: right;
  margin: 0 0 15px 25px;
}

.alignleft {
  float: left;
  margin: 0 25px 15px 0;
}

/* ==============================================================
   Button Animations & Styles
   ============================================================== */

/* Bounce To Right */
.hvr-bounce-to-right {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  padding: 12px 14px;
  background: #9d0a0e;
  margin-top: -25px;
  color: #ffffff !important;
  text-align: center;
  text-decoration: none !important;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: color 0.5s ease;
}

.hvr-bounce-to-right::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #5d5d5d;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.hvr-bounce-to-right:hover::before,
.hvr-bounce-to-right:focus::before,
.hvr-bounce-to-right:active::before {
  transform: scaleX(1);
}

/* SiteOrigin Button Flat */
.ow-button-base {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.ow-button-base a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: #9d0a0e;
  color: #ffffff !important;
  font-family: 'Russo One', sans-serif;
  font-size: 15px;
  text-decoration: none !important;
  border-radius: 3px;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.ow-button-base a:hover {
  background-color: #ab181c;
  transform: translateY(-1px);
}

/* ==============================================================
   Form Styles (Contato)
   ============================================================== */

.wpcf7-form {
  margin: 15px 0;
}

.wpcf7-form p {
  margin-bottom: 18px;
}

.wpcf7-form label {
  display: block;
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  display: block;
  width: 95%;
  max-width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  background-color: #ffffff;
  color: #555555;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #9d0a0e;
  background-color: #fafafa;
}

.wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 12px 32px;
  background-color: #9d0a0e;
  color: #ffffff;
  border: none;
  border-radius: 2px;
  font-family: 'Russo One', sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #ab181c;
}

.wpcf7-response-output {
  margin-top: 15px;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 2px;
  display: none;
}

.wpcf7-response-output.success {
  display: block;
  background-color: #e8f5e9;
  border: 1px solid #4caf50;
  color: #2e7d32;
}

.wpcf7-response-output.error {
  display: block;
  background-color: #ffebee;
  border: 1px solid #f44336;
  color: #c62828;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ==============================================================
   Footer
   ============================================================== */

#footer {
  border-top: 3px solid #eeeeee;
  background-color: #ffffff;
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 0;
  width: 100%;
  clear: both;
}

#colophon {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 0 10px;
}

#footer-widget-area {
  margin: 0;
  overflow: hidden;
}

#footer-widget-area .xoxo {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-partners-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-cell {
  flex: 0 0 144px;
  width: 144px;
  text-align: center;
}

.partner-cell img {
  width: 144px;
  height: 71px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#footer2 {
  background-color: #000000;
  color: #ffffff;
  padding: 15px 0 10px;
  text-align: center;
  width: 100%;
}

#footer2-inside {
  max-width: 1200px;
  margin: 0 auto;
}

.copyright-text {
  display: table;
  margin: 0 auto 12px;
  font-size: 13px;
  color: #ffffff;
}

.copyright-text a {
  color: #ffffff;
  text-decoration: none;
}

.copyright-text a:hover {
  text-decoration: underline;
}

#sfooter-full {
  display: flex;
  justify-content: center;
  align-items: center;
}

.socials {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.socialicons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #9d0a0e;
  color: #ffffff !important;
  border-radius: 2px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.socialicons:hover {
  background-color: #231f20;
  transform: translateY(-2px);
}

/* ==============================================================
   Responsive Breakpoints (Mobile & Tablet)
   ============================================================== */

@media (max-width: 800px) {
  body {
    font-size: 11.9px;
  }

  #branding {
    min-height: 100px;
    height: 100px;
    padding: 10px;
  }

  #logo img {
    max-width: 280px;
  }

  #nav-toggle {
    display: flex;
  }

  #access {
    display: none;
    border-top: none;
  }

  #access.open {
    display: block;
  }

  #prime_nav {
    flex-direction: column;
    width: 100%;
  }

  #prime_nav > li {
    width: 100%;
  }

  #prime_nav > li > a {
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #prime_nav ul.sub-menu {
    position: static;
    display: block;
    background: #071c3c;
    box-shadow: none;
    min-width: 100%;
  }

  #prime_nav ul.sub-menu li a {
    padding: 10px 20px 10px 35px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  #toTop {
    width: 36px;
    height: 41px;
    padding: 7px;
    right: 2px;
    bottom: 2px;
    font-size: 14px;
    line-height: 25.2px;
  }

  #container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  #content {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  #pg-7-0,
  #pg-7-1,
  #pg-7-2,
  .panel-grid {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column;
    margin-bottom: 20px;
  }

  #pg-7-0 .panel-grid-cell,
  #pg-7-1 .panel-grid-cell,
  #pg-7-2 #pgc-7-2-0,
  #pg-7-2 #pgc-7-2-1,
  .panel-grid-cell {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
    margin-bottom: 30px;
    padding: 0;
  }

  #pg-7-0 .panel-grid-cell img,
  #pg-7-1 .panel-grid-cell img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  #pg-7-0 .panel-grid-cell .hvr-bounce-to-right,
  #pg-7-1 .panel-grid-cell .hvr-bounce-to-right {
    width: 89% !important;
    margin-top: -25px;
  }

  #pg-7-2 #pgc-7-2-0 img {
    width: 100%;
    max-width: 570px;
    height: auto;
    margin: 0 auto;
  }

  .footer-partners-grid {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .partner-cell {
    flex: 0 0 auto;
    width: 100%;
    max-width: 380px;
  }

  .alignright,
  .alignleft {
    float: none;
    display: block;
    margin: 15px auto;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea {
    width: 100%;
  }
}
