/* Diogo Ribeiro Arquitetura - Estilo Oficial Minimalista */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Lato', sans-serif;
    --color-dark: #222222;
    --color-gray: #777777;
    --color-light-gray: #999999;
    --color-border: #eaeaea;
    --color-bg-light: #fbfbfb;
    --color-footer: #eeeeee;
    --container-max: 1240px;
}

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

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background-color: #ffffff;
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

.project-gallery-item,
.project-card,
.hero-slider {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.project-gallery-item img {
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.container-fluid {
    width: 100%;
    padding: 0 4%;
}

/* ==================== HEADER ==================== */
.site-header {
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, border 0.3s ease;
}

.header-home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
}

.header-inner {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.header-logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
    align-items: center;
}

.main-nav li a {
    display: inline-block;
    letter-spacing: 1.5px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.main-nav li a .menu-title {
    font-family: var(--font-heading);
}

.main-nav li a .menu-subtitle {
    display: none;
}

.header-home .main-nav li a {
    color: var(--home-menu-color, #ffffff);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.header-home .main-nav li a:hover {
    opacity: 0.8;
}

.header-inner .main-nav li a {
    color: var(--inner-menu-color, #333333);
}

.header-inner .main-nav li a:hover,
.header-inner .main-nav li.active a {
    color: #000000;
    opacity: 0.7;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.header-home .mobile-toggle span {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.header-inner .mobile-toggle span {
    background-color: #222222;
}

/* ==================== HOME SLIDER ==================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: #000000;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000000;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-image,
.hero-slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-slide-image {
    z-index: 1;
}

.hero-slide-video {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.hero-slide-video.is-playing {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.45) 100%);
    z-index: 3;
    pointer-events: none;
}


.slide-caption {
    position: absolute;
    bottom: 60px;
    left: 5%;
    z-index: 10;
    color: #ffffff;
    max-width: 600px;
}

.slide-caption .slide-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
    margin-bottom: 6px;
    opacity: 0.9;
}

.slide-caption .slide-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

.slide-caption a.slide-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.7);
    padding-bottom: 3px;
    transition: border-color 0.25s, opacity 0.25s;
}

.slide-caption a.slide-link:hover {
    border-color: #fff;
    opacity: 0.8;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 20px;
    opacity: 0.6;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.slider-arrow:hover {
    opacity: 1;
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slider-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

/* ==================== PAGE TITLES & HEADINGS ==================== */
.page-header-section {
    padding: 60px 0 35px 0;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--color-dark);
}

.page-subtitle {
    font-size: 14px;
    color: var(--color-gray);
    margin-top: 6px;
    font-weight: 300;
}

/* ==================== PROJETOS (PORTFÓLIO) ==================== */
.portfolio-filter-bar {
    margin-bottom: 40px;
}

.portfolio-filter-bar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.filter-btn {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--color-gray);
    cursor: pointer;
    padding: 4px 0;
    position: relative;
    transition: color 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: #000000;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #000000;
}

/* Project Grid Configurations */
.projects-grid {
    display: grid;
    margin-bottom: 80px;
    transition: all 0.3s ease;
}

.projects-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

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

.projects-grid.cols-1 {
    grid-template-columns: 1fr;
}

.projects-grid.gap-normal {
    gap: 28px;
}

.projects-grid.gap-none {
    gap: 0;
}

/* Project Card Hover Single Line Title (Like AD3) */
.project-card {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-card.hidden {
    display: none;
}

.project-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.projects-grid.cols-2 .project-card-thumb {
    aspect-ratio: 16 / 10;
}

.project-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
}

.project-card:hover .project-card-thumb img {
    transform: scale(1.04);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-title-single {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 2.5px;
    line-height: 1.5;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    width: 100%;
    max-width: 100%;
    border: none;
    padding: 6px 10px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    transform: translateY(6px);
    transition: transform 0.35s ease;
}

.project-card:hover .project-card-title-single {
    transform: translateY(0);
}

@media (max-width: 576px) {
    .project-card-overlay {
        padding: 14px;
    }
    .project-card-title-single {
        font-size: 13px;
        letter-spacing: 1.8px;
        line-height: 1.4;
        padding: 6px 4px;
    }
}

.project-detail-fluid {
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .project-detail-fluid {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
    }
}

/* ==========================================================================
   RETÂNGULO BRANCO FIXO NO CANTO INFERIOR ESQUERDO (ESTILO KALIUM - IMAGENS 2 E 3)
   ========================================================================== */
.project-info-dock {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    border: none;
    border-radius: 0;
    max-width: calc(100vw - 80px);
    box-sizing: border-box;
    transition: box-shadow 0.25s ease;
}

/* Estado Recolhido (Imagem 2) */
.project-info-dock .dock-collapsed {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 24px 34px 22px 30px;
    cursor: pointer;
    background: #ffffff;
    min-width: 240px;
    user-select: none;
    box-sizing: border-box;
    border: none;
    outline: none;
}

.project-info-dock .dock-collapsed:hover {
    background: #ffffff;
}

.project-info-dock .dock-collapsed-inner {
    display: flex;
    flex-direction: column;
}

.project-info-dock .dock-title {
    font-family: 'Lato', sans-serif;
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000000;
    line-height: 1.15;
    margin: 0 0 6px 0;
    display: block;
}

.project-info-dock .dock-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #777777;
    letter-spacing: 0.2px;
    line-height: 1.2;
    margin: 0;
    text-transform: lowercase;
    display: block;
}

.project-info-dock .dock-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    margin-top: 2px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.project-info-dock .dock-collapsed:hover .dock-arrow {
    color: #000000;
    transform: translate(2px, -2px);
}

/* Estado Expandido (Imagem 3) */
.project-info-dock .dock-expanded {
    display: none;
    width: 380px;
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 32px 34px 32px 32px;
    background: #ffffff;
    position: relative;
    box-sizing: border-box;
}

/* Quando ativo / expandido */
.project-info-dock.is-expanded .dock-collapsed {
    display: none !important;
}

.project-info-dock.is-expanded .dock-expanded {
    display: block !important;
}

.project-info-dock.is-expanded {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

/* Botão de Fechar com Seta ↙ */
.dock-close-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.dock-close-arrow:hover {
    color: #000000;
    transform: translate(-1px, 1px);
}

.dock-title-expanded {
    font-family: 'Lato', sans-serif;
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000000;
    line-height: 1.15;
    margin: 0 0 26px 0;
    padding-right: 32px;
    cursor: pointer;
}

.dock-section-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.dock-info-lines {
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #555555;
    line-height: 1.85;
}

.dock-info-lines strong,
.dock-info-lines b {
    font-weight: 600;
    color: #333333;
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
}

.dock-description {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #555555;
}

/* Mobile responsivo */
@media (max-width: 768px) {
    .project-info-dock {
        bottom: 15px;
        left: 15px;
        max-width: calc(100vw - 30px);
    }
    .project-info-dock .dock-collapsed {
        padding: 18px 22px;
        min-width: 200px;
        gap: 20px;
    }
    .project-info-dock .dock-title {
        font-size: 20px;
    }
    .project-info-dock .dock-expanded {
        width: 100%;
        max-width: calc(100vw - 30px);
        padding: 24px 22px;
        max-height: 70vh;
    }
}

/* AD3 All Images Gallery Grid */
.ad3-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

.ad3-gallery-item {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    border-radius: 2px;
}

.ad3-gallery-item:nth-child(1) {
    grid-column: span 2;
}

.ad3-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.ad3-gallery-item img:hover {
    opacity: 0.95;
    transform: scale(1.01);
}

.ad3-bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10px 60px 10px;
    border-top: 1px solid var(--color-border);
}

.ad3-nav-link {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    font-weight: 500;
    transition: opacity 0.2s;
}

.ad3-nav-link:hover {
    opacity: 0.65;
}

/* ==================== DETALHE DO PROJETO ==================== */
.project-detail-header {
    padding: 50px 0 30px 0;
}

.project-detail-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.project-detail-meta {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: 30px;
}

.project-detail-body {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.project-info-box {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: 4px;
    font-size: 14px;
}

.project-info-box h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.project-info-box p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.project-description {
    font-size: 15px;
    color: #444444;
}

.project-gallery-stacked {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
}

.project-gallery-stacked img {
    width: 100%;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.project-gallery-stacked img:hover {
    opacity: 0.95;
}

/* ==================== PÁGINA PERFIL ==================== */
.profile-section {
    padding: 40px 0 80px 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 70px;
    align-items: start;
}

.profile-photo {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.profile-photo-circle {
    width: 320px;
    max-width: 80vw;
    height: 320px;
    max-height: 80vw;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: #f8fafc;
}


.profile-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Abas do Perfil */
.profile-tabs {
    width: 100%;
}

.profile-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    border-bottom: 2px solid #eef2f6;
    margin-bottom: 30px;
}

.profile-tab-btn {
    background: none;
    border: none;
    padding: 12px 4px 14px 4px;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888888;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.profile-tab-btn:hover {
    color: #111111;
}

.profile-tab-btn.active {
    color: #111111;
    font-weight: 700;
    border-bottom-color: #111111;
}

.profile-tab-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.85;
}

.profile-tab-panel {
    display: none;
    animation: fadeInTab 0.35s ease;
}

.profile-tab-panel.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-tab-panel h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 4px;
    color: #111111;
}

.profile-tab-panel h3 small {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777777;
    font-weight: 400;
    margin-top: 6px;
    margin-bottom: 24px;
}

.profile-bio {
    font-size: 15px;
    line-height: 1.9;
    color: #444444;
}

.profile-bio p {
    margin-bottom: 18px;
}

.profile-meta-location {
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111111;
    margin-top: 28px;
    font-weight: 600;
}

.profile-meta-cau {
    font-size: 13px;
    color: #777777;
    margin-top: 8px;
}

/* Lista de Atuação */
.atuacao-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atuacao-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

.atuacao-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #111111;
    border-radius: 50%;
}

/* Grid de Cidades Atendidas */
.cidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cidades-grid li {
    font-size: 15px;
    color: #333333;
    padding-left: 18px;
    position: relative;
}

.cidades-grid li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #888888;
    font-size: 18px;
    line-height: 1;
    top: 0;
}

/* ==================== PÁGINA CONTATO (ESTILO MINIMALISTA ORIGINAL) ==================== */

.contact-page-clean {
    padding: 60px 0 70px 0;
    background: #ffffff;
}

.contact-clean-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-clean-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.contact-clean-title {
    font-family: var(--font-heading, 'Lato', sans-serif);
    font-size: 26px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.contact-clean-intro {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-size: 14px;
    line-height: 1.65;
    color: #666666;
    margin-bottom: 30px;
}

.contact-clean-intro p {
    margin-bottom: 12px;
}

.contact-clean-intro a {
    color: #444444;
    text-decoration: underline;
    transition: color 0.2s;
}

.contact-clean-intro a:hover {
    color: #000000;
}

.contact-clean-intro .contact-phone-block {
    margin-top: 14px;
    margin-bottom: 0;
    color: #666666;
}

/* Formulário Minimalista Sublinhado */
.contact-minimal-form {
    margin-top: 10px;
}

.contact-minimal-form .form-row-2cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 24px;
}

.form-group-minimal {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.form-group-minimal label {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-size: 13.5px;
    color: #555555;
    margin-bottom: 4px;
    font-weight: 400;
}

.form-group-minimal input,
.form-group-minimal textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d5d5d5;
    background: transparent;
    padding: 8px 0;
    font-family: inherit;
    font-size: 14px;
    color: #222222;
    border-radius: 0;
    outline: none;
    transition: border-color 0.25s ease;
}

.form-group-minimal input:focus,
.form-group-minimal textarea:focus {
    border-bottom-color: #333333;
}

.form-group-minimal textarea {
    min-height: 90px;
    resize: vertical;
    line-height: 1.6;
}

.form-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.btn-clean-submit {
    background: #737373;
    color: #ffffff;
    border: none;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.btn-clean-submit:hover {
    background: #4a4a4a;
}

.contact-alert {
    padding: 12px 16px;
    font-size: 13px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.contact-alert.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.contact-alert.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Responsividade Mobile */
@media (max-width: 900px) {
    .contact-clean-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-page-clean {
        padding: 40px 0;
    }
}

@media (max-width: 600px) {
    .contact-minimal-form .form-row-2cols {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Mapa no Contato */
.contact-map-section {
    width: 100%;
    margin-top: 40px;
    background: #e2e8f0;
}

.contact-map-wrapper {
    width: 100%;
    line-height: 0;
}

.contact-map-wrapper iframe {
    width: 100% !important;
    height: 460px !important;
    border: 0 !important;
    display: block;
    filter: grayscale(12%) contrast(1.02);
    transition: filter 0.3s ease;
}

.contact-map-wrapper iframe:hover {
    filter: none;
}

/* ==================== FOOTER ==================== */

.site-footer {
    background-color: var(--color-footer);
    padding: 60px 0 30px 0;
    font-size: 13px;
    color: var(--color-gray);
    letter-spacing: 0.5px;
    border-top: 1px solid var(--color-border);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--color-dark);
    margin-bottom: 16px;
    font-weight: 400;
}

.footer-address {
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 24px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.social-btn.facebook:hover { background-color: #1877f2; }
.social-btn.instagram:hover { background-color: #e4405f; }
.social-btn.linkedin:hover { background-color: #0077b5; }
.social-btn.whatsapp:hover { background-color: #25d366; }

/* Instagram Feed Section */
.footer-insta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.footer-insta-badge {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-dark);
}

.btn-follow-insta-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    color: #444444;
    background: #ffffff;
    border: 1px solid #d4d4d8;
    border-radius: 3px;
    transition: all 0.2s ease;
    line-height: 1;
    text-decoration: none;
}

.btn-follow-insta-header:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.btn-follow-insta-header svg {
    opacity: 0.85;
}

.btn-follow-insta-header:hover svg {
    opacity: 1;
}

.footer-insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.footer-insta-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 2px;
}

.footer-insta-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.footer-insta-thumb .insta-hover-icon {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-insta-thumb:hover img {
    transform: scale(1.08);
}

.footer-insta-thumb:hover .insta-hover-icon {
    opacity: 1;
}


.footer-bottom-bar {
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.scroll-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gray);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: color 0.2s;
}

.scroll-to-top:hover {
    color: var(--color-dark);
}

@media (max-width: 900px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ==================== LIGHTBOX MODAL ==================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .projects-grid.cols-3,
    .projects-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .profile-grid,
    .contact-grid,
    .project-detail-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -4px 0 25px rgba(0,0,0,0.15);
        padding: 80px 30px 40px 30px;
        transition: right 0.35s ease;
        z-index: 1000;
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .main-nav li a {
        text-align: left;
        color: #222222 !important;
        text-shadow: none !important;
    }
    .projects-grid.cols-2,
    .projects-grid.cols-3,
    .projects-grid.cols-4 {
        grid-template-columns: 1fr;
    }
    .footer-row {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .slide-caption {
        bottom: 40px;
        left: 8%;
        right: 8%;
    }
    .slide-caption .slide-title {
        font-size: 26px;
    }
}
