/* ══════════════════════════════════════════════
   ÍCARO OLIVEIRA – Portfolio Global Styles
   Paleta: #0B1F3A | #F97316 | #FDBA14 | #1F2937
══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:      #F97316;
  --yellow:      #FDBA14;
  --navy:        #121824;
  --dark:        #161c2a;
  --bg:          #121824;
  --bg2:         #161c2a;
  --card:        #191f2e;
  --card2:       #121824;
  --border:      #1e2538;
  --border2:     #222b3e;
  --text:        #F5F7FA;
  --text-muted:  #94A3B8;
  --text-dim:    #64748B;

  --c-mec:  #38BDF8;
  --c-ele:  #FDBA14;
  --c-sol:  #F97316;
  --c-ges:  #A78BFA;
  --c-des:  #34D399;
  --c-amb:  #6EE7B7;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }

/* Dropdown */

 to { opacity:1; transform:translateY(0); } }

/* ══ HERO ══ */
.hero {
  position: relative; min-height: 520px;
  display: flex; align-items: center; overflow: hidden;
  isolation: isolate;  /* creates stacking context — bg stays inside */
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat,
              url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1400&q=80') center/cover no-repeat;
  opacity: 1; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(18,24,36,0.97) 26%, rgba(18,24,36,0.60) 52%, rgba(18,24,36,0.0) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding: 60px 64px; max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange);
  margin-bottom: 20px;
}
.hero-badge::before { content:''; display:block; width:24px; height:2px; background:var(--orange); }
.hero h1 { font-family: 'Poppins', sans-serif; font-size: 78px; font-weight: 900; line-height: 0.97; margin-bottom: 4px; }
.hero h1 .accent { color: var(--orange); display: block; }
.hero-desc { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin: 18px 0 34px; max-width: 420px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #000; padding: 13px 24px; border-radius: 6px;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  box-shadow: 0 4px 24px rgba(249,115,22,.35);
  transition: opacity .2s, transform .15s; cursor: pointer; border: none;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  padding: 13px 24px; border-radius: 6px;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  transition: border-color .2s, color .2s; cursor: pointer;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

.hero-side {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
  z-index: 2; display: flex; flex-direction: column; gap: 13px;
}
.hero-feat {
  background: rgba(13,23,36,.88);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--orange);
  border-radius: 9px; padding: 14px 18px;
  display: flex; align-items: center; gap: 13px; min-width: 235px;
  backdrop-filter: blur(10px);
  transition: transform .2s;
}
.hero-feat:hover { transform: translateX(-4px); }
.hero-feat-icon {
  width: 40px; height: 40px; border-radius: 7px;
  background: rgba(249,115,22,.13);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--orange); flex-shrink: 0;
}
.hero-feat h4 { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.hero-feat p { font-size: 10.5px; color: var(--text-muted); line-height: 1.4; }

/* ══ SECTION COMMON ══ */
.section { padding: 60px 48px; max-width: 1320px; margin: 0 auto; }
.section-label {
  font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange);
  margin-bottom: 6px; display: flex; align-items: center; gap: 8px;
}
.section-label::before { content:''; display:block; width:16px; height:2px; background: var(--orange); }
.section-title { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 900; margin-bottom: 28px; }
.section-title span { color: var(--orange); }

/* ══ CARDS ══ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ══ SOBRE ══ */
.sobre-inner { display: flex; gap: 24px; }
.sobre-photo {
  width: 100%; height: 100%; border-radius: 10px;
  background: linear-gradient(135deg,#162035,#243048);
  overflow: hidden; border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: #3a4f6a;
}
.sobre-photo img { width: 100%; height: 100%; object-fit: cover; }
.sobre-body h2 { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.sobre-body p { font-size: 13px; color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; }
.sobre-pills { display: flex; gap: 22px; }
.sobre-pill { text-align: center; }
.sobre-pill i { font-size: 20px; color: var(--orange); margin-bottom: 6px; display: block; }
.sobre-pill span { font-size: 10px; color: var(--text-muted); line-height: 1.4; display: block; max-width: 80px; }

/* ══ SKILLS ══ */
.skill-item { margin-bottom: 15px; }
.skill-header { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 12.5px; }
.skill-name { color: var(--text-muted); }
.skill-pct { color: var(--orange); font-weight: 700; font-family: 'Poppins', sans-serif; }
.skill-bar { height: 3px; background: var(--border); border-radius: 2px; }
.skill-fill { height: 100%; background: linear-gradient(to right, var(--orange), var(--yellow)); border-radius: 2px; transition: width 1s ease; }

/* ══ CONTACT GRID ══ */
.contact-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; }
.contact-icon {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border2); background: var(--card2);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 13px; flex-shrink: 0;
}
.contact-row h4 { font-family: 'Poppins', sans-serif; font-size: 11.5px; font-weight: 700; margin-bottom: 1px; }
.contact-row p { font-size: 12px; color: var(--text-muted); }

/* ══ TIMELINE ══ */
.timeline { display: flex; flex-direction: column; gap: 26px; }
.tl-item { display: flex; gap: 16px; }
.tl-icon {
  width: 42px; height: 42px; border-radius: 9px;
  background: var(--card2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--text-dim); flex-shrink: 0; position: relative;
}
.tl-dot {
  position: absolute; top: -3px; right: -5px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--orange); border: 2px solid var(--card);
}
.tl-body h3 { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; }
.tl-role { color: var(--orange); font-size: 12px; font-weight: 600; margin: 2px 0 5px; font-family: 'Poppins', sans-serif; }
.tl-meta { display: flex; gap: 14px; font-size: 10.5px; color: var(--text-dim); margin-bottom: 8px; }
.tl-meta i { color: var(--orange); margin-right: 3px; }
.tl-tasks { list-style: none; }
.tl-tasks li { font-size: 11.5px; color: var(--text-muted); line-height: 1.65; padding-left: 12px; position: relative; }
.tl-tasks li::before { content:'›'; color: var(--orange); position: absolute; left: 0; font-weight: 700; }

/* ══ FORMAÇÃO CATS ══ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 22px;
  transition: transform .2s, border-color .2s; cursor: pointer; text-decoration: none; color: inherit;
}
.cat-card:hover { transform: translateY(-3px); }
.cat-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cat-icon { width: 44px; height: 44px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.cat-title { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 800; line-height: 1.3; }
.cat-count { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.ufcd-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.ufcd-list li a {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; color: var(--text-muted);
  padding: 7px 9px; border-radius: 6px;
  transition: background .15s, color .15s;
}
.ufcd-list li a:hover { background: var(--border); color: var(--text); }
.ufcd-badge {
  font-family: 'Poppins', sans-serif; font-size: 9.5px; font-weight: 700;
  padding: 2px 7px; border-radius: 4px; flex-shrink: 0;
}
.arrow-ico { margin-left: auto; font-size: 9px; opacity: 0; transition: opacity .15s; color: var(--orange); }
.ufcd-list li a:hover .arrow-ico { opacity: 1; }

/* cat colours */
.cat-mec { border-left: 3px solid var(--c-mec); } .cat-mec .cat-icon { background:rgba(56,189,248,.1); color:var(--c-mec); } .cat-mec .ufcd-badge { background:rgba(56,189,248,.1); color:var(--c-mec); }
.cat-ele { border-left: 3px solid var(--c-ele); } .cat-ele .cat-icon { background:rgba(253,186,20,.1); color:var(--c-ele); } .cat-ele .ufcd-badge { background:rgba(253,186,20,.1); color:var(--c-ele); }
.cat-sol { border-left: 3px solid var(--c-sol); } .cat-sol .cat-icon { background:rgba(249,115,22,.1); color:var(--c-sol); } .cat-sol .ufcd-badge { background:rgba(249,115,22,.1); color:var(--c-sol); }
.cat-ges { border-left: 3px solid var(--c-ges); } .cat-ges .cat-icon { background:rgba(167,139,250,.1); color:var(--c-ges); } .cat-ges .ufcd-badge { background:rgba(167,139,250,.1); color:var(--c-ges); }
.cat-des { border-left: 3px solid var(--c-des); } .cat-des .cat-icon { background:rgba(52,211,153,.1); color:var(--c-des); } .cat-des .ufcd-badge { background:rgba(52,211,153,.1); color:var(--c-des); }
.cat-amb { border-left: 3px solid var(--c-amb); } .cat-amb .cat-icon { background:rgba(110,231,183,.1); color:var(--c-amb); } .cat-amb .ufcd-badge { background:rgba(110,231,183,.1); color:var(--c-amb); }

/* ══ UFCD DETAIL ══ */
.ufcd-hero {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 0; margin-bottom: 22px; position: relative; overflow: hidden;
}
.ufcd-hero::before {
  content: ''; position: absolute; top: 220px; left: 0; width: 4px; height: calc(100% - 220px);
  background: linear-gradient(to bottom, var(--orange), var(--yellow));
}
/* banner image inside ufcd hero */
.ufcd-banner {
  width: 100%; max-height: 260px; object-fit: cover;
  border-radius: 10px; margin-bottom: 22px; display: block;
  border: 1px solid var(--border);
}
.ufcd-banner-placeholder {
  width: 100%; height: 200px; border-radius: 10px;
  background: linear-gradient(135deg, var(--card2), var(--border));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 2px dashed var(--border2); margin-bottom: 22px; cursor: pointer;
  transition: border-color .2s;
}
.ufcd-banner-placeholder:hover { border-color: var(--orange); }
.ufcd-banner-placeholder i { font-size: 32px; color: var(--text-dim); }
.ufcd-banner-placeholder span { font-size: 12px; color: var(--text-dim); }

.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text-dim); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-dim); transition: color .2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: 8px; }

.ufcd-num-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.28);
  color: var(--orange); border-radius: 20px; padding: 5px 14px;
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700;
  margin-bottom: 14px;
}
.ufcd-detail-title { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 900; margin-bottom: 6px; line-height: 1.2; }
.ufcd-meta-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; }
.ufcd-meta-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.ufcd-meta-item i { color: var(--orange); width: 15px; }
.ufcd-meta-item strong { color: var(--text); }

.ufcd-section {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 26px; margin-bottom: 16px;
}
.ufcd-section-title {
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--orange);
  display: flex; align-items: center; gap: 9px; margin-bottom: 18px;
}
.ufcd-section-title i { font-size: 14px; }

.obj-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.obj-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
.obj-list li::before { content:''; display:block; width:7px; height:7px; border-radius:50%; background:var(--orange); flex-shrink:0; margin-top:7px; }

.content-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.content-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.content-list li::before { content:'›'; color: var(--orange); font-weight: 700; font-size: 16px; line-height: 1.2; flex-shrink:0; }

/* Editable fields */
.edit-field {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 16px;
  font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text);
  line-height: 1.75; width: 100%; outline: none; transition: border-color .2s;
  resize: vertical;
}
.edit-field:focus { border-color: var(--orange); }
.edit-label {
  font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim);
  display: block; margin-bottom: 6px;
}
.save-indicator { font-size: 12px; color: var(--c-des); display: none; margin-top: 8px; align-items: center; gap: 6px; }
.save-indicator.show { display: flex; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 8px; }
.gallery-item {
  aspect-ratio: 16/10; border-radius: 8px; overflow: hidden;
  background: var(--card2); border: 1px solid var(--border);
  cursor: pointer; position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-add {
  aspect-ratio: 16/10; border-radius: 8px;
  border: 2px dashed var(--border2); background: var(--card2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; transition: border-color .2s;
}
.gallery-add:hover { border-color: var(--orange); }
.gallery-add i { font-size: 22px; color: var(--text-dim); }
.gallery-add span { font-size: 11px; color: var(--text-dim); }

/* Video */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 10px; overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ══ UFCD NAV ══ */
.ufcd-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.ufcd-nav-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--border); border-radius: 7px;
  padding: 11px 18px; cursor: pointer; color: var(--text-muted);
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600;
  transition: border-color .2s, color .2s;
}
.ufcd-nav-btn:hover { border-color: var(--orange); color: var(--orange); }
.ufcd-nav-btn.disabled { opacity: .3; pointer-events: none; }
.ufcd-back-cat {
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600; font-size: 12px;
  color: var(--text-muted); display: flex; align-items: center; gap: 6px;
  cursor: pointer; transition: color .2s;
}
.ufcd-back-cat:hover { color: var(--orange); }

/* ══ FOOTER ══ */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 48px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; max-width: 1320px; margin: 0 auto 36px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin: 14px 0 18px; max-width: 260px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border2); background: var(--card2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 14px; transition: border-color .2s, color .2s;
}
.social-btn:hover { border-color: var(--orange); color: var(--orange); }
.footer-col h4 { font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--text-dim); transition: color .2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-col .fc-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.footer-col .fc-item i { color: var(--orange); width: 14px; }
.footer-bottom { max-width: 1320px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: var(--text-dim); }
.footer-tagline { display: flex; gap: 20px; font-size: 11px; color: var(--text-dim); }
.footer-tagline span::before { content: '•'; margin-right: 6px; color: var(--orange); }

/* ══ PAGE HEADER ══ */
.page-hero {
  background: linear-gradient(135deg, #121824 0%, #161c2a 100%);
  border-bottom: 1px solid var(--border);
  padding: 50px 48px;
}
.page-hero-inner { max-width: 1320px; margin: 0 auto; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 18px; transition: color .2s; cursor: pointer;
  background: none; border: none;
}
.back-link:hover { color: var(--orange); }

/* ══ CTA BAND ══ */
.cta-band {
  background: linear-gradient(135deg, #161c2a, #1a2235);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 40px;
}
.cta-band h2 { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.cta-band p { font-size: 14px; color: var(--text-muted); max-width: 500px; }

/* ══ PROJETOS ══ */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform .2s, border-color .2s; }
.proj-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.proj-thumb { width: 100%; height: 170px; background: var(--card2); position: relative; overflow: hidden; }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.proj-thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--border2); }
.proj-body { padding: 18px; }
.proj-tag { font-family: 'Poppins', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.proj-body h3 { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.proj-body p { font-size: 12px; color: var(--text-muted); line-height: 1.65; }

/* ══ CONTACTO ══ */
.contact-form-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.form-group { margin-bottom: 16px; }
.form-label { font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 6px; }
.form-input, .form-textarea {
  width: 100%; background: var(--card2); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 12px 14px;
  font-family: 'Inter', sans-serif; font-size: 13px; outline: none;
  transition: border-color .2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--orange); }
.form-textarea { min-height: 130px; resize: vertical; }

/* ══ UTILITIES ══ */
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.orange { color: var(--orange); }
.text-muted { color: var(--text-muted); }
.mt-auto { margin-top: auto; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  
  
  .hero-side { display: none; }
  .hero h1 { font-size: 44px; }
  .hero-content { padding: 40px 24px; }
  .section { padding: 40px 20px; }
  .grid-2, .cat-grid, .proj-grid { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  footer { padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-band { flex-direction: column; text-align: center; }
}

/* ══ CARTÃO DE VISITAS ══ */
.business-card-wrap {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}
.business-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 4px 8px rgba(0,0,0,0.25),
    0 12px 32px rgba(0,0,0,0.45),
    0 2px 4px rgba(0,0,0,0.15);
  max-width: 680px;
  width: 100%;
  transition: transform .25s, box-shadow .25s;
}
.business-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 8px 16px rgba(0,0,0,0.3),
    0 20px 50px rgba(0,0,0,0.55),
    0 3px 6px rgba(0,0,0,0.2);
}
.business-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* footer overrides */
footer

/* Wrapper do link */

/* ── Rodapé: ícone e texto maiores ── */

/* ── Nav links ── */

/* ── Mega dropdown ── */

/* ── CV button ── */

/* footer variant */

/* ── Responsive ── */
@media (max-width: 1100px) {
  
  
}
@media (max-width: 900px) {
  
  
  
  
  
  
  
  
  
}
@media (max-width: 480px) {
  
  
  
  
}

/* ═══════════════════════════════════════════════════
   NAVBAR — linha única, logo + menu + idioma + CV
   Logo: margem direita via margin, não gap
═══════════════════════════════════════════════════ */

.navbar {
  background: #121824;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  display: flex; flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 70px; padding: 0 36px;
}

/* ── LOGO ── */
.site-logo {
  display: flex; flex-direction: row;
  align-items: center;
  text-decoration: none; cursor: pointer;
  flex-shrink: 0;
}
.site-logo__icon {
  height: 46px; width: auto;
  display: block; object-fit: contain;
  flex-shrink: 0;
  margin-right: 13px;
}
.site-logo__divider {
  width: 1px; height: 34px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
  margin-right: 13px;
}
.site-logo__text {
  display: flex; flex-direction: column;
  justify-content: center; gap: 4px;
}
.site-logo__name {
  font-family: 'Poppins', sans-serif;
  font-size: 21px; font-weight: 800;
  line-height: 1; white-space: nowrap;
}
.site-logo__name .w { color: #fff; }
.site-logo__name .o { color: #F97316; }
.site-logo__sub {
  display: flex; align-items: center; gap: 5px;
}
.site-logo__sub .d {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; color: #F97316; line-height: 1;
}
.site-logo__sub .s {
  font-family: 'Poppins', sans-serif;
  font-size: 8.5px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: #c8d5e2; white-space: nowrap;
}

/* Footer logo — larger */
.site-logo--footer .site-logo__icon   { height: 60px; margin-right: 16px; }
.site-logo--footer .site-logo__divider{ height: 50px; margin-right: 16px; }
.site-logo--footer .site-logo__name   { font-size: 24px; }
.site-logo--footer .site-logo__sub .s { font-size: 10px; letter-spacing: 1.8px; }
.site-logo--footer .site-logo__sub .d { font-size: 13px; }

/* ── NAV LINKS ── */
.nav-links {
  display: flex; align-items: center;
  list-style: none; gap: 0; flex: 1;
  justify-content: center;
}
.nav-links > li > a {
  display: flex; align-items: center; gap: 3px;
  color: var(--text-muted);
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase;
  padding: 6px 10px; border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap; text-decoration: none;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--orange); background: rgba(249,115,22,.07); }
.nav-links > li > a.active  { border-bottom: 2px solid var(--orange); }

/* ── RIGHT SIDE: idioma + CV ── */
.nav-end {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}

/* Language select — estilo nativo do browser */
.lang-select-wrap { display: flex; align-items: center; }
.lang-select {
  background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 10px;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600;
  cursor: pointer; outline: none;
  transition: border-color .2s;
  appearance: auto; /* usa o estilo nativo do sistema operativo */
}
.lang-select:hover, .lang-select:focus { border-color: var(--orange); }

/* CV button */
.btn-cv {
  display: flex; align-items: center; gap: 7px;
  background: transparent; border: 1.5px solid var(--orange); color: var(--orange);
  padding: 7px 14px; border-radius: 5px;
  font-family: 'Poppins', sans-serif; font-size: 10.5px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  transition: background .2s, color .2s; white-space: nowrap;
  text-decoration: none;
}
.btn-cv:hover { background: var(--orange); color: #000; }

/* ── MEGA DROPDOWN ── */
.mega-dd {
  display: none; position: fixed;
  top: 70px; left: 0; width: 100%;
  z-index: 9999; justify-content: center;
  padding: 0 36px; pointer-events: none;
}
.mega-dd.open { display: flex; }
.mega-dd__box {
  background: #121824; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  pointer-events: all;
  display: grid; grid-template-columns: repeat(3,1fr);
  max-width: 860px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
  animation: dropIn .15s ease;
}
@keyframes dropIn {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}
.mega-col       { padding: 0 0 12px; }
.mega-col.bdr   { border-right: 1px solid var(--border); }
.mega-all {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(249,115,22,.07);
  border-bottom: 1px solid var(--border);
  text-decoration: none; transition: background .15s;
}
.mega-all:hover { background: rgba(249,115,22,.14); }
.mega-all i { color: var(--orange); }
.mega-cat {
  margin: 0; padding: 10px 16px 3px;
  font-family: 'Poppins', sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
}
.c-sol { color: var(--c-sol,#F97316); }
.c-ele { color: var(--c-ele,#FDBA14); }
.c-des { color: var(--c-des,#34D399); }
.c-mec { color: var(--c-mec,#38BDF8); }
.c-ges { color: var(--c-ges,#A78BFA); }
.dd-link {
  display: block; padding: 6px 16px;
  font-size: 12px; color: #94A3B8; text-decoration: none;
  transition: background .12s, color .12s;
}
.dd-link:hover { background: rgba(255,255,255,.05); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .cv-txt      { display: none; }
  .btn-cv      { padding: 7px 10px; }
  .nav-links > li > a { font-size: 10.5px; padding: 6px 8px; }
}
@media (max-width: 900px) {
  .navbar      { padding: 0 16px; height: 62px; }
  .mega-dd     { top: 62px; }
  .nav-links   { display: none; }
  .site-logo__icon  { height: 36px; margin-right: 10px; }
  .site-logo__divider { height: 26px; margin-right: 10px; }
  .site-logo__name  { font-size: 17px; }
  .site-logo__sub .s { font-size: 7px; }
}
@media (max-width: 480px) {
  .site-logo__divider,
  .site-logo__sub  { display: none; }
  .site-logo__icon { height: 32px; margin-right: 8px; }
  .site-logo__name { font-size: 15px; }
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY BOOST — experiencia, sobre, curriculo
═══════════════════════════════════════════ */

/* Timeline cards */
.tl-body .card { padding: 28px 32px; }
.tl-body .card h3 { font-size: 18px !important; font-family:'Poppins',sans-serif; font-weight:800; margin-bottom:6px; }
.tl-role  { font-size: 14px !important; margin-bottom: 6px; }
.tl-meta  { font-size: 12px !important; margin-bottom: 12px; gap: 18px; }
.tl-tasks li { font-size: 13.5px !important; line-height: 1.75; }
.tl-icon  { width: 52px !important; height: 52px !important; font-size: 20px !important; }

/* Sobre mim */
.sobre-body h2 { font-size: 24px !important; }
.sobre-body p  { font-size: 14.5px !important; line-height: 1.8; }
.sobre-pill i  { font-size: 24px !important; }
.sobre-pill span { font-size: 11.5px !important; }
.skill-header  { font-size: 14px !important; }
.skill-name, .skill-pct { font-size: 13.5px; }

/* Currículo */
.curriculo-section-title { font-size: 13px !important; letter-spacing: 2px; }
.curriculo-item h3       { font-size: 16px !important; }
.curriculo-item p        { font-size: 13.5px !important; }

/* Contact rows */
.contact-row h4 { font-size: 13px !important; }
.contact-row p  { font-size: 13px !important; }

/* ══ PROJETOS — card inteiro clicável ══ */
a.proj-card--link { text-decoration: none; color: inherit; cursor: pointer; }
a.proj-card--link:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.proj-card__cta {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: linear-gradient(135deg, var(--orange), var(--yellow)); color: #000;
  padding: 10px 20px; border-radius: 6px;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  transition: opacity .2s, border-color .2s;
}
.proj-card__cta--ghost { background: var(--card2); border: 1px solid var(--border); color: var(--text); padding: 9px 18px; }
.proj-card__cta--ghost i { color: var(--orange); }
a.proj-card--link:hover .proj-card__cta { opacity: .88; }
a.proj-card--link:hover .proj-card__cta--ghost { opacity: 1; border-color: var(--orange); }
@media (max-width: 768px) {
  a.proj-card--link { display: block !important; }
}
