/* ═══════════════════════════════════════════════
   CSS VARIABLES & RESET
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --navy-dark: #0f1621;
  --steel: #4a5568;
  --steel-light: #718096;
  --gray-100: #f7f8fa;
  --gray-200: #edf0f4;
  --gray-300: #d2d8e0;
  --gray-400: #a0aec0;
  --white: #ffffff;
  --accent: #2c5282;
  --accent-light: #3a6db5;
  --accent-gold: #b8976a;
  --text-dark: #1a202c;
  --text-body: #4a5568;
  --text-light: #a0aec0;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
  --radius: 8px;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; display: block;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px);
  font-weight: 600; color: var(--text-dark); line-height: 1.2; margin-bottom: 20px;
}
.section-subtitle {
  font-size: 17px; color: var(--steel-light); max-width: 600px; line-height: 1.7;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius); font-family: var(--font-sans);
  font-size: 14px; font-weight: 600; letter-spacing: .5px; cursor: pointer;
  transition: var(--transition); border: none;
}
.btn-primary {
  background: var(--accent); color: var(--white);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(26,35,50,.95); backdrop-filter: blur(12px);
  transition: var(--transition);
}
.header.scrolled { padding: 10px 0; box-shadow: 0 2px 20px rgba(0,0,0,.2); }
.header .container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-weight: 700; font-size: 18px; color: var(--white); letter-spacing: 1px; }
.logo-tagline { font-size: 10px; color: var(--gray-400); letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 13px; font-weight: 500; letter-spacing: .5px; color: var(--gray-400);
  transition: var(--transition); text-transform: uppercase;
}
.nav a:hover { color: var(--white); }
.nav .btn { padding: 10px 24px; font-size: 13px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  margin: 5px 0; transition: var(--transition);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/balcao-recepcao-1.jpg') center/cover;
  opacity: .15; filter: grayscale(30%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,22,33,.6) 0%, rgba(26,35,50,.9) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(44,82,130,.3); border: 1px solid rgba(44,82,130,.5);
  border-radius: 24px; padding: 8px 20px; margin-bottom: 32px;
  font-size: 12px; font-weight: 600; color: var(--accent-light); letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-light); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero h1 {
  font-family: var(--font-display); font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 600; color: var(--white); line-height: 1.15; margin-bottom: 24px;
}
.hero h1 span { color: var(--accent-gold); }
.hero p {
  font-size: 18px; color: var(--gray-400); line-height: 1.7;
  max-width: 520px; margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 48px; margin-top: 72px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-number {
  font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--white);
}
.hero-stat-label { font-size: 13px; color: var(--gray-400); margin-top: 4px; }

/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-image {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 480px; object-fit: cover; }
.about-image-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--navy); color: var(--white); padding: 16px 24px;
  border-radius: var(--radius);
}
.about-image-badge strong {
  font-family: var(--font-display); font-size: 28px; display: block; color: var(--accent-gold);
}
.about-image-badge span { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-400); }

.about-text p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; color: var(--steel); }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px;
}
.about-feature {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px;
  background: var(--gray-100); border-radius: var(--radius);
}
.about-feature-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-feature-icon svg { width: 20px; height: 20px; stroke: var(--white); fill: none; stroke-width: 2; }
.about-feature h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.about-feature p { font-size: 13px; color: var(--steel-light); line-height: 1.5; margin: 0; }

/* ═══════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════ */
.services { background: var(--gray-100); }
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .section-subtitle { margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 40px 32px;
  transition: var(--transition); border: 1px solid var(--gray-200);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transition: var(--transition);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--white); fill: none; stroke-width: 1.8; }
.service-card h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 12px;
}
.service-card p { font-size: 15px; line-height: 1.7; color: var(--steel-light); }

/* ═══════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════ */
.portfolio { background: var(--white); }
.portfolio-header { text-align: center; margin-bottom: 48px; }
.portfolio-header .section-subtitle { margin: 0 auto; }

.portfolio-filters {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px; border: 1px solid var(--gray-300); border-radius: 24px;
  background: transparent; font-family: var(--font-sans); font-size: 13px;
  font-weight: 500; color: var(--steel); cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.portfolio-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; aspect-ratio: 4/3;
}
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,22,33,.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.portfolio-overlay span { font-size: 13px; color: var(--gray-400); }
.portfolio-overlay .tag {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 12px;
  margin-bottom: 8px; letter-spacing: .5px; text-transform: uppercase; width: fit-content;
}

/* Featured item spans 2 columns */
.portfolio-item.featured { grid-column: span 2; aspect-ratio: 2/1; }

/* ═══════════════════════════════════════════════
   CLIENTS / TRUST BAR
   ═══════════════════════════════════════════════ */
.clients {
  background: var(--navy); padding: 64px 0;
}
.clients-inner {
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.clients-text {
  font-size: 14px; font-weight: 600; color: var(--gray-400); letter-spacing: 1px;
  text-transform: uppercase; white-space: nowrap;
}
.clients-logos {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center;
}
.client-logo {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: rgba(255,255,255,.35); letter-spacing: 2px; transition: var(--transition);
}
.client-logo:hover { color: rgba(255,255,255,.7); }

/* ═══════════════════════════════════════════════
   CTA / QUOTE
   ═══════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.05);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section .section-title { color: var(--white); max-width: 600px; margin: 0 auto 16px; }
.cta-section .section-subtitle { color: var(--gray-400); margin: 0 auto 40px; text-align: center; }

/* ═══════════════════════════════════════════════
   CONTACT / QUOTE FORM
   ═══════════════════════════════════════════════ */
.contact { background: var(--gray-100); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }

.contact-info h3 {
  font-family: var(--font-display); font-size: 28px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 20px;
}
.contact-info > p { font-size: 16px; color: var(--steel-light); line-height: 1.7; margin-bottom: 36px; }

.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-icon svg { width: 22px; height: 22px; stroke: var(--white) !important; fill: none; stroke-width: 2; color: var(--white) !important; }
.contact-item h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.contact-item p { font-size: 14px; color: var(--steel-light); }
.contact-item a { color: var(--accent); font-weight: 500; }
.contact-item a:hover { color: var(--accent-light); }

/* Instagram link style */
.contact-item .instagram-link {
  display: inline-flex; align-items: center; gap: 6px;
}

.form-card {
  background: var(--white); border-radius: 12px; padding: 48px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
}
.form-card h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 8px;
}
.form-card > p { font-size: 14px; color: var(--steel-light); margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 6px; letter-spacing: .3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300);
  border-radius: var(--radius); font-family: var(--font-sans); font-size: 14px;
  color: var(--text-dark); transition: var(--transition); background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(44,82,130,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

.form-submit { width: 100%; padding: 16px; font-size: 15px; margin-top: 8px; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--navy-dark); padding: 64px 0 32px; color: var(--gray-400);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-about p { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 320px; }
.footer h4 {
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
}
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-size: 14px; color: var(--gray-400); transition: var(--transition); }
.footer ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; font-size: 13px;
}

.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); }
.footer-social a svg { width: 18px; height: 18px; fill: var(--gray-400); }
.footer-social a:hover svg { fill: var(--white); }

/* ═══════════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--white); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ═══════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center;
  padding: 40px; cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 8px; object-fit: contain; cursor: default; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px; width: 48px; height: 48px;
  background: rgba(255,255,255,.1); border: none; border-radius: 50%;
  color: white; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 992px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--navy);
    padding: 24px; gap: 20px; box-shadow: var(--shadow-lg);
  }
  .menu-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item.featured { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 32px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.featured { grid-column: span 1; aspect-ratio: 4/3; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .about-features { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .clients-inner { flex-direction: column; gap: 24px; }
}
