/*
Theme Name: Cresce Cabelo
Theme URI: https://crescecabelo.com.br
Author: Cresce Cabelo
Author URI: https://crescecabelo.com.br
Description: Tema personalizado para Cresce Cabelo - Extrato de Priorin. Landing page com integração WooCommerce e Pagar.me.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cresce-cabelo
Tags: e-commerce, woocommerce, one-column, custom-colors, custom-menu
*/

/* === RESET & BASE === */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;background:#F7F4EF;color:#1a1a1a;overflow-x:hidden}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{max-width:1280px;margin:0 auto;padding:0 20px}
@media(min-width:1024px){.container{padding:0 80px}}

/* === NAVBAR === */
.navbar{position:fixed;top:0;left:0;right:0;z-index:50;transition:all .3s;background:transparent}
.navbar.scrolled{background:#0F1E18;box-shadow:0 2px 20px rgba(0,0,0,.3)}
.navbar-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
@media(min-width:1024px){.navbar-inner{height:80px}}
.logo{display:flex;align-items:center;gap:8px}
.logo svg{width:24px;height:24px;color:#C8A55C}
@media(min-width:1024px){.logo svg{width:28px;height:28px}}
.logo-text{display:flex;flex-direction:column}
.logo-text span:first-child{font-family:'Playfair Display',serif;font-size:18px;font-weight:600;color:#F7F4EF;letter-spacing:-0.02em;line-height:1.1}
@media(min-width:1024px){.logo-text span:first-child{font-size:20px}}
.logo-text span:last-child{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#C8A55C;line-height:1.1}
@media(min-width:1024px){.logo-text span:last-child{font-size:12px}}
.nav-links{display:none;align-items:center;gap:32px}
@media(min-width:1024px){.nav-links{display:flex}}
.nav-links a{font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:500;color:#F7F4EF;transition:color .2s;position:relative;padding:4px 0}
.nav-links a:hover{color:#C8A55C}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:1px;background:#C8A55C;transition:width .3s}
.nav-links a:hover::after{width:100%}
.nav-icons{display:flex;align-items:center;gap:12px}
@media(min-width:1024px){.nav-icons{gap:20px}}
.nav-icons a{color:#F7F4EF;transition:color .2s;display:none}
@media(min-width:1024px){.nav-icons a{display:flex}}
.nav-icons a:hover{color:#C8A55C}
.nav-icons svg{width:20px;height:20px}
.cart-count{position:relative}
.cart-count .count{position:absolute;top:-6px;right:-6px;background:#C8A55C;color:#fff;font-size:9px;font-weight:700;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.mobile-menu-btn{display:flex;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
@media(min-width:1024px){.mobile-menu-btn{display:none}}
.mobile-menu-btn span{width:22px;height:2px;background:#F7F4EF;transition:all .3s}
.mobile-menu{display:none;position:fixed;top:64px;left:0;right:0;background:#0F1E18;padding:20px;z-index:49}
.mobile-menu.active{display:block}
.mobile-menu a{display:block;padding:12px 0;color:#F7F4EF;font-size:14px;text-transform:uppercase;letter-spacing:.1em;border-bottom:1px solid rgba(247,244,239,.1)}

/* === HERO === */
.hero{position:relative;min-height:100dvh;display:flex;align-items:center;overflow:hidden;background:#0F1E18}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;opacity:.4}
.hero-bg-overlay{position:absolute;inset:0;background:radial-gradient(at center bottom,rgba(15,30,24,.3) 0%,rgba(15,30,24,.6) 60%,rgba(15,30,24,.9) 100%)}
.hero-gradient{position:absolute;inset:0;background:linear-gradient(to right,rgba(15,30,24,.92) 0%,rgba(15,30,24,.75) 50%,rgba(15,30,24,.4) 100%)}
.hero-content{position:relative;z-index:10;padding:100px 0 60px}
@media(min-width:1024px){.hero-content{padding:120px 0 80px}}
.hero-badge{display:inline-block;font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#C8A55C;margin-bottom:24px;font-weight:500}
.hero-title{font-family:'Playfair Display',serif;font-size:36px;font-weight:700;color:#F7F4EF;line-height:1.15;margin-bottom:20px}
@media(min-width:1024px){.hero-title{font-size:56px}}
.hero-title .gold{color:#C8A55C}
.hero-title .typed-cursor{color:#C8A55C;animation:blink 1s infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}
.hero-desc{font-size:15px;color:rgba(247,244,239,.7);line-height:1.7;margin-bottom:36px;max-width:500px}
@media(min-width:1024px){.hero-desc{font-size:17px}}
.hero-btns{display:flex;flex-wrap:wrap;gap:16px}

/* === BUTTONS === */
.btn-outline{padding:14px 28px;border:1px solid rgba(247,244,239,.3);color:#F7F4EF;border-radius:8px;font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:500;cursor:pointer;background:transparent;transition:all .3s;display:inline-block}
.btn-outline:hover{background:rgba(247,244,239,.1);border-color:#C8A55C}
.btn-gold{padding:14px 28px;background:#C8A55C;color:#fff;border:none;border-radius:8px;font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:600;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;gap:8px}
.btn-gold:hover{background:#b8943f;transform:translateY(-1px)}
.btn-whatsapp{padding:14px 28px;background:#25D366;color:#fff;border:none;border-radius:8px;font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:600;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;gap:8px}
.btn-whatsapp:hover{background:#1da851;transform:translateY(-1px)}

/* === SERVICES === */
.services{background:#F7F4EF;padding:80px 0}
@media(min-width:1024px){.services{padding:128px 0}}
.section-badge{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#C8A55C;margin-bottom:12px;font-weight:500;text-align:center;display:block}
.section-title{font-family:'Playfair Display',serif;font-size:28px;font-weight:700;color:#0F1E18;text-align:center;margin-bottom:16px}
@media(min-width:1024px){.section-title{font-size:40px}}
.section-desc{text-align:center;color:#666;font-size:15px;max-width:600px;margin:0 auto 48px;line-height:1.7}
.services-grid{display:grid;grid-template-columns:1fr;gap:24px}
@media(min-width:768px){.services-grid{grid-template-columns:repeat(3,1fr)}}
.service-card{position:relative;background:linear-gradient(135deg,#1B3A2F,#2D5A4A);border-radius:12px;padding:32px;transition:all .3s;overflow:hidden}
@media(min-width:1024px){.service-card{padding:40px}}
.service-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(27,58,47,.3)}
.service-icon{width:48px;height:48px;border-radius:12px;background:rgba(200,165,92,.15);display:flex;align-items:center;justify-content:center;margin-bottom:20px;color:#C8A55C}
.service-card h3{font-family:'Playfair Display',serif;font-size:20px;color:#F7F4EF;margin-bottom:12px}
.service-card p{font-size:14px;color:rgba(247,244,239,.7);line-height:1.7;margin-bottom:24px}
.service-card .btn-link{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#C8A55C;font-weight:600;border:none;background:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:gap .3s}
.service-card .btn-link:hover{gap:10px}

/* === PRODUCTS === */
.products{background:#F7F4EF;padding:80px 0}
@media(min-width:1024px){.products{padding:128px 0}}
.filter-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:40px}
.filter-tab{padding:8px 20px;border:1px solid #ddd;border-radius:20px;background:transparent;font-size:11px;text-transform:uppercase;letter-spacing:.1em;cursor:pointer;transition:all .3s;color:#666;font-weight:500}
.filter-tab.active,.filter-tab:hover{background:#1B3A2F;color:#F7F4EF;border-color:#1B3A2F}
.products-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
@media(min-width:768px){.products-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.products-grid{grid-template-columns:repeat(4,1fr)}}
.product-card{background:#fff;border-radius:12px;overflow:hidden;transition:all .3s;position:relative}
.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.1)}
.product-img{position:relative;aspect-ratio:1;background:linear-gradient(135deg,#F7F4EF,#E8E2D9);overflow:hidden;display:flex;align-items:center;justify-content:center;padding:20px}
.product-img img{max-height:100%;object-fit:contain;transition:transform .3s}
.product-card:hover .product-img img{transform:scale(1.05)}
.product-badge{position:absolute;top:12px;left:12px;padding:4px 10px;border-radius:4px;font-size:10px;font-weight:700;text-transform:uppercase;color:#fff}
.badge-sale{background:#e53e3e}
.badge-hot{background:#C8A55C}
.badge-new{background:#1B3A2F}
.product-btn{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:10px 24px;background:#1B3A2F;color:#fff;border:none;border-radius:8px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:600;cursor:pointer;opacity:0;transition:all .3s;white-space:nowrap}
.product-card:hover .product-btn{opacity:1}
.product-info{padding:16px}
.product-cat{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#C8A55C;font-weight:600;margin-bottom:4px}
.product-name{font-size:14px;font-weight:600;color:#0F1E18;margin-bottom:4px;line-height:1.3}
.product-reviews{font-size:12px;color:#999;margin-bottom:8px}
.product-price{font-size:16px;font-weight:700;color:#1B3A2F}
.product-price .old-price{font-size:13px;color:#999;text-decoration:line-through;font-weight:400;margin-left:6px}
.product-actions{display:flex;gap:8px;margin-top:10px}
.product-actions .btn-buy{flex:1;padding:8px;background:#1B3A2F;color:#fff;border:none;border-radius:6px;font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:600;cursor:pointer;transition:background .3s;text-align:center}
.product-actions .btn-buy:hover{background:#2D5A4A}
.product-actions .btn-wpp{padding:8px 12px;background:#25D366;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background .3s;display:flex;align-items:center;justify-content:center}
.product-actions .btn-wpp:hover{background:#1da851}
.product-actions .btn-wpp svg{width:16px;height:16px}

/* === PRIORIN SECRET === */
.priorin-secret{position:relative;padding:80px 0;overflow:hidden;background:#0F1E18}
@media(min-width:1024px){.priorin-secret{padding:128px 0}}
.priorin-grid{display:grid;grid-template-columns:1fr;gap:48px;align-items:center}
@media(min-width:1024px){.priorin-grid{grid-template-columns:1fr 1fr}}
.priorin-img{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:3/4}
.priorin-img img{width:100%;height:100%;object-fit:cover}
.priorin-img-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(27,58,47,.9) 0%,rgba(27,58,47,.3) 50%,transparent 100%)}
.priorin-content .section-badge,.priorin-content .section-title{text-align:left}
.priorin-content .section-title{color:#F7F4EF}
.priorin-text{color:rgba(247,244,239,.7);font-size:15px;line-height:1.8;margin-bottom:16px}
.priorin-text strong{color:#C8A55C}
.priorin-features{list-style:none;margin:24px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.priorin-features li{display:flex;align-items:center;gap:8px;font-size:14px;color:rgba(247,244,239,.8)}
.priorin-features li svg{width:18px;height:18px;color:#C8A55C;flex-shrink:0}
.priorin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px;padding-top:40px;border-top:1px solid rgba(247,244,239,.1)}
.stat-item .stat-number{font-family:'Playfair Display',serif;font-size:32px;font-weight:700;color:#C8A55C}
@media(min-width:1024px){.stat-item .stat-number{font-size:40px}}
.stat-item .stat-label{font-size:12px;color:rgba(247,244,239,.6);margin-top:4px}

/* === BEFORE AFTER === */
.before-after{background:#F7F4EF;padding:80px 0}
@media(min-width:1024px){.before-after{padding:128px 0}}
.ba-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
@media(min-width:768px){.ba-grid{grid-template-columns:repeat(3,1fr)}}
.ba-card{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:3/4;cursor:pointer}
.ba-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.ba-card:hover img{transform:scale(1.05)}
.ba-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(27,58,47,.9) 0%,rgba(27,58,47,.3) 50%,transparent 100%)}
.ba-info{position:absolute;bottom:0;left:0;right:0;padding:20px}
.ba-tag{display:inline-block;padding:3px 8px;border-radius:4px;font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#fff;margin-bottom:8px}
.ba-tag.growth{background:#C8A55C}
.ba-tag.strength{background:#2D5A4A}
.ba-title{font-size:14px;font-weight:600;color:#F7F4EF;margin-bottom:4px}
.ba-client{font-size:12px;color:rgba(247,244,239,.6)}
.ba-result{position:absolute;top:12px;right:12px;padding:6px 12px;background:rgba(200,165,92,.9);border-radius:6px;font-size:13px;font-weight:700;color:#fff}

/* === TESTIMONIALS === */
.testimonials{background:#F7F4EF;padding:80px 0}
@media(min-width:1024px){.testimonials{padding:128px 0}}
.test-grid{display:grid;grid-template-columns:1fr;gap:24px}
@media(min-width:768px){.test-grid{grid-template-columns:repeat(3,1fr)}}
.test-card{background:#fff;border-radius:12px;padding:28px;transition:all .3s}
.test-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.08)}
.test-stars{color:#C8A55C;margin-bottom:16px;font-size:16px;letter-spacing:2px}
.test-text{font-size:14px;color:#555;line-height:1.7;margin-bottom:20px;font-style:italic}
.test-author{display:flex;align-items:center;gap:12px}
.test-avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;flex-shrink:0}
.test-avatar img{width:100%;height:100%;object-fit:cover}
.test-name{font-size:14px;font-weight:600;color:#0F1E18}
.test-role{font-size:12px;color:#999}
.test-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:48px;padding:32px;background:#1B3A2F;border-radius:12px}
@media(min-width:768px){.test-stats{grid-template-columns:repeat(4,1fr)}}
.test-stat{text-align:center}
.test-stat .num{font-family:'Playfair Display',serif;font-size:28px;font-weight:700;color:#C8A55C}
.test-stat .label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:rgba(247,244,239,.6);margin-top:4px}

/* === ABOUT === */
.about{background:#F7F4EF;padding:80px 0}
@media(min-width:1024px){.about{padding:128px 0}}
.about-grid{display:grid;grid-template-columns:1fr;gap:48px;align-items:center}
@media(min-width:1024px){.about-grid{grid-template-columns:1fr 1fr}}
.about-img{border-radius:16px;overflow:hidden;aspect-ratio:1/1}
.about-img img{width:100%;height:100%;object-fit:cover}
.about-content .section-badge,.about-content .section-title{text-align:left}
.about-text{font-size:15px;color:#555;line-height:1.8;margin-bottom:16px}
.about-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}
.about-badge{text-align:center;padding:20px 12px;background:#fff;border-radius:12px}
.about-badge svg{width:32px;height:32px;color:#C8A55C;margin:0 auto 8px}
.about-badge h4{font-size:13px;font-weight:600;color:#0F1E18;margin-bottom:4px}
.about-badge p{font-size:11px;color:#999}

/* === FAQ === */
.faq{background:#F7F4EF;padding:80px 0}
@media(min-width:1024px){.faq{padding:128px 0}}
.faq-list{max-width:800px;margin:0 auto}
.faq-item{background:#fff;border-radius:12px;margin-bottom:12px;overflow:hidden;transition:all .3s}
.faq-question{width:100%;padding:20px 24px;background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;text-align:left;font-size:15px;font-weight:600;color:#0F1E18;transition:color .3s}
.faq-question:hover{color:#C8A55C}
.faq-question svg{width:20px;height:20px;color:#C8A55C;transition:transform .3s;flex-shrink:0}
.faq-item.active .faq-question svg{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-answer-inner{padding:0 24px 20px;font-size:14px;color:#666;line-height:1.7}
.faq-item.active .faq-answer{max-height:300px}
.faq-cta{text-align:center;margin-top:40px;padding:32px;background:#1B3A2F;border-radius:12px}
.faq-cta h3{font-family:'Playfair Display',serif;font-size:20px;color:#F7F4EF;margin-bottom:8px}
.faq-cta p{font-size:14px;color:rgba(247,244,239,.6);margin-bottom:20px}
.faq-cta-btns{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}

/* === FOOTER === */
.footer{background:#0F1E18;color:#F7F4EF;padding:64px 0 0}
.footer-grid{display:grid;grid-template-columns:1fr;gap:40px;padding-bottom:48px;border-bottom:1px solid rgba(247,244,239,.1)}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1.5fr}}
.footer-brand p{font-size:14px;color:rgba(247,244,239,.6);line-height:1.7;margin:16px 0 20px}
.footer-social{display:flex;gap:12px}
.footer-social a{width:36px;height:36px;border-radius:50%;border:1px solid rgba(247,244,239,.2);display:flex;align-items:center;justify-content:center;color:#F7F4EF;transition:all .3s}
.footer-social a:hover{background:#C8A55C;border-color:#C8A55C}
.footer-social svg{width:16px;height:16px}
.footer h4{font-size:14px;font-weight:600;margin-bottom:16px;color:#F7F4EF}
.footer-links{list-style:none}
.footer-links li{margin-bottom:10px}
.footer-links a{font-size:14px;color:rgba(247,244,239,.6);transition:color .3s}
.footer-links a:hover{color:#C8A55C}
.footer-contact p{font-size:14px;color:rgba(247,244,239,.6);margin-bottom:8px}
.newsletter-form{display:flex;gap:8px;margin-top:12px}
.newsletter-form input{flex:1;padding:10px 16px;border-radius:8px;border:1px solid rgba(247,244,239,.2);background:transparent;color:#F7F4EF;font-size:14px}
.newsletter-form input::placeholder{color:rgba(247,244,239,.4)}
.newsletter-form button{padding:10px 20px;background:#C8A55C;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:background .3s;font-size:14px}
.newsletter-form button:hover{background:#b8943f}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding:24px 0;gap:12px}
.footer-bottom p{font-size:12px;color:rgba(247,244,239,.4)}
.footer-bottom-links{display:flex;gap:16px}
.footer-bottom-links a{font-size:12px;color:rgba(247,244,239,.4);transition:color .3s}
.footer-bottom-links a:hover{color:#C8A55C}
.footer-payments{display:flex;gap:8px;align-items:center;font-size:11px;color:rgba(247,244,239,.4)}

/* === BACK TO TOP === */
.back-to-top{position:fixed;bottom:24px;right:24px;width:44px;height:44px;border-radius:50%;background:#1B3A2F;color:#F7F4EF;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all .3s;z-index:40;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.back-to-top.visible{opacity:1;visibility:visible}
.back-to-top:hover{background:#C8A55C}

/* === WOOCOMMERCE OVERRIDES === */
.woocommerce .products-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
@media(min-width:768px){.woocommerce .products-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.woocommerce .products-grid{grid-template-columns:repeat(4,1fr)}}
.woocommerce ul.products{margin:0!important;padding:0!important}
.woocommerce ul.products li.product{margin:0!important;padding:0!important;width:100%!important;float:none!important}
.woocommerce ul.products li.product a img{border-radius:8px}
.woocommerce .button,.woocommerce .add_to_cart_button{background:#1B3A2F!important;color:#fff!important;border:none!important;border-radius:8px!important;padding:10px 20px!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.05em!important}
.woocommerce .button:hover,.woocommerce .add_to_cart_button:hover{background:#C8A55C!important}

/* === PAGAR.ME CHECKOUT === */
.pagarme-checkout-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:9999;display:flex;align-items:center;justify-content:center}
.pagarme-checkout-modal{background:#fff;border-radius:12px;padding:32px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}
