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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #111827;
}

p, li, a, span, input, button {
  font-weight: 400;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

section {
  padding: 80px 0;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-download, .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary, .btn-submit {
  background-color: #0649C0;
  color: white;
}

.btn-secondary {
  background-color: white;
  color: #0649C0;
}

.btn-download {
  background-color: white;
  border: 1px solid #0649C0;
  color: #0649C0;
}

.btn-primary:hover, .btn-submit:hover {
  background-color: #053aa0;
  transform: translateY(-2px);
}

.btn-secondary:hover, .btn-download:hover {
  background-color: #f0f4f8;
  transform: translateY(-2px);
}

.btn-primary i, .btn-secondary i, .btn-download i, .btn-submit i {
  margin-right: 10px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 73px;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid #E5E7EB;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo span:first-child {
  font-size: 24px;
  font-weight: 700;
  color: #0649C0;
  margin-right: 8px;
}

.logo span:last-child {
  font-size: 18px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #374151;
  font-size: 16px;
  position: relative;
}

.nav-links a:hover {
  color: #0649C0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #0649C0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(162deg, #0649C0 0%, #3B82F6 100%);
  padding: 160px 0 80px;
  color: white;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  max-width: 560px;
}

.hero h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 28px;
  color: white;
}

.hero h1 span {
  color: #BFDBFE;
}

.hero p {
  font-size: 20px;
  line-height: 1.6;
  color: #DBEAFE;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: #BFDBFE;
  font-size: 24px;
}

.social-links a:hover {
  color: white;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 320px;
  height: 384px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.status-badge {
  color: black;
  position: absolute;
  bottom: -28px;
  left: 10%;
  transform: scaleY(1);
  background: white;
  border-radius: 12px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.status-dot {
  width: 15px;
  height: 15px;
  background: #22C55E;
  border-radius: 100%;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 20px;
  color: #4B5563;
}

/* About Section */
.about {
  background: white;
}

.about-content {
  display: flex;
  gap: 48px;
  align-items: center;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 30px;
  margin-bottom: 24px;
}

.about-text p {
  color: #4B5563;
  margin-bottom: 32px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.stat-box {
  background: #F9FAFB;
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  border: 1px solid #E1EAEF;
}

.stat-box h4 {
  font-size: 30px;
  color: #0649C0;
  margin-bottom: 8px;
}

.stat-box p {
  font-size: 16px;
  margin-bottom: 0;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.credential {
  display: flex;
  align-items: center;
  gap: 12px;
}

.credential i {
  color: #0649C0;
}

/* Projects Section */
.projects {
  background: white;
}

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

.project-card {
  background: #F7F8F8;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E1EAEF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.project-image {
  height: 192px;
  overflow: hidden;
}

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

/* Thumbnail de vídeo */
.project-video-thumb {
  position: relative;
  height: 192px;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.project-video-thumb img { width:100%; height:100%; object-fit: cover; filter: brightness(0.7); transition: filter .3s ease; }
.project-video-thumb:hover img { filter: brightness(0.55); }
.play-overlay { position:absolute; display:flex; align-items:center; justify-content:center; width:70px; height:70px; background:rgba(255,255,255,.15); border:2px solid rgba(255,255,255,.6); border-radius:50%; backdrop-filter: blur(2px); transition: all .3s ease; }
.project-video-thumb:hover .play-overlay { transform: scale(1.07); background:rgba(255,255,255,.25); }
.play-overlay i { color:#fff; font-size:28px; margin-left:4px; }

/* Modal de Vídeo */
.video-modal { position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:3000; }
.video-modal.is-open { display:flex; }
.video-modal__backdrop { position:absolute; inset:0; background:rgba(0,0,0,0.65); backdrop-filter: blur(3px); animation:fadeIn .25s ease; }
.video-modal__dialog { position:relative; width:clamp(300px,80vw,960px); background:#111827; border-radius:16px; padding:16px 16px 20px; box-shadow:0 20px 40px -10px rgba(0,0,0,0.4); animation:scaleIn .25s ease; }
.video-modal__close { position:absolute; top:8px; right:12px; background:transparent; border:none; color:#fff; font-size:32px; line-height:1; cursor:pointer; padding:0 6px; transition:transform .2s ease, color .2s ease; }
.video-modal__close:hover { transform:scale(1.1); color:#60A5FA; }
.video-modal__content { margin-top:24px; }
#modal-video { width:100%; border-radius:12px; background:#000; max-height:72vh; }

@keyframes fadeIn { from { opacity:0;} to { opacity:1;} }
@keyframes scaleIn { from { opacity:0; transform:translateY(12px) scale(.96);} to { opacity:1; transform:translateY(0) scale(1);} }

.project-content {
  padding: 24px;
}

.project-content h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 9999px;
}

.tag-primary {
  color: #0649C0;
}

.tag-success {
  background: #DCFCE7;
  color: #16A34A;
}

.tag-purple {
  background: #F3E8FF;
  color: #9333EA;
}

.tag-yellow {
  background: #FEF9C3;
  color: #CA8A04;
}

.tag-blue {
  background: #DBEAFE;
  color: #2563EB;
}

.tag-orange {
  background: #FFEDD5;
  color: #eb7825;
}

.tag-cyan {
  background: #CFFAFE;
  color: #0891B2;
}

.project-content p {
  font-size: 14px;
  color: #4B5563;
  margin-bottom: 20px;
}

.project-footer {
  display: flex;
  align-items: center;
}

.project-link, .project-github {
  font-size: 16px;
  color: #0649C0;
  margin-right: 12px;
}

.project-github {
  color: #4B5563;
}

.project-year {
  margin-left: auto;
  font-size: 12px;
  color: #6B7280;
}

.projects-cta {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 40px;
}

/* Skills Section */
.skills {
  background: #F9FAFB;
}

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

.skill-card {
  background: #F7F8F8;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #E1EAEF;
}

.skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.skill-header i {
  font-size: 20px;
  color: #0649C0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(195 225 254 / var(--tw-bg-opacity, 1));
  border-radius: 20px;
  margin-right: 16px;
}

.skill-header h3 {
  font-size: 20px;
}

.skill-progress {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  margin-bottom: 8px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-info span {
  font-size: 16px;
  color: #4B5563;
}

.skill-info span:last-child {
  color: #0649C0;
  font-weight: 600;
}

.progress-bar {
  height: 8px;
  background: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: #0649C0;
  border-radius: 9999px;
}

/* Skills Section  VERDE */
.skills-g {
  background: #F9FAFB;
}

.skills-grid-g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.skill-card-g {
  background: #F7F8F8;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #E1EAEF;
}

.skill-header-g {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.skill-header-g i {
  font-size: 20px;
  color: #16a34a;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(220 252 231 / var(--tw-bg-opacity, 1));
  border-radius: 20px;
  margin-right: 16px;
}

.skill-header-g h3 {
  font-size: 20px;
}

.skill-progress-g {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item-g {
  margin-bottom: 8px;
}

.skill-info-g {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-info-g span {
  font-size: 16px;
  color: #4b5563;
}

.skill-info-g span:last-child {
  color: #16a34a;
  font-weight: 600;
}

.progress-bar-g {
  height: 8px;
  background: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-g {
  height: 100%;
  background: #16a34a;
  border-radius: 9999px;
}

/* Skills Section  ROXO */
.skills-p {
  background: #F9FAFB;
}

.skills-grid-p {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.skill-card-p {
  background: #F7F8F8;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #E1EAEF;
}

.skill-header-p {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.skill-header-p i {
  font-size: 20px;
  color: #9434eb;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(243 232 255 / var(--tw-bg-opacity, 1));
  border-radius: 20px;
  margin-right: 16px;
}

.skill-header-p h3 {
  font-size: 20px;
}

.skill-progress-p {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item-p {
  margin-bottom: 8px;
}

.skill-info-p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-info-p span {
  font-size: 16px;
  color: #4b5563;
}

.skill-info-p span:last-child {
  color: #9434eb;
  font-weight: 600;
}

.progress-bar-p {
  height: 8px;
  background: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-p {
  height: 100%;
  background: #9434eb;
  border-radius: 9999px;
}

/* Skills Section  LARANJA */
.skills-o {
  background: #F9FAFB;
}

.skills-grid-o {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.skill-card-o {
  background: #F7F8F8;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #E1EAEF;
}

.skill-header-o {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.skill-header-o i {
  font-size: 20px;
  color: #c98904;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(254 249 195 / var(--tw-bg-opacity, 1));
  border-radius: 20px;
  margin-right: 16px;
}

.skill-header-o h3 {
  font-size: 20px;
}

.skill-progress-o {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item-o {
  margin-bottom: 8px;
}

.skill-info-o {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-info-o span {
  font-size: 16px;
  color: #4b5563;
}

.skill-info-o span:last-child {
  color: #c98904;
  font-weight: 600;
}

.progress-bar-o {
  height: 8px;
  background: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-o {
  height: 100%;
  background: #c98904;
  border-radius: 9999px;
}

/* Skills Section  Vermelho */
.skills-r {
  background: #F9FAFB;
}

.skills-grid-r {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.skill-card-r {
  background: #F7F8F8;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #E1EAEF;
}

.skill-header-r {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.skill-header-r i {
  font-size: 20px;
  color: #dc2626;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(254 226 226 / var(--tw-bg-opacity, 1));
  border-radius: 20px;
  margin-right: 16px;
}

.skill-header-r h3 {
  font-size: 20px;
}

.skill-progress-r {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item-r {
  margin-bottom: 8px;
}

.skill-info-r {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-info-r span {
  font-size: 16px;
  color: #4b5563;
}

.skill-info-r span:last-child {
  color: #dc2626;
  font-weight: 600;
}

.progress-bar-r {
  height: 8px;
  background: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-r {
  height: 100%;
  background: #dc2626;
  border-radius: 9999px;
}

/* Text color helpers for skill names / percents */
.skill-name.green-text, .skill-percent.green-text { color: #16a34a; font-weight: 600; }
.skill-name.orange-text, .skill-percent.orange-text { color: #ca8a04; font-weight: 600; }
.skill-name.purple-text, .skill-percent.purple-text { color: #9333ea; font-weight: 600; }
.skill-name.red-text, .skill-percent.red-text { color: #dc2626; font-weight: 600; }

/* Contact Section */
.contact {
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-item i {
  font-size: 16px;
  color: #0649C0;
  margin-right: 16px;
  margin-top: 4px;
}

.contact-item strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.contact-item p {
  font-size: 16px;
  color: #4B5563;
}

.social-connect {
  margin-top: 36px;
  background: #F9FAFB;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #E1EAEF;
}

.social-connect h3 {
  font-size: 16px;
  margin-bottom: 16px;
}

.social-buttons {
  display: flex;
  gap: 16px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.social-btn.linkedin {
  background: #2563EB;
}

.social-btn.instagram {
  background: #DB2777;
}
.social-btn.whatsapp {
  background: #25d366;
}
.contact-form-container {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  padding: 11px 13px;
  border: 1px solid #F7F9FA;
  border-radius: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  width: 100%;
}

.form-group textarea {
  min-height: 138px;
  resize: vertical;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: #0649C0;
}

/* Footer */
.footer {
  background: #111827;
  color: #D1D5DB;
  padding: 48px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: #60A5FA;
  margin-bottom: 8px;
}

.footer-brand h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-brand p {
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #9CA3AF;
  font-size: 20px;
}

.footer-social a:hover {
  color: white;
}

.footer-links h3, 
.footer-contact h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9CA3AF;
}

.footer-links a:hover {
  color: white;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer-contact-item i {
  color: #9CA3AF;
  margin-right: 8px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1F2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #9CA3AF;
  font-size: 14px;
}

.back-to-top {
  background: #0649C0;
  border: none;
  color: white;
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: #053aa0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
}
