/* ============================================
   ARMAN | Arquitetura e Engenharia
   Stylesheet Principal
   ============================================ */

/* --- Fontes da marca (Helvetica Now Display) --- */
@font-face {
    font-family: 'Helvetica Now Display';
    src: url('../fonts/HelveticaNowDisplay-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Now Display';
    src: url('../fonts/HelveticaNowDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Now Display';
    src: url('../fonts/HelveticaNowDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00243F;
    --primary-light: #003a66;
    --white: #FFFFFF;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font-heading: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    --font-body: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, Arial, sans-serif;

    --header-height: 80px;
    --container-width: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 48px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow 0.4s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 44px;
    width: auto;
    transition: opacity var(--transition);
}

.logo .logo-dark {
    display: block;
}

.logo .logo-light {
    display: none;
}

.site-header.scrolled .logo .logo-dark {
    display: block;
}

.site-header.scrolled .logo .logo-light {
    display: none;
}

/* Nav */
.nav-list {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-700);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.site-header.scrolled .nav-link {
    color: var(--gray-700);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: width var(--transition);
}

.site-header.scrolled .nav-link::after {
    background: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Social Icons */
.header-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 32px;
    padding-left: 32px;
    border-left: 1px solid var(--gray-200);
}

.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: color var(--transition);
}

.header-social-link:hover {
    color: var(--primary);
}

.site-header.scrolled .header-social-link {
    color: var(--gray-500);
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    position: relative;
    transition: background var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: transform var(--transition), background var(--transition);
}

.site-header.scrolled .hamburger,
.site-header.scrolled .hamburger::before,
.site-header.scrolled .hamburger::after {
    background: var(--primary);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--primary);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--primary);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 999;
    overflow-y: auto;
    max-height: calc(100vh - var(--header-height));
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-top: 1px solid var(--gray-100);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav {
    padding: 16px 24px;
}

.mobile-nav-list {
    text-align: left;
}

.mobile-nav-list li {
    margin-bottom: 0;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-list li:last-child {
    border-bottom: none;
}

.mobile-nav-list a {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-700);
    padding: 14px 0;
    transition: color var(--transition);
}

.mobile-nav-list a:hover {
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 500px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 0 24px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.125rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--white);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background var(--transition), color var(--transition);
}

.hero-cta:hover {
    background: var(--white);
    color: var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    stroke: var(--white);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* --- Sections Base --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--primary);
    margin: 16px auto 0;
}

/* --- Quem Somos --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-gallery {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Cards */
/* Equipe — foto à esquerda, bio à direita (mesmo padrão de Quem Somos) */
.team-feature {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
    margin-top: 56px;
}

.team-feature-photo {
    width: 100%;
    height: 513px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(0, 36, 63, 0.12);
}

.team-feature-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-feature-text {
    padding: 8px 0;
}

.team-feature-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 1.4px;
    color: var(--primary);
    margin-bottom: 22px;
    text-transform: uppercase;
    line-height: 1.3;
}

.team-feature-bio p {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.team-feature-bio p + p {
    margin-top: 18px;
}

.team-feature-bio p strong {
    color: var(--primary);
    font-weight: 600;
}

/* --- Serviços --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    height: 320px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-bg {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 36, 63, 0.9) 0%, rgba(0, 36, 63, 0.3) 100%);
    transition: background var(--transition);
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(to top, rgba(0, 36, 63, 0.95) 0%, rgba(0, 36, 63, 0.6) 100%);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--transition);
}

.service-card:hover .service-card-content {
    transform: translateY(0);
}

.service-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card-content p {
    font-size: 0.875rem;
    opacity: 0;
    line-height: 1.6;
    transition: opacity 0.4s ease;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.service-card:hover .service-card-content p {
    opacity: 0.9;
    max-height: 200px;
}

/* --- Portfolio Section --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--gray-300);
    background: transparent;
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 2px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: transform var(--transition), opacity var(--transition);
}

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

.project-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-info {
    padding: 20px 0 8px;
}

.project-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.project-card-location {
    font-size: 0.825rem;
    color: var(--gray-500);
}

.portfolio-cta {
    text-align: center;
    margin-top: 48px;
}

.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- Contact Section --- */
.contact-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 36, 63, 0.12);
}

/* Painel azul de informações */
.contact-info-panel {
    background: var(--primary);
    color: var(--white);
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info-panel::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.contact-info-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    line-height: 1.3;
    margin-bottom: 14px;
}

.contact-info-sub {
    font-size: 0.92rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 36px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-info-item > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.contact-info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.55;
}

.contact-info-value {
    font-size: 0.98rem;
    color: var(--white);
    word-break: break-word;
}

a.contact-info-value:hover {
    text-decoration: underline;
}

.contact-social {
    display: flex;
    gap: 14px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.contact-social a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Formulário */
.contact-form-panel {
    padding: 48px 44px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-400);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 36, 63, 0.1);
}

.contact-form textarea {
    height: 130px;
    resize: vertical;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 40px;
    margin-top: 4px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    border-radius: 8px;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 36, 63, 0.18);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary svg {
    transition: transform var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* --- Partners --- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.partners-grid img {
    max-height: 60px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity var(--transition), filter var(--transition);
}

.partners-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- Footer --- */
/* --- Mídia e Eventos --- */
.media-section {
    background: var(--gray-50);
}

.media-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.media-header h2 {
    grid-column: 2;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-800);
    text-align: center;
    white-space: nowrap;
}

.media-header-divider {
    grid-column: 1;
    height: 1px;
    background: var(--gray-300);
    width: 100%;
}

.media-see-all {
    grid-column: 3;
    justify-self: end;
    font-size: 0.82rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color var(--transition);
}

.media-see-all:hover {
    color: var(--primary);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.media-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.media-card-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.media-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card:hover .media-card-image img {
    transform: scale(1.05);
}

.media-card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.media-card-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.4;
}

.media-card-cta {
    align-self: flex-start;
    background: var(--primary);
    color: var(--white);
    padding: 8px 18px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 2px;
    transition: background var(--transition);
}

.media-card:hover .media-card-cta {
    background: var(--primary-light);
}

/* --- Vídeo Homepage (full width) --- */
.video-section {
    padding: 0;
}

.video-section > .container {
    padding-top: 64px;
    padding-bottom: 36px;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

/* O iframe é ampliado e centralizado para recortar o chrome do YouTube
   (logo, botão compartilhar, "Mais vídeos") que fica nas bordas/base.
   pointer-events: none impede que o hover acione a interface nativa. */
.video-player,
.video-frame iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 132%;
    height: 132%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

/* Camada que impede a interface nativa do player de aparecer
   e permite pausar/reproduzir ao clicar no vídeo */
.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
}

.video-controls {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.video-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(0, 36, 63, 0.55);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background var(--transition), transform var(--transition);
}

.video-btn:hover {
    background: rgba(0, 36, 63, 0.85);
    transform: scale(1.06);
}

/* Play / Pause: por padrão tocando (mostra ícone de pausa) */
.video-play .icon-play { display: none; }
.video-play.is-paused .icon-play { display: block; }
.video-play.is-paused .icon-pause { display: none; }

/* Som */
.video-sound .icon-sound { display: none; }
.video-sound.is-on .icon-sound { display: block; }
.video-sound.is-on .icon-muted { display: none; }

.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 40px 0 0;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 16px 0 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: flex-start;
}

.footer-icon {
    width: 150px;
    height: 150px;
}

/* Contato */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    opacity: 0.85;
    white-space: nowrap;
}

.footer-contact svg {
    opacity: 0.8;
    flex-shrink: 0;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Navegação em 2 colunas, estilo do exemplo (maiúsculas) */
.footer-links-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    column-gap: 56px;
    row-gap: 18px;
}

.footer-links a {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

/* Instagram (alinhado à direita) */
.footer-social-col {
    justify-self: end;
    align-self: center;
}

.footer-socials {
    display: flex;
    gap: 14px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 18px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    opacity: 0.55;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* --- Page Header (internal pages) --- */
.page-header {
    padding: 56px 0 56px;
    background: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 36, 63, 1) 0%, rgba(0, 60, 100, 0.9) 100%);
    pointer-events: none;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* --- Project Hero Banner --- */
.project-hero {
    position: relative;
    height: 50vh;
    min-height: 360px;
    max-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 36, 63, 0.85) 0%, rgba(0, 36, 63, 0.3) 50%, transparent 100%);
}

.project-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px 48px;
}

.project-hero-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.project-hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.project-hero-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* --- Project Detail --- */
.project-detail {
    padding: 60px 0 80px;
}

.project-detail-description {
    max-width: 800px;
    margin-bottom: 48px;
}

.project-detail-description p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray-600);
}

.project-detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.project-detail-gallery-item {
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
}

.project-detail-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-detail-gallery-item:hover img {
    transform: scale(1.03);
}

.project-detail-back {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .project-hero {
        height: 40vh;
        min-height: 280px;
    }

    .project-hero-title {
        font-size: 1.75rem;
    }

    .project-hero-content {
        padding-bottom: 32px;
    }

    .project-detail-gallery {
        grid-template-columns: 1fr;
    }
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

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

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    padding: 16px;
    transition: opacity var(--transition);
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* --- Form Messages --- */
.form-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* --- Slider --- */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0;
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 3;
}

.slider-prev:hover,
.slider-next:hover {
    opacity: 1;
}

.slider:hover .slider-prev,
.slider:hover .slider-next {
    opacity: 1;
}

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

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

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    padding: 0;
}

.slider-dot.active {
    background: var(--white);
    border-color: var(--white);
}

/* Hero Slider specific */
.hero-slider .slider {
    position: absolute;
    inset: 0;
    border-radius: 0;
}

.hero-slider .slider-slide .hero-bg {
    width: 100%;
    height: 100%;
}

.hero-slider .slider-dots {
    bottom: 30px;
}

.hero-slider .slider-prev,
.hero-slider .slider-next {
    opacity: 0.7;
    width: 50px;
    height: 50px;
}

.hero-slider:hover .slider-prev,
.hero-slider:hover .slider-next {
    opacity: 1;
}
