/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0A1128; /* Blau navy profund, elegant i selecte */
    --white: #FFFFFF;
    --gray-soft: rgba(10, 17, 40, 0.1); /* Per a línies subtils */
}

body {
    background-color: var(--white);
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.05em;
    height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Contenidor principal amb fons net i padding editorial */
.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   EDITORIAL SUBTLE LINES (Estructura visual fina)
   ========================================================================== */
.editorial-line {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--gray-soft);
    z-index: 1;
    pointer-events: none;
}
.line-left { left: 4rem; }
.line-right { right: 4rem; }

@media (max-width: 768px) {
    .editorial-line { display: none; }
    .wrapper { padding: 0 1.5rem; }
}

/* ==========================================================================
   HEADER / LOGO
   ========================================================================== */
.main-header {
    padding-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 2.25rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    text-align: center;
    margin-right: -0.35em; /* Compensa l'últim letter-spacing per centrat perfecte */
}

.minimal-nav {
    margin-top: 1.5rem;
}

.nav-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: 0.2em;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.hero-content {
    max-width: 600px;
}

.subtext-top {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 3.5rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--navy);
}

.divider {
    width: 40px;
    height: 1px;
    background-color: var(--navy);
    margin: 2.5rem auto;
    opacity: 0.3;
}

.brand-description {
    font-size: 0.9rem;
    font-weight: 200;
    line-height: 1.8;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

/* ==========================================================================
   MANIFESTO SECTION
   ========================================================================== */
.manifesto-section {
    text-align: center;
    padding-bottom: 4rem;
}

.manifesto-text {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    border-top: 1px solid var(--gray-soft);
    padding: 2rem 0 3.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.footer-left p {
    opacity: 0.5;
}

.social-link {
    color: var(--navy);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 2px;
}

/* Efecte animat de línia minimalista en l'hover d'Instagram */
.social-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--navy);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ==========================================================================
   ANIMATIONS (Soft Fade-in en carregar la pàgina)
   ========================================================================== */
.fade-in {
    animation: softLoad 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================================================== */
@media (max-width: 600px) {
    .logo { font-size: 1.75rem; }
    .main-title { font-size: 2.2rem; }
    .main-footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .brand-description { font-size: 0.85rem; }
}