/* Fonts */
:root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Roboto",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #364d59; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #52565e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #313d64; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.55);  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #313d64; /* azul do club #313d64 */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4f7f6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

:root {
  color-scheme: light;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--heading-color), transparent 50%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo img {
  max-height: 100px;
  margin-right: auto;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo span {
  font-size: 24px;
  padding-left: 1px;
  font-family: var(--heading-font);
  color: var(--color-primary);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(255, 255, 255, 0.95);
  --heading-color: #3c3c3c;
  --nav-color: #3c3c3c;
  --nav-hover-color: #3c3c3c;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 14px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
  color: var(--default-color);
  background: url("../img/3.jpg") center/cover no-repeat;
  position: relative;
  font-size: 15px;
  padding-top: 60px;
  padding-bottom: 20px;
}

/* Overlay escuro apenas para legibilidade (mesmas cores) */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  z-index: 0;
}

.footer .container,
.footer .footer-top,
.footer-bottom {
  position: relative;
  z-index: 2;
}

/* LOGO MAIOR (mantém cor original) */
.footer-logo {
  max-height: 120px;
  width: auto;
  transition: transform .3s ease;
}

.footer-logo:hover {
  transform: scale(1.07);
}

/* SOCIAL ICONS (cores originais preservadas) */
.social-links a,
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  margin-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  transition: all .3s ease;
  backdrop-filter: blur(3px);
}

.social-links a:hover,
.social-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-4px);
}

/* Contactos */
.footer .footer-contact p {
  margin-bottom: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  font-size: 15px;
}

/* Barra separadora */
.footer-separator {
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 25px 0;
  position: relative;
  z-index: 2;
}

/* COPYRIGHT */
.footer .copyright {
  margin-top: 30px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding-top: 20px;
}

.footer .copyright p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  font-size: 14px;
}

/* Links */
.footer-links a {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  text-decoration: none;
  transition: .3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

/* Creditos */
.footer .credits {
  margin-top: 5px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.footer .credits a {
  text-decoration: none;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer-logo {
    max-height: 90px;
  }

  .social-links a {
    width: 38px;
    height: 38px;
  }
}



/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease-out;
}

/* Logo começa escuro e vai ganhando cor */
#preloader-logo {
  width: 140px;
  filter: brightness(0%) saturate(0%); /* totalmente escuro */
  animation: reveal-color 1.6s ease-in-out forwards;
}

@keyframes reveal-color {
  0% {
    filter: brightness(0%) saturate(0%);
    opacity: 0.4;
  }
  100% {
    filter: brightness(100%) saturate(100%);
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 60px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

.section-title p {
  margin-bottom: 0;
}



/*--------------------------------------------------------------
# HERO SECTION
--------------------------------------------------------------*/
.hero-modern {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*----------------------------------------------------------------
# Fundo Cinematográfico com Zoom
----------------------------------------------------------------*/
.hero-background .bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 2s ease, transform 6s ease;
}

/* Ativa quando o slider muda */
.hero-background .bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* PRIMEIRA IMAGEM: fade + zoom suave ao carregar */
.hero-background .bg-slide.first-load {
  opacity: 0;
  transform: scale(1.15);
  animation: firstImageFade 2.8s ease forwards;
}

@keyframes firstImageFade {
  0% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/*----------------------------------------------------------------
# Overlay
----------------------------------------------------------------*/
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.2), rgba(0,0,0,0.85));
  animation: overlayMove 8s infinite alternate ease-in-out;
  z-index: 1;
}

@keyframes overlayMove {
  0% { opacity: 0.75; }
  100% { opacity: 0.9; }
}

/*----------------------------------------------------------------
# Conteúdo
----------------------------------------------------------------*/
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 20px;
  max-width: 900px;
}

/*----------------------------------------------------------------
# TÍTULO — SPORT / RUGBY
----------------------------------------------------------------*/
.hero-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px; /* mais espaço entre SPORT e RUGBY */

  font-size: clamp(3rem, 12vw, 9rem);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 4px;
  max-width: 95vw;
  text-wrap: balance;
  color: #fff;
  text-align: center;
  white-space: normal;
}

/* SPORT – Azul elétrico */
.hero-title .sport {
  color: #ffffff;
  text-shadow:
    0 0 25px rgba(80,100,170,1),
    0 0 45px rgba(120,140,200,1),
    0 0 75px rgba(160,180,255,1);
  animation: neonWave 4s linear infinite;
}

/* RUGBY – Neon do clube */
.hero-title .rugby {
  color: #ffffff;
  text-shadow:
    0 0 25px rgba(80,100,170,1),
    0 0 45px rgba(120,140,200,1),
    0 0 75px rgba(160,180,255,1);
  animation: neonWave 4s linear infinite;
}

/*----------------------------------------------------------------
# Efeitos de iluminação do texto
----------------------------------------------------------------*/
@keyframes neonPulse {
  0% { filter: brightness(0.9); }
  50% { filter: brightness(1.25); }
  100% { filter: brightness(0.9); }
}

@keyframes neonWave {
  0% {
    text-shadow:
      0 0 25px rgba(80,100,170,1),
      0 0 45px rgba(120,140,200,1);
  }
  50% {
    text-shadow:
      0 0 35px rgba(120,140,200,1),
      0 0 70px rgba(160,180,255,1);
  }
  100% {
    text-shadow:
      0 0 25px rgba(80,100,170,1),
      0 0 45px rgba(120,140,200,1);
  }
}

/*----------------------------------------------------------------
# Subtítulo
----------------------------------------------------------------*/
.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.7rem);
  color: #e2e8f0;
  margin: 25px 0;
  opacity: 0.9;
  text-wrap: balance;
}

/*----------------------------------------------------------------
# Botões
----------------------------------------------------------------*/
.hero-buttons {
  margin-top: 20px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 45px;
  margin: 10px;
  border-radius: 50px;
  font-size: clamp(0.9rem, 1.6vw, 1.2rem);
  letter-spacing: 1px;
  transition: 0.3s;
}

.hero-btn.primary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  box-shadow: 0 0 12px rgba(49,61,100,0.6);
  backdrop-filter: blur(3px);
}

.hero-btn.primary:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 22px rgba(49,61,100,1);
  transform: translateY(-3px);
}

/*----------------------------------------------------------------
# RESPONSIVO — ALTURA / TABLETS / MOBILE
----------------------------------------------------------------*/

/* Altura pequena */
@media (max-height: 700px) {
  .hero-title {
    font-size: clamp(2.5rem, 10vh, 6rem);
  }
}

/* Tablets médios e portáteis pequenos */
@media (max-width: 1400px) and (max-height: 900px) {
  .hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
  }
}

/* Telemóveis — SPORT em cima, RUGBY em baixo */
@media (max-width: 600px) {
  .hero-title {
    flex-direction: column;
    gap: 10px;
    font-size: clamp(3.5rem, 15vw, 6rem);
  }
}



/*--------------------------------------------------------------
# Get Started Section
--------------------------------------------------------------*/
.get-started .content {
  padding: 30px 0;
}

.get-started .content h3 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
}

.get-started .content h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.get-started .content p {
  font-size: 14px;
}

.get-started .php-email-form {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .get-started .php-email-form {
    padding: 20px;
  }
}

.get-started .php-email-form h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.get-started .php-email-form p {
  font-size: 14px;
  margin-bottom: 20px;
}

.get-started .php-email-form input[type=text],
.get-started .php-email-form input[type=email],
.get-started .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 20%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.get-started .php-email-form input[type=text]:focus,
.get-started .php-email-form input[type=email]:focus,
.get-started .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.get-started .php-email-form input[type=text]::placeholder,
.get-started .php-email-form input[type=email]::placeholder,
.get-started .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.get-started .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.get-started .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Constructions Section
--------------------------------------------------------------*/
.constructions .card-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  position: relative;
  border-radius: 0;
}

.constructions .card-item .card-bg {
  min-height: 300px;
  position: relative;
}

.constructions .card-item .card-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.constructions .card-item .card-body {
  padding: 30px;
}

.constructions .card-item h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}

.constructions .card-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.services .service-item .icon {
  width: 48px;
  height: 48px;
  position: relative;
  margin-bottom: 50px;
}

.services .service-item .icon i {
  color: var(--heading-color);
  font-size: 56px;
  transition: ease-in-out 0.3s;
  z-index: 2;
  position: relative;
}

.services .service-item .icon:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--heading-color), transparent 95%);
  border-radius: 50px;
  z-index: 1;
  top: 10px;
  right: -20px;
  transition: 0.3s;
}

.services .service-item h3 {
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid color-mix(in srgb, var(--heading-color), transparent 90%);
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.services .service-item:hover .icon i {
  color: var(--heading-color);
}

.services .service-item:hover .icon:before {
  background: var(--accent-color);
}

.services .service-item:hover h3 {
  border-color: var(--accent-color);
  color: var(--heading-color);
}

.services .service-item:hover .readmore {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Alt Services Section
--------------------------------------------------------------*/
.alt-services .features-image {
  position: relative;
  min-height: 400px;
}

.alt-services .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.alt-services h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.alt-services h3:after {
  content: "";
  background: var(--accent-color);
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  left: 0;
  bottom: 0;
}

.alt-services .icon-box {
  margin-top: 50px;
}

.alt-services .icon-box i {
  color: var(--accent-color);
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  font-size: 28px;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  line-height: 0;
  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.alt-services .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.alt-services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.alt-services .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.alt-services .icon-box h4 a:hover {
  color: var(--accent-color);
}

.alt-services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  color: var(--heading-color);
  padding: 15px 0;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 4px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 575px) {
  .features .nav-link h4 {
    font-size: 16px;
  }
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.features .nav-link.active {
  background-color: var(--background-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.features .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-top: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/
.projects .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.projects .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.projects .portfolio-filters li:hover,
.projects .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.projects .portfolio-filters li:first-child {
  margin-left: 0;
}

.projects .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .projects .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.projects .portfolio-content {
  position: relative;
  overflow: hidden;
}

.projects .portfolio-content img {
  transition: 0.3s;
}

.projects .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.projects .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.projects .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.projects .portfolio-content .portfolio-info .preview-link,
.projects .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.projects .portfolio-content .portfolio-info .preview-link:hover,
.projects .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.projects .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.projects .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.projects .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  position: relative;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid var(--background-color);
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/

.post-horizontal {
  background: var(--surface-color);
  border-radius: 18px;
  box-shadow: 0 6px 26px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all .3s ease;
}

.post-horizontal:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 34px rgba(0,0,0,0.12);
}

/* Imagem */
.post-h-img-wrapper {
  width: 100%;
  max-width: 380px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.post-h-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.post-horizontal:hover .post-h-img {
  transform: scale(1.12);
}

/* Data */
.post-h-date {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--accent-color);
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

/* Conteúdo */
.post-h-content {
  flex: 1;
}

.post-h-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  transition: color .3s ease;
}

.post-horizontal:hover .post-h-title {
  color: var(--accent-color);
}

.post-h-content p {
  font-size: 1rem;
  color: var(--bs-gray-700);
  margin-bottom: 12px;
}

.post-h-content hr {
  margin-top: auto;
  opacity: 0.25;
}

/* Responsivo */
@media (max-width: 992px) {
  .post-h-img-wrapper {
    max-width: 100%;
    min-height: 220px;
  }

  .post-h-title {
    font-size: 1.3rem;
  }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .inner-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 30px 0;
}

@media (min-width: 991px) {
  .about .inner-title {
    max-width: 65%;
    margin: 0 0 80px 0;
  }
}

.about .our-story {
  padding: 40px;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
}

@media (min-width: 991px) {
  .about .our-story {
    padding-right: 35%;
  }
}

.about .our-story h4 {
  text-transform: uppercase;
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.about .our-story h3 {
  font-size: 2.25rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .our-story p:last-child {
  margin-bottom: 0;
}

.about ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.about ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 1.25rem;
  margin-right: 0.5rem;
  line-height: 1.2;
  color: var(--accent-color);
}

.about .watch-video i {
  font-size: 2rem;
  transition: 0.3s;
  color: var(--accent-color);
}

.about .watch-video a {
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-left: 8px;
  transition: 0.3s;
}

.about .watch-video:hover a {
  color: var(--accent-color);
}

.about .about-img {
  min-height: 400px;
  position: relative;
}

@media (min-width: 992px) {
  .about .about-img {
    position: absolute;
    top: 0;
    right: 0;
    min-height: 600px;
  }
}

.about .about-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content {
  padding-right: 40px;
}

@media (max-width: 992px) {
  .about .content {
    padding-right: 0;
    margin-bottom: 60px;
  }
}

.about .content h2 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 30px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .about .content h2 {
    font-size: 2rem;
  }
}

.about .content .lead {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.about .content .description {
  margin-bottom: 60px;
}

.about .content .description p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .content .description p:last-child {
  margin-bottom: 0;
}

.about .content .stats-row {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .about .content .stats-row {
    gap: 40px;
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .about .content .stats-row {
    justify-content: space-between;
    gap: 20px;
  }
}

.about .content .stats-row .stat-item {
  text-align: left;
}

.about .content .stats-row .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .about .content .stats-row .stat-item .stat-number {
    font-size: 2rem;
  }
}

.about .content .stats-row .stat-item .stat-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about .content .cta-section {
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .about .content .cta-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.about .content .cta-section .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.about .content .cta-section .btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
}

.about .content .cta-section .btn-link {
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.about .content .cta-section .btn-link:hover {
  color: var(--accent-color);
}

.about .content .cta-section .btn-link:hover i {
  transform: translateX(4px);
}

.about .content .cta-section .btn-link i {
  transition: transform 0.3s ease;
}

.about .image-container {
  position: relative;
  height: 100%;
  min-height: 500px;
}

@media (max-width: 992px) {
  .about .image-container {
    min-height: 400px;
  }
}

.about .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.about .image-container .image-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 85%);
  min-width: 200px;
}

@media (max-width: 576px) {
  .about .image-container .image-overlay {
    bottom: 20px;
    left: 20px;
    padding: 20px;
  }
}

.about .image-container .image-overlay .overlay-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.about .image-container .image-overlay .overlay-content i {
  font-size: 2rem;
  color: var(--accent-color);
}

.about .image-container .image-overlay .overlay-content .overlay-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--heading-color);
  font-weight: 500;
}

.about .image-container .image-overlay .overlay-content .overlay-text p {
  margin: 0;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}



/*--------------------------------------------------------------
# Stats Counter Section
--------------------------------------------------------------*/
.stats-counter .stats-item {
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats-counter .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats-counter .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats-counter .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Alt Services 2 Section
--------------------------------------------------------------*/
.alt-services-2 .features-image {
  position: relative;
  min-height: 400px;
}

.alt-services-2 .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.alt-services-2 h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.alt-services-2 .icon-box {
  margin-top: 30px;
}

.alt-services-2 .icon-box i {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 1.2;
}

.alt-services-2 .icon-box h4 {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

.alt-services-2 .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .team .member .member-img {
    margin: 0 60px;
  }
}

.team .member .member-img img {
  position: relative;
  z-index: 1;
}

.team .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.team .member .member-img .social a {
  transition: 0.3s;
  color: var(--contrast-color);
  font-size: 20px;
  margin: 0 8px;
}

.team .member .member-img .social a:hover {
  color: var(--accent-color);
}

.team .member .member-info {
  margin-top: 30px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
}

.team .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.team .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.team .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Features Cards Section
--------------------------------------------------------------*/
.features-cards h3 {
  font-size: 20px;
  font-weight: 700;
}

.features-cards p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.features-cards ul li {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding-top: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.features-cards ul li i {
  font-size: 16px;
  color: var(--accent-color);
  margin-right: 6px;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Project Details Section
--------------------------------------------------------------*/
.project-details .portfolio-details-slider img {
  width: 100%;
}

.project-details .swiper-wrapper {
  height: auto;
}

.project-details .swiper-button-prev,
.project-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.project-details .swiper-button-prev:after,
.project-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.project-details .swiper-button-prev:hover:after,
.project-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .project-details .swiper-button-prev,
  .project-details .swiper-button-next {
    display: none;
  }
}

.project-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.project-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.project-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.project-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.project-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.project-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.project-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.project-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.project-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.project-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.project-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.project-details .portfolio-description p {
  padding: 0;
}

.project-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.project-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.project-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.project-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.project-details .portfolio-description .testimonial-item .quote-icon-left,
.project-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.project-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.project-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.project-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.blog-posts .post-img img {
  transition: 0.5s;
}

.blog-posts .post-date {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  right: 0;
  bottom: 0;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.blog-posts .post-content {
  padding: 30px;
}

.blog-posts .post-title {
  font-size: 20px;
  color: var(--heading-color);
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.blog-posts .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.blog-posts .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts p {
  margin-top: 20px;
}

.blog-posts hr {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-bottom: 15px;
}

.blog-posts .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

.blog-posts .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.blog-posts article:hover .post-title,
.blog-posts article:hover .readmore {
  color: var(--accent-color);
}

.blog-posts article:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
  padding: 10px 0 40px 0;
}

.blog-author .author-container {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog-author .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
}

.blog-author p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  padding: 20px 0 30px 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.contact .info-item {
  min-height: 190px; /* ajusta este valor se quiseres */
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra conteúdo verticalmente */
  align-items: center;
  text-align: center;
}


.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
  margin-bottom: -10px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}


/*----------------------------- 
# Portfolio Section
------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 40px auto 30px auto; /* 40px de espaço em cima, 30px em baixo */
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: rgba(var(--background-color-rgb), 0.9);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: rgba(var(--default-color-rgb), 0.7);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: rgba(var(--default-color-rgb), 0.7);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--primary-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}


/*-----------------------------
# Carousel Patrocínios / O Clube
------------------------------*/

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Contém o carrossel */
.logos {
  overflow-x: hidden;       /* esconde só lateralmente */
  overflow-y: visible;      /* deixa o zoom visível */
  background: white;
  white-space: nowrap;
  display: flex;
  justify-content: center;  /* centra horizontalmente */
  align-items: center;      /* centra verticalmente */
  position: relative;
  min-height: 150px;        /* altura da faixa */
  z-index: 2;
}

/* Linha de logos (duplicada para scroll infinito) */
.logos-slide {
  display: flex;
  align-items: center;      /* centraliza cada logo na linha */
  justify-content: center;
  animation: slide 25s linear infinite; /* velocidade constante */
  flex-shrink: 0;           /* impede que os logos encolham */
  height: 100%;
}

/* Estilo dos logos */
.logos-slide img {
  height: 80px;             /* altura base de todos os logos */
  width: auto;              /* mantém proporção */
  object-fit: contain;      /* evita distorção */
  margin: 0 40px;           /* espaço lateral */
  opacity: 0.7;             /* ligeira transparência */
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Efeito hover */
.logos-slide img:hover {
  opacity: 1;
  transform: scale(1.05);
  z-index: 3;
}

/* Pausa o scroll quando o rato passa por cima */
.logos:hover .logos-slide {
  animation-play-state: paused;
}

/* Responsividade */
@media (max-width: 992px) {
  .logos {
    min-height: 120px;
  }

  .logos-slide img {
    height: 70px;
    margin: 0 30px;
  }
}

@media (max-width: 768px) {
  .logos {
    min-height: 100px;
  }

  .logos-slide img {
    height: 55px;
    margin: 0 20px;
  }
}

@media (max-width: 576px) {
  .logos {
    min-height: 90px;
  }

  .logos-slide img {
    height: 45px;
    margin: 0 15px;
  }
}


/* =====================================================
   JOGOS (INDEX) → weekend
===================================================== */
.weekend-games {
  padding: 3rem 0;
  background: #fff;
}

.weekend-game-line {
  display: grid;
  grid-template-columns: 1fr 1fr 60px 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
  gap: 1rem;
}
.weekend-game-line:last-child { border-bottom: none; }

/* Data */
.weekend-game-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #1e3a8a;
  font-weight: 600;
}
.weekend-game-date .day { font-size: 1.6rem; }
.weekend-game-date .weekday { font-size: 0.8rem; color: #475569; }
.weekend-game-date .month { font-size: 0.75rem; text-transform: uppercase; color: #64748b; }
.weekend-game-date .time { font-size: 0.8rem; margin-top: 4px; color: #334155; }

/* Equipas */
.weekend-game-center { display: contents; }
.weekend-team-col, .weekend-vs-col {
  display: flex; justify-content: center; align-items: center;
}
.weekend-team {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.weekend-team-logos { display: flex; gap: 6px; margin-bottom: 0.25rem; }
.weekend-team-name { font-size: 0.9rem; font-weight: 600; color: #1e293b; }

.weekend-team-logo { width: 70px; height: auto; object-fit: contain; }
/* Ajustes especiais */
.weekend-team-logo[alt="BAIRRADA"] { width: 110px; }
.weekend-team-logo[alt="BENFICA"] { width: 85px; }
.weekend-team-logo[alt="TROFA/FAMALICAO"] { width: 100px; }
.weekend-team-logo[alt="GRUFC"] { width: 90px; }
.weekend-team-logo[alt="SAOMIGUEL"] { width: 90px; }
.weekend-team-logo[alt="LOUSA/TOMAR"] { width: 100px; }
.weekend-team-logo[alt="AACRugby"] { width: 100px; }
.weekend-team-logo[alt="ERP"] { width: 110px; }

.weekend-vs {
  width: 30px; height: 30px; border-radius: 50%;
  background: #1e3a8a; color: #fff;
  font-weight: 500; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}

/* Detalhes */
.weekend-game-details {
  display: flex; flex-direction: column; align-items: flex-end;
  font-size: 0.85rem; color: #475569;
}
.weekend-game-details .competition { font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.weekend-game-details .location { margin-bottom: 4px; }
.weekend-game-details .escalao { font-size: 0.9rem; font-weight: 600; color: #1e40af; }

/* Responsivo */
@media (max-width: 768px) {
  .weekend-game-line {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  .weekend-game-date {
    flex-direction: row; justify-content: center; gap: 0.5rem;
    flex-wrap: wrap; text-align: center;
  }
  .weekend-game-center {
    display: grid; grid-template-columns: 1fr 40px 1fr;
    justify-items: center; align-items: center; gap: 0.5rem;
  }
  .weekend-vs { width: 32px; height: 32px; font-size: 0.8rem; }
  .weekend-game-details { align-items: center; text-align: center; }
}

/* =====================================================
   CALENDÁRIO
===================================================== */

/* Hero */
.calendar-hero {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  border-radius: 0 0 2rem 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.calendar-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.calendar-hero p { font-size: 1.1rem; opacity: 0.9; }

/* Filtros */
.calendar-filters {
  background: transparent;   /* fundo limpo */
  padding: 1rem 0;           /* opcional: menos espaço vertical */
  margin-top: 0;             /* remove o "afundar" */
  border-bottom: none;       /* sem linha horizontal */
}
.filter-controls {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center;
}
.filter-group {
  display: flex; flex-direction: column; font-size: 0.9rem; color: #334155;
  flex: 1 1 200px; max-width: 250px;
}
.filter-group label { margin-bottom: 0.4rem; font-weight: 600; }
.filter-group select {
  width: 100%; padding: 0.6rem 1rem;
  border: 1px solid #cbd5e1; border-radius: 0.5rem; background: #fff;
  font-size: 0.9rem; color: #1e293b; transition: all 0.2s;
}
.filter-group select:hover, .filter-group select:focus {
  border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.2); outline: none;
}
@media (max-width: 768px) {
  .filter-controls {
    display: grid;
    grid-template-columns: 1fr 1fr; /* duas colunas no mobile */
    gap: 0.8rem; /* reduz espaçamento mas deixa respirar */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .filter-group {
    flex: unset;
    max-width: 100%;
  }

  .filter-group label {
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e3a8a;
  }

  .filter-group select {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 0.4rem;
  }
}

/* Para ecrãs muito pequenos (<=480px), volta a 1 coluna */
@media (max-width: 480px) {
  .filter-controls {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* Grid */
.calendar-section { padding: 3rem 0; }
.calendar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 1200px) { .calendar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .calendar-grid { grid-template-columns: 1fr; } }

/* Game Card */
.calendar-game-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem;
  padding: 1.5rem; box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s; text-align: center;
}
.calendar-game-card:hover {
  transform: translateY(-4px); box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.calendar-game-date {
  font-size: 0.95rem; font-weight: 600; color: #1e40af;
  display: flex; justify-content: center; align-items: center; text-align: center; width: 100%;
}

/* Equipas */
.calendar-game-teams {
  display: flex; justify-content: center; align-items: center; gap: 0.8rem;
}
.calendar-team {
  display: flex; flex-direction: column; align-items: center;
  font-weight: 600; font-size: 0.9rem; color: #0f172a;
}
.calendar-team-logos { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.calendar-team-logo { width: 50px; max-height: 50px; object-fit: contain; }
@media (max-width: 768px) {
  .calendar-team-logo { width: 50px; }
  .calendar-team-logo:only-child { width: 70px; }
}

.calendar-vs {
  width: 36px; height: 36px; border-radius: 50%;
  background: #1e3a8a; color: #fff;
  display: flex; justify-content: center; align-items: center;
  font-size: 0.8rem; font-weight: 700;
}

/* Detalhes */
.calendar-game-details { font-size: 0.85rem; color: #475569; text-align: center; }
.calendar-game-details span { display: block; margin-bottom: 0.3rem; }


@media (max-width: 768px) {
  .filter-controls {
    display: grid;
    grid-template-columns: 1fr 1fr; /* duas colunas no mobile */
    gap: 0.8rem; /* reduz espaçamento mas deixa respirar */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .filter-group {
    flex: unset;
    max-width: 100%;
  }

  .filter-group label {
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e3a8a;
  }

  .filter-group select {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 0.4rem;
  }
}

/* Para ecrãs muito pequenos (<=480px), volta a 1 coluna */
@media (max-width: 480px) {
  .filter-controls {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* Tamanho normal de todos os logos */
.calendar-team-logo {
    width: 50px;
    max-height: 50px;
    object-fit: contain;
}

/* Quando há APENAS um logo → aumentar */
.calendar-team-logo:only-child {
    width: 85px !important;
    max-height: 85px !important;
}

/* Weekend view igual */
.weekend-team-logo {
    width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.weekend-team-logo:only-child {
    width: 85px !important;
    max-height: 85px !important;
}


/* =====================================================
   JOGOS PASSADOS — Cinza
===================================================== */

.past-game {
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* No hover mantém cinza (não fica colorido outra vez) */
.past-game:hover {
  opacity: 0.55;
  filter: grayscale(100%);
  transform: none !important;       /* evita elevação */
  box-shadow: none !important;      /* remove o brilho no hover */
  cursor: default;                  /* não parece clicável */
}


/* ===========================
   PATROCÍNIOS & PARCERIAS
=========================== */

.logo-card {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0.5rem;
  text-decoration: none;
}

.logo-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity .25s ease, transform .25s ease;
}

/* Main Sponsors maiores */
.logo-img.main-sponsor {
  max-height: 160px;
}

/* Hover */
.logo-img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 768px) {
  .logo-img {
    max-height: 80px;
  }
  .logo-img.main-sponsor {
    max-height: 120px;
  }
}

/* Quando a tela for menor que 576px → 1 logo por linha */
@media (max-width: 576px) {
  .sponsor-tier ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* espaço entre logos */
  }

  .sponsor-tier ul > li {
    width: 100% !important;
    max-width: 100% !important;
  }

  .logo-card {
    justify-content: center;
  }

  .logo-img {
    max-height: 90px; /* podes ajustar */
  }

  .logo-img.main-sponsor {
    max-height: 130px; /* main sponsor maior */
  }
}



/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 0;
}

.call-to-action .container {
  padding: 80px;
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  border-radius: 15px;
}

@media (max-width: 992px) {
  .call-to-action .container {
    padding: 60px;
  }
}

.call-to-action .content h3 {
  font-size: 48px;
  font-weight: 700;
}

.call-to-action .content h3 em {
  font-style: normal;
  position: relative;
  z-index: 1;
}

.call-to-action .content h3 em:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 30%);
  z-index: -1;
}

.call-to-action .content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-weight: 400;
  font-size: 18px;
}

.call-to-action .content .cta-btn {
  color: var(--contrast-color);
  font-weight: 500;
  font-size: 16px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin-top: 10px;
  background: var(--accent-color);
}

.call-to-action .content .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 60%, black 15%);
}

.call-to-action .img {
  position: relative;
}

.call-to-action .img:before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--contrast-color), transparent 20%);
  border-radius: 15px;
  transform: rotate(6deg);
  z-index: 2;
}

.call-to-action .img:after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border-radius: 15px;
  transform: rotate(12deg);
  z-index: 1;
}

.call-to-action .img img {
  position: relative;
  z-index: 3;
  border-radius: 15px;
  z-index: 3;
}




/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery .gallery-item img {
  transition: 0.3s;
}

.gallery .gallery-links {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  line-height: 1.2;
  margin: 30px 8px 0 8px;
}

.gallery .gallery-links .preview-link:hover,
.gallery .gallery-links .details-link:hover {
  color: #ffffff;
}

.gallery .gallery-links .details-link {
  font-size: 30px;
  line-height: 0;
}

.gallery .gallery-item:hover .gallery-links {
  opacity: 1;
}

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
  margin-top: 0;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

.glightbox-clean .gslide-description {
  background: #272727;
}

.glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}


/* ===========================
   Loja - Mirandus
=========================== */


 .produtos-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      margin-top: 2rem;
    }
    @media (max-width: 1200px) {
      .produtos-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
      .produtos-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 480px) {
      .produtos-grid { grid-template-columns: 1fr; }
    }

    .produto-card {
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      background: #fff;
      padding: 1rem;
      text-align: center;
      transition: all 0.2s;
    }
    .produto-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    }

    .produto-card img {
      max-width: 180px;
      height: auto;
      margin-bottom: 1rem;
    }

    .produto-card h3 {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: #1e293b;
    }

    .btn-comprar {
      display: inline-block;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      background: #1e3a8a;
      color: #fff;
      font-weight: 600;
      transition: background 0.3s;
      text-decoration: none;
    }
    .btn-comprar:hover {
      background: #3b82f6;
    }
 
/* ===========================
# Tabelas resultados
=========================== */  
.classificacao-section .section-header {
  margin-bottom: 2rem;
}

.classificacao-section .section-header h2 {
  font-weight: 700;
  margin-bottom: .25rem;
}

.classificacao-section .section-header p {
  color: #666;
  font-size: 0.9rem;
}

.classificacao-section .classificacao-bloco {
  margin-bottom: 3rem; /* espaço entre blocos */
}

.classificacao-section h3 {
  margin: 1.5rem 0 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* ===== Tabelas ===== */
/* Wrapper para sombra e borda arredondada */
.classificacao-wrapper {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Tabela base */
.classificacao-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
}

/* Cabeçalho */
.classificacao-table thead th {
  position: sticky;
  top: 0;
  background: #212529;
  color: #fff;
  z-index: 5;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.6rem 0.5rem;
  white-space: nowrap;
  border: none;
  letter-spacing: 0.5px;
}

/* Células */
.classificacao-table th,
.classificacao-table td {
  border: none;
  text-align: center;
  vertical-align: middle;
  padding: 0.55rem 0.6rem;
  font-size: 0.85rem;
  white-space: nowrap;
  background: #fff;
  transition: background 0.2s ease;
}

/* Hover */
.classificacao-table tbody tr:hover td {
  background: #f1f3f5;
}

/* Coluna # fixa sempre */
.classificacao-table th:first-child,
.classificacao-table td:first-child {
  position: sticky;
  left: 0;
  min-width: 35px;
  text-align: center;
  z-index: 4;
  background: #fff;
  font-weight: 600;
  color: #495057;
}

/* Coluna Clube (default = sticky, mas vamos sobrescrever em telas pequenas) */
.classificacao-table th:nth-child(2),
.classificacao-table td:nth-child(2) {
  position: sticky;
  left: 35px; /* largura da coluna # */
  min-width: 140px;
  text-align: left;
  z-index: 10;
  background: #fff;
}

/* Cabeçalho das colunas fixas */
.classificacao-table thead th:first-child,
.classificacao-table thead th:nth-child(2) {
  background: #212529;
  color: #fff;
  z-index: 11;
}

/* Célula do clube */
.clube-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #212529;
}

.clube-cell img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
}

/* Aumenta logos só em telas grandes */
@media (min-width: 1200px) {
  .clube-cell img {
    width: 28px;
    height: 28px;
  }
}


/* Ajustes para telas pequenas */
@media (max-width: 768px) {
  .clube-cell { font-size: 0.75rem; }

  /* Coluna Clube deixa de ser sticky */
  .classificacao-table th:nth-child(2),
  .classificacao-table td:nth-child(2) {
    position: static;
    min-width: auto;
    z-index: auto;
  }
}

@media (max-width: 576px) {
  .clube-cell { font-size: 0.65rem; }
}

/* ------------------------------
   Academia
------------------------------- */

#academia {
  scroll-margin-top: 80px;
}

/* ------------------------------
   Header
------------------------------- */
#academia .section-header h2 {
  font-weight: 700;
  font-size: 2rem;
}

#academia .section-header p {
  max-width: 650px;
  color: var(--bs-gray-700);
}

/* ------------------------------
   CTA Box (Inscrição)
------------------------------- */
/* Container CTA */
.cta-hero {
  min-height: 800px;
  position: relative;
}

/* Imagem ocupa todo o fundo */
.cta-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay escuro para legibilidade */
.cta-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* Conteúdo */
.cta-hero-content {
  position: absolute;
  bottom: 40px;              /* Fica em baixo */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
}

/* Títulos e texto brancos suaves */
.cta-hero-content h4 {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
}

.cta-hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
}

.cta-hero-content .btn {
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
}

/* Zoom suave na imagem da CTA */
.cta-hero {
  overflow: hidden; /* garante que a imagem não sai da caixa */
}

.cta-hero-img {
  transition: transform 0.8s ease; /* suavidade da animação */
}

.cta-hero:hover .cta-hero-img {
  transform: scale(1.08); /* zoom leve e elegante */
}

/* ------------------------------
   Pricing Cards
------------------------------- */
#academia .pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  border-radius: 18px;
  padding: 2rem 1.75rem;
  border: 2px solid var(--accent-color, #0d6efd);
  background: #ffffff;
  box-shadow: 0 6px 26px rgba(0,0,0,0.10);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

#academia .pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.18);
}

/* Wrapper interno flex */
#academia .card-body-flex {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#academia .pricing-card h5 {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

#academia .pricing-card p,
#academia .pricing-card li {
  font-size: 0.95rem;
  color: var(--bs-gray-800);
}

#academia .pricing-card ul {
  padding-left: 1.2rem;
}

/* Preços */
#academia .pricing-price {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
}

#academia .pricing-price span {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Selo decorativo */
#academia .pricing-card::before {
  content: attr(data-label);
  position: absolute;
  top: 12px;
  right: -40px;
  background: var(--accent-color, #0d6efd);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 40px;
  transform: rotate(35deg);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ------------------------------
   Texto / Subtítulos
------------------------------- */
#academia h3 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

#academia .contact-channels p {
  font-size: 0.95rem;
}

/* ------------------------------
   Dark Mode Automático
------------------------------- */
@media (prefers-color-scheme: dark) {
  #academia {
    color: #eaeaea;
  }

  #academia .cta-box,
  #academia .pricing-card {
    background: #1f1f1f;
    border-color: var(--accent-color, #0d6efd);
    box-shadow: 0 6px 30px rgba(255,255,255,0.08);
  }

  #academia .cta-box p {
    color: #d0d0d0;
  }

  #academia .pricing-card p,
  #academia .pricing-card li {
    color: #e6e6e6;
  }

  #academia .pricing-card::before {
    background: var(--accent-color, #0d6efd);
  }
}



/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #83dc35;
  font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
  .terms-of-service .tos-contact {
    display: none;
  }

  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}


