/* Growmed Chat Diagnóstico – conversa no estilo de app de mensagens, nas cores do site. */
.gmc,.gmc-fab{--gmc-accent:#C6A15B;--gmc-dark:#0A0A0A}
.gmc{
	--gmc-in:#1B1B1B;--gmc-out:color-mix(in srgb,var(--gmc-accent) 30%,#121212);
	--gmc-text:#F3EFE6;--gmc-muted:#A39B8B;--gmc-line:rgba(255,255,255,.08);
	position:relative;display:flex;flex-direction:column;width:100%;height:min(760px,88vh);
	background:var(--gmc-dark);color:var(--gmc-text);border-radius:18px;overflow:hidden;
	font-family:"Manrope","Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.45;
	box-shadow:0 30px 60px -30px rgba(0,0,0,.6);isolation:isolate
}
.gmc *,.gmc *::before,.gmc *::after{box-sizing:border-box}
.gmc [hidden]{display:none!important}

/* Tela cheia */
body.gmc-full{margin:0;background:var(--gmc-dark,#0A0A0A);overflow:hidden}
body.gmc-full .gmc{height:100vh;height:100dvh;border-radius:0;box-shadow:none}
body.gmc-full #wpadminbar{display:none}
html:has(body.gmc-full){margin-top:0!important}

/* Topo */
.gmc__top{display:flex;align-items:center;gap:12px;padding:10px 16px;padding-top:calc(10px + env(safe-area-inset-top));background:#141414;border-bottom:1px solid var(--gmc-line);z-index:2}
.gmc__back{display:grid;place-items:center;width:34px;height:34px;margin-left:-6px;border-radius:50%;color:var(--gmc-text)}
.gmc__back:hover{background:rgba(255,255,255,.06)}
.gmc__back svg{width:22px;height:22px;fill:currentColor}
.gmc__avatar{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:linear-gradient(140deg,var(--gmc-accent),color-mix(in srgb,var(--gmc-accent) 55%,#000));color:#0A0A0A;font-family:"Cormorant Garamond",Georgia,serif;font-size:24px;font-weight:600}
.gmc__who{display:flex;flex-direction:column;min-width:0;flex:1}
.gmc__who strong{font-size:16px;font-weight:600;letter-spacing:.01em}
.gmc__who small{font-size:12.5px;color:var(--gmc-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gmc__badge{padding:3px 9px;border:1px solid color-mix(in srgb,var(--gmc-accent) 60%,transparent);border-radius:999px;color:var(--gmc-accent);font-size:11px;font-weight:700;letter-spacing:.12em}

/* Fundo com desenhos, como nos apps de mensagem */
.gmc__wall{position:relative;flex:1;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;
	background-color:color-mix(in srgb,var(--gmc-dark) 88%,#1a1a1a);
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23C6A15B' stroke-opacity='.075' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 40c0-6 8-9 12-3 4-6 12-3 12 3 0 8-12 14-12 14S30 48 30 40z'/%3E%3Cpath d='M120 22v20M110 32h20'/%3E%3Crect x='186' y='26' width='40' height='28' rx='8'/%3E%3Cpath d='M196 54l-6 8 12-8'/%3E%3Cpath d='M24 120l14-14 12 10 18-20'/%3E%3Cpath d='M62 96h6v6'/%3E%3Ccircle cx='136' cy='112' r='14'/%3E%3Cpath d='M136 104v8l6 4'/%3E%3Cpath d='M206 100l4 9 10 1-8 6 3 10-9-6-9 6 3-10-8-6 10-1z'/%3E%3Cpath d='M30 190c0 14 10 22 20 22s20-8 20-22v-14M30 176v14M70 176v14'/%3E%3Ccircle cx='50' cy='222' r='5'/%3E%3Crect x='112' y='176' width='34' height='44' rx='5'/%3E%3Cpath d='M120 188h18M120 198h18M120 208h10'/%3E%3Cpath d='M196 186a14 14 0 1 1 20 20l-6 6-14-14z'/%3E%3Cpath d='M190 226h40'/%3E%3C/g%3E%3C/svg%3E");
	background-size:260px 260px}
.gmc__msgs{display:flex;flex-direction:column;gap:4px;max-width:780px;margin:0 auto;padding:16px 14px 22px}
.gmc__day{align-self:center;margin:4px 0 8px}
.gmc__day span{display:inline-block;padding:4px 12px;border-radius:8px;background:#1E1E1E;color:var(--gmc-muted);font-size:12px;letter-spacing:.04em}
.gmc__sys{align-self:center;max-width:420px;margin:0 0 10px;padding:7px 12px;border-radius:8px;background:color-mix(in srgb,var(--gmc-accent) 14%,#111);color:color-mix(in srgb,var(--gmc-accent) 70%,#fff);font-size:12.5px;text-align:center}

/* Balões */
.gmc__msg{position:relative;max-width:min(82%,560px);padding:7px 10px 18px 11px;border-radius:10px;word-wrap:break-word;animation:gmcIn .22s ease-out both;box-shadow:0 1px 1px rgba(0,0,0,.25)}
.gmc__msg p{margin:0 0 6px}.gmc__msg p:last-of-type{margin-bottom:0}
.gmc__msg--in{align-self:flex-start;background:var(--gmc-in);border-top-left-radius:0}
.gmc__msg--out{align-self:flex-end;background:var(--gmc-out);border-top-right-radius:0}
.gmc__msg--in.gmc__msg--first::before,.gmc__msg--out.gmc__msg--first::before{content:"";position:absolute;top:0;width:10px;height:12px}
.gmc__msg--in.gmc__msg--first::before{left:-8px;background:var(--gmc-in);clip-path:polygon(100% 0,0 0,100% 100%)}
.gmc__msg--out.gmc__msg--first::before{right:-8px;background:var(--gmc-out);clip-path:polygon(0 0,100% 0,0 100%)}
.gmc__msg:not(.gmc__msg--first){border-radius:10px}
.gmc__msg--first{margin-top:6px}
.gmc__time{position:absolute;right:9px;bottom:4px;display:inline-flex;align-items:center;gap:3px;color:var(--gmc-muted);font-size:11px;line-height:1}
.gmc__msg--out .gmc__time{color:color-mix(in srgb,var(--gmc-accent) 55%,#fff)}
.gmc__ticks{width:16px;height:11px;fill:currentColor}
.gmc__msg--out .gmc__ticks{color:#53BDEB}
.gmc__msg ul{margin:6px 0;padding-left:18px}.gmc__msg li{margin:0 0 6px}
.gmc__msg strong{color:color-mix(in srgb,var(--gmc-accent) 75%,#fff);font-weight:700}
.gmc__msg a{color:var(--gmc-accent)}

/* Análise da IA */
.gmc__msg--ai{border:1px solid color-mix(in srgb,var(--gmc-accent) 45%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--gmc-accent) 10%,#181818),#181818)}
.gmc__msg--ai.gmc__msg--first::before{background:color-mix(in srgb,var(--gmc-accent) 10%,#181818)}
.gmc__ai-tag{display:flex;align-items:center;gap:6px;margin:0 0 8px;color:var(--gmc-accent);font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.gmc__ai-tag svg{width:15px;height:15px;fill:currentColor}
.gmc__ai-note{margin-top:10px!important;padding-top:8px;border-top:1px solid var(--gmc-line);color:var(--gmc-muted);font-size:12.5px}

.gmc__offer-title{font-family:"Cormorant Garamond",Georgia,serif;font-size:22px;line-height:1.15;color:#fff;margin-bottom:6px!important}
.gmc__offer-price{display:inline-block;margin-top:8px!important;padding:3px 10px;border-radius:999px;background:var(--gmc-accent);color:#0A0A0A;font-weight:700;font-size:13px}
.gmc__offer-btn{display:inline-block;margin-top:6px;padding:10px 16px;border-radius:999px;background:var(--gmc-accent);color:#0A0A0A!important;font-weight:700;text-decoration:none}
.gmc__offer-btn:hover{filter:brightness(1.08)}
.gmc__offer-soon{margin-top:6px!important;color:var(--gmc-muted);font-size:13px}
/* Digitando */
.gmc__typing{display:inline-flex;gap:4px;padding:4px 2px}
.gmc__typing i{width:7px;height:7px;border-radius:50%;background:var(--gmc-muted);animation:gmcDot 1.2s infinite ease-in-out}
.gmc__typing i:nth-child(2){animation-delay:.15s}.gmc__typing i:nth-child(3){animation-delay:.3s}
.gmc__msg--typing{padding-bottom:7px}

/* Barra de resposta */
.gmc__bar{position:relative;padding:10px 12px;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#141414;border-top:1px solid var(--gmc-line);z-index:2}
.gmc__chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:780px;margin:0 auto;max-height:42vh;overflow-y:auto}
.gmc__chips:empty{display:none}
.gmc__chips:not(:empty)+.gmc__form:not([hidden]){margin-top:10px}
.gmc__chip{appearance:none;padding:9px 15px;border:1px solid color-mix(in srgb,var(--gmc-accent) 55%,transparent);border-radius:999px;background:transparent;color:var(--gmc-text);font:inherit;font-size:14px;cursor:pointer;transition:background .15s,color .15s,transform .15s}
.gmc__chip:hover{background:color-mix(in srgb,var(--gmc-accent) 16%,transparent)}
.gmc__chip:active{transform:scale(.97)}
.gmc__chip[aria-pressed="true"]{background:var(--gmc-accent);border-color:var(--gmc-accent);color:#0A0A0A;font-weight:600}
.gmc__chip--go{background:var(--gmc-accent);border-color:var(--gmc-accent);color:#0A0A0A;font-weight:700}
.gmc__chip--go:disabled{opacity:.4;cursor:not-allowed}
.gmc__chip--ghost{border-style:dashed;color:var(--gmc-muted)}
.gmc__chip--link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;background:var(--gmc-accent);color:#0A0A0A;font-weight:700}
.gmc__form{display:flex;align-items:center;gap:8px;max-width:780px;margin:0 auto}
.gmc__input{flex:1;min-width:0;height:46px;padding:0 18px;border:0;border-radius:999px;background:#232323;color:var(--gmc-text);font:inherit;font-size:16px;outline:none}
.gmc__input:focus{box-shadow:0 0 0 2px color-mix(in srgb,var(--gmc-accent) 60%,transparent)}
.gmc__input::placeholder{color:#7d776b}
.gmc__input[aria-invalid="true"]{box-shadow:0 0 0 2px #E06C5A}
.gmc__send{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:0;border-radius:50%;background:var(--gmc-accent);color:#0A0A0A;cursor:pointer}
.gmc__send svg{width:21px;height:21px;fill:currentColor}
.gmc__hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.gmc__err{margin:8px auto 0;max-width:780px;color:#F0998B;font-size:13px;text-align:center}

@keyframes gmcIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes gmcDot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.gmc__msg,.gmc__typing i{animation:none}.gmc__wall{scroll-behavior:auto}}
@media (max-width:600px){.gmc__msg{max-width:88%}.gmc__chip{padding:9px 13px}}

/* Botão flutuante */
.gmc-fab{position:fixed;right:22px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:250;display:inline-flex;align-items:center;gap:10px;min-height:58px;padding:0 22px 0 8px;border-radius:999px;background:var(--gmc-dark);border:1px solid color-mix(in srgb,var(--gmc-accent) 70%,transparent);color:#F3EFE6;font-family:"Manrope","Poppins",system-ui,sans-serif;font-size:14px;font-weight:600;letter-spacing:.02em;text-decoration:none;box-shadow:0 16px 36px -12px rgba(0,0,0,.6);transition:transform .25s ease}
.gmc-fab:hover{transform:translateY(-3px);color:#fff}
.gmc-fab__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--gmc-accent);color:#0A0A0A}
.gmc-fab__icon svg{width:22px;height:22px;fill:currentColor}
.gmc-fab__dot{position:absolute;top:6px;left:40px;width:11px;height:11px;border:2px solid var(--gmc-dark);border-radius:50%;background:#3DDC84}
.gmc-fab::before{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 var(--gmc-accent);opacity:.5;animation:gmcPulse 2.6s ease-out infinite;pointer-events:none}
@keyframes gmcPulse{0%{box-shadow:0 0 0 0 var(--gmc-accent)}70%,100%{box-shadow:0 0 0 16px transparent}}
@media (max-width:767px){.gmc-fab{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));padding:0 18px 0 7px;min-height:54px;font-size:13px}}
@media (prefers-reduced-motion:reduce){.gmc-fab::before{animation:none}}
@media print{.gmc-fab{display:none}}
