/* ============================= */
/* CORES E CONFIGURAÇÕES GERAIS   */
/* ============================= */

:root {
    --navy: #040f25;
    --navy-light: #0d1e45;
    --grey: #ededed;
    --light-grey: #f7f7f8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--navy);
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body,
button,
a {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

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

button {
    color: inherit;
}

img {
    max-width: 100%;
}


/* ============================= */
/* BARRA SUPERIOR DA MAQUETE      */
/* ============================= */

.work-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: var(--navy);
    color: #ffffff;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.banner-mobile {
    display: none;
}


/* ============================= */
/* NAVBAR                         */
/* ============================= */

.site-header {
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 16px 0;
    border-bottom: 1px solid rgba(237, 237, 237, 0.7);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    transition: 0.3s ease;
}

.site-header.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--grey);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 3px rgba(4, 15, 37, 0.04);
}

.nav-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    margin-top: 2px;
    color: rgba(4, 15, 37, 0.7);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    color: rgba(4, 15, 37, 0.75);
    font-size: 14px;
    font-weight: 500;
}

.main-nav a {
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.main-nav a.active::after {
    transform: scaleX(1);
}

.nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--navy);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.nav-contact:hover {
    background: var(--navy-light);
}

.mobile-menu-button {
    display: none;
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    background: var(--navy);
    transition: 0.2s ease;
}

.mobile-menu-button.open span:first-child {
    transform: translateY(3px) rotate(45deg);
}

.mobile-menu-button.open span:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}


/* ============================= */
/* ACCUEIL - HERO                 */
/* ============================= */

.home-main {
    min-height: 60vh;
}

.hero {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 144px 48px 56px;
}

.hero-meta {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
}

.hero-badge {
    padding: 4px 12px;
    border: 1px solid var(--grey);
    border-radius: 999px;
    background: rgba(237, 237, 237, 0.55);
    color: rgba(4, 15, 37, 0.55);
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-sector {
    color: rgba(4, 15, 37, 0.4);
    font-size: 11px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 56px;
}

.hero-kicker {
    display: block;
    margin-bottom: 12px;
    color: rgba(4, 15, 37, 0.55);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    color: var(--navy);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 72px;
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -0.025em;
}

.hero h1 span {
    display: block;
    font-style: italic;
}

.hero-description {
    max-width: 576px;
    margin: 16px 0 0;
    color: rgba(4, 15, 37, 0.7);
    font-size: 16px;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    transition: 0.2s ease;
}

.button-primary {
    background: var(--navy);
    color: #ffffff;
}

.button-primary:hover {
    background: var(--navy-light);
}

.button-secondary {
    border: 1px solid rgba(4, 15, 37, 0.2);
    background: #ffffff;
}

.button-secondary:hover {
    border-color: var(--navy);
}


/* ============================= */
/* ACCUEIL - IMAGEM KUBA HOME     */
/* ============================= */

.hero-project {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--grey);
}

.hero-project > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-project-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 110px;
    padding: 64px 16px 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    color: #ffffff;
    background: linear-gradient(to top, rgba(4, 15, 37, 0.75), rgba(4, 15, 37, 0.15), transparent);
}

.project-small {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.project-title {
    display: block;
    margin-top: 2px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-style: italic;
}

.project-client {
    text-align: right;
    white-space: nowrap;
}


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

.site-footer {
    padding: 48px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--navy);
    color: #ffffff;
}

.footer-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

.footer-grid {
    padding-bottom: 48px;
    display: grid;
    grid-template-columns: 5fr 3fr 4fr;
    gap: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-logo {
    height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-brand-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
}

.footer-brand-subtitle {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.footer-description {
    max-width: 384px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.footer-contact span {
    color: #ffffff;
    font-weight: 500;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-title {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-column a {
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-links .official-site {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
}


/* ============================= */
/* OUTRAS PÁGINAS                 */
/* ============================= */

.page-content {
    width: 100%;
    max-width: 1000px;
    min-height: 65vh;
    margin: 0 auto;
    padding: 160px 30px 90px;
}

.page-content h1 {
    margin: 10px 0 20px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
}

.eyebrow {
    color: rgba(4, 15, 37, 0.55);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}


/* ============================= */
/* RESPONSIVE                     */
/* ============================= */

@media (max-width: 1023px) {
    .nav-container,
    .hero,
    .footer-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-project {
        max-width: 520px;
    }

    .hero h1 {
        font-size: 60px;
    }
}

@media (max-width: 767px) {
    .work-banner {
        height: 24px;
        font-size: 8px;
        letter-spacing: 0.16em;
    }

    .banner-desktop {
        display: none;
    }

    .banner-mobile {
        display: inline;
    }

    .site-header {
        top: 24px;
        padding: 10px 0;
    }

    .site-header.scrolled {
        padding: 8px 0;
    }

    .nav-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .brand {
        height: 30px;
    }

    .brand-name {
        font-size: 21px;
    }

    .nav-contact {
        display: none;
    }

    .mobile-menu {
        position: fixed;
        inset: 24px 0 0;
        z-index: 80;
        padding: 72px 24px 32px;
        display: none;
        flex-direction: column;
        background: #ffffff;
    }

    .mobile-menu.open {
        display: flex;
    }

    .mobile-menu nav {
        display: flex;
        flex-direction: column;
    }

    .mobile-menu nav a {
        padding: 16px 0;
        border-bottom: 1px solid var(--grey);
        color: rgba(4, 15, 37, 0.55);
        font-family: 'Cormorant Garamond', Georgia, serif;
        font-size: 28px;
    }

    .mobile-menu nav a.active {
        color: var(--navy);
    }

    .mobile-contact {
        margin-top: auto;
        padding: 14px;
        background: var(--navy);
        color: #ffffff;
        text-align: center;
        font-size: 14px;
        font-weight: 600;
    }

    .hero {
        padding: 112px 20px 32px;
    }

    .hero-meta {
        margin-bottom: 20px;
    }

    .hero-sector {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-project {
        max-width: none;
    }

    .footer-inner {
        padding: 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        align-items: stretch;
    }

    .button {
        justify-content: center;
        width: 100%;
    }

    .project-client {
        display: none;
    }
}


/* ============================= */
/* SCROLLBAR                      */
/* ============================= */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--grey);
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: var(--navy);
}


/* ============================= */
/* PÁGINA L'AGENCE                */
/* ============================= */

/* Primeira parte da página com o título e uma pequena descrição */
.agency-intro {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 150px 48px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: end;
}

.agency-intro h1 {
    margin: 14px 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.05;
}

.agency-intro h1 span {
    display: block;
    font-style: italic;
}

.agency-intro-text {
    max-width: 520px;
    color: rgba(4, 15, 37, 0.72);
    font-size: 17px;
    line-height: 1.7;
}


/* ============================= */
/* VALORES DA AGÊNCIA             */
/* ============================= */

/* Grelha com os quatro valores principais */
.agency-values {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 48px 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    border-top: 1px solid var(--grey);
}

.value-card {
    padding-top: 24px;
}

.card-number {
    margin: 0 0 10px;
    color: rgba(4, 15, 37, 0.4);
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
}

.value-card h2,
.method-card h3 {
    margin: 0 0 8px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
}

.value-card h2 {
    font-size: 28px;
}

.value-card > p:last-child,
.method-card > p:last-child {
    margin: 0;
    color: rgba(4, 15, 37, 0.68);
    font-size: 13px;
    line-height: 1.6;
}


/* ============================= */
/* MÉTODO DE TRABALHO             */
/* ============================= */

.agency-method {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 48px 96px;
}

.method-heading {
    margin-bottom: 44px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.method-heading h2 {
    margin: 12px 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
}

.method-heading > p {
    max-width: 430px;
    margin: 0;
    color: rgba(4, 15, 37, 0.65);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 21px;
    font-style: italic;
    line-height: 1.4;
}

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

.method-card {
    padding-top: 24px;
    border-top: 1px solid rgba(4, 15, 37, 0.18);
}

.method-card h3 {
    font-size: 27px;
}


/* ============================= */
/* L'AGENCE - RESPONSIVE          */
/* ============================= */

@media (max-width: 900px) {
    .agency-intro {
        padding: 120px 24px 48px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .agency-intro h1 {
        font-size: 46px;
    }

    .agency-values {
        padding: 28px 24px 64px;
        grid-template-columns: repeat(2, 1fr);
    }

    .agency-method {
        padding: 56px 24px 72px;
    }

    .method-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

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

@media (max-width: 560px) {
    .agency-intro h1 {
        font-size: 38px;
    }

    .agency-values,
    .method-grid {
        grid-template-columns: 1fr;
    }

    .method-heading h2 {
        font-size: 40px;
    }
}


/* Indicador do carrossel do método. Só aparece em ecrãs pequenos. */
.method-mobile-info {
    display: none;
}

@media (max-width: 900px) {
    /* No telemóvel, as etapas passam a deslizar horizontalmente. */
    .method-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .method-grid::-webkit-scrollbar {
        display: none;
    }

    .method-card {
        min-width: 86%;
        padding: 20px;
        border: 1px solid var(--grey);
        border-radius: 12px;
        background: rgba(237, 237, 237, 0.2);
        scroll-snap-align: center;
    }

    .method-mobile-info {
        margin-top: 12px;
        display: flex;
        justify-content: space-between;
        color: rgba(4, 15, 37, 0.45);
        font-size: 10px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}


/* Fundo da primeira metade da página L'agence, igual ao portfolio original */
.agency-panel {
    background: rgba(237, 237, 237, 0.3);
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
}

/* Pontos que mostram a posição no carrossel mobile */
.method-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.method-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(4, 15, 37, 0.25);
    transition: 0.2s ease;
}

.method-dot.active {
    width: 20px;
    background: var(--navy);
}

@media (max-width: 900px) {
    .method-mobile-info {
        justify-content: center;
        align-items: center;
        gap: 12px;
    }
}


/* EXPERTISES */
.expertises-page {
    padding-top: 128px;
    background: rgba(237, 237, 237, 0.25);
    border-bottom: 1px solid var(--grey);
}

.expertises-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 48px;
}

.expertises-heading {
    margin-bottom: 48px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.expertises-heading h1 {
    margin: 10px 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
}

.expertises-heading > p {
    max-width: 448px;
    margin: 0;
    color: rgba(4, 15, 37, 0.70);
    font-size: 14px;
}

.expertises-list {
    border-top: 1px solid rgba(4, 15, 37, 0.20);
}

.expertise-item {
    border-bottom: 1px solid rgba(4, 15, 37, 0.10);
}

.expertise-button {
    width: 100%;
    padding: 30px 0;
    border: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.expertise-name {
    display: flex;
    align-items: baseline;
    gap: 32px;
}

.expertise-name > span {
    color: rgba(4, 15, 37, 0.40);
    font-family: monospace;
    font-size: 14px;
    font-weight: 600;
}

.expertise-name h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 36px;
    font-weight: 400;
}

.expertise-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.expertise-right p {
    max-width: 448px;
    margin: 0;
    color: rgba(4, 15, 37, 0.50);
    font-size: 12px;
    text-align: right;
}

.expertise-symbol {
    width: 28px;
    font-size: 22px;
    text-align: center;
}

.expertise-mobile-text {
    display: none;
}

@media (max-width: 900px) {
    .expertises-page {
        padding-top: 96px;
    }

    .expertises-section {
        padding: 40px 24px;
    }

    .expertises-heading {
        margin-bottom: 24px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .expertises-heading h1 {
        font-size: 40px;
    }

    .expertise-right p {
        display: none;
    }

    .expertise-mobile-text {
        padding: 0 0 18px 56px;
        color: rgba(4, 15, 37, 0.75);
        font-size: 13px;
    }

    .expertise-item.open .expertise-mobile-text {
        display: block;
    }
}

@media (max-width: 640px) {
    .expertises-section {
        padding-right: 20px;
        padding-left: 20px;
    }

    .expertises-heading h1 {
        font-size: 30px;
    }

    .expertise-name {
        gap: 16px;
    }

    .expertise-name h2 {
        font-size: 22px;
    }

    .expertise-mobile-text {
        padding-left: 32px;
        font-size: 12px;
    }
}


/* CONTACT */
.contact-page {
    padding-top: 128px;
}

.contact-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 48px;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-left h1 {
    margin: 10px 0 16px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.08;
}

.contact-intro {
    margin: 0 0 32px;
    color: rgba(4, 15, 37, 0.75);
    font-size: 16px;
    line-height: 1.7;
}

.contact-details {
    padding-top: 16px;
    border-top: 1px solid var(--grey);
}

.contact-detail {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(237, 237, 237, 0.60);
}

.contact-detail small {
    margin-bottom: 3px;
    display: block;
    color: rgba(4, 15, 37, 0.50);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-detail a {
    font-size: 14px;
    font-weight: 500;
}

.contact-socials {
    padding-top: 4px;
    display: flex;
    gap: 12px;
}

.contact-socials a {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(237, 237, 237, 0.60);
    font-size: 12px;
    font-weight: 500;
}

.contact-socials a:hover {
    background: var(--navy);
    color: white;
}

.contact-bottom-text {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--grey);
    color: rgba(4, 15, 37, 0.60);
    font-size: 12px;
}

.contact-bottom-text strong {
    margin-bottom: 4px;
    display: block;
    color: var(--navy);
}

.contact-bottom-text p {
    margin: 0;
}

.contact-form-box {
    padding: 32px;
    border: 1px solid var(--grey);
    border-radius: 24px;
    background: rgba(237, 237, 237, 0.25);
}

.form-note {
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid var(--grey);
    border-radius: 12px;
    display: flex;
    gap: 8px;
    background: white;
    color: rgba(4, 15, 37, 0.70);
    font-size: 12px;
}

.form-note span {
    width: 16px;
    height: 16px;
    border: 1px solid var(--navy);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
}

.form-note p {
    margin: 0;
}

.form-row {
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.contact-form-box label {
    margin-bottom: 4px;
    display: block;
    color: rgba(4, 15, 37, 0.70);
    font-size: 12px;
    font-weight: 600;
}

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
    width: 100%;
    padding: 9px 14px;
    border: 1px solid var(--grey);
    border-radius: 12px;
    outline: none;
    background: white;
    color: var(--navy);
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-size: 14px;
}

.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
    border-color: var(--navy);
}

.contact-form-box textarea {
    resize: none;
}

.form-message {
    margin-bottom: 16px;
}

.form-submit {
    width: 100%;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.form-success {
    padding: 48px 20px;
    display: none;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.form-success.show {
    display: flex;
}

.success-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: white;
}

.form-success h2 {
    margin: 0 0 4px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
}

.form-success p {
    margin: 0;
    color: rgba(4, 15, 37, 0.70);
    font-size: 13px;
}

.form-success button {
    margin-top: 20px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--navy);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.nav-contact.contact-active {
    background: var(--grey);
    color: var(--navy);
}

@media (max-width: 900px) {
    .contact-page {
        padding-top: 96px;
    }

    .contact-section {
        padding: 40px 24px;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-left h1 {
        font-size: 40px;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding-right: 20px;
        padding-left: 20px;
    }

    .contact-left h1 {
        font-size: 30px;
    }

    .contact-form-box {
        padding: 16px;
        border-radius: 16px;
    }

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

    .contact-intro {
        font-size: 14px;
    }
}


/* PROJETS */
.projects-page {
    padding-top: 100px;
}

.projects-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 48px;
}

.projects-heading {
    margin-bottom: 40px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.projects-heading h1 {
    margin: 10px 0 4px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
}

.projects-heading > div > p:last-child {
    max-width: 672px;
    margin: 0;
    color: rgba(4, 15, 37, 0.65);
    font-size: 14px;
    line-height: 1.6;
}

.projects-badge {
    padding: 5px 12px;
    border: 1px solid var(--grey);
    border-radius: 999px;
    background: rgba(237, 237, 237, 0.45);
    color: rgba(4, 15, 37, 0.55);
    font-family: monospace;
    font-size: 10px;
}

.project-filters {
    margin-bottom: 40px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--grey);
    display: flex;
    gap: 6px;
    overflow-x: auto;
}

.project-filter {
    padding: 7px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(4, 15, 37, 0.65);
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.project-filter.active {
    background: var(--navy);
    color: white;
}

.projects-mobile-info {
    display: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
}

.project-card {
    grid-column: span 6;
    overflow: hidden;
    border: 1px solid var(--grey);
    border-radius: 16px;
    background: white;
    cursor: pointer;
}

.project-featured {
    grid-column: span 12;
}

.project-cover {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: #f8f6f7;
}

.project-featured .project-cover {
    height: 430px;
}

.project-cover img {
    width: 100%;
    height: 100%;
    display: block;
}

.project-cover.cover img {
    object-fit: cover;
}

.project-cover.contain img {
    padding: 16px;
    object-fit: contain;
}

.project-cover.blurred::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--project-image);
    background-position: center;
    background-size: cover;
    filter: blur(20px);
    opacity: 0.20;
    transform: scale(1.10);
}

.project-cover.blurred img,
.project-cover.blurred .project-real {
    position: relative;
    z-index: 1;
}

.project-real {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.project-info {
    padding: 28px;
}

.project-meta {
    margin-bottom: 9px;
    display: flex;
    gap: 7px;
    color: rgba(4, 15, 37, 0.55);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.project-info h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 30px;
    font-weight: 400;
}

.project-info > p {
    margin: 9px 0 0;
    color: rgba(4, 15, 37, 0.70);
    font-size: 14px;
    line-height: 1.65;
}

.project-bottom {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--grey);
    display: flex;
    justify-content: space-between;
}

.project-bottom > span:first-child {
    color: rgba(4,15,37,.40);
    font-family: monospace;
    font-size: 10px;
}

.project-link {
    font-size: 12px;
    font-weight: 600;
}

.projects-empty {
    margin-top: 20px;
    padding: 60px 20px;
    border: 1px dashed var(--grey);
    border-radius: 16px;
    text-align: center;
}


/* MODAL PROJET */
body.modal-open {
    overflow: hidden;
}

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    overflow-y: auto;
    padding: 32px;
    background: rgba(0,0,0,.60);
    backdrop-filter: blur(4px);
}

.project-modal.open {
    display: block;
}

.project-modal-background {
    position: fixed;
    inset: 0;
}

.project-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    background: white;
    box-shadow: 0 25px 70px rgba(4,15,37,.28);
}

.project-modal-top {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 12px 24px;
    border-bottom: 1px solid var(--grey);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.96);
}

.project-modal-top button {
    padding: 6px 8px;
    border: 0;
    background: transparent;
    color: rgba(4,15,37,.65);
    font-size: 12px;
    cursor: pointer;
}

.modal-x {
    font-size: 24px !important;
}

.modal-cover {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: var(--grey);
}

.modal-cover img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.modal-cover.cover img {
    object-fit: cover;
}

.modal-cover.contain img {
    padding: 16px;
    object-fit: contain;
}

.modal-cover.kid-cover {
    height: auto;
    padding: 32px;
    background: #f8f6f7;
}

.modal-cover.kid-cover img {
    width: auto;
    max-width: 100%;
    max-height: 620px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.modal-blur {
    position: absolute;
    inset: 0;
    background-image: var(--project-image);
    background-size: cover;
    background-position: center;
    filter: blur(22px);
    opacity: .20;
    transform: scale(1.10);
}

.modal-real {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    left: 20px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-content {
    padding: 40px;
}

.modal-project-heading h2 {
    margin: 8px 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
}

.modal-project-heading > p {
    max-width: 760px;
    margin: 12px 0 0;
    color: rgba(4,15,37,.70);
    font-size: 16px;
    line-height: 1.7;
}

.modal-source {
    margin-top: 14px;
    padding: 8px 15px;
    border: 1px solid rgba(4,15,37,.20);
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
}

.modal-two-columns {
    margin-top: 46px;
    padding: 28px 0;
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
}

.modal-two-columns p {
    margin: 8px 0 0;
    color: rgba(4,15,37,.70);
    font-size: 14px;
    line-height: 1.7;
}

.modal-small-title {
    display: block;
    color: rgba(4,15,37,.45);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.modal-small-title.second {
    margin-top: 24px;
}

.modal-services {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
}

.modal-services div {
    padding: 10px;
    border-radius: 8px;
    background: rgba(237,237,237,.45);
    font-size: 12px;
}

.modal-deliverables {
    margin-top: 46px;
    padding: 28px;
    border-radius: 16px;
    background: var(--navy);
    color: white;
}

.modal-deliverables > span {
    color: rgba(255,255,255,.50);
    font-size: 10px;
    text-transform: uppercase;
}

.modal-deliverables > h3 {
    margin: 5px 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 30px;
    font-weight: 300;
}

.deliverables-grid {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1px;
    background: rgba(255,255,255,.15);
}

.deliverables-grid > div {
    padding: 20px;
    background: var(--navy);
}

.deliverables-grid h4 {
    margin: 5px 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
}

.deliverables-grid p {
    color: rgba(255,255,255,.65);
    font-size: 12px;
}

.modal-gallery-section {
    margin-top: 46px;
}

.modal-gallery-section > h3 {
    margin: 4px 0 16px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 30px;
    font-weight: 400;
}

.modal-wide-card {
    margin: 0 0 16px;
    overflow: hidden;
    border: 1px solid var(--grey);
    border-radius: 12px;
    background: white;
}

.modal-wide-card figcaption,
.normal-gallery figcaption {
    padding: 16px;
}

.modal-wide-card figcaption p,
.normal-gallery figcaption p {
    margin: 5px 0 0;
    color: rgba(4,15,37,.60);
    font-size: 11px;
}

.simple-carousel {
    position: relative;
    background: #f7f8fa;
}

.simple-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.simple-slide {
    min-width: 100%;
    padding: 20px;
    scroll-snap-align: center;
}

.carousel-portrait {
    position: relative;
    max-width: 620px;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: white;
}

.kuba-carousel .carousel-portrait {
    max-width: 560px;
}

.carousel-portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-portrait span,
.carousel-post span {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(4,15,37,.85);
    color: white;
    font-size: 10px;
}

.carousel-post {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 16px;
    background: white;
}

.carousel-post img {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
}

.carousel-left,
.carousel-right {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    transform: translateY(-50%);
    cursor: pointer;
}

.carousel-left {
    left: 12px;
}

.carousel-right {
    right: 12px;
}

.single-gallery-image {
    padding: 20px;
    background: #f7f8fa;
    text-align: center;
}

.single-gallery-image img {
    max-height: 760px;
    border-radius: 8px;
}

.instagram-box iframe {
    width: 100%;
    height: 560px;
    border: 0;
}

.instagram-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.instagram-info > a {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid rgba(4,15,37,.20);
    border-radius: 999px;
    font-size: 12px;
}

.normal-gallery {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
}

.normal-gallery.one-item {
    grid-template-columns: 1fr;
}

.normal-gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--grey);
    border-radius: 12px;
}

.normal-gallery img,
.normal-gallery video {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    background: #f7f8fa;
    object-fit: cover;
}

.normal-gallery video {
    background: var(--navy);
    object-fit: contain;
}

.normal-gallery img.contain-image {
    padding: 8px;
    object-fit: contain;
}

.modal-result {
    margin-top: 46px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(237,237,237,.35);
}

.modal-result p {
    color: rgba(4,15,37,.70);
    font-size: 14px;
}

.modal-navigation {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--grey);
    display: flex;
    justify-content: space-between;
}

.modal-navigation button {
    padding: 9px 16px;
    border: 1px solid var(--grey);
    border-radius: 999px;
    background: white;
    cursor: pointer;
}

.modal-contact-cta {
    margin-top: 32px;
    padding: 32px;
    border-radius: 16px;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-contact-cta h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 300;
}

.modal-contact-cta p {
    color: rgba(255,255,255,.65);
    font-size: 12px;
}

.modal-contact-cta a {
    padding: 10px 20px;
    border-radius: 999px;
    background: white;
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .projects-page {
        padding-top: 96px;
    }

    .projects-section {
        padding: 40px 20px;
    }

    .projects-heading {
        margin-bottom: 24px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .projects-heading h1 {
        font-size: 30px;
    }

    .projects-mobile-info {
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
        font-size: 10px;
    }

    .projects-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
    }

    .project-card,
    .project-featured {
        min-width: 82vw;
        max-width: 330px;
    }

    .project-cover,
    .project-featured .project-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .project-info {
        padding: 16px;
    }

    .project-info h2 {
        font-size: 24px;
    }

    .project-modal {
        padding: 0;
    }

    .project-modal-box {
        min-height: 100vh;
        border-radius: 0;
    }

    .modal-cover {
        height: 260px;
    }

    .modal-content {
        padding: 28px 20px;
    }

    .modal-project-heading h2 {
        font-size: 30px;
    }

    .modal-two-columns,
    .modal-services,
    .deliverables-grid,
    .normal-gallery {
        grid-template-columns: 1fr;
    }

    .instagram-box iframe {
        height: 500px;
    }

    .instagram-info,
    .modal-contact-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .modal-navigation {
        flex-direction: column;
        gap: 10px;
    }
}
