/* =====================================================
   WILUCHI — Folha de Estilos Principal
   ===================================================== */

:root {
  --navy:         #0B2447;
  --navy-light:   #19376D;
  --orange:       #E85D04;
  --orange-light: #FB8B24;
  --white:        #ffffff;
  --light:        #F5F8FC;
  --light-2:      #EBF0F7;
  --gray:         #64748B;
  --gray-light:   #94A3B8;
  --dark:         #0F172A;
  --border:       #E2E8F0;
  --shadow:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:    0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:    0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
  --radius:       14px;
  --radius-sm:    8px;
  --transition:   all .3s cubic-bezier(.4,0,.2,1);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; transition: var(--transition); }

/* ===== Navbar ===== */
#mainNav {
  padding: 20px 0;
  background: transparent;
  transition: var(--transition);
}
#mainNav.scrolled {
  background: rgba(11,36,71,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.navbar-brand img {
  background: white;
  padding: 4px 10px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link {
  color: rgba(255,255,255,.8) !important;
  font-size: .92rem;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--orange-light) !important;
  background: rgba(255,255,255,.08);
}
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 3px 12px rgba(232,93,4,.4);
  white-space: nowrap;
}
.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,93,4,.5);
  color: white !important;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #081d3a 0%, #0B2447 45%, #19376D 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Glow orbs de fundo */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,93,4,.18) 0%, transparent 65%);
  top: -200px; right: -150px;
  animation: pulse-glow 7s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(251,139,36,.1) 0%, transparent 65%);
  bottom: -150px; left: -80px;
  animation: pulse-glow 9s ease-in-out infinite 3s;
}

/* Círculos giratórios decorativos */
.hero-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.hero-ring-1 { width: 320px; height: 320px; top:  8%; right: 8%;  animation: spin 30s linear infinite; }
.hero-ring-2 { width: 200px; height: 200px; top: 18%; right: 13%; animation: spin 42s linear infinite reverse; }
.hero-ring-3 { width: 140px; height: 140px; bottom: 22%; left: 4%; animation: spin 25s linear infinite; }

/* Quadrados flutuantes */
.hero-float {
  position: absolute;
  border-radius: var(--radius-sm);
  background: rgba(232,93,4,.12);
  border: 1px solid rgba(232,93,4,.2);
  pointer-events: none;
}
.hero-float-1 { width: 56px; height: 56px; top: 22%; left:  7%; animation: float-shape 7s ease-in-out infinite; }
.hero-float-2 { width: 38px; height: 38px; top: 58%; right: 10%; animation: float-shape 9s ease-in-out infinite 2s; }
.hero-float-3 { width: 28px; height: 28px; bottom: 28%; left: 18%; animation: float-shape 6s ease-in-out infinite 4s; }

/* Conteúdo */
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,93,4,.15);
  border: 1px solid rgba(232,93,4,.3);
  color: var(--orange-light);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 24px;
  animation: fadeInDown .8s ease both;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 22px;
  animation: fadeInUp .8s ease .15s both;
}
.hero h1 .accent { color: var(--orange-light); }

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 40px;
  animation: fadeInUp .8s ease .3s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp .8s ease .45s both;
}

/* Card de imagem do hero */
.hero-img-side { position: relative; z-index: 2; animation: fadeInRight .9s ease .3s both; }

.hero-img-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 28px 64px rgba(0,0,0,.45);
}
.hero-img-card img {
  border-radius: 14px;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Cartões de estatísticas flutuantes */
.hero-stat-pill {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.hero-stat-pill-1 { bottom: 22%; left: -28px; animation: float-card 5s ease-in-out infinite; }
.hero-stat-pill-2 { top:   12%; right: -28px; animation: float-card 5s ease-in-out infinite 2.5s; }

.pill-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.05rem; flex-shrink: 0;
}
.pill-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  color: var(--navy); line-height: 1;
  display: block;
}
.pill-label { font-size: .72rem; color: var(--gray); display: block; }

/* ===== Secções Gerais ===== */
.section { padding: 100px 0; }
.section-light { background: var(--light); }
.section-navy  {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-tag::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 14px;
}
.section-navy .section-title { color: var(--white); }

.section-subtitle {
  font-size: 1.03rem;
  color: var(--gray);
  line-height: 1.75;
}
.section-navy .section-subtitle { color: rgba(255,255,255,.68); }

/* ===== Botões ===== */
.btn-primary-wil {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  border: none;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(232,93,4,.4);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary-wil:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,93,4,.5);
  color: white;
}

.btn-outline-wil {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,.28);
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-wil:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.55);
  color: white;
  transform: translateY(-2px);
}

.btn-navy-wil {
  background: var(--navy);
  color: white;
  border: none;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-navy-wil:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  color: white;
}

/* ===== Sobre Nós ===== */
.about-img-wrap { position: relative; }
.about-img-main {
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  width: 100%; height: 460px;
  object-fit: cover;
}
.about-years-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  border-radius: var(--radius);
  padding: 22px 26px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(232,93,4,.45);
}
.about-years-badge .num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  line-height: 1; display: block;
}
.about-years-badge .lbl { font-size: .78rem; opacity: .9; }

.pillar {
  display: flex; gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.pillar-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(232,93,4,.12), rgba(251,139,36,.06));
  border: 1px solid rgba(232,93,4,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 1.15rem;
}
.pillar h5 { font-size: .98rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pillar p  { font-size: .88rem; color: var(--gray); margin: 0; }

/* ===== Cards de Serviço ===== */
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  height: 100%;
  transition: var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 74px; height: 74px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.9rem;
  margin-bottom: 26px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
}
.service-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 12px; }
.service-card p  { color: var(--gray); font-size: .93rem; margin-bottom: 22px; }

.service-list {
  list-style: none; padding: 0; margin: 0 0 26px;
}
.service-list li {
  padding: 5px 0; font-size: .88rem; color: var(--gray);
  display: flex; align-items: center; gap: 9px;
}
.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%; flex-shrink: 0;
}

.service-link {
  color: var(--orange); font-weight: 600; font-size: .88rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-link:hover { gap: 11px; color: var(--orange); }

/* ===== Stats Animadas ===== */
.stat-block { text-align: center; padding: 44px 20px; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3.2rem; font-weight: 800;
  color: var(--orange-light);
  line-height: 1; margin-bottom: 8px;
}
.stat-divider {
  width: 36px; height: 3px;
  background: rgba(255,255,255,.2);
  border-radius: 2px;
  margin: 10px auto;
}
.stat-label { color: rgba(255,255,255,.65); font-size: .93rem; }

/* ===== Cards de Actividade ===== */
.activity-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  display: flex; flex-direction: column;
  transition: var(--transition);
}
.activity-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.act-img-wrap { position: relative; overflow: hidden; }
.act-img {
  width: 100%; height: 224px;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.activity-card:hover .act-img { transform: scale(1.06); }
.act-img-placeholder {
  width: 100%; height: 224px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.2); font-size: 3rem;
}
.act-date-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--orange); color: white;
  border-radius: 7px; padding: 5px 12px;
  font-size: .76rem; font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
.act-body {
  padding: 24px; flex: 1;
  display: flex; flex-direction: column;
}
.act-body h4 { font-size: 1.08rem; color: var(--navy); margin-bottom: 8px; }
.act-body p  { font-size: .88rem; color: var(--gray); flex: 1; margin-bottom: 18px; }
.act-link {
  color: var(--orange); font-weight: 600; font-size: .85rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.act-link:hover { gap: 11px; color: var(--orange); }

/* ===== CTA Banner ===== */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  padding: 84px 0;
  position: relative; overflow: hidden;
}
.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.cta-section::before { width: 440px; height: 440px; top: -220px; right: -80px; }
.cta-section::after  { width: 320px; height: 320px; bottom: -160px; left: -60px; }

.cta-section h2 { color: white; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-section p  { color: rgba(255,255,255,.85); font-size: 1.05rem; }

.btn-cta-white {
  background: white; color: var(--orange);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-family: 'Poppins', sans-serif; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 5px 18px rgba(0,0,0,.18);
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  color: var(--orange);
}

/* ===== Cabeçalho de Página (internas) ===== */
.page-header {
  background: linear-gradient(135deg, #081d3a 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 148px 0 84px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/images/slide/003.jpg') center/cover no-repeat;
  opacity: .06;
}
.page-header-inner { position: relative; z-index: 2; }
.page-header h1 { color: white; font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 10px; }
.page-header .lead { color: rgba(255,255,255,.7); font-size: 1.03rem; margin: 0; }
.breadcrumb-wil {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.5);
  margin-top: 14px;
}
.breadcrumb-wil a { color: var(--orange-light); }
.breadcrumb-wil i { font-size: .65rem; }

/* ===== Página de Contacto ===== */
.contact-info-card {
  background: var(--navy);
  border-radius: 20px; padding: 44px 40px;
  color: white; height: 100%;
}
.contact-info-card h3 { color: white; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,.65); margin-bottom: 36px; }

.c-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 26px;
}
.c-item-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(232,93,4,.18);
  border: 1px solid rgba(232,93,4,.28);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-light); font-size: 1.05rem;
}
.c-item h6 {
  font-size: .73rem; text-transform: uppercase;
  letter-spacing: 1.2px; color: rgba(255,255,255,.5);
  margin-bottom: 4px;
}
.c-item p, .c-item a {
  color: white; margin: 0; font-size: .93rem;
}

.contact-form-card {
  background: white;
  border-radius: 20px; padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  height: 100%;
}
.contact-form-card h3 { color: var(--navy); margin-bottom: 8px; }
.contact-form-card > p { color: var(--gray); margin-bottom: 30px; }

.form-label {
  font-weight: 600; font-size: .85rem;
  color: var(--dark); margin-bottom: 6px;
}
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 16px; font-size: .93rem;
  color: var(--dark); background: var(--light);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,4,.13);
  background: white; outline: none;
}
textarea.form-control { resize: vertical; min-height: 130px; }

.msg-success {
  background: #f0fdf4; border: 1px solid #86efac;
  border-radius: var(--radius-sm); padding: 14px 18px;
  color: #166534; display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px; font-size: .9rem;
}
.msg-error {
  background: #fef2f2; border: 1px solid #fca5a5;
  border-radius: var(--radius-sm); padding: 14px 18px;
  color: #991b1b; display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px; font-size: .9rem;
}

/* ===== Formação Profissional ===== */
.training-card {
  background: white; border-radius: 16px;
  padding: 32px; border: 1px solid var(--border);
  height: 100%; transition: var(--transition);
}
.training-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,93,4,.28);
}
.training-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, rgba(11,36,71,.07), rgba(25,55,109,.04));
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.45rem; margin-bottom: 20px;
}
.training-card h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.training-card p  { font-size: .88rem; color: var(--gray); margin-bottom: 14px; }
.training-duration {
  font-size: .78rem; color: var(--orange);
  font-weight: 600; display: flex; align-items: center; gap: 6px;
}

.custom-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 22px; padding: 60px 50px; color: white;
  position: relative; overflow: hidden;
}
.custom-box::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(232,93,4,.22) 0%, transparent 65%);
  top: -120px; right: -60px;
  border-radius: 50%;
}
.custom-box h3 { color: white; font-size: 1.9rem; margin-bottom: 16px; }
.custom-box p  { color: rgba(255,255,255,.72); margin-bottom: 32px; }
.custom-checklist {
  list-style: none; padding: 0; margin: 0 0 32px;
}
.custom-checklist li {
  padding: 6px 0; color: rgba(255,255,255,.8); font-size: .93rem;
  display: flex; align-items: center; gap: 10px;
}
.custom-checklist li i { color: var(--orange-light); }

/* ===== Galeria de Actividade ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-top: 32px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}
.gallery-item::after {
  content: '\f00e'; /* fa-search-plus */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem;
  background: rgba(11,36,71,0);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.gallery-item:hover::after {
  background: rgba(11,36,71,.38);
  opacity: 1;
}

/* ===== Serviços — detalhe ===== */
.process-step {
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 32px;
}
.process-num {
  width: 54px; height: 54px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem; font-weight: 800; color: white;
}
.process-step h5 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.process-step p  { font-size: .88rem; color: var(--gray); margin: 0; }

/* ===== Footer ===== */
.footer {
  background: #080f1c;
  padding: 90px 0 44px;
}
.footer-title {
  color: white; font-size: .98rem; font-weight: 700;
  margin-bottom: 22px; font-family: 'Poppins', sans-serif;
}
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.75; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  color: rgba(255,255,255,.5); font-size: .88rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--orange-light); padding-left: 5px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 13px; font-size: .88rem; color: rgba(255,255,255,.5);
}
.footer-contact li i { color: var(--orange); margin-top: 3px; width: 15px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.5); }
.footer-contact a:hover { color: var(--orange-light); }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); transition: var(--transition);
}
.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: white; transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 50px; padding-top: 26px; text-align: center;
}
.footer-bottom p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--orange-light); }

/* ===== Botão Scroll-Top ===== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  width: 46px; height: 46px;
  background: var(--orange); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  opacity: 0; visibility: hidden;
  box-shadow: 0 4px 16px rgba(232,93,4,.45);
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover {
  background: var(--orange-light);
  color: white; transform: translateY(-3px);
}

/* ===== Painel Admin ===== */
.admin-wrap { display: flex; min-height: 100vh; background: #f1f5f9; }

.admin-sidebar {
  width: 256px; flex-shrink: 0;
  background: var(--navy);
  padding: 0; position: fixed;
  top: 0; left: 0; bottom: 0; z-index: 200;
  display: flex; flex-direction: column;
}
.admin-sidebar-logo {
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.admin-sidebar-logo img { height: 38px; filter: brightness(0) invert(1); }

.admin-nav { padding: 12px 0; flex: 1; }
.admin-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 24px;
  color: rgba(255,255,255,.58); font-size: .88rem;
  transition: var(--transition); border-right: 3px solid transparent;
}
.admin-nav-link:hover, .admin-nav-link.active {
  color: white; background: rgba(255,255,255,.07);
  border-right-color: var(--orange);
}
.admin-nav-link i { width: 18px; }

.admin-main { margin-left: 256px; flex: 1; padding: 28px 32px; }

.admin-topbar {
  background: white; border-radius: var(--radius);
  padding: 15px 22px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.admin-topbar h6 { margin: 0; color: var(--navy); font-size: .95rem; font-weight: 700; }

.admin-card {
  background: white; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.admin-card-title {
  font-size: .95rem; font-weight: 700; color: var(--navy);
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}

.admin-stat {
  background: white; border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
}
.admin-stat-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; flex-shrink: 0;
}

.table th {
  font-size: .8rem; text-transform: uppercase;
  letter-spacing: .8px; color: var(--gray);
  font-weight: 600; border-bottom: 2px solid var(--border);
  padding: 10px 14px;
}
.table td { padding: 13px 14px; vertical-align: middle; font-size: .9rem; }

/* ===== Keyframes ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float-shape {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50%       { transform: translateY(-26px) rotate(25deg); }
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.12); opacity: .65; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Responsivo ===== */
@media (max-width: 991.98px) {
  .hero { padding: 130px 0 80px; }
  .hero-img-side { margin-top: 44px; }
  .hero-stat-pill { display: none; }
  .about-years-badge { right: 10px; bottom: 10px; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
}
@media (max-width: 767.98px) {
  .section { padding: 72px 0; }
  .hero h1 { font-size: 2rem; }
  .contact-info-card, .contact-form-card { padding: 30px 26px; }
  .custom-box { padding: 40px 28px; }
  .service-card { padding: 30px 24px; }
}


/* ═══════════════════════════════════════════════════════════════
   ADICIONAR AO FICHEIRO /assets/css/style.css
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   FIX: Menu mobile sobrepõe conteúdo da página
   O menu collapsed deve ficar acima do conteúdo mas dentro do
   navbar — usa position relativa no collapse e z-index correcto.
   ───────────────────────────────────────────────────────────── */
#mainNav {
    z-index: 1050;
}

/* Garante que o menu expandido aparece sobre o hero/conteúdo */
#mainNav .navbar-collapse {
    z-index: 1049;
}

@media (max-width: 991.98px) {
    #mainNav .navbar-collapse {
        position: absolute;
        top: 100%;          /* logo abaixo do navbar */
        left: 0;
        right: 0;
        background: var(--navy, #0d1f3c);
        padding: 16px 20px 20px;
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 8px 24px rgba(0,0,0,.35);
    }

    #mainNav .navbar-nav {
        gap: 0 !important;
    }

    #mainNav .navbar-nav .nav-link {
        padding: 10px 4px;
        border-bottom: 1px solid rgba(255,255,255,.07);
    }

    #mainNav .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    /* Botão CTA em mobile: largura total */
    #mainNav .btn-nav-cta {
        display: block;
        text-align: center;
        margin: 14px 0 0;
        width: 100%;
    }
}


/* ─────────────────────────────────────────────────────────────
   CARDS DE ACTIVIDADES  (actividades.php)
   ───────────────────────────────────────────────────────────── */
.act-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.act-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.act-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--orange, #e87722), var(--orange-light, #fb8b24));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    z-index: 2;
}

.act-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(11,36,71,.16);
}

.act-card:hover::before { transform: scaleX(1); }

/* Capa com proporção fixa — todas as imagens ficam com o mesmo tamanho,
   independentemente das dimensões originais da foto (crop central) */
.act-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    background: var(--light-bg, #f4f6fb);
}

.act-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.act-card:hover .act-card-img img {
    transform: scale(1.08);
}

/* Sombra gradiente que surge sobre a foto ao passar o rato — dá profundidade */
.act-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,36,71,0) 45%, rgba(11,36,71,.5) 100%);
    opacity: 0;
    transition: opacity .35s ease;
}

.act-card:hover .act-card-img::after { opacity: 1; }

.act-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary, #e87722);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
}

/* Ícone circular que aparece sobre a foto ao passar o rato */
.act-card-img-reveal {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--navy, #0d1f3c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all .35s ease;
    z-index: 2;
}

.act-card:hover .act-card-img-reveal {
    opacity: 1;
    transform: translateY(0);
}

.act-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.act-card-date {
    font-size: .8rem;
    color: var(--gray, #6b7280);
    margin-bottom: 8px;
}

.act-card-date i {
    margin-right: 5px;
    color: var(--primary, #e87722);
}

.act-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy, #0d1f3c);
    margin-bottom: 12px;
    line-height: 1.4;
}

.act-card-excerpt {
    font-size: .88rem;
    color: var(--gray, #6b7280);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 18px;
}

.act-card-cta {
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary, #e87722);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s;
}

.act-card:hover .act-card-cta {
    gap: 10px;
}


/* ─────────────────────────────────────────────────────────────
   DETALHE DE ACTIVIDADE  (actividade.php)
   ───────────────────────────────────────────────────────────── */

/* Foto de capa — proporção fixa e moderna, independente do tamanho original */
.act-detail-cover {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    aspect-ratio: 16 / 8;
}

.act-detail-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .8s cubic-bezier(.4,0,.2,1);
}

.act-detail-cover:hover img {
    transform: scale(1.04);
}

@media (max-width: 767.98px) {
    .act-detail-cover { aspect-ratio: 4 / 3; }
}

.act-detail-cover-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--primary, #e87722);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
}

/* Badges informativos */
.act-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 8px;
}

.act-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light-bg, #f4f6fb);
    border-radius: 12px;
    padding: 12px 18px;
    flex: 1 1 200px;
}

.act-badge i {
    font-size: 1.25rem;
    color: var(--primary, #e87722);
    flex-shrink: 0;
}

.act-badge div {
    display: flex;
    flex-direction: column;
}

.act-badge small {
    font-size: .72rem;
    color: var(--gray, #6b7280);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.act-badge strong {
    font-size: .9rem;
    color: var(--navy, #0d1f3c);
    font-weight: 600;
}

/* Descrição */
.act-detail-desc {
    font-size: 1.02rem;
    color: var(--gray, #4b5563);
    line-height: 1.9;
}

/* Navegação inferior */
.act-detail-nav {
    position: relative;
    z-index: 1;
    margin-top: 72px;
    padding-top: 36px;
    padding-bottom: 8px;
    border-top: 1px solid var(--border, #e5e7eb);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    clear: both;
}

@media (max-width: 575.98px) {
    .act-detail-nav {
        flex-direction: column;
        align-items: stretch;
        margin-top: 56px;
    }
    .act-detail-nav .btn-navy-wil,
    .act-detail-nav .btn-primary-wil {
        justify-content: center;
        width: 100%;
    }
}

/* Foto de capa clicável — indica que se pode ampliar */
.act-detail-cover img { cursor: zoom-in; }

/* ─────────────────────────────────────────────────────────────
   LIGHTBOX — mostra a foto completa (sem corte) ao clicar
   ───────────────────────────────────────────────────────────── */
.wil-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(8,15,28,.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.wil-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.wil-lightbox-inner {
    position: relative;
    max-width: 94vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(.96);
    transition: transform .3s ease;
}

.wil-lightbox.is-open .wil-lightbox-inner {
    transform: scale(1);
}

.wil-lightbox-img {
    max-width: 94vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
    background: #0b1424;
}

.wil-lightbox-caption {
    color: rgba(255,255,255,.75);
    font-size: .88rem;
    margin-top: 16px;
    text-align: center;
    max-width: 70ch;
}

.wil-lightbox-close {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.wil-lightbox-close:hover {
    background: var(--orange, #e85d04);
    border-color: var(--orange, #e85d04);
    transform: rotate(90deg);
}

/* Botões Anterior / Seguinte */
.wil-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
}

.wil-lightbox-nav:hover {
    background: var(--orange, #e85d04);
    border-color: var(--orange, #e85d04);
}

.wil-lightbox-prev { left: 22px; }
.wil-lightbox-next { right: 22px; }

.wil-lightbox-counter {
    display: none;
    margin-top: 10px;
    color: rgba(255,255,255,.55);
    font-size: .8rem;
    letter-spacing: .04em;
}

@media (max-width: 575.98px) {
    .wil-lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; }
    .wil-lightbox-nav { width: 42px; height: 42px; font-size: 1rem; }
    .wil-lightbox-prev { left: 8px; }
    .wil-lightbox-next { right: 8px; }
}
