/*
Theme Name: Elyntis Vitrine
Theme URI: https://elyntis.fr
Author: Elyntis / ChatGPT
Description: Thème vitrine B2B léger pour Elyntis : présentation activité, produits, grille tarifaire PDF, visuels produits et formulaire de contact. Compatible hébergement WordPress classique Hostinger.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: elyntis-vitrine
*/

:root{
  --bg:#f7f8f6;
  --surface:#ffffff;
  --ink:#17211b;
  --muted:#5e6c62;
  --line:#dfe5de;
  --brand:#101914;
  --brand-2:#bfc8c3;
  --accent:#edf0ee;
  --warning:#fbf4df;
  --shadow:0 18px 50px rgba(23,33,27,.08);
  --radius:22px;
  --max:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.container{width:min(var(--max),calc(100% - 32px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(247,248,246,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:flex;flex-direction:column;line-height:1;align-items:flex-start}.site-logo{width:142px;height:auto;display:block;border-radius:16px}.logo span{font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.14em;margin-top:5px}.header-inner{height:84px}.nav{display:flex;gap:22px;align-items:center;font-size:.95rem;color:var(--muted)}.nav a:hover{color:var(--brand)}
.btn,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:999px;background:var(--brand);color:white;border:1px solid var(--brand);font-weight:700;box-shadow:none;cursor:pointer}.btn.secondary{background:transparent;color:var(--brand);border-color:var(--brand)}.btn.light{background:white;color:var(--brand);border-color:white}.btn:hover{transform:translateY(-1px)}
.hero{padding:86px 0 64px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center}.eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--accent);color:var(--brand);font-size:.82rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.hero h1{font-size:clamp(2.4rem,5vw,5rem);line-height:.98;margin:20px 0 18px;letter-spacing:-.055em}.lead{font-size:1.18rem;color:var(--muted);max-width:680px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-card{background:linear-gradient(145deg,#050706,#101914);color:white;border-radius:34px;padding:30px;box-shadow:var(--shadow);min-height:460px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.hero-card:after{content:"";position:absolute;right:-120px;top:-120px;width:320px;height:320px;border-radius:999px;background:rgba(220,232,213,.13)}.hero-logo{width:min(360px,100%);height:auto;margin:0 auto 24px;display:block;border-radius:28px}.hero-card h2{font-size:2.1rem;line-height:1.05;margin:0 0 16px}.hero-card p{color:rgba(255,255,255,.78)}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.metric{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:16px}.metric strong{display:block;font-size:1.4rem}.metric span{font-size:.84rem;color:rgba(255,255,255,.72)}
.section{padding:66px 0}.section.alt{background:var(--surface)}.section-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:30px}.section h2{font-size:clamp(2rem,3.5vw,3.3rem);line-height:1.05;letter-spacing:-.04em;margin:0}.section-head p{max-width:520px;color:var(--muted);margin:0}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 8px 28px rgba(23,33,27,.04)}.card h3{margin:0 0 10px;font-size:1.18rem}.card p{color:var(--muted);margin:0 0 14px}.tag{display:inline-flex;border-radius:999px;background:var(--accent);padding:4px 9px;color:var(--brand);font-size:.78rem;font-weight:800}.product-card{display:flex;flex-direction:column;min-height:100%}.product-meta{margin-top:auto;padding-top:14px;color:var(--muted);font-size:.92rem;border-top:1px solid var(--line)}
.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:start}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px}.panel.warning{background:var(--warning)}.list{display:grid;gap:12px}.list-item{display:flex;gap:12px;align-items:flex-start}.dot{width:10px;height:10px;border-radius:99px;background:var(--brand-2);margin-top:8px;flex:0 0 auto}.price-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.price-table th,.price-table td{text-align:left;padding:16px;border-bottom:1px solid var(--line)}.price-table th{background:#eef3eb;color:var(--brand);font-size:.85rem;text-transform:uppercase;letter-spacing:.06em}.price-table tr:last-child td{border-bottom:0}.price-table td:last-child,.price-table th:last-child{text-align:right}.notice{padding:16px;border-radius:16px;background:var(--accent);color:var(--brand);font-weight:700;margin-top:18px}
.contact-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:28px}.contact-form{display:grid;gap:14px}.field label{display:block;font-weight:800;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:13px 14px;font:inherit;background:white}.field textarea{min-height:130px;resize:vertical}.form-message{padding:14px;border-radius:14px;margin-bottom:14px}.form-message.success{background:#e8f4e5;color:#1f5124}.form-message.error{background:#fae8e8;color:#7a1d1d}.site-footer{background:#101914;color:white;padding:42px 0;margin-top:30px}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:24px}.site-footer p,.site-footer a{color:rgba(255,255,255,.72)}.footer-title{color:white;font-weight:900;margin-bottom:8px}.page-content{padding:64px 0}.page-content .container{max-width:920px}.page-content h1{font-size:clamp(2.2rem,4vw,4rem);line-height:1;margin:0 0 22px}.page-content h2{font-size:2rem;margin-top:34px}.page-content p,.page-content li{color:var(--muted)}
@media(max-width:920px){.hero-grid,.split,.contact-grid{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.section-head{display:block}.nav{display:none}.footer-grid{grid-template-columns:1fr}.hero-card{min-height:360px}.price-table{font-size:.9rem}}
@media(max-width:560px){.cards{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr}.hero{padding-top:48px}.header-inner{height:66px}.price-table th,.price-table td{padding:12px 10px}.hero-actions{flex-direction:column}.btn{width:100%}}

.product-card.vitres{border-top:5px solid #2968ff}.product-card.wash{border-top:5px solid #48c96b}.product-card.interieur{border-top:5px solid #ff9a45}.product-card.jantes{border-top:5px solid #c8c8c8}.price-table small{display:block;color:var(--muted);font-size:.8rem;margin-top:3px}.tariff-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.visual-panel{background:#0b0d0c;border-radius:var(--radius);padding:22px;border:1px solid var(--line);box-shadow:var(--shadow)}.visual-panel img{display:block;margin:auto;border-radius:18px}.brand-card{border:1px solid rgba(255,255,255,.14)}@media(max-width:920px){.tariff-actions{align-items:flex-start}.site-logo{width:120px}.header-inner{height:78px}}
