/* ===== VARIÁVEIS & IMPORTS ===== */
:root {
    /* Core Colors */
    --bs-black-rgb: 13, 19, 25;
    --bs-light-rgb: 238, 234, 231;
   /* --color-main: #e9e2d8; */
    --color-main: #dcd4c8;
    /*--color-light: #1C1B1A;*/
    --color-text: #3A3937;
    
    /* Typography */
    --font-main: "Roboto", sans-serif;
    --font-heading: "Seasons";
    --font-accent: "Poppins";
    
    /* Sizes */
    --base-font-size: 16px;
    --heading-1-size: 4em;
    --heading-2-size: 24px;
    --subtitle-size: 24px;
    --body-text-size: 18px;
    
    /* Spacing */
    --section-padding: 5rem;
    --button-padding: 4px 40px;
    --button-width: 250px;
    --grid-gap: 10px;
    
    /* Effects */
    --transition-speed: 0.3s;
    --hover-shadow: 0 0 1px;
    
    /* Form Controls */
    --checkbox-size: 32px;
    --form-outline: 2px solid rgba(var(--bs-black-rgb), 0.25);
    
    /* Opacities */
    --dark-opacity: 0.85;
    --light-opacity: 0.05;
    --header-opacity: 0.4;
  }
  
  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Orbitron:wght@400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&display=swap');
  @import url('fonts/Seasons/Seasons.ttf');
  
  /* ===== ELEMENTOS GERAIS ===== */
  body {
    background-color: var(--color-light);
    font-family: var(--font-main);
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    color: var(--color-text);
    font-size: var(--base-font-size);
  }
  
  *:hover {
    transition: var(--transition-speed);
  }
  .text-dark
  {
    color: var(--color-text) !important;
  }
 
  a {
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
    font-weight: 300;
    text-shadow: var(--hover-shadow) var(--color-main);
  }
  
  /* ===== TIPOGRAFIA ===== */
  h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--color-text);
  }
  
  h1 {
    font-size: var(--heading-1-size);
  }
  
  h1 span {
    font-family: var(--font-accent);
    font-weight: 300;
    font-size: calc(var(--base-font-size) + 2px);
  }
  
  h2 span {
    text-transform: uppercase;
    font-size: var(--heading-2-size);
  }
  
  .subTitle {
    font-size: var(--subtitle-size);
    font-family: var(--font-main);
    font-weight: 500;
  }
  
  .servicosDescription {
    font-size: var(--body-text-size);
    line-height: 2;
  }
  
  /* Roboto Font Helpers */
  .roboto-thin { font-family: var(--font-main); font-weight: 100; font-style: normal; }
  .roboto-light { font-family: var(--font-main); font-weight: 300; font-style: normal; }
  .roboto-regular { font-family: var(--font-main); font-weight: 400; font-style: normal; }
  .roboto-medium { font-family: var(--font-main); font-weight: 500; font-style: normal; }
  .roboto-bold { font-family: var(--font-main); font-weight: 700; font-style: normal; }
  .roboto-black { font-family: var(--font-main); font-weight: 900; font-style: normal; }
  .roboto-thin-italic { font-family: var(--font-main); font-weight: 100; font-style: italic; }
  .roboto-light-italic { font-family: var(--font-main); font-weight: 300; font-style: italic; }
  .roboto-regular-italic { font-family: var(--font-main); font-weight: 400; font-style: italic; }
  .roboto-medium-italic { font-family: var(--font-main); font-weight: 500; font-style: italic; }
  .roboto-bold-italic { font-family: var(--font-main); font-weight: 700; font-style: italic; }
  .roboto-black-italic { font-family: var(--font-main); font-weight: 900; font-style: italic; }
  
  .title-contacts
  {
    font-size: 3em;
  }
  
  /* ===== COMPONENTES ===== */
  /* Botões */
  .button {
    padding: var(--button-padding);
    color: var(--color-light);
    text-transform: uppercase;
    background-color: var(--color-main);
    border: solid thin var(--color-main);
    width: var(--button-width);
    text-align: center;
    font-size: var(--base-font-size);
    display: inline-block;
  }
  .button:hover {
    color: var(--color-main);
    background-color: transparent;
    text-decoration: none;
  }
  
  .buttonDark {
    background-color: var(--color-main);
    color: var(--color-light);
  }
  .buttonDark:hover {
    background-color: var(--color-light);
    color: var(--color-main);
  }
  
  .btn-primary {
    background-color: var(--color-main);
    color: var(--bs-black-rgb);;
    border: none;
    border-radius: 0;
    padding-left: calc(var(--section-padding) / 2.5);
    padding-right: calc(var(--section-padding) / 2.5);
  }
  .btn-primary:hover,
  .btn-primary:active {
    background-color: var(--color-main);
    color: var(--bs-black-rgb);;
  }
  
  /* Seções */
  .dark-section {
    background-color: rgba(var(--bs-black-rgb), 1);
  }
  .dark-section-opacity {
    background-color: rgba(var(--bs-black-rgb), var(--dark-opacity));
  }
  .light-section {
    background-color: rgba(157, 132, 83, var(--light-opacity));
  }
  .light-section-opacity {
    background-color: rgba(157, 132, 83, calc(var(--light-opacity) * 3));
  }
  
  /* Navbar */
  .nav-link:focus, .nav-link:hover
  {
      
      color:var(--bs-black-rgb);
      
  }
  .navbar {
    padding: 0;
    width: 100%;
    text-transform: uppercase;
    z-index: 1;
  }
  .navbar .container-fluid,
  .dropdown-menu {
    border: solid 4px var(--color-main);
    border-left: none;
    border-right: none;
    background-color: var(--color-main);
  }
  .nav-item a {
    color: var(--color-light);
    font-weight: 300;
  }
  .nav-item a:hover {
    text-shadow: var(--hover-shadow) var(--color-light);
    text-decoration: none;
  }
  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link.show {
    color: var(--bs-black-rgb);
    font-weight: 600;
  }
  
  /* Carousel */
  #carouselExampleCaptions {
    width: 100%;
    margin-left: 10vw;
    z-index: 0;
  }
  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
  }
  .carousel-indicators {
    display: grid;
    width: 100%;
    height: 25%;
    bottom: auto;
    left: -70%;
    right: auto;
    top: 40%;
    align-items: center;
  }
  .carousel-indicators .active {
    border: thin solid var(--color-light);
  }
  .carousel-inner {
    overflow: visible;
  }
  
  /* Grids & Cards */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--grid-gap);
  }
  .grid-item {
    padding: 20px;
    text-align: center;
  }
  .servicosCard {
    width: 260px;
    height: 260px;
    padding: 1rem;
  }
  
  /* Formulários */
  .form-check-input {
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    margin: 6px;
    margin-top: 12px;
    float: left;
    margin-left: 0;
  }
  .form-check-input:focus,
  .form-check-input:active,
  .form-check-input:checked {
    outline: var(--form-outline);
    border: var(--form-outline);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-black-rgb), 0.25);
  }
  .form-check-input:checked {
    background-color: rgba(var(--bs-black-rgb), 1);
  }
  
  /* Tabelas */
  table {
    font-family: var(--font-main);
    font-weight: 300;
    font-style: normal;
    letter-spacing: 2px;
    font-size: var(--body-text-size);
    text-transform: uppercase;
  }
  td a {
    color: var(--color-text);
  }
  
  /* Contactos */
  .contactos {
    display: table;
    width: 100%;
  }
  .contactos tr {
    display: table-row;
  }
  .contactos td {
    display: table-cell;
    vertical-align: middle;
  }
  .contactos a {
    display: inline-block;
    font: uppercase;
  }
  .contactos span {
    font: lowercase;
    font-size: 0.6em;
  }
  .contactos svg {
    margin: 5px;
    padding-right: 3px;
  }
  
  /* ===== UTILITÁRIOS ===== */
  .lh-0 { line-height: 0; }
  .clearfix::after {
    content: "";
    display: table;
    clear: both;
  }
  .backgrounds {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
  
  /* ===== LAYOUT ===== */
  .container {
    width: 75% !important;
  }
  .left-section {
    padding-top: 12rem;
    padding-left: var(--section-padding);
  }
  .right-section {
    padding-right: var(--section-padding);
    padding-left: calc(var(--section-padding) * 1.8);
  }
  .titletop {
    background-color: var(--color-main);
  }
  .header-title {
    line-height: 1.5;
    font-size: var(--heading-1-size);
  }
  .header-background {
    min-height: 20em; 
    background-color: rgba(0, 0, 0, var(--header-opacity)); 
    margin-top: 5em; 
    padding: var(--section-padding); 
    margin-bottom: 5em;
  }
  
  /* ===== MEDIA QUERIES ===== */
  @media (max-width: 767px) {
    .grid-container {
      grid-template-columns: repeat(1, 1fr);
    }
    .header-title {
      font-size: calc(var(--heading-1-size) - 0.5em);
    }
    .header-background {
      padding: calc(var(--section-padding) / 2.5);
    }
     .contacts_text
  {
      font-size:.6em;
  }
  }