/* =====================================================
   RESET & BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0b0f14;
  color: #ffffff;
  overflow-x: hidden;
}

/* =====================================================
   HEADER / NAV
===================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.logo {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 2px;
}

/* NAV DESKTOP */
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 1;
}

/* MENU TOGGLE */
/* ===== MENU TOGGLE (HAMBURGER) ===== */

.menu-toggle {
  width: 32px;
  height: 22px;
  display: none; /* só aparece no mobile */
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;

  /* REMOVE qualquer background */
  background: transparent;
  border: none;
}

/* Linhas */
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: 
    transform 0.35s ease,
    opacity 0.25s ease;
}

/* ===== ESTADO ATIVO → X ===== */

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}




.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ===== NAV MENU HOVER ANIMATION ===== */

header nav a {
  position: relative;
  padding: 6px 2px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Linha */
header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00e5ff, #007bff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

/* Hover */
header nav a:hover {
  color: #ffffff;
}

header nav a:hover::after {
  transform: scaleX(1);
}

/* Link ativo */
header nav a.active {
  color: #00e5ff;
}

header nav a.active::after {
  transform: scaleX(1);
}



/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  min-height: 100vh;
  padding: 0 10%;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80")
    center / cover no-repeat;
  opacity: 0.18;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* HERO CONTENT */
.hero-content span {
  display: block;
  font-size: 12px;
  letter-spacing: 4px;
  opacity: 0.7;
}

.hero-content h1 {
  font-size: 80px;
  font-weight: 900;
  margin: 20px 0;
}

.hero-content p {
  opacity: 0.85;
  line-height: 1.6;
}

/* HERO PHOTO */
.hero-photo {
  display: flex;
  justify-content: center;
}

.hero-photo img {
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  filter: grayscale(100%);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.hero-photo img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* =====================================================
   SECTIONS
===================================================== */
section {
  padding: 120px 10%;
}

.timeline {
  max-width: 900px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline {
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s ease;
}

.timeline-icon {
  min-width: 50px;
  height: 50px;
  background: #111827;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #4fc3f7;
}

.timeline-content h3 {
  margin: 10px 0;
  font-size: 18px;
}

.timeline-content p {
  opacity: 0.85;
  line-height: 1.7;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(#4fc3f7, transparent);
  transition: height 1.2s ease;
}

.timeline.animate::before {
  height: 100%;
}

.year {
  color: #4fc3f7;
  font-weight: 700;
  font-size: 14px;
}


h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #4fc3f7;
}

p {
  max-width: 820px;
  margin: auto;
  line-height: 1.8;
  opacity: 0.85;
}


/* Projects / CARDS */

#projects {
  padding: 100px 8%;
}

.project-filters {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  background: #111827;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #4fc3f7;
  color: #000;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.project-card {
  background: #0f172a;
  padding: 30px;
  border-radius: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

.project-card.show {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(79, 195, 247, 0.3);
  cursor: pointer;
}

.project-icon {
  font-size: 30px;
}

.project-card h3 {
  margin: 15px 0;
}

.project-card p {
  opacity: 0.85;
  line-height: 1.6;
}

.tags {
  margin-top: 15px;
  font-size: 13px;
  color: #4fc3f7;
}



/* GRID / CARDS */
.grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: #111827;
  padding: 30px;
  border-radius: 18px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* =====================================================
   MODAL
===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #0f172a;
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  background: none;
  border: none;
  color: #4fc3f7;
  cursor: pointer;
}

/* =====================================================
   skills
===================================================== */
#skills {
  padding: 100px 8%;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.skill-card {
  background: #0f172a;
  padding: 30px;
  border-radius: 20px;
  color: #e5e7eb;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.4s ease;
}

.skill-card.show {
  opacity: 1;
  transform: translateY(0);
}

.skill-card:hover {
  box-shadow: 0 15px 40px rgba(79, 195, 247, 0.3);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-icon {
  font-size: 26px;
}

.skill-card h3 {
  margin: 0;
}

.skill-card p {
  margin: 15px 0;
  line-height: 1.6;
  opacity: 0.85;
}

.skill-tech {
  font-size: 13px;
  color: #4fc3f7;
}

/* BARRA */
.skill-bar {
  background: #020617;
  border-radius: 10px;
  height: 8px;
  margin: 15px 0 5px;
  overflow: hidden;
}

.skill-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4fc3f7, #22d3ee);
  border-radius: 10px;
  transition: width 1.2s ease;
}

/* NÍVEIS */
.skill-card[data-level="advanced"] .skill-bar span {
  width: 90%;
}

.skill-card[data-level="intermediate"] .skill-bar span {
  width: 65%;
}

.skill-card[data-level="practical"] .skill-bar span {
  width: 75%;
}

.skill-level {
  font-size: 12px;
  opacity: 0.7;
}

.skill-icon {
  width: 28px;
  height: 28px;
  stroke: #4fc3f7;
  fill: none;
  stroke-width: 2;
}

.skill-card {
  opacity: 0.4;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.skill-card.active {
  opacity: 1;
  transform: translateY(0);
}


.skills-grid {
  scroll-snap-type: y mandatory;
}

.skill-card {
  scroll-snap-align: center;
}



#skills {
  padding: 100px 10%;
}

.skill-card {
  margin-bottom: 40px;
  transform: translateY(60px);
  opacity: 0.2;
}

.skill-card h3 {
  margin-bottom: 10px;
}

.skills-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 15px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Cada card */
.skill-card {
  min-width: 320px;
  scroll-snap-align: start;
}

.skills-grid::-webkit-scrollbar {
  height: 8px;
}

.skills-grid::-webkit-scrollbar-track {
  background: transparent;
}

.skills-grid::-webkit-scrollbar-thumb {
  background: rgba(79, 195, 247, 0.6);
  border-radius: 10px;
}

.skills-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(79, 195, 247, 0.9);
}

.scroll-hint {
  color: white;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  opacity: 0.2;
}




.bar {
  height: 6px;
  background: #222;
  border-radius: 10px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
}



/* MOBILE FIRST */
@media (max-width: 768px) {
  .skills-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .skill-card {
    min-width: 85%;
    scroll-snap-align: start;
  }

  /* Barra de rolagem discreta */
  .skills-grid::-webkit-scrollbar {
    height: 6px;
  }

  .skills-grid::-webkit-scrollbar-thumb {
    background: rgba(79, 195, 247, 0.6);
    border-radius: 10px;
  }
}


@media (max-width: 768px) {
  .scroll-hint {
    display: block;
  }
}



/* =====================================================
   Contact
===================================================== */
#contact {
  padding: 100px 8%;
  text-align: center;
}

.contact-intro {
  max-width: 600px;
  margin: 20px auto 60px;
  opacity: 0.85;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 70px;
}

.contact-card {
  background: #0f172a;
  padding: 35px;
  border-radius: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(79, 195, 247, 0.3);
}

.contact-icon {
  font-size: 32px;
}

.contact-card h3 {
  margin: 15px 0 10px;
}

.contact-card p {
  opacity: 0.8;
}

.contact-card a {
  display: inline-block;
  margin-top: 15px;
  color: #4fc3f7;
  text-decoration: none;
  font-weight: 600;
}

/* FORM */
.contact-form {
  max-width: 500px;
  margin: auto;
  background: #020617;
  padding: 40px;
  border-radius: 20px;
  text-align: left;
}

.contact-form h3 {
  text-align: center;
  margin-bottom: 25px;
}

/* ===== FORM INPUTS – SUAVE & TECH ===== */

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: 
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  outline: none;
}

/* Placeholder */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Focus */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00e5ff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.2);
}

/* Placeholder move */
.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
  opacity: 0.3;
  transform: translateX(6px);
}

/* Textarea fix */
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:not(:placeholder-shown),
.contact-form textarea:not(:placeholder-shown) {
  border-color: rgba(0, 229, 255, 0.6);
}


.contact-form button {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #4fc3f7;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #22d3ee;
}

/* ===== SUBMIT BUTTON ===== */

.submit-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #00e5ff, #007bff);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* Hover */
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.35);
}

/* Click */
.submit-btn:active {
  transform: scale(0.97);
}

/* Texto */
.submit-btn .btn-text {
  display: inline-block;
  transition: opacity 0.3s ease;
}

/* Loader */
.submit-btn .btn-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.submit-btn.loading .btn-text {
  opacity: 0;
}

.submit-btn.loading .btn-loader {
  opacity: 1;
}

/* Loader animation */
.submit-btn.loading .btn-loader::after {
  content: "";
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success state */
.submit-btn.success {
  background: linear-gradient(135deg, #00c853, #2e7d32);
  box-shadow: 0 0 20px rgba(0, 200, 83, 0.4);
}

.submit-btn.success .btn-text {
  opacity: 1;
}


.icon {
  width: 32px;
  height: 32px;
  color: #4fc3f7;
  margin-bottom: 15px;
}

/* ===== CONTACT TRANSITIONS ===== */

#contact {
  overflow: hidden;
}

/* Estado inicial (antes do scroll) */
#contact h2,
#contact .contact-intro,
.contact-card,
.contact-form {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Quando ativo */
#contact.show h2,
#contact.show .contact-intro {
  opacity: 1;
  transform: translateY(0);
}

/* Cards */
.contact-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Formulário */
.contact-form.show {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* Hover refinado */
.contact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* SVG micro animação */
.contact-icon svg {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 0.8s ease;
}

.contact-card.show .contact-icon svg {
  stroke-dashoffset: 0;
}

/* ===== FLOATING LABELS ===== */

.form-group {
  position: relative;
  margin-bottom: 18px;
}

/* Inputs */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 16px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Label */
.form-group label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
  background: transparent;
  transition: all 0.3s ease;
}

/* Focus + preenchido */
.form-group input:focus,
.form-group textarea:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 0 2px rgba(0,229,255,0.2);
}

/* Label sobe */
.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 0.7rem;
  padding: 0 6px;
  background: #0b0f1a; /* fundo do site */
  color: #00e5ff;
}

/* Textarea ajuste */
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* 
 feedback
*/
.form-feedback {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
}

.form-feedback.success {
  color: #22c55e;
}

.form-feedback.error {
  color: #ef4444;
}

/* =====================================================
   Whatsap Flutuant
===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(34,197,94,0.5);
  z-index: 999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: #fff;
}


/* =====================================================
   FOOTER
===================================================== */


.site-footer {
  padding: 40px 20px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-name {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-role {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
/* ===== FOOTER SCROLL ANIMATION ===== */

.site-footer {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Ativo */
.site-footer.show {
  opacity: 0.5;
  transform: translateY(0);
}

/* Itens internos (stagger leve) */
.site-footer .footer-name,
.site-footer .footer-role,
.site-footer .footer-copy {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.site-footer.show .footer-name {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.site-footer.show .footer-role {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.site-footer.show .footer-copy {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}


/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    font-size: 64px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 25px;
  }

  /* menu hamburguer visível */
  .menu-toggle {
    display: block;
  }

  /* menu oculto */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #0b0f14;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px;
    transition: right 0.4s ease;
  }

  nav.active {
    right: 0;
  }

  nav a {
    padding: 15px 0;
    font-size: 14px;
  }

  .hero {
    padding: 120px 8%;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-photo {
    order: -1;
    margin-bottom: 30px;
  }

  .hero-photo img {
    max-width: 260px;
  }

  .hero-content span {
    background-color: black;
  }
  .hero-content h1 {
    font-size: 50px;
  }
}
/* ANIMAÇÃO PARA X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* mostrar só no mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}


/* Glow nos cards (contacto, skills, projetos) */

.contact-card,
.skill-card,
.project-card {
  position: relative;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}

.contact-card:hover,
.skill-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 rgba(79, 195, 247, 0),
    0 10px 40px rgba(79, 195, 247, 0.25),
    0 0 25px rgba(79, 195, 247, 0.35);
}

/* Glow suave nos ícones SVG */
.contact-card:hover svg,
.skill-card:hover svg,
.project-card:hover svg {
  filter: drop-shadow(0 0 6px rgba(79, 195, 247, 0.8));
}
/* Glow também no focus (acessibilidade) */
.contact-card:focus-within,
.skill-card:focus-within,
.project-card:focus-within {
  box-shadow:
    0 10px 40px rgba(79, 195, 247, 0.25),
    0 0 25px rgba(79, 195, 247, 0.35);
}



#about {
  padding: 100px 8%;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

/* FOTO */
.about-photo img {
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(79,195,247,0.3);
}

/* TEXTO */
.about-content h3 {
  margin: 15px 0 25px;
  color: #4fc3f7;
}

.about-content p {
  margin-bottom: 15px;
  opacity: 0.9;
}

.about-list {
  margin: 25px 0 35px;
  list-style: none;
}

.about-list li {
  margin-bottom: 10px;
}

.about-btn {
  display: inline-block;
  padding: 14px 30px;
  background: #4fc3f7;
  color: #000;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(79,195,247,0.4);
}
/* Classe base de transição About*/
/* ===== Base reveal ===== */
.reveal {
  opacity: 0;
  transition: all 0.9s ease;
}

/* Ativo */
.reveal.active {
  opacity: 1;
}

/* Direções */
.slide-left {
  transform: translateX(-80px);
}

.slide-right {
  transform: translateX(80px);
}

.fade-up {
  transform: translateY(40px);
}

/* Quando ativo */
.reveal.active.slide-left,
.reveal.active.slide-right,
.reveal.active.fade-up {
  transform: translate(0);
}

/* Delays (stagger elegante) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }



/* RESPONSIVO */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo img {
    margin: auto;
  }
}


/* Animação Schroll down no hero*/
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
}

.scroll-down span {
  display: block;
  margin-bottom: 8px;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #4fc3f7;
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #4fc3f7;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}
.scroll-down {
  cursor: pointer;
}

@keyframes scrollWheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

