/*
Theme Name:  Yes MyPay
Theme URI:   https://yesmypay.com
Author:      INN9
Description: Tema escuro estilo fintech para a plataforma Yes MyPay. Cores: fundo #1c1c1c, laranja #dc6038, branco.
Version:     1.2.0
Requires at least: 6.2
Requires PHP: 7.4
License:     GNU General Public License v2 or later
Text Domain: yesmypay
Tags:        dark, full-width-template, custom-menu, woocommerce, e-commerce
*/

/* ══════════════════════════════════════════════════════
   TOKENS — Paleta Yes MyPay
══════════════════════════════════════════════════════ */
:root {
  --bg:           #1c1c1c;
  --bg2:          #181818;
  --surface:      #242424;
  --surface2:     #2a2a2a;
  --surface3:     #303030;
  --border:       #383838;
  --border2:      #454545;

  --orange:       #dc6038;
  --orange-h:     #e8724a;
  --orange-dim:   rgba(220,96,56,.12);
  --orange-glow:  rgba(220,96,56,.32);

  /* aliases so WC + plugin CSS vars resolve correctly */
  --green:        #dc6038;
  --green-h:      #e8724a;
  --green-dim:    rgba(220,96,56,.12);
  --green-glow:   rgba(220,96,56,.32);
  --blue:         #dc6038;
  --blue-dim:     rgba(220,96,56,.10);

  --text:         #ffffff;
  --text2:        #d4d4d4;
  --muted:        #888888;
  --muted2:       #aaaaaa;

  --ff-display:   'Syne', sans-serif;
  --ff-body:      'DM Sans', sans-serif;

  --r:            12px;
  --r-lg:         20px;
  --r-xl:         28px;
  --nav-h:        68px;
  --ease:         .22s ease;
}

/* RESET */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{background:#1c1c1c;color:#fff;font-family:'DM Sans',system-ui,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden;}
body.admin-bar{padding-top:32px;}
body.admin-bar .site-header{top:32px;}
img{max-width:100%;height:auto;display:block;}
a{color:#dc6038;text-decoration:none;transition:color .22s ease;}
a:hover{color:#e8724a;}
::selection{background:#dc6038;color:#fff;}
h1,h2,h3,h4,h5,h6{font-family:'Syne',sans-serif;font-weight:700;line-height:1.1;letter-spacing:-.03em;color:#fff;}
p{color:#d4d4d4;margin-bottom:1rem;}
p:last-child{margin-bottom:0;}
::-webkit-scrollbar{width:5px;}
::-webkit-scrollbar-track{background:#1c1c1c;}
::-webkit-scrollbar-thumb{background:#454545;border-radius:3px;}
::-webkit-scrollbar-thumb:hover{background:#dc6038;}

/* LAYOUT */
.container{width:100%;max-width:1140px;margin:0 auto;padding:0 32px;}
@media(max-width:640px){.container{padding:0 20px;}}
.site-wrapper{display:flex;flex-direction:column;min-height:100vh;}
.site-content{flex:1;padding-top:var(--nav-h);}
.site-content.no-pad{padding-top:0;}

/* Ambient orbs */
.orb{position:fixed;border-radius:50%;filter:blur(120px);pointer-events:none;z-index:0;}
.orb-1{width:700px;height:700px;background:rgba(220,96,56,.05);top:-260px;left:-200px;}
.orb-2{width:600px;height:600px;background:rgba(220,96,56,.04);bottom:-200px;right:-200px;}

/* ══ HEADER ══ */
.site-header{position:fixed;inset:0 0 auto;z-index:1000;height:68px;background:rgba(28,28,28,.78);backdrop-filter:blur(28px) saturate(1.4);-webkit-backdrop-filter:blur(28px) saturate(1.4);border-bottom:1px solid transparent;transition:background .22s ease,border-color .22s ease;}
.site-header.scrolled{background:rgba(28,28,28,.97);border-color:#383838;}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;}

/* Logo image */
.brand-link-img{display:flex;align-items:center;text-decoration:none;flex-shrink:0;}
.site-logo-img{height:48px;width:auto;display:block;object-fit:contain;}
@media(max-width:640px){.site-logo-img{height:36px;}}

/* Logo text fallback */
.site-branding a{display:flex;align-items:center;gap:10px;color:#fff;font-family:'Syne',sans-serif;font-weight:800;font-size:20px;letter-spacing:-.04em;text-decoration:none;}
.site-branding a:hover{color:#fff;}
.logo-mark{width:36px;height:36px;background:#dc6038;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .22s ease,transform .22s ease;}
.logo-mark svg{width:17px;height:17px;stroke:#fff;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}
.site-branding a:hover .logo-mark{background:#e8724a;transform:rotate(-6deg);}
.logo-text em{color:#dc6038;font-style:normal;}

/* Desktop nav */
.nav-desktop{display:flex;align-items:center;justify-content:space-between;flex:1;padding-left:48px;}
/* Links centrais */
.nav-links{display:flex;align-items:center;gap:4px;}
.nav-links a{color:#9a9a9a;font-size:14px;font-weight:500;padding:8px 16px;border-radius:10px;transition:color .2s,background .2s;letter-spacing:.01em;}
.nav-links a:hover{color:#fff;background:rgba(255,255,255,.06);}
.nav-links a.active{color:#fff;background:rgba(255,255,255,.08);}
/* Conta + CTA (direita) */
.nav-account{display:flex;align-items:center;gap:10px;}
.nav-account-btn{display:flex;align-items:center;gap:7px;color:#ccc;font-size:13px;font-weight:500;padding:8px 16px;border-radius:10px;border:1px solid #383838;background:rgba(255,255,255,.03);transition:color .2s,border-color .2s,background .2s;white-space:nowrap;}
.nav-account-btn:hover{color:#fff;border-color:#555;background:rgba(255,255,255,.07);}
.nav-account-btn svg{opacity:.7;flex-shrink:0;}
.nav-account-register{border-color:rgba(220,96,56,.35);color:#e07050;}
.nav-account-register:hover{border-color:#dc6038;color:#fff;background:rgba(220,96,56,.08);}
.nav-cta-btn{display:inline-flex;align-items:center;background:#dc6038 !important;color:#fff !important;font-family:'Syne',sans-serif !important;font-weight:700 !important;font-size:13px !important;padding:10px 22px !important;border-radius:10px !important;transition:background .2s,transform .2s,box-shadow .2s !important;white-space:nowrap;letter-spacing:.02em;}
.nav-cta-btn:hover{background:#e8724a !important;transform:translateY(-1px);box-shadow:0 6px 24px rgba(220,96,56,.3) !important;}
/* Mobile divider */
.nav-mobile-divider{height:1px;background:#2a2a2a;margin:8px 0;}

/* Hamburger */
.nav-hamburger{display:none;flex-direction:column;align-items:center;justify-content:center;width:44px;height:44px;background:#303030;border:1px solid #383838;border-radius:12px;cursor:pointer;gap:5px;flex-shrink:0;transition:background .22s ease,border-color .22s ease;position:relative;z-index:1001;}
.nav-hamburger:hover{background:#2a2a2a;border-color:#454545;}
.ham-line{display:block;width:18px;height:1.5px;background:#fff;border-radius:2px;transform-origin:center;transition:transform .32s cubic-bezier(.4,0,.2,1),opacity .22s ease,width .22s ease;}
.nav-hamburger[aria-expanded="true"] .ham-line:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.nav-hamburger[aria-expanded="true"] .ham-line:nth-child(2){opacity:0;width:0;}
.nav-hamburger[aria-expanded="true"] .ham-line:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}
@media(max-width:860px){.nav-desktop{display:none;}.nav-hamburger{display:flex;}}

/* Mobile panel */
.nav-mobile{position:fixed;top:68px;left:0;right:0;bottom:0;z-index:998;background:rgba(28,28,28,.98);backdrop-filter:blur(32px);-webkit-backdrop-filter:blur(32px);border-top:1px solid #383838;padding:36px 28px 40px;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .36s cubic-bezier(.4,0,.2,1);overflow-y:auto;}
.nav-mobile.is-open{transform:translateX(0);}
.nav-mobile-links{display:flex;flex-direction:column;flex:1;}
.nav-mobile-links a{color:#d4d4d4;font-family:'Syne',sans-serif;font-weight:700;font-size:clamp(24px,6vw,32px);padding:18px 0;border-bottom:1px solid #383838;display:flex;align-items:center;justify-content:space-between;transition:color .22s ease;letter-spacing:-.03em;}
.nav-mobile-links a::after{content:'→';opacity:0;transform:translateX(-8px);transition:opacity .22s ease,transform .22s ease;font-size:20px;color:#dc6038;}
.nav-mobile-links a:hover{color:#dc6038;}
.nav-mobile-links a:hover::after{opacity:1;transform:translateX(0);}
.nav-mobile-links a:last-child{border-bottom:none;}
.nav-mobile-cta{margin-top:28px;display:block;background:#dc6038;color:#fff !important;font-family:'Syne',sans-serif;font-weight:700;font-size:18px;padding:20px;border-radius:20px;text-align:center;letter-spacing:-.02em;transition:background .22s ease,transform .22s ease;}
.nav-mobile-cta:hover{background:#e8724a;transform:translateY(-2px);}
.nav-mobile-meta{margin-top:28px;padding-top:20px;border-top:1px solid #383838;display:flex;align-items:center;justify-content:space-between;}
.nav-mobile-meta a{font-size:13px;color:#888;transition:color .22s ease;}
.nav-mobile-meta a:hover{color:#d4d4d4;}
.nav-mobile-meta .dot{color:#454545;}

/* ══ CONTENT PAGES ══ */
.page-wrap{max-width:760px;margin:0 auto;padding:64px 32px 80px;}
@media(max-width:640px){.page-wrap{padding:48px 20px 64px;}}
.entry-title{font-size:clamp(30px,5vw,52px);margin-bottom:20px;line-height:1.08;}
.entry-meta{font-size:13px;color:#888;margin-bottom:36px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.entry-content h1{font-size:clamp(26px,4vw,42px);margin:40px 0 16px;}
.entry-content h2{font-size:clamp(22px,3vw,32px);margin:36px 0 14px;}
.entry-content h3{font-size:20px;margin:28px 0 12px;}
.entry-content p{color:#d4d4d4;font-size:16px;line-height:1.78;margin-bottom:1.3rem;}
.entry-content a{color:#dc6038;border-bottom:1px solid rgba(220,96,56,.25);}
.entry-content a:hover{border-color:#dc6038;}
.entry-content ul,.entry-content ol{color:#d4d4d4;margin-bottom:1.3rem;padding-left:1.4rem;}
.entry-content li{margin-bottom:.5rem;}
.entry-content blockquote{border-left:3px solid #dc6038;background:rgba(220,96,56,.08);padding:16px 22px;border-radius:0 12px 12px 0;margin:24px 0;color:#d4d4d4;font-style:italic;}
.entry-content code{background:#303030;border:1px solid #383838;border-radius:5px;padding:2px 7px;font-size:.88em;color:#dc6038;font-family:'Courier New',monospace;}
.entry-content pre{background:#303030;border:1px solid #383838;border-radius:12px;padding:20px;overflow-x:auto;margin-bottom:1.3rem;}
.entry-content pre code{background:none;border:none;padding:0;}
.entry-content hr{border:none;border-top:1px solid #383838;margin:32px 0;}
.entry-content table{width:100%;border-collapse:collapse;margin-bottom:1.3rem;font-size:14px;}
.entry-content table th,.entry-content table td{border:1px solid #383838;padding:12px 16px;text-align:left;color:#d4d4d4;}
.entry-content table th{background:#2a2a2a;color:#fff;font-family:'Syne',sans-serif;}
.entry-content table tr:nth-child(even) td{background:rgba(255,255,255,.02);}

/* ══ WOOCOMMERCE ══ */
.woo-main .woocommerce,.woo-content-wrap{max-width:1100px;margin:0 auto;padding:52px 32px;}
.woocommerce ul.products li.product{background:#242424;border:1px solid #383838;border-radius:20px;overflow:hidden;transition:border-color .22s ease,transform .22s ease;}
.woocommerce ul.products li.product:hover{border-color:#454545;transform:translateY(-3px);}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:'Syne',sans-serif;font-size:16px;font-weight:700;color:#fff;padding:0 16px;}
.woocommerce ul.products li.product .price{color:#dc6038;font-family:'Syne',sans-serif;font-weight:700;padding:4px 16px 16px;}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce-page a.button,.woocommerce-page button.button{background:#dc6038 !important;color:#fff !important;font-family:'Syne',sans-serif !important;font-weight:700 !important;border-radius:12px !important;border:none !important;padding:12px 24px !important;font-size:14px !important;transition:background .22s ease,transform .22s ease,box-shadow .22s ease !important;cursor:pointer !important;}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#e8724a !important;transform:translateY(-1px);box-shadow:0 6px 20px rgba(220,96,56,.32);}
.woocommerce-message,.woocommerce-info{background:#242424 !important;border-top:none !important;border-left:3px solid #dc6038 !important;color:#d4d4d4 !important;border-radius:12px !important;padding:16px 20px !important;}
.woocommerce-error{background:#201010 !important;border-left:3px solid #ef4444 !important;color:#d4d4d4 !important;border-radius:12px !important;padding:16px 20px !important;list-style:none !important;}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{background:#303030 !important;border:1px solid #383838 !important;border-radius:12px !important;color:#fff !important;padding:13px 16px !important;font-family:'DM Sans',sans-serif !important;}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{border-color:#dc6038 !important;box-shadow:0 0 0 3px rgba(220,96,56,.14) !important;outline:none !important;}
.woocommerce table.shop_table{border:1px solid #383838 !important;border-radius:20px !important;border-collapse:separate !important;border-spacing:0 !important;overflow:hidden !important;}
.woocommerce table.shop_table th{background:#2a2a2a !important;color:#fff !important;font-family:'Syne',sans-serif !important;font-size:12px !important;text-transform:uppercase !important;letter-spacing:1px !important;border-bottom:1px solid #383838 !important;padding:14px 20px !important;}
.woocommerce table.shop_table td{border-bottom:1px solid #383838 !important;padding:14px 20px !important;color:#d4d4d4 !important;background:#242424 !important;}
.woocommerce table.shop_table .order-total td,.woocommerce table.shop_table .order-total th{color:#dc6038 !important;font-family:'Syne',sans-serif !important;font-weight:700 !important;}
body.woocommerce-checkout,body.woocommerce-order-pay{background:#1c1c1c !important;}

/* ══ FOOTER ══ */
.site-footer{position:relative;z-index:1;background:#242424;border-top:1px solid #383838;}
.footer-body{display:grid;grid-template-columns:1.8fr 1fr 1fr 1fr;gap:52px;padding:56px 0 48px;border-bottom:1px solid #383838;}
@media(max-width:900px){.footer-body{grid-template-columns:1fr 1fr;gap:36px;padding:44px 0 40px;}}
@media(max-width:500px){.footer-body{grid-template-columns:1fr;}}
.footer-brand .f-logo{display:flex;align-items:center;gap:10px;font-family:'Syne',sans-serif;font-weight:800;font-size:20px;color:#fff;text-decoration:none;margin-bottom:14px;}
.footer-brand .f-logo:hover{color:#fff;}
.footer-brand .f-logo em{color:#dc6038;font-style:normal;}
.footer-brand p{font-size:14px;color:#888;line-height:1.7;max-width:250px;}
.f-col h4{font-family:'Syne',sans-serif;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:#888;margin-bottom:18px;}
.f-col ul{list-style:none;padding:0;}
.f-col ul li{margin-bottom:11px;}
.f-col ul li a{color:#aaa;font-size:14px;transition:color .22s ease;}
.f-col ul li a:hover{color:#dc6038;}
.footer-bottom{padding:22px 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;}
.footer-copy{font-size:13px;color:#888;}
.footer-trust{display:flex;gap:10px;}
.trust-chip{display:flex;align-items:center;gap:6px;background:rgba(220,96,56,.10);border:1px solid rgba(220,96,56,.20);border-radius:6px;padding:5px 10px;font-size:11px;color:#dc6038;font-weight:600;letter-spacing:.3px;}
.trust-chip svg{width:11px;height:11px;stroke:#dc6038;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}

/* UTILITIES */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
.text-green,.text-orange{color:#dc6038;}
.text-muted{color:#888;}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s ease;}
.reveal.in-view{opacity:1;transform:none;}
.reveal-d1{transition-delay:.08s;}
.reveal-d2{transition-delay:.16s;}
.reveal-d3{transition-delay:.24s;}

/* PLUGIN NAV OVERRIDES */
.inn9-platform-nav,nav.pnav{background:rgba(28,28,28,.92) !important;border-bottom-color:#383838 !important;}
.pnav-step strong{color:#dc6038 !important;}
.pnav-secure svg{stroke:#dc6038 !important;}
.pnav-logo span{color:#dc6038 !important;}
