/* Átomo Sites 1.6.2 | Camada mobile isolada. Não altera o editor. */
@media (max-width: 900px) {
  html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
  body:not(.sns-edit-mode) { overflow-x:clip; }
  .pc-wrap, .pc-container, .pc-section, .pc-hero, .pc-footer { max-width:100%; min-width:0; }
  .pc-container { width:100%; box-sizing:border-box; padding-inline:max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  .pc-hero-grid > *, .pc-grid-2 > *, .pc-footer-grid > *, .pc-project, .pc-card { min-width:0; }
  img, video, iframe, svg { max-width:100%; }
  img { height:auto; }
  .pc-menu { box-sizing:border-box; width:min(420px, 92vw)!important; max-width:100vw; height:100dvh; overflow-y:auto; overscroll-behavior:contain; padding:calc(18px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling:touch; }
  .pc-menu-overlay { inset:0; }
  .pc-hamburger, .pc-menu-close { min-width:44px; min-height:44px; touch-action:manipulation; }
  .pc-menu > a, .pc-menu .pc-btn { min-height:44px; display:flex; align-items:center; }
  .pc-menu-open .pc-menu { visibility:visible; }
  .pc-hero h1, .pc-section h2, .pc-section-title, .pc-hero h2 { overflow-wrap:break-word; hyphens:auto; }
  .pc-actions, .pc-footer-actions { flex-wrap:wrap; }
  .pc-map iframe { max-width:100%; display:block; }
  .pc-video video { height:auto; aspect-ratio:16/9; object-fit:contain; }
  .pc-marquee { max-width:100%; }
  /* Preserva os 7px solicitados entre a faixa e a seção seguinte. */
  .pc-hero + .pc-marquee, .pc-marquee { margin-top:0!important; }
  .pc-marquee + section { padding-top:7px!important; }
}
@media (max-width: 640px) {
  .pc-section { padding-block:clamp(44px, 11vw, 68px); }
  .pc-hero h1 { font-size:clamp(2rem,8vw,3.25rem); line-height:1.1; }
  .pc-hero p, .pc-card p, .pc-quote, .pc-project span { overflow-wrap:anywhere; }
  .pc-project-media { height:auto; aspect-ratio:4 / 3; }
  .pc-project-media img { width:100%;height:100%;object-fit:contain!important;object-position:center top!important; }
  .pc-project-body { min-height:0;display:flex;flex-direction:column; }
  .pc-project-body .pc-btn { min-height:44px; display:flex; justify-content:center; align-items:center; text-align:center; }
  .pc-portfolio { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .pc-team, .pc-services, .pc-testimonials, .pc-form, .pc-footer-grid { min-width:0; }
  .pc-input,.pc-select,.pc-textarea { font-size:16px; max-width:100%; box-sizing:border-box; }
  .pc-btn, button, [role=button] { touch-action:manipulation; }
  .pc-floating-card { max-width:calc(100vw - 32px); }
  .pc-jingle-img { max-height:min(420px, 65vh); }
  .pc-menu-socials a { min-width:44px;min-height:44px; }
}
@media (max-width: 359px) {
  .pc-portfolio { grid-template-columns:1fr; }
  .pc-container { padding-inline:12px; }
}
@media (hover:none), (pointer:coarse) {
  .atomo-tilt, .pc-mouse, .atomo-magnetic { transform:none!important; }
  .pc-project:hover, .pc-card:hover, .pc-video-card:hover { transform:none!important; }
}
@media (prefers-reduced-motion:reduce) {
  .pc-marquee-track { animation:none!important; }
  .pc-reveal { opacity:1!important; transform:none!important; }
  html { scroll-behavior:auto!important; }
}
:where(a,button,input,textarea,select):focus-visible { outline:3px solid #49e0ff;outline-offset:3px; }


/* 1.7.4 — HERO MOBILE REDESENHADO. Isolado da versão desktop. */
@media (min-width:641px) and (max-width:900px) {
  .pc-hero.pc-section { min-height:0; padding:125px 0 48px; }
  .pc-hero .pc-hero-grid { grid-template-columns:minmax(0,1fr); gap:32px; }
  .pc-hero .pc-visual { width:min(100%,680px); min-height:0; aspect-ratio:16/9; margin-inline:auto; }
  .pc-hero .pc-device { inset:0; transform:none; padding:7px; border-radius:26px; }
  .pc-hero .pc-device video, .pc-hero .pc-device img { object-fit:contain; border-radius:19px; }
  .pc-hero .pc-floating-card { display:none; }
}
@media (max-width:640px) {
  .pc-hero.pc-section {
    box-sizing:border-box; min-height:0; padding:calc(92px + env(safe-area-inset-top, 0px)) 0 34px;
    overflow:hidden; isolation:isolate;
  }
  .pc-hero .pc-container { padding-inline:max(20px,env(safe-area-inset-left,0px)) max(20px,env(safe-area-inset-right,0px)); }
  .pc-hero .pc-hero-grid { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:26px; }
  .pc-hero .pc-hero-copy { width:100%; min-width:0; text-align:left; }
  .pc-hero .pc-urgency { display:inline-flex; max-width:100%; box-sizing:border-box; flex-wrap:wrap; gap:4px 6px; padding:8px 11px; margin:0 0 12px; font-size:10.5px; line-height:1.4; border-radius:12px; }
  .pc-hero .pc-kicker { max-width:100%; box-sizing:border-box; font-size:10px; line-height:1.35; letter-spacing:.065em; padding:8px 11px; border-radius:12px; }
  .pc-hero h1 { max-width:18ch; margin:15px 0 13px; font-size:clamp(34px,9.4vw,46px); line-height:1.04; letter-spacing:-.052em; overflow-wrap:normal; word-break:normal; hyphens:none; text-wrap:balance; }
  .pc-hero .pc-lead { max-width:38ch; margin:0 0 20px; font-size:clamp(14px,3.7vw,16px); line-height:1.55; color:#d9e1f4; text-wrap:pretty; overflow-wrap:normal; }
  .pc-hero .pc-actions { display:grid; grid-template-columns:1fr; gap:10px; width:100%; margin:0; }
  .pc-hero .pc-actions .pc-btn { box-sizing:border-box; width:100%; min-height:49px; padding:13px 18px; border-radius:15px; font-size:13px; line-height:1.3; letter-spacing:0; white-space:normal; }
  .pc-hero .pc-actions .pc-btn.alt { background:rgba(255,255,255,.085); border:1px solid rgba(255,255,255,.18); }
  .pc-hero .pc-hero-proof { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin-top:15px; }
  .pc-hero .pc-proof-pill { box-sizing:border-box; padding:7px 10px; font-size:10.5px; line-height:1.35; font-weight:750; border-radius:11px; }
  .pc-hero .pc-proof-pill:nth-child(n+3) { display:none; }
  .pc-hero .pc-visual { display:block; position:relative; width:100%; height:auto; min-height:0; aspect-ratio:16/10; margin:0; padding:0; transform:none!important; }
  .pc-hero .pc-device { position:absolute; inset:0; width:100%; height:100%; box-sizing:border-box; transform:none!important; padding:5px; border-radius:22px; border:1px solid rgba(255,255,255,.22); background:linear-gradient(135deg,rgba(73,224,255,.18),rgba(155,108,255,.12),rgba(255,86,199,.17)); box-shadow:0 18px 46px rgba(0,0,0,.27); }
  .pc-hero .pc-device:before { border-radius:22px; opacity:.28; filter:blur(12px); }
  .pc-hero .pc-device video, .pc-hero .pc-device img { display:block; width:100%; height:100%; max-width:100%; border-radius:16px; object-fit:contain; object-position:center; background:#080b12; filter:none; }
  .pc-hero .pc-floating-card { display:none!important; }
  .pc-hero .pc-trust { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:23px; }
  .pc-hero .pc-stat { min-width:0; padding:13px 12px; border-radius:16px; }
  .pc-hero .pc-stat strong { font-size:21px; line-height:1.15; }
  .pc-hero .pc-stat span { display:block; margin-top:4px; font-size:11px; line-height:1.4; }
}
@media (max-width:359px) {
  .pc-hero .pc-container { padding-inline:16px; }
  .pc-hero h1 { font-size:32px; letter-spacing:-.045em; }
  .pc-hero .pc-urgency { font-size:10px; }
  .pc-hero .pc-visual { aspect-ratio:16/11; }
}
@media (prefers-reduced-motion:reduce) {
  .pc-hero .pc-device { transition:none!important; }
}


/* 1.7.5 — HERO MOBILE MAIS COMPACTO, sem corte no primeiro viewport. */
@media (max-width:640px) {
  .pc-hero.pc-section {
    padding:calc(78px + env(safe-area-inset-top, 0px)) 0 22px;
  }
  .pc-hero .pc-hero-grid {
    gap:18px;
  }
  .pc-hero .pc-urgency {
    margin:0 0 10px;
    padding:7px 10px;
    font-size:10px;
  }
  .pc-hero .pc-kicker {
    font-size:9.5px;
    padding:7px 10px;
  }
  .pc-hero h1 {
    max-width:15ch;
    margin:12px 0 10px;
    font-size:clamp(30px, 8.6vw, 39px);
    line-height:1.02;
    letter-spacing:-.048em;
  }
  .pc-hero .pc-lead {
    margin:0 0 16px;
    font-size:clamp(13px, 3.45vw, 15px);
    line-height:1.46;
  }
  .pc-hero .pc-actions {
    gap:9px;
  }
  .pc-hero .pc-actions .pc-btn {
    min-height:45px;
    padding:12px 16px;
    border-radius:14px;
    font-size:12.5px;
  }
  .pc-hero .pc-hero-proof {
    gap:6px;
    margin-top:12px;
  }
  .pc-hero .pc-proof-pill {
    padding:6px 9px;
    font-size:10px;
    border-radius:10px;
  }
  .pc-hero .pc-visual {
    aspect-ratio:16/8.6;
    margin-top:2px;
  }
  .pc-hero .pc-device {
    padding:4px;
    border-radius:20px;
    box-shadow:0 14px 32px rgba(0,0,0,.24);
  }
  .pc-hero .pc-device:before {
    border-radius:20px;
  }
  .pc-hero .pc-device video,
  .pc-hero .pc-device img {
    border-radius:15px;
  }
  .pc-hero .pc-trust {
    gap:8px;
    margin-top:18px;
  }
  .pc-hero .pc-stat {
    padding:11px 10px;
    border-radius:14px;
  }
  .pc-hero .pc-stat strong {
    font-size:19px;
  }
  .pc-hero .pc-stat span {
    font-size:10.5px;
    line-height:1.35;
  }
}

@media (max-width:640px) and (max-height:780px) {
  .pc-hero.pc-section {
    padding-top:calc(72px + env(safe-area-inset-top, 0px));
  }
  .pc-hero .pc-hero-grid {
    gap:15px;
  }
  .pc-hero h1 {
    font-size:clamp(28px, 8.1vw, 36px);
    margin:10px 0 8px;
  }
  .pc-hero .pc-lead {
    margin-bottom:14px;
    font-size:13px;
  }
  .pc-hero .pc-actions .pc-btn {
    min-height:43px;
    padding:11px 14px;
  }
  .pc-hero .pc-hero-proof {
    margin-top:10px;
  }
  .pc-hero .pc-visual {
    aspect-ratio:16/8;
  }
}


/* 1.7.6 — contraste de menus select nativos em iOS/Android/Desktop.
   O select possui texto branco no tema escuro; sem color-scheme e cores
   de option, alguns navegadores abrem a lista branca com texto branco. */
.pc-select,
.pc-form select,
.pc-form optgroup {
  color-scheme: dark;
}
.pc-select option,
.pc-select optgroup,
.pc-form select option,
.pc-form select optgroup {
  color: #f6f8ff !important;
  background-color: #171a2a !important;
}
.pc-select:focus,
.pc-form select:focus {
  border-color: #49e0ff;
  outline: 2px solid rgba(73,224,255,.5);
  outline-offset: 1px;
}


/* 1.7.7 — HEADER MOBILE sem sobrepor o hero. */
@media (max-width:640px) {
  .pc-topbar {
    min-height:auto;
  }
  .pc-topbar .pc-nav {
    height:auto !important;
    min-height:64px !important;
    padding-top:8px;
    padding-bottom:8px;
    align-items:center;
  }
  .pc-topbar .pc-logo {
    max-width:56vw !important;
  }
  .pc-topbar .pc-hamburger {
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    border-radius:16px;
  }
  .pc-hero.pc-section {
    padding-top:calc(102px + env(safe-area-inset-top, 0px));
  }
  .pc-hero .pc-container {
    scroll-margin-top:96px;
  }
}

@media (max-width:359px) {
  .pc-topbar .pc-nav {
    min-height:60px !important;
    padding-top:7px;
    padding-bottom:7px;
  }
  .pc-topbar .pc-logo {
    max-width:54vw !important;
  }
  .pc-topbar .pc-hamburger {
    width:46px;
    height:46px;
    min-width:46px;
    min-height:46px;
  }
  .pc-hero.pc-section {
    padding-top:calc(98px + env(safe-area-inset-top, 0px));
  }
}


/* 1.7.8 — solução estrutural: header no fluxo normal em smartphones.
   Não depende de alturas calculadas nem encobre o hero ao rolar. */
@media screen and (max-width: 640px) {
  html, body { scroll-padding-top: 0 !important; }
  .pc-topbar {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    transform: none !important;
    z-index: 80 !important;
  }
  .pc-topbar .pc-nav {
    height: 68px !important;
    min-height: 68px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .pc-hero.pc-section {
    padding-top: 20px !important;
    min-height: 0 !important;
    scroll-margin-top: 0 !important;
  }
  .pc-hero .pc-urgency { margin-top: 0 !important; }
}
@media screen and (max-width: 359px) {
  .pc-topbar .pc-nav {height: 64px !important;min-height: 64px !important;}
  .pc-hero.pc-section {padding-top: 16px !important;}
}

/* 1.8.4 — Hero em vídeo vertical full-bleed no celular.
   Não afeta a mídia da seção Quem sou nem o layout desktop. */
@media screen and (max-width: 640px) {
  .pc-hero .pc-hero-grid > .pc-visual {
    position: relative !important;
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 9 / 16 !important;
    margin: 8px 0 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    transform: none !important;
  }
  .pc-hero .pc-visual > .pc-device {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #080b12 !important;
    transform: none !important;
    overflow: hidden !important;
  }
  .pc-hero .pc-visual > .pc-device::before { display: none !important; }
  .pc-hero .pc-visual > .pc-device video,
  .pc-hero .pc-visual > .pc-device img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
    filter: none !important;
    background: #080b12 !important;
  }
  .pc-hero .pc-floating-card,
  .pc-hero .pc-hero-thumb { display: none !important; }
}
