/* ============================================================
   YEVO — Your Evolution · camada de marca sobre o sistema AGENSOAR
   Paleta: Noir #080808 · Grafite #2C2C2C · Aço #6B6B6B
           Prata #B8B8B8 · Marfim #E8E8E6 · Blanc #F9F9F7
   Tipografia: Cormorant (display) · Inter (UI/corpo)
   ============================================================ */

/* Sem selo "Made in Webflow" */
.w-webflow-badge { display: none !important; }

/* latin-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/cormorant-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/cormorant-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/inter-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/inter-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* General Sans — fonte de título das demais páginas (Edoly), aplicada também à home */
@font-face {
  font-family: "General sans";
  src: url("3ec2be771caf168b_664c2f24dca0c12e65e7288a_Gener.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "General sans";
  src: url("c30377df1de8444d_664c2f450f9de0354eadad29_Gener.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "General sans";
  src: url("ffe0560de4e69f43_664c2f78dca0c12e65e75abe_Gener.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}

:root {
  /* cores alinhadas às demais páginas (Edoly): preto #0a0909 · branco #fff · cinza #787878 */
  --light-grey: #ffffff; /* superfície clara */
  --white: #ffffff;      /* tinta clara sobre superfícies escuras */
  --primary: #ffffff;
  --secondary: #0a0909;  /* seções escuras, preloader */
  --black: #0a0909;      /* tinta principal */
  --dark-gray: #787878;  /* cinza secundário */
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }
::selection { background-color: #0a0909; color: #ffffff; }

/* Títulos em General Sans (igual às demais páginas); Inter para UI e corpo */
h1, h2, h3, h4 { font-family: "General sans", Inter, Helvetica, Arial, sans-serif; }
h5, h6, p, .nav-link, .footer-link, .button-with-icon, .button-outline,
.footer-bottom-text, .prelaoder-number, .prelaoder-percent-symbol {
  font-family: Inter, Archivo, sans-serif;
}
p { font-weight: 300; }

/* Ajuste de entrelinha para a serifa Cormorant */
.hero-h1 { line-height: 1.05; }
.cta-large { line-height: 1; }
.big-letter { line-height: 1.05; }
.metrics-text { line-height: 1; }
.vision-description { line-height: 1.35; }
.reviews-text { line-height: 1.2; }
.works-title, .services-row-title, .skills-title { line-height: 1.1; }

/* Fotografia monocromática — assinatura visual da marca */
.hero-image-center, .card-image, .services-row-image, .project-image,
.image-parallax, .skills-image,
.about-avatar-a-home, .about-avatar-b-home, .about-avatar-c-home {
  filter: grayscale(1);
}
.hero-image { filter: grayscale(1) brightness(.55) contrast(1.05); }
.overlay {
  background-image: linear-gradient(180deg, rgba(8, 8, 8, .8), rgba(8, 8, 8, .25) 55%, rgba(8, 8, 8, .4));
}

/* Glow neutro (era azulado no template original) */
.section.background-glow-light {
  background-image: radial-gradient(circle, rgba(8, 8, 8, .05), rgba(0, 0, 0, 0) 40%);
}

/* Superfícies da paleta */
.projects-badge { background-color: #2C2C2C; } /* Grafite */
.card { background-color: #E8E8E6; }           /* Marfim */
@media (max-width: 991px) { .card { background-color: transparent; } }

/* ---------- Entrada do hero via CSS (independe do IX2 do Webflow) ----------
   O motor de animação do Webflow estaciona estes elementos em opacity:0 e nem
   sempre conclui o timeline (headless / mobile). Uma animação CSS com fill
   'both' sobrepõe o opacity:0 inline e garante o estado final visível. */
.hero-wrapper > h5,
.hero-wrapper > .hero-h1,
.hero-wrapper > .hero-image-center,
.hero-wrapper > .hero-subtext {
  animation: yevoHeroIn .9s cubic-bezier(.16, 1, .3, 1) both;
}
.hero-wrapper > .hero-h1 { animation-delay: .1s; }
.hero-wrapper > .hero-image-center { animation-delay: .22s; }
.hero-wrapper > .hero-subtext { animation-delay: .34s; }
@keyframes yevoHeroIn {
  from { opacity: 0; transform: translate3d(0, 42px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wrapper > h5, .hero-wrapper > .hero-h1,
  .hero-wrapper > .hero-image-center, .hero-wrapper > .hero-subtext {
    animation: none; opacity: 1;
  }
}

/* Reveal da seção de visão: no mobile/tablet o Webflow (Web Animations API)
   estaciona a .vision-text em opacity:0/translateX e o timeline ligado a
   scroll não conclui — forçamos o estado final visível (!important vence a
   animação WAAPI). No desktop a animação de scroll original é preservada. */
@media (max-width: 991px) {
  .vision-text { opacity: 1 !important; transform: none !important; }
}

/* Palavra rotativa do hero */
.rot-word {
  display: inline-block;
  transition: opacity .44s cubic-bezier(.16, 1, .3, 1), transform .44s cubic-bezier(.16, 1, .3, 1);
}
.rot-word.rot-out { opacity: 0; transform: translate3d(0, 34px, 0); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Títulos serifados não devem estourar a caixa em telas estreitas.
   clamp() dá escala fluida e garante que nunca ultrapassem a viewport. */
.hero-h1, .cta-large, .big-letter, .metrics-text, .reviews-text,
.vision-description, .services-row-title, .works-title, .skills-title,
.page-header-title {
  overflow-wrap: break-word;
}
.vision-description { font-size: clamp(24px, 6.2vw, 48px); line-height: 1.25; }
.reviews-text { font-size: clamp(28px, 8vw, 58px); line-height: 1.18; }
.services-row-title { font-size: clamp(30px, 8.5vw, 54px); }
.skills-title { font-size: clamp(34px, 9vw, 54px); }

/* ---------- cards e listas YEVO (ritmo consistente, sem vãos) ----------
   O .skills-card original usa justify-content: space-between + grid-row-gap
   32px, o que somava com espaçadores e criava vazios. yevo-card controla o
   ritmo; yevo-list cuida das listas de itens; yevo-badges deixa os selos
   quebrarem linha em vez de estourar. */
.skills-card.yevo-card {
  justify-content: flex-start;
  grid-row-gap: 22px;
  row-gap: 22px;
}
.yevo-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  grid-row-gap: 14px;
  row-gap: 14px;
}
.yevo-list .flex { align-items: flex-start; }
.yevo-badges { flex-wrap: wrap; grid-row-gap: 8px; row-gap: 8px; }

/* Cartões de preço */
.yevo-pricecard { grid-row-gap: 20px; row-gap: 20px; }
.yevo-price-head {
  display: flex; flex-direction: column; align-items: flex-start;
  grid-row-gap: 8px; row-gap: 8px; width: 100%;
}
.yevo-price-amount { display: flex; align-items: baseline; grid-column-gap: 8px; column-gap: 8px; }
.yevo-price-amount .skills-title { font-size: clamp(40px, 7vw, 56px); line-height: 1; }
.yevo-popular { border-color: var(--black); border-bottom-width: 1px; }

/* Valores de contato não devem estourar a caixa */
.yevo-contact-value {
  font-size: clamp(20px, 4.4vw, 30px);
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* CTA: botões quebram linha quando não cabem, em vez de cortar */
.cta-flex { flex-wrap: wrap; }

/* ---------- responsividade ---------- */
@media (max-width: 991px) {
  .hero-image { object-position: 50% 28%; }
}
@media (max-width: 767px) {
  .space-112px { min-height: 56px; }
  .metrics-text { font-size: 104px; }
  .cta-large { font-size: 64px; }
  .hero-subtext { text-align: center; align-self: center; }
  /* cabeçalho de seção: empilha eyebrow + título e alinha à esquerda */
  .title-flex.gap-16px { flex-direction: column; align-items: flex-start; }
  /* CTA empilha e ocupa a largura toda já a partir do tablet estreito */
  .cta-flex { flex-direction: column; align-items: stretch; width: 100%; grid-row-gap: 12px; }
  .cta-flex .button-with-icon, .cta-flex .button-outline { width: 100%; }
  /* encurta o respiro entre depoimentos e métricas */
  .reviews-slide { margin-bottom: 24px; }
  .skills-card { padding: 40px 28px; }
}
@media (max-width: 479px) {
  .hero-wrapper { max-width: 86%; height: 78svh; grid-row-gap: 20px; }
  .hero-h1 { font-size: 64px; line-height: 1; }
  .hero-subtext { font-size: 15px; line-height: 1.3; max-width: 280px; }
  .metrics-text { font-size: 76px; }
  .metrics-text-wrapper { padding: 24px 16px; }
  .big-letter { font-size: 52px; line-height: 1; }
  .cta-large { font-size: 48px; }
  .skills-card { padding: 28px 20px; }
  .card { padding: 0; }
  .footer-footer-bottom { flex-direction: column; grid-row-gap: 12px; align-items: flex-start; }
  .footer-flex { flex-wrap: wrap; grid-row-gap: 8px; }
}

/* ---- Chuva sutil sobre o hero da home (reconstruída) ---- */
.rain-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    74deg,
    transparent 0, transparent 7px,
    rgba(255, 255, 255, .05) 7px, rgba(255, 255, 255, .05) 8px
  );
  background-size: 220px 220px;
  animation: rainFall .8s linear infinite;
}
@keyframes rainFall {
  from { background-position: 0 0; }
  to   { background-position: -60px 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .rain-overlay { animation: none; }
}

/* ---- Degradê no título do hero da home (igual às demais páginas / Edoly) ---- */
.hero-h1 .rot-word {
  background-image: linear-gradient(87deg, #525151 14.99%, #ffffff 38%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- Remove o personagem flutuante do hero ---- */
.hero-image-center { display: none !important; }

/* ---- Preloader YEVO autônomo (não reaproveita o do AGENSOAR nem o IX2 do Webflow) ----
   Esconde o preloader original, mantém o conteúdo sempre presente e usa um overlay
   próprio (#yevo-pre) que cobre no 1º paint, anima a barra e some uma única vez. */
.preloader-wrapper { display: none !important; }
html, body { opacity: 1 !important; visibility: visible !important; }

#yevo-pre {
  position: fixed; inset: 0; z-index: 9999999; background-color: #0a0909;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  grid-row-gap: 18px; row-gap: 18px; transition: opacity .5s ease;
}
html.yevo-loaded #yevo-pre { opacity: 0; visibility: hidden; pointer-events: none; }
#yevo-pre .yp-track { width: 200px; max-width: 46vw; height: 3px; border-radius: 100px; background: rgba(255,255,255,.18); overflow: hidden; }
#yevo-pre .yp-bar { height: 100%; width: 0%; border-radius: 100px; background: #ffffff; }
#yevo-pre .yp-num { font-family: Inter, sans-serif; font-size: 13px; letter-spacing: .06em; color: #fff; opacity: .85; }
@media (prefers-reduced-motion: reduce) { #yevo-pre { transition: none; } }
