/* ============================================
   RESET E VARIÁVEIS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e2a3a;
    --secondary-color: #2b4a8f;
    --accent-color: #4a7fd4;
    --accent-mid: #1e3d7a;
    --text-dark: #1c2430;
    --text-mid: #4a5568;
    --text-light: #f0f4f8;
    --bg-light: #f4f6f9;
    --bg-white: #ffffff;
    --bg-alt: #eef1f6;
    --bg-dark: #131c27;
    --border-color: #d0d9e8;
    --shadow: 0 2px 10px rgba(30, 42, 58, 0.1);
    --shadow-lg: 0 8px 32px rgba(30, 42, 58, 0.18);
    --shadow-blue: 0 4px 20px rgba(74, 127, 212, 0.2);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */
.navbar {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
    border-bottom: 2px solid var(--accent-mid);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: rgba(240, 244, 248, 0.85);
    text-decoration: none;
    transition: color 0.25s ease;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-menu a:hover { color: var(--accent-color); }

@media (max-width: 900px) {
    .nav-menu { gap: 0.7rem; font-size: 0.72rem; }
}
@media (max-width: 600px) {
    .nav-menu { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(160deg, var(--bg-dark) 0%, #1a2d4a 60%, #162238 100%);
    color: var(--text-light);
    padding: 120px 24px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(ellipse at 15% 40%, rgba(74, 127, 212, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(43, 74, 143, 0.15) 0%, transparent 55%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    letter-spacing: 1px;
    line-height: 1.15;
    color: #ffffff;
}

.hero-subtitle {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-style: italic;
    font-weight: 400;
}

.hero-desc {
    font-size: 0.9rem;
    color: rgba(240, 244, 248, 0.72);
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.hero-curator {
    font-size: 0.58rem;
    color: rgba(240, 244, 248, 0.28);
    letter-spacing: 0.3px;
}

.hero-curator strong {
    color: rgba(240, 244, 248, 0.38);
    font-weight: 700;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-indicator span {
    display: block;
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

@media (max-width: 768px) {
    .hero { padding: 80px 20px 70px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.15rem; }
}

/* ============================================
   SEÇÕES
   ============================================ */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
    animation: fadeInUp 0.6s ease-out both;
}

.section:last-of-type { border-bottom: none; }
.section-alt { background-color: var(--bg-alt); }

.section-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3060 100%);
    color: var(--text-light);
    border-bottom: none;
}

.section-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.65rem;
    background: rgba(74, 127, 212, 0.1);
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(74, 127, 212, 0.25);
}

.section-dark .section-label {
    background: rgba(74, 127, 212, 0.2);
    border-color: rgba(74, 127, 212, 0.4);
}

.section-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    line-height: 1.25;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-dark .section-header h2 { color: #ffffff; }
.section-dark .section-header h2::after {
    background: linear-gradient(90deg, var(--accent-color), rgba(74,127,212,0.4));
}

/* ============================================
   CONTEÚDO DE TEXTO
   ============================================ */
.content-text {
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.85;
}

.content-text p {
    margin-bottom: 1.4rem;
    text-align: justify;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.content-text--light p { color: rgba(240, 244, 248, 0.83); }
.content-text--light strong { color: var(--accent-color); }

.content-text h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.content-attribution {
    font-size: 0.7rem !important;
    color: rgba(44, 62, 80, 0.32) !important;
    text-align: center !important;
    margin-top: 2rem !important;
    letter-spacing: 0.3px;
}

/* ============================================
   FLOAT IMAGES (inline com texto)
   ============================================ */
.float-img-right {
    float: right;
    margin: 0 0 1.25rem 1.75rem;
    width: 210px;
    text-align: center;
    cursor: pointer;
    flex-shrink: 0;
}

.float-img-left {
    float: left;
    margin: 0 1.75rem 1.25rem 0;
    width: 210px;
    text-align: center;
    cursor: pointer;
    flex-shrink: 0;
}

.float-img-right img,
.float-img-left img {
    width: 100%;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-img-right:hover img,
.float-img-left:hover img {
    transform: scale(1.03);
    box-shadow: var(--shadow-blue);
}

.float-img-caption {
    margin-top: 0.5rem;
    font-size: 0.68rem;
    color: var(--text-mid);
    font-style: italic;
    line-height: 1.45;
}

.float-img-caption span {
    font-size: 0.6rem;
    color: rgba(74, 85, 104, 0.5);
    display: block;
    margin-top: 2px;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* Dark section float captions */
.section-dark .float-img-caption { color: rgba(240,244,248,0.6); }
.section-dark .float-img-caption span { color: rgba(240,244,248,0.35); }
.section-dark .float-img-right img,
.section-dark .float-img-left img { border-color: rgba(74,127,212,0.3); }

/* ============================================
   GRID DE FOTOS DAS FAZENDAS
   ============================================ */
.fazenda-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem auto;
    max-width: 860px;
}

.fazenda-photo-item {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: var(--bg-light);
}

.fazenda-photo-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-blue);
}

.fazenda-photo-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    display: block;
}

.fazenda-photo-caption {
    font-size: 0.55rem;
    color: var(--text-mid);
    font-style: italic;
    padding: 0.3rem 0.5rem 0.4rem;
    line-height: 1.35;
    text-align: center;
}

.fazenda-photo-caption span {
    font-size: 0.5rem;
    color: rgba(74, 85, 104, 0.4);
    display: block;
    margin-top: 1px;
}

@media (max-width: 600px) {
    .float-img-right, .float-img-left {
        float: none;
        width: 100%;
        max-width: 260px;
        margin: 0 auto 1.25rem;
    }
    .fazenda-photo-grid,
    .fortaleza-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Grid Fortaleza — 3 fotos grandes centralizadas */
.fortaleza-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem auto 0;
    max-width: 860px;
}

/* ============================================
   MODAL CAPTION
   ============================================ */
.modal-caption {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    max-width: 700px;
    line-height: 1.5;
}

/* ============================================
   RETRATO (SEÇÃO SOBRE)
   ============================================ */
.portrait-block {
    text-align: center;
    margin-bottom: 2.5rem;
}

.portrait-img {
    max-width: 420px;
    width: 100%;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--border-color);
    display: block;
    margin: 0 auto;
}

.portrait-caption {
    margin-top: 0.5rem;
    font-size: 0.6rem;
    color: var(--text-mid);
    font-style: italic;
    line-height: 1.4;
    text-align: center !important;
}

.portrait-caption span {
    font-size: 0.55rem;
    color: rgba(74, 85, 104, 0.45);
    display: block;
    margin-top: 1px;
}

/* ============================================
   IMAGEM INLINE (flutua à direita)
   ============================================ */
.inline-image-right {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    max-width: 860px;
    margin: 0 auto;
}

.inline-image-right .content-text {
    flex: 1;
    margin: 0;
}

.inline-image-right > div:first-child {
    flex: 1;
}

.inline-img-block {
    flex-shrink: 0;
    width: 220px;
    text-align: center;
}

.inline-img-block img {
    width: 100%;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    display: block;
}

.inline-img-caption {
    margin-top: 0.5rem;
    font-size: 0.68rem;
    color: var(--text-mid);
    font-style: italic;
    line-height: 1.4;
}

.inline-img-caption span {
    font-size: 0.62rem;
    color: rgba(74, 85, 104, 0.5);
    display: block;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .inline-image-right {
        flex-direction: column;
    }
    .inline-img-block {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ============================================
   IMAGENS DO BANCO (REI DO CAFÉ)
   ============================================ */
.banco-images {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: center;
}

.banco-img-item {
    flex: 1;
    max-width: 340px;
    text-align: center;
}

.banco-img-item img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border: 2px solid rgba(74, 127, 212, 0.3);
    display: block;
}

.banco-caption {
    margin-top: 0.5rem;
    font-size: 0.68rem;
    color: rgba(240, 244, 248, 0.5);
    font-style: italic;
    line-height: 1.4;
}

.banco-caption span {
    font-size: 0.62rem;
    color: rgba(240, 244, 248, 0.3);
    display: block;
    margin-top: 2px;
}

@media (max-width: 600px) {
    .banco-images { flex-direction: column; align-items: center; }
    .banco-img-item { max-width: 100%; }
}

/* ============================================
   HIGHLIGHT QUOTE
   ============================================ */
.highlight-quote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--accent-color);
    background: rgba(74, 127, 212, 0.08);
    border-radius: 0 8px 8px 0;
}

.highlight-quote blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(240, 244, 248, 0.88);
}

/* ============================================
   GRID DE FAMÍLIAS
   ============================================ */
.families-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.family-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--secondary-color);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.family-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

.family-card-photo {
    width: 100%;
    max-width: 160px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    margin: 0 auto 0.75rem;
    border: 2px solid var(--border-color);
    display: block;
}

.family-card-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.6rem;
    opacity: 0.7;
}

.family-card h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.family-card p {
    color: var(--text-mid);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   FAZENDAS FEATURE
   ============================================ */
.fazenda-feature {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 1.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.fazenda-feature:hover { box-shadow: var(--shadow-blue); }

.fazenda-feature-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-mid));
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fazenda-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: rgba(74, 127, 212, 0.45);
    font-weight: 700;
    line-height: 1;
}

.fazenda-feature-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
}

.fazenda-feature-body { padding: 1.75rem; }

.fazenda-feature-body p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.92rem;
    line-height: 1.8;
    text-align: justify;
}

.fazenda-feature-body p:last-child { margin-bottom: 0; }

.fazenda-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    background: var(--bg-alt);
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    margin-top: 0.75rem;
    border-left: 3px solid var(--accent-color);
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   GRID DE FAZENDAS MENORES
   ============================================ */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0 0;
}

.company-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

.company-card h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-size: 0.98rem;
}

.company-card p {
    color: var(--text-mid);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.65;
}

/* ============================================
   GALERIA
   ============================================ */
.gallery-intro {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(74, 85, 104, 0.45);
    margin-bottom: 2rem;
    font-style: italic;
    letter-spacing: 0.2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-light);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.gallery-item:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-blue);
}

.gallery-item img {
    width: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-caption {
    font-size: 0.5rem;
    color: rgba(0, 0, 0, 0.15);
    text-align: center;
    padding: 2px 4px 4px;
    background: transparent;
    letter-spacing: 0.2px;
    font-style: italic;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
}

/* ============================================
   MODAL
   ============================================ */
.modal-caption {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.15);
    text-align: center;
    margin-top: 5px;
    font-style: italic;
    letter-spacing: 0.2px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2d4a 100%);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
    border-top: 2px solid var(--accent-mid);
}

.footer-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.footer-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto 1.25rem;
}

.footer-text {
    font-size: 0.8rem;
    color: rgba(240, 244, 248, 0.58);
    margin: 0.3rem 0;
}

.footer-text strong { color: rgba(240, 244, 248, 0.82); }

.footer-small { font-size: 0.72rem; opacity: 0.7; }

.footer-credits {
    font-size: 0.65rem !important;
    opacity: 0.32;
    margin-top: 0.4rem !important;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header { margin-bottom: 2rem; }
    .content-text p { text-align: left; font-size: 0.88rem; }
    .companies-grid { grid-template-columns: 1fr; }
    .families-grid { grid-template-columns: 1fr; }
    .fazenda-feature-header { padding: 1rem 1.25rem; }
    .fazenda-feature-body { padding: 1.25rem; }

    /* Fazenda photo grids: 1 coluna em mobile */
    .fazenda-photo-grid,
    .fortaleza-photo-grid { grid-template-columns: 1fr; }

    /* Portrait maior ocupa mais largura */
    .portrait-img { max-width: 100%; }

    /* Family cards empilhados */
    .families-grid { gap: 1rem; }
    .family-card { padding: 1.25rem; }
    .family-card-photo { max-width: 120px; }

    /* Hero */
    .hero { padding: 80px 16px 70px; }
    .hero-desc { font-size: 0.85rem; }

    /* Navbar nav escondida em telas pequenas */
    .nav-menu { display: none; }

    /* Highlight quote */
    .highlight-quote { padding: 1.2rem 1.25rem; }
    .highlight-quote blockquote { font-size: 0.9rem; }

    /* Fazenda feature header menor */
    .fazenda-feature-header h3 { font-size: 1.1rem; }
    .fazenda-feature-body p { font-size: 0.88rem; }

    /* Stat block */
    .fazenda-stat { padding: 0.5rem 1rem; }
    .stat-number { font-size: 1.4rem; }

    /* Footer credits em mobile */
    .footer-credits { display: none; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-eyebrow { font-size: 0.68rem; letter-spacing: 2.5px; }
    .section-header h2 { font-size: 1.3rem; }
    .nav-brand { font-size: 1rem; }
    .navbar { padding: 0.75rem 0; }

    /* Container padding menor */
    .container { padding: 0 16px; }

    /* Texto mais compacto */
    .content-text p { font-size: 0.85rem; line-height: 1.7; }

    /* Section label menor */
    .section-label { font-size: 0.6rem; letter-spacing: 2.5px; }

    /* Companies grid 1 col */
    .companies-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* Gallery 2 colunas */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

    /* Footer compacto */
    .footer { padding: 2rem 0; }
    .footer-brand { font-size: 1.1rem; }
    .footer-tagline { font-size: 0.78rem; }
}

/* Hamburguer mobile */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        border-top: 1px solid rgba(74,127,212,0.2);
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        z-index: 200;
    }

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

    .nav-menu li a {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 0.82rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .navbar .container { position: relative; }
}

@media (max-width: 600px) {
    .nav-hamburger { display: flex; }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */
a:focus { outline: 2px solid var(--accent-color); outline-offset: 2px; }
button:focus, input:focus { outline: 2px solid var(--accent-color); outline-offset: 2px; }
