/* ══════════════════════════════════════════════════════════════
   AURORA SIMÃO — PORTFOLIO CSS
   Base do projecto + extensões homepage
══════════════════════════════════════════════════════════════ */

/* Reset e Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: #ffffff;
}

section { scroll-margin-top: 110px; }

body.page-ready { opacity: 1; }
body.page-exit  { opacity: 0; }

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

/* ── Header ───────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 1.5rem;
}

.nav-logo h2 { color: #ec4899; font-weight: 700; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-menu a:hover         { color: #ec4899; background: #fce7f3; }
.nav-menu a.active        { color: #ec4899; background: #fce7f3; font-weight: 600; }

.nav-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
}

.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: #333; margin: 3px 0; transition: 0.3s; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(251,191,36,0.25), transparent 45%),
        linear-gradient(135deg, #ec4899 0%, #be185d 50%, #9d174d 100%);
    color: white;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* eyebrow line above h1 */
.hero-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.72;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hero-text h1 {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

.highlight { color: #fbbf24; }

/* legacy h2 subtitle (algumas páginas usam) */
.hero-text h2 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.hero-bio {
    font-size: 1.05rem;
    opacity: 0.88;
    line-height: 1.78;
    margin-bottom: 1.5rem;
    max-width: 520px;
}

/* tech tags no hero */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2rem;
}

.hero-tags span {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.32rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* summary cards (versão anterior do hero) */
.hero-summary { display: grid; gap: 0.75rem; margin-bottom: 2rem; }

.summary-item {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    display: grid;
    gap: 0.35rem;
}

.summary-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.summary-value { font-weight: 600; font-size: 1rem; }

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* overview cards inside hero */
.hero-overview {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.overview-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.overview-card i     { font-size: 1.3rem; color: #fbbf24; flex-shrink: 0; }
.overview-card h3    { font-size: 0.95rem; margin-bottom: 0.15rem; }
.overview-card p     { font-size: 0.82rem; opacity: 0.8; margin: 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary { background: #fbbf24; color: #333; }
.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.btn-secondary { background: transparent; color: white; border: 2px solid white; }
.btn-secondary:hover {
    background: white;
    color: #333;
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.btn-outline {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid #ec4899;
    border-radius: 50px;
    color: #ec4899;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
}
.btn-outline:hover { background: #ec4899; color: white; }

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 28px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    font-family: inherit;
}
.btn-outline-light:hover { background: white; color: #ec4899; border-color: white; }

/* ── Profile Card ─────────────────────────────────────────── */
.profile-card {
    position: relative;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 380px;
    margin: 0 auto;
}

.profile-img { position: relative; margin-bottom: 1rem; }

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.profile-photo:hover { transform: scale(1.05); }

.floating-icons { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    color: rgba(255,255,255,0.6);
    animation: float 6s ease-in-out infinite;
}
.floating-icons i:nth-child(1) { top: 20%;   left: 10%;   animation-delay: 0s;   }
.floating-icons i:nth-child(2) { top: 30%;   right: 15%;  animation-delay: 1.5s; }
.floating-icons i:nth-child(3) { bottom: 30%; left: 15%;  animation-delay: 3s;   }
.floating-icons i:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-20px); }
}

/* ── Section Titles ───────────────────────────────────────── */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ec4899, #fbbf24);
    border-radius: 2px;
}

.section-lead {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ── Quick Overview strip ─────────────────────────────────── */
.overview { padding: 90px 0; background: #ffffff; }

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.overview-stat {
    background: white;
    padding: 2rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.overview-stat:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.overview-stat h3 { font-size: 1.4rem; color: #333; margin-bottom: 0.5rem; }
.overview-stat p  { color: #555; line-height: 1.6; }

/* ── ABOUT section ────────────────────────────────────────── */
.about { padding: 100px 0; background: #f8fafc; }

.about-two-col {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-main p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* stat boxes */
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box {
    background: white;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.stat-box:hover { transform: translateY(-4px); }

.stat-box-wide {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: #ec4899;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.stat-icon { font-size: 1.75rem; color: #ec4899; }

/* legacy about-content layout (páginas internas) */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.skills-grid { display: grid; gap: 2rem; align-items: start; }

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.skill-category h3 { color: #ec4899; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.skill-category ul { list-style: none; }
.skill-category li { padding: 0.5rem 0; border-bottom: 1px solid #eee; color: #555; }
.skill-category li:last-child { border-bottom: none; }

/* ── AREAS section ────────────────────────────────────────── */
.areas {
    padding: 100px 0;
    background: #f8fafc;
    transition: opacity 0.6s ease, transform 0.6s ease, max-height 0.6s ease;
}

.areas.is-collapsed {
    opacity: 0;
    transform: translateY(30px);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.areas.is-visible {
    opacity: 1;
    transform: translateY(0);
    max-height: 3000px;
    pointer-events: auto;
}

.areas.is-visible .area-card                { animation: fadeUp 0.6s ease both; }
.areas.is-visible .area-card:nth-child(2)   { animation-delay: 0.1s; }
.areas.is-visible .area-card:nth-child(3)   { animation-delay: 0.2s; }
.areas.is-visible .area-card:nth-child(4)   { animation-delay: 0.3s; }

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* ── Area cards ───────────────────────────────────────────── */
.area-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.area-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(0,0,0,0.13);
}

/* colour per domain */
.area-card-sw  { border-top-color: #ec4899; }
.area-card-oil { border-top-color: #f59e0b; }
.area-card-ndt { border-top-color: #10b981; }
.area-card-pm  { border-top-color: #6366f1; }

/* "Principal" badge */
.area-badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.22rem 0.65rem;
    border-radius: 50px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* icon box */
.area-card .area-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
    /* fallback (pages without domain class) */
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
}

/* domain-specific icon colours */
.area-card-sw  .area-icon { background: #fce7f3; color: #ec4899; }
.area-card-oil .area-icon { background: #fef3c7; color: #f59e0b; }
.area-card-ndt .area-icon { background: #d1fae5; color: #10b981; }
.area-card-pm  .area-icon { background: #e0e7ff; color: #6366f1; }

/* icon inside generic area-icon circle (legacy pages) */
.area-icon i { font-size: 1.45rem; color: inherit; }

.area-card h3 { font-size: 1.2rem; font-weight: 700; color: #1f2937; }
.area-card p  { font-size: 0.9rem; color: #6b7280; line-height: 1.65; }

/* bullet highlights */
.area-highlights {
    list-style: none;
    margin: 0.25rem 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.area-highlights li {
    font-size: 0.82rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.area-highlights li i             { color: #ec4899; font-size: 0.68rem; flex-shrink: 0; }
.area-card-oil .area-highlights i { color: #f59e0b; }
.area-card-ndt .area-highlights i { color: #10b981; }
.area-card-pm  .area-highlights i { color: #6366f1; }

/* cta arrow */
.card-cta {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ec4899;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.01em;
}
.area-card-oil .card-cta { color: #f59e0b; }
.area-card-ndt .card-cta { color: #10b981; }
.area-card-pm  .card-cta { color: #6366f1; }

/* ── Philanthropy teaser (homepage) ───────────────────────── */
.philanthropy-teaser {
    padding: 100px 0;
    background: linear-gradient(135deg, #ec4899 0%, #be185d 50%, #9d174d 100%);
    color: white;
}

.philan-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.philan-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.78;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.philan-text h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.philan-text p  { font-size: 1rem; opacity: 0.85; line-height: 1.75; margin-bottom: 2rem; max-width: 480px; }

.philan-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.philan-item {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 1.4rem 1rem;
    text-align: center;
    transition: background 0.3s ease;
}
.philan-item:hover { background: rgba(255,255,255,0.2); }

.philan-item i    { font-size: 1.75rem; margin-bottom: 0.55rem; display: block; opacity: 0.9; }
.philan-item span { font-size: 0.8rem; font-weight: 600; opacity: 0.9; }

/* ── Philanthropy page ────────────────────────────────────── */
.philanthropy { padding: 100px 0; }

.philanthropy-intro { text-align: center; max-width: 800px; margin: 0 auto 4rem; }
.philanthropy-intro p { font-size: 1.2rem; color: #555; line-height: 1.8; }

.philanthropy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.philanthropy-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.philanthropy-card:hover { transform: translateY(-5px); }

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ec4899, #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.card-icon i { font-size: 2rem; color: white; }

.philanthropy-card h3 { color: #333; margin-bottom: 1rem; font-size: 1.2rem; }
.philanthropy-card p  { color: #555; line-height: 1.6; }

/* ── CTA (homepage dark) ──────────────────────────────────── */
.cta {
    padding: 100px 0;
    background: #1f2937;
    color: white;
    text-align: center;
}

.cta h2   { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.cta p    { font-size: 1.05rem; opacity: 0.75; max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; }

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta .btn-secondary { border-color: rgba(255,255,255,0.4); display: inline-flex; align-items: center; gap: 0.5rem; }

/* CTA gradient variant (algumas páginas internas) */
.cta-gradient {
    padding: 80px 0;
    background: linear-gradient(135deg, #ec4899 0%, #be185d 50%, #9d174d 100%);
    color: white;
    text-align: center;
}
.cta-gradient h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.cta-gradient p  { max-width: 700px; margin: 0 auto 2rem; opacity: 0.9; line-height: 1.7; }

/* ── Experience / Timeline ────────────────────────────────── */
.experience { padding: 100px 0; }

.timeline { position: relative; max-width: 800px; margin: 0 auto; }

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #ec4899, #fbbf24);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}
.timeline-item:nth-child(odd)  { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 60px;
    background: white;
    border: 4px solid #ec4899;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.timeline-icon i { font-size: 1.5rem; color: #ec4899; }

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 45%;
}
.timeline-content h3 { color: #333; font-size: 1.3rem; margin-bottom: 0.5rem; }
.timeline-content h4 { color: #ec4899; font-size: 1rem; margin-bottom: 1rem; }
.timeline-content p  { color: #555; line-height: 1.6; }

/* ── Projects ─────────────────────────────────────────────── */
.projects { padding: 100px 0; background: #f8fafc; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.project-card:hover { transform: translateY(-10px); box-shadow: 0 18px 40px rgba(0,0,0,0.15); }

.project-image {
    background: linear-gradient(135deg, #ec4899, #be185d);
    padding: 3rem;
    text-align: center;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.project-image i { font-size: 4rem; color: white; }

.project-area-label {
    position: absolute;
    bottom: 0.75rem; right: 0.75rem;
    background: rgba(0,0,0,0.25);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

.project-content { padding: 2rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.project-content h3 { color: #333; font-size: 1.2rem; }
.project-content p  { color: #555; line-height: 1.6; }

.project-details {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    color: #555;
}
.project-details li { display: flex; gap: 0.5rem; align-items: flex-start; }
.project-details li::before { content: '•'; color: #ec4899; flex-shrink: 0; }

.project-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.project-tech span {
    background: #fce7f3;
    color: #ec4899;
    padding: 0.28rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
}

.project-links { display: flex; gap: 1rem; margin-top: auto; padding-top: 0.5rem; }

.btn-link {
    color: #ec4899;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.btn-link:hover { color: #be185d; }

/* ── Contact ──────────────────────────────────────────────── */
.contact { padding: 100px 0; background: #f8fafc; }

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 { color: #333; margin-bottom: 1rem; font-size: 1.5rem; }
.contact-info p  { color: #555; margin-bottom: 2rem; line-height: 1.6; }

.contact-methods { display: flex; flex-direction: column; gap: 1rem; }

.contact-method { display: flex; align-items: center; gap: 1rem; color: #555; }
.contact-method i { color: #ec4899; font-size: 1.2rem; width: 20px; }

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.contact-form button { box-shadow: 0 8px 18px rgba(0,0,0,0.15); }

.form-group { margin-bottom: 1.5rem; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus  { outline: none; border-color: #ec4899; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Page subnav (páginas internas) ──────────────────────── */
.page-subnav {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: sticky;
    top: 80px;
    z-index: 900;
}
.page-subnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.page-subnav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: #fce7f3;
    transition: all 0.3s ease;
}
.page-subnav a:hover { background: #fbbf24; color: #333; }

/* ── Impact cards ─────────────────────────────────────────── */
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }

.impact-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.impact-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.15); }
.impact-card h3 { color: #333; margin-bottom: 0.5rem; }
.impact-card p  { color: #555; line-height: 1.6; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: #1f2937; color: white; padding: 2rem 0; }

.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-social  { display: flex; gap: 1rem; }
.footer-social a { color: white; font-size: 1.5rem; transition: color 0.3s ease; }
.footer-social a:hover { color: #fbbf24; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

body.page-ready .hero-text   { animation: heroIn 0.8s ease both; }
body.page-ready .profile-card { animation: heroIn 0.8s ease 0.1s both; }

/* ── Reveal on scroll ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .areas-grid { grid-template-columns: 1fr 1fr; }
}

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

    .nav-menu { display: none; }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-text h1 { font-size: 2.4rem; }
    .hero-text h2 { font-size: 1.2rem; }
    .hero-bio     { max-width: 100%; }
    .hero-tags    { justify-content: center; }
    .hero-summary { text-align: left; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-overview { grid-template-columns: 1fr; }

    .overview-card { justify-content: center; text-align: left; }
    .profile-card  { padding: 2rem; }

    .about-two-col    { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-content    { grid-template-columns: 1fr; gap: 2rem; }
    .about-stats      { grid-template-columns: 1fr 1fr; }
    .stat-box-wide    { grid-column: span 2; }

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

    .philan-inner     { grid-template-columns: 1fr; gap: 3rem; }
    .philan-text h2   { font-size: 1.75rem; }

    .cta h2           { font-size: 1.9rem; }
    .cta-buttons      { flex-direction: column; align-items: center; }

    .timeline::before { left: 30px; }
    .timeline-item    { flex-direction: row !important; padding-left: 80px; }
    .timeline-icon    { left: 30px; transform: translateX(-50%); }
    .timeline-content { width: 100%; }

    .contact-content { grid-template-columns: 1fr; gap: 2rem; }
    .projects-grid   { grid-template-columns: 1fr; }
    .philanthropy-grid { grid-template-columns: 1fr; }

    .footer-content  { flex-direction: column; gap: 1rem; text-align: center; }

    .page-hero .hero-content { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-text h1   { font-size: 2rem; }
    .section-title  { font-size: 2rem; }
    .cta h2         { font-size: 1.6rem; }
    .philan-icons   { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   SOFTWARE PAGE — estilos específicos
══════════════════════════════════════════════════════════════ */

/* ── Escola 42 — pilares ─────────────────────────────────── */
.sw-school { padding: 100px 0; background: #ffffff; }

.school-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.pillar-card {
    background: white;
    border-radius: 18px;
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
    border-left: 4px solid #ec4899;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.11); }

.pillar-icon {
    width: 48px; height: 48px;
    background: #fce7f3;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: #ec4899;
    margin-bottom: 1rem;
}

.pillar-card h3 { font-size: 1.05rem; font-weight: 700; color: #1f2937; margin-bottom: 0.5rem; }
.pillar-card p  { font-size: 0.9rem; color: #6b7280; line-height: 1.65; }

/* ── Project image variants ──────────────────────────────── */
.sw-img-hydro { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.sw-img-seeds { background: linear-gradient(135deg, #10b981, #065f46); }
.sw-img-42    { background: linear-gradient(135deg, #6366f1, #4338ca); }

/* ── Stack grid (4 colunas) ──────────────────────────────── */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* ── Impact cards com ícone ──────────────────────────────── */
.impact-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin: 0 auto 1.25rem;
}

/* ── CTA final da página SW ──────────────────────────────── */
.sw-cta-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sw-cta-inner h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; }
.sw-cta-inner p  { font-size: 1rem; opacity: 0.88; line-height: 1.75; max-width: 460px; }

.sw-cta-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sw-stat {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 16px;
    padding: 1.4rem 1rem;
    text-align: center;
}

.sw-stat span {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.sw-stat small {
    font-size: 0.72rem;
    opacity: 0.8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

/* ── Responsive SW ───────────────────────────────────────── */
@media (max-width: 900px) {
    .school-pillars { grid-template-columns: 1fr; }
    .stack-grid     { grid-template-columns: 1fr; }
    .sw-cta-inner   { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
    .sw-cta-stats { grid-template-columns: 1fr 1fr; }
}