/* ============================================================
   HAKABA — style.css (limpo e organizado)
   ============================================================ */

/* ── BASE ─────────────────────────────────────────────────── */

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: #222;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.5px;
}

/* ── NAVBAR ───────────────────────────────────────────────── */

.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    box-sizing: border-box;
    border-bottom: 1px solid #ececec;
    z-index: 999;
}

.logo img{
    height: 58px;
    display: block;
}

.menu{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li a.active,
.menu li a:hover{
    border-bottom: 1px solid #000;
}

body{
    margin: 0;
    padding-top: 90px;
}

.menu-toggle,
#menuToggle{
    display: none;
}

/* ── HERO (homepage) ──────────────────────────────────────── */

.hero {
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
}

.hero .hero-content {
    padding: 0 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -1px;
    color: white;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
}

/* ── BOTÕES ───────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 15px;
}

.btn-light {
    background: white;
    color: black;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-dark {
    display: inline-block;
    padding: 15px 30px;
    background: #111;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    transform: translateY(-3px);
    background-color: #333;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ── HIGHLIGHTS (homepage) ────────────────────────────────── */

.highlights {
    background: #f8f8f8;
    padding: 50px 0;
    border-top: 1px solid #e5e5e5;
}

.service-card {
    text-align: center;
    padding: 20px 10px;
}

.service-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 15px;
}

.service-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.stats-side {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-left: 1px solid #ddd;
    height: 90px;
}

.stat-card {
    flex: 1;
    text-align: center;
    border-right: 1px solid #ddd;
    padding: 0 70px;
}

.stat-card:last-child {
    border-right: none;
}

.stat-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: #111;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 14px;
    color: #666;
}

/* ── SOBRE (homepage) ─────────────────────────────────────── */

.about {
    padding: 120px 80px;
    background: #f8f8f8;
}

.about img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 10px;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    color: #111;
    margin-bottom: 25px;
}

.about h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #c89b4a;
    margin-top: 15px;
}

.about p {
    font-size: 18px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 35px;
}

/* ── PROJETOS EM DESTAQUE (homepage) ──────────────────────── */

.products {
    padding: 80px 0;
}

.product-card {
    overflow: hidden;
    margin-bottom: 30px;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.produto-link {
    display: block;
    text-decoration: none;
    color: #222;
}

.produto-link h4 {
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.produto-link:hover h4 {
    color: #666;
}

/* ── PAGE HERO (páginas internas) ────────────────────────── */

.page-hero {
    margin-top: 0;
    height: 70vh;
    background: url('../images/FotoTeste2.jpg') center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 80px;
}

.page-hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 24px;
}

/* ── PAGE HERO — PROJETOS ─────────────────────────────────── */

.projetos-hero {
    margin-top: 0;
    height: 60vh;
    background: url('../images/LIV_01.jpg') center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.projetos-hero .hero-content {
    padding-left: 120px;
    color: white;
    position: relative;
    z-index: 2;
}

.projetos-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    margin-bottom: 20px;
}

.projetos-hero p {
    font-size: 24px;
}

/* ── PAGE HERO — CONTACTOS ────────────────────────────────── */

.page-hero-contactos {
    margin-top: 0;
    height: 70vh;
    background: url('../images/Show_04.jpg') center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.page-hero-contactos .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-left: 100px;
}

.page-hero-contactos h1 {
    font-size: 72px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.page-hero-contactos p {
    font-size: 28px;
}

/* ── PAGE HERO — PRODUTOS ─────────────────────────────────── */

.produtos-hero {
    margin-top: 0;
    height: 450px;
    background: url('../images/Estante_04.jpg') center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.produtos-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-left: 80px;
}

.produtos-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    margin-bottom: 20px;
}

.produtos-hero p {
    font-size: 24px;
}

/* ── OVERLAY (partilhado) ─────────────────────────────────── */

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

/* ── SOBRE NÓS — HISTÓRIA ─────────────────────────────────── */

.historia {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 100px 80px;
}

.historia-texto {
    flex: 1;
}

.historia-texto h2 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 600;
    color: #111;
    margin-bottom: 25px;
    line-height: 1.1;
}

.historia-texto p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.historia-img {
    flex: 1;
}

.historia-img img {
    width: 100%;
    border-radius: 10px;
}

.gold-line {
    width: 70px;
    height: 2px;
    background: #c89b4a;
    margin: 20px 0 35px;
}

/* ── SOBRE NÓS — VALORES ──────────────────────────────────── */

.valores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 80px;
    background: #0d0d0d;
}

.valor {
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.valor img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
}

.valor h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.valor p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
}

/* ── SEPARADOR ────────────────────────────────────────────── */

.separator {
    width: 90%;
    height: 1px;
    background-color: #ccc;
    margin: 0 auto;
}

/* ── PROJETOS — GRID ──────────────────────────────────────── */

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    padding: 100px;
}

.projeto {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.projeto a {
    text-decoration: none;
    color: inherit;
}

.projeto img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: 0.4s;
}

.projeto:hover img {
    transform: scale(1.05);
}

.projeto-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.projeto-info h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.projeto-info span {
    font-size: 16px;
    opacity: 0.9;
}

/* ── DETALHE DE PROJETO ───────────────────────────────────── */

.projeto-detalhe {
    padding-top: 40px;
    padding-bottom: 150px;
}

.projeto-detalhe .container {
    max-width: 100%;
    padding: 0 30px;
}

.galeria-item,
.galeria {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.galeria-item > div,
.galeria > div {
    overflow: hidden;
    cursor: pointer;
}

.galeria-item img,
.galeria img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.galeria-item > div:hover img,
.galeria > div:hover img {
    transform: scale(1.03);
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */

.lb-outerContainer {
    width: 95vw !important;
    height: auto !important;
}

.lb-image {
    width: 100% !important;
    height: auto !important;
    max-width: 95vw !important;
    max-height: 90vh !important;
}

.lb-container {
    padding: 0 !important;
}

.lb-dataContainer {
    width: 95vw !important;
}

.lightbox {
    width: 95vw !important;
}

.lightboxOverlay {
    opacity: 0.95 !important;
}

/* ── MODAL (carousel) ─────────────────────────────────────── */

.modal-content {
    background: #000;
    border: none;
}

.carousel-item img {
    height: 100vh;
    object-fit: contain;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 60px;
    height: 60px;
}

.fechar-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 9999;
    font-size: 1.5rem;
}

/* ── PRODUTOS — GRID ──────────────────────────────────────── */

.produtos {
    padding: 80px 8%;
}

.container-produtos {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.produto {
    text-align: center;
}

.produto a {
    text-decoration: none;
    color: #111;
}

.produto img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

.produto img:hover {
    transform: scale(1.03);
}

.produto h3 {
    margin-top: 20px;
    font-size: 22px;
    font-weight: 400;
}

/* ── CONTACTOS ────────────────────────────────────────────── */

.contactos {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 100px;
}

.info-contacto h2,
.formulario h2 {
    font-size: 48px;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
}

.linha-dourada {
    width: 60px;
    height: 2px;
    background: #c89b4a;
    margin: 20px 0 40px;
}

.item-contacto {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.item-contacto img {
    width: 35px;
    height: 35px;
}

.item-contacto h4 {
    margin-bottom: 8px;
}

.item-contacto p {
    line-height: 1.8;
}

.linha-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.formulario textarea {
    height: 180px;
    resize: none;
    margin-bottom: 20px;
}

.formulario button {
    background: #111;
    color: #fff;
    border: none;
    padding: 15px 35px;
    cursor: pointer;
}

/* ── MAPA ─────────────────────────────────────────────────── */

.mapa {
    width: 100%;
}

.mapa iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* ── FOOTER ───────────────────────────────────────────────── */

.footer {
    background: #0f0f0f;
    color: #fff;
}

.footer-top {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.footer-col {
    text-align: center;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-col p {
    font-size: 14px;
    color: #cfcfcf;
    margin-bottom: 15px;
}

.footer-center img {
    width: 220px;
    max-width: 100%;
}

.footer-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-btn:hover {
    background: #fff;
    color: #111;
}

.footer-bottom {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 35px 60px 25px;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    font-size: 13px;
    color: #cfcfcf;
}

.footer-bottom .socials {
    position: absolute;
    right: 60px;
    bottom: 25px;
    display: flex;
    gap: 20px;
}

.footer-bottom .socials a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.footer-bottom .socials a:hover {
    opacity: 0.7;
}

/* ── RESPONSIVO ───────────────────────────────────────────── */

/* Tablet (até 1024px) */
@media (max-width: 1024px) {

    /* Navbar */
    .navbar {
        padding: 15px 25px;
    }

    .navbar .logo img {
        height: 65px;
    }

    .navbar .menu {
        gap: 30px;
    }

    .navbar .menu li a {
        font-size: 16px;
    }

    /* Hero homepage */
    .hero h1 {
        font-size: 3.5rem;
    }

    /* Highlights */
    .stats-side {
        flex-wrap: wrap;
        row-gap: 20px;
    }

    .stat-card {
        flex: 1 1 45%;
        min-width: 0;
        padding: 10px 15px;
        border-right: none;
    }

    .stat-card:nth-child(odd) {
        border-right: 1px solid #ddd;
    }

    /* About */
    .about {
        padding: 80px 40px;
    }

    /* História */
    .historia {
        padding: 80px 40px;
        gap: 40px;
    }

    .historia-texto h2 {
        font-size: 44px;
    }

    /* Valores */
    .valores {
        grid-template-columns: repeat(2, 1fr);
        padding: 60px 40px;
    }

    /* Projetos grid */
    .projetos-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 60px 40px;
        gap: 25px;
    }

    /* Produtos grid */
    .container-produtos {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Galeria detalhe */
    .galeria-item,
    .galeria {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-top {
        padding: 40px 30px;
    }
}

/* Mobile (até 768px) */
@media (max-width: 768px) {
	
    html,
    body {
        overflow-x: hidden;
    }
    * {
        box-sizing: border-box;
    }
    img {
        max-width: 100%;
        height: auto;
    }

    .navbar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 15px !important;
        height: auto !important;
    }

    body {
        padding-top: 60px !important;
    }

    .logo {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .logo img {
        display: block !important;
        height: 40px !important;
        width: auto !important;
    }

    .menu {
        display: none;
    }


    /* Hero homepage */
    .hero {
        margin-top: 0;
        min-height: 70vh;
    }

    .hero .hero-content {
        padding: 0 20px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
        margin-right: 0;
        margin-bottom: 10px;
        display: block;
        width: calc(100% - 40px);
        text-align: center;
        box-sizing: border-box;
    }

    /* Highlights */
    .highlights {
        padding: 40px 0;
    }

    .service-card {
        margin-bottom: 25px;
    }

    .stats-side {
        flex-direction: column;
        height: auto;
        border-left: none;
        border-top: 1px solid #ddd;
    }

    .stat-card {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 25px 20px;
    }

    .stat-card:last-child {
        border-bottom: none;
    }

    /* About */
    .about {
        padding: 60px 25px;
    }

    .about img {
        height: 300px;
        margin-bottom: 30px;
    }

    .about h2 {
        font-size: 36px;
    }

    .about p {
        font-size: 16px;
    }

    /* História */
    .historia {
        flex-direction: column;
        padding: 60px 25px;
        gap: 30px;
    }

    .historia-texto h2 {
        font-size: 36px;
    }

    .historia-texto p {
        font-size: 16px;
    }

    /* Valores */
    .valores {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 20px;
        gap: 20px;
    }

    .valor h3 {
        font-size: 22px;
    }

    /* Projetos */
    .projetos-grid {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 20px;
    }

    .projeto img {
        height: 280px;
    }

    .projeto-info h3 {
        font-size: 22px;
    }

    /* Galeria */
    .galeria-item,
    .galeria {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    /* Produtos */
    .container-produtos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
    }

    /* Contactos */
    .contactos {
        grid-template-columns: 1fr;
        padding: 0 25px;
        gap: 40px;
        margin: 50px auto;
    }

    .linha-form {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 25px;
    }

    .footer-bottom {
        padding: 25px 25px 70px;
        text-align: center;
    }

    .footer-bottom .socials {
        position: static;
        justify-content: center;
        margin-top: 15px;
    }

    /* Heroes páginas internas */
    .page-hero,
    .projetos-hero,
    .page-hero-contactos,
    .produtos-hero {
        margin-top: 0 !important;
    }

    .page-hero { height: 50vh; }
    .projetos-hero { height: 50vh; }
    .page-hero-contactos { height: 50vh; }
    .produtos-hero { height: 350px; }

    .page-hero h1,
    .projetos-hero h1,
    .page-hero-contactos h1,
    .produtos-hero h1 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }

    .page-hero .hero-content,
    .projetos-hero .hero-content,
    .page-hero-contactos .hero-content,
    .produtos-hero .hero-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .page-hero p,
    .page-hero-contactos p,
    .produtos-hero p,
    .projetos-hero p {
        font-size: 0.95rem !important;
        white-space: normal !important;
        line-height: 1.5 !important;
    }

    /* Homepage — título e parágrafo */
    .hero h1 {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }

		.hero .hero-content {
		max-width: 700px;
		margin-left: 0;
	}

    .hero p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    /* Homepage — botões em coluna */
    .hero .btn {
        display: block !important;
        margin-bottom: 12px !important;
        margin-right: 0 !important;
        text-align: center !important;
        width: 90% !important;
    }

    /* Valores — cards em coluna */
    .valores-grid {
        flex-direction: column !important;
        align-items: center !important;
        overflow: hidden !important;
    }

    .valor-card {
        width: 90% !important;
        min-width: 0 !important;
    }

    /* Sobre Nós — hero historia */
    .hero-historia {
        height: 400px !important;
        margin-top: 0 !important;
    }

    .hero-historia .hero-content {
        left: 0 !important;
        padding: 0 20px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-historia .hero-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }

    .hero-historia .hero-content p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }

    /* Menu escondido no mobile */
    .navbar .menu {
        display: none;
    }

}

/* =========================
   HERO
========================= */

.hero-historia{
    position:relative;
    height:650px;
    overflow:hidden;
}

.hero-historia img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,.8) 0%,
        rgba(0,0,0,.45) 40%,
        rgba(0,0,0,.1) 100%
    );
}

.btn-gold{
    display:inline-block;
    padding:15px 35px;
    border:1px solid #c89b4a;
    color:white;
    text-decoration:none;
    transition:.3s;
}

.btn-gold:hover{
    background:#c89b4a;
}

/* =========================
   HISTORIA
========================= */

.historia-detalhada{
    padding:120px 0;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

.historia-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.historia-imagem img{
    width:100%;
    height:550px;
    object-fit:cover;
}

.subtitulo{
    color:#c89b4a;
    letter-spacing:3px;
    font-size:14px;
    display:block;
    margin-bottom:20px;
}

.historia-texto h2{
    font-family:'Playfair Display', serif;
    font-size:62px;
    line-height:1.1;
    color:#111;
    margin-bottom:25px;
}

.gold-line{
    width:70px;
    height:2px;
    background:#c89b4a;
    margin-bottom:35px;
}

.historia-texto p{
    font-size:18px;
    line-height:1.9;
    color:#555;
    margin-bottom:25px;
}

/* =========================
   CAPACIDADE PRODUTIVA
========================= */

.capacidade{
    background:#050505;
    color:white;
    padding:100px 0;
}

.capacidade h2{
    font-family:'Playfair Display', serif;
    font-size:50px;
    margin-bottom:20px;
}

.capacidade-grid{
    margin-top:60px;
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:30px;
}

.cap-card{
    text-align:center;
    padding:20px;
    border-left:1px solid rgba(255,255,255,.2);
}

.cap-card h3{
    color:#c89b4a;
    margin-bottom:15px;
}

.cap-card p{
    line-height:1.7;
    color:#ddd;
}

/* =========================
   PROCESSO
========================= */

.processo{
    padding:120px 0;
    background:#fff;
}

.processo h2{
    font-family:'Playfair Display', serif;
    font-size:52px;
    margin-bottom:60px;
}

.timeline{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:30px;
}

.step{
    text-align:center;
}

.step span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:70px;
    height:70px;
    margin:auto;
    border:2px solid #c89b4a;
    border-radius:50%;
    color:#c89b4a;
    font-weight:bold;
    margin-bottom:25px;
}

.step h3{
    margin-bottom:15px;
}

/* =========================
   VALORES
========================= */

.valores{
    padding:120px 0;
    background:#fff;
}

.valores .container{
    max-width:1400px;
    margin:0 auto;
    text-align:center;
}

.valores h2{
    font-size:3.5rem;
    margin-bottom:20px;
    font-family:'Playfair Display', serif;
}

.valores .gold-line{
    width:70px;
    height:2px;
    background:#c89b3c;
    margin:0 auto 70px;
}

.valores-grid{
    display:flex;
    justify-content:center;
    align-items:stretch;
    flex-wrap:wrap;
    gap:30px;
}

.valor-card{
    width:220px;
    min-height:280px;
    border:1px solid #e5e5e5;
    background:#fff;
    padding:35px 25px;
    text-align:center;
    transition:.3s ease;
}

.valor-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.valor-card i{
    font-size:55px;
    color:#c89b3c;
    margin-bottom:25px;
}

.valor-card h3{
    font-size:1.3rem;
    margin-bottom:15px;
}

.valor-card p{
    font-size:0.95rem;
    line-height:1.7;
    color:#666;
}

/* =========================
   CTA FINAL
========================= */

.cta-historia{
    position:relative;
    padding:140px 0;
    background:url('../images/fabrica-interior.jpg') center center/cover;
}

.cta-historia::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.7);
}

.cta-content{
    position:relative;
    z-index:2;
    text-align:center;
    max-width:900px;
    margin:auto;
    color:white;
}

.cta-content h2{
    font-family:'Playfair Display', serif;
    font-size:56px;
    line-height:1.2;
    margin-bottom:25px;
}

.cta-content p{
    font-size:20px;
    margin-bottom:40px;
}

/* =========================
   RESPONSIVO
========================= */

@media(max-width:992px){

    .historia-grid{
        grid-template-columns:1fr;
    }

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

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

    .valores-grid{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:50px;
    }

    .historia-texto h2{
        font-size:42px;
    }

}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {

    .navbar .menu {
        gap: 12px;
    }

    .navbar .menu li a {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .valores {
        grid-template-columns: 1fr;
    }

    .container-produtos {
        grid-template-columns: 1fr;
    }

    .projetos-hero h1,
    .page-hero-contactos h1 {
        font-size: 32px;
    }
}

.valores-inline-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.valores-inline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px #c89b4a, 0 0 25px 6px rgba(200, 155, 74, 0.15);
}

#voltarTopo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #555;
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    border-radius: 4px;
    transition: opacity 0.4s ease, background 0.3s;
    font-size: 1.2rem;
}

#voltarTopo:hover {
    background: #c9a25e;
}