/* ============================================================
   IDEIA CVG – SITE INSTITUCIONAL
   Paleta oficial: Preto #1A1A1A | Amarelo #F5C800 | Cinza #F0F0F0
   Fontes: Bebas Neue (títulos) + Outfit (corpo)
   ============================================================ */

:root {
  --yellow:      #F5C800;
  --yellow-dark: #D4AC00;
  --yellow-light:#FFFBE6;
  --black:       #1A1A1A;
  --dark:        #222222;
  --gray:        #6B6B6B;
  --light-gray:  #F0F0F0;
  --mid-gray:    #E2E2E2;
  --white:       #FFFFFF;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.18);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--yellow); color: var(--black);
  padding: .85rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: .95rem;
  transition: var(--transition); border: 2px solid var(--yellow);
  cursor: pointer;
}
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,200,0,.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--white);
  padding: .85rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: .95rem;
  transition: var(--transition); border: 2px solid rgba(255,255,255,.45);
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: .6rem;
  background: #25D366; color: var(--white);
  padding: .85rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: .95rem;
  transition: var(--transition); cursor: pointer;
}
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.35); }

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block; background: var(--yellow-light); color: var(--dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem 1.1rem; border-radius: 50px; margin-bottom: 1rem;
  border: 1px solid rgba(245,200,0,.4);
}
.section-header h2, h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1; color: var(--black);
  letter-spacing: .03em;
}
.section-header h2 em, h2 em { font-style: normal; color: var(--yellow-dark); }
.section-header p { color: var(--gray); font-size: 1.05rem; max-width: 560px; margin: .8rem auto 0; }

/* ===== HEADER ===== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,26,26,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,200,0,.15);
  transition: var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 5%;
}
.logo img { height: 72px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 1.8rem; }
.nav-desktop a { color: rgba(255,255,255,.75); font-size: .92rem; font-weight: 500; transition: var(--transition); }
.nav-desktop a:hover { color: var(--yellow); }
.btn-catalogo {
  background: var(--yellow) !important; color: var(--black) !important;
  padding: .5rem 1.5rem; border-radius: 50px;
  font-weight: 700 !important; font-size: .85rem !important;
  transition: var(--transition); border: none;
}
.btn-catalogo:hover { background: var(--yellow-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,200,0,.4); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .3rem; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column;
  background: var(--dark); padding: .5rem 5% 1.5rem;
  border-top: 2px solid var(--yellow);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.8); font-size: 1rem; font-weight: 500;
  padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--yellow); }
.nav-mobile a.btn-catalogo { background: var(--yellow); color: var(--black) !important; border-radius: 8px; padding: .7rem 1rem; margin-top: .8rem; text-align: center; justify-content: center; border-bottom: none; }

/* ===== HERO ===== */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--black);
  padding: 100px 5% 4rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 55% 65% at 75% 45%, rgba(245,200,0,.12) 0%, transparent 65%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M50 50v-10h-5v10h-10v5h10v10h5v-10h10v-5h-10zM10 10V0H5v10H0v5h5v10h5V15h10v-5H10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,200,0,.15); color: var(--yellow);
  border: 1px solid rgba(245,200,0,.3);
  font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  padding: .4rem 1.1rem; border-radius: 50px; margin-bottom: 1.2rem;
  animation: fadeInDown .6s ease both;
}
.hero-tag::before { content:'💡'; font-size: 1rem; }
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.1; color: var(--white);
  letter-spacing: .02em; margin-bottom: 1.2rem;
  animation: fadeInUp .7s ease .1s both;
}
.hero-title em { font-style: normal; color: var(--yellow); }
.hero-desc {
  color: rgba(255,255,255,.65); font-size: 1rem; line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp .7s ease .2s both;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeInUp .7s ease .3s both; }

/* Hero visual (desktop) */
.hero-visual {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  width: 44%; max-width: 540px; z-index: 1; display: none;
}
.hero-cards { position: relative; height: 400px; }
.hcard {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hcard img { width: 100%; height: 100%; object-fit: contain; background: var(--white); padding: .6rem; }
.hcard-1 { width: 46%; top: 0; left: 0; height: 30%; animation: float 4s ease-in-out infinite; z-index: 3; border: 3px solid rgba(245,200,0,.5); }
.hcard-2 { width: 46%; top: 35%; right: 0; height: 30%; animation: float 4s ease-in-out infinite 1.2s; z-index: 3; border: 3px solid rgba(255,255,255,.2); }
.hcard-3 { width: 46%; bottom: 0; left: 27%; height: 30%; animation: float 4s ease-in-out infinite 2.2s; z-index: 3; border: 3px solid rgba(245,200,0,.35); }

@media (min-width: 1024px) {
  .hero-visual { display: block; }
  .hero-content { max-width: 50%; }
}

/* ===== NUMBERS ===== */
.numbers { background: var(--yellow); padding: 3rem 0; }
.numbers .container {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; text-align: center;
}
.num { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 3.2rem; color: var(--black); letter-spacing: .04em; }
.label { font-size: .88rem; color: rgba(26,26,26,.7); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 640px) { .numbers .container { grid-template-columns: repeat(4,1fr); } }

/* ===== SERVICES ===== */
.services { padding: 6rem 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.5rem; }
.service-card {
  background: var(--white); border: 2px solid var(--mid-gray);
  border-radius: var(--radius); padding: 2rem;
  transition: var(--transition); display: flex; flex-direction: column; gap: .8rem;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { border-color: var(--yellow); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; }
.service-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--black); }
.service-card p { color: var(--gray); font-size: .92rem; line-height: 1.6; flex: 1; }
.service-link { color: var(--yellow-dark); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: .3rem; }

/* ===== ABOUT ===== */
.about { padding: 6rem 0; background: var(--light-gray); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-visual { position: relative; }
.about-img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--black); }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1rem;
  background: var(--yellow); color: var(--black);
  padding: 1.2rem 1.5rem; border-radius: var(--radius);
  text-align: center; box-shadow: 0 8px 28px rgba(245,200,0,.5);
}
.badge-num { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 1; color: var(--black); }
.badge-text { font-size: .78rem; font-weight: 700; color: rgba(26,26,26,.75); line-height: 1.3; text-transform: uppercase; letter-spacing: .05em; }

.about-content .section-tag { margin-bottom: .8rem; }
.about-content h2 { margin-bottom: 1.2rem; }
.about-content > p { color: var(--gray); line-height: 1.7; margin-bottom: 2rem; }
.about-values { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.value-item strong { display: block; font-size: 1rem; color: var(--black); margin-bottom: .2rem; }
.value-item p { color: var(--gray); font-size: .91rem; line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 6rem 0; background: var(--black); }
.testimonials .section-tag { background: rgba(245,200,0,.15); color: var(--yellow); border-color: rgba(245,200,0,.25); }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header h2 em { color: var(--yellow); }
.testimonials .section-header p { color: rgba(255,255,255,.55); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.5rem; }
.testi-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius); padding: 1.8rem;
  transition: var(--transition);
}
.testi-card:hover { background: rgba(245,200,0,.06); border-color: rgba(245,200,0,.25); transform: translateY(-3px); }
.testi-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: .08em; }
.testi-card p { color: rgba(255,255,255,.7); font-size: .93rem; line-height: 1.7; margin-bottom: 1.2rem; }
.testi-card strong { color: var(--yellow); font-size: .88rem; }

/* ===== BRANDS ===== */
.brands { padding: 3.5rem 0; background: var(--white); border-top: 1px solid var(--mid-gray); border-bottom: 1px solid var(--mid-gray); }
.brands-label { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); font-weight: 700; margin-bottom: 2rem; }
.brands-track {
  display: flex; gap: 3.5rem; align-items: center; width: max-content;
  animation: scroll 22s linear infinite;
  -webkit-mask: linear-gradient(90deg, transparent 0%, white 8%, white 92%, transparent 100%);
}
.brand-item { flex-shrink: 0; }
.brand-item img { height: 34px; width: auto; object-fit: contain; opacity: .4; filter: grayscale(100%); transition: var(--transition); }
.brand-item img:hover { opacity: .9; filter: none; }

/* ===== CTA ===== */
.cta { padding: 5.5rem 0; background: var(--yellow); }
.cta-inner { text-align: center; }
.cta-inner h2 { color: var(--black); font-size: clamp(2rem, 5vw, 3.5rem); }
.cta-inner h2 em { font-style: normal; color: rgba(26,26,26,.55); }
.cta-inner p { color: rgba(26,26,26,.7); font-size: 1.1rem; margin: 1rem 0 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: var(--black); border-color: var(--black); color: var(--white); }
.cta .btn-primary:hover { background: #333; border-color: #333; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.cta .btn-whatsapp { background: #1A1A1A; }
.cta .btn-whatsapp:hover { background: #333; }

/* ===== FOOTER ===== */
.footer { background: var(--black); }
.footer-top { padding: 5rem 0 3rem; border-top: 3px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 600px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px)  { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand img { height: 72px; margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .9rem; line-height: 1.65; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.5rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--yellow); color: var(--black); transform: translateY(-2px); }

.footer-col h4 { color: var(--white); font-size: .88rem; font-weight: 700; margin-bottom: 1.2rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid rgba(245,200,0,.2); padding-bottom: .6rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul li a { color: rgba(255,255,255,.5); font-size: .88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--yellow); padding-left: 4px; }

.footer-contact { gap: 1rem !important; }
.footer-contact li { display: flex; align-items: flex-start; gap: .7rem; color: rgba(255,255,255,.5); font-size: .87rem; }
.footer-contact li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--yellow); }
.footer-contact li a { color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-contact li a:hover { color: var(--yellow); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1.5rem 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .8rem; }

/* ===== WA FLOAT ===== */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: var(--transition);
  animation: pulse-wa 2.5s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.1); background: #1ebe5d; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--black);
  padding: 8rem 5% 4.5rem; text-align: center;
  border-bottom: 3px solid var(--yellow);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(245,200,0,.1) 0%, transparent 60%);
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--white); letter-spacing: .04em; position: relative;
}
.page-hero h1 em { font-style: normal; color: var(--yellow); }
.page-hero p { color: rgba(255,255,255,.6); font-size: 1.05rem; margin-top: .8rem; position: relative; }
.breadcrumb { color: rgba(255,255,255,.35); font-size: .82rem; margin-bottom: .8rem; position: relative; }
.breadcrumb a { color: var(--yellow); }

/* ===== CONTACT FORM ===== */
.contact-section { padding: 6rem 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.5fr; } }

.contact-info h2 { font-size: 2rem; margin-bottom: 1.2rem; }
.contact-info > p { color: var(--gray); line-height: 1.7; margin-bottom: 2rem; }
.info-items { display: flex; flex-direction: column; gap: 1.3rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--yellow-light); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 1.5px solid rgba(245,200,0,.3);
}
.info-icon svg { width: 20px; height: 20px; }
.info-item strong { display: block; font-size: .82rem; color: var(--gray); margin-bottom: .2rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.info-item span, .info-item a { font-weight: 600; color: var(--black); font-size: .97rem; }
.info-item a:hover { color: var(--yellow-dark); }

.contact-form-wrap { background: var(--black); border-radius: 16px; padding: 2.5rem; border-top: 4px solid var(--yellow); }
.contact-form-wrap h3 { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: .04em; margin-bottom: 1.8rem; color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
@media (min-width: 500px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .07em; }
.form-group input, .form-group select, .form-group textarea {
  padding: .82rem 1rem; border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 8px; font-family: 'Outfit', sans-serif;
  font-size: .95rem; color: var(--white);
  background: rgba(255,255,255,.06); transition: var(--transition); resize: vertical;
}
.form-group select option { background: var(--dark); color: var(--white); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245,200,0,.15);
}
.form-group.full { grid-column: 1 / -1; }
.form-msg { padding: 1rem 1.2rem; border-radius: 8px; font-size: .92rem; margin-bottom: 1.2rem; display: none; }
.form-msg.success { background: rgba(37,211,102,.1); color: #4ade80; border: 1px solid rgba(37,211,102,.25); display: block; }
.form-msg.error   { background: rgba(239,68,68,.1);  color: #f87171; border: 1px solid rgba(239,68,68,.25);  display: block; }

/* ===== SOBRE PAGE ===== */
.mission-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.mission-card { background: var(--white); border-radius: var(--radius); padding: 2rem; border-left: 4px solid var(--yellow); box-shadow: var(--shadow); }
.mission-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .7rem; color: var(--black); }
.mission-card p { color: var(--gray); font-size: .92rem; line-height: 1.6; }

.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: .5rem; top: 0; bottom: 0; width: 2px; background: var(--yellow); opacity: .4; }
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-dot { position: absolute; left: -1.6rem; top: .3rem; width: 14px; height: 14px; background: var(--yellow); border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--yellow); }
.tl-item strong { display: block; font-size: 1rem; color: var(--black); margin-bottom: .3rem; }
.tl-item p { color: var(--gray); font-size: .9rem; line-height: 1.6; }
.tl-year { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: var(--yellow-dark); margin-bottom: .2rem; display: block; letter-spacing: .05em; }

/* ===== PORTFOLIO ===== */
.portfolio-section { padding: 5rem 0; }
.filter-bar { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3rem; }
.filter-btn { padding: .45rem 1.3rem; border-radius: 50px; border: 2px solid var(--mid-gray); background: var(--white); font-family: 'Outfit', sans-serif; font-size: .87rem; font-weight: 600; cursor: pointer; transition: var(--transition); color: var(--gray); }
.filter-btn.active, .filter-btn:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); box-shadow: 0 4px 16px rgba(245,200,0,.3); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1.5rem; }
.portfolio-item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; background: var(--light-gray); cursor: pointer; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(26,26,26,.85); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; opacity: 0; transition: .3s; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover img { transform: scale(1.07); }
.overlay-cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.overlay-title { color: var(--white); font-weight: 700; font-size: 1.05rem; text-align: center; padding: 0 1rem; }

/* ===== SERVICES DETAIL ===== */
.service-detail { padding: 5.5rem 0; }
.service-detail:nth-child(even) { background: var(--light-gray); }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media(min-width:900px){ .svc-grid { grid-template-columns: 1fr 1fr; } .svc-grid.reverse { direction: rtl; } .svc-grid.reverse > * { direction: ltr; } }
.svc-icon-big { width: 90px; height: 90px; margin-bottom: 1.5rem; padding: 1rem; background: var(--yellow-light); border-radius: 16px; border: 2px solid rgba(245,200,0,.3); }
.svc-icon-big img { width: 100%; height: 100%; object-fit: contain; }
.svc-items { display: flex; flex-direction: column; gap: .6rem; margin: 1.5rem 0; }
.svc-items li { display: flex; align-items: center; gap: .7rem; color: var(--gray); font-size: .92rem; }
.svc-items li::before { content: '✓'; color: var(--yellow-dark); font-weight: 800; font-size: .95rem; background: var(--yellow-light); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .7rem; }
.svc-img-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.svc-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.btn-outline-dark { display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: var(--black); padding: .85rem 2rem; border-radius: 50px; font-weight: 700; font-size: .95rem; transition: var(--transition); border: 2px solid var(--yellow); cursor: pointer; }
.btn-outline-dark:hover { background: var(--yellow); transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInUp   { from { opacity:0; transform:translateY(25px);  } to { opacity:1; transform:translateY(0); } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-14px); } }
@keyframes scroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes pulse-wa {
  0%,100% { box-shadow:0 6px 24px rgba(37,211,102,.4); }
  50%      { box-shadow:0 6px 36px rgba(37,211,102,.7), 0 0 0 12px rgba(37,211,102,.08); }
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .about-badge { right: .5rem; bottom: -1rem; }
  .hero { padding-top: 90px; }
}