/* ===========================
   HERO DECORATION DROITE
=========================== */
.hero-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-deco-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(208, 208, 208, 0.045);
  white-space: nowrap;
  user-select: none;
  animation: decoFadeIn 2s var(--ease) 0.8s both,
             decoPulse 6s ease-in-out 2.8s infinite;
}

@keyframes decoPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
  50%       { transform: translate(-50%, -50%) scale(1.06); opacity: 0.6; }
}

.hero-deco-rect {
  position: absolute;
  border: 1px solid rgba(208, 208, 208, 0.08);
  animation: decoFadeIn 2s var(--ease) 1s both;
}

.hero-deco-rect--1 {
  top: 20%;
  left: 15%;
  width: 55%;
  height: 55%;
}

.hero-deco-rect--2 {
  top: 32%;
  left: 28%;
  width: 38%;
  height: 36%;
  border-color: rgba(208, 208, 208, 0.05);
  animation-delay: 1.2s;
}

.hero-deco-line {
  position: absolute;
  background: rgba(208, 208, 208, 0.07);
  animation: decoFadeIn 2s var(--ease) 1.4s both;
}

.hero-deco-line--1 {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  animation-delay: 1.3s;
}

.hero-deco-line--2 {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  animation-delay: 1.5s;
}

@keyframes decoFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 4rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 40%, rgba(208, 208, 208, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(208, 208, 208, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.hero-line {
  position: absolute;
  top: 0;
  right: 22%;
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  animation: lineGrow 2s var(--ease) 0.4s forwards;
}

@keyframes lineGrow {
  to { height: 100%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}

.hero-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--titanium);
  margin-bottom: 2.5rem;
  animation-delay: 0.3s;
}

.hero h1 {
  animation-delay: 0.55s;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--titanium);
  line-height: 1.85;
  margin-top: 2rem;
  max-width: 520px;
  animation-delay: 0.75s;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  animation-delay: 0.9s;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 3rem;
  right: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.8s forwards;
}

.hero-scroll span {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: var(--muted);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.3); opacity: 0.15; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===========================
   STATS & POLES
=========================== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.stat {
  padding: 3.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===========================
   SERVICES
=========================== */
.services {
  padding: 8rem 4rem;
  background: var(--black-soft);
}

.section-header {
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  display: block;
  position: relative;
  background: var(--black-soft);
  padding: 3rem 2.5rem 3.5rem;
  overflow: hidden;
  transition: background var(--duration) var(--ease);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--titanium);
  transition: width var(--duration) var(--ease);
}

.service-card:hover {
  background: var(--black-mid);
}

.service-card:hover::after {
  width: 100%;
}

.service-card--wide {
  grid-column: span 2;
}

.service-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--titanium);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.service-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.service-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--titanium);
  line-height: 1.8;
  max-width: 360px;
}

.service-arrow {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  font-size: 1.1rem;
  color: var(--muted);
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-arrow {
  color: var(--titanium);
  transform: translate(4px, -4px);
}

/* ===========================
   PROJETS
=========================== */
.projects {
  padding: 8rem 4rem;
}

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

.projects-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--black-mid);
  display: flex;
  align-items: flex-end;
  min-height: 320px;
}

.project-card--large {
  grid-row: span 2;
  min-height: auto;
}

.project-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}

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

.project-info {
  position: relative;
  z-index: 2;
  padding: 2rem;
  width: 100%;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.9) 0%, transparent 100%);
}

.project-cat {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--titanium);
  margin-bottom: 0.4rem;
}

.project-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--white);
}

/* ===========================
   STUDIO TEASER
=========================== */
.studio-teaser {
  padding: 8rem 4rem;
  background: var(--black-soft);
  border-top: 1px solid var(--border);
}

.studio-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.studio-teaser-desc {
  font-size: 1.05rem;
  color: var(--titanium);
  line-height: 1.9;
  margin-top: 2rem;
  margin-bottom: 3rem;
  max-width: 420px;
}

.studio-teaser-visual {
  position: relative;
  height: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.studio-deco-word {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 300;
  color: rgba(208, 208, 208, 0.06);
  letter-spacing: 0.08em;
  line-height: 1.1;
  white-space: nowrap;
  user-select: none;
  animation: studioPulse 7s ease-in-out infinite;
}

.studio-deco-word--2 {
  animation-delay: 1.5s;
  color: rgba(208, 208, 208, 0.04);
  padding-left: 2rem;
}

@keyframes studioPulse {
  0%, 100% { opacity: 1;   transform: translateX(0); }
  50%       { opacity: 0.5; transform: translateX(12px); }
}

/* ===========================
   CTA FINAL
=========================== */
.cta-final {
  padding: 10rem 4rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-final h2 {
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--large { grid-row: span 1; }
  .studio-teaser-inner { grid-template-columns: 1fr; gap: 3rem; }
  .studio-teaser-visual { display: none; }
}

@media (max-width: 768px) {
  .hero { padding: 0 1.5rem 5rem; }
  .hero-scroll { right: 1.5rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }

  .stats { padding: 0 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .services { padding: 5rem 1.5rem; }
  .projects { padding: 5rem 1.5rem; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .studio-teaser { padding: 5rem 1.5rem; }
  .cta-final { padding: 6rem 1.5rem; }
}

/* ===========================
   AVIS CLIENTS
=========================== */
.reviews {
  padding: 8rem 4rem;
  border-top: 1px solid var(--border);
}

.reviews h2 {
  margin-bottom: 5rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.review-card {
  background: var(--black);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  transition: background var(--duration) var(--ease);
}

.review-card:hover {
  background: var(--black-soft);
}

.review-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--titanium);
  line-height: 1.8;
  font-style: italic;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.review-name {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
}

.review-role {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .reviews { padding: 5rem 1.5rem; }
}