﻿/* Reset and Base Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography for the Logo */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-main {
    max-height: 80px;
    width: auto;
}

/* Header */
.top-header {
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

/* Split Screen Layout */
.split-screen {
    display: flex;
    height: 85vh;
    width: 100%;
}

.split-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.split-side::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease;
    filter: brightness(0.65); /* Escuro mas visível por defeito */
}
.split-side:hover::before {
    transform: scale(1.08); /* Zoom in */
    filter: brightness(1.05); /* Fica mais claro/iluminado */
}
.split-side .card, .split-side .btn-entrar {
    position: relative;
    z-index: 1;
}

/* Backgrounds (Replace with real local images) */
.contabilidade-side::before {
    background-color: #d8c9bc;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/bg-contabilidade-side.jpg');
}

.arquitetura-side::before {
    background-color: #8c9c86;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/bg-arquitetura-side.jpg');
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 2.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.logo-card {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

/* Button */
.btn-entrar {
    background-color: white;
    color: black;
    text-decoration: none;
    padding: 12px 40px;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-entrar:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .split-screen {
        flex-direction: column;
    }
    
    .card {
        min-width: 80%;
        padding: 2rem;
    }
}

/* ========================================================== */
/* ESTILOS DA PÁGINA CONTABILIDADE                            */
/* ========================================================== */

.page-contabilidade {
    height: auto;
    color: #4a4a4a;
    background-color: #fafafa;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-logo { height: 60px; }
.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: #6a6a6a;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}
.nav-links a:hover { color: #f09348; }
.btn-nav {
    background-color: #f09348;
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
}
.btn-nav:hover { background-color: #e38439; }

/* Hero Banner Contabilidade */
.hero-contabilidade {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero-contabilidade.jpg') center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0; /* Pulls the banner under the navbar if navbar is transparent, or just gives it more height */
}
.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    margin-top: 40px;
}
.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}
.hero-content p {
    font-size: 1.4rem;
    font-weight: 400;
    color: #ffd8bd;
    line-height: 1.5;
}

/* Sections & Typography */
.section-container {
    padding: 4rem 0;
    width: 100%;
}
.bg-light { background-color: #f9f9f9; }
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 300;
}
.section-subtitle {
    font-size: 1.2rem;
    color: #f09348;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 400;
}
.page-contabilidade p { line-height: 1.6; margin-bottom: 1rem; }

/* Quem Somos */
.about-grid {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}
.about-text { flex: 1; }
.about-img { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
}
.about-img img { 
    max-width: 100%; 
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}
.why-us {
    background: #fff;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #f09348;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.why-us h4 { margin-bottom: 1rem; color: #333; font-size: 1.2rem;}
.why-us ul { margin-left: 1.5rem; }
.why-us li { margin-bottom: 0.5rem; }
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}
.btn-primary { background: #f09348; color: white; }
.btn-primary:hover { background: #fa9c61; box-shadow: 0 4px 8px rgba(255, 175, 122, 0.4); }
.btn-secondary { background: transparent; border: 2px solid #f09348; color: #f09348; }
.btn-secondary:hover { background: #f09348; color: white; }

/* Servicos Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-top: 4px solid #f09348; /* Cor a condizer com tema */
    position: relative;
    padding-bottom: 5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 175, 122, 0.15);
}
.service-card .card-icon {
    font-size: 2.5rem;
    color: #f09348;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.service-card h3 { color: #333; margin-bottom: 0.8rem; font-size: 1.4rem; font-weight: 700;}
.service-card .intro { font-weight: 500; color: #666; margin-bottom: 1.5rem; line-height: 1.5;}
.service-card h4 { color: #f09348; margin-top: 2rem; margin-bottom: 0.8rem; font-size: 0.95rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px;}
.service-card ul { margin-left: 0; padding-left: 0; list-style: none; font-size: 0.95rem; margin-bottom: 1.5rem; }
.service-card ul li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; color: #555; }
.service-card ul li::before {
    content: '\f00c'; /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #f09348;
}
.service-card .link-action {
    position: absolute;
    bottom: 2rem;
    color: #fff;
    background-color: #f09348;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.service-card .link-action:hover { background-color: #fa9c61; text-decoration: none; color: #fff; }

/* Banner Destaque */
.banner-destaque {
    padding: 5rem 2rem;
    color: #fff;
    background-color: #f09348;
}
.bg-peach { background-color: #f09348; }
.banner-destaque h2 { font-size: 2.4rem; margin-bottom: 1rem; }
.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.5;
}
.destaque-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 3rem auto;
}
.destaque-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
}
.destaque-item:hover { transform: translateY(-5px); }
.destaque-item i { font-size: 2.2rem; opacity: 0.9; }
.destaque-item span { font-weight: 500; line-height: 1.4; font-size: 0.95rem; }

.btn-primary.dark { background: #333; color: #fff; padding: 1rem 2rem; font-size: 1.1rem; }
.btn-primary.dark:hover { background: #000; box-shadow: none;}
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; display: inline-block; }

/* Para Quem Trabalhamos */
.audiences-wrapper { margin-top: 3rem; }
.segment-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ddd;
    color: #444;
}
.mt-large { margin-top: 4rem; }
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.audience-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.aud-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #b3c6ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.aud-card h4 { margin-bottom: 0.5rem; color: #333; }
.aud-card p { font-size: 0.95rem; }
.aud-tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: #666;
    font-weight: 600;
}

/* Formulário e Footer */
.form-wrapper {
    max-width: 800px;
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 0 auto;
}
.contact-form { margin-top: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-row { display: flex; gap: 1.5rem; }
.form-group.half, .form-group.third { flex: 1; }
.mt-3 { margin-top: 2rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: #444; }
.contact-form small { display: block; color: #777; margin-bottom: 0.5rem; font-size: 0.85rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #f09348;
    box-shadow: 0 0 0 2px rgba(255, 175, 122, 0.2);
}
.radio-group label {
    display: block;
    font-weight: normal;
    margin-bottom: 0.4rem;
    cursor: pointer;
}
.radio-group input { margin-right: 0.5rem; }
.w-100 { width: 100%; font-size: 1.1rem; padding: 1rem; }
.footer { background: #fff; color: #666; padding: 2rem 0; font-size: 0.9rem; margin-top: 2rem; border-top: 1px solid #eee;}

@media (max-width: 768px) {
    .about-grid { flex-direction: column; }
    .hero-contabilidade { height: 40vh; }
    .hero-content h1 { font-size: 2.2rem; }
    
    .form-row { flex-direction: column; gap: 0; }
    .navbar { padding: 1rem; flex-direction: column; gap: 1rem; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
}

/* ========================================================== */
/* ESTILOS DA PÁGINA ARQUITETURA E PORTFÓLIO                  */
/* ========================================================== */

.page-arquitetura {
    height: auto;
    color: #4a4a4a;
    background-color: #fafafa;
}

.page-arquitetura .nav-links a:hover { color: #8c9c86; }
.page-arquitetura .btn-nav { background-color: #8c9c86; color: #fff !important; }
.page-arquitetura .btn-nav:hover { background-color: #7a8874; }
.page-arquitetura .section-subtitle { color: #8c9c86; }

.page-arquitetura .btn-primary { background: #8c9c86; color: white; }
.page-arquitetura .btn-primary:hover { background: #7a8874; box-shadow: 0 4px 8px rgba(140, 156, 134, 0.4); }

.portfolio-hero {
    background-color: #8c9c86;
    color: white;
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.portfolio-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.portfolio-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    cursor: pointer;
    background: #fff;
    aspect-ratio: 4/3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-back {
    display: inline-block;
    margin: 2rem 0 0 2rem;
    color: #8c9c86;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.portfolio-back:hover {
    color: #5d6859;
}

.portfolio-back i {
    margin-right: 8px;
}



.page-arquitetura .portfolio-card {
    transition: box-shadow 0.3s ease;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.page-arquitetura .portfolio-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.page-arquitetura .portfolio-card:hover img {
    transform: scale(1.08) !important;
}



/* Hero Banner Arquitetura */
.hero-arquitetura {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/portfolio/Ambidata/studioworkers_escritorio_00017.JPG') center/cover;
    padding: 6rem 2rem 8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
}




/* ========================================================== */
/* LIGHTBOX PARA PORTFÓLIO                                    */
/* ========================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    border-radius: 4px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    line-height: 1;
}
.lightbox-close:hover { color: #8c9c86; }

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 60px;
    font-weight: 300;
    cursor: pointer;
    user-select: none;
    padding: 20px;
    transition: all 0.3s ease;
    z-index: 10000;
}
.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }

.lightbox-prev:hover, .lightbox-next:hover { color: #fff; transform: translateY(-50%) scale(1.1); }

@media (max-width: 1024px) {
    .lightbox-prev { left: 0px; font-size: 40px; }
    .lightbox-next { right: 0px; font-size: 40px; }
    .lightbox-close { right: 20px; top: 10px; }
}

/* ========================================================== */
/* MELHORIAS DE LAYOUT ARQUITETURA                            */
/* ========================================================== */
.split-about {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}
.split-about .about-img {
    flex: 1;
}
.split-about .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.split-about .about-text {
    flex: 1;
    font-size: 1.1rem;
    color: #555;
}
@media (max-width: 900px) {
    .split-about { flex-direction: column; gap: 2rem; }
}

.contact-modern {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('images/portfolio/Ambidata/studioworkers_escritorio_00017.JPG') center/cover;
    padding: 6rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 4rem auto;
    max-width: 1200px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.contact-modern h2 { color: #fff; font-size: 2.5rem; font-weight: 300; margin-bottom: 1rem; }
.contact-modern p { color: #ddd; font-size: 1.2rem; margin-bottom: 2rem; }
.contact-modern .email-box {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1.3rem;
    color: #fff;
    backdrop-filter: blur(10px);
}
.contact-modern a { color: #8c9c86; text-decoration: none; font-weight: bold; }





  /* ========================================================== */
  /* HERO PORQUE APOSTAR NA STUDIOWORKERS */
  /* ========================================================== */
  .why-us-hero {
      position: relative;
      background: url('images/graph-data-show-summary-analysis-icon-graphic.jpg') center/cover no-repeat;
      padding: 2rem;
      text-align: center;
      color: #fff;
      margin-top: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: calc(100vh - 105px);
  }
  .why-us-overlay {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(15, 15, 15, 0.85); /* Overlay bem escuro inspirado na imagem (Elisabete Martins) */
      z-index: 1;
  }
  .why-us-content {
      width: 100%;
      position: relative;
      z-index: 2;
      max-width: 1000px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  .why-us-icon {
      margin-bottom: 1rem;
      margin-top: 1rem;
  }
  .why-us-content h2 {
      font-size: 3.5rem;
      font-weight: 300;
      margin-bottom: 0.5rem;
      font-family: 'Playfair Display', serif; /* Font estilo clássica e luxuosa */
  }
  .why-us-subtitle {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      color: #ccc;
      margin-bottom: 3rem;
      text-transform: uppercase;
      letter-spacing: 2px;
      padding-bottom: 2rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      width: 80%;
  }

  /* Grid dos pontos e vantagens */
  .why-us-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      margin-bottom: 3rem;
  }
  .why-us-item {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(193, 155, 94, 0.2);
      padding: 1.5rem;
      border-radius: 8px;
      width: clamp(250px, 30%, 300px);
      transition: 0.3s;
  }
  .why-us-item:hover {
      background: rgba(255,255,255,0.08);
      border-color: rgba(193, 155, 94, 0.6);
  }
  .why-us-item strong {
      display: block;
      color: #dcb36d; /* Dourado escuro / gold */
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
      text-transform: uppercase;
      letter-spacing: 1px;
  }
  .why-us-item p {
      color: #aaa;
      font-size: 0.95rem;
  }

  /* Botão Gold (CTA) */
  .btn-gold {
      display: inline-block;
      padding: 1rem 2.5rem;
      background: #c19b5e;
      color: #111;
      font-weight: bold;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 2px;
      transition: 0.3s background;
      border-radius: 4px;
      font-size: 0.95rem;
  }
  .btn-gold:hover {
      background: #d6b37b;
      color: #000;
  }
  .cta-actions { margin-top: 1rem; }












.hero-arquitetura-new { background: url('images/portfolio/Ambidata/studioworkers_escritorio_00017.JPG') center/cover no-repeat; }
.hero-arquitetura-new .why-us-overlay { background: rgba(10, 15, 10, 0.75); }






