/* ============ VERTEX — corporate clair, bleu/blanc, structuré ============ */
:root{
  --vx-bg:#f7f9fc; --vx-card:#ffffff; --vx-border:#e2e8f2;
  --vx-blue:#2563eb; --vx-blue-d:#1d4ed8; --vx-navy:#0f1b33;
  --vx-text:#101828; --vx-text-dim:#64748b;
}
body.theme-scope, #previewFrame{background:var(--vx-bg) !important;color:var(--vx-text) !important;}
.site-preview{font-family:'Inter',-apple-system,sans-serif;background:var(--vx-bg);color:var(--vx-text);}
.site-preview a{text-decoration:none;color:inherit;}
.tpl-btn{display:inline-flex;align-items:center;gap:.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;padding:.75rem 1.5rem;font-size:.88rem;transition:all .2s;}
.tpl-btn-lg{padding:.95rem 2rem;font-size:.95rem;}
.tpl-btn-primary{background:var(--vx-blue);color:#fff;}
.tpl-btn-primary:hover{background:var(--vx-blue-d);}
.tpl-btn-ghost{background:transparent;color:var(--vx-text);border:1px solid var(--vx-border);}
.tpl-btn-outline{background:transparent;color:var(--vx-blue);border:1px solid var(--vx-blue);}
.tpl-btn-block{width:100%;justify-content:center;}

.tpl-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--vx-border);}
.tpl-header-inner{max-width:1200px;margin:0 auto;padding:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between;}
.tpl-logo{display:flex;align-items:center;gap:.6rem;font-weight:700;font-size:1.05rem;}
.tpl-logo-mark{width:30px;height:30px;border-radius:7px;background:var(--vx-blue);display:inline-flex;align-items:center;justify-content:center;font-size:.68rem;color:#fff;font-weight:700;}
.tpl-nav{display:flex;gap:1.5rem;}
.tpl-nav a{font-size:.86rem;color:var(--vx-text-dim);font-weight:500;}
.tpl-nav a:hover{color:var(--vx-blue);}
.tpl-nav-actions{display:flex;gap:.75rem;align-items:center;}

.tpl-hero{padding:5.5rem 1.5rem 4rem;text-align:center;background:linear-gradient(180deg,#eef3fc,var(--vx-bg));}
.tpl-hero-inner{max-width:740px;margin:0 auto;}
.tpl-hero-badge{display:inline-flex;align-items:center;gap:.5rem;background:#fff;border:1px solid var(--vx-border);padding:.45rem 1.1rem;border-radius:8px;font-size:.78rem;color:var(--vx-blue);margin-bottom:1.5rem;font-weight:600;}
.tpl-hero h1{font-size:clamp(2rem,4.5vw,3rem);font-weight:700;line-height:1.2;letter-spacing:-.01em;margin-bottom:1.2rem;color:var(--vx-navy);}
.tpl-hero-sub{font-size:1rem;color:var(--vx-text-dim);line-height:1.7;max-width:540px;margin:0 auto 2rem;}
.tpl-hero-ctas{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap;margin-bottom:2.5rem;}
.tpl-hero-stats{display:flex;justify-content:center;gap:2.5rem;flex-wrap:wrap;}
.tpl-hero-stats span{display:block;font-size:1.4rem;font-weight:700;color:var(--vx-blue);}
.tpl-hero-stats small{font-size:.76rem;color:var(--vx-text-dim);}

.tpl-ticker{background:var(--vx-navy);padding:.6rem 0;overflow:hidden;}
.tpl-ticker-track{display:flex;gap:2.5rem;width:max-content;animation:tplScroll 25s linear infinite;}
.tpl-ticker-track span{font-size:.78rem;color:rgba(255,255,255,0.75);white-space:nowrap;}
.tpl-ticker-track i{color:#60a5fa;margin-right:.4rem;}
@keyframes tplScroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}

.tpl-section{padding:5rem 1.5rem;}
.tpl-section-alt{background:#fff;}
.tpl-section-inner{max-width:1100px;margin:0 auto;}
.tpl-section-head{text-align:center;max-width:560px;margin:0 auto 3rem;}
.tpl-eyebrow{display:block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--vx-blue);margin-bottom:.6rem;}
.tpl-section-head h2{font-size:clamp(1.5rem,3vw,2.1rem);font-weight:700;margin-bottom:.6rem;color:var(--vx-navy);}
.tpl-section-head p{color:var(--vx-text-dim);font-size:.92rem;}

.tpl-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.tpl-card{background:var(--vx-card);border:1px solid var(--vx-border);border-radius:10px;padding:1.75rem;}
.tpl-card-icon{width:44px;height:44px;border-radius:8px;background:#eef3fc;display:flex;align-items:center;justify-content:center;font-size:1.1rem;color:var(--vx-blue);margin-bottom:1rem;}
.tpl-card h3{font-size:.98rem;font-weight:700;margin-bottom:.5rem;color:var(--vx-navy);}
.tpl-card p{font-size:.84rem;color:var(--vx-text-dim);line-height:1.6;}

.tpl-step{text-align:center;padding:1.5rem;}
.tpl-step-num{width:46px;height:46px;margin:0 auto 1rem;border-radius:8px;background:var(--vx-blue);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;}
.tpl-step h3{font-size:.98rem;font-weight:700;margin-bottom:.4rem;color:var(--vx-navy);}
.tpl-step p{font-size:.84rem;color:var(--vx-text-dim);}

.tpl-price-card{background:var(--vx-card);border:1px solid var(--vx-border);border-radius:10px;padding:1.75rem;text-align:center;}
.tpl-price-badge{display:inline-flex;align-items:center;gap:.4rem;background:#eef3fc;color:var(--vx-blue);padding:.3rem .8rem;border-radius:6px;font-size:.74rem;font-weight:700;margin-bottom:.9rem;}
.tpl-price-card h3{font-size:1.02rem;margin-bottom:.5rem;color:var(--vx-navy);}
.tpl-price{font-size:1.5rem;font-weight:700;color:var(--vx-blue);margin-bottom:1.1rem;}

.tpl-testi{background:var(--vx-card);border:1px solid var(--vx-border);border-radius:10px;padding:1.75rem;}
.tpl-stars{color:#f59e0b;font-size:.85rem;margin-bottom:.75rem;}
.tpl-testi p{font-size:.88rem;color:var(--vx-text-dim);line-height:1.6;margin-bottom:1.25rem;}
.tpl-testi-author{display:flex;align-items:center;gap:.7rem;}
.tpl-avatar{width:34px;height:34px;border-radius:50%;background:var(--vx-blue);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:.78rem;flex-shrink:0;}
.tpl-testi-author strong{display:block;font-size:.85rem;color:var(--vx-navy);}
.tpl-testi-author small{font-size:.74rem;color:var(--vx-text-dim);}

.tpl-faq-list{max-width:700px;margin:0 auto;display:flex;flex-direction:column;gap:.6rem;}
.tpl-faq-item{background:var(--vx-card);border:1px solid var(--vx-border);border-radius:8px;padding:1.1rem 1.4rem;}
.tpl-faq-item summary{cursor:pointer;font-weight:600;font-size:.9rem;color:var(--vx-navy);}
.tpl-faq-item p{margin-top:.75rem;font-size:.84rem;color:var(--vx-text-dim);line-height:1.6;}

.tpl-final{padding:5rem 1.5rem;text-align:center;background:var(--vx-navy);color:#fff;}
.tpl-final h2{font-size:clamp(1.7rem,3.5vw,2.3rem);font-weight:700;margin:.75rem 0 1rem;}
.tpl-final p{opacity:.75;margin-bottom:2rem;}

.tpl-contact-card{background:var(--vx-card);border:1px solid var(--vx-border);border-radius:10px;padding:1.75rem;text-align:center;}
.tpl-contact-card i{font-size:1.2rem;color:var(--vx-blue);margin-bottom:.75rem;}
.tpl-contact-card h3{font-size:.92rem;margin-bottom:.4rem;color:var(--vx-navy);}
.tpl-contact-card a,.tpl-contact-card p{font-size:.84rem;color:var(--vx-text-dim);}

.tpl-footer{padding:2.5rem 1.5rem;border-top:1px solid var(--vx-border);text-align:center;background:#fff;}
.tpl-footer-brand{display:flex;align-items:center;justify-content:center;gap:.5rem;font-weight:700;margin-bottom:.5rem;color:var(--vx-navy);}
.tpl-footer p{font-size:.78rem;color:var(--vx-text-dim);}
.tpl-center{text-align:center;}

@media(max-width:900px){.tpl-grid-3{grid-template-columns:1fr 1fr;}.tpl-nav{display:none;}}
@media(max-width:600px){.tpl-grid-3{grid-template-columns:1fr;}}

.tpl-hero-grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1.15fr .85fr;gap:3rem;align-items:center;text-align:left;}
.tpl-hero-grid .tpl-hero-inner{text-align:left;}
.tpl-login-card{background:var(--vx-card);border:1px solid var(--vx-border);border-radius:12px;padding:2rem;box-shadow:0 4px 20px rgba(37,99,235,0.08);}
.tpl-login-card h3{font-size:1.1rem;margin-bottom:.4rem;color:var(--vx-navy);}
.tpl-login-sub{font-size:.85rem;color:var(--vx-text-dim);margin-bottom:1.5rem;}
.tpl-field{margin-bottom:1.1rem;text-align:left;}
.tpl-field label{display:block;font-size:.8rem;color:var(--vx-text-dim);margin-bottom:.4rem;font-weight:500;}
.tpl-field input{width:100%;box-sizing:border-box;padding:.7rem .9rem;border-radius:8px;border:1px solid var(--vx-border);font-family:inherit;font-size:.9rem;background:#fff;color:var(--vx-text);}
.tpl-login-row{display:flex;justify-content:space-between;align-items:center;font-size:.78rem;margin-bottom:1.25rem;color:var(--vx-text-dim);}
.tpl-login-row a{color:var(--vx-blue);}
.tpl-login-signup{text-align:center;font-size:.82rem;color:var(--vx-text-dim);margin-top:1rem;}
.tpl-login-signup a{color:var(--vx-blue);font-weight:600;}

.tpl-guarantees{padding:1.5rem;border-top:1px solid var(--vx-border);border-bottom:1px solid var(--vx-border);background:#fff;}
.tpl-guarantees-row{display:flex;justify-content:center;flex-wrap:wrap;gap:2rem;}
.tpl-guarantees-row div{font-size:.82rem;color:var(--vx-text-dim);display:flex;align-items:center;gap:.5rem;font-weight:500;}
.tpl-guarantees-row i{color:var(--vx-blue);}

.tpl-networks-row{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem;}
.tpl-network{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.25rem 1.5rem;background:var(--vx-card);border:1px solid var(--vx-border);border-radius:10px;min-width:100px;}
.tpl-network i{font-size:1.3rem;color:var(--vx-blue);}
.tpl-network span{font-size:.78rem;color:var(--vx-text-dim);font-weight:600;}

.tpl-stats-band{padding:3rem 1.5rem;background:var(--vx-navy);}
.tpl-stats-row{display:flex;justify-content:center;gap:3rem;flex-wrap:wrap;text-align:center;}
.tpl-stats-row span{display:block;font-size:1.7rem;font-weight:700;color:#fff;}
.tpl-stats-row small{font-size:.78rem;color:rgba(255,255,255,0.65);}

@media(max-width:900px){.tpl-hero-grid{grid-template-columns:1fr;}.tpl-hero-grid .tpl-hero-inner{text-align:center;}}

/* Pages about/contact/posts (.tpl-*, complément à la page d'accueil) */
.tpl-hero-chip{display:inline-flex;align-items:center;gap:.5rem;background:var(--vx-card);border:1px solid var(--vx-border);padding:.55rem 1.2rem;border-radius:999px;font-size:.78rem;color:var(--vx-text-dim);}
.tpl-hero-chip i{color:var(--vx-blue);}
.tpl-prose{max-width:760px;margin:0 auto;font-size:.95rem;line-height:1.85;color:var(--vx-text-dim);}
.tpl-prose p{margin-bottom:1.1rem;}
.tpl-prose strong{color:var(--vx-text);}
.tpl-card-list{list-style:none;margin:0;padding:0;font-size:.85rem;color:var(--vx-text-dim);line-height:2.05;}
.tpl-card-list li::before{content:'\2713';color:var(--vx-blue);margin-right:.55rem;font-weight:700;}
.tpl-grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:1.25rem;}
@media(max-width:900px){.tpl-grid-5{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){.tpl-grid-5{grid-template-columns:1fr;}}
.tpl-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;}
@media(max-width:700px){.tpl-grid-2{grid-template-columns:1fr;}}

.tpl-contact-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:1.5rem;align-items:start;}
@media(max-width:900px){.tpl-contact-grid{grid-template-columns:1fr;}}
.tpl-form-card{background:var(--vx-card);border:1px solid var(--vx-border);border-radius:16px;padding:2.1rem;}
.tpl-form-card h2{font-size:1.1rem;font-weight:800;margin-bottom:1.3rem;display:flex;align-items:center;gap:.6rem;}
.tpl-form-card h2 i{color:var(--vx-blue);}
.tpl-form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
@media(max-width:520px){.tpl-form-row{grid-template-columns:1fr;}}
.tpl-form-card textarea{width:100%;box-sizing:border-box;padding:.7rem .9rem;border-radius:8px;border:1px solid var(--vx-border);font-family:inherit;font-size:.9rem;background:var(--vx-bg);color:var(--vx-text);resize:vertical;}
.tpl-form-card select{width:100%;box-sizing:border-box;padding:.7rem .9rem;border-radius:8px;border:1px solid var(--vx-border);font-family:inherit;font-size:.9rem;background:var(--vx-bg);color:var(--vx-text);}
.tpl-char-count{display:block;text-align:right;font-size:.75rem;color:var(--vx-text-dim);margin-top:.35rem;}
.tpl-form-buttons{display:flex;gap:.75rem;margin-top:.5rem;}
.tpl-info-items{display:flex;flex-direction:column;gap:1.3rem;margin-bottom:1.5rem;}
.tpl-info-item{display:flex;align-items:flex-start;gap:1rem;}
.tpl-info-item h4{font-size:.9rem;font-weight:700;margin-bottom:.25rem;}
.tpl-info-item p{font-size:.85rem;color:var(--vx-text-dim);margin:0;}
.tpl-whatsapp-cta{display:flex;align-items:center;gap:1rem;background:var(--vx-bg);border:1px solid var(--vx-blue);border-radius:14px;padding:1.2rem;}
.tpl-whatsapp-cta i{font-size:1.7rem;color:var(--vx-blue);flex-shrink:0;}
.tpl-whatsapp-cta h4{font-size:.9rem;font-weight:700;margin-bottom:.2rem;}
.tpl-whatsapp-cta p{font-size:.8rem;color:var(--vx-text-dim);margin:0;}

.tpl-post-card p{font-size:.88rem;color:var(--vx-text-dim);line-height:1.68;margin-bottom:1rem;}
.tpl-post-head{display:flex;align-items:center;gap:.7rem;margin-bottom:1rem;}
.tpl-post-head strong{display:block;font-size:.88rem;}
.tpl-post-head small{font-size:.75rem;color:var(--vx-text-dim);}
.tpl-post-stats{display:flex;gap:1.1rem;color:var(--vx-text-dim);font-size:.8rem;}
.tpl-post-stats i{margin-right:.3rem;}

/* Alias génériques (.tpl-app-*) — permettent aux pages applicatives partagées
   (assets/css/tpl-app-pages.css) de réutiliser l'identité de CE template sans
   dupliquer son design par page. Pointent simplement vers les vraies variables
   déjà définies ci-dessus. */
:root{
  --tpl-bg:var(--vx-bg); --tpl-card:var(--vx-card); --tpl-border:var(--vx-border);
  --tpl-text:var(--vx-text); --tpl-dim:var(--vx-text-dim); --tpl-accent:var(--vx-blue);
}
