.hero-portrait img {
  height: 94%;
  width: 91%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 260px 260px 0 0;
  filter: saturate(.72) sepia(.18) contrast(1.05);
}

.hero {
  background: url('../images/francielli-hero-reference.jpg') center center / cover no-repeat;
}

.hero::before { z-index: 0; }
.hero::after { z-index: 1; }
.hero-portrait { display: none; }

body { font-family: 'Manrope', sans-serif; }

.eyebrow,
.button,
.header-contact,
.site-header nav,
.contact-form label,
footer { font-family: 'Manrope', sans-serif; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 24%, rgba(194, 164, 111, .11) 42%, transparent 58%);
  transform: translateX(-115%);
  animation: hero-sheen 8s ease-in-out 1s infinite;
}

.hero-portrait { animation: portrait-arrival .9s cubic-bezier(.22, 1, .36, 1) both; }
.orbit-one { animation: orbit-turn 22s linear infinite; }
.orbit-two { animation: orbit-turn 15s linear infinite reverse; }

.service-card { overflow: hidden; position: relative; }
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform .45s ease;
}
.service-card:hover::before { transform: scaleX(1); }

.article-grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
.article-card { position: relative; overflow: hidden; }
.article-card img { transition: transform .65s cubic-bezier(.22, 1, .36, 1), filter .45s ease; }
.article-card:hover img { transform: scale(1.06); filter: saturate(.78) contrast(1.06); }
.article-card:nth-child(3) > img,
.article-hero-image[src$="blog-documentos.jpeg"] { content: url('../images/blog-seguro-capa.png'); }
.article-card h3 { font-size: clamp(22px, 2vw, 29px); }
.article-card div > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.65; }

.contact { position: relative; overflow: hidden; }
.contact::before {
  content: '';
  position: absolute;
  width: 38vw;
  height: 38vw;
  max-width: 530px;
  max-height: 530px;
  right: -18vw;
  top: -22vw;
  border: 1px solid rgba(194, 164, 111, .22);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes hero-sheen { 0%, 50% { transform: translateX(-115%); } 78%, 100% { transform: translateX(115%); } }
@keyframes portrait-arrival { from { opacity: 0; transform: translate(42px, 24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes orbit-turn { to { rotate: 360deg; } }

.hero-note {
  z-index: 3;
  right: clamp(20px, 5vw, 70px);
  bottom: 38px;
  padding: 10px 0 10px 18px;
  border-left: 1px solid var(--gold);
  background: linear-gradient(90deg, transparent, rgba(13, 43, 36, .84) 34%);
}

.brand img,
footer .footer-brand img {
  width: 178px;
  height: 72px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .hero-note { right: 24px; bottom: 24px; }
}

@media (max-width: 560px) {
  .brand img,
  footer .footer-brand img { width: 132px; height: 57px; }
  .hero { background-position: 70% center; }
  .hero::before {
    background: linear-gradient(90deg, rgba(8, 36, 29, .78) 0%, rgba(8, 36, 29, .56) 52%, rgba(8, 36, 29, .12) 100%);
    opacity: 1;
  }
  .hero-note { right: 18px; bottom: 16px; }
}

@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .article-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero-portrait,
  .orbit-one,
  .orbit-two { animation: none; }
}

.blog-article { max-width: 980px; margin: 0 auto; padding: clamp(70px, 10vw, 130px) clamp(22px, 7vw, 78px); }
.article-intro { max-width: 770px; }
.breadcrumb { color: var(--muted); font-size: 12px; margin: 0 0 28px; }
.breadcrumb a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.article-intro h1 { font-family: var(--serif); font-size: clamp(42px, 6vw, 72px); font-weight: 500; line-height: 1.03; letter-spacing: -.045em; margin: 0 0 24px; }
.article-lead { color: #4f5b55; font-size: clamp(17px, 2vw, 21px); line-height: 1.65; margin: 0 0 45px; max-width: 700px; }
.article-hero-image { width: 100%; height: min(48vw, 480px); object-fit: cover; margin: 0 0 55px; }
.article-body { max-width: 700px; }
.article-body h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 43px); font-weight: 500; line-height: 1.1; margin: 44px 0 14px; }
.article-body p { color: #4f5b55; font-size: 16px; line-height: 1.8; }
.article-note { margin: 42px 0 30px; padding: 18px 20px; border-left: 3px solid var(--gold); background: #eee9de; color: #3f4e47; font-size: 14px; line-height: 1.65; }
@media (max-width: 560px) { .blog-article { padding-top: 62px; } .article-hero-image { height: 250px; margin-bottom: 35px; } .article-body p { font-size: 15px; } }

@media (max-width: 560px) {
  .team-member { grid-template-columns: 88px 1fr; gap: 16px; padding: 20px; }
  .team-member img { width: 88px; height: 150px; }
  .team-member p { font-size: 11px; line-height: 1.7; }
}

.whatsapp-float {
  font-size: 0;
  background-image: url('../images/whatsapp-icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 27px;
}
