/* ============================
   HOME PAGE — index.css
   ============================ */

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(16, 13, 8, 0.72), rgba(16, 13, 8, 0.72)),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(200,146,42,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(200,146,42,0.08) 0%, transparent 50%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.hero-desc {
  position: relative;
  z-index: 1;
  margin-top: 8rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,146,42,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(200,146,42,0); }
}

.hero-kicker span {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f3d7a0;
  font-weight: 600;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.08rem;
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.3);
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-top: 0.3rem;
  display: block;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 520px;
}

.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  transition: var(--transition);
}

.hero-card:hover { transform: translateY(-4px); }

.hero-card-main {
  width: 300px;
  top: 20px;
  right: 0;
  background: rgba(255,255,255,0.18);
}

.hero-card-main img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(200,146,42,0.3), rgba(200,146,42,0.05));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb {
  width: 100%;
  height: 160px;
  border-radius: 6px;
  background: linear-gradient(135deg, #3a2f1a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-card-main h4 {
  color: var(--white);
  margin-bottom: 0.3rem;
}

.hero-card-main p {
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  margin: 0;
}

.hero-card-side {
  width: 200px;
  top: 240px;
  left: 0;
  text-align: center;
}

.hero-card-side .big-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.hero-card-side p {
  color: rgba(255,255,255,0.86);
  font-size: 0.8rem;
  margin: 0;
  margin-top: 0.3rem;
}

.hero-card-mini {
  width: 160px;
  top: 390px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checkmark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.hero-card-mini p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.92);
  margin: 0;
  line-height: 1.4;
}

/* Decorative lines */
.hero-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(200,146,42,0.4), transparent);
  width: 1px;
}

.hero-line-1 { left: 50%; top: 0; height: 40%; }
.hero-line-2 { right: 30%; top: 30%; height: 50%; }

/* ---- ABOUT STRIP ---- */
.about-strip {
  background: var(--accent);
  padding: 1.2rem 0;
  overflow: hidden;
}

.about-strip-inner {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.strip-icon {
  font-size: 1.1rem;
}

/* ---- SERVICES PREVIEW ---- */
.services-preview {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

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

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(200,146,42,0.12);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link:hover { gap: 0.7rem; }
.services-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.service-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.1rem;
  margin: 0;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin: 0;
}

.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ---- WHY US ---- */
.why-us {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(200,146,42,0.12), transparent 60%);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}

.why-content .section-title { color: var(--white); }
.why-content .gold-line { margin-bottom: 1rem; }
.why-content > p { color: rgba(255,255,255,0.86); margin-bottom: 2.5rem; }

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.why-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(200,146,42,0.15);
  border: 1px solid rgba(200,146,42,0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-feature-text h4 { color: var(--white); margin-bottom: 0.2rem; font-size: 1rem; }
.why-feature-text p { color: rgba(255,255,255,0.82); font-size: 0.88rem; margin: 0; }

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.why-img-card {
  overflow: hidden;
}

.why-img-card.tall { grid-row: span 2; }

.why-img-placeholder {
  height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 2.5rem;
  background: linear-gradient(135deg, rgba(200,146,42,0.1), rgba(255,255,255,0.02));
}

.why-img-placeholder span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.08em;
}

/* ---- PROJETS PREVIEW ---- */
.projects-preview { background: var(--gray-light); }

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.2rem;
}

.project-card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--primary);
}

.project-card.featured { grid-row: span 2; }

.project-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2a2218, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.5s ease;
}

.project-card.featured .project-img {
  aspect-ratio: unset;
  height: 100%;
  min-height: 340px;
}

.project-card:hover .project-img { transform: scale(1.04); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,12,5,0.9) 0%, transparent 55%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-cat {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.project-overlay h4 { color: var(--white); font-size: 1.05rem; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--accent);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, transparent 60%);
}

.cta-section .container { position: relative; }

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; font-size: 1.1rem; max-width: 500px; margin-left: auto; margin-right: auto; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--accent);
  border: none;
}

.btn-white:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card.featured { grid-row: unset; }
}

@media (max-width: 640px) {
  .hero-stats { flex-direction: column; gap: 1.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .about-strip-inner { gap: 1.5rem; }
}
