@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Outfit:wght@300;400;600&family=Playfair+Display:ital,wght@1,500&family=Cormorant+Garamond:ital,wght@1,500;1,600&family=Parisienne&display=swap');

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

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #050302;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overscroll-behavior: none;
}

body {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
}

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

* { cursor: none !important; }

::-webkit-scrollbar { display: none; width: 0; }

/* Em ecrãs táteis não existe cursor real: esconder os elementos de cursor personalizado
   e devolver o comportamento normal de toque (evita bolinhas "presas" no ecrã) */
@media (pointer: coarse) {
    * { cursor: auto !important; }
    .cursor-inner, .cursor-outer { display: none !important; }
}

#webgl {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    outline: none;
}

/* Cursor */
.cursor-inner {
    position: fixed; top: 0; left: 0;
    width: 6px; height: 6px;
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}
.cursor-outer {
    position: fixed; top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

/* Header (independent of the cinematic fade, always present) */
.main-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 200;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 60px;
    box-sizing: border-box;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.main-header.solid {
    background: rgba(5, 3, 2, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Italiana', serif; font-size: 14px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; }
.brand-logo {
    width: 34px; height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.header-nav { display: flex; align-items: center; gap: 22px; }
.nav-link {
    color: #ffffff; text-decoration: none;
    font-size: 10px; text-transform: uppercase; letter-spacing: 2px;
    font-weight: 500; transition: color 0.3s;
    white-space: nowrap;
}
.nav-link:hover { color: #ba9a42; }
.nav-dot { width: 3px; height: 3px; background: rgba(255, 255, 255, 0.25); border-radius: 50%; flex-shrink: 0; }
.nav-sep {
    width: 1px; height: 12px; background: rgba(255, 255, 255, 0.18); margin: 0 2px;
}
.contact-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px;
    background: #ffffff; color: #000000;
    text-decoration: none;
    font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}
.btn-circle {
    display: inline-block; width: 6px; height: 6px;
    border: 1px solid #000000; border-radius: 50%; background: transparent;
}
.contact-btn:hover { transform: scale(1.05); background: #f0f0f0; }

.header-actions { display: flex; align-items: center; gap: 16px; }

/* Hamburger (hidden on desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px; height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 210;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Fullscreen mobile nav panel */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(5, 3, 2, 0.97);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.mobile-nav-link {
    color: #fff6ed;
    text-decoration: none;
    font-family: 'Italiana', serif;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.mobile-nav-link:active { color: #ba9a42; }

/* Cinematic overlay (this whole group fades out on exit) */
.cinematic-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    pointer-events: none;
    padding: 0 60px 40px 60px;
    box-sizing: border-box;
    will-change: opacity;
}

/* aiai */

.cinematic-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: black;
    pointer-events: none;

    animation: fadeFromBlack 5s ease forwards;
}

@keyframes fadeFromBlack {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


/* Slides */
.slide { position: absolute; bottom: 12%; pointer-events: none; }
.slide2 { position: absolute; bottom: 52%; pointer-events: none;}

#slide-1 { left: 0; width: 100%; }
#slide-1 .slide-title { margin-left: 60px; }
#slide-1 .desc-row { position: relative; display: flex; width: 100%; }
#slide-1 .col-1 {
    margin-left: 60px;
    width: calc(25vw - 60px);
    max-width: calc(25vw - 60px);
}
#slide-1 .col-2 {
    position: absolute;
    left: calc(25vw + 40px);
    width: calc(25vw - 60px);
    max-width: calc(25vw - 60px);
}

#slide-2 { left: 0; width: 100%; }
#slide-2-img {
    border-radius: 16px;
    position: fixed;
    top: 90px;
    left: 60px;
    width: calc(25vw - 60px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    opacity: 0;
    will-change: opacity;
}
#slide-2-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
#slide-2-img.active { clip-path: inset(0 0 0 0); opacity: 1; }
#slide-2-img.active img { transform: scale(1); }

#slide-2-img-2 {
    border-radius: 16px;
    position: fixed;
    bottom: 90px;
    right: 60px;               /* Em vez de left */ 
    width: calc(25vw - 60px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;

    clip-path: inset(0 0 100% 0);
    opacity: 0;

    transition:
        clip-path 1.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.8s ease;
}

#slide-2-img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#slide-2-img-2.active {
    clip-path: inset(0 0 0 0);
    opacity: 1;
}

#slide-2-img-2.active img {
    transform: scale(1);
}

#slide-2 .slide2-title { margin-left: calc(25vw + 40px); transform: translateY(-95px); }
#slide-2 .slide-desc {
    position: fixed;
    top: calc(25vw + 54px);
    left: 60px;
    margin-left: 0;
    width: calc(25vw - 60px);
    max-width: calc(25vw - 60px);
}
#slide-2 .slide-desc-2 {
    top: auto;
    left: auto;
    bottom: calc(25vw + 54px);
    right: 60px;
    width: calc(25vw - 60px);
    max-width: calc(25vw - 60px);
}

#slide-3 {
    left: calc(50vw + 20px);
    width: calc(25vw - 60px);
    max-width: calc(25vw - 60px);
    bottom: 65%;
    transform: translateY(-95px);
}
#slide-3 .slide-title { white-space: nowrap; }
#slide-3 .slide-desc {
    position: absolute;
    top: 136px;
    left: calc(25vw - 20px);
    width: calc(25vw - 60px);
    max-width: calc(25vw - 60px);
}

#slide-3-img {
    border-radius: 16px;
    position: fixed;
    bottom: 90px;
    left: 60px;
    width: calc(25vw - 60px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transition: clip-path 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}
#slide-3-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
#slide-3-img.active { clip-path: inset(0 0 0 0); opacity: 1; }
#slide-3-img.active img { transform: scale(1); }
#slide-3-img .slide-image-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    margin: 0;
    padding: 36px 22px 22px 22px;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 300;
    color: #f1e7de;
    letter-spacing: 0.3px;
    background: linear-gradient(180deg, rgba(5,3,2,0) 0%, rgba(5,3,2,0.5) 45%, rgba(5,3,2,0.92) 100%);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s cubic-bezier(0.25,1,0.5,1) 0.5s,
                transform 0.8s cubic-bezier(0.25,1,0.5,1) 0.5s;
    z-index: 3;
}
#slide-3-img.active .slide-image-caption { opacity: 1; transform: translateY(0); }

#slide-4 { left: calc(25% + 40px); max-width: 600px; }

.slide-title {
    font-family: 'Italiana', serif;
    font-size: 116px;
    line-height: 1.0;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: 	#f9cdd4;
    -webkit-text-stroke: 0.5px rgba(0,0,0,0.5);
     
    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.80),
        0 8px 12px rgba(0, 0, 0, 0.65),
        0 20px 40px rgba(0, 0, 0, 0.40),
        0 0 30px rgba(0, 0, 0, 0.25);
}

.slide2-title {
    font-family: 'Italiana', serif;
    font-size: 116px;
    line-height: 1.0;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: 	#f9cdd4;
    -webkit-text-stroke: 0.5px rgba(0,0,0,0.5);
     
    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.80),
        0 8px 12px rgba(0, 0, 0, 0.65),
        0 20px 40px rgba(0, 0, 0, 0.40),
        0 0 30px rgba(0, 0, 0, 0.25);
}
.slide-desc {
    font-size: 16px; line-height: 1.7; font-weight: 300;
    color: #d1d5db; letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.4s;
}
.slide.active .slide-desc { opacity: 1; transform: translateY(0); }
.slide2.active .slide-desc { opacity: 1; transform: translateY(0); }

.slide-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    filter: blur(12px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide2-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    filter: blur(12px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.slide.active .slide-title .char { opacity: 1; transform: translateY(0); filter: blur(0); }
.slide.active { pointer-events: auto; }

.slide2.active .slide2-title .char { opacity: 1; transform: translateY(0); filter: blur(0); }
.slide2.active { pointer-events: auto; }
/* Grid overlay */
.story-dashes {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column; gap: 12px;
}
.story-dash { width: 2px; height: 40px; background: rgba(255, 255, 255, 0.15); border-radius: 2px; }
.story-dash-fill { width: 100%; height: 0%; background: #ffffff; border-radius: 2px; }

.grid-horizontal-line {
    position: fixed; top: 70px; left: 0; right: 0;
    width: 100%; height: 1px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 5; pointer-events: none;
    will-change: opacity;
}
.grid-lines {
    position: fixed; top: 0; left: 40px; right: 40px;
    width: calc(100% - 80px); height: 100vh;
    display: flex; justify-content: space-between;
    z-index: 5; pointer-events: none;
    will-change: opacity;
}
.grid-line {
    position: relative; width: 1px; height: 100%;
    background: rgba(255, 255, 255, 0.12);
}
.grid-line:nth-child(3) { margin-top: 70px; height: calc(100vh - 70px); }
.grid-dot {
    position: absolute; left: 50%;
    transform: translate(-50%, -50%);
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.15);
}

/* Spacer that reserves scroll distance for the brigadeiro entrance, before the cinematic zone begins */
.intro-spacer {
    height: 300vh;
    width: 100%;
    pointer-events: none;
}

/* ---- Intro title overlay: dark cinematic shadow + presentation title ---- */
.intro-title-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    will-change: opacity;
}
.intro-title-shadow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.86) 52%, rgba(3, 2, 1, 0.97) 100%);
}
.intro-title-content {
    position: relative;
    text-align: center;
    padding: 0 24px;
    max-width: 920px;
}
.intro-main-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(38px, 6.4vw, 78px);
    color: #f9cdd4;
    letter-spacing: 1px;
    line-height: 1.24;
    margin: 0 0 22px 0;
    text-shadow: 0 6px 34px rgba(0, 0, 0, 0.55);
}
.intro-subtitle {
    font-family: 'Parisienne', cursive;
    font-weight: 400;
    font-size: clamp(24px, 3.4vw, 40px);
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
    text-shadow: 0 4px 26px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .intro-main-title { font-size: clamp(30px, 8vw, 46px); }
    .intro-subtitle { font-size: clamp(20px, 5.5vw, 28px); }
}

/* Spacer that reserves scroll distance for the fixed cinematic layer */
.cinematic-spacer {
    height: 1700vh;
    width: 100%;
    pointer-events: none;
}

/* ---------- Post-cinematic sections ---------- */
.post-cinematic {
    position: relative;
    z-index: 50;
    background:
        radial-gradient(ellipse 120% 60% at 50% 0%, #1a0f08 0%, #050302 55%);
    padding-top: 140px;
}

.section-eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ba9a42;
    margin-bottom: 18px;
    font-weight: 600;
}
.section-title {
    font-family: 'Italiana', serif;
    font-size: 64px;
    line-height: 1.05;
    color: #fff6ed;
    margin-bottom: 22px;
    font-weight: 400;
    letter-spacing: 1px;
}
.section-lede {
    font-size: 16px;
    line-height: 1.75;
    color: #d1d5db;
    font-weight: 300;
    max-width: 46ch;
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.25,1,0.5,1),
                transform 0.9s cubic-bezier(0.25,1,0.5,1),
                filter 0.9s cubic-bezier(0.25,1,0.5,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); filter: blur(0); }

/* Gallery */
.gallery-section {
    padding: 0 60px 160px 60px;
    max-width: 1500px;
    margin: 0 auto;
}
.gallery-header { margin-bottom: 56px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-columns: 120px;
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 16px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0c0705;
}
.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 3; }
.gallery-item:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(7) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(8) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(9) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(10){ grid-column: span 2; grid-row: span 1; }

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 1.1s cubic-bezier(0.25,1,0.5,1), filter 0.6s ease;
    filter: saturate(0.94) brightness(0.96);
}
.gallery-item:hover img { transform: scale(1.11); filter: saturate(1.05) brightness(1.02); }

.gallery-item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(5,3,2,0.85) 100%);
    pointer-events: none;
}
.gallery-caption {
    position: absolute;
    left: 18px; bottom: 14px;
    z-index: 2;
    font-family: 'Italiana', serif;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #fff6ed;
    pointer-events: none;
}
.gallery-index {
    position: absolute;
    top: 14px; right: 16px;
    z-index: 2;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.55);
    pointer-events: none;
}

/* Contact */
.contact-section {
    padding: 40px 60px 160px 60px;
    max-width: 1500px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: end;
    padding-top: 70px;
}
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.contact-link {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff6ed;
    transition: gap 0.35s cubic-bezier(0.25,1,0.5,1), color 0.3s ease;
}
.contact-links .contact-link:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.contact-link:hover { gap: 26px; color: #ba9a42; }
.contact-link svg { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; }
.contact-link-text { display: flex; flex-direction: column; gap: 4px; }
.contact-link-label {
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}
.contact-link-value {
    font-family: 'Italiana', serif;
    font-size: 26px;
    letter-spacing: 0.5px;
}
.contact-link-arrow {
    margin-left: auto;
    font-size: 20px;
    opacity: 0.5;
    transform: translateX(0);
    transition: transform 0.35s cubic-bezier(0.25,1,0.5,1), opacity 0.3s ease;
}
.contact-link:hover .contact-link-arrow { transform: translateX(6px); opacity: 1; }

.contact-note {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 22px;
}

.site-footer {
    padding: 30px 60px 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
   }

.footer-hover{
    transition: transform 0.7s cubic-bezier(0.25,1,0.5,1), color 0.7s ease;
}
.footer-hover:hover{
    transform: scale(1.1);
    color: #ffffff;
}

@media (max-width: 900px) {
    .main-header { padding: 18px 24px; }
    .header-nav { display: none; }
    .menu-toggle { display: flex; }
    .cinematic-container { padding: 0 24px 24px 24px; }
    .grid-line:nth-child(2), .grid-line:nth-child(3), .grid-line:nth-child(4) { display: none; }
    .slide-title, .slide2-title { font-size: 52px; }

    /* ---- Slide 1: mantém-se em coluna única ---- */
    #slide-1 .col-1, #slide-1 .col-2 { width: 80vw; max-width: 80vw; position: static; margin-left: 24px !important; }
    #slide-1 .desc-row { flex-direction: column; }

    /* ---- Slide 2: as duas imagens lado a lado no topo, título e textos empilhados por baixo ---- */
    #slide-2-img, #slide-2-img-2 {
        position: fixed;
        top: 90px;
        bottom: auto;
        width: 40vw;
        max-width: 40vw;
    }
    #slide-2-img { left: 24px; right: auto; }
    #slide-2-img-2 { right: 24px; left: auto; }

    #slide-2 {
        position: fixed;
        top: calc(90px + 40vw + 24px);
        bottom: auto;
        left: 0; right: 0;
        width: 100%;
        padding: 0 24px;
        box-sizing: border-box;
    }
    #slide-2 .slide2-title { margin-left: 0; transform: none; }
    #slide-2 .slide-desc,
    #slide-2 .slide-desc-2 {
        position: static;
        top: auto; left: auto; right: auto; bottom: auto;
        width: 100%; max-width: 100%;
        margin: 0 0 16px 0;
    }

    /* ---- Slide 3: imagem centrada no topo, título e texto centrados por baixo ---- */
    #slide-3-img {
        position: fixed;
        top: 90px;
        bottom: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 58vw;
        max-width: 58vw;
    }
    #slide-3 {
        position: fixed;
        top: calc(90px + 58vw + 24px);
        bottom: auto;
        left: 0; right: 0;
        width: 100%;
        max-width: 100%;
        padding: 0 24px;
        box-sizing: border-box;
        transform: none;
        text-align: center;
    }
    #slide-3 .slide-title { white-space: normal; }
    #slide-3 .slide-desc {
        position: static;
        top: auto; left: auto;
        width: 100%; max-width: 100%;
        margin-left: 0 !important;
    }

    .gallery-section, .contact-section { padding-left: 24px; padding-right: 24px; }
    .section-title { font-size: 40px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
    .contact-inner { grid-template-columns: 1fr; gap: 32px; }
    .site-footer { flex-direction: column; gap: 10px; align-items: flex-start; padding: 24px; }
}

@media (max-width: 500px) {
    .slide-title, .slide2-title { font-size: 38px; }
    #slide-2-img, #slide-2-img-2 { top: 84px; }
    #slide-2 { top: calc(84px + 40vw + 18px); }
    #slide-3-img { top: 84px; width: 66vw; max-width: 66vw; }
    #slide-3 { top: calc(84px + 66vw + 18px); }
}

@media (max-width: 480px) {
    .contact-btn { display: none; }
    .brand-name { font-size: 12px; letter-spacing: 3px; }
    .section-title { font-size: 32px; }
    .intro-main-title { font-size: clamp(26px, 8vw, 38px); }
}
