/*
Theme Name: Juliane Cost — Moderno
Theme URI: https://julianecost.com
Description: Tema próprio leve e moderno para julianecost.com. Tipografia Montserrat + Open Sans, paleta rosa elegante, cards limpos. Renderiza home, produtos, loja e blog em código puro (sem Elementor) para máxima velocidade, mantendo total compatibilidade com WooCommerce e com os funis FunnelKit. Tema filho de Hello Elementor.
Author: Juliane Cost
Author URI: https://julianecost.com
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: julianecost-moderno
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root{
  --jc-rose:#C4607A;
  --jc-rose-dark:#9B4A6A;
  --jc-rose-soft:#FDEEF1;
  --jc-ink:#1C1A1B;
  --jc-muted:#6E6A6C;
  --jc-bg:#FBF9FA;
  --jc-card:#FFFFFF;
  --jc-border:#F0E9ED;
  --jc-shadow:0 2px 14px rgba(28,26,27,.07);
  --jc-shadow-hover:0 12px 34px rgba(196,96,122,.16);
  --jc-radius:18px;
  --jc-radius-sm:12px;
  --jc-maxw:1200px;
  --jc-font-head:'Playfair Display','Georgia',serif;
  --jc-font-body:'Open Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

/* =========================================================
   BASE / RESET
   ========================================================= */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--jc-font-body);
  font-size:16px;
  line-height:1.65;
  color:var(--jc-ink);
  background:linear-gradient(180deg,#FCE7E9 0%,#FAF2E7 35%,#F7ECDC 100%) fixed;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block;}
a{color:var(--jc-rose);text-decoration:none;transition:color .18s ease;}
a:hover{color:var(--jc-rose-dark);}
h1,h2,h3,h4,h5,h6{
  font-family:var(--jc-font-head);
  color:var(--jc-ink);
  letter-spacing:-.02em;
  font-weight:700;
  line-height:1.22;
  margin:0 0 .5em;
}
p{margin:0 0 1em;}

/* =========================================================
   LAYOUT
   ========================================================= */
.jc-container{max-width:var(--jc-maxw);margin:0 auto;padding:0 20px;}
.jc-section{padding:48px 0;}
.jc-section--alt{background:#fff;}
.jc-section-title{
  text-align:center;
  font-size:clamp(24px,3.2vw,34px);
  margin:0 0 32px;
  position:relative;
}
.jc-section-title::after{
  content:"";display:block;width:54px;height:3px;border-radius:3px;
  background:var(--jc-rose);margin:14px auto 0;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.jc-header{
  background:#fff;
  border-bottom:1px solid var(--jc-border);
  box-shadow:0 1px 8px rgba(0,0,0,.04);
  position:sticky;top:0;z-index:999;
}
.jc-header__inner{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  max-width:var(--jc-maxw);margin:0 auto;padding:12px 20px;
}
.jc-brand{display:flex;align-items:center;gap:12px;text-decoration:none;}
.jc-brand__avatar{
  width:46px;height:46px;border-radius:50%;object-fit:cover;
  padding:2px;background:#fff;
  border:2px solid var(--jc-rose);
}
.jc-brand__name{font-family:var(--jc-font-head);font-weight:700;font-size:15px;color:var(--jc-ink);line-height:1.2;}
.jc-brand__name small{display:block;font-weight:500;font-size:12px;color:var(--jc-muted);}
.jc-nav ul{list-style:none;display:flex;gap:8px;margin:0;padding:0;}
.jc-nav a{
  font-family:var(--jc-font-head);font-weight:600;font-size:14px;color:#555;
  padding:8px 14px;border-radius:50px;transition:all .18s ease;
}
.jc-nav a:hover{color:var(--jc-rose);background:var(--jc-rose-soft);}
.jc-nav .current-menu-item>a,.jc-nav .current_page_item>a{color:var(--jc-rose);background:var(--jc-rose-soft);}
.jc-nav-toggle{display:none;background:none;border:0;font-size:26px;color:var(--jc-ink);cursor:pointer;line-height:1;}

/* =========================================================
   HERO / CTA WHATSAPP
   ========================================================= */
.jc-cta{
  background:linear-gradient(135deg,var(--jc-rose-soft),#fff);
  border-bottom:1px solid var(--jc-border);
}
.jc-cta__inner{
  max-width:760px;margin:0 auto;padding:36px 20px;text-align:center;
}
.jc-cta__banner{border-radius:var(--jc-radius);box-shadow:var(--jc-shadow);margin:0 auto;display:inline-block;overflow:hidden;}
.jc-cta__banner img{border-radius:var(--jc-radius);}
.jc-cta__btn{
  display:inline-flex;align-items:center;gap:10px;margin-top:18px;
  background:#25D366;color:#fff;font-family:var(--jc-font-head);font-weight:700;
  padding:13px 28px;border-radius:50px;box-shadow:0 4px 14px rgba(37,211,102,.35);
  transition:transform .18s ease,box-shadow .18s ease;
}
.jc-cta__btn:hover{color:#fff;transform:translateY(-2px);box-shadow:0 7px 20px rgba(37,211,102,.45);}

/* =========================================================
   PRODUCT GRID (home + WooCommerce loop)
   ========================================================= */
.jc-grid,
ul.products{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(4,1fr);gap:22px;
}
ul.products::before,ul.products::after{display:none;}
ul.products li.product,
.jc-card{
  background:var(--jc-card);
  border-radius:var(--jc-radius);
  box-shadow:var(--jc-shadow);
  overflow:hidden;
  transition:transform .3s cubic-bezier(.25,.8,.25,1),box-shadow .3s cubic-bezier(.25,.8,.25,1);
  display:flex;flex-direction:column;
  margin:0!important;width:auto!important;float:none!important;text-align:center;
}
ul.products li.product:hover,
.jc-card:hover{transform:translateY(-5px);box-shadow:var(--jc-shadow-hover);}
ul.products li.product a img,
.jc-card__img{transition:transform .45s ease;width:100%;}
ul.products li.product:hover a img,
.jc-card:hover .jc-card__img{transform:scale(1.06);}
ul.products li.product .woocommerce-loop-product__title,
.jc-card__title{
  font-family:var(--jc-font-head);font-size:14px;font-weight:600;
  padding:14px 16px 4px;color:var(--jc-ink);line-height:1.45;flex:1;
}
ul.products li.product .price,
.jc-card__price{padding:0 16px 6px;font-weight:700;font-size:16px;color:var(--jc-rose);}
ul.products li.product .price del,.jc-card__price del{color:#aaa;font-size:12px;font-weight:400;}
ul.products li.product .star-rating,.jc-stars{margin:0 auto 10px;font-size:13px;color:#F6A700;}

/* =========================================================
   BOTÕES
   ========================================================= */
.jc-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
ul.products li.product a.button,
.woocommerce .single_add_to_cart_button,
.wp-element-button{
  display:inline-block;background:var(--jc-rose)!important;color:#fff!important;
  font-family:var(--jc-font-head);font-weight:700;font-size:14px;letter-spacing:.02em;
  border:0!important;border-radius:50px!important;padding:11px 24px!important;
  box-shadow:0 3px 10px rgba(196,96,122,.25);cursor:pointer;text-align:center;
  transition:background .2s ease,transform .18s ease,box-shadow .2s ease;
}
ul.products li.product a.button{display:block;margin:4px 16px 18px!important;}
.jc-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
ul.products li.product a.button:hover,
.woocommerce .single_add_to_cart_button:hover,
.wp-element-button:hover{
  background:var(--jc-rose-dark)!important;color:#fff!important;transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(196,96,122,.38);
}
.jc-seeall{text-align:center;margin-top:34px;}

/* =========================================================
   SINGLE PRODUCT
   ========================================================= */
.single-product div.product{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;}
.single-product div.product .product_title{font-size:clamp(24px,3vw,34px);margin-bottom:14px;}
.single-product div.product .price{font-size:26px;font-weight:700;color:var(--jc-rose);}
.single-product .woocommerce-product-gallery{border-radius:var(--jc-radius);overflow:hidden;}
.woocommerce-tabs ul.tabs li a{font-family:var(--jc-font-head);font-weight:600;}
.woocommerce-tabs ul.tabs li.active a{color:var(--jc-rose);}

/* =========================================================
   BLOG / PÁGINAS
   ========================================================= */
.jc-article{max-width:760px;margin:0 auto;background:#fff;border-radius:var(--jc-radius);box-shadow:var(--jc-shadow);padding:40px;}
.jc-article h1{font-size:clamp(26px,3.4vw,38px);margin-bottom:8px;}
.jc-article .jc-meta{color:var(--jc-muted);font-size:14px;margin-bottom:24px;}
.jc-article img{border-radius:var(--jc-radius-sm);margin:24px 0;}
.jc-postcard{background:#fff;border-radius:var(--jc-radius);box-shadow:var(--jc-shadow);overflow:hidden;transition:transform .3s,box-shadow .3s;}
.jc-postcard:hover{transform:translateY(-4px);box-shadow:var(--jc-shadow-hover);}
.jc-postcard__body{padding:18px 20px 22px;}
.jc-postcard__title{font-size:18px;margin-bottom:8px;}
.jc-postcard__excerpt{color:var(--jc-muted);font-size:14px;}

/* =========================================================
   WOOCOMMERCE NOTICES / PAGINAÇÃO
   ========================================================= */
.woocommerce-message,.woocommerce-info{border-radius:var(--jc-radius-sm);border-top:3px solid var(--jc-rose);background:var(--jc-rose-soft);}
.woocommerce-pagination ul li a,.woocommerce-pagination ul li span{border-radius:8px!important;}
.woocommerce-pagination ul li span.current{background:var(--jc-rose)!important;color:#fff!important;border-color:var(--jc-rose)!important;}

/* =========================================================
   FOOTER
   ========================================================= */
.jc-footer{background:#1C1A1B;color:#cfc9cc;margin-top:48px;}
.jc-footer__inner{max-width:var(--jc-maxw);margin:0 auto;padding:42px 20px;display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:center;}
.jc-footer a{color:#fff;}
.jc-footer a:hover{color:var(--jc-rose);}
.jc-footer__nav{display:flex;gap:18px;flex-wrap:wrap;font-family:var(--jc-font-head);font-weight:600;font-size:14px;}
.jc-footer__copy{font-size:13px;color:#8d8689;width:100%;text-align:center;border-top:1px solid #2f2b2d;padding:18px 20px;}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width:1024px){
  .jc-grid,ul.products{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:768px){
  .jc-grid,ul.products{grid-template-columns:repeat(2,1fr);gap:14px;}
  .single-product div.product{grid-template-columns:1fr;gap:24px;}
  .jc-nav{position:fixed;inset:0 0 0 auto;width:78%;max-width:320px;background:#fff;
    transform:translateX(100%);transition:transform .3s ease;box-shadow:-8px 0 30px rgba(0,0,0,.12);
    padding:70px 20px 20px;z-index:1000;}
  .jc-nav.is-open{transform:translateX(0);}
  .jc-nav ul{flex-direction:column;gap:4px;}
  .jc-nav a{display:block;}
  .jc-nav-toggle{display:block;}
  .jc-article{padding:24px;}
}
@media (max-width:480px){
  .jc-grid,ul.products{grid-template-columns:1fr;}
}


/* === FIX: layout da página de produto (override floats do WooCommerce) === */
.woocommerce div.product{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start;}
.woocommerce div.product .woocommerce-product-gallery{float:none!important;width:calc(50% - 24px)!important;margin:0!important;border-radius:var(--jc-radius);overflow:hidden;}
.woocommerce div.product .summary,.woocommerce div.product .entry-summary{float:none!important;width:calc(50% - 24px)!important;margin:0!important;}
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{width:100%!important;float:none!important;}
@media (max-width:768px){.woocommerce div.product{gap:24px;}.woocommerce div.product .woocommerce-product-gallery,.woocommerce div.product .summary,.woocommerce div.product .entry-summary{width:100%!important;}}


/* === FIX: abas do produto (Descricao/Avaliacoes) - limpa o estilo padrao do WooCommerce === */
.woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 22px;padding:0 0 0;border-bottom:1px solid var(--jc-border);list-style:none;}
.woocommerce-tabs ul.tabs::before{display:none!important;}
.woocommerce-tabs ul.tabs li{background:transparent!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;position:static!important;}
.woocommerce-tabs ul.tabs li::before,.woocommerce-tabs ul.tabs li::after{display:none!important;}
.woocommerce-tabs ul.tabs li a{display:block;padding:10px 16px;font-family:var(--jc-font-head);font-weight:600;font-size:14px;color:#777;border:0;border-bottom:3px solid transparent;}
.woocommerce-tabs ul.tabs li.active a{color:var(--jc-rose);border-bottom-color:var(--jc-rose);}
.woocommerce-tabs ul.tabs li a:hover{color:var(--jc-rose);}
.woocommerce-tabs .panel{padding:0;}
.woocommerce-tabs .panel h2{font-family:var(--jc-font-head);font-size:20px;}
@media (max-width:768px){
  .woocommerce-tabs ul.tabs{gap:2px;}
  .woocommerce-tabs ul.tabs li a{padding:9px 12px;font-size:13px;}
}


/* === Botao flutuante do WhatsApp === */
.jc-whatsapp-float{position:fixed;bottom:22px;right:22px;width:58px;height:58px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(37,211,102,.45);z-index:9999;transition:transform .2s ease,box-shadow .2s ease;}
.jc-whatsapp-float:hover{transform:scale(1.08);box-shadow:0 8px 24px rgba(37,211,102,.55);}
@media (max-width:768px){.jc-whatsapp-float{width:52px;height:52px;bottom:16px;right:16px;}}


/* === LINKS PAGE — Bege/Quiz Plano da Ju (escopado page-id-3712) === */
body.page-id-3712{
  background: linear-gradient(180deg,#FCE7E9 0%,#FAF2E7 35%,#F7ECDC 100%) !important;
  background-attachment: fixed;
}
body.page-id-3712 .jc-header{background:transparent !important;border-bottom:none !important;box-shadow:none !important;}
body.page-id-3712 .jc-main{padding-top:0;}
body.page-id-3712 .jc-article,
body.page-id-3712 .jc-section{
  background:transparent !important;box-shadow:none !important;
  padding:8px 16px 32px !important;max-width:520px !important;margin:0 auto;
}
body.page-id-3712 .jc-content{background:transparent !important;}

/* Tipografia serif elegante */
body.page-id-3712 h1.wp-block-heading,
body.page-id-3712 h1{
  font-family:'Playfair Display','Georgia',serif !important;
  font-weight:700;font-style:italic;
  font-size:clamp(34px,8vw,46px);
  color:#2D1B2E !important;text-align:center;
  margin:28px auto 4px;letter-spacing:-0.01em;
}
body.page-id-3712 .has-text-align-center{
  font-family:'Playfair Display','Georgia',serif;
  font-size:16px;color:#6B5560;font-style:italic;font-weight:400;
  margin:0 auto 24px;max-width:420px;line-height:1.5;
}

/* Botoes em cards brancos com chevron rosa */
body.page-id-3712 .wp-block-buttons{
  display:flex !important;flex-direction:column !important;
  gap:12px !important;max-width:440px;margin:18px auto !important;padding:0;
}
body.page-id-3712 .wp-block-button{width:100%;}
body.page-id-3712 a.wp-block-button__link.wp-element-button,
body.page-id-3712 a.wp-element-button{
  background:#FFFFFF !important;color:#2D1B2E !important;
  font-family:'Playfair Display','Georgia',serif !important;
  font-weight:500;font-size:17px;letter-spacing:0 !important;
  padding:18px 58px 18px 22px !important;border-radius:18px !important;
  text-align:left !important;position:relative;text-decoration:none;
  box-shadow:0 1px 2px rgba(45,27,46,.05),0 0 0 1px rgba(196,96,122,.08) !important;
  transition:transform .22s ease,box-shadow .22s ease,color .22s ease;
}
body.page-id-3712 a.wp-block-button__link.wp-element-button::after,
body.page-id-3712 a.wp-element-button::after{
  content:"\203A";position:absolute;right:18px;top:50%;
  transform:translateY(-50%);width:30px;height:30px;border-radius:50%;
  background:#FDEEF1;color:#C4607A;font-size:20px;font-weight:600;
  line-height:30px;text-align:center;
}
body.page-id-3712 a.wp-block-button__link.wp-element-button:hover,
body.page-id-3712 a.wp-element-button:hover{
  transform:translateY(-2px);background:#FFFFFF !important;color:#C4607A !important;
  box-shadow:0 8px 22px rgba(196,96,122,.18),0 0 0 1px rgba(196,96,122,.22) !important;
}

/* Redes sociais */
body.page-id-3712 h3.wp-block-heading,
body.page-id-3712 h3{
  font-family:'Playfair Display','Georgia',serif !important;
  font-size:14px;font-style:italic;color:#8E7780 !important;font-weight:500;
  letter-spacing:0.08em;text-align:center;text-transform:uppercase;
  margin-top:36px !important;margin-bottom:8px !important;
}
body.page-id-3712 h3 + .has-text-align-center a,
body.page-id-3712 p.has-text-align-center a{
  color:#C4607A !important;font-family:'Playfair Display','Georgia',serif !important;
  font-style:italic;text-decoration:none;margin:0 6px;font-size:16px;
}

/* Esconder botao flutuante do WhatsApp (Parcerias ja esta no botao) */
body.page-id-3712 .jc-whatsapp-float{display:none !important;}

/* Footer mais discreto */
body.page-id-3712 .jc-footer{background:transparent !important;color:#A89AA0 !important;margin-top:16px !important;}
body.page-id-3712 .jc-footer__inner,
body.page-id-3712 .jc-footer__nav{display:none !important;}
body.page-id-3712 .jc-footer__copy{color:#B5A8AE !important;border-top:none !important;font-family:'Playfair Display',serif !important;font-style:italic;}
