/* ============================================
   VARIÁVEIS DE COR - PALETA AZUL E DOURADO
   ============================================ */
:root {
    --primary-blue: #1a3a52;
    --secondary-blue: #2d5a7b;
    --light-blue: #4a7ba7;
    --pale-blue: #e8f0f7;
    --gold: #d4af37;
    --dark-gold: #b8860b;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    --dark-gray: #333333;
    --text-color: #2c3e50;
}

/* ============================================
   RESET E ESTILOS GLOBAIS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   SEÇÃO 1: APRESENTAÇÃO (HERO)
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 80px 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.profile-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.title {
    font-size: 1.8rem;
    color: var(--pale-blue);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .name {
        font-size: 2.5rem;
    }

    .title {
        font-size: 1.3rem;
    }

    .bio {
        font-size: 1rem;
        max-width: 100%;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }
}

/* ============================================
   SEÇÃO 2: PROJETOS
   ============================================ */
.projects {
    padding: 100px 20px;
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--light-blue) 100%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-blue);
    font-size: 1.1rem;
    margin-bottom: 60px;
    font-weight: 300;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--gold);
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.project-header {
    margin-bottom: 25px;
}

.project-header h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.project-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.client,
.location {
    font-size: 0.95rem;
    color: var(--secondary-blue);
    font-weight: 500;
}

.client::before {
    content: '👤 ';
    margin-right: 5px;
}

.location::before {
    content: '📍 ';
    margin-right: 5px;
}

.project-challenge {
    background-color: var(--pale-blue);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--light-blue);
}

.project-challenge p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
}

.project-challenge strong {
    color: var(--primary-blue);
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 35px 0;
    align-items: center;
}

.before-section,
.after-section {
    text-align: center;
}

.before-section img,
.after-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.before-section img:hover,
.after-section img:hover {
    transform: scale(1.02);
}

.label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Placeholders para projetos sem foto */
.placeholder-before,
.placeholder-after {
    background: linear-gradient(135deg, var(--pale-blue) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding: 30px;
    border-radius: 8px;
    border: 2px dashed var(--light-blue);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.placeholder-before p,
.placeholder-after p {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.placeholder-before ul,
.placeholder-after ul {
    list-style: none;
    text-align: left;
}

.placeholder-before li,
.placeholder-after li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.placeholder-before li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

.placeholder-after li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.project-result {
    background-color: rgba(212, 175, 55, 0.08);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.project-result p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
}

.project-result strong {
    color: var(--primary-blue);
}

.disclaimer {
    text-align: center;
    margin-top: 50px;
    padding: 25px;
    background-color: var(--pale-blue);
    border-radius: 8px;
    border: 1px solid var(--light-blue);
}

.disclaimer p {
    color: var(--secondary-blue);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsivo para projetos */
@media (max-width: 768px) {
    .before-after {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        padding: 25px;
    }

    .project-header h3 {
        font-size: 1.4rem;
    }

    .project-meta {
        flex-direction: column;
        gap: 10px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ============================================
   SEÇÃO 3: METODOLOGIA
   ============================================ */
.methodology {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

.methodology .section-title {
    color: var(--gold);
}

.methodology .section-title::after {
    background: linear-gradient(90deg, var(--white) 0%, var(--pale-blue) 100%);
}

.methodology .section-subtitle {
    color: var(--pale-blue);
}

.methodology-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--gold);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--gold);
    font-weight: 600;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   SEÇÃO 4: CONSIDERAÇÕES GERAIS
   ============================================ */
.considerations {
    padding: 100px 20px;
    background-color: var(--light-gray);
}

.considerations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.consideration-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.consideration-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.consideration-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.consideration-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.8;
}

.consideration-card strong {
    color: var(--secondary-blue);
}

/* ============================================
   RODAPÉ
   ============================================ */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
}

.footer p {
    font-size: 0.95rem;
    opacity: 0.9;
}

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

.project-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   RESPONSIVIDADE GERAL
   ============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 15px;
    }

    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .project-card {
        padding: 20px;
    }

    .methodology-steps {
        gap: 30px;
    }

    .step {
        gap: 15px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .considerations-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   IMPRESSÃO
   ============================================ */
@media print {
    .hero {
        background: var(--primary-blue);
    }

    .project-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--medium-gray);
    }
}
