/*
Theme Name: Viver Saudável
Theme URI: https://viversaudavelbrasil.com/
Author: Viver Saudável
Description: Tema clássico editável para a Viver Saudável Brasil, reconstruído a partir do site React.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: viver-saudavel
*/

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Sora:wght@400;500;600;700&display=swap');

:root { --ink:#152239; --night:#10213f; --slate:#5b6677; --pulse:#0b8177; --pulse-dark:#07655e; --mist:#f5f8f8; --mist-blue:#f1f6f7; --line:#e1e8e9; --white:#fff; --radius:.55rem; --shadow:0 18px 50px rgba(16,33,63,.10); --container:1180px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--white); font-family:'Source Sans 3',Arial,sans-serif; font-size:18px; line-height:1.6; }
img { max-width:100%; height:auto; display:block; }
a { color:var(--pulse-dark); text-decoration:none; transition:color .2s ease, opacity .2s ease; }
a:hover { color:var(--pulse); }
.container { width:min(calc(100% - 40px), var(--container)); margin-inline:auto; }
.site-header { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.96); border-bottom:1px solid var(--line); backdrop-filter:blur(12px); }
.site-header__inner { min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.site-brand { display:flex; align-items:center; gap:12px; color:var(--night); font-family:Sora,sans-serif; font-weight:700; line-height:1.1; }
.site-brand img,.custom-logo { width:52px; height:52px; object-fit:contain; }
.site-navigation ul { list-style:none; display:flex; align-items:center; gap:26px; padding:0; margin:0; }
.site-navigation a { color:var(--ink); font-size:16px; font-weight:600; }
.site-navigation a:hover { color:var(--pulse); }
.menu-toggle { display:none; border:1px solid var(--line); background:var(--white); border-radius:var(--radius); padding:10px 12px; color:var(--night); cursor:pointer; }
.site-main { overflow:hidden; }
.hero { background:linear-gradient(135deg,var(--mist-blue),#fff 64%); padding:clamp(64px,9vw,128px) 0; }
.hero__grid { display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.eyebrow { color:var(--pulse-dark); font-size:14px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
h1,h2,h3,h4 { margin:0 0 18px; color:var(--night); font-family:Sora,Arial,sans-serif; line-height:1.15; letter-spacing:-.025em; }
h1 { font-size:clamp(2.45rem,5vw,4.9rem); max-width:760px; }
h2 { font-size:clamp(2rem,3.5vw,3.15rem); }
h3 { font-size:1.35rem; }
.hero p { max-width:620px; font-size:clamp(1.1rem,2vw,1.35rem); color:var(--slate); }
.hero__media img { width:100%; min-height:400px; object-fit:cover; border-radius:26px; box-shadow:var(--shadow); }
.button,.wp-block-button__link { display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:999px; padding:13px 23px; background:var(--pulse); color:#fff!important; font-weight:700; line-height:1.2; box-shadow:0 8px 18px rgba(11,129,119,.18); }
.button:hover,.wp-block-button__link:hover { background:var(--pulse-dark); color:#fff!important; transform:translateY(-1px); }
.button--ghost { background:transparent; color:var(--pulse-dark)!important; border:1px solid var(--pulse); box-shadow:none; }
.button-row { display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }
.section { padding:clamp(62px,8vw,108px) 0; }
.section--tint { background:var(--mist); }
.section-intro { max-width:700px; margin-bottom:38px; }
.section-intro p,.entry-content,.archive-description { color:var(--slate); }
.services-grid,.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card,.post-card { overflow:hidden; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 8px 28px rgba(16,33,63,.05); transition:transform .25s ease,box-shadow .25s ease; }
.service-card:hover,.post-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.service-card img,.post-card img { width:100%; aspect-ratio:16/10; object-fit:cover; }
.service-card__body,.post-card__body { padding:24px; }
.service-card h3,.post-card h2 { margin-bottom:10px; }
.post-card h2 { font-size:1.4rem; }
.card-meta { color:var(--slate); font-size:.92rem; }
.split { display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center; }
.split__media img { border-radius:22px; box-shadow:var(--shadow); }
.check-list { list-style:none; padding:0; margin:24px 0; display:grid; gap:12px; }
.check-list li { position:relative; padding-left:30px; }
.check-list li::before { content:'✓'; position:absolute; left:0; top:0; color:var(--pulse); font-weight:700; }
.cta { padding:54px; border-radius:24px; background:var(--night); color:#fff; }
.cta h2,.cta p { color:#fff; }
.site-footer { padding:58px 0 26px; color:#dce8ec; background:var(--night); }
.site-footer h2,.site-footer h3,.site-footer a { color:#fff; }
.site-footer__grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; }
.site-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.site-footer__bottom { display:flex; justify-content:space-between; gap:20px; margin-top:42px; padding-top:20px; border-top:1px solid rgba(255,255,255,.16); color:#aebdc7; font-size:.92rem; }
.archive-header { padding:74px 0 36px; }
.single-post,.page-content,.error-404 { max-width:820px; padding:72px 20px 100px; margin:0 auto; }
.entry-thumbnail { margin:28px 0; }
.entry-thumbnail img { width:100%; border-radius:18px; }
.entry-content > * { max-width:100%; }
.entry-content h2 { margin-top:40px; }
.entry-content blockquote { border-left:4px solid var(--pulse); margin:30px 0; padding:12px 24px; color:var(--night); font-size:1.2rem; }
.pagination { margin:44px 0; }
.pagination .nav-links { display:flex; gap:10px; flex-wrap:wrap; }
.pagination a,.pagination span { padding:8px 13px; border:1px solid var(--line); border-radius:8px; }
.pagination .current { background:var(--pulse); color:#fff; border-color:var(--pulse); }
.floating-whatsapp { position:fixed; right:20px; bottom:20px; z-index:15; display:flex; align-items:center; gap:8px; padding:12px 18px; border-radius:999px; background:#1fbf6d; color:#fff; font-weight:700; box-shadow:0 10px 24px rgba(0,0,0,.18); }
.floating-whatsapp:hover { color:#fff; background:#159b57; }
@media (max-width:800px) { .container{width:min(calc(100% - 32px),var(--container));} .menu-toggle{display:block;} .site-navigation{display:none; position:absolute; inset:82px 0 auto; background:#fff; border-bottom:1px solid var(--line); padding:18px 20px;} .site-navigation.is-open{display:block;} .site-navigation ul{display:grid; gap:16px;} .hero__grid,.split{grid-template-columns:1fr; gap:34px;} .hero__media{order:-1;} .hero__media img{min-height:240px;} .services-grid,.posts-grid{grid-template-columns:1fr;} .site-footer__grid{grid-template-columns:1fr; gap:28px;} .site-footer__bottom{display:grid;} .cta{padding:32px 24px;} h1{font-size:clamp(2.35rem,12vw,4rem);} }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }
