/*
Theme Name: pine
Theme URI: https://pine.pt/
Author: pine
Author URI: https://pine.pt/
Description: pine
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pine
*/

/* ========================================
   FONT IMPORTS
   ======================================== */

/* LetoSans Font Family */
@font-face {
    font-family: 'LetoSans';
    src: url('assets/fonts/LetoSans-Thin.eot');
    src: url('assets/fonts/LetoSans-Thin.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/LetoSans-Thin.woff2') format('woff2'),
         url('assets/fonts/LetoSans-Thin.woff') format('woff'),
         url('assets/fonts/LetoSans-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LetoSans';
    src: url('assets/fonts/LetoSans-Regular.eot');
    src: url('assets/fonts/LetoSans-Regular.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/LetoSans-Regular.woff2') format('woff2'),
         url('assets/fonts/LetoSans-Regular.woff') format('woff'),
         url('assets/fonts/LetoSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LetoSans';
    src: url('assets/fonts/LetoSans-Bold.eot');
    src: url('assets/fonts/LetoSans-Bold.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/LetoSans-Bold.woff2') format('woff2'),
         url('assets/fonts/LetoSans-Bold.woff') format('woff'),
         url('assets/fonts/LetoSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* LetoSansCondensed Font Family */
@font-face {
    font-family: 'LetoSansCondensed';
    src: url('assets/fonts/LetoSansCondensed-Thin.eot');
    src: url('assets/fonts/LetoSansCondensed-Thin.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/LetoSansCondensed-Thin.woff2') format('woff2'),
         url('assets/fonts/LetoSansCondensed-Thin.woff') format('woff'),
         url('assets/fonts/LetoSansCondensed-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LetoSansCondensed';
    src: url('assets/fonts/LetoSansCondensed-Regular.eot');
    src: url('assets/fonts/LetoSansCondensed-Regular.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/LetoSansCondensed-Regular.woff2') format('woff2'),
         url('assets/fonts/LetoSansCondensed-Regular.woff') format('woff'),
         url('assets/fonts/LetoSansCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LetoSansCondensed';
    src: url('assets/fonts/LetoSansCondensed-Bold.eot');
    src: url('assets/fonts/LetoSansCondensed-Bold.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/LetoSansCondensed-Bold.woff2') format('woff2'),
         url('assets/fonts/LetoSansCondensed-Bold.woff') format('woff'),
         url('assets/fonts/LetoSansCondensed-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

/* Fonts & Base */
body {
    font-family: 'LetoSans', Arial, sans-serif;
    color: #252925;
    font-weight: 300;
    
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #252925;
}

a:hover {
    text-decoration: underline;
}

p {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 0px;
}

/* Typography */
h1 {
    font-weight: 300;
    font-size: 80px;
    line-height: 1;
    padding-bottom: 40px;
}

h2 {
    font-weight: 300;
    font-size: 40px;
    line-height: 1;
    margin-bottom: 40px;
    margin-top: 40px;
}

h3 {
    font-weight: 300;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 20px;
    margin-top: 40px;
}

h4, h5, h6 {
    font-weight: 300;
}

/* Safari Corrections */
.pine-menu > li > a,
.pine-menu li ul.sub-menu li a,
.pine-header-icon,
.pine-search-btn,
.pine-hamburger,
.pine-hamburger-close,
.pine-lang-dropdown .dropdown-toggle {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.pine-menu > li > a:active,
.pine-menu li ul.sub-menu li a:active,
.pine-header-icon:active,
.pine-search-btn:active,
.pine-hamburger:active,
.pine-hamburger-close:active,
.pine-lang-dropdown .dropdown-toggle:active {
    background-color: transparent !important;
    color: #252925 !important;
}

.pd-top-100 {
    padding-top: 100px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

/* Header */
.pine-header {
    background: #fff;
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 4px 4px 20px 0 rgba(0, 0, 0, 0.3);
}

.pine-header-container {
    padding-left: 100px;
    padding-right: 100px;
    overflow: visible;
    max-width: 100%;
}

/* Logo */
.pine-logo {
    position: relative;
    z-index: 1300;
}

.pine-logo img {
    height: 80px;
    object-fit: contain;
    max-width: unset;
    max-height: unset;
}

.pine-logo-img {
    width: auto;
    height: 90px;
    object-fit: contain;
    display: block;
}

.pine-header:hover .pine-logo {
    z-index: 1300;
}

/* Navigation */
.pine-nav {
    width: 100%;
    overflow: visible;
}

.pine-menu {
    width: 100%;
    justify-content: flex-end !important;
    display: flex;
    margin-bottom: 0;
    align-items: center;
    overflow: visible;
    position: relative;
}

.pine-menu > li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pine-menu > li > a {
    font-size: 16px;
    font-weight: 400;
    color: #252925;
    text-decoration: none;
    padding: 8px 45px;
    display: block;
}

.pine-menu > li > a:hover,
.pine-menu > li.current-menu-item > a {
    color: #252925;
    text-decoration: underline;
}

.mb-200-large {
    margin-bottom: 200px;
}

/* Menu Principal - Apenas páginas principais */
.pine-menu > li > a {
    font-size: 16px;
    font-weight: 400;
    color: #252925;
    text-decoration: none;
    padding: 8px 0px;
    display: block;
    position: relative;
    margin-right: 100px;
}

/* Garantir que o submenu permanece visível no hover */
.pine-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

.pine-menu > li:hover > a {
    color: #252925;
    text-decoration: underline;
}

/* Nível 2 - Dropdown Simples */
.pine-menu > li {
    position: relative;
}

.pine-menu > li > .sub-menu {
    position: absolute;
    top: 100%;
    left: -2000px;
    background: #fff;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                visibility 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
    padding-left: 2000px;
    padding-right: 2000px;
    width: 100%;
    pointer-events: none;
}

.pine-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Itens do nível 2 */
.pine-menu .sub-menu > li {
    margin: 0;
    display: block;
}

.pine-menu .sub-menu > li > a {
    display: block;
    padding: 10px 0px;
    color: #252925;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    min-width: 600px;
}

.pine-menu .sub-menu > li:last-child > a {
    border-bottom: none;
}

.pine-menu .sub-menu > li > a:hover {
    text-decoration: underline;
}

/* Setas para itens com submenu */
.pine-menu > li.has-submenu > a::after {
    content: '▼';
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.pine-menu > li.has-submenu:hover > a::after {
    transform: rotate(180deg);
}

/* Sistema anti-loop mais robusto */
.pine-menu > li {
    transition: none;
}




/* Responsivo - Esconder dropdowns em mobile */
@media (max-width: 768px) {
    .pine-menu > li > .sub-menu {
        display: none !important;
    }
}

/* Header Right */
.pine-header-right {
    gap: 20px !important;
}

/* Languages */
.pine-languages {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pine-lang-link {
    color: #252925;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
}

.pine-lang-link:hover {
    color: #7a6c4d;
    text-decoration: none;
}

.pine-lang-separator {
    color: #252925;
    font-size: 16px;
}

/* Phone Icon */
.pine-phone-icon {
    color: #252925;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.2s;
}

.pine-phone-icon:hover {
    color: #7a6c4d;
    text-decoration: none;
}

/* Search */
.pine-search-form {
    border-bottom: 2px solid #252925;
    padding-bottom: 2px;
    margin-right: 12px;
}

.pine-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #252925;
    width: 100px;
    padding: 0 4px;
}

.pine-search-btn {
    background: none;
    border: none;
    color: #252925;
    font-size: 18px;
    margin-left: 4px;
    cursor: pointer;
    padding: 0;
}

/* Header Icons */
.pine-header-icon {
    color: #252925;
    font-size: 22px;
    margin-left: 8px;
    text-decoration: none;
}

.pine-header-icon:hover {
    color: #7a6c4d;
}

/* Hamburger Menu */
.pine-hamburger {
    display: none;
    border: none;
    background: none;
    color: #252925;
    font-size: 22px;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
}

.pine-hamburger-container {
    position: relative;
    z-index: 1001;
}

/* Language Dropdown */
.pine-lang-dropdown {
    position: relative;
}

.pine-lang-dropdown .dropdown-toggle {
    color: #252925;
    background: none;
    border: none;
    font-size: 22px;
    padding: 0;
}

.pine-lang-menu {
    min-width: 80px;
    font-size: 16px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 8px;
}

.pine-lang-menu .dropdown-item {
    color: #252925;
    padding: 8px 16px;
}

.pine-lang-menu .dropdown-item:hover {
    background: #f3f3f3;
}

/* ========================================
   HERO SECTIONS
   ======================================== */

/* Hero Section */
.hero-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.blue-big {
    position: absolute;
    top: -50px;
    right: -20px;
    z-index: -1;
    width: 400px;
}

.red-big {
    position: absolute;
    top: -200px;
    left: -20px;
    width: 300px;
    z-index: 0;
}

.yellow-big {
    position: absolute;
    top: -50px;
    right: 400px;
    width: 300px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.excerpt {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    margin-top: 0px;
    line-height: 1.2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-content-highlight {
    padding: 55px 0;
    position: relative;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Fullscreen */
.hero-fullscreen {
    position: relative;
    height: calc(100vh - 140px);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 60px 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.hero-title {
    color: white;
    font-weight: 700;
    font-size: 48px;
    margin: 0;
    padding-right: 30px;
}

/* Home Fullscreen */
.home-fullscreen-image {
    position: relative;
    width: 100%;
    height: calc(100vh - 193px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.home-overlay.light {
    background: rgba(0, 0, 0, 0.2);
}

.home-overlay.medium {
    background: rgba(0, 0, 0, 0.4);
}

.home-overlay.dark {
    background: rgba(0, 0, 0, 0.6);
}

.home-content {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
    position: relative;
    z-index: 2;
}

.home-text-content {
    max-width: 600px;
    color: white;
}

.home-text-content h1 {
    color: white !important;
    font-weight: 300 !important;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 0px;
}

.home-text-content p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

/* ========================================
   SLIDER SECTIONS
   ======================================== */

/* Home Slider */
.home-slider-section {
    height: calc(100vh - 140px);
    position: relative;
}

.slide-item {
    height: calc(100vh - 140px) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.slide-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slide-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Slider */
.gallery-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
}

.gallery-slider {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-slide {
    padding: 0 15px;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Slick Dots */
.slick-dots {
    bottom: 30px;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots li button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid white;
    font-size: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button {
    background: white;
    border: 1px solid white;
}

.slick-dots li button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slick-dots li button:before {
    content: '';
}

.child-page-link:hover h3 {
    text-decoration: underline;
}

/* ========================================
   VIDEO SECTIONS
   ======================================== */

/* Video Section */
.video-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.video-container {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-container video {
    display: block;
    width: 100%;
    height: auto;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.video-play-icon {
    font-size: 60px;
    color: white;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.video-play-overlay:hover .video-play-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Decorative elements */
.blue-brush-decoration {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0.1;
}

.blue-brush-decoration img {
    max-width: 200px;
}

/* ========================================
   TEAM SECTIONS
   ======================================== */

/* Team Section */
.team-section {
    padding: 110px 0;
}

.team-member {
    margin-bottom: 110px;
}

.team-member:last-child {
    margin-bottom: 0;
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: auto;
}


.member-content {
    padding: 0px 40px;
    position: relative;
}

.member-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.member-icon img {
    max-width: 40px;
    height: auto;
    margin-right: 10px;
}

.member-name {
    font-size: 32px;
    font-weight: 400;
    color: #000;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.member-position {
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 40px 0;
}

.member-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

.member-social {
    margin-top: 30px;
}

/* Alternância de layout para desktop - membros pares têm imagem à direita */
.team-member:nth-child(even) .member-image-col {
    order: 2;
}

.team-member:nth-child(even) .member-content-col {
    order: 1;
}

/* Reset da ordem para mobile */
@media (max-width: 768px) {
    .team-member:nth-child(even) .member-image-col,
    .team-member:nth-child(even) .member-content-col {
        order: unset;
    }
    
    /* Garantir que a imagem apareça sempre primeiro em mobile, independentemente do nth-child */
    .team-member .row .member-image-col {
        order: 1 !important;
        margin-bottom: 0;
    }
    
    .team-member .row .member-content-col {
        order: 2 !important;
    }
}


/* ========================================
   CONTENT PAGES
   ======================================== */

/* Content Page */
.content-page {
    padding-top: 100px;
    padding-bottom: 100px;
}

.content-page-design-1 {
    position: relative;
}

.content-page-design-1 .container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

.content-page-design-1 .banner-title, 
.content-page-design-1 .p-content {
    max-width: 550px;
    width: 100%;
    padding-left: 150px;
}

.design-1-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 800px;
}

.content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-weight: normal;
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    max-width: 680px;
}

/* Page Content */
.page-content {
    padding: 110px 0 0px 0;
}

/* Fixed Icons */
.fixed-icon {
    position: absolute;
    top: -250px;
    left: 0;
    z-index: -1;
}

.fixed-icon-right {
    position: absolute;
    bottom: -100px;
    right: 0;
    z-index: 1;
}

/* ========================================
   ABOUT & SERVICES
   ======================================== */

/* About Us */
.about-us-content {
    padding: 2rem;
}

.about-logo {
    margin-bottom: 1rem;
}

.about-logo img {
    height: 290px;
    width: auto;
}

.about-title {
    color: #ECAB2A;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content {
    color: #000;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
}

/* Service Icons */
.service-icon {
    max-width: 400px;
    margin-bottom: 60px;
}

.service-icon img {
    margin-right: 20px;
}

.service-icon h3 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 0;
    color: #000;
}

.category-2 {
    padding-top: 200px;
}

.blue-title {
    color: #084D6E !important;
    font-size: 48px !important;
    font-weight: 700 !important;
}

.service-list {
    margin-left: 80px !important;
    list-style: none;
}

.service-list li {
    margin-bottom: 10px;
}

.footer-title {
    font-weight: 400;
}


/* ========================================
   HIGHLIGHTS
   ======================================== */

.section-title {
    color: #000;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 3rem;
}

.section-description {
    color: #252925;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
}


.highlight-image {
    position: relative;
    overflow: hidden;
}

.highlight-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.highlight-title {
    color: #000;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 26px;
    margin-top: 26px;
}

.highlight-excerpt {
    color: #000;
    font-size: 16px;
    line-height: 19px;
}

.highlight-card:hover {
    text-decoration: none;
}

.highlight-card:hover h3 {
    text-decoration: underline;
}

.highlights-section {
    position: relative;
}

.read-all-link {
    color: #000;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-all-link:hover {
    text-decoration: none;
}


.menu-item-has-children > a:hover {
    text-decoration: none !important;
}

.fixed-icon {
    width: 12vw;
    top: -10vh;
}

.fixed-icon-right {
    width: 16vw;
    bottom: -10vh;
}

.red-big {
    width: 16vw;
    top: 0px;
    
}


/* ========================================
   CHILD PAGES
   ======================================== */

.child-page-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.child-page-image {
    position: relative;
    overflow: hidden;
}

.child-page-image img {
    width: 100%;
    height: 347px;
    object-fit: cover;
}

.child-page-content {
    padding: 20px 10px 20px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.child-page-content img {
    max-width: 40px;
    height: auto;
    margin-right: 10px;
}

.child-page-title {
    color: #000;
    font-size: 32px;
    font-weight: 400;
    margin: 0;
}

.child-page-link:hover {
    text-decoration: none;
}

/* ========================================
   WHAT WE DO
   ======================================== */

.what-we-do-section {
    position: relative;
    padding-bottom: 220px !important;
}

.service-category {
   
    position: relative;
}

.service-category-title {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-list a {
    color: #252925;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.service-list a:hover {
    text-decoration: underline;
}

/* Decorative Brushes */
.yellow-brush-decoration {
    position: absolute;
    left: -98px;
    top: 92px;
    z-index: -1;
    pointer-events: none;
}

.yellow-brush-decoration img {
    max-height: 520px;
    width: auto;
}

.blue-brush-decoration-2 {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    pointer-events: none;
}

.blue-brush-decoration-2 img {
    max-height: 600px;
    width: auto;
}

@media (max-width: 1200px) and (min-width: 991px) {
    .blue-brush-decoration-2 {
        right: -50px;
    }

    .yellow-brush-decoration {
        left: -100px;
    }

    .blue-big {
        right: -50px;
    }
}   

@media (max-width: 991px) {
    .blue-brush-decoration-2 {
        right: -100px;
    }
    
    .blue-big {
        right: -100px;
    }

    .yellow-brush-decoration {
        left: -150px;
    }
}   

/* ========================================
   CONTACT PAGES
   ======================================== */

.page-contacts .content-text {
    max-width: 670px;
    padding-left: 170px;
    align-items: flex-start;
}

.page-contacts .contact-form {
    margin-top: 40px;
    width: 100%;
}

.page-contacts .contact-form input, 
.page-contacts .contact-form textarea {
    border: none;
    border-bottom: 2px solid #252925;
    border-radius: 0;
    padding: 10px 0;
    margin-bottom: 20px;
    width: 100%;
    background: transparent;
}

.page-contacts .contact-form textarea:focus, 
.page-contacts .contact-form input:focus {
    border-color: #252925;
    outline: none;
}

.page-contacts .contact-form button {
    background-color: transparent !important;
    color: #252925 !important;
    border: 1px solid #252925;
    padding: 10px 20px;
    border-radius: 0;
}

.page-contacts .contact-form button:hover {
    background-color: #252925 !important;
    color: #fff !important;
}

.map-container {
    padding: 64px;
}

/* ========================================
   SEARCH RESULTS
   ======================================== */

.search-result-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f3f3f3;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: #252925;
    margin-bottom: 15px;
}

.search-result-title a {
    color: #252925;
    text-decoration: none;
}

.search-result-title a:hover {
    color: #7a6c4d;
}

.search-result-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #252925;
    margin-bottom: 20px;
}

.read-more-btn {
    background-color: #252925;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.read-more-btn:hover {
    background-color: #7a6c4d;
    color: white;
    text-decoration: none;
}

.search-pagination {
    margin-top: 40px;
    text-align: center;
}

.search-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background-color: #f3f3f3;
    color: #252925;
    text-decoration: none;
    border-radius: 4px;
}

.search-pagination .page-numbers:hover,
.search-pagination .page-numbers.current {
    background-color: #252925;
    color: white;
}

.no-results {
    margin-top: 40px;
    text-align: center;
    color: #252925;
    font-size: 1.1rem;
}

/* ========================================
   HAMBURGER MENU
   ======================================== */

.pine-hamburger-menu {
    display: block !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1002;
    padding: 0;
    overflow-y: auto;
    visibility: visible;
    transition: right 0.3s ease;
}

.pine-hamburger-menu.active {
    right: 0 !important;
    visibility: visible !important;
}

.pine-hamburger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    display: none;
}

.pine-hamburger-overlay.active {
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */

.custom-footer {
    position: relative;
    padding-top: 100px;
}

.footer-main-content {
    min-height: 400px;
    position: relative;
}

.footer-container {
    display: flex;
    min-height: 400px;
}

/* Seção de Contactos (Esquerda) */
.footer-contacts-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 40px;
}

.contacts-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contacts-content {
    position: relative;
    z-index: 2;
    color: #BD4627;
    max-width: 60%;
}

.contacts-title {
    font-size: 48px;
    font-weight: 700;
    color: #BD4627;
    margin-bottom: 30px;
}


.contact-info {
    margin-bottom: 8px;
    font-size: 20px;
    color: #000;
    font-weight: 200;
}


.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #BD4627;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}


.social-icon.linkedin span {
    font-size: 40px;
}

.social-icon.facebook span {
    font-size: 40px;
}

.social-icon.instagram span {
    font-size: 40px;
}

/* Seção de Legal Links (Direita) */
.footer-legal-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 40px;
    background: #fff;
}

.legal-content {
    width: 100%;
}

.legal-title {
    font-size: 48px;
    font-weight: 700;
    color: #084D6E;
    margin-bottom: 30px;
    font-family: 'LetoSans', Arial, sans-serif;
}

.legal-links {
    margin-top: 20px;
}

.legal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-menu li {
    margin-bottom: 15px;
}

.legal-menu a {
    color: #252925;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.legal-menu a:hover {
    text-decoration: underline;
}

.orange-bg-svg {
    position: absolute;
    top: 120px;
    width: 10vw;
    max-width: 120px;
    
    left: 0;
    z-index: 1;
}


/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-content {
    text-align: center;
    color: #342D23;
    font-size: 16px;
}

.footer-bottom-content a {
    text-decoration: underline;
}

.footer-bottom-content a:hover {
    color: #084D6E;
}

/* Responsive Design para o Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-contacts-section,
    .footer-legal-section {
        padding: 40px 20px;
    }
    
    .contacts-content {
        max-width: 100%;
    }
    
   
    .contacts-title,
    .legal-title {
        font-size: 36px;
    }
    
    .footer-bottom-content {
        text-align: center;
        display: grid;
        margin-bottom: 20px;
    }

    .blue-big {
        display: none;
    }
}

@media (max-width: 480px) {
    .contacts-title,
    .legal-title {
        font-size: 28px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-contacts-section,
    .footer-legal-section {
        padding: 30px 15px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Font Classes */
.font-letosans {
    font-family: 'LetoSans', Arial, sans-serif;
}

.font-letosans-condensed {
    font-family: 'LetoSansCondensed', Arial, sans-serif;
}

.font-acto {
    font-family: 'Acto', Arial, sans-serif;
}

.font-n27 {
    font-family: 'N27', Arial, sans-serif;
}

/* Font Weight Classes */
.font-thin {
    font-weight: 100;
}

.font-light {
    font-weight: 300;
}

.font-regular {
    font-weight: 400;
}

.font-bold {
    font-weight: 700;
}

/* Color Classes */
.color-1 {
    color: #00738A !important;
}

.color-2 {
    color: #BD4627 !important;
}

.color-3 {
    color: #ECAB2A !important;
}

.color-4 {
    color: #084D6E !important;
}

.design1-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
}

.nav-link:focus, .nav-link:hover {
    color: #7a6c4d;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Smooth transitions for menu items */
.pine-hamburger-menu .mobile-menu-list {
    transition: all 0.3s ease;
}

/* Better touch targets for mobile */
.pine-hamburger-menu .mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
}

@media (max-width: 1460px) {
    .pine-header-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 1170px) {
    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 30px;
    }

    .home-content {
        height: 80vh;
    }

    .content-page {
        padding: 20px;
        max-width: 100%;
    }

    .footer-logo-img {
        max-width: 250px;
    }

    .content-page-design-1 .container-fluid .content-text {
        padding: 20px;
        max-width: 100%;
    }

        .pine-header-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    /* Hide main menu and header-right */
    .pine-nav {
        display: none !important;
    }
    
    /* Hide desktop dropdowns on mobile */
    .pine-menu .sub-menu,
    .pine-menu .sub-sub-menu {
        display: none !important;
    }
    
    .pine-header-right {
        display: none !important;
    }
    
    /* Show hamburger menu */
    .pine-hamburger {
        display: block !important;
    }
    
    /* Mobile hamburger menu */
    .pine-hamburger-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        background: #fff !important;
        z-index: 1002 !important;
        padding: 0 !important;
        overflow-y: auto !important;
        display: block !important;
    }
    
    .pine-hamburger-menu.active {
        right: 0 !important;
    }
    
    /* Mobile menu header */
    .mobile-menu-header {
        position: sticky;
        top: 0;
        height: 80px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        border-bottom: 1px solid #f3f3f3;
        z-index: 10;
    }
    
    .mobile-logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    .mobile-logo-img {
        max-height: 40px;
        width: auto;
        object-fit: contain;
    }
    
    .pine-hamburger-close {
        position: relative;
        background: none;
        border: none;
        color: #252925;
        font-size: 24px;
        cursor: pointer;
        padding: 8px;
        margin-left: 0;
        transition: color 0.3s ease;
    }
    
    .pine-hamburger-close:hover {
        color: #7a6c4d;
    }
    
    .mobile-menu-content {
        padding: 20px;
        padding-bottom: 100px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    /* Mobile menu */
    .pine-hamburger-menu .mobile-menu {
        margin-bottom: 40px;
        display: block !important;
        width: 100%;
    }
    
    .pine-hamburger-menu .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .pine-hamburger-menu .mobile-menu li {
        border-bottom: 1px solid #f3f3f3;
    }
    
    .pine-hamburger-menu .mobile-menu a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        color: #252925;
        text-decoration: none;
        font-size: 16px;
        font-weight: 300;
        flex: 1;
        transition: background-color 0.3s ease;
    }
    
    .pine-hamburger-menu .mobile-menu a:hover {
        background-color: #f8f9fa;
    }
    
    /* Indicadores para itens com submenu */
    .pine-hamburger-menu .menu-item-has-children > a::after {
        content: '▼';
        font-size: 12px;
        transition: transform 0.3s ease;
    }
    
    .pine-hamburger-menu .menu-item-has-children.active > a::after {
        transform: rotate(180deg);
    }
    
    /* Mobile Submenu */
    .pine-hamburger-menu .sub-menu,
    .pine-hamburger-menu .sub-sub-menu {
        display: none;
        background: #f8f9fa;
        margin-left: 0;
        list-style: none;
        padding: 0;
    }
    
    .pine-hamburger-menu .sub-menu.active,
    .pine-hamburger-menu .sub-sub-menu.active {
        display: block;
    }
    
    .pine-hamburger-menu .sub-menu li a,
    .pine-hamburger-menu .sub-sub-menu li a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
        color: #666;
        border-bottom: 1px solid #e9ecef;
    }
    
    .pine-hamburger-menu .sub-sub-menu li a {
        padding-left: 60px;
    }
    
    .pine-hamburger-menu .sub-menu li:last-child a,
    .pine-hamburger-menu .sub-sub-menu li:last-child a {
        border-bottom: none;
    }
    

    
    .pine-hamburger-menu .mobile-menu a:hover {
        color: #7a6c4d;
    }
    

    
    /* Search form in hamburger */
    .pine-hamburger-menu .search-form {
        margin-bottom: 30px;
        border-bottom: 2px solid #252925;
        padding-bottom: 10px;
        position: relative;
    }
    
    .pine-hamburger-menu .search-input {
        border: none;
        outline: none;
        background: transparent;
        font-size: 16px;
        color: #252925;
        width: 100%;
        padding: 8px 0;
        font-family: 'LetoSans', Arial, sans-serif;
    }
    
    .pine-hamburger-menu .search-input::placeholder {
        color: #999;
    }
    
    /* Header icons in hamburger */
    .pine-hamburger-menu .header-icons {
        display: flex;
        gap: 15px;
        margin-top: 30px;
        padding-top: 20px;
        padding-left: 20px;
        border-top: 1px solid #f3f3f3;
    }
    
    .pine-hamburger-menu .header-icon {
        color: #252925;
        font-size: 18px;
        text-decoration: none;
        padding: 12px 0;
        border-bottom: 1px solid #f3f3f3;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .pine-hamburger-menu .header-icon:hover {
        color: #7a6c4d;
    }
    
    .pine-hamburger-menu .header-icon:last-child {
        border-bottom: none;
    }
    
    .pine-hamburger-menu .lang-dropdown {
        margin-top: 20px;
    }
    
    .pine-hamburger-menu .lang-menu {
        list-style: none;
        padding: 0;
        margin: 10px 0 0 0;
    }
    
    .pine-hamburger-menu .lang-menu li {
        padding: 8px 0;
    }
    
    .pine-hamburger-menu .lang-menu a {
        color: #252925;
        text-decoration: none;
        font-size: 14px;
    }
    
    .pine-hamburger-menu .lang-menu a:hover {
        color: #7a6c4d;
    }

    .page-contacts .map-container {
        padding: 20px;
    }

    .content-page-design-1 .banner-title, 
    .content-page-design-1 .p-content {
        max-width: 100%;
    }

    .page-contacts .content-text {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .pine-logo img {
        width: 120px;
        height: 80px;
    }
    .pine-logo-img {
        width: 108px;
        height: 65px;
    }
    
    .hero-title {
        font-size: 32px;
        text-align: center;
        padding-right: 0;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-section, .gallery-section {
        padding: 40px 20px;
    }
    
    .member-content {
        padding: 20px;
        text-align: center;
        margin-top: 20px;
    }
    
    .member-name {
        font-size: 28px;
    }
    
    .team-member .row {
        flex-direction: column;
    }
    
    .video-play-icon {
        font-size: 40px;
    }
    
    .blue-brush-decoration {
        display: none;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .about-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .child-page-title {
        font-size: 24px;
    }
    
    .blue-brush-decoration,
    .yellow-brush-decoration,
    .blue-brush-decoration-2 {
        display: none;
    }
    
    .home-text-content h1 {
        font-size: 2.5rem;
    }
    
    .home-text-content p {
        font-size: 1rem;
    }
    
    .home-content {
        padding-bottom: 40px;
    }
    
    .pine-header {
        padding: 8px 0;
    }
    
    .pine-header-container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .pine-logo img {
        width: 80px;
        height: 50px;
    }
    
    .pine-logo-img {
        width: 72px;
        height: 40px;
    }
    
    .pine-header-right {
        gap: 8px !important;
    }

    .content-page-design-1 .banner-title, .content-page-design-1 .p-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .highlights-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mb-200-large {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .home-text-content h1 {
        font-size: 2rem;
    }
    
    .home-text-content p {
        font-size: 0.9rem;
    }
    
    /* Ajustes adicionais para equipa em mobile muito pequeno */
    .team-member .member-content {
        padding: 15px;
    }
    
    .team-member .member-name {
        font-size: 24px;
    }
    
    .team-member .member-position {
        font-size: 24px;
    }
}