/* ==========================================================================
   Iguatemi — Programa de Trainee 2026
   Design System v2 · Editorial (baseado no Brand Book Iguatemi Digital)
   --------------------------------------------------------------------------
   CORES OFICIAIS:  amarelo #FFFF00 · preto #111111 · branco #FFFFFF
   FONTES OFICIAIS: ConcretteM (display/títulos) · Matter (texto, 18px)
   LINGUAGEM:       serifada gigante em caixa-alta sobre preto (brandbook p1/p3/p52),
                    mosaicos editoriais de foto (p42-44), grid modular (p49-51),
                    amarelo como acento afiado, filetes de 1px, cantos retos.
   ========================================================================== */

/* ---- FONTES OFICIAIS (self-hosted) ---------------------------------------- */
/* ConcretteM — display. Só existe o corte Thin: declaramos a faixa 100–900 e
   font-synthesis:none para o browser nunca sintetizar "negrito falso". */
@font-face {
    font-family: 'ConcretteM';
    src: url('../fonts/ConcretteM/ConcretteM-Thin.woff2') format('woff2'),
         url('../fonts/ConcretteM/ConcretteM-Thin.woff') format('woff');
    font-weight: 100 900; font-style: normal; font-display: swap;
}
/* Didot — fonte da MARCA (brandbook p5-p7). Usada no logotipo e em toda
   ocorrência da palavra "Iguatemi". Não usar em títulos: o display é ConcretteM. */
@font-face {
    font-family: 'DidotLogo';
    src: url('../fonts/Didot/Didot-Regular.otf') format('opentype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'DidotLogo';
    src: url('../fonts/Didot/Didot-Bold.otf') format('opentype');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* A palavra "Iguatemi" sempre na fonte da marca: Didot Bold, CAIXA-ALTA */
.brand {
    font-family: 'DidotLogo', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-synthesis: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
/* Material Symbols Outlined (Google) — self-hosted e reduzida só aos ícones
   usados na página (1 KB). Peso 300 para combinar com o traço fino do layout. */
@font-face {
    font-family: 'Material Symbols';
    src: url('../fonts/MaterialSymbols/MaterialSymbols.woff2') format('woff2');
    font-weight: 300; font-style: normal; font-display: block;
}
.mi {
    font-family: 'Material Symbols';
    font-weight: 300; font-style: normal; line-height: 1;
    display: inline-block; vertical-align: middle;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    font-feature-settings: 'liga'; letter-spacing: normal; text-transform: none;
    white-space: nowrap; direction: ltr;
}
/* Matter — texto, rótulos, botões */
@font-face {
    font-family: 'Matter';
    src: url('../fonts/Matter/MatterRegular.woff2') format('woff2'),
         url('../fonts/Matter/MatterRegular.woff') format('woff');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Matter';
    src: url('../fonts/Matter/MatterSemiBold.woff2') format('woff2'),
         url('../fonts/Matter/MatterSemiBold.woff') format('woff');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Matter';
    src: url('../fonts/Matter/MatterBold.woff2') format('woff2'),
         url('../fonts/Matter/MatterBold.woff') format('woff');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
    --ig-black:   #111111;
    --ig-yellow:  #FFFF00;
    --ig-white:   #FFFFFF;

    /* neutros funcionais (não são cores de marca) */
    --ig-paper:   #F7F6F3;
    --ig-soft:    #EDEDEA;
    --ig-ink-60:  rgba(17,17,17,0.62);
    --ig-ink-40:  rgba(17,17,17,0.40);
    --ig-line:    rgba(17,17,17,0.14);
    --ig-snow-70: rgba(255,255,255,0.70);
    --ig-snow-45: rgba(255,255,255,0.45);
    --ig-line-d:  rgba(255,255,255,0.16);

    --ig-display: 'ConcretteM', Georgia, 'Times New Roman', serif;
    --ig-body:    'Matter', 'Helvetica Neue', Arial, sans-serif;

    --ig-ease:    cubic-bezier(0.22, 1, 0.36, 1);
    --ig-ease-io: cubic-bezier(0.65, 0, 0.35, 1);

    --gut:        clamp(1.25rem, 4vw, 3.5rem);  /* respiro lateral */
    --maxw:       1360px;
    --sec-y:      clamp(5rem, 11vh, 9rem);      /* respiro vertical de seção */
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--ig-body);
    font-size: 1.125rem;          /* 18px — Matter */
    line-height: 1.6;
    font-weight: 400;
    color: var(--ig-black);
    background: var(--ig-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

::selection { background: var(--ig-yellow); color: var(--ig-black); }

/* Display = ConcretteM · só em tamanhos grandes (a Thin some em corpo pequeno).
   Títulos pequenos usam Matter SemiBold. */
.display {
    font-family: var(--ig-display);
    font-weight: 400;
    font-synthesis: none;
    line-height: 0.94;
    letter-spacing: -0.01em;
    color: var(--ig-black);
}
.display-caps { text-transform: uppercase; letter-spacing: 0.005em; }

/* Rótulo caixa-alta (Matter) — a "voz" secundária do brandbook */
.label {
    font-family: var(--ig-body);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    line-height: 1;
}

/* ==========================================================================
   Shell de seção · grid modular
   ========================================================================== */
.section { padding: var(--sec-y) var(--gut); position: relative; }
.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.sec-dark  { background: var(--ig-black); color: #fff; }
.sec-paper { background: var(--ig-paper); }
.sec-yellow{ background: var(--ig-yellow); }

.sec-dark .display,
.sec-dark h1, .sec-dark h2, .sec-dark h3 { color: #fff; }

/* Grão sobre fundos escuros (textura sutil, sem peso de imagem) */
.grain::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain > * { position: relative; z-index: 1; }

/* Cabeçalho de seção: rótulo + filete + título grande */
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head .label { color: var(--ig-ink-60); display: block; margin-bottom: 1.5rem; }
.sec-dark .sec-head .label { color: var(--ig-snow-45); }
.sec-head .label::before {
    content: ''; display: inline-block; vertical-align: middle;
    width: 9px; height: 9px; background: var(--ig-yellow); margin-right: 0.9rem;
}
.sec-title {
    font-family: var(--ig-display); font-weight: 400; font-synthesis: none;
    /* reduzido 40% em relação ao tamanho anterior (2.75/7vw/5.75) */
    font-size: clamp(1.65rem, 4.2vw, 3.45rem);
    line-height: 1.0; letter-spacing: -0.008em;
}
.sec-rule { height: 1px; background: var(--ig-line); margin-top: clamp(1.5rem,3vw,2.5rem); }
.sec-dark .sec-rule { background: var(--ig-line-d); }
/* filete de acento amarelo (pedido do cliente na seção "O Programa") */
.sec-rule.is-yellow, .sec-dark .sec-rule.is-yellow { height: 2px; background: var(--ig-yellow); }

/* Peso dos títulos ---------------------------------------------------------
   A ConcretteM oficial só veio no corte Thin. Para dar mais peso sem criar
   "negrito falso" (que deforma a letra), engrossamos o contorno do glifo.
   Se o cliente enviar os cortes Regular/Medium/Bold, troque isto por font-weight. */
.sec-title, .neg-title, .acard-name, .hero-title, .cta-title, .prog-lead, .area-name, .ed-name {
    -webkit-text-stroke: 0.7px currentColor;
    paint-order: stroke fill;
}
/* Títulos de seção em "negrito" (pedido do cliente: O Programa, Benefícios,
   Áreas de Atuação, Etapas...). Como a ConcretteM só tem o corte Thin, o peso
   vem do contorno do glifo — não de font-weight (que geraria negrito falso). */
.sec-title { -webkit-text-stroke-width: 1.5px; }
.neg-title, .iq-card-title { -webkit-text-stroke: 1.1px currentColor; paint-order: stroke fill; }

/* ==========================================================================
   Botões — retos, rótulo Matter caixa-alta
   ========================================================================== */
/* Pílula (border-radius total) + preenchimento animado da esquerda p/ direita,
   como no site iguatemi.com.br. Rótulo em caixa normal, Matter. */
.btn {
    --fill: var(--ig-yellow);
    display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
    padding: 1rem 1.9rem; border: 1px solid transparent; border-radius: 999px;
    font-family: var(--ig-body); font-weight: 500; font-size: 0.98rem;
    letter-spacing: 0; text-transform: none; line-height: 1;
    text-decoration: none; cursor: pointer; position: relative; isolation: isolate;
    transition: color .45s var(--ig-ease), border-color .45s var(--ig-ease);
}
.btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: var(--fill);
    transform: scaleX(0); transform-origin: left center;
    transition: transform .5s var(--ig-ease-io);
}
.btn:hover::before { transform: scaleX(1); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform .45s var(--ig-ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-yellow { background: var(--ig-yellow); color: var(--ig-black); border-color: var(--ig-yellow); --fill: var(--ig-black); }
.btn-yellow:hover { color: var(--ig-yellow); border-color: var(--ig-black); }

.btn-black { background: var(--ig-black); color: #fff; border-color: var(--ig-black); --fill: var(--ig-yellow); }
.btn-black:hover { color: var(--ig-black); border-color: var(--ig-yellow); }

.btn-outline { background: transparent; color: var(--ig-black); border-color: var(--ig-black); --fill: var(--ig-yellow); }
.btn-outline:hover { color: var(--ig-black); border-color: var(--ig-yellow); }

.btn-ghost { background: transparent; color: #fff; border-color: var(--ig-snow-45); --fill: var(--ig-yellow); }
.btn-ghost:hover { color: var(--ig-black); border-color: var(--ig-yellow); }

/* ==========================================================================
   Header
   ========================================================================== */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color .5s var(--ig-ease), border-color .5s var(--ig-ease), backdrop-filter .5s var(--ig-ease);
}
#header .bar {
    max-width: var(--maxw); margin: 0 auto; height: 86px;
    padding: 0 var(--gut);
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
#header.is-scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom-color: var(--ig-line);
}

/* Barra de progresso de leitura */
.scroll-progress {
    position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
    background: var(--ig-yellow); transition: width .1s linear;
}

/* Logo (wordmark provisória — trocar por SVG oficial) */
.logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
/* Logotipo na fonte original da marca (Didot), caixa-alta e com o
   entreletras do brandbook */
.logo-word {
    font-family: 'DidotLogo', Georgia, 'Times New Roman', serif;
    font-weight: 700; font-synthesis: none;
    font-size: 1.6rem; line-height: 1; letter-spacing: 0.1em;
    text-transform: uppercase; color: #fff;
    transition: color .5s var(--ig-ease);
}
.logo-div { width: 1px; height: 26px; background: var(--ig-snow-45); transition: background-color .5s var(--ig-ease); }
.logo-tag { font-family: var(--ig-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ig-snow-70); transition: color .5s var(--ig-ease); }
#header.is-scrolled .logo-word { color: var(--ig-black); }
#header.is-scrolled .logo-div  { background: var(--ig-line); }
#header.is-scrolled .logo-tag  { color: var(--ig-ink-60); }
@media (max-width: 900px) { .logo-div, .logo-tag { display: none; } }

/* Nav */
.nav { display: flex; align-items: center; gap: 1.95rem; }
@media (max-width: 1100px) { .nav { display: none; } }
.nav a {
    position: relative; text-decoration: none; padding: 0.35rem 0;
    font-family: var(--ig-body); font-weight: 400; font-size: 0.92rem;
    letter-spacing: 0.02em; color: #fff; transition: color .35s var(--ig-ease), opacity .35s var(--ig-ease);
    opacity: 0.85;
}
.nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--ig-yellow); transform: scaleX(0); transform-origin: right center;
    transition: transform .45s var(--ig-ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left center; }
.nav a:hover, .nav a.is-active { opacity: 1; }
#header.is-scrolled .nav a { color: var(--ig-black); }
.header-cta { display: none; }
@media (min-width: 1101px) { .header-cta { display: inline-flex; } }

/* Toggle mobile */
#nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 6px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
    color: #fff; padding: 0;
}
@media (min-width: 1101px) { #nav-toggle { display: none; } }
#header.is-scrolled #nav-toggle { color: var(--ig-black); }
#nav-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .35s var(--ig-ease), opacity .25s; }
#nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
#nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
#nav-toggle[aria-expanded="true"] { color: #fff; }

/* Overlay mobile */
#nav-overlay {
    position: fixed; inset: 0; z-index: 90; background: var(--ig-black); color: #fff;
    display: flex; flex-direction: column; justify-content: center; gap: 0.25rem;
    padding: 6rem var(--gut) 3rem;
    opacity: 0; pointer-events: none; transition: opacity .45s var(--ig-ease);
}
#nav-overlay.is-open { opacity: 1; pointer-events: auto; }
#nav-overlay a.ov-link {
    font-family: var(--ig-display); font-synthesis: none; font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.25; text-decoration: none; color: #fff; border-bottom: 1px solid var(--ig-line-d);
    padding: 0.5rem 0; transition: color .3s var(--ig-ease), padding-left .3s var(--ig-ease);
}
#nav-overlay a.ov-link:hover { color: var(--ig-yellow); padding-left: 0.6rem; }
#nav-overlay .btn { margin-top: 2rem; align-self: flex-start; }

/* ==========================================================================
   HERO — somente o KV oficial (2000x768). Sem texto, sem botões.
   Área segura de conteúdo: 1140px centrais (as laterais podem ser cortadas).
   ========================================================================== */
.hero {
    max-width: 2000px;          /* teto em telas grandes */
    margin: 0 auto;
    height: 100vh;              /* altura cheia da tela */
    height: 100svh;             /* evita o "pulo" da barra do navegador no celular */
    min-height: 420px;
    overflow: hidden;
    background: var(--ig-black);
}
.hero picture { display: block; width: 100%; height: 100%; }
.hero img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ==========================================================================
   SOBRE O PROGRAMA — grid assimétrico + mosaico
   ========================================================================== */
.prog-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
/* min-width:0 impede que o conteúdo (o mosaico) estoure a coluna e passe da
   margem lateral da seção — item de grid tem min-width:auto por padrão */
.prog-grid > * { min-width: 0; }
@media (min-width: 1024px) { .prog-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.prog-lead {
    font-family: var(--ig-display); font-synthesis: none; font-weight: 400;
    /* reduzida ~20% a pedido do cliente (era 1.75 / 3.4vw / 2.9) */
    font-size: clamp(1.4rem, 2.72vw, 2.3rem); line-height: 1.08;
    letter-spacing: -0.01em; color: var(--ig-black); margin-bottom: 2rem;
}
/* "negrito" da ConcretteM Thin = contorno mais grosso (não há corte Bold) */
.prog-lead { -webkit-text-stroke-width: 1.15px; }
/* a frase de abertura fica alinhada à esquerda: justificada abria vãos enormes.
   Precisa da especificidade de ".prog-body p" para vencer o justify. */
.prog-body .prog-lead, .prog-lead { text-align: left; hyphens: none; }
.prog-lead .u-y {
    background-image: linear-gradient(var(--ig-yellow), var(--ig-yellow));
    background-position: 0 92%; background-repeat: no-repeat; background-size: 100% 0.26em;
}
.prog-body p { color: var(--ig-ink-60); margin-bottom: 1.2rem; max-width: 46ch;
    text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prog-body p:last-of-type { margin-bottom: 0; }
.prog-body strong { color: var(--ig-black); font-weight: 600; }

/* Mosaico editorial (brandbook p42-44) */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; align-items: start; }
/* align-self:start é necessário: com o stretch padrão do grid o aspect-ratio
   é ignorado e a figure colapsa (altura 0). */
.mosaic figure { position: relative; overflow: hidden; background: var(--ig-paper); align-self: start; }
/* absoluto dentro da figure (que tem aspect-ratio): evita depender de
   height:100%, que não resolve quando a altura do pai vem do aspect-ratio */
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ig-ease); }
.mosaic figure:hover img { transform: scale(1.045); }
.mosaic .m-a { grid-column: span 7; aspect-ratio: 3 / 4; }
.mosaic .m-b { grid-column: span 5; aspect-ratio: 3 / 4; align-self: end; }
.mosaic .m-tag {
    position: absolute; left: 0; bottom: 0; background: var(--ig-yellow); color: var(--ig-black);
    font-family: var(--ig-body); font-weight: 600; font-size: 0.6rem;
    letter-spacing: 0.2em; text-transform: uppercase; padding: 0.5rem 0.9rem;
}
@media (max-width: 767px) { .mosaic .m-b { aspect-ratio: 1 / 1; } }

/* Imagem única (seção A Iguatemi): ocupa a coluna inteira */
.solo-img { position: relative; overflow: hidden; width: 100%; aspect-ratio: 4 / 3; background: var(--ig-paper); }
.solo-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .solo-img { aspect-ratio: 16 / 10; } }

/* Variante larga (seção A Iguatemi): paisagem lado a lado */
.mosaic-wide .m-a { grid-column: span 8; aspect-ratio: 16 / 10; }
/* sem aspect-ratio aqui: com align-self:stretch a altura da linha passaria a
   definir a largura e a foto estouraria a margem lateral da seção */
.mosaic-wide .m-b { grid-column: span 4; aspect-ratio: auto; align-self: stretch; }
@media (max-width: 767px) {
    .mosaic-wide .m-a { grid-column: span 12; aspect-ratio: 3 / 2; }
    .mosaic-wide .m-b { grid-column: span 12; aspect-ratio: 3 / 2; }
}

/* ==========================================================================
   LISTA EDITORIAL (Pré-requisitos e Áreas)
   ========================================================================== */
.ed-list { border-top: 1px solid currentColor; }
.ed-list.on-yellow { border-color: rgba(17,17,17,0.25); }
.ed-row {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center;
    gap: clamp(0.8rem, 2.2vw, 1.8rem);
    padding: clamp(1rem, 1.8vw, 1.5rem) 0;
    border-bottom: 1px solid rgba(17,17,17,0.25);
    position: relative;
    transition: padding-left .5s var(--ig-ease);
}
.sec-dark .ed-list, .sec-dark .ed-row { border-color: var(--ig-line-d); }
.ed-row:hover { padding-left: clamp(0.5rem, 1.5vw, 1.25rem); }
.ed-num {
    font-family: var(--ig-display); font-synthesis: none;
    /* reduzido 30% (era 0.95 / 1.4vw / 1.15) */
    font-size: clamp(0.67rem, 0.98vw, 0.8rem); letter-spacing: 0.16em;
    color: rgba(17,17,17,0.45); min-width: 2.5ch;
}
.sec-dark .ed-num { color: var(--ig-snow-45); }
.ed-name {
    font-family: var(--ig-display); font-synthesis: none; font-weight: 400;
    /* reduzido 30% (era 1.5 / 3.6vw / 2.75) */
    font-size: clamp(1.05rem, 2.52vw, 1.93rem); line-height: 1.15; letter-spacing: -0.004em;
    color: var(--ig-black);
}
.sec-dark .ed-name { color: #fff; }
.ed-mark { width: 26px; height: 1px; background: currentColor; opacity: 0.35; transition: width .5s var(--ig-ease), opacity .5s; }
.ed-row:hover .ed-mark { width: 52px; opacity: 1; }

/* Nota de rodapé da lista */
.ed-note {
    display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 2rem;
    font-family: var(--ig-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em;
}
.ed-note svg { width: 17px; height: 17px; }

/* ==========================================================================
   ÁREAS DE ATUAÇÃO — índice editorial + painel de imagem que acompanha
   ========================================================================== */
.areas { overflow: hidden; }
.areas-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: 1.05fr 0.95fr; } }
.areas-col { min-width: 0; }

.areas-index { border-top: 1px solid var(--ig-line-d); }
.area-row {
    position: relative; display: grid; grid-template-columns: auto 1fr auto;
    align-items: baseline; gap: clamp(1rem, 2.4vw, 2rem);
    padding: clamp(1.1rem, 2vw, 1.6rem) 0;
    border-bottom: 1px solid var(--ig-line-d);
    cursor: default;
    transition: padding-left .55s var(--ig-ease);
}
/* bolinha no lugar da numeração (pedido do cliente) */
.area-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--ig-snow-45); align-self: center;
    transition: background-color .45s var(--ig-ease), transform .45s var(--ig-ease);
}
.area-name {
    font-family: var(--ig-display); font-synthesis: none; font-weight: 400;
    /* reduzida ~14% a pedido do cliente (era 1.25 / 2.3vw / 2) */
    font-size: clamp(1.08rem, 1.98vw, 1.72rem); line-height: 1.1; letter-spacing: -0.004em;
    color: rgba(255,255,255,0.55);
    transition: color .45s var(--ig-ease);
}
.area-line { display: block; width: 26px; height: 1px; background: var(--ig-snow-45); transition: width .55s var(--ig-ease), background-color .45s var(--ig-ease); }

.area-row.is-active { padding-left: clamp(0.6rem, 1.4vw, 1.1rem); }
.area-row.is-active .area-name { color: #fff; }
.area-row.is-active .area-dot { background: var(--ig-yellow); transform: scale(1.25); }
.area-row.is-active .area-line { width: 64px; background: var(--ig-yellow); }

.areas-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1a; }
@media (max-width: 1023px) { .areas-media { aspect-ratio: 16 / 10; } }
.area-shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s var(--ig-ease); }
.area-shot.is-active { opacity: 1; }
.area-shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ig-ease); }
.area-shot.is-active img { transform: scale(1); }
.areas-media::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
    background: var(--ig-yellow); transform: scaleX(0); transform-origin: left;
    transition: transform .8s var(--ig-ease);
}
.areas-media.is-on::after { transform: scaleX(1); }

.areas-note {
    display: inline-flex; align-items: center; gap: 0.7rem; margin-top: clamp(1.75rem, 3vw, 2.5rem);
    /* aumentada a pedido do cliente (era 0.85rem) */
    font-family: var(--ig-body); font-weight: 500; font-size: 1.12rem;
    letter-spacing: 0.02em; color: var(--ig-snow-70);
}
.areas-note svg { width: 24px; height: 24px; color: var(--ig-yellow); }

/* ==========================================================================
   PRÉ-REQUISITOS — bloco amarelo sobrepondo a foto (padrão iguatemi.com.br)
   Cards brancos, número em cinza; no hover o card inverte para preto com o
   número em amarelo.
   ========================================================================== */
.prereq { position: relative; background: var(--ig-paper); overflow: hidden; }

/* foto à direita, sangrando até a borda da tela */
/* seletor mais específico: .reveal-img define position:relative e vem depois
   no arquivo — sem isso a foto sai do canto direito e volta pro fluxo */
.prereq > .prereq-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; margin: 0; }
.prereq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

.prereq-inner {
    position: relative; z-index: 2;
    max-width: var(--maxw); margin: 0 auto;
    padding: clamp(3rem, 6vw, 5.5rem) var(--gut);
}
.prereq-panel {
    background: var(--ig-yellow);
    padding: clamp(2rem, 3.6vw, 3.25rem);
    /* avança por cima da foto, como na referência do site */
    max-width: min(800px, 59vw);
}
.prereq-rule { display: block; width: 64px; height: 2px; background: var(--ig-black); margin-bottom: 1.4rem; }
.prereq-panel .sec-title { margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem); }

.prereq-cards { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(17,17,17,0.28); }
.prereq-card {
    background: transparent;
    border-bottom: 1px solid rgba(17,17,17,0.28);
    display: grid; grid-template-columns: auto 1fr; align-items: center;
    gap: 1.1rem; padding: 1.1rem 0.35rem;
    transition: background-color .4s var(--ig-ease), color .4s var(--ig-ease), padding-left .4s var(--ig-ease);
}
/* marcador em bolinha (substituiu a numeração 01/02/03 a pedido do cliente) */
.prereq-dot {
    width: 9px; height: 9px; border-radius: 50%; background: var(--ig-black);
    display: block; flex-shrink: 0; margin-left: 0.35rem;
    transition: background-color .4s var(--ig-ease);
}
.prereq-txt {
    font-family: var(--ig-body); font-weight: 500; font-size: 1rem; line-height: 1.3;
    color: var(--ig-black); transition: color .4s var(--ig-ease);
}
.prereq-card:hover { background: var(--ig-black); padding-left: 1.1rem; }
.prereq-card:hover .prereq-txt { color: #fff; }
.prereq-card:hover .prereq-dot { background: var(--ig-yellow); }

/* mobile: foto em cima, painel embaixo */
@media (max-width: 900px) {
    .prereq { display: flex; flex-direction: column; }
    .prereq > .prereq-photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; order: -1; }
    .prereq-inner { padding: 0 var(--gut) clamp(3rem,8vw,4rem); margin-top: -3rem; }
    .prereq-panel { max-width: none; }
}

/* ==========================================================================
   BENEFÍCIOS — faixa horizontal de cards com ícone de traço fino
   (mesmo componente de "serviços" do site iguatemi.com.br)
   ========================================================================== */
.sec-soft { background: var(--ig-soft, #EDEDEA); }

/* título grande e centralizado no topo; cards ocupando a largura toda embaixo */
.srv { display: block; }
/* o título dos Benefícios usa o mesmo .sec-head das demais seções:
   alinhado à esquerda e sem o filete que existia acima dele */

/* grade contida: com 9 cards soltos, a largura cheia da seção deixaria cada
   quadro grande demais. Fica alinhada à esquerda, junto com o título. */
.srv-carousel { position: relative; min-width: 0; max-width: 900px; }
/* GRADE 3x3 de cards INDEPENDENTES — cada um com contorno fino, canto
   levemente arredondado e um respiro entre eles (não encostam). */
.srv-track {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: 200px; grid-template-rows: repeat(3, 1fr);
    gap: clamp(10px, 1.1vw, 16px);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none;
}
@media (min-width: 1024px) {
    .srv-track {
        grid-auto-flow: row; grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto; grid-auto-columns: auto; overflow-x: visible;
    }
}
.srv-track::-webkit-scrollbar { display: none; }

.srv-cell {
    scroll-snap-align: start;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 0.9rem; padding: clamp(1.35rem,2vw,1.8rem) 0.9rem clamp(1.1rem,1.6vw,1.4rem);
    background: var(--ig-white); color: var(--ig-black);
    border: 1px solid rgba(17,17,17,0.30); border-radius: 6px;
    transition: background-color .4s var(--ig-ease), color .4s var(--ig-ease),
                border-color .4s var(--ig-ease);
}
.srv-cell:hover { background: var(--ig-yellow); border-color: var(--ig-black); }
@media (max-width: 767px) { .srv-track { grid-auto-columns: 158px; } .srv-cell { padding: 1.25rem .7rem 1.05rem; gap: .75rem; } }

.srv-ico { width: clamp(38px, 3vw, 48px); height: clamp(38px, 3vw, 48px); color: currentColor; display: block; flex-shrink: 0; }
.srv-ico svg { width: 100%; height: 100%; stroke-width: 1.1; fill: none; stroke: currentColor;
    stroke-linecap: round; stroke-linejoin: round; }
/* ícone Material ocupa a caixa do .srv-ico */
.srv-ico .mi { font-size: clamp(46px, 3.9vw, 60px); }
.areas-note .mi { font-size: 27px; color: var(--ig-yellow); }
@media (max-width: 767px) { .srv-ico { width: 42px; height: 42px; } }

/* espaço de 2 linhas reservado em todos: rótulos longos não desalinham a faixa */
.srv-label {
    /* aumentada a pedido do cliente (era 0.9 / 1.05vw / 1) */
    /* aumentada a pedido do cliente (era 0.9 / 1.05vw / 1) */
    font-family: var(--ig-body); font-weight: 500; font-size: clamp(0.92rem, 1vw, 1.02rem); line-height: 1.3;
    color: currentColor; text-align: center; margin-top: auto;
    min-height: 2.7em; display: flex; align-items: center; justify-content: center;
}
@media (max-width: 767px) { .srv-label { font-size: 0.85rem; } }

/* Indicador de traços */
.srv-dots { display: flex; gap: 7px; margin-top: 1.25rem; }
@media (min-width: 1024px) { .srv-dots { display: none; } }
.srv-dot {
    width: 26px; height: 2px; background: rgba(17,17,17,0.22);
    border: 0; padding: 0; cursor: pointer; transition: background-color .35s var(--ig-ease), width .35s var(--ig-ease);
}
.srv-dot.is-active { background: var(--ig-black); width: 34px; }

/* ==========================================================================
   ETAPAS — jornada com animação em LOOP (sem depender de scroll)
   Um traço amarelo percorre a trilha acendendo cada etapa em sequência,
   com um ponto-cometa na ponta; ao final, repousa e reinicia.
   ========================================================================== */
.steps-wrap { position: relative; }

/* trilha */
.steps-rail {
    position: absolute; left: 0; right: 0; top: 21px; height: 2px;
    background: rgba(17,17,17,0.13); overflow: visible; z-index: 0;
}
.steps-fill {
    position: absolute; left: 0; top: 0; height: 100%; width: 0;
    background: var(--ig-black);
    transition: width 1.05s cubic-bezier(0.65, 0, 0.35, 1);
}
/* ponto-cometa na ponta do traço */
.steps-comet {
    position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px;
    border-radius: 50%; background: var(--ig-yellow); opacity: 0;
    box-shadow: 0 0 0 5px rgba(255,255,0,0.28), 0 0 22px 5px rgba(255,255,0,0.5);
    transition: left 1.05s cubic-bezier(0.65, 0, 0.35, 1), opacity .5s var(--ig-ease);
    z-index: 2; pointer-events: none;
}
.steps-wrap.is-running .steps-comet { opacity: 1; }

.steps {
    list-style: none; margin: 0; padding: 0; position: relative; z-index: 1;
    /* 6 etapas (após a fusão de Painel + Entrevista Final e a saída do DISC) */
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 0;
}
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(6, 1fr); gap: 0; } }

.step { padding-right: clamp(0.75rem, 1.5vw, 1.25rem); position: relative; }

/* marcador */
.step-node {
    display: block; width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid rgba(17,17,17,0.18); background: var(--ig-paper);
    position: relative; margin-bottom: 1.5rem;
    transition: border-color .5s var(--ig-ease), background-color .5s var(--ig-ease), transform .5s var(--ig-ease);
}
.step-node i {
    position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%;
    background: rgba(17,17,17,0.22);
    transition: background-color .5s var(--ig-ease), transform .5s var(--ig-ease);
}
.step.is-on .step-node { border-color: var(--ig-black); background: var(--ig-yellow); }
.step.is-on .step-node i { background: var(--ig-black); transform: scale(1.15); }
/* pulso no marcador que acabou de acender */
.step.is-live .step-node { transform: scale(1.12); }
.step.is-live .step-node::after {
    content: ''; position: absolute; inset: -6px; border-radius: 50%;
    border: 1.5px solid var(--ig-yellow); animation: stepPulse 1.1s var(--ig-ease) infinite;
}
@keyframes stepPulse {
    0%   { transform: scale(0.85); opacity: .9; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

.step-num {
    display: block; font-family: var(--ig-display); font-synthesis: none;
    font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1;
    color: rgba(17,17,17,0.28); margin-bottom: 0.55rem;
    transition: color .5s var(--ig-ease);
}
.step.is-on .step-num { color: var(--ig-black); }

.step-title {
    font-family: var(--ig-body); font-weight: 600; font-size: 0.95rem; line-height: 1.25;
    color: rgba(17,17,17,0.45); transition: color .5s var(--ig-ease);
}
.step.is-on .step-title { color: var(--ig-black); }
.step-meta {
    font-family: var(--ig-body); font-size: 0.83rem; line-height: 1.35;
    color: rgba(17,17,17,0.35); margin-top: 0.3rem;
    transition: color .5s var(--ig-ease);
}
.step.is-on .step-meta { color: var(--ig-ink-60); }

/* mobile/tablet: trilha vertical */
@media (max-width: 1099px) {
    .steps-rail { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .steps-fill { width: 100%; height: 0; transition: height 1.05s cubic-bezier(0.65,0,0.35,1); }
    .steps-comet { left: 50%; top: 0; transition: top 1.05s cubic-bezier(0.65,0,0.35,1), opacity .5s var(--ig-ease); }
    .steps { grid-template-columns: 1fr; gap: 1.75rem; }
    .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 1.25rem; align-items: start; padding-right: 0; }
    .step-node { margin-bottom: 0; grid-row: span 3; }
    .step-num { margin-bottom: 0.2rem; font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .steps-comet { display: none; }
    .step.is-live .step-node::after { animation: none; }
}

/* ==========================================================================
   A IGUATEMI — stats
   ========================================================================== */
/* Nossos Números — grade 3x2 (era uma faixa apertada de 6 colunas).
   Os filetes são o gap de 1px sobre o fundo, então a grade fecha certinho. */
.stats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
    background: var(--ig-line-d); border: 1px solid var(--ig-line-d);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
    background: var(--ig-black);
    padding: clamp(1.6rem,3vw,2.4rem) clamp(1.25rem,2.2vw,1.75rem) clamp(1.6rem,3vw,2.2rem);
}
.stat-num {
    font-family: var(--ig-display); font-synthesis: none;
    font-size: clamp(2.25rem, 3.6vw, 3.1rem); line-height: 1;
    color: var(--ig-yellow); letter-spacing: -0.02em;
}
.stat-suf { font-size: 0.36em; color: #fff; margin-left: 0.2em; letter-spacing: 0.02em; }
/* rótulo aumentado a pedido do cliente (era 0.88rem) */
.stat-label { font-family: var(--ig-body); font-size: 1.05rem; line-height: 1.4; color: var(--ig-snow-70); margin-top: 0.9rem; max-width: 24ch; }
.stat-src { font-family: var(--ig-body); font-size: 0.7rem; color: var(--ig-snow-45); margin-top: 1.75rem; }

.emp-intro p { color: var(--ig-snow-70); max-width: 46ch; margin-bottom: 1.25rem;
    text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.iq-lead {
    font-family: var(--ig-display); font-synthesis: none;
    /* reduzida ~15% a pedido do cliente (era 1.35 / 2.2vw / 1.9) */
    font-size: clamp(1.15rem, 1.87vw, 1.62rem); line-height: 1.2;
    color: #fff !important; margin-bottom: 1.5rem !important; max-width: 28ch !important;
    text-align: left !important;
}

/* Blocos: Missão/Visão/Valores, Segmentos e Presença */
.iq-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
/* Missão em cima, Visão embaixo (coluna da esquerda) e Valores ao lado
   — reorganização pedida pelo cliente. */
.iq-cards {
    display: grid; grid-template-columns: 1fr; gap: 1px;
    background: var(--ig-line-d); border: 1px solid var(--ig-line-d);
}
@media (min-width: 900px) { .iq-cards { grid-template-columns: 1fr 1fr; } }
.iq-col { display: grid; grid-template-rows: auto 1fr; gap: 1px; background: var(--ig-line-d); }
.iq-card {
    background: var(--ig-black);
    padding: clamp(1.75rem,3vw,2.5rem) clamp(1.25rem,2.5vw,2rem);
}
.iq-card-title {
    font-family: var(--ig-display); font-synthesis: none;
    font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; color: var(--ig-yellow);
    margin-bottom: 1.1rem;
}
.iq-card p { font-size: 1rem; line-height: 1.6; color: var(--ig-snow-70);
    text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.iq-values { display: flex; flex-direction: column; gap: 0.7rem; }
.iq-values li {
    position: relative; padding-left: 1.1rem;
    font-size: 0.95rem; line-height: 1.5; color: var(--ig-snow-70);
    text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}
.iq-values li::before {
    content: ''; position: absolute; left: 0; top: 0.62em;
    width: 5px; height: 5px; background: var(--ig-yellow);
}

/* ==========================================================================
   PRESENÇA — locator: lista de empreendimentos + mapa interativo
   (mesmo componente da LP Santos Brasil: ao clicar, o mapa voa até o ponto)
   ========================================================================== */
.locator {
    display: grid; grid-template-columns: 1fr; gap: 1px;
    background: var(--ig-line-d); border: 1px solid var(--ig-line-d);
}
@media (min-width: 1000px) { .locator { grid-template-columns: 0.86fr 1.14fr; } }
.locator > * { min-width: 0; background: var(--ig-black); }

.loc-list {
    padding: clamp(1.5rem, 2.6vw, 2.25rem);
    max-height: 520px; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent;
    /* esmaece o fim da lista: sinaliza que ainda há itens abaixo */
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 44px), transparent 100%);
            mask-image: linear-gradient(180deg, #000 calc(100% - 44px), transparent 100%);
}
.loc-list::-webkit-scrollbar { width: 4px; }
.loc-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); }
.loc-uf + .loc-uf { margin-top: 1.75rem; }
.loc-sigla {
    display: block; font-family: var(--ig-display); font-synthesis: none;
    font-size: 1.6rem; line-height: 1; color: var(--ig-yellow); margin-bottom: 0.75rem;
}
.loc-items { display: flex; flex-direction: column; gap: 1px; }
.loc-item {
    width: 100%; text-align: left; background: transparent; border: 0;
    border-left: 2px solid transparent; cursor: pointer;
    font-family: var(--ig-body); font-size: 0.9rem; line-height: 1.3;
    color: var(--ig-snow-70); padding: 0.6rem 0.75rem;
    transition: color .35s var(--ig-ease), background-color .35s var(--ig-ease),
                border-color .35s var(--ig-ease), padding-left .35s var(--ig-ease);
}
.loc-item:hover { color: #fff; background: rgba(255,255,255,0.05); padding-left: 1.05rem; }
.loc-item.is-active {
    color: var(--ig-black); background: var(--ig-yellow);
    border-left-color: var(--ig-yellow); font-weight: 500;
}

.loc-map { position: relative; min-height: 420px; }
@media (max-width: 999px) { .loc-map { min-height: 340px; } }
#ig-map { position: absolute; inset: 0; background: #1a1a1a; }
.loc-map-tag {
    position: absolute; left: 0; bottom: 0; z-index: 500;
    background: var(--ig-black); color: var(--ig-snow-70);
    font-family: var(--ig-body); font-weight: 600; font-size: 0.62rem;
    letter-spacing: 0.22em; text-transform: uppercase; padding: 0.6rem 0.9rem;
}
/* marcador (o mesmo pulso da LP Santos, em amarelo Iguatemi) */
.ig-pin { width: 14px; height: 14px; border-radius: 50%; background: var(--ig-yellow);
    box-shadow: 0 0 0 3px rgba(17,17,17,0.85); position: relative; }
.ig-pin.is-on::after {
    content: ''; position: absolute; inset: -5px; border-radius: 50%;
    border: 1.5px solid var(--ig-yellow); animation: pinPulse 1.6s var(--ig-ease) infinite;
}
@keyframes pinPulse {
    0%   { transform: scale(0.8); opacity: .9; }
    70%  { transform: scale(2.1); opacity: 0; }
    100% { transform: scale(2.1); opacity: 0; }
}
.leaflet-container { background: #1a1a1a; font-family: var(--ig-body); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--ig-yellow); color: var(--ig-black); border-radius: 0; }
.leaflet-popup-content { margin: 0.7rem 0.95rem; font-size: 0.82rem; font-weight: 500; }
.leaflet-control-zoom a { background: var(--ig-black); color: #fff; border-color: rgba(255,255,255,0.18); }
.leaflet-control-zoom a:hover { background: var(--ig-yellow); color: var(--ig-black); }
@media (prefers-reduced-motion: reduce) { .ig-pin.is-on::after { animation: none; } }
.stat-pre { font-size: 0.42em; margin-right: 0.12em; }
.link-y {
    display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none;
    font-family: var(--ig-body); font-weight: 600; font-size: 0.8rem;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--ig-yellow);
    border-bottom: 1px solid rgba(255,255,0,0.4); padding-bottom: 0.35rem;
    transition: border-color .35s var(--ig-ease), gap .35s var(--ig-ease);
}
.link-y:hover { border-color: var(--ig-yellow); gap: 0.95rem; }
.link-y svg { width: 14px; height: 14px; }

/* ==========================================================================
   NOSSOS NEGÓCIOS — três frentes, foto + nome (sem detalhamento)
   ========================================================================== */
.neg-title {
    font-family: var(--ig-display); font-synthesis: none; font-weight: 400;
    font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.1; color: #fff;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.negocios { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 768px) { .negocios { grid-template-columns: repeat(3, 1fr); } }

.neg-card { position: relative; overflow: hidden; background: #1a1a1a; min-width: 0; }
.neg-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.neg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ig-ease); }
.neg-card:hover .neg-media img { transform: scale(1.06); }
.neg-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(17,17,17,0) 35%, rgba(17,17,17,0.9) 100%);
}
.neg-name {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    font-family: var(--ig-display); font-synthesis: none; font-weight: 400;
    font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.15; color: #fff;
    padding: 1.25rem 1.35rem;
}
.neg-card::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; z-index: 3;
    background: var(--ig-yellow); transform: scaleX(0); transform-origin: left;
    transition: transform .6s var(--ig-ease);
}
.neg-card:hover::after { transform: scaleX(1); }

/* ==========================================================================
   EMPREENDIMENTOS — vídeo institucional
   (a galeria de fotos foi retirada em 28/07)
   ========================================================================== */
.vid {
    position: relative; max-width: 820px; margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    aspect-ratio: 16 / 9; overflow: hidden; background: #1a1a1a;
}
.vid img.vid-poster { width: 100%; height: 100%; object-fit: cover; }
.vid::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(17,17,17,0.15), rgba(17,17,17,0.55));
}
.vid-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
    width: clamp(64px, 7vw, 86px); height: clamp(64px, 7vw, 86px); border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.6); background: rgba(17,17,17,0.25);
    color: #fff; z-index: 2; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background-color .4s var(--ig-ease), color .4s var(--ig-ease), border-color .4s var(--ig-ease);
}
.vid-play svg { width: 42%; height: 42%; }
.vid[data-video=""] .vid-play { cursor: default; }
.vid:not([data-video=""]) .vid-play:hover { background: var(--ig-yellow); color: var(--ig-black); border-color: var(--ig-yellow); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* ==========================================================================
   MARQUEE (faixa amarela em movimento)
   ========================================================================== */
.marquee { background: var(--ig-yellow); overflow: hidden; padding: 1.05rem 0; border-top: 1px solid var(--ig-black); border-bottom: 1px solid var(--ig-black); }
.marquee-inner { display: flex; width: max-content; animation: slide 34s linear infinite; }
.marquee span {
    font-family: var(--ig-body); font-weight: 600; font-size: 0.76rem;
    letter-spacing: 0.26em; text-transform: uppercase; color: var(--ig-black);
    padding: 0 1.75rem; display: inline-flex; align-items: center; gap: 1.75rem;
}
.marquee span::after { content: ''; width: 5px; height: 5px; background: var(--ig-black); display: inline-block; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-inner { animation: none; } }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
/* bloco mais baixo e véu de preto mais leve, a pedido do cliente:
   a foto de fundo precisa aparecer bem mais. */
.cta { position: relative; overflow: hidden; background: var(--ig-black);
    padding-top: clamp(3rem, 6vh, 4.5rem); padding-bottom: clamp(3rem, 6vh, 4.5rem); }
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
/* véu de preto translúcido: a foto continua aparecendo, mas o texto ganha
   contraste (a foto da fachada é muito clara) */
.cta-media::after { content:''; position:absolute; inset:0; background: rgba(17,17,17,0.52); }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title {
    font-family: var(--ig-display); font-synthesis: none; text-transform: uppercase;
    /* reduzido junto com o bloco (era 1.68 / 5.18vw / 4.55) */
    font-size: clamp(1.45rem, 4.1vw, 3.5rem); line-height: 1.04; letter-spacing: 0.005em; color: #fff;
    margin: 0 auto 2rem; max-width: 18ch;
    text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.cta-title .y { color: var(--ig-yellow); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ig-black); color: #fff; padding: clamp(3.5rem,7vw,5rem) var(--gut) 2.5rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--ig-line-d); }
.footer-logos { display: flex; align-items: center; gap: 2rem; }
.footer-word { font-family: 'DidotLogo', Georgia, serif; font-weight: 700; font-synthesis: none; font-size: 1.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.footer-logos img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.socials { display: flex; gap: 8px; }
.social {
    width: 42px; height: 42px; border: 1px solid var(--ig-line-d); color: var(--ig-snow-70);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background-color .3s var(--ig-ease), color .3s var(--ig-ease), border-color .3s var(--ig-ease);
}
.social svg { width: 17px; height: 17px; }
.social:hover { background: var(--ig-yellow); color: var(--ig-black); border-color: var(--ig-yellow); }
.footer-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 2rem; }
.footer-bot p { font-family: var(--ig-body); font-size: 0.85rem; line-height: 1.5; color: var(--ig-snow-70); max-width: 62ch; }
.footer-bot p + p { color: var(--ig-snow-45); flex-shrink: 0; }
.footer-bot a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--ig-snow-45); transition: color .3s, border-color .3s; }
.footer-bot a:hover { color: var(--ig-yellow); border-color: var(--ig-yellow); }

/* ==========================================================================
   Motion
   ========================================================================== */
/* IMPORTANTE: o conteúdo é visível por padrão. Só escondemos para animar
   quando o JS está ativo (classe .js no <html>). Se o JS falhar, nada some. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .95s var(--ig-ease), transform .95s var(--ig-ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.rd-1 { transition-delay: .08s } .rd-2 { transition-delay: .16s } .rd-3 { transition-delay: .24s }
.rd-4 { transition-delay: .32s } .rd-5 { transition-delay: .40s }

/* ==========================================================================
   REVELAÇÃO "SWIPE AMARELO" — assinatura de movimento do site Iguatemi
   Um bloco amarelo ENTRA pela esquerda, cobre o quadro e SAI pela direita,
   deixando a imagem revelada atrás dele.
   ========================================================================== */
.reveal-img { position: relative; overflow: hidden; background: var(--ig-paper); }

/* o bloco amarelo */
.js .reveal-img::after {
    content: ''; position: absolute; inset: 0; z-index: 3;
    background: var(--ig-yellow);
    transform: translateX(-101%);
    pointer-events: none;
}
.js .reveal-img.is-visible::after {
    animation: swipeThru 1.25s cubic-bezier(0.76, 0, 0.24, 1) forwards;
    animation-delay: var(--swipe-delay, 0s);
}
@keyframes swipeThru {
    0%   { transform: translateX(-101%); }
    48%  { transform: translateX(0); }
    52%  { transform: translateX(0); }
    100% { transform: translateX(101%); }
}

/* A FOTO NUNCA depende da animação para aparecer: só o bloco amarelo se move
   por cima dela. Se a animação não rodar em algum ambiente, o bloco fica fora
   do quadro (translateX(-101%)) e a foto aparece normalmente. */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important; scroll-behavior: auto !important;
    }
    /* precisa da mesma especificidade de ".js .reveal", senão o conteúdo
       fica invisível para quem usa "reduzir movimento" */
    .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
    .js .reveal-img::after { display: none; }
}
