/* Reset geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fontes */
@font-face {
    font-family: 'CocoSharp';
    src: url('../fonts/Coco-Sharp-Regular-trial.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CocoSharp';
    src: url('../fonts/Coco-Sharp-Bold-trial.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Variáveis principais */
:root {
    --cor-principal: #363d4c;
    --cor-principal-escura: #1a222c;
    --cor-texto: #333333;
    --cor-fundo: #f4f7fa;
    --cor-fundo-inner: #f2f5f7;
    --cor-branco: #ffffff;
    --largura-maxima: 1320px;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'CocoSharp', Arial, sans-serif;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    overflow-x: hidden;
}

/* Navbar */
body.page-inner .navbar {
    background-color: var(--cor-principal);
}

.navbar {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background-color: transparent;
}

/* Logo */
.logo,
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.mobile-logo {
    display: none;
    position: relative;
    z-index: 1100;
}

/* Links da navegação */
.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr 1fr;
    align-items: center;
    width: min(100%, 850px);
    list-style: none;
    gap: 2.4rem;
}

.nav-links li:nth-child(1),
.nav-links li:nth-child(2) {
    justify-self: end;
}

.logo-item.desktop-logo {
    justify-self: center;
}

.nav-links li:nth-child(4),
.nav-links li:nth-child(5) {
    justify-self: start;
}

.nav-links a {
    text-decoration: none;
    color: var(--cor-branco);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    border-bottom-color: var(--cor-branco);
}

.logo-item a,
.logo-item a:hover,
.logo-item a.active {
    border-bottom: none;
}

/* Botão do menu mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1100;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--cor-branco);
}

/* Hero da página inicial */
.home {
    min-height: 100vh;
    position: relative;
    /* Adicionado para que as imagens absolutas parem aqui */
}

.hero {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    overflow: visible;
}

.hero-img-wrapper {
    width: min(100%, var(--largura-maxima));
    height: 425px;
    border-radius: 0;
    /* Removido arredondamento */
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: -165px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100vw;
    text-align: center;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

.hero-content h1 {
    line-height: 0.85;
    text-transform: lowercase;
}

.hero-content h1 span {
    display: block;
    color: var(--cor-branco);
    font-size: clamp(8rem, 18vw, 20rem);
    font-weight: 400;
    transform: translateY(45px);
    white-space: nowrap;
    width: 100%;
    position: relative;
    left: 20px;
    display: inline-block;
    max-width: calc(100% - 10px);
    overflow: hidden;
}

.hero-content h1 strong {
    display: block;
    color: var(--cor-principal);
    font-size: clamp(7rem, 13vw, 14rem);
    font-weight: 700;
    margin-top: 25px;
    transition: transform 0.10s ease, color 0.4s ease, -webkit-text-stroke 0.4s ease;
}

.hero-content h1 strong.outline {
    color: transparent;
    -webkit-text-stroke: 3px #404b63;
}

/* Texto introdutório */
.intro-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 2rem 20px;
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--cor-principal);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero+.intro-text {
    padding-top: 400px;
}

.intro-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-text.small-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    padding-top: 40px;
}

/* Imagem retangular entre os textos */
.intro-image {
    width: 100%;
    text-align: center;
    padding: 10px 0 0;
}

.intro-image img {
    width: 160px;
    height: auto;
    display: inline-block;
}

/* Serviços na página inicial */
.services-huge-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 50px 2rem 20px;
}

.services-huge-title h2 {
    font-size: clamp(5rem, 13vw, 14rem);
    color: var(--cor-principal);
    line-height: 1;
    font-weight: 700;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.4rem;
    max-width: var(--largura-maxima);
    margin: 50px auto 0;
    padding: 0 2rem 8rem;
    align-items: start;
}

.services-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.service-card,
.service-card.tall {
    position: relative;
    border-radius: 0;
    overflow: visible;
    min-height: auto;
}

.service-card img,
.service-card .dark-box {
    width: 100%;
    height: 520px;
    display: block;
    transition: transform 0.35s ease;
}

.service-card img {
    object-fit: cover;
    object-position: center 10%;
    border-radius: 0;
}

.service-card .dark-box {
    background-color: var(--cor-principal);
}

.service-card:hover img,
.service-card:hover .dark-box {
    transform: scale(1.04);
}

.service-card p {
    position: static;
    margin-top: 0.9rem;
    color: var(--cor-principal);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1.25;
}

.veja-mais-wrapper {
    text-align: center;
    margin-top: -4rem;
    /* Aligns closer to the grid */
    padding-bottom: 8rem;
}

.btn-veja-mais {
    display: inline-block;
    color: var(--cor-principal);
    font-size: 2rem;
    font-weight: 700;
    text-transform: lowercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--cor-principal);
    transition: opacity 0.3s ease, border-bottom-color 0.3s ease;
}

.btn-veja-mais:hover {
    opacity: 0.7;
    border-bottom-color: transparent;
}

/* Página de serviços */
.services-page-hero {
    position: relative;
}

.services-page-hero .hero-img-wrapper {
    height: 425px;
    border-radius: 0;
    /* Removido arredondamento */
}

.services-page-title {
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translate(-50%, 0);
    font-size: clamp(7rem, 13vw, 14rem);
    font-weight: 700;
    color: var(--cor-principal-escura);
    line-height: 0.8;
    text-transform: lowercase;
    white-space: nowrap;
    pointer-events: none;
    transition: transform 0.10s ease;
}

.services-page-spacer {
    height: 120px;
}

.services-intro {
    position: relative;
    text-align: center;
    padding: 80px 2rem;
}

.intro-fade {
    font-size: 1.5rem;
    color: var(--cor-principal);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.intro-fade.hide {
    opacity: 0;
    transform: translateY(-20px);
}

.next-title {
    position: absolute;
    left: 50%;
    top: 130px;
    transform: translate(-50%, 40px);
    font-size: clamp(5rem, 12vw, 10rem);
    color: var(--cor-principal);
    opacity: 0;
    text-transform: lowercase;
    line-height: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.next-title.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Páginas internas */
main:not(.home) {
    padding: 140px 2rem 4rem;
    background-color: var(--cor-fundo-inner);
}

.page-section {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.page-section h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1rem;
}

.page-section p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Sobre nós */
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 80px 0 10px !important;
}

.title-icon {
    height: clamp(3rem, 8vw, 6rem);
    width: auto;
}

.sobre-nos-title {
    display: block;
    margin: 0;
    font-size: clamp(5rem, 12vw, 10rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--cor-principal);
    text-transform: lowercase;
    text-align: center;
    line-height: 1;
}

.sobre-nos-divider {
    width: 60px;
    height: 2px;
    margin: 0 auto 30px;
    border: none;
    background-color: var(--cor-principal);
}

.sobre-nos-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem 80px;
    text-align: center;
}

.sobre-nos-section p {
    margin-bottom: 30px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--cor-principal);
    line-height: 1.8;
}

/* Imagem lateral no Sobre Nós */
.about-side-img {
    position: absolute;
    left: 0;
    top: 570px;
    width: 180px;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .about-side-img {
        width: 100px;
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .about-side-img {
        display: none;
    }
}

/* Imagem lateral DIREITA no Sobre Nós */
.about-side-img-right {
    position: absolute;
    right: 0;
    top: 1100px;
    width: 180px;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .about-side-img-right {
        width: 120px;
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .about-side-img-right {
        display: none;
    }
}

/* Imagem lateral ESQUERDA INFERIOR no Sobre Nós */
.about-side-img-left-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 400px;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .about-side-img-left-bottom {
        width: 120px;
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .about-side-img-left-bottom {
        display: none;
    }
}

.sobre-nos-section .btn-ler-mais {
    display: inline-block;
    padding: 14px 60px;
    border: none;
    background-color: var(--cor-principal);
    color: var(--cor-branco);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sobre-nos-section .btn-ler-mais:hover {
    background-color: transparent;
    color: var(--cor-principal);
    outline: 2px solid var(--cor-principal);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--cor-texto);
    background-color: var(--cor-branco);
}

/* Responsivo */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }

    .services-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card img,
    .service-card .dark-box {
        height: 440px;
    }
}

@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
        padding: 1rem 1.2rem;
    }

    .mobile-logo {
        display: flex;
    }

    .mobile-logo img {
        height: 70px;
    }

    .logo-item.desktop-logo {
        display: none;
    }

    .nav-links {
        display: none;
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1050;
        width: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        padding: 6rem 2rem 2rem;
        background-color: var(--cor-principal);
        border-bottom: 1px solid var(--cor-principal-escura);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        justify-self: center;
    }

    .nav-links a {
        color: var(--cor-branco);
        border-bottom-color: transparent;
    }

    .nav-links a:hover,
    .nav-links a.active {
        border-bottom-color: var(--cor-branco);
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 0 1rem;
    }

    .hero-img-wrapper {
        width: 100%;
        height: 350px;
        border-radius: 18px;
    }

    .hero-content {
        bottom: -50px;
        width: 100%;
        overflow: visible;
    }

    .hero-content h1 span {
        font-size: clamp(3.5rem, 16vw, 10rem);
        transform: translateY(45px);
        white-space: nowrap;
        color: var(--cor-branco);
    }

    .hero-content h1 strong {
        font-size: clamp(2.5rem, 12vw, 8rem);
        margin-top: 45px;
        /* Increase space to avoid weird overlap on small screens */
    }

    .hero+.intro-text {
        padding-top: 130px;
    }

    .intro-text {
        opacity: 1 !important;
        transform: none !important;
    }

    .services-huge-title {
        padding: 60px 1rem 35px;
    }

    .services-huge-title h2 {
        font-size: clamp(3rem, 16vw, 14rem);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem 5rem;
    }

    .service-card img,
    .service-card .dark-box {
        height: 280px;
    }

    .service-card p {
        font-size: 0.8rem;
    }

    .services-page-title {
        bottom: -16px;
        font-size: clamp(3rem, 16vw, 14rem);
    }

    .services-page-spacer {
        height: 100px;
    }

    .services-intro {
        padding: 80px 1rem 60px;
    }

    .intro-fade {
        font-size: 1.1rem;
    }

    .next-title {
        top: 110px;
        font-size: clamp(2.5rem, 15vw, 10rem);
    }

    .sobre-nos-section {
        padding: 0 1rem 40px;
    }

    .title-container {
        margin: 100px 0 15px;
        gap: 15px;
    }

    .title-icon {
        height: 3.5rem;
    }

    .sobre-nos-title {
        margin: 0;
        font-size: clamp(2.5rem, 15vw, 10rem);
    }

    .sobre-nos-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-img-wrapper {
        height: 280px;
        border-radius: 14px;
    }

    .hero-content {
        bottom: -40px;
        width: 100%;
        overflow: visible;
    }

    .hero-content h1 span {
        font-size: clamp(2.8rem, 16vw, 10rem);
        transform: translateY(30px);
        white-space: nowrap;
        color: var(--cor-branco);
    }

    .hero-content h1 strong {
        font-size: clamp(2rem, 12vw, 8rem);
        margin-top: 35px;
    }

    .hero+.intro-text {
        padding-top: 110px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: 1.2rem;
    }

    .services-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 1rem;
    }

    .service-card img,
    .service-card .dark-box {
        height: 320px;
    }

    .services-page-title {
        bottom: -13px;
        font-size: clamp(2rem, 16vw, 14rem);
    }

    .sobre-nos-title {
        font-size: clamp(2rem, 15vw, 10rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

.portfolio-page {
    background-color: #f4f7fa;
}

.portfolio-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-intro {
    padding: 60px 0 30px;
    text-align: center;
}

.portfolio-intro p {
    color: #6b7a90;
    font-size: 1.1rem;
}

.intro-line {
    width: 40px;
    height: 4px;
    background-color: #6b7a90;
    margin: 15px auto 0;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

/* Filtros */
.portfolio-filters {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.filter-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #6b7a90;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #1a222c;
}

.portfolio-gallery {
    width: 784px;
    max-width: calc(100% - 40px);
    margin: 30px auto 100px;
}

.portfolio-main-image {
    width: 100%;
    height: 168px;
    object-fit: cover;
    display: block;
    margin-bottom: 11px;
    transition: opacity 0.3s ease;
}

/* mosaico grid */
.portfolio-mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 147px;
    grid-auto-flow: dense;
    gap: 11px;
}

.portfolio-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    margin: 0;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mosaic Classes */
.w2 {
    grid-column: span 2;
}

.w3 {
    grid-column: span 3;
}

.w4 {
    grid-column: span 4;
}

.w6 {
    grid-column: span 6;
}

.h1 {
    grid-row: span 1;
}

.h2 {
    grid-row: span 2;
}

.h3 {
    grid-row: span 3;
}

.portfolio-wide {
    grid-column: span 6;
    grid-row: span 1;
}

/* Quando filtrado, forçar grelha idêntica à dos Serviços (3 colunas, 520px altura) */
.portfolio-mosaic.filtered {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 350px !important;
    gap: 1.4rem !important;
}

.portfolio-mosaic.filtered .portfolio-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    aspect-ratio: auto !important;
    height: 100% !important;
}

.portfolio-item.show {
    animation: fadeInScale 0.3s forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .portfolio-gallery {
        width: 90%;
    }

    .portfolio-mosaic {
        grid-auto-rows: 70px;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .portfolio-gallery {
        width: 94%;
    }

    .portfolio-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 130px;
        gap: 6px;
    }

    .w2,
    .w3,
    .w4,
    .w6,
    .portfolio-wide {
        grid-column: span 1 !important;
    }

    .h1,
    .h2,
    .h3 {
        grid-row: span 1 !important;
    }
}

/* Footer */
.footer {
    background-color: var(--cor-principal);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Carrossel de parceiros */
.footer-partners {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-track-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: partners-scroll 20s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    flex-shrink: 0;
}

.partner-logo img {
    height: 100%;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.partner-logo img:hover {
    opacity: 0.85;
}

@keyframes partners-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Corpo do footer */
.footer-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: var(--largura-maxima);
    margin: 0 auto;
    padding: 60px 2rem;
    text-align: left;
}

.footer-left-logo img {
    height: 100px;
    width: auto;
    opacity: 0.8;
}

/* Marca */
.footer-brand .footer-logo {
    height: 55px;
    width: auto;
    display: block;
    margin: 0 auto 12px;
    opacity: 0.9;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    line-height: 1.7;
}

/* Títulos das colunas */
.footer-col-title {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cor-branco);
    margin-bottom: 14px;
}

/* Lista de contactos */
.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-family: Arial, sans-serif;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--cor-branco);
}

/* Redes sociais */
.footer-social {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.footer-social a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-social a.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-social a.btn img {
    height: 20px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-social a.btn:hover img {
    opacity: 1;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.82rem;
    padding: 6px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 130px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.social-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--cor-branco);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-btn img {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.social-btn:hover img {
    opacity: 1;
}

/* Responsivo */
@media (max-width: 768px) {
    .footer-body {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 32px 1.5rem;
    }

    .partners-track {
        gap: 40px;
    }
}

/* Formas decorativas nas secções sobre nós */
.sobre-nos-section {
    position: relative;
    width: min(700px, calc(100% - 60px));
    overflow: visible;
}

.deco-shape {
    position: absolute;
    width: 120px;
    height: auto;
    opacity: 0.35;
    pointer-events: none;
    user-select: none;
}

.deco-left {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.deco-right {
    right: -30px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}

@media (max-width: 768px) {
    .sobre-nos-section {
        width: calc(100% - 40px);
    }

    .deco-shape {
        width: 80px;
        opacity: 0.25;
    }

    .deco-left {
        left: -20px;
    }

    .deco-right {
        right: -20px;
    }
}

@media (max-width: 480px) {
    .deco-shape {
        width: 60px;
    }
}

.contactos-page {
    padding-bottom: 120px;
}

.contactos-section {
    max-width: 900px;
    margin: 80px auto 0;
    padding: 0 2rem;
    text-align: center;
}

.contactos-placeholder {
    width: 100%;
    aspect-ratio: 16 / 7;
    background-color: #5d6472;
    position: relative;
    border-radius: 4px;
    margin-bottom: 50px;
}

.contactos-placeholder span {
    position: absolute;
    top: 25px;
    left: 30px;
    color: white;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: lowercase;
}

.contactos-info {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 60px;
    text-align: left;
}

.contactos-item {
    flex: 1;
}

.contactos-item h3 {
    font-size: 1.5rem;
    color: var(--cor-principal);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.contactos-item p {
    font-size: 0.95rem;
    color: var(--cor-principal);
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.contactos-btn-wrapper {
    margin-bottom: 50px;
}

.btn-mapa {
    display: inline-block;
    padding: 14px 45px;
    background-color: #5d6472;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: lowercase;
    transition: background-color 0.3s ease;
}

.btn-mapa:hover {
    background-color: var(--cor-principal-escura);
}

.contactos-divider {
    width: 130px;
    height: 1px;
    background-color: var(--cor-principal);
    border: none;
    margin: 50px auto;
}

/* Valores */
.contactos-valores {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cor-principal);
    line-height: 1.4;
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .contactos-section {
        margin-top: 50px;
    }

    .contactos-info {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .contactos-valores {
        font-size: 1.2rem;
    }

    .contactos-placeholder span {
        top: 15px;
        left: 20px;
    }
}