/*
Theme Name: WriteBoostAI
Theme URI: https://writeboostai.com/
Author: Hermes Agent
Description: Thème WordPress léger, responsive et SEO-friendly pour WriteBoostAI : comparatifs d'outils IA, guides SEO et pages d'affiliation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: writeboostai
*/
:root{--bg:#f7f8fc;--surface:#fff;--ink:#111827;--muted:#667085;--line:#e5e7eb;--brand:#31c48d;--brand-dark:#0f9f6e;--accent:#6941c6;--accent-soft:#f2efff;--shadow:0 16px 40px rgba(16,24,40,.08);--radius:22px;--max:1180px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#fbfcff 0,#f7f8fc 40%,#fff 100%);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.72;text-rendering:optimizeLegibility}a{color:#08795b;text-decoration-thickness:.08em;text-underline-offset:.18em}a:hover{color:var(--accent)}img{max-width:100%;height:auto;border-radius:16px}.wrap{width:min(var(--max),calc(100% - 40px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.88);backdrop-filter:saturate(180%) blur(18px);border-bottom:1px solid rgba(229,231,235,.8)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--brand),#84e1bc);box-shadow:0 10px 25px rgba(49,196,141,.25);font-weight:900;color:#06281e}.brand-text{display:flex;flex-direction:column;line-height:1.1}.brand-title{font-size:21px;font-weight:850;letter-spacing:-.03em}.brand-tagline{font-size:12px;color:var(--muted);margin-top:4px}.nav{display:flex;align-items:center;gap:20px}.nav ul{display:flex;gap:18px;align-items:center;margin:0;padding:0;list-style:none}.nav a{color:#344054;font-size:15px;font-weight:650;text-decoration:none}.nav a:hover{color:var(--brand-dark)}.header-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:11px 18px;background:var(--ink);color:#fff!important;text-decoration:none;font-weight:800;font-size:14px;box-shadow:0 10px 24px rgba(17,24,39,.14)}.header-cta:hover,.btn:hover{transform:translateY(-1px);background:#000;color:#fff}.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 12px;font-weight:800}.hero{position:relative;padding:76px 0 48px;overflow:hidden}.hero:before{content:"";position:absolute;inset:20px auto auto 50%;width:560px;height:560px;transform:translateX(-10%);background:radial-gradient(circle,rgba(49,196,141,.2),transparent 60%);pointer-events:none}.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:42px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:18px;padding:7px 12px;border-radius:999px;background:#ecfdf3;color:#067647;font-weight:800;font-size:13px}.hero h1,.entry-title{font-size:clamp(38px,6vw,72px);line-height:.98;margin:0 0 22px;letter-spacing:-.06em}.hero p{font-size:20px;color:#475467;max-width:760px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.btn.secondary{background:#fff;color:#111827!important;border:1px solid var(--line);box-shadow:none}.hero-card{background:rgba(255,255,255,.82);border:1px solid rgba(229,231,235,.9);border-radius:28px;box-shadow:var(--shadow);padding:28px}.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.stat{padding:18px;border-radius:18px;background:#f9fafb;border:1px solid var(--line)}.stat strong{display:block;font-size:28px;line-height:1;color:var(--brand-dark)}.stat span{display:block;margin-top:8px;color:var(--muted);font-size:13px;font-weight:700}.section{padding:36px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.section h2{font-size:clamp(28px,3vw,42px);line-height:1.08;margin:0;letter-spacing:-.04em}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 8px 24px rgba(16,24,40,.05)}.post-card{display:flex;flex-direction:column;min-height:100%}.post-card .thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#ecfdf3,#f2efff);border-radius:18px;margin:-8px -8px 18px;overflow:hidden}.post-card .thumb img{width:100%;height:100%;object-fit:cover;border-radius:18px}.meta{display:flex;flex-wrap:wrap;gap:8px 12px;color:var(--muted);font-size:13px;font-weight:700}.post-card h3{font-size:22px;line-height:1.18;margin:12px 0}.post-card h3 a{text-decoration:none;color:var(--ink)}.post-card p{color:#475467;margin:0 0 18px}.readmore{margin-top:auto;font-weight:850;text-decoration:none}.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:34px;align-items:start;padding:42px 0}.content,.sidebar .widget{background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:0 10px 30px rgba(16,24,40,.05)}.content{padding:clamp(24px,4vw,54px)}.single .content,.page .content{max-width:900px;margin-inline:auto}.entry-header{margin-bottom:28px}.entry-title{font-size:clamp(34px,4.4vw,58px)}.entry-content{overflow-wrap:anywhere}.entry-content h2{font-size:clamp(28px,3.2vw,40px);line-height:1.15;letter-spacing:-.035em;margin:52px 0 16px}.entry-content h3{font-size:clamp(22px,2.2vw,29px);line-height:1.22;margin:34px 0 12px}.entry-content p{margin:0 0 20px}.entry-content ul,.entry-content ol{padding-left:1.35em;margin:0 0 22px}.entry-content li{margin:8px 0}.entry-content blockquote{margin:30px 0;padding:20px 24px;border-left:5px solid var(--brand);background:#f6fff8;border-radius:0 18px 18px 0;color:#344054}.entry-content table{width:100%;border-collapse:collapse;margin:28px 0;border-radius:18px;overflow:hidden;box-shadow:0 0 0 1px var(--line)}.entry-content th,.entry-content td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top}.entry-content th{background:#f9fafb;text-align:left;font-size:14px;color:#344054}.entry-content tr:last-child td{border-bottom:0}.entry-content code{background:#f2f4f7;border-radius:7px;padding:.15em .35em;font-size:.92em}.entry-content pre{background:#111827;color:#fff;border-radius:18px;padding:20px;overflow:auto}.entry-content .wp-block-button__link,.entry-content a.wp-block-button__link{display:inline-flex;margin:8px 0 20px;padding:13px 20px;border-radius:999px;background:linear-gradient(135deg,var(--brand-dark),var(--brand));color:#fff!important;text-decoration:none;font-weight:850;box-shadow:0 12px 28px rgba(15,159,110,.22)}.wbai-box,.wbai-verdict,.wbai-internal-link{border:1px solid #bbf7d0!important;border-left:5px solid var(--brand)!important;background:#f0fdf4!important;border-radius:18px!important;padding:18px 20px!important;margin:28px 0!important}.sidebar{position:sticky;top:100px}.widget{padding:22px;margin-bottom:22px}.widget h2,.widget h3{font-size:18px;margin:0 0 14px}.widget ul{list-style:none;margin:0;padding:0}.widget li{border-bottom:1px solid var(--line);padding:10px 0}.widget li:last-child{border-bottom:0}.pagination{display:flex;gap:10px;justify-content:center;margin:34px 0}.pagination .page-numbers{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border-radius:12px;background:#fff;border:1px solid var(--line);text-decoration:none;font-weight:800}.pagination .current{background:var(--ink);color:#fff}.site-footer{margin-top:60px;background:#0b1220;color:#d0d5dd}.footer-inner{display:grid;grid-template-columns:1.2fr repeat(2,.8fr);gap:30px;padding:46px 0}.site-footer a{color:#d1fadf;text-decoration:none}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;color:#98a2b3;font-size:14px}.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}.skip-link:focus{left:16px;top:16px;width:auto;height:auto;background:#fff;padding:10px 14px;border-radius:10px;z-index:999}.comments-area{margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}@media (max-width:900px){.menu-toggle{display:inline-flex}.nav{display:none;position:absolute;left:20px;right:20px;top:78px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav.is-open{display:flex}.nav ul{flex-direction:column;align-items:flex-start}.hero-grid,.layout,.footer-inner{grid-template-columns:1fr}.grid{grid-template-columns:1fr 1fr}.sidebar{position:static}.hero{padding-top:46px}.header-cta{display:none}}@media (max-width:640px){body{font-size:16px}.wrap{width:min(100% - 28px,var(--max))}.grid,.stat-grid{grid-template-columns:1fr}.content{border-radius:20px;padding:22px}.hero h1,.entry-title{letter-spacing:-.045em}.section-head{display:block}.footer-inner{padding:34px 0}.brand-tagline{display:none}}

.entry-featured{margin:0 0 32px}.entry-featured img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:24px;box-shadow:0 16px 36px rgba(16,24,40,.10)}
