/* ============================================
   VARIÁVEIS E RESET
   ============================================ */
:root {
    --primary-blue: #0a2463;
    --secondary-blue: #1e3a8a;
    --dark-blue: #051139;
    --gold: #d4af37;
    --light-gold: #f4d88b;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #333333;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), var(--light-gold));
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--dark-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* ============================================
   HEADER
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 36, 99, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#header.scrolled {
    padding: 15px 0;
    background: rgba(5, 17, 57, 0.98);
}

.logo img {
    height: 60px;
    width: auto;
}

/* Menu Desktop */
.nav-desktop ul {
    display: flex;
    gap: 35px;
}

.nav-desktop a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-desktop a:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 15px;
    align-items: center;
}

.flag-link {
    opacity: 0.7;
    transition: var(--transition);
}

.flag-link:hover,
.flag-link.active {
    opacity: 1;
    transform: scale(1.1);
}

.flag-link img {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

/* ============================================
   SIDEBAR MOBILE
   ============================================ */
.sidebar-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark-blue);
    z-index: 2000;
    transition: left 0.4s ease;
    overflow-y: auto;
}

.sidebar-mobile.active {
    left: 0;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

.sidebar-content {
    padding: 30px 20px;
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-logo img {
    height: 50px;
    margin: 0 auto;
}

.sidebar-flags {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav a {
    display: block;
    color: var(--white);
    padding: 15px 10px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    color: var(--gold);
    padding-left: 20px;
}

/* ============================================
   BANDEIRAS FLUTUANTES
   ============================================ */
.floating-flags {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.floating-flags.visible {
    opacity: 1;
    visibility: visible;
}

.flag-floating {
    opacity: 0.7;
    transition: var(--transition);
}

.flag-floating:hover,
.flag-floating.active {
    opacity: 1;
    transform: scale(1.15);
}

.flag-floating img {
    width: 40px;
    height: 27px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Bandeiras Fixas Mobile */
.mobile-fixed-flags {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 36, 99, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    gap: 20px;
    z-index: 900;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.flag-mobile {
    opacity: 0.7;
    transition: var(--transition);
}

.flag-mobile:hover,
.flag-mobile.active {
    opacity: 1;
    transform: scale(1.1);
}

.flag-mobile img {
    width: 35px;
    height: 23px;
    object-fit: cover;
    border-radius: 4px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(212,175,55,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 100px 20px 50px;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BIOGRAFIA
   ============================================ */
.section-biografia {
    padding: 100px 0;
    background: var(--white);
}

.biografia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.biografia-image {
    position: relative;
}

.biografia-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    z-index: -1;
}

.biografia-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.biografia-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.biografia-text p {
    margin-bottom: 20px;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.section-servicos {
    padding: 100px 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--gold), var(--light-gold));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.service-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-description {
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   CARREIRA (TIMELINE)
   ============================================ */
.section-carreira {
    padding: 100px 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold), var(--light-gold));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.2);
}

.timeline-content {
    width: 45%;
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--dark-blue);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.timeline-title {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.timeline-description {
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   CERTIFICADOS
   ============================================ */
.section-certificados {
    padding: 100px 0;
    background: var(--light-gray);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.certificate-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.certificate-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.1);
}

.certificate-info {
    padding: 25px;
}

.certificate-info h3 {
    font-family: var(--font-secondary);
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.certificate-info p {
    color: var(--gray);
    margin-bottom: 15px;
}

.certificate-year {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   OBRAS
   ============================================ */
.section-obras {
    padding: 100px 0;
    background: var(--white);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.work-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.work-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-overlay h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.work-overlay p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   PUBLICAÇÕES
   ============================================ */
.section-publicacoes {
    padding: 100px 0;
    background: var(--light-gray);
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.publication-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.publication-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.publication-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.publication-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.publication-info {
    padding: 25px;
}

.publication-info h3 {
    font-family: var(--font-secondary);
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.publication-info p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.publication-year {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   EVENTOS
   ============================================ */
.section-eventos {
    padding: 100px 0;
    background: var(--white);
}

.events-grid {
    display: grid;
    gap: 30px;
}

.event-card {
    display: flex;
    background: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    text-align: center;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-top: 5px;
}

.event-info {
    padding: 30px;
    flex: 1;
}

.event-info h3 {
    font-family: var(--font-secondary);
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.event-location {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.event-description {
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   FAQ
   ============================================ */
.section-faq {
    padding: 100px 0;
    background: var(--light-gray);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.faq-question i {
    color: var(--gold);
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--gray);
    line-height: 1.8;
}

/* ============================================
   GALERIA
   ============================================ */
.section-galeria {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ============================================
   CONTATO
   ============================================ */
.section-contato {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.section-contato .section-title {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--gold);
    font-size: 1.5rem;
    width: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark-blue);
    transform: translateY(-5px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    opacity: 0.8;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--gold);
}

#lightboxImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .container-header {
        padding: 0 20px;
    }
    
    .nav-desktop ul {
        gap: 20px;
    }
    
    .nav-desktop a {
        font-size: 0.9rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-end !important;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .nav-desktop,
    .language-switcher {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .logo img {
        height: 45px;
    }
    
    /* Bandeiras */
    .floating-flags {
        display: none !important;
    }
    
    .mobile-fixed-flags {
        display: flex;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
    }
    
    /* Biografia */
    .biografia-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .biografia-image::before {
        top: -10px;
        left: -10px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contato */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Works */
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    /* Publications */
    .publications-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* Certificates */
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    /* Events */
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        min-width: 100%;
        padding: 20px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .container-header {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .publications-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

