/* SimSD 2026 – sdomingos.com.br Visual Identity */

/* Google Fonts Import: Raleway */
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* ─── Design Tokens ─── */
:root {
    --brand-red: #E30613;
    --brand-red-dark: #BB0510;
    --brand-maroon: #680218;
    --brand-crimson: #7B1D1D;
    --text-body: #161616;
    --text-muted: #555555;
    --text-light: #888888;
    --text-headings: #680218;
    --header-text: #333333;
    --light-bg: #F7F7F7;
    --white: #FFFFFF;
    --footer-bg: #1A1A1A;
    --border-color: #EAEAEA;
    --divider: #dcdcdc;

    /* Layout */
    --max-site-width: 1540px;
    --space: clamp(20px, 2.5vw, 40px);
    --titles: clamp(32px, 3.5vw, 50px);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Base Resets ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-body);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: var(--text-headings);
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* ─── Layout Container ─── */
.container {
    width: 100%;
    max-width: var(--max-site-width);
    margin: 0 auto;
    padding: 0 var(--space);
}

.site-center {
    width: 100%;
    max-width: var(--max-site-width);
    margin: 0 auto;
}

.section-padding {
    padding: calc(var(--space) * 2) 0;
}

.text-center {
    text-align: center;
}


/* ═══════════════════════════════════════════════
   FLOATING PILL HEADER (sdomingos.com.br style)
   ═══════════════════════════════════════════════ */
.header-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px var(--space);
}

header.site-header {
    background-color: var(--white);
    border-radius: 60px;
    max-width: var(--max-site-width);
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 12px 0 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
}

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

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 14px;
    color: var(--header-text);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: clamp(13px, 1vw, 15px);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-red);
}

/* Nav CTA button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background-color: var(--brand-red);
    color: var(--white);
    border-radius: 30px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    transition: var(--transition-normal);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    background-color: var(--brand-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.25);
    color: var(--white);
}

.nav-cta svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nav-cta:hover svg {
    transform: translate(1px, -1px);
}

/* Dropdown Menu */
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-top: 3px solid var(--brand-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 12px 12px;
    padding: 8px 0;
    min-width: 240px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    z-index: 1100;
}

.dropdown-item a {
    display: block;
    padding: 10px 20px;
    color: var(--text-body);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.dropdown-item a:hover {
    background-color: var(--light-bg);
    color: var(--brand-red);
    padding-left: 24px;
}


/* ═══════════════════════════════════════
   MOBILE NAVIGATION
   ═══════════════════════════════════════ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1200;
    margin-right: 12px;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--header-text);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    border-left: 4px solid var(--brand-red);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1060;
    padding: 80px 28px 40px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: block;
    color: var(--header-text);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
    color: var(--brand-red);
}

.mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-dropdown-menu {
    list-style: none;
    padding-left: 16px;
    margin-top: 8px;
    display: none;
    flex-direction: column;
    gap: 12px;
}

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

.mobile-dropdown-item a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0;
}

.mobile-dropdown-item a:hover {
    color: var(--brand-red);
}


/* ═══════════════════════════════════════
   BUTTON COMPONENT (sdomingos pill + arrow)
   ═══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    padding: 1em 2.5em;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 1vw, 13px);
    border-radius: 2.55em;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    line-height: 1.2em;
    width: fit-content;
}

/* Arrow icon for buttons */
.btn::after {
    content: '';
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 11L11 1M11 1V11M11 1H1' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: translate(1px, -1px);
}

/* Primary (Red) */
.btn-primary {
    background-color: var(--brand-red);
    color: var(--white);
}

.btn-primary::after {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 11L11 1M11 1V11M11 1H1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.btn-primary:hover {
    background-color: var(--brand-red-dark);
    color: var(--white);
    transform: translateY(-0.1em);
    box-shadow: 0 0.2em 0.75em rgba(227, 6, 19, 0.2);
}

/* White */
.btn-white {
    background-color: var(--white);
    color: var(--brand-crimson);
}

.btn-white::after {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 11L11 1M11 1V11M11 1H1' stroke='%237B1D1D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-0.1em);
    box-shadow: 0 0.2em 0.75em rgba(0, 0, 0, 0.1);
}

/* Maroon */
.btn-maroon {
    background-color: var(--brand-maroon);
    color: var(--white);
}

.btn-maroon::after {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 11L11 1M11 1V11M11 1H1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.btn-maroon:hover {
    background-color: #40010F;
    transform: translateY(-0.1em);
    box-shadow: 0 0.2em 0.75em rgba(104, 2, 24, 0.25);
}

/* Outline Red */
.btn-outline-red {
    background-color: transparent;
    color: var(--brand-red);
    border: 1px solid var(--brand-red);
}

.btn-outline-red::after {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 11L11 1M11 1V11M11 1H1' stroke='%23E30613' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.btn-outline-red:hover {
    background-color: var(--brand-red-dark);
    color: var(--white);
    border-color: var(--brand-red-dark);
    transform: translateY(-0.1em);
    box-shadow: 0 0.2em 0.75em rgba(227, 6, 19, 0.2);
}

.btn-outline-red:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 11L11 1M11 1V11M11 1H1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Secondary (White bg, dark text) */
.btn-secondary {
    background-color: var(--white);
    color: var(--brand-crimson);
    border: 1px solid var(--brand-crimson);
}

.btn-sm {
    padding: 0.7em 1.8em;
    font-size: 12px;
}

/* No-arrow variant */
.btn-no-arrow::after {
    display: none;
}


/* ═══════════════════════════════════════
   SECTION TITLES (sdomingos – no underline)
   ═══════════════════════════════════════ */
.section-title {
    font-size: var(--titles);
    color: var(--text-headings);
    margin-bottom: 0.5em;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

/* Remove underline */
.section-title::after {
    display: none;
}

.section-subtitle {
    font-size: clamp(16px, 1.2vw, 18px);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 56px;
    line-height: 1.6;
}


/* ═══════════════════════════════════════
   HERO SECTION (Full-height, no overlay)
   ═══════════════════════════════════════ */
.hero {
    width: 100%;
    min-height: 92vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: var(--white);
    position: relative;
}

.hero-content {
    padding: calc(var(--space) * 2) var(--space);
    padding-bottom: calc(var(--space) * 2.5);
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 72px);
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -1px;
    font-weight: 700;
    line-height: 1.05;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* Subtle bottom gradient for text readability */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}


/* ═══════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════ */
.cta-banner {
    background-color: var(--brand-crimson);
    color: var(--white);
    padding: 32px 0;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cta-banner h2 {
    font-size: clamp(18px, 1.8vw, 24px);
    color: var(--white);
    margin: 0;
    font-weight: 700;
}


/* ═══════════════════════════════════════
   ALTERNATING FEATURES (sdomingos pattern)
   ═══════════════════════════════════════ */
.alternating-features {
    padding: calc(var(--space) * 1.5) var(--space);
}

.alternating-features .site-center {
    max-width: var(--max-site-width);
    margin: 0 auto;
}

.alt-feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
    margin-bottom: 60px;
}

.alt-feature-item:last-child {
    margin-bottom: 0;
}

.alt-feature-item--image-first .alt-feature-image {
    order: 1;
}

.alt-feature-item--image-first .alt-feature-content {
    order: 2;
}

.alt-feature-item--text-first .alt-feature-image {
    order: 2;
}

.alt-feature-item--text-first .alt-feature-content {
    order: 1;
}

.alt-feature-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.alt-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.alt-feature-item:hover .alt-feature-image img {
    transform: scale(1.03);
}

.alt-feature-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.alt-feature-content h2 {
    color: var(--text-headings);
    font-size: var(--titles);
    font-weight: 700;
    margin: 0 0 0.5em 0;
    line-height: 1.2;
}

.alt-feature-content p {
    color: var(--text-body);
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.6;
    margin: 0 0 1.5em 0;
}

.alt-feature-content .btn {
    margin-top: 0.5em;
}


/* ═══════════════════════════════════════
   WELCOME SECTION
   ═══════════════════════════════════════ */
.welcome-section {
    background-color: var(--white);
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
}

.welcome-content h2 {
    font-size: var(--titles);
    margin-bottom: 32px;
    color: var(--text-headings);
}

.welcome-content p {
    font-size: clamp(16px, 1.2vw, 18px);
    color: var(--text-body);
    margin-bottom: 24px;
    text-align: justify;
    line-height: 1.75;
}

.welcome-content p:last-child {
    font-weight: 700;
    text-align: center;
    color: var(--brand-red);
    margin-top: 40px;
    font-size: clamp(17px, 1.3vw, 20px);
}


/* ═══════════════════════════════════════
   COMMITTEES SECTION
   ═══════════════════════════════════════ */
.committees-section {
    background-color: var(--light-bg);
}

.committees-section .section-title {
    margin-bottom: 0.3em;
}

.committees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.committee-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border-color: rgba(227, 6, 19, 0.3);
}

.committee-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: var(--transition-normal);
}

.committee-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.committee-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-headings);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.committee-topic {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.committee-topic strong {
    color: var(--text-headings);
    font-weight: 700;
}


/* ═══════════════════════════════════════
   ORGANIZERS SECTION
   ═══════════════════════════════════════ */
.organizers-section {
    background-color: var(--brand-crimson);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.organizers-section .section-title {
    color: var(--white);
}

.organizers-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.organizers-photo {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.organizers-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.organizers-text p {
    font-size: clamp(16px, 1.2vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
}

/* Organizers Carousel (sdomingos.com.br Hero Style) */
.organizers-carousel-col {
    display: flex;
    justify-content: center;
    width: 100%;
}

.organizers-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    background-color: #0d0d0d;
}

.carousel-track-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.carousel-slide {
    position: relative;
    height: 100%;
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

/* Bottom gradient overlay matching the main hero style */
.carousel-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.slide-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text overlay aligned bottom-left */
.slide-caption {
    position: absolute;
    bottom: 40px;
    left: 24px;
    right: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.slide-role {
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background-color: var(--brand-red);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-block;
}

.slide-name {
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

/* Navigation Dots (Horizontal Dashes) */
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 24px;
    z-index: 3;
    display: flex;
    gap: 6px;
}

.carousel-dot {
    width: 16px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot.active {
    background-color: var(--white);
    width: 32px;
}

/* Hover-activated navigation buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.45);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.25s ease;
}

.organizers-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background-color: var(--brand-red);
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
}

.btn-prev {
    left: 12px;
}

.btn-next {
    right: 12px;
}


/* ═══════════════════════════════════════
   LOCATION SECTION
   ═══════════════════════════════════════ */
.location-section {
    background-color: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.location-card {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.location-card:hover {
    background-color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.location-card h3 {
    font-size: clamp(20px, 1.8vw, 24px);
    color: var(--text-headings);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.location-card p {
    margin-bottom: 12px;
    font-size: clamp(15px, 1.1vw, 16px);
    color: var(--text-body);
}

.location-card p strong {
    color: var(--text-headings);
    font-weight: 700;
    display: inline-block;
}


/* ═══════════════════════════════════════
   FOOTER (sdomingos 4-column grid)
   ═══════════════════════════════════════ */
.site-footer {
    background-color: var(--footer-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

/* Sponsors row above footer grid */
.footer-sponsors {
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 48px;
}

.footer-logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-logo-title {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: var(--transition-normal);
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* Footer grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 48px 0;
}

.footer-col-brand .footer-brand-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    margin-bottom: 16px;
}

.footer-col-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition-fast);
}

.footer-links li a::before {
    content: '»';
    font-size: 14px;
    color: var(--brand-red);
    transition: var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-socials-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: transparent;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer-social-link:hover {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: var(--white);
    transform: translateY(-2px);
}

/* Copyright bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}


/* ═══════════════════════════════════════
   PAGE HEADER (Subpages)
   ═══════════════════════════════════════ */
.page-header {
    min-height: 340px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    padding: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    padding-bottom: calc(var(--space) * 1.5);
    padding-top: calc(var(--space) * 4);
}

.page-header h1 {
    font-size: clamp(36px, 4vw, 56px);
    color: var(--white);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}


/* ═══════════════════════════════════════
   SUBPAGE CONTENT
   ═══════════════════════════════════════ */
.content-wrapper {
    background-color: var(--white);
}

.rich-text {
    font-size: clamp(16px, 1.2vw, 17px);
    line-height: 1.8;
}

.rich-text h2 {
    font-size: clamp(24px, 2.5vw, 30px);
    color: var(--text-headings);
    margin: 40px 0 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.rich-text h2:first-of-type {
    margin-top: 0;
}

.rich-text p {
    margin-bottom: 24px;
    text-align: justify;
    color: var(--text-body);
}

.rich-text ul {
    margin-bottom: 24px;
    padding-left: 28px;
}

.rich-text li {
    margin-bottom: 12px;
}


/* ═══════════════════════════════════════
   TIMELINE (Cronograma)
   ═══════════════════════════════════════ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--brand-red);
    opacity: 0.3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-day {
    position: relative;
    z-index: 2;
    background-color: var(--brand-crimson);
    color: var(--white);
    width: 180px;
    text-align: center;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 56px auto 24px;
}

.timeline-day:first-of-type {
    margin-top: 0;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    right: -7px;
    background-color: var(--white);
    border: 3px solid var(--brand-red);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-fast);
}

.timeline-item:hover::after {
    background-color: var(--brand-red);
    transform: scale(1.2);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -7px;
}

.timeline-content {
    padding: 24px 30px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    position: relative;
    border-radius: 12px;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    background-color: var(--white);
    border-color: rgba(227, 6, 19, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

.timeline-time {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--brand-red);
}

.timeline-title {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-headings);
}


/* ═══════════════════════════════════════
   DOWNLOAD CARD
   ═══════════════════════════════════════ */
.download-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 48px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-normal);
}

.download-card:hover {
    box-shadow: 0 15px 40px rgba(227, 6, 19, 0.05);
}

.download-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--text-headings);
}

.download-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
}


/* ═══════════════════════════════════════
   COMMITTEE DETAIL
   ═══════════════════════════════════════ */
.committee-detail-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 56px;
}

.committee-mesa {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    height: fit-content;
}

.committee-mesa h3 {
    font-size: 22px;
    color: var(--text-headings);
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    font-weight: 700;
}

.mesa-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mesa-member {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mesa-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
}

.mesa-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-headings);
}


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media screen and (max-width: 1024px) {
    .committees-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media screen and (max-width: 768px) {

    /* Header */
    .header-wrapper {
        padding: 10px 12px;
    }

    header.site-header {
        border-radius: 40px;
        height: 56px;
        padding: 0 8px 0 18px;
    }

    .nav-menu {
        display: none;
    }

    .nav-cta-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: 75vh;
    }

    .hero-content h1 {
        font-size: clamp(32px, 7vw, 42px);
    }

    /* CTA */
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    /* Welcome */
    .welcome-content h2 {
        font-size: clamp(28px, 5vw, 36px);
    }

    /* Committees */
    .committees-grid {
        grid-template-columns: 1fr;
    }

    /* Alternating Features */
    .alt-feature-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .alt-feature-item--image-first .alt-feature-image,
    .alt-feature-item--text-first .alt-feature-image {
        order: 1;
    }

    .alt-feature-item--image-first .alt-feature-content,
    .alt-feature-item--text-first .alt-feature-content {
        order: 2;
    }

    /* Organizers */
    .organizers-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Location */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Timeline */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item::after {
        left: 24px;
        right: auto;
    }

    .right {
        left: 0%;
    }

    /* Committee detail */
    .committee-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-col-brand {
        text-align: center;
    }

    .footer-col-brand .footer-brand-logo {
        margin: 0 auto 16px;
    }

    .footer-col-brand p {
        max-width: 100%;
        text-align: center;
    }

    /* Page header */
    .page-header {
        min-height: 260px;
    }
}