:root{
  --navy:#101a29;
  --navy-2:#172538;
  --gold:#d8a33a;
  --gold-light:#f0c45b;
  --white:#fff;
  --ink:#17202d;
  --muted:#697384;
  --line:#e8e9ec;
  --cream:#f7f6f2;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"DM Sans",Arial,sans-serif;color:var(--ink);background:#fff}
a{text-decoration:none;color:inherit}
.site-header{height:285px;background:var(--navy);color:#fff;position:relative;z-index:20}
.header-inner{max-width:1500px;height:100%;margin:auto;padding:0 56px;display:grid;grid-template-columns:1fr 360px 1fr;align-items:center;gap:30px}
.nav{display:flex;align-items:center;gap:42px;font-weight:500}
.nav-left{justify-content:flex-end}
.nav-right{justify-content:flex-start}
.nav a{opacity:.94;transition:.2s}
.nav a:hover{color:var(--gold-light)}
.brand{width:360px;height:280px;display:flex;align-items:center;justify-content:center;position:relative}
.brand img{width:270px;height:270px;max-width:none;max-height:none;object-fit:contain;object-fit:contain}
.brand-fallback{display:none;text-align:center;font-family:Georgia,serif;font-size:58px;letter-spacing:10px;color:#f4f4f4}
.brand-fallback small{display:block;font:500 12px "DM Sans";letter-spacing:7px;color:var(--gold)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:2px;font-weight:700;transition:.25s;border:1px solid transparent}
.btn-gold{background:var(--gold);color:#121923}
.btn-gold:hover{background:var(--gold-light);transform:translateY(-1px)}
.btn-outline{border-color:rgba(255,255,255,.65);color:#fff}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.btn-header{min-height:48px;margin-left:6px}
.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:28px}
.mobile-menu{display:none}
.hero{min-height:630px;background-image:url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=88");background-size:cover;background-position:center;position:relative;color:#fff;display:flex;align-items:center}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,11,18,.88) 0%,rgba(5,11,18,.56) 43%,rgba(5,11,18,.08) 100%)}
.hero-content{position:relative;z-index:1;max-width:720px;margin-left:max(6vw,60px);padding:80px 0}
.eyebrow{color:var(--gold-light);font-size:13px;font-weight:800;letter-spacing:2px;margin:0 0 18px}
.hero h1{font:700 clamp(52px,6vw,82px)/.98 "Playfair Display",Georgia,serif;margin:0 0 26px;letter-spacing:-2px}
.hero h1 span{color:var(--gold-light)}
.hero-copy{font-size:19px;line-height:1.6;max-width:650px;margin:0 0 30px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.quick-links{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.08);position:relative;z-index:3}
.quick-links>a{min-height:128px;padding:25px 38px;display:flex;align-items:center;gap:20px;border-right:1px solid var(--line)}
.quick-links>a:last-child{border-right:0}
.quick-links .icon{font-size:36px;color:var(--gold);font-family:Georgia,serif}
.quick-links strong,.quick-links small{display:block}
.quick-links strong{font-size:18px;margin-bottom:6px}
.quick-links small{color:var(--muted);font-size:14px}
.section{max-width:1400px;margin:auto;padding:110px 50px}
.section-heading{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:40px}
.section-heading h2,.services h2,.about h2,.contact h2{font:700 clamp(38px,4vw,58px)/1.05 "Playfair Display",Georgia,serif;margin:0}
.section-heading>p{max-width:430px;color:var(--muted);line-height:1.7;margin:0}
.filters{display:flex;gap:8px;margin-bottom:30px;flex-wrap:wrap}
.filter{background:#fff;border:1px solid var(--line);padding:11px 18px;cursor:pointer;font:600 14px "DM Sans";border-radius:2px}
.filter.active,.filter:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.property-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.property-card{border:1px solid var(--line);background:#fff;overflow:hidden;transition:.3s;cursor:pointer}
.property-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px rgba(18,29,44,.12)}
.property-image{height:250px;position:relative;overflow:hidden}
.property-image img{width:100%;height:100%;object-fit:cover;transition:.4s}
.property-card:hover img{transform:scale(1.04)}
.badge{position:absolute;top:16px;left:16px;background:var(--navy);color:#fff;padding:7px 11px;font-size:11px;font-weight:800;letter-spacing:1px}
.property-info{padding:24px}
.property-info h3{font:700 26px/1.1 "Playfair Display",Georgia,serif;margin:0 0 8px}
.location{color:var(--muted);font-size:14px;margin:0 0 18px}
.price{font-size:19px;font-weight:800;color:var(--navy)}
.meta{display:flex;gap:16px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}
.services{background:var(--navy);color:#fff;padding:110px max(6vw,50px);display:grid;grid-template-columns:.9fr 1.1fr;gap:90px}
.services-copy>p:last-child{color:#cbd2dc;line-height:1.8;max-width:520px;font-size:17px}
.service-list{display:grid;gap:0}
.service-list article{display:grid;grid-template-columns:55px 1fr;column-gap:20px;padding:25px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.service-list span{color:var(--gold-light);font-weight:800}
.service-list h3{margin:0 0 6px;font-size:21px}
.service-list p{grid-column:2;color:#b9c1cc;margin:0;line-height:1.6}
.about{padding:100px max(6vw,50px);display:grid;grid-template-columns:1fr 1fr;gap:80px;background:var(--cream)}
.about>p{font-size:20px;line-height:1.8;color:#5e6875;margin:30px 0 0}
.contact{padding:80px max(6vw,50px);display:flex;justify-content:space-between;align-items:center;gap:30px;background:#fff}
footer{padding:30px 6vw;display:flex;justify-content:space-between;background:#0b121d;color:#aeb7c3;font-size:13px}
.modal{position:fixed;inset:0;background:rgba(5,10,16,.75);z-index:100;display:none;align-items:center;justify-content:center;padding:25px}
.modal.open{display:flex}
.modal-card{background:#fff;max-width:1000px;width:100%;max-height:90vh;overflow:auto;position:relative;display:grid;grid-template-columns:1fr 1fr}
.modal-card>img{width:100%;height:100%;min-height:420px;object-fit:cover}
.modal-body{padding:45px}
.modal-body h2{font:700 42px/1.1 "Playfair Display",Georgia,serif;margin:0 0 10px}
.modal-body p{line-height:1.7;color:var(--muted)}
.modal-meta{display:flex;gap:15px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:22px 0}
.modal-close{position:absolute;right:15px;top:10px;border:0;background:#fff;border-radius:50%;font-size:30px;width:42px;height:42px;cursor:pointer;z-index:2}
@media(max-width:1000px){
  .site-header{height:205px}.header-inner{grid-template-columns:1fr 270px 1fr;padding:0 25px}.brand{width:180px;height:145px}.brand img{max-width:175px;max-height:140px}.nav{gap:18px;font-size:14px}.btn-header{padding:0 14px}
  .hero{min-height:560px}.quick-links{grid-template-columns:repeat(2,1fr)}.quick-links>a:nth-child(2){border-right:0}.property-grid{grid-template-columns:repeat(2,1fr)}.services{grid-template-columns:1fr;gap:45px}.about{grid-template-columns:1fr;gap:10px}
}
@media(max-width:700px){
  .site-header{height:118px}.header-inner{display:flex;justify-content:space-between;padding:0 18px}.nav{display:none}.brand{width:170px;height:90px}.brand img{max-width:160px;max-height:84px}.menu-toggle{display:block}.hero-content{margin-left:25px;margin-right:25px;padding:65px 0}.hero h1{font-size:48px}.hero-copy{font-size:16px}.quick-links{grid-template-columns:1fr}.quick-links>a{border-right:0;border-bottom:1px solid var(--line);min-height:90px}.section,.services,.about,.contact{padding:70px 25px}.section-heading{display:block}.section-heading>p{margin-top:20px}.property-grid{grid-template-columns:1fr}.modal-card{grid-template-columns:1fr}.modal-card>img{min-height:230px;height:230px}.modal-body{padding:28px}.contact{display:block}.contact .btn{margin-top:25px}footer{padding:25px;display:block}footer span{display:block;margin:5px 0}
}

/* V7 — identidade premium: cabeçalho preto e aplicação limpa da marca */
:root{
  --navy:#08090b;
  --navy-2:#0d1014;
  --gold:#d8a33a;
  --gold-light:#f0c45b;
}
.site-header{height:156px;background:#08090b;border-bottom:1px solid rgba(216,163,58,.18)}
.header-inner{max-width:1500px;height:100%;padding:0 50px;grid-template-columns:1fr 250px 1fr;gap:28px}
.nav{gap:38px}
.nav a{font-size:15px;letter-spacing:.2px}
.brand{width:250px;height:156px;overflow:hidden;align-items:flex-start}
.brand img{width:230px;height:auto;max-width:none;max-height:none;object-fit:contain;margin-top:-2px}
.btn-header{margin-left:4px}
.services{background:#08090b}
footer{background:#050607}
.about{background:#f3f1eb;grid-template-columns:.75fr 1.25fr;align-items:center}
.about-brand{display:flex;justify-content:center;align-items:center}
.about-brand img{width:min(360px,100%);height:auto;display:block}
.about>div:last-child>p:last-child{font-size:20px;line-height:1.8;color:#5e6875;margin:30px 0 0}
@media(max-width:1000px){
  .site-header{height:132px}.header-inner{grid-template-columns:1fr 205px 1fr;padding:0 25px}.brand{width:205px;height:132px}.brand img{width:190px;height:125px;max-height:125px}.nav{gap:18px;font-size:14px}.btn-header{padding:0 14px}
}
@media(max-width:700px){
  .site-header{height:92px}
  .header-inner{display:flex;justify-content:space-between;align-items:center;padding:0 18px;position:relative}
  .nav{display:none}
  .brand{width:145px;height:92px;overflow:hidden;align-items:center;justify-content:flex-start}
  .brand img{width:140px;height:88px;max-width:100%;max-height:88px;object-fit:contain;margin:0;display:block}
  .menu-toggle{display:flex;width:46px;height:46px;padding:10px;flex-direction:column;justify-content:center;gap:5px;cursor:pointer;position:relative;z-index:42}
  .menu-toggle span{display:block;width:26px;height:2px;background:#fff;transition:.25s;border-radius:2px}
  .menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .mobile-menu{display:flex;position:fixed;top:92px;left:0;right:0;background:rgba(8,9,11,.98);border-top:1px solid rgba(216,163,58,.2);box-shadow:0 18px 35px rgba(0,0,0,.3);padding:10px 18px 18px;flex-direction:column;gap:2px;transform:translateY(-12px);opacity:0;visibility:hidden;pointer-events:none;transition:.25s;z-index:40}
  .mobile-menu.open{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto}
  .mobile-menu a{padding:15px 10px;color:#fff;font-size:16px;font-weight:600;border-bottom:1px solid rgba(255,255,255,.08)}
  .mobile-menu a:hover{color:var(--gold-light)}
  .mobile-menu .mobile-menu-cta{margin-top:10px;background:var(--gold);color:#111;padding:14px 16px;border-bottom:0;text-align:center}
  .site-header{position:relative;z-index:100}
  .mobile-menu{z-index:1000}
  .about{grid-template-columns:1fr;gap:30px}.about-brand img{width:280px}
  .hero{min-height:720px;background-position:center}
  .hero-content{margin-left:25px;margin-right:25px;padding:65px 0}
  .hero h1{font-size:48px}
  .hero-copy{font-size:16px}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%}
}

.contact-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.contact-email{color:inherit;font-size:14px;text-decoration:none}.contact-email:hover{text-decoration:underline}
@media(max-width:700px){.contact-actions{align-items:flex-start;flex-direction:column}}


/* V17 — identidade da marca no rodapé */
.site-footer{display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:35px;padding:28px max(6vw,40px);background:#050607;color:#aeb7c3;font-size:13px;border-top:1px solid rgba(216,163,58,.14)}
.footer-brand{display:flex;align-items:center;justify-content:flex-start;background:#050607}
.footer-brand img{display:block;width:165px;height:auto;max-height:90px;object-fit:contain}
.footer-info{display:flex;flex-direction:column;gap:7px;line-height:1.5}
.footer-social a{color:#fff;text-decoration:none;font-weight:600}
.footer-social a:hover{color:var(--gold-light)}
@media(max-width:700px){.site-footer{grid-template-columns:1fr;gap:14px;padding:24px 25px}.footer-brand img{width:145px}.footer-info{gap:5px}.footer-social{margin-top:2px}}

/* Correção final do cabeçalho: logo inteira, sem corte */
.site-header{height:125px;background:#08090b;border-bottom:1px solid rgba(216,163,58,.18)}
.header-inner{height:100%;grid-template-columns:1fr 170px 1fr;align-items:center;padding:0 50px;gap:28px}
.brand{width:170px;height:125px;overflow:visible;display:flex;align-items:center;justify-content:center}
.brand img{width:145px;height:119px;max-width:none;max-height:none;object-fit:contain;display:block;margin:0}
@media (max-width:1100px){
  .site-header{height:118px}
  .header-inner{grid-template-columns:1fr 150px 1fr;padding:0 25px}
  .brand{width:150px;height:118px}
  .brand img{width:138px;height:114px}
}
@media (max-width:700px){
  .site-header{height:92px}
  .header-inner{display:flex;justify-content:space-between;align-items:center;padding:0 18px;position:relative}
  .brand{width:145px;height:92px;overflow:visible;align-items:center;justify-content:flex-start}
  .brand img{width:140px;height:88px;max-width:none;max-height:none;object-fit:contain;margin:0;display:block}
}
/* V17 FINAL — logo do cabeçalho totalmente visível */
.site-header{height:145px}
.header-inner{grid-template-columns:1fr 150px 1fr}
.brand{width:150px;height:145px;overflow:visible}
.brand img{width:130px;height:130px;object-fit:contain;margin:0}
@media(max-width:1000px){
  .site-header{height:122px}
  .header-inner{grid-template-columns:1fr 135px 1fr}
  .brand{width:135px;height:122px}
  .brand img{width:112px;height:112px}
}
@media(max-width:700px){
  .site-header{height:92px}
  .header-inner{display:flex;justify-content:space-between;align-items:center;padding:0 18px}
  .brand{width:145px;height:92px;overflow:visible;align-items:center;justify-content:center}
  .brand img{width:82px;height:82px;max-width:none;max-height:none;object-fit:contain;margin:0}
}
.event-2026-image{background-image:linear-gradient(rgba(8,9,11,.18),rgba(8,9,11,.18)),url("referencia-perfil.png");background-size:cover;background-position:center 83%}


/* V17.1 — logo do cabeçalho: proporção integral, sem corte */
.site-header{height:145px;overflow:visible}
.header-inner{height:145px;grid-template-columns:1fr 190px 1fr;align-items:center;overflow:visible}
.brand{width:190px;height:145px;overflow:visible;display:flex;align-items:center;justify-content:center}
.brand img{display:block;width:175px;height:auto;max-width:none;max-height:140px;object-fit:contain;margin:0}
@media(max-width:1000px){
  .site-header{height:122px}
  .header-inner{height:122px;grid-template-columns:1fr 160px 1fr}
  .brand{width:160px;height:122px}
  .brand img{width:148px;max-height:116px}
}
@media(max-width:700px){
  .site-header{height:92px}
  .header-inner{height:92px;display:flex;justify-content:space-between;align-items:center;padding:0 18px}
  .brand{width:145px;height:92px;justify-content:center}
  .brand img{width:115px;height:auto;max-height:86px}
}


/* V20 — serviço Corretor Avaliador */
.service-evaluator h3 small{display:inline-block;margin-left:10px;color:var(--gold-light);font-size:.58em;font-weight:700;letter-spacing:.08em;vertical-align:middle}
.service-details{grid-column:2;display:grid;gap:10px;margin-top:2px}
.service-details p{margin:0;color:#b9c1cc;line-height:1.6}
.service-details strong{color:#fff;font-weight:700}

/* Galeria de fotos dos imóveis — V21 */
.modal-gallery{position:relative;min-height:420px;background:#111;display:flex;align-items:center;justify-content:center;overflow:hidden}
.modal-gallery>img{width:100%;height:100%;min-height:420px;object-fit:cover;display:block}
.gallery-prev,.gallery-next{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#18202b;font-size:34px;line-height:1;cursor:pointer;z-index:3}
.gallery-prev{left:15px}.gallery-next{right:15px}.gallery-counter{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.65);color:#fff;padding:5px 11px;border-radius:20px;font-size:12px;z-index:3}
.gallery-prev.hidden,.gallery-next.hidden{display:none!important}
@media(max-width:700px){.modal-gallery,.modal-gallery>img{min-height:230px;height:230px}.gallery-prev,.gallery-next{width:38px;height:38px;font-size:28px}}


/* V24 — Assistente AELO */
.aelo-chat-launcher{position:fixed;right:24px;bottom:24px;z-index:1000;display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.18);background:#0e2034;color:#fff;border-radius:999px;padding:13px 18px;box-shadow:0 12px 30px rgba(0,0,0,.22);cursor:pointer;font:600 14px/1 'DM Sans',sans-serif;transition:transform .2s,box-shadow .2s}.aelo-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,0,0,.28)}.aelo-chat-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#d9a535;color:#0e2034;font-size:16px}.aelo-chat{position:fixed;right:24px;bottom:82px;z-index:1001;width:min(390px,calc(100vw - 32px));height:min(610px,calc(100vh - 110px));display:none;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dfe3e8;border-radius:18px;box-shadow:0 20px 55px rgba(9,24,40,.25)}.aelo-chat.open{display:flex}.aelo-chat-header{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;background:#0e2034;color:#fff}.aelo-chat-header strong{display:block;font:700 18px/1.2 'Playfair Display',serif}.aelo-chat-header small{display:block;margin-top:3px;color:#dce5ee;font:400 12px/1.2 'DM Sans',sans-serif}.aelo-chat-header button{border:0;background:transparent;color:#fff;font-size:27px;line-height:1;cursor:pointer}.aelo-chat-messages{flex:1;overflow:auto;padding:18px 15px 10px;background:#f7f8fa}.aelo-chat-msg{max-width:88%;margin:0 0 11px;padding:11px 13px;border-radius:14px;font:400 14px/1.45 'DM Sans',sans-serif;white-space:pre-line}.aelo-chat-msg.bot{margin-right:auto;background:#fff;color:#233449;border:1px solid #e2e6eb;border-top-left-radius:5px}.aelo-chat-msg.user{margin-left:auto;background:#0e2034;color:#fff;border-top-right-radius:5px}.aelo-chat-property{margin-top:9px;padding:10px;border:1px solid #e1e5e9;border-radius:12px;background:#fff}.aelo-chat-property img{width:100%;height:115px;object-fit:cover;border-radius:8px;display:block;margin-bottom:8px}.aelo-chat-property strong{display:block;color:#10243a;font-size:14px}.aelo-chat-property small{display:block;color:#687588;margin:3px 0 7px}.aelo-chat-property b{color:#b17a13;font-size:14px}.aelo-chat-property a{display:inline-block;margin-top:8px;color:#10243a;font-weight:700;text-decoration:none}.aelo-chat-quick{display:flex;gap:7px;flex-wrap:wrap;padding:9px 13px;border-top:1px solid #e7eaee;background:#fff;max-height:116px;overflow:auto}.aelo-chat-quick button{border:1px solid #d9a535;background:#fff;color:#17304a;border-radius:999px;padding:8px 10px;font:600 12px 'DM Sans',sans-serif;cursor:pointer}.aelo-chat-quick button:hover{background:#f8f0de}.aelo-chat-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #e1e5e9;background:#fff}.aelo-chat-form input{min-width:0;flex:1;border:1px solid #d7dce2;border-radius:10px;padding:11px 12px;font:400 14px 'DM Sans',sans-serif;outline:none}.aelo-chat-form input:focus{border-color:#d9a535;box-shadow:0 0 0 3px rgba(217,165,53,.12)}.aelo-chat-form button{width:42px;border:0;border-radius:10px;background:#d9a535;color:#0e2034;font-size:18px;cursor:pointer}@media(max-width:600px){.aelo-chat-launcher{right:15px;bottom:15px;padding:11px 14px}.aelo-chat{right:8px;bottom:70px;width:calc(100vw - 16px);height:min(650px,calc(100vh - 88px))}.aelo-chat-label{display:none}}


/* V24.1 — refinamento visual do Assistente AELO */
.aelo-chat-launcher{right:22px;bottom:22px;padding:11px 16px;background:#0e2034;border:1px solid rgba(217,165,53,.45);box-shadow:0 12px 28px rgba(9,24,40,.24)}
.aelo-chat-icon{width:27px;height:27px;background:#d9a535;color:#0e2034;font-size:15px}
.aelo-chat{right:22px;bottom:78px;width:min(365px,calc(100vw - 28px));height:min(540px,calc(100vh - 100px));border-radius:16px;box-shadow:0 18px 48px rgba(9,24,40,.28)}
.aelo-chat-header{padding:14px 16px;background:linear-gradient(135deg,#0e2034,#152d47);border-bottom:1px solid rgba(217,165,53,.3)}
.aelo-chat-header strong{font-size:17px}.aelo-chat-header small{font-size:11px}
.aelo-chat-messages{padding:15px 13px 8px;background:#f6f7f8}
.aelo-chat-msg{max-width:91%;margin-bottom:9px;padding:10px 12px;font-size:13px;line-height:1.4}
.aelo-chat-quick{gap:6px;padding:8px 11px;max-height:94px}
.aelo-chat-quick button{padding:7px 9px;font-size:11.5px;transition:background .15s,transform .15s}
.aelo-chat-quick button:hover{transform:translateY(-1px);background:#fbf5e8}
.aelo-chat-form{padding:8px 10px}.aelo-chat-form input{padding:10px 11px;font-size:13px}.aelo-chat-form button{width:40px}
@media(max-width:600px){.aelo-chat-launcher{right:13px;bottom:13px}.aelo-chat{right:7px;bottom:67px;width:calc(100vw - 14px);height:min(570px,calc(100vh - 82px))}}

/* V24.2 — Assistente AELO: compacto, sem rolagem nos atalhos e visível no celular */
.aelo-chat{
  height:auto;
  max-height:calc(100vh - 105px);
}
.aelo-chat-messages{
  flex:0 0 auto;
  max-height:190px;
  overflow-y:auto;
}
.aelo-chat-quick{
  max-height:none;
  overflow:visible;
  flex:0 0 auto;
}
.aelo-chat-form{flex:0 0 auto}
@media(max-width:600px){
  .aelo-chat-launcher{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    right:12px;
    bottom:max(12px, env(safe-area-inset-bottom));
    z-index:2147483000;
  }
  .aelo-chat{
    right:7px;
    bottom:70px;
    width:calc(100vw - 14px);
    max-height:calc(100vh - 84px);
    height:auto;
  }
  .aelo-chat-messages{
    max-height:170px;
  }
  .aelo-chat-quick{
    max-height:none;
    overflow:visible;
    gap:5px;
    padding:7px 10px;
  }
  .aelo-chat-quick button{
    padding:7px 8px;
    font-size:11px;
  }
}

/* V25 — Captura de leads no Assistente AELO */
.aelo-lead-card{background:#fff;border:1px solid #e0e5ea;border-radius:12px;padding:12px;margin:2px 0;color:#17304a}
.aelo-lead-card>strong{display:block;font:700 14px/1.25 'DM Sans',sans-serif;margin-bottom:3px}
.aelo-lead-card>small{display:block;color:#687588;font-size:11px;line-height:1.35;margin-bottom:9px}
.aelo-lead-card label{display:grid;gap:4px;margin-top:7px;font:600 11px 'DM Sans',sans-serif;color:#34465a}
.aelo-lead-card label span{font-weight:400;color:#7a8490}
.aelo-lead-card input,.aelo-lead-card textarea{width:100%;padding:8px 9px;border:1px solid #d8dee5;border-radius:8px;font:400 12px 'DM Sans',sans-serif;color:#182b40;background:#fff}
.aelo-lead-card textarea{resize:none}
.aelo-lead-submit{width:100%;margin-top:9px;border:0;border-radius:8px;padding:9px 10px;background:#d9a535;color:#0e2034;font:800 12px 'DM Sans',sans-serif;cursor:pointer}
.aelo-lead-submit:disabled{opacity:.65;cursor:wait}
.aelo-lead-status{margin:6px 0 0;color:#8a4c16;font:500 11px 'DM Sans',sans-serif}


/* V25.1 — Assistente AELO: formulário completo com rolagem vertical acessível */
.aelo-chat-quick{
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overflow-x:hidden;
  align-content:flex-start;
  scrollbar-width:auto;
}
.aelo-chat-quick::-webkit-scrollbar{width:8px}
.aelo-chat-quick::-webkit-scrollbar-track{background:#eef1f4;border-radius:8px}
.aelo-chat-quick::-webkit-scrollbar-thumb{background:#b8c0c9;border-radius:8px}
.aelo-lead-card{margin-bottom:4px}
@media(max-width:600px){
  .aelo-chat{
    height:min(650px,calc(100vh - 84px));
    max-height:calc(100vh - 84px);
  }
  .aelo-chat-messages{max-height:150px;min-height:0}
  .aelo-chat-quick{
    flex:1 1 auto;
    min-height:0;
    max-height:none;
    overflow-y:auto;
    overflow-x:hidden;
    padding:8px 10px;
  }
}

/* V25.2 — Assistente AELO: rolagem e visibilidade mobile reforçadas */
.aelo-chat{display:none !important;flex-direction:column !important;overflow:hidden !important;}
.aelo-chat.open{display:flex !important;}
.aelo-chat-messages{flex:0 0 150px !important;max-height:none !important;overflow-y:auto !important;overflow-x:hidden !important;}
.aelo-chat-quick{flex:1 1 auto !important;min-height:0 !important;max-height:none !important;overflow-y:auto !important;overflow-x:hidden !important;display:block !important;}
.aelo-chat-quick button{display:inline-block !important;margin:3px 2px !important;}
.aelo-lead-card{width:100%;box-sizing:border-box;}
.aelo-chat-form{flex:0 0 auto !important;position:relative !important;z-index:3 !important;}
@media(max-width:600px){
  .aelo-chat-launcher{display:flex !important;visibility:visible !important;opacity:1 !important;position:fixed !important;right:12px !important;bottom:max(12px,env(safe-area-inset-bottom)) !important;z-index:2147483646 !important;}
  .aelo-chat{display:none !important;position:fixed !important;left:8px !important;right:8px !important;bottom:68px !important;width:auto !important;height:calc(100dvh - 84px) !important;max-height:calc(100dvh - 84px) !important;min-height:420px !important;z-index:2147483647 !important;}
  .aelo-chat.open{display:flex !important;}
  .aelo-chat-messages{flex:0 0 120px !important;height:120px !important;max-height:120px !important;overflow-y:auto !important;}
  .aelo-chat-quick{flex:1 1 auto !important;min-height:0 !important;overflow-y:auto !important;overflow-x:hidden !important;-webkit-overflow-scrolling:touch !important;padding:8px 10px 10px !important;}
  .aelo-chat-form{flex:0 0 56px !important;min-height:56px !important;}
}

/* V25.3 — Assistente AELO: nome visível no botão mobile */
@media(max-width:600px){
  .aelo-chat-launcher{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    right:12px !important;
    bottom:max(12px,env(safe-area-inset-bottom)) !important;
    padding:10px 14px !important;
    min-width:164px !important;
    justify-content:center !important;
    border-radius:999px !important;
    z-index:2147483646 !important;
  }
  .aelo-chat-launcher .aelo-chat-label{
    display:inline !important;
    visibility:visible !important;
    opacity:1 !important;
    white-space:nowrap !important;
    font-size:13px !important;
  }
  .aelo-chat-launcher .aelo-chat-icon{
    flex:0 0 27px !important;
  }
}


/* V27 — resumo das preferências no formulário de lead */
.lead-qualification{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:8px 0 10px;padding:8px 9px;background:#fbf6ea;border:1px solid #ead8a8;border-radius:9px;font-size:10.5px;color:#6e5015}
.lead-qualification b{grid-column:1/-1;color:#17304a;font-size:11px}.lead-qualification span{padding:3px 0}
@media(max-width:600px){.lead-qualification{grid-template-columns:1fr}.lead-qualification b{grid-column:auto}}
