/*
Theme Name: eBooks Planet
Theme URI: https://ebooksplanet.com.br/
Author: Prosperity Engine
Author URI: https://prosperityengine.com.br/
Description: Tema de catálogo/landing page para e-books e infoprodutos, editável pelo Personalizar do WordPress.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ebooksplanet
Tags: landing-page, one-page, catalog, customizer, featured-images
*/

:root{
  --teal:#2f8f88;--teal-dark:#1f6d68;--coral:#f47f68;--coral-dark:#dd684f;
  --mint:#eaf7f2;--cream:#fff8ef;--soft:#fffdf8;--line:#eadfd0;
  --gold:#f6b24d;--green:#7da46e;--ink:#355056;--muted:#6f7a7c;
  --head:'Nunito',system-ui,-apple-system,"Segoe UI",sans-serif;
  --body:'Nunito',system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--body);color:var(--ink);background:var(--cream);line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wrap{width:min(1120px,calc(100% - 40px));margin:0 auto}
.center{text-align:center}
.section{padding:46px 0}
.section-title{font-size:clamp(28px,4vw,40px);line-height:1.08;color:var(--teal);font-weight:900;text-align:center;margin:0 0 28px}
.section-title::before,.section-title::after{content:"";display:inline-block;width:30px;height:18px;background:radial-gradient(circle at 20% 70%,#9cb985 0 18%,transparent 19%),radial-gradient(circle at 45% 50%,#b6c99c 0 16%,transparent 17%),radial-gradient(circle at 70% 70%,#f3a58e 0 12%,transparent 13%);vertical-align:middle;margin:0 10px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:16px;padding:15px 24px;font-weight:900;cursor:pointer;transition:transform .16s,filter .16s;white-space:nowrap}
.btn:hover{transform:translateY(-1px);filter:brightness(1.03)}
.btn-primary{background:var(--coral);color:#fff;box-shadow:0 8px 18px rgba(244,127,104,.24)}
.btn-outline{background:#fff;color:var(--teal-dark);border:2px solid #a6d7d1}
.pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:#fff;color:var(--teal);border:1px solid #d5e9e4;padding:7px 12px;font-size:13px;font-weight:800}

.top-note{background:#fff2e2;color:var(--teal);font-size:14px;font-weight:800;text-align:center;padding:8px 16px;border-bottom:1px solid #f2dfc8}
.site-header{background:rgba(255,253,248,.92);backdrop-filter:blur(8px);position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(234,223,208,.74)}
.nav{height:80px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.logo img{width:min(150px,42vw);height:auto}
.menu{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:900;color:#596265}
.menu a:hover{color:var(--coral)}
.header-actions{display:flex;align-items:center;gap:12px}
.search-toggle{width:44px;height:44px;border-radius:50%;border:1px solid #e7d7c3;background:#fff;color:#8a6a54;font-weight:900;cursor:pointer}
.menu-toggle{display:none;width:44px;height:44px;border-radius:50%;border:1px solid #e7d7c3;background:#fff;color:var(--teal-dark);font-weight:900}
.header-actions .btn{padding:13px 20px;border-radius:999px}

.hero{position:relative;padding:54px 0 34px;background:linear-gradient(180deg,#fffaf3 0%,#fff8ef 58%,#eef9f5 100%);overflow:hidden}
.hero::before,.hero::after{content:"";position:absolute;bottom:0;width:190px;height:130px;background:#e1f4ef;border:2px solid #c9e7df;border-bottom:0;border-radius:120px 120px 0 0;opacity:.8}
.hero::before{left:-70px}.hero::after{right:-70px}
.hero-grid{position:relative;display:grid;grid-template-columns:1fr .95fr;align-items:center;gap:38px}
.hero-copy h1{font-size:clamp(42px,6vw,68px);line-height:1.02;font-weight:900;color:var(--teal);letter-spacing:0;margin:0 0 16px}
.hero-copy h1 .line{display:block}
.hero-copy h1 .accent{color:var(--coral)}
.hero-copy p{max-width:500px;color:#5f686b;font-size:18px;font-weight:700;margin-bottom:24px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:16px}
.hero-safe{color:var(--teal);font-size:13px;font-weight:900}
.hero-art{position:relative;justify-self:center}
.hero-art img{width:min(460px,84vw);filter:drop-shadow(0 22px 30px rgba(54,96,91,.15))}
.spark{position:absolute;border-radius:50%;background:var(--coral);opacity:.8}
.spark.s1{width:16px;height:16px;left:3%;top:38%}.spark.s2{width:14px;height:14px;right:9%;top:28%;background:#90c8bf}.spark.s3{width:11px;height:11px;right:0;bottom:30%;background:#b6c99c}

.trust-card{position:relative;margin-top:-20px;background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:0 16px 45px rgba(77,63,49,.08);padding:22px;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;z-index:5}
.trust-item{display:flex;align-items:center;gap:12px}
.trust-ico{width:58px;height:58px;border:2px solid #e7ebe2;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--teal);font-size:24px;background:#fffaf5;flex:none}
.trust-item b{display:block;color:var(--teal-dark);font-size:14px}.trust-item span{display:block;color:#6f797b;font-size:12px;font-weight:700}

.categories{padding-top:34px}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cat-card,.product-card,.step-card,.test-card,.faq-item{background:#fffdf8;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 24px rgba(74,58,42,.05)}
.cat-card{padding:22px;text-align:center}
.cat-card img{width:132px;height:132px;object-fit:cover;border-radius:50%;margin:0 auto 14px}
.cat-card h3{color:var(--teal);font-size:21px;font-weight:900;margin:0 0 8px}
.cat-card:nth-child(2) h3,.cat-card:nth-child(4) h3{color:var(--coral)}
.cat-card p{color:#7b8082;font-size:13px;font-weight:700;min-height:54px}
.cat-card .btn{margin-top:14px;padding:10px 24px;border-radius:999px;font-size:13px;background:#fff;color:var(--teal);border:1px solid #a7d4ce}
.cat-card:nth-child(2) .btn,.cat-card:nth-child(4) .btn{color:var(--coral);border-color:#f1b2a3}

.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.section-head .section-title{text-align:left;margin:0}
.see-all{color:var(--teal);font-weight:900;font-size:13px;text-decoration:underline}
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.empty-results{background:#fff;border:1px solid var(--line);border-radius:18px;color:var(--muted);font-weight:800;margin-top:14px;padding:18px;text-align:center}
.product-card{display:grid;grid-template-columns:108px 1fr;gap:16px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;padding:18px;box-shadow:none}
.product-card.is-hidden{display:none}
.product-card:nth-child(3n){border-right:0}.product-card:nth-last-child(-n+3){border-bottom:0}
.product-card img{width:108px;height:142px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
.product-card h3{font-size:17px;color:#3f3f3f;font-weight:900;margin:2px 0 6px}
.product-card p{font-size:13px;color:#737b7d;font-weight:700;min-height:56px}
.price{display:block;font-weight:900;color:#2f3d40;margin:9px 0 10px}
.product-card .btn{padding:10px 18px;border-radius:999px;font-size:13px}
.rating{color:#f6a92d;font-size:13px;letter-spacing:1px}.rating small{color:#8b8f90;letter-spacing:0}

.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.step-card{position:relative;display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:center;padding:20px}
.step-num{width:52px;height:52px;border-radius:50%;border:3px solid #b5d7cf;color:var(--teal);display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:900}
.step-card h3{font-size:18px;color:var(--teal);font-weight:900}.step-card p{font-size:13px;color:#747c7e;font-weight:700}
.step-card:not(:last-child)::after{content:"";position:absolute;right:-23px;top:50%;width:30px;height:20px;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="20"><path d="M2 10h23m-7-7 7 7-7 7" fill="none" stroke="%2387a987" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat}

.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.test-card{padding:24px}
.quote{font-size:30px;color:#f0aa94;line-height:1}.test-card p{font-size:14px;color:#5f6668;font-weight:700;min-height:92px}.person{display:flex;gap:12px;align-items:center;margin-top:16px}.avatar{width:54px;height:54px;border-radius:50%;background:linear-gradient(135deg,#f5c9bc,#fff);display:flex;align-items:center;justify-content:center;color:var(--coral);font-weight:900}.person b{display:block}.person small{color:#7d8586;font-weight:700}
.dots{text-align:center;margin-top:18px}.dots span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#c8ddd6;margin:0 4px}.dots span:first-child{background:var(--coral)}

.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.faq-item{overflow:hidden}
.faq-item summary{list-style:none;cursor:pointer;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;font-weight:900;color:#4d5557}.faq-item summary::-webkit-details-marker{display:none}.faq-item .answer{padding:0 20px 18px;color:#6f797b;font-weight:700;font-size:14px}.faq-item .mk{transition:transform .18s}.faq-item[open] .mk{transform:rotate(180deg)}

.final-cta{padding:38px 0}
.cta-box{display:grid;grid-template-columns:170px 1fr auto;gap:26px;align-items:center;background:#fff4e9;border:1px solid #eed9c1;border-radius:24px;padding:22px 30px;overflow:hidden}
.cta-box img{width:150px;border-radius:18px}.cta-box h2{font-size:clamp(24px,3vw,34px);line-height:1.1;color:var(--teal);font-weight:900}.cta-box h2 span{color:var(--coral)}.cta-box p{color:#6f797b;font-weight:700;margin-top:8px}

.site-footer{background:#eaf7f2;padding:36px 0 18px;color:#537173}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:28px}.footer-logo img{width:140px}.footer-logo p{font-size:13px;font-weight:700;margin-top:10px}.foot-col h4{color:var(--teal);font-weight:900;margin-bottom:10px}.foot-col a,.foot-col span{display:block;font-size:13px;font-weight:700;margin:7px 0}.socials{display:flex;gap:10px}.socials a{width:34px;height:34px;border-radius:50%;border:1px solid #b7d8d1;display:flex;align-items:center;justify-content:center;color:var(--teal);transition:background .16s,color .16s,transform .16s}.socials a:hover{background:#fff;color:var(--coral);transform:translateY(-1px)}.socials svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.copyright{text-align:center;border-top:1px solid #cfe9e2;margin-top:28px;padding-top:14px;font-size:12px;font-weight:700}

.search-panel{display:none;position:fixed;inset:0;z-index:60;background:rgba(47,72,75,.24);padding:110px 20px}.search-panel.open{display:block}.search-box{background:#fff;width:min(620px,100%);margin:0 auto;border-radius:22px;padding:20px;box-shadow:0 22px 70px rgba(47,72,75,.2)}.search-row{display:flex;gap:10px}.search-row input{flex:1;border:1px solid var(--line);border-radius:14px;padding:14px 16px}.search-row button{border:0;background:var(--coral);color:#fff;border-radius:14px;padding:0 18px;font-weight:900}.close-search{float:right;border:0;background:transparent;font-size:22px;color:#7a7a7a;cursor:pointer}

@media (max-width:920px){
  .hero-grid,.trust-card,.cat-grid,.products-grid,.steps,.test-grid,.faq-grid,.footer-grid{grid-template-columns:1fr 1fr}
  .hero-grid{gap:24px}.hero-art{grid-row:1}.products-grid{border-radius:18px}.product-card,.product-card:nth-child(3n),.product-card:nth-last-child(-n+3){border:0;border-bottom:1px solid var(--line)}.product-card:nth-last-child(1){border-bottom:0}.step-card:not(:last-child)::after{display:none}.cta-box{grid-template-columns:120px 1fr}.cta-box .btn{grid-column:1/-1}.footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .wrap{width:min(100% - 28px,1120px)}.top-note{font-size:12px}.nav{height:72px}.menu{display:none;position:absolute;left:14px;right:14px;top:72px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;flex-direction:column;align-items:flex-start;gap:14px;box-shadow:0 18px 45px rgba(74,58,42,.12)}.menu.open{display:flex}.menu-toggle{display:inline-block}.header-actions .btn{display:none}.hero{padding-top:36px}.hero-grid,.trust-card,.cat-grid,.products-grid,.steps,.test-grid,.faq-grid,.footer-grid{grid-template-columns:1fr}.hero-copy{text-align:left}.hero-copy h1{font-size:42px}.trust-card{margin-top:0}.product-card{grid-template-columns:96px 1fr;padding:14px}.product-card img{width:96px;height:128px}.cta-box{grid-template-columns:1fr;text-align:center}.cta-box img{margin:0 auto}.section-head{align-items:flex-start;gap:12px}.section-head .see-all{margin-top:10px}
}
