/* ═══════════════════════════════════════════════════════════════
   Channel Indico Supply, S.A. — folha de estilos
   Sem fontes nem recursos externos (CSP: tudo 'self').
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #011f53;
  --deep: #01163c;
  --steel: #1c4e8f;
  --sea: #0e8fb4;
  --sea-soft: #d8eef5;
  --brass: #c9952e;
  --brass-d: #a87a1c;
  --bg: #fbfaf7;
  --sand: #f2eee4;
  --ink: #0b1b33;
  --muted: #55657e;
  --line: #e1ddd1;
  --white: #fff;
  --ok: #1f8f5f;
  --bad: #c0392b;
  --r: 18px;
  --shadow: 0 18px 50px -22px rgba(1, 31, 83, .35);
  --shadow-s: 0 6px 22px -12px rgba(1, 31, 83, .35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --ease: cubic-bezier(.22, .8, .25, 1);
  --gut: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 1.0625rem; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sea); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass); color: var(--deep); }
[hidden] { display: none !important; }

.wrap { width: min(1220px, 100% - var(--gut) * 2); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - var(--gut) * 2); }
.center { text-align: center; }
.grid + .center { margin-top: 40px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.flip { transform: scaleX(-1); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--brass); color: var(--deep); padding: 10px 16px; border-radius: 8px; z-index: 999; font-weight: 700; }
.skip:focus { top: 12px; }

/* ── Botões ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .98rem; padding: .8em 1.5em; border-radius: 999px;
  border: 2px solid transparent; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
  position: relative; overflow: hidden; line-height: 1.2;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.8em; font-size: 1.04rem; }
.btn--brass { background: linear-gradient(135deg, #e0aa3f, var(--brass)); color: var(--deep); box-shadow: 0 10px 26px -10px rgba(201, 149, 46, .8); }
.btn--brass:hover { color: var(--deep); box-shadow: 0 16px 30px -10px rgba(201, 149, 46, .9); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-s); }
.btn--navy:hover { background: var(--steel); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn--ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ── Barra superior ────────────────────────────────────────── */
.topbar { background: var(--deep); color: #b9c8e6; font-size: .84rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; gap: 8px; align-items: center; }
.topbar ul { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.topbar li, .topbar a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .ico { color: var(--brass); width: 1.05em; height: 1.05em; }

/* ── Navegação ─────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(1, 31, 83, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; transition: box-shadow .3s, background .3s; }
.nav.is-stuck { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); background: rgba(1, 22, 60, .97); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { border-radius: 50%; background: #fff; padding: 2px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(360deg); }
.brand__txt { display: grid; line-height: 1.05; font-family: var(--serif); font-size: 1.3rem; }
.brand__txt b { font-weight: 700; letter-spacing: .02em; }
.brand__txt i { font-style: normal; font-weight: 400; color: var(--brass); }
.brand__txt small { font-family: var(--sans); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.brand__txt b, .brand__txt i { display: inline; }
.brand__txt { display: block; }
.brand__txt small { display: block; }

.nav__menu { display: flex; align-items: center; gap: 26px; }
.nav__menu ul { display: flex; gap: 4px; }
.nav__menu li a { display: block; color: #dbe5fa; text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .96rem; position: relative; transition: color .2s, background .2s; }
.nav__menu li a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__menu li a[aria-current="page"] { color: #fff; }
.nav__menu li a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px; background: var(--brass); transform: translateX(-50%); }
.nav__cta { padding: .65em 1.2em; font-size: .92rem; }
.nav__tools { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang summary { white-space: nowrap; list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-weight: 700; font-size: .85rem; color: #fff; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: rgba(255, 255, 255, .1); }
.lang__chev { width: .9em; height: .9em; transition: transform .25s; }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__list { position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; background: #fff; border-radius: 14px; padding: 6px; box-shadow: var(--shadow); z-index: 70; animation: pop .22s var(--ease); }
.lang__list a { display: block; padding: 10px 14px; color: var(--navy); text-decoration: none; border-radius: 10px; font-weight: 600; }
.lang__list a:hover { background: var(--sea-soft); }
.lang__list a[aria-current] { background: var(--navy); color: #fff; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.nav.is-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { opacity: 0; }
.nav.is-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--deep), var(--navy) 55%, #0b3b7a); }
.hero__stage { display: grid; }
.slide { grid-area: 1 / 1; visibility: hidden; transition: visibility 0s .9s; }
.slide.is-active { visibility: visible; transition-delay: 0s; }
.slide__bg { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.1s ease; background-size: cover; background-position: center;
  background-color: transparent;
}
.slide__bg:not([style])::before { content: ""; position: absolute; inset: -12%; background:
  radial-gradient(60% 70% at 78% 30%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%),
  radial-gradient(40% 50% at 15% 85%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); animation: aurora 14s ease-in-out infinite alternate; }
.slide__bg[style] { animation: kenburns 18s ease-out infinite alternate; }
.slide.is-active .slide__bg { opacity: 1; }
.slide__tint { position: absolute; inset: 0; z-index: 0; background: linear-gradient(95deg, rgba(1, 22, 60, .92) 12%, rgba(1, 31, 83, .55) 55%, rgba(1, 31, 83, .25)); opacity: 0; transition: opacity 1.1s; }
.slide.is-active .slide__tint { opacity: 1; }
.slide__in { position: relative; z-index: 3; padding-block: clamp(70px, 11vw, 150px) clamp(150px, 19vw, 240px); max-width: 1220px; }
.slide__in > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide__in > * { opacity: 1; transform: none; }
.slide.is-active .slide__in > :nth-child(1) { transition-delay: .15s; }
.slide.is-active .slide__in > :nth-child(2) { transition-delay: .3s; }
.slide.is-active .slide__in > :nth-child(3) { transition-delay: .45s; }
.slide.is-active .slide__in > :nth-child(4) { transition-delay: .6s; }
.slide__eyebrow { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); padding: 8px 16px 8px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.slide__eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent, var(--brass)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, #c9952e) 30%, transparent); animation: beacon 2s infinite; }
.slide__title { color: #fff; max-width: 15ch; margin-top: .45em; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.slide__text { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 56ch; color: #d8e3fb; }
.slide__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }

.hero__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__compass { position: absolute; right: -90px; top: 8%; width: clamp(280px, 40vw, 560px); color: rgba(255, 255, 255, .14); animation: spin 120s linear infinite; }
.bubble { position: absolute; bottom: -20px; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); animation: rise 11s linear infinite; }
.b1 { left: 8%; animation-delay: 0s; } .b2 { left: 31%; width: 6px; height: 6px; animation-delay: 3s; animation-duration: 14s; }
.b3 { left: 54%; width: 14px; height: 14px; animation-delay: 6s; } .b4 { left: 76%; animation-delay: 1.5s; animation-duration: 13s; } .b5 { left: 92%; width: 7px; height: 7px; animation-delay: 8s; }
.hero__ship { position: absolute; bottom: clamp(52px, 8vw, 100px); left: 0; width: clamp(120px, 15vw, 220px); color: rgba(255, 255, 255, .22); animation: sail 48s linear infinite; }
.hero__ship .ship { animation: bob 4.5s ease-in-out infinite; }
.wave { display: block; max-width: none; width: 200%; height: clamp(60px, 10vw, 130px); }
.hero__art .wave { position: absolute; left: 0; bottom: 0; }
.wave--back { fill: rgba(14, 143, 180, .28); height: clamp(90px, 14vw, 170px); animation: drift 26s linear infinite reverse; }
.wave--mid { fill: rgba(28, 78, 143, .6); height: clamp(75px, 11.5vw, 145px); animation: drift 19s linear infinite; }
.wave--front { fill: var(--bg); animation: drift 14s linear infinite reverse; }

.hero__ctl { position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); bottom: clamp(70px, 10vw, 140px); display: flex; align-items: center; gap: 16px; }
.hero__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(1, 22, 60, .35); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.hero__arrow:hover { background: var(--brass); color: var(--deep); transform: scale(1.08); }
.hero__dots { display: flex; gap: 9px; }
.hero__dots button { width: 11px; height: 11px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; padding: 0; transition: width .35s var(--ease), background .3s; }
.hero__dots button[aria-current="true"] { width: 36px; background: var(--brass); }

@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes driftRot { from { transform: rotate(180deg) translateX(0); } to { transform: rotate(180deg) translateX(50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-80vh) scale(1.2); opacity: 0; } }
@keyframes sail { from { transform: translateX(-30vw); } to { transform: translateX(110vw); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(5px) rotate(.8deg); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes aurora { from { transform: translate(-3%, -2%) scale(1); } to { transform: translate(3%, 3%) scale(1.12); } }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent, #c9952e) 60%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }

/* ── Estatísticas e marquee ────────────────────────────────── */
.stats { padding: 10px 0 56px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -24px; position: relative; z-index: 6; }
.stat { background: #fff; border-radius: var(--r); padding: 26px 20px; text-align: center; box-shadow: var(--shadow); border-bottom: 4px solid var(--brass); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: var(--navy); line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .94rem; line-height: 1.35; }
.stat--dark { box-shadow: var(--shadow-s); }

.marquee { overflow: hidden; background: var(--navy); color: #cfdcf6; padding: 15px 0; border-block: 1px solid rgba(255, 255, 255, .08); }
.marquee__track { display: flex; width: max-content; animation: marq 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: inline-flex; align-items: center; gap: 12px; padding: 0 34px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; white-space: nowrap; }
.marquee li .ico { color: var(--brass); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── Secções ───────────────────────────────────────────────── */
.sec { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.sec--sand { background: var(--sand); }
.sec--center { min-height: 60vh; display: grid; align-items: center; }
.sec--navy { background: radial-gradient(80% 90% at 85% 0%, #0b3b7a 0%, transparent 60%), linear-gradient(170deg, var(--navy), var(--deep)); color: #cfdcf6; padding-top: clamp(100px, 13vw, 170px); overflow: hidden; }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec__wave-top { position: absolute; top: -1px; left: 0; width: 200%; height: clamp(50px, 8vw, 100px); fill: var(--bg); transform: rotate(180deg); animation: driftRot 24s linear infinite; }
.sec--sand + .sec--navy .sec__wave-top { fill: var(--sand); }
.head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.head__text { color: var(--muted); font-size: 1.14rem; }
.sec--navy .head__text { color: #aebfe2; }
.kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 800; color: var(--sea); margin-bottom: 14px; }
.kicker::before, .kicker::after { content: ""; width: 26px; height: 2px; background: currentColor; opacity: .6; }
.kicker--light { color: var(--brass); }
.sec--navy .kicker { color: var(--brass); }
.phero .kicker::after { display: none; }

.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); padding: 30px 26px 26px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s); border: 1px solid var(--line); position: relative; overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: box-shadow .3s, transform .15s ease-out, border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card:hover::before { transform: scaleX(1); }
.card__ico, .tile__ico, .sector__ico, .sup__ico, .svc__ico, .about__ico, .vm__ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: color-mix(in srgb, var(--accent, var(--sea)) 14%, white); color: var(--accent, var(--sea)); margin-bottom: 18px; transition: transform .4s var(--ease), background .3s, color .3s; }
.card__ico .ico, .tile__ico .ico, .sector__ico .ico, .sup__ico .ico, .svc__ico .ico, .about__ico .ico, .vm__ico .ico { width: 28px; height: 28px; }
.card:hover .card__ico { transform: rotate(-8deg) scale(1.1); background: var(--accent); color: #fff; }
.card p { color: var(--muted); font-size: .98rem; flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--accent); font-size: .9rem; }
.card__more .ico { transition: transform .25s; }
.card:hover .card__more .ico { transform: translateX(5px); }

.tile { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 24px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tile .tile__ico { margin: 0; }
.tile h3 { margin-bottom: .3em; font-size: 1.12rem; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

.sector { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s; }
.sector:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sector p { color: var(--muted); margin: 0; font-size: .97rem; }

.reason { padding: 30px 26px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(4px); transition: transform .3s var(--ease), background .3s; }
.reason:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .09); }
.reason__n { font-family: var(--serif); font-size: 2.6rem; color: var(--brass); line-height: 1; display: block; margin-bottom: 12px; }
.reason p { margin: 0; color: #b8c8e8; font-size: .97rem; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__card { padding: 38px; border-radius: 24px; background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16); }
.vm__ico { background: rgba(201, 149, 46, .18); color: var(--brass); }
.vm__card p { margin: 0; color: #c1d0ee; font-size: 1.04rem; }

/* ── Passos ────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--sea) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; padding-top: 0; text-align: center; }
.step__n { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; box-shadow: 0 0 0 7px var(--bg), 0 10px 22px -8px rgba(1, 31, 83, .6); position: relative; z-index: 1; }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
.steps--mini { grid-template-columns: 1fr; gap: 18px; }
.steps--mini::before { display: none; }
.steps--mini li { display: flex; gap: 14px; text-align: left; }
.steps--mini .step__n { width: 42px; height: 42px; font-size: 1.05rem; margin: 0; box-shadow: none; }
.steps--mini h3 { font-size: 1rem; margin-bottom: .15em; }
.steps--mini p { font-size: .9rem; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .3s; }
.faq__item[open] { box-shadow: var(--shadow-s); border-color: var(--sea); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; color: var(--navy); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { transition: transform .3s var(--ease); color: var(--sea); }
.faq__item[open] summary .ico { transform: rotate(180deg); }
.faq__item p { margin: 0; padding: 0 24px 22px; color: var(--muted); animation: pop .3s var(--ease); }

/* ── Portos ────────────────────────────────────────────────── */
.ports-home { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.ports-home .head { text-align: left; margin-inline: 0; }
.ports-home .kicker::after { display: none; }
.ports-home__map, .ports-page__map { max-width: 420px; margin-inline: auto; width: 100%; }
.plist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 22px; margin-bottom: 28px; }
.plist a, .plist li { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 6px 0; }
.plist b { font-weight: 700; }
.plist em { font-style: normal; color: var(--muted); font-size: .84rem; margin-left: auto; }
.plist a:hover b { color: var(--sea); }
.plist__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sea); flex: none; }
.plist__dot--hq { background: var(--brass); box-shadow: 0 0 0 4px rgba(201, 149, 46, .25); }
.plist__dot--srv { background: transparent; border: 2px solid var(--sea); }
.plist--stack { grid-template-columns: 1fr; margin-bottom: 24px; }

.coast { width: 100%; height: auto; overflow: visible; }
.coast__line { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }
.coast__waves path { fill: none; stroke: var(--sea); stroke-width: 1.6; opacity: .45; stroke-linecap: round; }
.coast__ship { color: var(--navy); }
.port__dot { fill: var(--sea); stroke: #fff; stroke-width: 2.2; }
.port__ring { fill: var(--sea); opacity: .22; }
.port--hq .port__dot { fill: var(--brass); }
.port--hq .port__ring { fill: var(--brass); opacity: .5; }
.port--served .port__dot { fill: #fff; stroke: var(--sea); stroke-width: 2.4; }
.port__name { font-family: var(--serif); font-size: 15px; font-weight: 700; fill: var(--navy); }
.port__role { font-family: var(--sans); font-size: 10.5px; fill: var(--muted); letter-spacing: .04em; }

.ports-page { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ports-page__map { position: sticky; top: 110px; }
.ports-page__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.port-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.port-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.port-card--hq { border-top: 5px solid var(--brass); }
.port-card--br { border-top: 5px solid var(--sea); }
.port-card--srv { border-top: 5px solid var(--steel); }
.port-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.port-card h2 { font-size: 1.6rem; margin: 0; }
.port-card__region { display: flex; align-items: center; gap: 6px; color: var(--sea); font-weight: 700; font-size: .85rem; margin: 6px 0 12px; }
.port-card p { color: var(--muted); font-size: .96rem; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.badge--hq { background: var(--brass); color: var(--deep); }
.badge--br { background: var(--sea-soft); color: #0a6a88; }
.badge--srv { background: #dde7f6; color: var(--steel); }
.note { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); border-left: 3px solid var(--brass); padding-left: 14px; }

/* ── Serviços, fornecimentos, sobre ────────────────────────── */
.svc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding-block: clamp(30px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc--rev .svc__lead { order: 2; }
.svc__n { font-family: var(--serif); font-size: 4.5rem; color: var(--line); line-height: .8; margin: 0 0 6px; font-weight: 700; }
.svc__lead p { color: var(--muted); }
.svc__lead .btn { margin-top: 10px; }
.ticks { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-s); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.ticks .ico { color: #fff; background: var(--accent, var(--sea)); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
.ticks--sm { padding: 0; border: 0; box-shadow: none; background: none; gap: 9px; font-size: .95rem; }
.ticks--sm .ico { width: 20px; height: 20px; padding: 3px; }
.sup { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; transition: transform .3s var(--ease), box-shadow .3s; }
.sup:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sup header { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.sup header .sup__ico { margin: 0; }
.sup h2 { font-size: 1.55rem; margin: 0; }
.sup > p { color: var(--muted); }
.about { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about__block { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; }
.about__block h2 { font-size: 1.45rem; }
.about__block p { color: var(--muted); margin: 0; }

/* ── Cabeçalho de páginas internas ─────────────────────────── */
.phero { position: relative; background: linear-gradient(160deg, var(--deep), var(--navy) 60%, #0b3b7a); color: #fff; overflow: hidden; isolation: isolate; }
.phero__bg span { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(14, 143, 180, .4), transparent 70%); animation: aurora 12s ease-in-out infinite alternate; }
.phero__bg span:nth-child(1) { width: 520px; height: 520px; right: -120px; top: -180px; }
.phero__bg span:nth-child(2) { width: 380px; height: 380px; left: -100px; bottom: -120px; animation-delay: -4s; background: radial-gradient(circle, rgba(201, 149, 46, .28), transparent 70%); }
.phero__bg span:nth-child(3) { width: 240px; height: 240px; left: 45%; top: 10%; animation-delay: -8s; opacity: .6; }
.phero__in { position: relative; z-index: 2; padding-block: clamp(54px, 8vw, 110px) clamp(90px, 12vw, 160px); }
.phero h1 { color: #fff; max-width: 20ch; }
.phero__lead { max-width: 62ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #cbd9f5; margin: 0; }
.phero__wave { position: absolute; left: 0; bottom: -1px; z-index: 1; fill: var(--bg); animation: drift 20s linear infinite reverse; }

/* ── CTA ───────────────────────────────────────────────────── */
.cta { position: relative; background: radial-gradient(70% 120% at 90% 0%, #0b3b7a, transparent 60%), linear-gradient(160deg, var(--navy), var(--deep)); color: #fff; padding-block: clamp(90px, 11vw, 150px) clamp(54px, 7vw, 90px); overflow: hidden; }
.cta__wave { position: absolute; top: -1px; left: 0; width: 200%; height: clamp(46px, 7vw, 90px); fill: var(--bg); transform: rotate(180deg); animation: driftRot 22s linear infinite; }
.sec--sand + .cta .cta__wave { fill: var(--sand); }
.cta__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta h2 { color: #fff; max-width: 22ch; }
.cta p { color: #b9c9e8; max-width: 58ch; margin: 0; }
.cta__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.cta__btns--c { justify-content: center; margin-top: 28px; }

/* ── Formulários ───────────────────────────────────────────── */
.formgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-s); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; color: var(--navy); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(14, 143, 180, .18); background: #fff; }
.field--bad input, .field--bad select, .field--bad textarea { border-color: var(--bad); background: #fff6f4; }
.alert { display: flex; gap: 10px; align-items: center; background: #fdecea; color: #8c2a1f; border: 1px solid #f2b8b0; border-radius: 12px; padding: 12px 16px; margin-bottom: 22px; font-weight: 600; }
.form__legal { font-size: .86rem; color: var(--muted); }
.aside { background: var(--sand); border-radius: 24px; padding: clamp(24px, 3vw, 36px); }
.aside h2 { font-size: 1.3rem; margin-bottom: .8em; }
.aside__mail { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; font-weight: 700; }
.aside__box { background: var(--navy); color: #cfdcf6; border-radius: 18px; padding: 24px; margin-top: 26px; }
.aside__box h3 { color: #fff; }
.aside__box p { font-size: .95rem; }
.bigtick { display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--ok); color: #fff; margin-bottom: 20px; animation: pop .6s var(--ease); box-shadow: 0 0 0 12px rgba(31, 143, 95, .15); }
.bigtick .ico { width: 46px; height: 46px; stroke-width: 2.4; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 56ch; margin-inline: auto; }
.err__code { font-family: var(--serif); font-size: clamp(5rem, 16vw, 10rem); line-height: 1; margin: 0; color: var(--sea-soft); font-weight: 700; -webkit-text-stroke: 2px var(--sea); }
.err__detail { text-align: left; background: #111; color: #9fe; padding: 14px; border-radius: 10px; overflow: auto; font-size: .8rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p { color: #34445f; }

/* ── Rodapé ────────────────────────────────────────────────── */
.foot { background: var(--deep); color: #a8b9da; position: relative; padding-top: 70px; font-size: .96rem; }
.foot__wave { position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--sea), var(--brass), var(--steel), var(--sea)); background-size: 300% 100%; animation: flow 8s linear infinite; }
@keyframes flow { to { background-position: 300% 0; } }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.foot__brand p { margin-top: 18px; max-width: 36ch; }
.foot__h { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .18em; color: #fff; margin-bottom: 18px; }
.foot__list { display: grid; gap: 10px; }
.foot__list a { color: #a8b9da; text-decoration: none; }
.foot__list a:hover { color: var(--brass); }
.foot__list--ico li { display: flex; align-items: flex-start; gap: 10px; }
.foot__list--ico .ico { color: var(--brass); margin-top: 3px; }
.foot__list--dark { color: var(--ink); }
.foot__list--dark a { color: var(--steel); font-weight: 600; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--brass); color: var(--deep); transform: translateY(-3px); }
.foot__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; font-size: .86rem; }
.foot__bar-in { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot__bar p { margin: 0; }
.foot__bar ul { display: flex; gap: 22px; }
.foot__bar a { color: #a8b9da; text-decoration: none; }
.foot__bar a:hover { color: #fff; }

/* ── Botões flutuantes ─────────────────────────────────────── */
.totop { position: fixed; left: 20px; bottom: 22px; z-index: 80; width: 48px; height: 48px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #e0aa3f, var(--brass)); color: var(--deep); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 26px -10px rgba(201, 149, 46, .8); transition: transform .25s var(--ease), box-shadow .25s; animation: pop .3s var(--ease); }
.totop:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -10px rgba(201, 149, 46, .9); }
.fab { position: fixed; right: 22px; bottom: 100px; z-index: 80; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.fab--wa { background: #25d366; }

/* ── Chatbot ───────────────────────────────────────────────── */
.chat__fab { position: fixed; right: 20px; bottom: 22px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--sea), var(--steel)); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(14, 143, 180, .9); transition: transform .3s var(--ease); }
.chat__fab:hover { transform: scale(1.08) rotate(-6deg); }
.chat__fab .ico { width: 28px; height: 28px; }
.chat__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sea); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.chat.is-open .chat__pulse { display: none; }
.chat__panel { position: fixed; right: 20px; bottom: 96px; z-index: 95; width: min(390px, calc(100vw - 24px)); height: min(580px, calc(100dvh - 130px)); background: #fff; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(1, 22, 60, .55); display: flex; flex-direction: column; overflow: hidden; animation: pop .3s var(--ease); border: 1px solid var(--line); }
.chat__panel[hidden] { display: none; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, var(--navy), var(--steel)); color: #fff; }
.chat__head img { border-radius: 50%; background: #fff; padding: 2px; }
.chat__head h2 { font-family: var(--sans); font-size: 1rem; color: #fff; margin: 0; }
.chat__head p { margin: 0; font-size: .78rem; opacity: .8; }
.chat__head div { flex: 1; min-width: 0; }
.chat__x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat__x:hover { background: rgba(255, 255, 255, .28); }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: .95rem; line-height: 1.5; animation: pop .25s var(--ease); overflow-wrap: anywhere; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.msg--user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg a.msg__link { display: inline-flex; margin-top: 8px; gap: 6px; align-items: center; background: var(--sea); color: #fff; text-decoration: none; padding: 7px 14px; border-radius: 99px; font-weight: 700; font-size: .85rem; }
.msg a.msg__link:hover { background: var(--steel); }
.typing { display: inline-flex; gap: 4px; align-items: center; height: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat__chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 14px 4px; background: var(--bg); }
.chat__chips button { font: inherit; font-size: .84rem; font-weight: 700; color: var(--steel); background: #fff; border: 1.5px solid var(--sea); border-radius: 99px; padding: 6px 13px; cursor: pointer; transition: background .2s, color .2s; }
.chat__chips button:hover { background: var(--sea); color: #fff; }
.chat__form { display: flex; gap: 8px; padding: 12px 14px 14px; background: var(--bg); border-top: 1px solid var(--line); }
.chat__form input { flex: 1; min-width: 0; font: inherit; border: 1.5px solid var(--line); border-radius: 99px; padding: 11px 16px; background: #fff; }
.chat__form input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(14, 143, 180, .15); }
.chat__form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brass); color: var(--deep); cursor: pointer; display: grid; place-items: center; flex: none; }
.chat__form button:hover { background: var(--brass-d); color: #fff; }

/* ── Revelar ao fazer scroll (só com JS) ───────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal].is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .8s var(--ease), transform .15s ease-out, box-shadow .3s; transition-delay: 0ms; }

/* ── Responsivo ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .nav__menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--deep); padding: 10px var(--gut) 24px; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6); transform-origin: top; transform: scaleY(0); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s; }
  .nav.is-open .nav__menu { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__menu ul { flex-direction: column; }
  .nav__menu li a { padding: 15px 8px; border-radius: 10px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__menu li a[aria-current="page"]::after { left: 8px; transform: none; bottom: 8px; }
  .nav__cta { margin-top: 18px; }
  .no-js .nav__menu { position: static; transform: none; opacity: 1; visibility: visible; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ports-home, .formgrid, .ports-page { grid-template-columns: 1fr; }
  .ports-page__map { position: static; }
  .svc { grid-template-columns: 1fr; }
  .svc--rev .svc__lead { order: 0; }
  .vm { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .topbar .topbar__tag, .topbar .topbar__hours { display: none; }
  .topbar__in { justify-content: center; }
  .topbar ul { justify-content: center; }
  .grid--3, .grid--2, .grid--4, .ports-page__list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .plist { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__ctl { bottom: 56px; }
  .hero__arrow { width: 40px; height: 40px; }
  .slide__title { max-width: none; }
  .slide__btns .btn { flex: 1 1 100%; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .cta__btns { width: 100%; }
  .cta__btns .btn { flex: 1 1 100%; }
  .brand__txt { font-size: 1.12rem; }
  .brand img { width: 40px; height: 40px; }
  .chat__panel { right: 8px; left: 8px; width: auto; bottom: 88px; height: min(72dvh, 600px); }
  .chat__fab { right: 14px; bottom: 16px; width: 56px; height: 56px; }
  .totop { left: 14px; bottom: 16px; }
  .fab { right: 16px; bottom: 84px; }
}
@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 12px; }
  .brand__txt small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__ship, .bubble, .hero__compass { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
@media print {
  .topbar, .nav, .chat, .totop, .fab, .hero__art, .marquee, .cta { display: none !important; }
  body { background: #fff; }
}

/* Troca de idioma sem recarregar */
main { transition: opacity .18s ease; }
.is-switching main { opacity: .35; }
.foot__dev { margin: 0; }
.foot__dev a { color: var(--brass); font-weight: 700; text-decoration: none; }
.foot__dev a:hover { color: #fff; text-decoration: underline; }

/* Menu mais compacto em ecras intermedios (6 links + botao) */
@media (min-width: 981px) and (max-width: 1100px) {
  .nav__in { gap: 10px; }
  .nav__menu { gap: 12px; }
  .nav__menu li a { padding: 10px 9px; font-size: .92rem; }
  .nav__cta { padding: .6em 1em; font-size: .88rem; }
}

/* Chatbot compacto */
.chat__fab { right: 18px; bottom: 18px; width: 52px; height: 52px; }
.chat__fab .ico { width: 24px; height: 24px; }
.chat__panel { right: 18px; bottom: 80px; width: min(320px, calc(100vw - 24px)); height: min(420px, calc(100dvh - 205px)); border-radius: 16px; }
.chat__head { padding: 10px 12px; gap: 10px; }
.chat__head img { width: 30px; height: 30px; }
.chat__head h2 { font-size: .88rem; }
.chat__head p { font-size: .7rem; }
.chat__x { width: 30px; height: 30px; }
.chat__x .ico { width: 16px; height: 16px; }
.chat__log { padding: 12px; gap: 8px; }
.msg { font-size: .84rem; padding: 8px 12px; border-radius: 14px; line-height: 1.45; }
.msg a.msg__link { font-size: .76rem; padding: 5px 11px; margin-top: 6px; }
.chat__chips { padding: 8px 12px 2px; gap: 6px; }
.chat__chips button { font-size: .76rem; padding: 5px 10px; }
.chat__form { padding: 8px 12px 12px; gap: 6px; }
.chat__form input { font-size: .85rem; padding: 8px 14px; }
.chat__form button { width: 38px; height: 38px; }
.chat__form button .ico { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .chat__panel { left: auto; right: 10px; bottom: 72px; width: min(320px, calc(100vw - 20px)); height: min(60dvh, 420px); }
  .chat__fab { right: 12px; bottom: 12px; width: 48px; height: 48px; }
  .chat__form input { font-size: 16px; }
  .totop { left: 12px; bottom: 12px; width: 42px; height: 42px; }
}
