/* ============================================
   BLOCO DE PARIS — Portela-inspired theme
   Mobile-first, single breakpoint at 800px
   ============================================ */

/* --- Custom properties --- */
:root {
    --blue-deep: #002855;
    --blue-mid: #003F88;
    --blue-light: #1565C0;
    --blue-pale: #E3EDF7;
    --white: #FFFFFF;
    --gold: #C9A747;
    --gold-soft: #D4B96A;
    --gold-glow: rgba(201,167,71,0.15);
    --text-dark: #1A1F36;
    --text-body: #2D3348;
    --text-muted: #6B7394;
    --bg-light: #F5F7FA;
    --bg-warm: #FAFAF6;
    --radius: 6px;
    --shadow-sm: 0 1px 3px rgba(0,40,85,0.08);
    --shadow-md: 0 4px 20px rgba(0,40,85,0.12);
    --shadow-lg: 0 8px 40px rgba(0,40,85,0.18);
    --font-display: 'Abril Fatface', 'Georgia', serif;
    --font-body: 'Nunito Sans', 'Trebuchet MS', sans-serif;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--blue-light);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover, a:focus {
    color: var(--gold);
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--blue-deep);
    transition: box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.3em;
    text-decoration: none;
    line-height: 1;
}
.logo-bloco {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: 0.02em;
}
.logo-de {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gold);
    font-style: italic;
}
.logo-paris {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

/* Burger */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.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);
}

/* Nav mobile */
.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-deep);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-md);
}
.main-nav.open {
    display: block;
}
.main-nav ul {
    list-style: none;
    padding: 0.5rem 0;
}
.main-nav li {
    list-style: none;
}
.main-nav a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
    background: rgba(255,255,255,0.08);
    color: var(--gold);
}

/* --- Hero --- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--blue-deep);
}
.hero-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.75;
    object-fit: cover;
    min-height: 220px;
    max-height: 500px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(
        to top,
        rgba(0,40,85,0.85) 0%,
        rgba(0,40,85,0.4) 50%,
        rgba(0,40,85,0.2) 100%
    );
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.4em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-tagline {
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* --- Intro / About --- */
.intro {
    padding: 3rem 0 2rem;
    background: var(--white);
}
.intro .lead {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gold);
}
.intro .lead em {
    color: var(--blue-mid);
    font-style: italic;
}
.intro h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--blue-deep);
    margin-bottom: 1rem;
}
.intro p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* --- CTA band --- */
.cta-band {
    padding: 2rem 0;
    background: var(--blue-deep);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(201,167,71,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(201,167,71,0.06) 0%, transparent 60%);
}
.cta-flex {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.cta-item {
    text-align: center;
}
.cta-item p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}
.cta-item strong {
    color: var(--white);
}
.cta-link {
    display: inline-block;
    padding: 0.6rem 1.6rem;
    background: var(--gold);
    color: var(--blue-deep);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background var(--transition), transform var(--transition);
}
.cta-link:hover, .cta-link:focus {
    background: var(--gold-soft);
    color: var(--blue-deep);
    transform: translateY(-1px);
}

/* --- Gallery --- */
.gallery {
    padding: 3rem 0;
    background: var(--bg-light);
}
.gallery h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--blue-deep);
    margin-bottom: 1.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 6px;
    margin-bottom: 3rem;
}
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    z-index: 2;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Videos */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: var(--blue-deep);
}
.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Links section --- */
.links-section {
    padding: 3rem 0;
    background: var(--white);
}
.links-section h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--blue-deep);
    margin-bottom: 1.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--gold);
}
.links-section h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-mid);
    margin: 1.5rem 0 0.6rem;
}
.link-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0.5rem;
}
.link-list li {
    list-style: none;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0,40,85,0.06);
}
.link-list li:last-child {
    border-bottom: none;
}

/* --- Contact --- */
.contact-section {
    padding: 3rem 0;
    background: var(--blue-pale);
}
.contact-section h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--blue-deep);
    margin-bottom: 1.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--gold);
}
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--blue-deep);
    margin-bottom: 0.6rem;
}
.contact-card address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.6;
}
.contact-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}
.contact-card a {
    color: var(--blue-mid);
    font-weight: 600;
}

/* --- Credits --- */
.credits {
    padding: 2rem 0;
    background: var(--white);
}
.credits h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--blue-deep);
    margin-bottom: 0.6rem;
}
.credits-list {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Footer --- */
.site-footer {
    padding: 2rem 0 1.5rem;
    background: var(--blue-deep);
    text-align: center;
}
.footer-links {
    margin-bottom: 1rem;
}
.footer-links a {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--gold-soft);
}
.footer-sep {
    color: rgba(255,255,255,0.3);
    margin: 0 0.5em;
}
.footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    line-height: 1.5;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,15,35,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.lightbox[hidden] {
    display: none;
}
.lb-figure {
    max-width: 95vw;
    max-height: 90vh;
    text-align: center;
}
.lb-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.lb-caption {
    color: var(--gold);
    font-size: 0.9rem;
    margin-top: 0.8rem;
    font-weight: 600;
}
.lb-close, .lb-prev, .lb-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 2rem;
    padding: 0.5rem;
    transition: color var(--transition), transform var(--transition);
    line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
    color: var(--gold);
    transform: scale(1.15);
}
.lb-close {
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
}
.lb-prev {
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
}
.lb-next {
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
}
.lb-prev:hover, .lb-next:hover {
    transform: translateY(-50%) scale(1.15);
}

/* ============================================
   DESKTOP — min-width: 800px
   ============================================ */
@media (min-width: 800px) {
    html {
        scroll-padding-top: 80px;
    }

    .header-inner {
        padding: 0.6rem 1.25rem;
    }

    .menu-toggle {
        display: none;
    }
    .main-nav {
        display: block;
        position: static;
        background: none;
        border: none;
        box-shadow: none;
    }
    .main-nav ul {
        display: flex;
        gap: 0.2rem;
        padding: 0;
    }
    .main-nav a {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: var(--radius);
    }

    .hero-img {
        min-height: 350px;
    }

    .intro {
        padding: 4rem 0 3rem;
    }
    .intro .lead {
        font-size: 1.2rem;
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
    .intro h2 {
        font-size: 2.2rem;
    }
    .intro p {
        font-size: 1rem;
    }

    .cta-flex {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
    .cta-item {
        flex: 0 1 340px;
    }

    .gallery {
        padding: 4rem 0;
    }
    .gallery h2 {
        font-size: 2.2rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
        gap: 8px;
    }

    .video-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .video-list .video-embed:first-child {
        grid-column: 1 / -1;
    }

    .links-section {
        padding: 4rem 0;
    }
    .links-section h2 {
        font-size: 2.2rem;
    }

    .contact-section {
        padding: 4rem 0;
    }
    .contact-section h2 {
        font-size: 2.2rem;
    }
    .contact-grid {
        flex-direction: row;
    }
    .contact-card {
        flex: 1;
    }

    .lb-prev { left: 1.5rem; }
    .lb-next { right: 1.5rem; }
    .lb-close { top: 1.5rem; right: 1.5rem; }
}

/* --- Gold accent strip at top of page --- */
body::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
    position: sticky;
    top: 0;
    z-index: 101;
}

/* --- Subtle pattern overlay on hero --- */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}
.hero-overlay {
    z-index: 2;
}

/* --- Scroll animations --- */
@media (prefers-reduced-motion: no-preference) {
    .intro, .gallery, .links-section, .contact-section, .credits {
        animation: fadeInUp 0.6s ease both;
    }
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* --- Focus visible --- */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
