/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #F5C800;
  --yellow-dark: #D4A900;
  --black: #0A0A0A;
  --dark: #111111;
  --dark2: #1A1A1A;
  --gray: #888;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,200,0,0.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-full { width: 100%; justify-content: center; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 24px;
  transition: var(--transition);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}
/* Logo completo branco */
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--yellow); }

.btn-nav {
  background: var(--yellow) !important;
  color: var(--black) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700 !important;
}
.btn-nav:hover { background: var(--yellow-dark) !important; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 12px;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.45);
  padding: 4px 7px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.15s;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}
.lang-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.lang-btn.active { background: var(--yellow); border-color: var(--yellow); color: #000; }

/* RTL (Arabic) */
[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .hero-content,
[dir="rtl"] .section-header,
[dir="rtl"] .about-text,
[dir="rtl"] .contact-info,
[dir="rtl"] .contact-form,
[dir="rtl"] .service-card,
[dir="rtl"] .dif-card,
[dir="rtl"] .step { text-align: right; }
[dir="rtl"] .hero-btns { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .step-arrow { transform: scaleX(-1); }
[dir="rtl"] .footer-inner { direction: rtl; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(245,200,0,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(245,200,0,0.06) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,200,0,0.15);
  border: 1px solid rgba(245,200,0,0.3);
  color: var(--yellow);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.badge::before { content: ''; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  animation: scroll-dot 2s infinite;
}
@keyframes scroll-dot {
  0%, 100% { top: 6px; opacity: 1; }
  80% { top: 20px; opacity: 0; }
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-dark { background: var(--dark); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.55); }

.tag {
  display: inline-block;
  background: rgba(245,200,0,0.12);
  color: var(--yellow-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-dark .tag, .section-about .tag {
  background: rgba(245,200,0,0.15);
  color: var(--yellow);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card.featured {
  background: var(--black);
  border-color: var(--yellow);
}
.service-card.featured::before { transform: scaleX(1); }
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.6); }
.service-card.featured ul li { color: rgba(255,255,255,0.7); }

.service-icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.6; }
.service-card ul li {
  font-size: 0.85rem;
  color: var(--gray);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-size: 0.8rem;
}

/* ===== PORTFOLIO ===== */
.portfolio-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

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

.portfolio-item { border-radius: var(--radius); overflow: hidden; }
.portfolio-img {
  height: 260px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}

.portfolio-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  transition: var(--transition);
}
.portfolio-item:hover .portfolio-img::after {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
}
.portfolio-item:hover .portfolio-img {
  transform: scale(1.04);
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  z-index: 2;
  transition: var(--transition);
}
.portfolio-overlay h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.portfolio-overlay span { color: var(--yellow); font-size: 0.8rem; font-weight: 600; }

.portfolio-item.hidden { display: none; }

/* ===== PROCESS ===== */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
}
.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.8;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--yellow);
  padding: 0 8px;
  margin-top: 60px;
  font-weight: 300;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-block { position: relative; }
.about-img-main {
  height: 460px;
  border-radius: 16px;
  border: 1px solid rgba(245,200,0,0.2);
  overflow: hidden;
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--yellow);
  color: var(--black);
  padding: 20px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(245,200,0,0.3);
}
.about-badge-float strong { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge-float span { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.about-text h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; }
.about-text p { color: var(--gray); margin-bottom: 16px; line-height: 1.7; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 32px;
}
.feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.feat-icon {
  color: var(--yellow-dark);
  font-weight: 700;
}

/* ===== DIFERENCIAIS ===== */
.section-dif { background: var(--light-gray); }
.dif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dif-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid #eee;
  transition: var(--transition);
}
.dif-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dif-icon { font-size: 2.2rem; margin-bottom: 14px; }
.dif-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.dif-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

/* ===== CLIENTS ===== */
.section-clientes { background: var(--light-gray); }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.client-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  transition: var(--transition);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.client-card img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}
.client-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.client-card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245,200,0,0.25);
}

/* ===== VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}
.value-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.val-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.value-item strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.value-item p { font-size: 0.82rem; color: var(--gray); line-height: 1.4; }

.footer-slogan { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin-top: 6px; }

/* ===== FEIRAS ===== */
.section-feiras { background: var(--light-gray); }
.feiras-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.feira {
  background: var(--white);
  border: 1px solid #e0e0e0;
  padding: 20px 36px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--dark);
  transition: var(--transition);
}
.feira:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245,200,0,0.25);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info { padding-top: 8px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon { font-size: 1.5rem; margin-top: 2px; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-item p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.contact-item a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.contact-item a:hover { color: var(--yellow); }

.contact-map {
  margin-top: 40px;
  grid-column: 1 / -1;
}

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: rgba(255,255,255,0.7); font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group select option { background: var(--dark2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  background: rgba(245,200,0,0.05);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  text-align: center;
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  padding: 12px;
  background: rgba(74,222,128,0.1);
  border-radius: 8px;
}

/* ===== FOOTER ===== */
.footer { background: var(--black); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-top: 16px; max-width: 280px; line-height: 1.6; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.social-links a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

.footer-links h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--yellow); }

.footer-bottom { padding: 20px 0; }
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 0.82rem; text-align: center; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  background: #25D366;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1ebe5d; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 36px rgba(37,211,102,0.75); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-main { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-steps { gap: 12px; }
  .step-arrow { display: none; }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; background: var(--black); padding: 80px 32px 32px; gap: 24px; transition: right 0.3s ease; z-index: 999; }
  .nav-links.open { display: flex; right: 0; }
  .hamburger { display: flex; z-index: 1000; position: relative; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .about-features { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }
}
