/* ============================================================
   S&S Consultoria e Suporte Técnico Têxtil
   Reformulação estética — inspirada no material de referência.
   Paleta: azul-marinho profundo + vermelho + neutros têxteis.
   ============================================================ */

:root {
  --navy-950: #0f335e;
  --navy-900: #13396c;
  --navy-800: #1a4a88;
  --navy-700: #235da6;
  --navy-600: #3070bd;
  --red-700:  #8f1c29;
  --red-600:  #b32636;
  --red-500:  #c9303f;
  --slate-700: #465366;
  --slate-500: #718096;
  --slate-400: #94a0af;
  --slate-300: #cbd2dc;
  --slate-150: #e6e9ee;
  --paper: #f7f7f5;
  --white: #fff;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --shadow-soft: 0 24px 70px rgba(5, 22, 46, .12);
  --shadow-lg:   0 30px 80px rgba(5, 22, 46, .22);
  --radius: 22px;
  --container: min(1180px, calc(100% - 48px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 146px; }
body { margin: 0; color: var(--navy-950); background: var(--paper); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; transform: translateY(-150%); background: white; padding: 10px 16px; border-radius: 8px; transition: transform .2s; }
.skip-link:focus { transform: none; }

/* ---------------- Header ---------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 136px; color: white; transition: background .3s, box-shadow .3s, height .3s; }
.site-header.is-scrolled { height: 104px; background: rgba(15, 51, 94, .94); box-shadow: 0 10px 40px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: grid; place-items: center; height: 108px; }
.brand img { height: 106px; width: auto; max-width: none; filter: brightness(0) invert(1); transition: height .3s; }
.site-header.is-scrolled .brand img { height: 82px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; color: rgba(255,255,255,.78); transition: color .2s; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--red-500); transition: right .3s var(--ease); }
.main-nav > a:hover { color: white; }
.main-nav > a:hover::after, .main-nav > a.is-active::after { right: 0; }
.main-nav > a.is-active { color: white; }
.nav-cta { padding: 11px 20px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.nav-cta:hover { background: white; color: var(--navy-900); border-color: white; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; background: white; margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------------- Buttons ---------------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 6px; font-family: var(--font-body); font-weight: 700; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { color: white; background: var(--red-600); box-shadow: 0 12px 30px rgba(179,38,54,.3); }
.button-primary:hover { background: var(--red-500); box-shadow: 0 16px 40px rgba(179,38,54,.42); }
.button-ghost { color: white; background: transparent; border: 1px solid rgba(255,255,255,.4); }
.button-ghost:hover { background: rgba(255,255,255,.1); border-color: white; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px; transition: gap .2s, border-color .2s; }
.text-link:hover { gap: 14px; border-color: white; }

/* ---------------- Eyebrow ---------------- */
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; color: var(--red-600); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 34px; height: 2px; margin-right: 12px; background: currentColor; }
.eyebrow.light { color: #f08b95; }

/* ---------------- Hero ---------------- */
.hero { position: relative; min-height: 800px; display: grid; align-items: center; overflow: hidden; color: white; background: radial-gradient(circle at 75% 38%, #2a63a0 0, var(--navy-900) 36%, var(--navy-950) 76%); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,51,94,.97) 0 42%, rgba(15,51,94,.4) 74%, rgba(15,51,94,.62)), url("assets/textile-background.png") center / cover; opacity: .28; mix-blend-mode: screen; }
.hero::after { content: ""; position: absolute; width: 660px; height: 660px; right: -180px; top: -200px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.016); pointer-events: none; }
.thread-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.18fr .82fr; gap: 80px; align-items: center; padding: 150px 0 128px; }
.hero .eyebrow { color: #f08b95; }
.hero h1 { max-width: 760px; margin: 0; font: 700 clamp(3rem, 5vw, 5.4rem)/1 var(--font-display); letter-spacing: -.045em; text-wrap: balance; }
.hero h1 em { color: #f2a6ad; font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.hero-lead { max-width: 660px; margin: 28px 0 0; color: rgba(255,255,255,.74); font-size: 1.14rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 38px; }
.hero-proof { display: flex; gap: 0; margin-top: 54px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-proof div { display: grid; gap: 4px; max-width: 210px; padding: 24px 24px 0 0; }
.hero-proof div + div { border-left: 1px solid rgba(255,255,255,.14); padding-left: 24px; }
.hero-proof strong { font: 700 1.9rem var(--font-display); color: white; letter-spacing: -.02em; }
.hero-proof span { font-size: .72rem; line-height: 1.4; color: rgba(255,255,255,.56); }

/* Hero visual — cone / orbit */
.hero-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.spool-orbit { position: relative; width: 360px; height: 360px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.09), transparent 67%); }
.spool-orbit::before { content: ""; position: absolute; inset: 44px; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; animation: spin 60s linear infinite; }
.spool-orbit p { position: absolute; left: 66%; top: 57%; width: 175px; margin: 0; font-size: .74rem; line-height: 1.45; color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .1em; }
.spool-orbit p strong { display: block; color: white; font-size: .85rem; }
.orbit { position: absolute; border-radius: 50%; }
.orbit-one { inset: -20px; border-top: 3px solid var(--red-600); border-left: 3px solid transparent; transform: rotate(-28deg); animation: spin 22s linear infinite; }
.orbit-two { inset: 22px; border-bottom: 2px solid #9da9b8; border-right: 2px solid transparent; transform: rotate(20deg); animation: spin 30s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.spool { position: relative; width: 114px; height: 210px; display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 24px 24px rgba(0,0,0,.3)); transform: rotate(-4deg); }
.spool-cap, .spool-base { width: 60px; height: 20px; border-radius: 8px 8px 3px 3px; background: var(--red-600); border: 5px solid #d4d9df; }
.spool-base { width: 76px; border-radius: 3px 3px 10px 10px; }
.spool-body { position: relative; width: 102px; height: 170px; margin: -2px 0; clip-path: polygon(12% 0,88% 0,100% 100%,0 100%); background: linear-gradient(90deg, #aeb8c4, #f7f8f8 45%, #8b97a5); overflow: hidden; }
.spool-body i { position: absolute; left: -20%; width: 140%; height: 3px; background: var(--navy-800); transform: rotate(20deg); }
.spool-body i:nth-child(1) { top: 22px; } .spool-body i:nth-child(2) { top: 52px; transform: rotate(-18deg); } .spool-body i:nth-child(3) { top: 82px; } .spool-body i:nth-child(4) { top: 112px; transform: rotate(-15deg); } .spool-body i:nth-child(5) { top: 140px; }
.hero-tag { position: absolute; padding: 11px 15px; color: rgba(255,255,255,.78); background: rgba(15,51,94,.68); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); border-radius: 999px; font-size: .71rem; text-transform: uppercase; letter-spacing: .08em; animation: floaty 6s ease-in-out infinite; }
.hero-tag span { color: #ec8792; margin-right: 7px; font-weight: 800; }
.tag-one { top: 12%; left: 0; } .tag-two { right: -7%; top: 31%; animation-delay: -2s; } .tag-three { left: 4%; bottom: 13%; animation-delay: -4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-ribbon { position: absolute; z-index: 3; left: -4%; right: -4%; bottom: -54px; height: 100px; transform: rotate(-1.2deg); }
.hero-ribbon i { position: absolute; inset-inline: 0; height: 18px; border-radius: 50%; }
.hero-ribbon i:nth-child(1) { top: 0; background: var(--red-700); } .hero-ribbon i:nth-child(2) { top: 18px; background: #d8dce2; } .hero-ribbon i:nth-child(3) { top: 34px; height: 70px; background: var(--paper); }

/* ---------------- Sections base ---------------- */
.section { padding: 112px 0; }
.section h2 { margin: 0; font: 700 clamp(2.2rem, 4vw, 3.9rem)/1.05 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }

/* About */
.about { position: relative; padding-top: 140px; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.about .section-heading { position: sticky; top: 120px; align-self: start; }
.about-copy > .lead { margin-top: 2px; color: var(--navy-800); font: 500 1.4rem/1.55 var(--font-display); letter-spacing: -.01em; }
.about-copy > p:not(.lead) { color: var(--slate-700); font-size: 1.02rem; }
.principles { margin-top: 48px; border-top: 1px solid var(--slate-300); }
.principles > div { display: grid; grid-template-columns: 45px 190px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--slate-300); transition: background .2s; }
.principles > div:hover { background: rgba(11,45,90,.03); }
.principles span { color: var(--red-600); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.principles strong { color: var(--navy-800); font-family: var(--font-display); }
.principles p { margin: 0; color: var(--slate-500); font-size: .9rem; }

/* Services */
.services { position: relative; color: white; background: var(--navy-950); overflow: hidden; }
.services::after { content: ""; position: absolute; inset: 0 0 0 48%; opacity: .035; background-image: linear-gradient(30deg, transparent 45%, white 46% 49%, transparent 50%), linear-gradient(-30deg, transparent 45%, white 46% 49%, transparent 50%); background-size: 50px 50px; pointer-events: none; }
.section-top { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 280px; gap: 60px; align-items: end; margin-bottom: 58px; }
.section-top > p { margin: 0 0 8px; color: rgba(255,255,255,.56); }
.services-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.service-tabs { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.16); }
.service-tab { display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px 12px; color: rgba(255,255,255,.54); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); text-align: left; cursor: pointer; font-weight: 600; transition: color .2s, padding .25s var(--ease), background .25s; }
.service-tab span { color: #d46873; font-size: .7rem; font-weight: 800; }
.service-tab:hover, .service-tab.is-active { color: white; padding-left: 22px; }
.service-tab.is-active { background: linear-gradient(90deg, rgba(179,38,54,.2), transparent); }
.service-panels { min-height: 510px; }
.service-panel { height: 100%; padding: 54px; color: var(--navy-950); background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: panelIn .4s var(--ease) both; }
.service-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.service-icon { width: 66px; height: 66px; display: grid; place-items: center; margin-bottom: 42px; color: white; background: var(--red-600); border-radius: 50%; font-size: 1.65rem; }
.panel-kicker { margin: 0 0 10px; color: var(--red-600); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.service-panel h3 { max-width: 480px; margin: 0 0 18px; font: 700 2rem/1.1 var(--font-display); letter-spacing: -.03em; }
.service-panel > p:not(.panel-kicker) { color: var(--slate-700); }
.service-panel ul { margin: 30px 0 0; padding: 24px 0 0; border-top: 1px solid var(--slate-150); list-style: none; }
.service-panel li { position: relative; padding: 8px 0 8px 26px; color: var(--navy-800); font-size: .92rem; }
.service-panel li::before { content: ""; position: absolute; left: 0; top: 17px; width: 13px; height: 2px; background: var(--red-600); }

/* Sectors */
.sectors { position: relative; background: #fff; }
.section-heading.compact { max-width: 730px; }
.section-heading.compact > p:last-child { max-width: 620px; color: var(--slate-500); }
.sector-track { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 58px; background: var(--slate-300); border: 1px solid var(--slate-300); }
.sector-track article { min-height: 350px; padding: 30px; background: white; transition: transform .25s var(--ease), box-shadow .25s; }
.sector-track article:hover { z-index: 1; transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.sector-track article > span { color: var(--red-600); font-size: .7rem; font-weight: 800; }
.sector-track h3 { margin: 28px 0 8px; font: 700 1.3rem var(--font-display); letter-spacing: -.02em; }
.sector-track p { margin: 0; color: var(--slate-500); font-size: .88rem; }
.sector-mark { width: 108px; height: 108px; margin-top: 44px; border-radius: 50%; background-color: #edf0f4; }
/* Fotos reais dos tipos de atuação */
.sector-photo { width: 108px; height: 108px; margin-top: 44px; border-radius: 50%; overflow: hidden; display: flex; background: #edf0f4; box-shadow: inset 0 0 0 1px rgba(5,22,46,.06); }
.sector-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sector-photo--split img { width: 50%; }
.sector-photo--split img + img { border-left: 2px solid #fff; }
.mark-fiber { background: repeating-linear-gradient(16deg, #edf0f4 0 8px, var(--navy-800) 9px 11px); }
.mark-yarn { background: radial-gradient(circle, transparent 25%, var(--navy-800) 26% 29%, transparent 30% 42%, var(--red-600) 43% 46%, transparent 47%); }
.mark-weave { background-image: linear-gradient(45deg, transparent 43%, var(--navy-800) 44% 50%, transparent 51%), linear-gradient(-45deg, transparent 43%, #9aa5b2 44% 50%, transparent 51%); background-size: 24px 24px; }
.mark-grid { border-radius: 18px; background-image: linear-gradient(var(--red-600) 2px, transparent 2px), linear-gradient(90deg, var(--navy-800) 2px, transparent 2px); background-size: 22px 22px; }

/* Method */
.method { position: relative; background: #eef0f3; }
.method-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: start; }
.method-intro { position: sticky; top: 112px; }
.method-intro > p:not(.eyebrow) { color: var(--slate-500); }
.green-belt { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 12px 18px 12px 12px; background: white; border: 1px solid var(--slate-300); border-radius: 10px; }
.green-belt > img { width: 62px; height: 62px; object-fit: contain; }
.green-belt strong, .green-belt small { display: block; line-height: 1.25; }
.green-belt strong { font-family: var(--font-display); }
.green-belt small { color: var(--slate-500); }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--slate-300); counter-reset: step; }
.method-steps li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 34px 0; border-bottom: 1px solid var(--slate-300); }
.method-steps li > span { width: 52px; height: 52px; display: grid; place-items: center; color: var(--red-600); background: white; border-radius: 50%; font-size: .72rem; font-weight: 800; transition: color .25s, background .25s, transform .25s; }
.method-steps li:hover > span { color: white; background: var(--red-600); transform: scale(1.06); }
.method-steps h3 { margin: 0 0 5px; font: 700 1.35rem var(--font-display); letter-spacing: -.02em; }
.method-steps p { margin: 0; color: var(--slate-500); }

/* Outcomes */
.outcomes { position: relative; color: white; background: var(--navy-900); }
.outcomes-inner > h2 { max-width: 900px; }
.outcome-list { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 58px; border-top: 1px solid rgba(255,255,255,.2); }
.outcome-list div { min-height: 145px; padding: 26px 26px 0 0; }
.outcome-list div + div { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.2); }
.outcome-list strong, .outcome-list span { display: block; }
.outcome-list strong { font: 700 1.12rem var(--font-display); }
.outcome-list span { margin-top: 8px; color: rgba(255,255,255,.56); font-size: .83rem; }

/* Founders */
.founders { position: relative; background: var(--paper); }
.founders-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.founders-head .eyebrow { justify-content: center; }
.founders-head > p:last-child { color: var(--slate-500); margin: 16px 0 0; }
.founders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }
.founder-card { position: relative; padding: 40px; background: white; border: 1px solid var(--slate-150); border-radius: var(--radius); box-shadow: var(--shadow-soft); text-align: center; transition: transform .28s var(--ease), box-shadow .28s; }
.founder-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.founder-photo { width: 128px; height: 128px; margin: 0 auto 22px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: white; font-size: 2.6rem; background: radial-gradient(circle at 35% 30%, var(--navy-700), var(--navy-950)); border: 4px solid white; box-shadow: 0 0 0 1px var(--slate-300); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-card h3 { margin: 0; font: 700 1.35rem var(--font-display); letter-spacing: -.02em; color: var(--navy-900); }
.founder-role { margin: 6px 0 16px; color: var(--red-600); font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.founder-card p:not(.founder-role) { margin: 0; color: var(--slate-500); font-size: .94rem; }
.founder-tag { display: inline-block; margin-top: 18px; padding: 5px 14px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-400); border: 1px dashed var(--slate-300); border-radius: 999px; }

/* Contact */
.contact { position: relative; overflow: hidden; background: white; }
.contact::before { content: ""; position: absolute; right: -90px; top: -80px; width: 430px; height: 430px; opacity: .035; background-image: linear-gradient(45deg, transparent 43%, var(--navy-900) 44% 49%, transparent 50%), linear-gradient(-45deg, transparent 43%, var(--red-600) 44% 49%, transparent 50%); background-size: 38px 38px; transform: rotate(8deg); }
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: var(--slate-500); }
.contact-people { margin-top: 42px; display: grid; gap: 18px; }
.person { padding: 22px 24px; background: var(--paper); border: 1px solid var(--slate-150); border-radius: 14px; transition: transform .25s var(--ease), box-shadow .25s; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.person-name { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.person-name strong { font: 700 1.1rem var(--font-display); letter-spacing: -.02em; color: var(--navy-900); }
.person-name em { font-style: normal; color: var(--slate-500); font-size: .78rem; font-weight: 600; }
.person a { display: grid; grid-template-columns: 96px 1fr; align-items: center; padding: 7px 0; transition: color .2s, padding-left .2s; }
.person a:hover { color: var(--red-600); padding-left: 5px; }
.person a span { color: var(--red-600); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.person a strong { font-size: .92rem; font-family: var(--font-display); font-weight: 600; word-break: break-word; }
.contact-form { padding: 44px; background: var(--paper); border: 1px solid var(--slate-150); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 7px; font-size: .78rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; color: var(--navy-950); background: white; border: 1px solid var(--slate-300); border-radius: 6px; outline: none; transition: border .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(18,63,121,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .button { width: 100%; }
.form-note { margin: 12px 0 0; color: var(--slate-500); font-size: .72rem; text-align: center; }

/* Footer */
.site-footer { color: white; background: var(--navy-950); }
.footer-top { display: grid; grid-template-columns: 200px 1fr auto; gap: 50px; align-items: center; padding: 56px 0; }
.footer-top img { height: 118px; width: auto; filter: brightness(0) invert(1); }
.footer-top p { color: rgba(255,255,255,.56); font-size: .86rem; }
.footer-top a { font-size: .84rem; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 18px 0 28px; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; }

/* Back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; color: white; background: var(--red-600); box-shadow: var(--shadow-lg); font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-500); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Ênfase nos 40 anos de experiência (Sobre) */
.about-copy .lead strong { color: var(--red-600); font-weight: 700; }

/* ---------------- Marca d'água (logo no fundo) ---------------- */
/* Aplicada da seção Serviços em diante. O wrapper recorta o excesso
   e fica atrás do conteúdo; o conteúdo (.container) sobe com z-index. */
.watermark { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.watermark img {
  position: absolute; right: -7%; top: 50%; transform: translateY(-50%);
  width: min(820px, 70%); max-width: none; opacity: .05;
}
.about > .container,
.services > .container,
.sectors > .container,
.method  > .container,
.outcomes > .container,
.founders > .container,
.contact > .container { position: relative; z-index: 1; }
/* Seções escuras: marca em tom claro (fantasma branco) */
.services .watermark img,
.outcomes .watermark img { filter: brightness(0) invert(1); opacity: .06; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  :root { --container: min(100% - 36px, 760px); }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; left: 18px; right: 18px; display: none; padding: 18px; align-items: stretch; flex-direction: column; gap: 0; background: var(--navy-950); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-visual { min-height: 400px; }
  .about-grid, .method-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .about .section-heading, .method-intro { position: static; }
  .services-layout { grid-template-columns: 1fr; gap: 35px; }
  .service-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .sector-track { grid-template-columns: 1fr 1fr; }
  .outcome-list { grid-template-columns: 1fr 1fr; }
  .outcome-list div:nth-child(3) { border-left: 0; }
  .footer-top { grid-template-columns: 160px 1fr; }
  .footer-top > a { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 28px); }
  .site-header { height: 104px; }
  .brand img { height: 78px; }
  .site-header.is-scrolled .brand img { height: 66px; }
  .hero { min-height: 750px; }
  .hero-grid { padding: 116px 0 95px; gap: 30px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-proof div { padding-top: 18px; }
  .hero-proof div:nth-child(3) { display: none; }
  .spool-orbit { width: 280px; height: 280px; }
  .spool { transform: scale(.82) rotate(-4deg); }
  .spool-orbit p { display: none; }
  .tag-two { right: -3%; }
  .section { padding: 80px 0; }
  .about { padding-top: 100px; }
  .principles > div { grid-template-columns: 34px 1fr; }
  .principles p { grid-column: 2; }
  .section-top { grid-template-columns: 1fr; gap: 18px; }
  .service-tabs { display: flex; flex-direction: row; overflow-x: auto; border: 0; scroll-snap-type: x mandatory; }
  .service-tab { min-width: 200px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; margin-right: 8px; scroll-snap-align: start; }
  .service-tab.is-active { padding-left: 12px; }
  .service-panel { padding: 32px 26px; }
  .service-panels { min-height: 560px; }
  .service-panel h3 { font-size: 1.7rem; }
  .sector-track { grid-template-columns: 1fr; }
  .sector-track article { min-height: 280px; }
  .method-steps li { grid-template-columns: 56px 1fr; }
  .outcome-list { grid-template-columns: 1fr; }
  .outcome-list div, .outcome-list div + div { min-height: auto; padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .founders-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-direct a { grid-template-columns: 1fr; gap: 3px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; }
  .footer-top > a { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

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