/* ==========================================================================
   Isabelly Ricardo · Portfólio
   Conceito: "estúdio noturno" — fundo marrom-carvão, luz laranja de refletor,
   tipografia larga (Syncopate) como peça gráfica, Montserrat para leitura.
   ========================================================================== */

:root {
    /* Cor */
    --ink: #120803;        /* fundo */
    --ink-2: #1c0d05;      /* superfícies */
    --ink-3: #2b150a;      /* superfícies elevadas */
    --ember: #f27a1a;      /* laranja principal */
    --flare: #ffa14a;      /* laranja claro / brilho */
    --blaze: #e5600c;      /* laranja profundo */
    --rust: #8a3a0c;       /* marrom ferrugem */
    --cream: #fff1e4;      /* texto */
    --mute: rgba(255, 241, 228, .66);
    --faint: rgba(255, 241, 228, .38);
    --line: rgba(255, 241, 228, .12);
    --fire: linear-gradient(120deg, var(--flare) 0%, var(--ember) 45%, var(--blaze) 100%);

    /* Maré Esfiharia (marca própria) */
    --mare: #002818;
    --mare-2: #003a24;
    --mare-gold: #fbca01;
    --mare-cream: #f2e3a6;
    --mare-wave: #5e8c77;

    /* Tipo */
    --f-display: "Syncopate", "Arial Black", "Helvetica Neue", sans-serif;
    --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Layout */
    --wrap: 1280px;
    --gutter: max(20px, 4vw);
    --r: 22px;
    --ease: cubic-bezier(.22, 1, .36, 1);

    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--cream);
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
picture { display: contents; } /* <picture> só troca o formato; o layout continua sendo do <img> */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 2px solid var(--flare); outline-offset: 4px; border-radius: 6px; }

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin-inline: auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { position: relative; padding-block: clamp(5rem, 11vw, 9rem); }

.skip-link {
    position: fixed; left: 1rem; top: -4rem; z-index: 200;
    background: var(--ember); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Grão de filme por cima de tudo */
.grain {
    position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
    0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
    60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Tipografia base ---------- */
.label {
    display: inline-flex; align-items: center; gap: .7rem;
    font-family: var(--f-display); font-weight: 700; font-size: .72rem;
    letter-spacing: .28em; text-transform: uppercase; color: var(--flare);
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--fire); border-radius: 2px; }
.label--sm { font-size: .62rem; color: var(--faint); }
.label--sm::before { width: 16px; background: var(--faint); }

.h2 {
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.7rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em;
    text-wrap: balance; margin-top: 1.1rem;
}
.h2 em {
    font-style: normal; color: transparent;
    -webkit-text-stroke: 1.5px var(--ember);
    background: var(--fire); -webkit-background-clip: text; background-clip: text;
    background-size: 0% 100%; background-repeat: no-repeat;
    transition: background-size .9s var(--ease);
}
.h2:hover em, .is-in .h2 em { background-size: 100% 100%; }
.lead { color: var(--mute); font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 60ch; }
.lead + .lead { margin-top: 1rem; }

/* ---------- Botões ---------- */
.btn {
    --h: 54px;
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    height: var(--h); padding: 0 1.7rem; border-radius: 999px; overflow: hidden; isolation: isolate;
    font-family: var(--f-display); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
    border: 0; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn--fire { background: var(--fire); color: var(--ink); box-shadow: 0 10px 40px -10px rgba(242, 122, 26, .7); }
.btn--fire::after {
    content: ""; position: absolute; inset: 0; z-index: 0; background: var(--cream);
    transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit;
}
.btn--fire:hover::after { transform: translateY(0); }
.btn--fire:hover { box-shadow: 0 14px 50px -8px rgba(255, 161, 74, .8); }
.btn--ghost { color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost::after {
    content: ""; position: absolute; inset: 0; z-index: 0; background: var(--fire);
    transform: scale(0); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn--ghost:hover { color: var(--ink); }
.btn--ghost:hover::after { transform: scale(1); }

/* ---------- Barra de progresso ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--fire); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
    .cursor {
        display: grid; place-items: center;
        position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
        width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
        border: 1.5px solid var(--flare); mix-blend-mode: difference;
        transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
    }
    .cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 161, 74, .15); }
    .cursor.is-text {
        width: 96px; height: 96px; margin: -48px 0 0 -48px;
        background: var(--ember); border-color: var(--ember); mix-blend-mode: normal;
    }
    .cursor__label {
        font-family: var(--f-display); font-weight: 700; font-size: .62rem; letter-spacing: .14em;
        text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .25s;
    }
    .cursor.is-text .cursor__label { opacity: 1; }
}

/* ---------- Navegação ---------- */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 100;
    padding-top: env(safe-area-inset-top, 0px);
    transition: transform .5s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
    background: rgba(18, 8, 3, .72);
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { display: flex; align-items: center; gap: 2rem; height: 84px; }
.nav__brand { display: flex; align-items: center; gap: .8rem; }
.nav__mono {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
    background: var(--fire); color: var(--ink);
    font-family: var(--f-display); font-weight: 700; font-size: .9rem; letter-spacing: .02em;
    transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.nav__brand:hover .nav__mono { transform: rotate(-12deg) scale(1.06); border-radius: 50%; }
.nav__name { font-family: var(--f-display); font-weight: 700; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__links a {
    position: relative; font-size: .82rem; font-weight: 600; color: var(--mute); transition: color .3s; padding-block: .3rem;
}
.nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--fire);
    transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { --h: 46px; padding: 0 1.3rem; font-size: .62rem; }
.nav__toggle {
    display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; margin-left: auto;
    background: var(--ink-3); position: relative;
}
.nav__toggle span {
    position: absolute; left: 14px; right: 14px; height: 2px; background: var(--cream); border-radius: 2px;
    transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
    position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
    padding: 6rem max(24px, env(safe-area-inset-right, 0px)) 3rem max(24px, env(safe-area-inset-left, 0px));
    background: radial-gradient(120% 80% at 100% 0%, var(--rust) 0%, var(--ink) 60%);
    clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease);
    visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: .4rem; }
.menu__links a {
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.4rem, 7vw, 2.4rem); line-height: 1.25;
}
.menu__links a:hover { color: var(--flare); }
.menu__social { color: var(--flare); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding-top: clamp(7rem, 12vw, 9rem); padding-bottom: clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(60% 70% at 78% 40%, rgba(242, 122, 26, .38) 0%, transparent 65%),
        radial-gradient(50% 60% at 0% 100%, rgba(138, 58, 12, .45) 0%, transparent 70%),
        linear-gradient(180deg, #1f0e05 0%, var(--ink) 100%);
}
.hero__bgword {
    position: absolute; right: -4vw; top: 50%; transform: translateY(-50%);
    font-family: var(--f-display); font-weight: 700; font-size: clamp(12rem, 34vw, 34rem); line-height: .8;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 161, 74, .14);
    pointer-events: none; user-select: none; white-space: nowrap;
}
.hero__glow {
    position: absolute; width: 560px; height: 560px; left: 0; top: 0; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(255, 161, 74, .22) 0%, transparent 65%);
    transform: translate(-50%, -50%); opacity: 0; transition: opacity .6s;
}
.hero:hover .hero__glow { opacity: 1; }
.hero__grid {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
}
.hero__text { position: relative; z-index: 2; min-width: 0; }
.eyebrow {
    display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
    font-size: clamp(.68rem, 1vw, .8rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--flare);
}
.eyebrow i { font-style: normal; color: var(--faint); }
.hero__title {
    margin-top: 1.4rem;
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2.2rem, 6.6vw, 6.4rem); line-height: .98; letter-spacing: -.02em;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title [data-line] { display: inline-block; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title .hero__outline { background: none; color: transparent; -webkit-text-stroke: 1.5px var(--cream); }
.hero__tag {
    margin-top: 1.6rem; font-size: clamp(1.1rem, 1.9vw, 1.6rem); line-height: 1.3; font-weight: 300; color: var(--mute);
}
.hero__tag strong { font-weight: 800; color: var(--flare); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__scroll {
    display: inline-flex; align-items: center; gap: .9rem; margin-top: 3rem;
    font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--faint);
}
.hero__scroll-line { position: relative; width: 56px; height: 1.5px; background: var(--line); overflow: hidden; }
.hero__scroll-line::after {
    content: ""; position: absolute; inset: 0; background: var(--flare); animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

.hero__visual { position: relative; aspect-ratio: 4 / 5; max-width: 560px; width: 100%; justify-self: center; }
.hero__disc {
    position: absolute; left: 8%; right: 8%; top: 14%; aspect-ratio: 1; border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 241, 228, .35) 0%, transparent 35%),
        var(--fire);
    box-shadow: 0 0 120px 10px rgba(242, 122, 26, .45), inset 0 -30px 80px rgba(138, 58, 12, .55);
}
.hero__ring {
    position: absolute; left: -2%; right: -2%; top: 5%; width: 104%; aspect-ratio: 1; height: auto;
    animation: spin 28s linear infinite; overflow: visible;
}
.hero__ring text { font-family: var(--f-display); font-weight: 700; font-size: 9.6px; letter-spacing: 2.2px; fill: var(--cream); opacity: .78; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__photo {
    position: absolute; left: 4%; bottom: 0; width: 92%; height: auto;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.chip {
    position: absolute; z-index: 3; padding: .65rem 1.05rem; border-radius: 999px;
    font-size: .74rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
    background: rgba(28, 13, 5, .72); border: 1px solid rgba(255, 161, 74, .35);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    animation: bob 6s ease-in-out infinite;
}
.chip--a { left: -4%; top: 30%; color: var(--flare); }
.chip--b { right: -2%; top: 18%; background: var(--fire); color: var(--ink); border-color: transparent; animation-delay: -2s; }
.chip--c { right: 4%; bottom: 20%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
.hero__swatches {
    position: absolute; left: 2%; bottom: 10%; z-index: 3; display: flex; padding: .45rem; gap: .35rem; border-radius: 14px;
    background: rgba(28, 13, 5, .72); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__swatches i { width: 22px; height: 22px; border-radius: 7px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 241, 228, .15); }

/* ---------- Faixas cruzadas ---------- */
.bands { position: relative; height: clamp(150px, 18vw, 220px); overflow: hidden; margin-block: -1rem; z-index: 3; }
.band {
    position: absolute; left: -5%; right: -5%; top: 50%; overflow: hidden;
    padding-block: clamp(.8rem, 1.4vw, 1.1rem);
}
.band--fire { background: var(--fire); color: var(--ink); transform: translateY(-50%) rotate(-3deg); z-index: 2; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.band--dark { background: var(--ink-3); color: var(--flare); transform: translateY(-50%) rotate(2.5deg); }
.band__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; will-change: transform; }
.band__track span {
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase; white-space: nowrap;
    font-size: clamp(1rem, 2.1vw, 1.7rem); letter-spacing: .02em;
}
.band--dark .band__track span { color: transparent; -webkit-text-stroke: 1px var(--flare); }
.band__track b { font-size: 1.1rem; }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__photo { position: relative; max-width: 480px; width: 100%; justify-self: center; }
.about__frame {
    position: relative; border-radius: var(--r); overflow: hidden; transform: rotate(-3deg);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line);
    transition: transform .6s var(--ease);
}
.about__frame::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(200deg, transparent 50%, rgba(242, 122, 26, .35) 100%); mix-blend-mode: screen;
}
.about__frame img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__photo:hover .about__frame img { transform: scale(1.06); }
.about__photo figcaption {
    display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-inline: .3rem;
    font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint);
}
.sticker {
    position: absolute; right: -6%; top: -8%; width: clamp(96px, 12vw, 132px); aspect-ratio: 1; display: grid; place-items: center;
    border-radius: 50%; background: var(--ember); color: var(--ink); box-shadow: 0 16px 40px -10px rgba(242, 122, 26, .8);
}
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.sticker text { font-family: var(--f-display); font-weight: 700; font-size: 9.4px; letter-spacing: 1.6px; fill: var(--ink); }
.sticker b { font-family: var(--f-display); font-size: 1.15rem; }
.about__text { min-width: 0; }
.about__text .lead:first-of-type { margin-top: 1.6rem; }
.about__areas { display: flex; flex-direction: column; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.about__areas li {
    position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding-block: .9rem;
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1rem, 2.2vw, 1.6rem);
}
.about__areas li span { position: relative; z-index: 1; display: inline-block; transition: transform .5s var(--ease), color .3s; }
.about__areas li::before {
    content: ""; position: absolute; inset: 0; background: var(--fire); transform: translateY(101%); transition: transform .5s var(--ease);
}
.about__areas li:hover::before { transform: translateY(0); }
.about__areas li:hover span { color: var(--ink); transform: translateX(1rem); }
.about__tools { margin-top: 2.2rem; }
.about__tools ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.about__tools li {
    padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--mute);
    transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.about__tools li:hover { border-color: var(--ember); color: var(--cream); transform: translateY(-3px); }

.about__path { display: grid; gap: 2rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 2.5rem; }
.timeline__col { display: grid; gap: 1.2rem; align-content: start; }
.timeline__item { position: relative; padding: 0 0 1.2rem 1.6rem; border-left: 1.5px solid var(--line); }
.timeline__item::before {
    content: ""; position: absolute; left: -6px; top: .35rem; width: 11px; height: 11px; border-radius: 50%; background: var(--ember);
    box-shadow: 0 0 0 5px rgba(242, 122, 26, .18);
}
.timeline__when { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--flare); }
.timeline__item h3 { font-size: 1.1rem; margin-top: .3rem; }
.timeline__where { color: var(--mute); font-weight: 600; font-size: .92rem; }
.timeline__item p:last-child:not(.timeline__where) { color: var(--mute); margin-top: .5rem; font-size: .92rem; }

.linkedin-card {
    display: flex; align-items: center; gap: 1.4rem; padding: 1.4rem 1.6rem; border-radius: var(--r);
    background: var(--ink-2); border: 1px solid var(--line); transition: border-color .4s, background .4s, transform .4s var(--ease);
}
.linkedin-card:hover { border-color: rgba(242, 122, 26, .6); background: var(--ink-3); transform: translateY(-4px); }
.linkedin-card__icon {
    flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
    background: var(--fire); color: var(--ink); font-weight: 800; font-size: 1.3rem;
}
.linkedin-card__text { display: grid; min-width: 0; }
.linkedin-card__text strong { font-size: 1.05rem; }
.linkedin-card__text small { color: var(--mute); font-size: .86rem; }
.linkedin-card__arrow { margin-left: auto; font-size: 1.6rem; color: var(--flare); transition: transform .4s var(--ease); }
.linkedin-card:hover .linkedin-card__arrow { transform: translate(4px, -4px) rotate(8deg); }

/* ---------- Serviços ---------- */
.services { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.service {
    position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 1.8rem 1.6rem; overflow: hidden;
    border-radius: var(--r); background: var(--ink-3); border: 1px solid var(--line);
    transform-style: preserve-3d; transition: border-color .4s, box-shadow .5s var(--ease);
}
.service::before {
    content: ""; position: absolute; inset: 0; background: var(--fire); clip-path: circle(0% at 100% 0%);
    transition: clip-path .8s var(--ease); z-index: 0;
}
.service > * { position: relative; z-index: 1; }
.service:hover { border-color: transparent; box-shadow: 0 30px 60px -25px rgba(242, 122, 26, .6); }
.service:hover::before { clip-path: circle(150% at 100% 0%); }
.service__shape { width: 64px; height: 64px; margin-bottom: auto; transition: transform .8s var(--ease); }
.service:hover .service__shape { transform: rotate(-30deg) scale(1.1); }
.service__shape--0 { border-radius: 50%; background: var(--fire); }
.service__shape--1 { background: var(--fire); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.service__shape--2 { border-radius: 16px; border: 3px solid var(--ember); background: transparent; }
.service__shape--3 { background: var(--fire); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.service:hover .service__shape { background: var(--ink); border-color: var(--ink); }
.service__sub { margin-top: 2.5rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--flare); transition: color .4s; }
.service__name {
    margin-top: .4rem; font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.2;
}
.service__text { margin-top: .9rem; font-size: .92rem; color: var(--mute); transition: color .4s; }
.service__list {
    display: grid; gap: .35rem; margin-top: 1.2rem; max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height .7s var(--ease), opacity .5s;
}
.service__list li { font-size: .86rem; font-weight: 700; }
.service__list li::before { content: "→ "; }
.service:hover .service__list, .service:focus-within .service__list { max-height: 12rem; opacity: 1; }
.service:hover, .service:hover .service__text { color: var(--ink); }
.service:hover .service__sub { color: var(--ink); opacity: .7; }

/* ---------- Case Branding ---------- */
.case { overflow: hidden; background: var(--ink-2); }
.case__word {
    position: absolute; top: clamp(2rem, 5vw, 4rem); left: 0; white-space: nowrap; pointer-events: none;
    font-family: var(--f-display); font-weight: 700; font-size: clamp(5rem, 15vw, 14rem); line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 161, 74, .16);
}
.case__word span { display: inline-block; will-change: transform; }
.case__head { position: relative; padding-top: clamp(3rem, 8vw, 6rem); }
.case__grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; padding: .4rem; border-radius: 999px; background: var(--ink); border: 1px solid var(--line); }
.tab {
    display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.3rem; border: 0; border-radius: 999px; background: transparent;
    font-family: var(--f-display); font-weight: 700; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
    transition: background .4s var(--ease), color .3s;
}
.tab small { font-size: .6rem; color: var(--faint); transition: color .3s; }
.tab:hover { color: var(--cream); }
.tab.is-active { background: var(--fire); color: var(--ink); }
.tab.is-active small { color: var(--ink); }
.case__info { position: sticky; top: 110px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; justify-items: start; min-width: 0; }
.case__title {
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase; max-width: 100%; overflow-wrap: anywhere;
    font-size: clamp(1.7rem, 3.3vw, 3.3rem); line-height: 1; text-wrap: balance; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.case__title small { display: block; margin-top: .7rem; font-size: .9rem; letter-spacing: .3em; color: var(--cream); -webkit-text-fill-color: var(--cream); }
.case__deliv { display: flex; flex-wrap: wrap; gap: .5rem; }
.case__deliv li { padding: .45rem .95rem; border-radius: 999px; background: rgba(242, 122, 26, .12); color: var(--flare); font-size: .8rem; font-weight: 700; }
.case__colors { display: flex; flex-wrap: wrap; gap: .6rem; }
.case__color {
    width: 64px; height: 84px; border: 0; border-radius: 14px; background: var(--c); position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 241, 228, .15); transition: transform .4s var(--ease);
}
.case__color span { position: absolute; left: 0; right: 0; bottom: -1.4rem; font-size: .66rem; font-weight: 700; color: var(--mute); }
.case__color:hover { transform: translateY(-6px) rotate(-4deg); }
.case__bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 1rem; }
.bento {
    position: relative; display: block; width: 100%; padding: 0; border: 0; text-align: left;
    border-radius: var(--r); overflow: hidden; background: var(--ink-3); min-height: 220px;
}
button.bento { cursor: zoom-in; }
.bento--texto {
    display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; padding: 1.6rem;
    background: var(--fire); color: var(--ink); aspect-ratio: 1;
}
.bento__quote { font-family: var(--f-display); font-weight: 700; font-size: 4rem; line-height: .6; }
.bento--texto blockquote { margin: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(.95rem, 1.5vw, 1.2rem); line-height: 1.35; text-wrap: balance; }
.bento--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.bento--tall { grid-row: span 2; }
.bento--square { aspect-ratio: 1; }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento:hover img { transform: scale(1.05); }
.bento__cap {
    position: absolute; left: 1rem; bottom: 1rem; color: var(--cream); padding: .45rem .9rem; border-radius: 999px;
    background: rgba(18, 8, 3, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-size: .74rem; font-weight: 700; letter-spacing: .04em;
}

/* Espaço reservado (aguardando imagem) */
.slot {
    position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
    background:
        repeating-linear-gradient(135deg, rgba(255, 161, 74, .06) 0 2px, transparent 2px 14px),
        radial-gradient(120% 90% at 20% 0%, rgba(242, 122, 26, .45) 0%, transparent 60%),
        linear-gradient(160deg, var(--ink-3), var(--ink));
}
.slot__mark {
    font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 8vw, 6rem); color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 161, 74, .5); transition: transform 1s var(--ease);
}
.bento:hover .slot__mark { transform: scale(1.15) rotate(-6deg); }
.slot--art { align-content: space-between; justify-items: start; padding: 1rem; place-items: stretch; }
.slot__num {
    font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px var(--flare);
}
.slot__tipo {
    align-self: end; justify-self: start; padding: .35rem .75rem; border-radius: 999px; background: var(--fire); color: var(--ink);
    font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- Social: roda ---------- */
.social { overflow: hidden; padding-bottom: clamp(4rem, 8vw, 6rem); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
    padding: .65rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: transparent;
    font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--mute);
    transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.filter:hover { border-color: var(--ember); color: var(--cream); transform: translateY(-2px); }
.filter.is-active { background: var(--fire); color: var(--ink); border-color: transparent; }
.filter sup { font-size: .62rem; opacity: .7; margin-left: .15rem; }
.social .section__head--row { align-items: flex-end; }
.social .filters { max-width: 560px; justify-content: flex-end; }
.social__lead { margin-top: 1.2rem; max-width: 48ch; }
.badge {
    position: absolute; top: .7rem; right: .7rem; z-index: 2; padding: .3rem .6rem; border-radius: 999px;
    background: rgba(18, 8, 3, .78); color: var(--cream); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    font-size: .66rem; font-weight: 800; letter-spacing: .04em; pointer-events: none;
}
.badge + .badge { top: auto; bottom: .7rem; }
.badge--count { background: var(--fire); color: var(--ink); }

.wheel { --R: 1000px; --cw: 260px; --ch: 325px; position: relative; }
.wheel__glow {
    position: absolute; left: 50%; top: 40%; width: min(900px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(242, 122, 26, .35), transparent); pointer-events: none;
}
.wheel__stage {
    position: relative; height: calc(var(--ch) * 1.25 + 90px); overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.wheel__stage.is-dragging { cursor: grabbing; }
.wheel__rotor {
    position: absolute; left: 50%; top: calc(var(--R) + var(--ch) * .62 + 40px); width: 0; height: 0;
    transition: transform .9s var(--ease);
}
.wheel__stage.is-dragging .wheel__rotor { transition: none; }
.wcard {
    position: absolute; left: calc(var(--cw) / -2); top: calc(var(--ch) / -2); width: var(--cw); height: var(--ch);
    padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--ink-3);
    transform: rotate(var(--a)) translateY(calc(var(--R) * -1)) scale(.86);
    transform-origin: 50% 50%;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8), 0 0 0 1px var(--line);
    transition: transform .9s var(--ease), box-shadow .6s, opacity .5s, filter .6s;
    filter: saturate(.6) brightness(.7);
}
.wcard.is-active {
    transform: rotate(var(--a)) translateY(calc(var(--R) * -1)) scale(1.12);
    filter: none; box-shadow: 0 30px 80px -20px rgba(242, 122, 26, .7), 0 0 0 2px var(--ember);
}
.wcard.is-out { opacity: 0; pointer-events: none; }
.wcard img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wheel__hud { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 3rem); margin-top: .5rem; padding-inline: var(--gutter); }
.wheel__arrow {
    flex: none; width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--ink-2);
    font-size: 1.6rem; line-height: 1; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.wheel__arrow:hover { background: var(--fire); color: var(--ink); border-color: transparent; transform: scale(1.08); }
.wheel__caption { display: grid; justify-items: center; text-align: center; min-width: 0; width: 240px; }
.wheel__count { font-family: var(--f-display); font-size: .7rem; letter-spacing: .2em; color: var(--faint); font-variant-numeric: tabular-nums; }
.wheel__count b { color: var(--flare); }
.wheel__caption strong { font-family: var(--f-display); text-transform: uppercase; font-size: 1.05rem; margin-top: .3rem; }
.wheel__caption small { color: var(--mute); font-weight: 600; }

/* ---------- Social: esteiras ---------- */
.reels { display: grid; gap: 1rem; margin-top: clamp(3.5rem, 7vw, 5rem); transform: rotate(-2deg); }
.reel { overflow: hidden; }
.reel__track { display: flex; align-items: center; gap: 1rem; width: max-content; will-change: transform; }
.rcard {
    position: relative; flex: none; height: 230px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--ink-3);
    box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s;
}
.rcard--feed, .rcard--carrossel { aspect-ratio: 4 / 5; }
.rcard--stories { aspect-ratio: 9 / 16; }
.rcard--campanha { aspect-ratio: 1; }
.rcard img { width: 100%; height: 100%; object-fit: cover; }
.rcard:hover { transform: scale(1.06) rotate(1.5deg); box-shadow: 0 20px 50px -15px rgba(242, 122, 26, .6), 0 0 0 2px var(--ember); z-index: 2; }
.rcard.is-dim { opacity: .18; filter: grayscale(1); }
.rcard .slot__num { font-size: 2rem; }

/* ---------- Processo ---------- */
.process { background: var(--ink-2); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.steps__line { position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--line); }
.steps__line span { display: block; height: 100%; background: var(--fire); transform-origin: 0 50%; transform: scaleX(.15); }
.step { position: relative; display: grid; gap: .7rem; align-content: start; padding-right: 1rem; }
.step__n {
    display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
    background: var(--ink); border: 2px solid var(--ember); color: var(--flare);
    font-family: var(--f-display); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums;
    transition: background .4s, color .4s, transform .5s var(--ease);
}
.step:hover .step__n { background: var(--fire); color: var(--ink); transform: rotate(-12deg) scale(1.08); }
.step h3 { margin-top: 1rem; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; }
.step p { color: var(--mute); font-size: .95rem; }

/* ---------- Contato ---------- */
.contact { overflow: hidden; text-align: left; }
.contact__glow {
    position: absolute; right: -20%; bottom: -40%; width: 900px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(242, 122, 26, .4), transparent);
}
.contact__inner { position: relative; display: grid; gap: 1.6rem; }
.contact__title {
    display: grid; font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2rem, 7.4vw, 7rem); line-height: 1; letter-spacing: -.02em;
}
.contact__outline { color: transparent; -webkit-text-stroke: 1.5px var(--ember); transition: color .6s; }
.contact__title:hover .contact__outline { color: var(--ember); }
.contact__lead { max-width: 52ch; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(2rem, 5vw, 4rem); margin-top: 1.5rem; }
.orb {
    position: relative; flex: none; display: grid; place-items: center; width: clamp(170px, 18vw, 210px); aspect-ratio: 1; border-radius: 50%;
    background: var(--fire); color: var(--ink); text-align: center; overflow: hidden; isolation: isolate;
    font-family: var(--f-display); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6;
    box-shadow: 0 30px 80px -20px rgba(242, 122, 26, .8);
}
.orb b { font-size: 1.05rem; letter-spacing: .06em; }
.orb::after { content: ""; position: absolute; inset: 0; background: var(--cream); z-index: -1; transform: scale(0); border-radius: 50%; transition: transform .6s var(--ease); }
.orb:hover::after { transform: scale(1); }
.contact__list { display: grid; gap: .8rem; flex: 1 1 320px; min-width: 0; max-width: 560px; }
.copyline {
    display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding: 1rem 1.2rem; border-radius: 16px;
    background: var(--ink-2); border: 1px solid var(--line);
}
.copyline__k { font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--flare); width: 76px; }
.copyline__v { font-weight: 600; min-width: 0; overflow-wrap: anywhere; user-select: all; }
a.copyline__v { user-select: auto; }
a.copyline__v:hover { color: var(--flare); }
.copyline__btn {
    margin-left: auto; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: transparent;
    font-size: .74rem; font-weight: 700; transition: background .3s, color .3s, border-color .3s;
}
.copyline__btn:hover { background: var(--ember); color: var(--ink); border-color: transparent; }

/* ---------- Rodapé ---------- */
.footer { position: relative; background: var(--ink); border-top: 1px solid var(--line); padding-top: 4rem; overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand p { color: var(--mute); font-size: .9rem; }
.footer__brand strong { color: var(--cream); }
.footer__cols { display: flex; gap: clamp(2rem, 6vw, 5rem); }
.footer__cols div { display: grid; gap: .5rem; align-content: start; }
.footer__cols h3 { font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: .3rem; }
.footer__cols a { font-size: .92rem; color: var(--mute); transition: color .3s; }
.footer__cols a:hover { color: var(--flare); }
.footer__word {
    display: flex; justify-content: center; margin-top: 3rem; user-select: none;
    font-family: var(--f-display); font-weight: 700; line-height: .82; font-size: clamp(3rem, 15vw, 15rem); letter-spacing: -.03em;
}
.footer__word span {
    display: inline-block; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent;
    transition: transform .5s var(--ease);
}
.footer__word span:hover { transform: translateY(-14%) rotate(-6deg); }
.footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem;
    border-top: 1px solid var(--line); font-size: .8rem; color: var(--faint);
}
.footer__bottom a:hover { color: var(--flare); }

/* ---------- Lightbox ---------- */
.lightbox {
    width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
    background: rgba(12, 5, 2, .92); color: var(--cream);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 4rem max(16px, 3vw); animation: lbIn .4s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__fig { display: grid; justify-items: center; gap: 1rem; min-width: 0; }
.lightbox__media {
    position: relative; width: min(440px, 100%); max-width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
    background: var(--ink-3); box-shadow: 0 40px 100px -30px rgba(242, 122, 26, .5); cursor: pointer; touch-action: pan-y;
}
.lightbox__media img { width: 100%; height: 100%; object-fit: contain; background: var(--ink); animation: lbImg .45s var(--ease); user-select: none; -webkit-user-drag: none; }
@keyframes lbImg { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox figcaption { display: grid; justify-items: center; text-align: center; gap: .1rem; }
.lightbox__count { font-family: var(--f-display); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--flare); }
.lightbox__thumbs { display: flex; gap: .45rem; max-width: 100%; overflow-x: auto; padding: .2rem; }
.lightbox__thumb {
    flex: none; width: 46px; height: 56px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; opacity: .45;
    box-shadow: 0 0 0 1px var(--line); transition: opacity .3s, box-shadow .3s, transform .3s var(--ease);
}
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb:hover { opacity: .8; }
.lightbox__thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--ember); transform: translateY(-2px); }
.lightbox figcaption strong { font-family: var(--f-display); text-transform: uppercase; }
.lightbox figcaption span { color: var(--mute); font-size: .9rem; }
.lightbox__close {
    position: absolute; right: max(16px, 3vw); top: 1.2rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink-2);
}
.lightbox__nav { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink-2); font-size: 1.6rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--fire); color: var(--ink); }

/* ---------- Toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); z-index: 160;
    padding: .8rem 1.3rem; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 700; font-size: .88rem;
    transform: translate(-50%, 150%); transition: transform .5s var(--ease); pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- Hero: linha de informações ---------- */
.hero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.4rem; font-size: .8rem; font-weight: 600; color: var(--mute); }
.hero__meta li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__meta li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); margin-right: .75rem; }
.hero__meta b { color: var(--flare); font-weight: 800; }
.hero__meta a { color: var(--cream); border-bottom: 1px solid var(--ember); transition: color .3s; }
.hero__meta a:hover { color: var(--flare); }

/* ---------- Sobre: números ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 2.2rem 0 0; border-radius: 18px; overflow: hidden; background: var(--line); }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; padding: 1.1rem 1rem; background: var(--ink-2); min-width: 0; }
.fact dd {
    margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1;
    background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere;
}
.fact dt { font-size: .74rem; font-weight: 600; color: var(--mute); line-height: 1.35; }

/* ---------- Maré Esfiharia ---------- */
.mare {
    position: relative; overflow: hidden; isolation: isolate;
    margin-inline: max(8px, 1.2vw); border-radius: clamp(28px, 5vw, 64px);
    background:
        radial-gradient(70% 50% at 85% 0%, rgba(251, 202, 1, .14) 0%, transparent 60%),
        radial-gradient(60% 50% at 0% 100%, rgba(94, 140, 119, .25) 0%, transparent 70%),
        var(--mare);
    color: var(--mare-cream);
}
.mare__waves {
    position: absolute; inset: 0; z-index: -1; opacity: .22; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14' viewBox='0 0 48 14'%3E%3Cpath d='M0 7 Q6 1 12 7 T24 7 T36 7 T48 7' fill='none' stroke='%235E8C77' stroke-width='1.3'/%3E%3C/svg%3E");
    background-size: 48px 14px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 38%, transparent 62%, #000 100%);
            mask-image: linear-gradient(180deg, #000 0%, transparent 38%, transparent 62%, #000 100%);
    animation: tide 6s linear infinite;
}
@keyframes tide { to { background-position: 48px 0; } }
.mare__inner { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.label--mare { color: var(--mare-gold); }
.label--mare::before { background: var(--mare-gold); }
.mare .label--sm { color: rgba(242, 227, 166, .55); }
.mare .label--sm::before { background: rgba(242, 227, 166, .55); }
.mare .lead { color: rgba(242, 227, 166, .78); }
.mare__head { display: grid; gap: 1rem; }
.mare__title {
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--mare-cream);
    font-size: clamp(3rem, 12vw, 10rem); line-height: .9; letter-spacing: -.02em;
}
.mare__title span { display: block; margin-top: .6rem; font-size: .26em; letter-spacing: .3em; color: var(--mare-gold); }
.mare__slogan { font-size: clamp(.9rem, 1.3vw, 1.05rem); font-weight: 600; color: rgba(242, 227, 166, .75); }
.mare__slogan i { font-style: normal; color: var(--mare-gold); margin-inline: .3rem; }

.mare__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.mare__hero {
    position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--mare-2); cursor: zoom-in;
    border-radius: 28px; aspect-ratio: 3 / 4; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
}
.mare__hero img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transition: transform 1.2s var(--ease); }
.mare__hero:hover img { transform: scale(1.03); }
.mare__stamp {
    position: absolute; right: -4%; top: -5%; width: clamp(96px, 11vw, 128px); aspect-ratio: 1; display: grid; place-items: center;
    border-radius: 50%; background: var(--mare-gold); color: var(--mare); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6);
}
.mare__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.mare__stamp text { font-family: var(--f-display); font-weight: 700; font-size: 9px; letter-spacing: 1.5px; fill: var(--mare); }
.mare__stamp b { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; line-height: .95; text-align: left; }
.mare__text { display: grid; gap: 1.2rem; justify-items: start; min-width: 0; }
.mare__palette { display: grid; gap: .9rem; width: 100%; margin-top: .6rem; }
.mare__colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .6rem; }
.mcolor {
    display: grid; gap: .25rem; justify-items: start; padding: .55rem; border: 1px solid rgba(242, 227, 166, .14); border-radius: 14px;
    background: rgba(0, 0, 0, .18); text-align: left; transition: transform .4s var(--ease), border-color .3s;
}
.mcolor:hover { transform: translateY(-5px); border-color: var(--mare-gold); }
.mcolor__chip { width: 100%; height: 54px; border-radius: 9px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(242, 227, 166, .2); }
.mcolor__name { font-size: .72rem; font-weight: 800; color: var(--mare-cream); }
.mcolor__hex { font-size: .68rem; font-weight: 600; color: rgba(242, 227, 166, .6); font-variant-numeric: tabular-nums; }
.btn--mare { background: var(--mare-gold); color: var(--mare); box-shadow: 0 12px 40px -12px rgba(251, 202, 1, .6); }
.btn--mare::after {
    content: ""; position: absolute; inset: 0; z-index: 0; background: var(--mare-cream);
    transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit;
}
.btn--mare:hover::after { transform: translateY(0); }

.mare__elements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
.melem { position: relative; padding: 1.4rem 0 1.6rem; border-top: 1px solid rgba(242, 227, 166, .16); }
.melem::before {
    content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--mare-gold);
    transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.melem:hover::before { transform: scaleX(1); }
.melem h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: .95rem; color: var(--mare-cream); }
.melem p { margin-top: .5rem; font-size: .92rem; color: rgba(242, 227, 166, .7); }

.mare__gallery { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.mshot {
    position: relative; display: block; height: clamp(260px, 30vw, 420px); padding: 0; border: 0; border-radius: 22px; overflow: hidden;
    background: #f3f3f1; cursor: zoom-in;
}
.mshot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mshot--0 img { object-fit: contain; padding: 1rem; }
.mshot:hover img { transform: scale(1.05); }

.mare__feed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.mare__feed-text { display: grid; gap: 1.1rem; justify-items: start; min-width: 0; }
.mare__feed-title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 3.4vw, 2.8rem); line-height: 1.1; color: var(--mare-cream); }
.phone {
    display: block; width: 100%; max-width: 320px; padding: 14px 10px 18px; border-radius: 40px; background: #fff; color: #161616;
    box-shadow: 0 0 0 9px #0d0d0d, 0 50px 100px -30px rgba(0, 0, 0, .8);
    transform: rotate(-4deg); transition: transform .8s var(--ease);
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone__bar { display: flex; align-items: center; gap: .7rem; padding: .3rem .4rem .8rem; }
.phone__avatar {
    flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    background: var(--mare); color: var(--mare-gold); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--mare-gold);
    font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: .78rem; line-height: .95;
}
.phone__id { display: grid; min-width: 0; }
.phone__id b { font-size: .88rem; }
.phone__id small { font-size: .68rem; color: #6b6b6b; }
.phone__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.phone__post { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #eee; }
.phone__post img { width: 100%; height: 100%; object-fit: cover; }
.phone__post--wave, .phone__post--gold { display: grid; place-items: center; text-align: center; padding: .4rem; }
.phone__post--wave {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 Q3 0 6 4 T12 4 T18 4 T24 4' fill='none' stroke='%235E8C77' stroke-width='.9'/%3E%3C/svg%3E") 0 0 / 24px 8px,
        var(--mare);
    animation: tide 4s linear infinite;
}
.phone__post--wave b { padding: .3rem .45rem; border-radius: 6px; background: var(--mare); color: var(--mare-cream); font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: .95; text-align: left; }
.phone__post--gold { background: var(--mare-gold); color: var(--mare); }
.phone__post--gold b { font-family: var(--f-display); font-size: .52rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }

/* ---------- Case: quadros com fundo da marca ---------- */
.bento--half { aspect-ratio: 4 / 3; }
.bento--strip { grid-column: 1 / -1; aspect-ratio: 7 / 1; min-height: 0; }
.bento--contain { background: var(--bento-bg, var(--ink-3)); }
.bento--contain img { object-fit: contain; }
.bento--strip .bento__cap { bottom: .5rem; }
.bento--wide img, .bento--half img { object-position: center; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
    position: fixed; z-index: 95;
    right: calc(1.2rem + env(safe-area-inset-right, 0px)); bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center; gap: .6rem; height: 56px; padding: 0 1.2rem 0 .9rem; border-radius: 999px;
    background: var(--fire); color: var(--ink); font-weight: 800; font-size: .86rem;
    box-shadow: 0 14px 40px -10px rgba(242, 122, 26, .75);
    transition: transform .4s var(--ease), box-shadow .4s;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--ember);
    animation: waPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 50px -10px rgba(255, 161, 74, .85); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
    .nav__links { display: none; }
    .nav__toggle { display: block; margin-left: 0; }
    .nav__cta { margin-left: auto; }
    .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service { min-height: 360px; }
}
@media (max-width: 900px) {
    .hero__grid, .about__grid, .case__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__visual { max-width: 440px; }
    .case__info { position: static; }
    .mare__grid, .mare__feed { grid-template-columns: minmax(0, 1fr); }
    .mare__hero { max-width: 460px; justify-self: center; }
    .phone { justify-self: center; }
    .mare__elements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mare__gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .mshot--0 { grid-column: 1 / -1; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 3rem; }
    .steps__line { display: none; }
    .wheel { --R: 760px; --cw: 210px; --ch: 262px; }
}
@media (max-width: 600px) {
    .nav__cta { display: none; }
    .nav__toggle { margin-left: auto; }
    .nav__inner { height: 72px; }
    .services__grid, .steps { grid-template-columns: minmax(0, 1fr); }
    .service { min-height: 0; }
    .service__shape { margin-bottom: 1rem; }
    .service__sub { margin-top: 1rem; }
    .service__list { max-height: none; opacity: 1; }
    .case__bento { grid-template-columns: minmax(0, 1fr); }
    .mare__elements { grid-template-columns: minmax(0, 1fr); }
    .mare__gallery { grid-template-columns: minmax(0, 1fr); }
    .mare__stamp { right: 2%; top: -4%; }
    .wa-float { width: 56px; padding: 0; justify-content: center; }
    .wa-float span { display: none; }
    .bento--half { aspect-ratio: 4 / 3; }
    .bento--strip { aspect-ratio: 4 / 1; }
    .bento--wide { grid-column: auto; }
    .bento--tall { grid-row: auto; aspect-ratio: 4 / 5; }
    .wheel { --R: 620px; --cw: 170px; --ch: 212px; }
    .wheel__arrow { width: 48px; height: 48px; }
    .rcard { height: 170px; }
    .chip { font-size: .66rem; padding: .5rem .8rem; }
    .chip--a { left: 0; }
    .chip--b { right: 0; }
    .lightbox[open] { grid-template-columns: minmax(0, 1fr); padding-top: 5rem; padding-bottom: 6rem; }
    .lightbox__nav { position: absolute; bottom: 1.2rem; }
    .lightbox__nav--prev { left: 30%; }
    .lightbox__nav--next { right: 30%; }
    .copyline__btn { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}
