:root{
  --primary:#1565C0;
  --primary-dark:#0D47A1;
  --primary-light:#E8F0FB;
  --primary-border:#BBD3F2;
  --text:#1A1A1A;
  --text-secondary:#4B5563;
  --muted:#6B7280;
  --border:#E5E7EB;
  --border-dark:#D1D5DB;
  --bg:#FFFFFF;
  --bg-alt:#F7F8FA;
  --success:#2E7D32;
  --success-dark:#1B5E20;
  --success-bg:#EAF4EA;
  --success-border:#B7D8B9;
  --error:#DC2626;
  --error-dark:#991B1B;
  --error-bg:#FEF2F2;
  --radius:10px;
  --max-width:1120px;
}
*{box-sizing:border-box}
html{scroll-padding-top:130px}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.55}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%}
.container{max-width:var(--max-width);margin:0 auto;padding:0 24px}
h1,h2,h3{line-height:1.25;color:var(--text)}
h1{font-size:2.4rem;margin:0 0 16px}
h2{font-size:1.7rem;margin:0 0 12px}
h3{font-size:1.2rem;margin:0 0 8px}
p{color:var(--text-secondary)}

/* bouton contact flottant */
.contact-float{position:fixed;right:20px;bottom:20px;z-index:90;display:inline-flex;align-items:center;gap:8px;background:var(--primary);color:#fff;font-weight:600;font-size:.95rem;padding:12px 20px;border-radius:999px;box-shadow:0 6px 20px rgba(21,101,192,.35)}
.contact-float:hover{background:var(--primary-dark);color:#fff;text-decoration:none}
@media (max-width:860px){.contact-float{right:16px;bottom:16px}}

/* burger mobile */
.burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:10px;background:none;border:0;border-radius:8px;cursor:pointer}
.burger span{display:block;height:2px;width:100%;background:var(--text);border-radius:2px;transition:transform .2s,opacity .2s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{display:none}

/* header */
.site-header{border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--bg);z-index:50}
.site-header .container{display:flex;align-items:center;justify-content:space-between;height:72px}
.trust-bar{position:sticky;top:72px;z-index:49;background:var(--success-bg);border-bottom:1px solid var(--success-border);padding:8px 24px}
.trust-bar-viewport{position:relative;height:20px;max-width:var(--max-width);margin:0 auto}
.trust-group{position:absolute;inset:0;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:28px;font-size:.8rem;font-weight:600;color:var(--success-dark);opacity:0;visibility:hidden;transition:opacity .5s ease}
.trust-group.active{opacity:1;visibility:visible}
.trust-bar span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
@media (max-width:860px){
  .trust-bar{padding:8px 12px}
  .trust-group,.trust-group:not(.active){display:contents;opacity:1;visibility:visible}
  .trust-bar-viewport{height:20px;overflow:hidden}
  .trust-bar span{display:none;width:100%;justify-content:center;font-size:.78rem;font-weight:600;color:var(--success-dark);overflow:hidden;text-overflow:ellipsis}
  .trust-bar span.m-active{display:block;text-align:center}
  /* Distance uniforme et réduite entre le bandeau et le contenu de la 1re section (H1) */
  .trust-bar ~ section:first-of-type,
  .trust-bar ~ article > section:first-child{padding-top:16px !important;margin-top:0 !important}
}
.logo{font-weight:700;font-size:1.25rem;color:var(--text);display:flex;align-items:center;gap:8px}
.site-header .logo{font-size:1.7rem;gap:10px}
.site-header .logo svg{width:42px;height:42px}
.logo-text{display:inline-block;white-space:nowrap}
.logo .dot{width:10px;height:10px;border-radius:50%;background:var(--primary);display:inline-block}
nav.main-nav{display:flex;gap:28px;align-items:center}
nav.main-nav a{color:var(--text-secondary);font-weight:500;font-size:.95rem}
nav.main-nav a:hover{color:var(--primary);text-decoration:none}
.nav-cta{display:flex;gap:12px;align-items:center}
.menu-toggle{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 22px;border-radius:8px;font-weight:600;font-size:.95rem;border:1px solid transparent;cursor:pointer}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark);text-decoration:none}
.btn-outline{background:#fff;color:var(--primary);border-color:var(--primary-border)}
.btn-outline:hover{background:var(--primary-light);text-decoration:none}
.btn-success{background:var(--success);color:#fff}
.btn-success:hover{background:var(--success-dark);text-decoration:none}
.btn-block{width:100%}
.btn-sm{padding:7px 14px;font-size:.85rem}
.btn-danger{background:#fff;color:var(--error);border-color:#F3C6C6}

/* hero */
.hero{padding:80px 0 60px;background:linear-gradient(180deg,var(--primary-light) 0%,#fff 100%)}
.hero .container{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.badge{display:inline-block;background:var(--success-bg);color:var(--success-dark);border:1px solid var(--success-border);padding:5px 12px;border-radius:20px;font-size:.8rem;font-weight:600;margin-bottom:18px}
.hero h1{font-size:2.6rem}
.hero-actions{display:flex;gap:14px;margin-top:28px;flex-wrap:wrap}
.hero-visual{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:0 10px 40px rgba(21,101,192,.08)}
.hero-visual .mock-line{height:14px;background:var(--bg-alt);border-radius:6px;margin-bottom:10px}
.hero-visual .mock-line.short{width:60%}
.hero-visual .mock-card{border:1px solid var(--border);border-radius:10px;padding:14px;margin-top:14px}
.hero-visual .mock-pill{display:inline-block;background:var(--primary-light);color:var(--primary);font-size:.75rem;font-weight:600;padding:3px 10px;border-radius:12px;margin-top:8px}

/* sections */
section{padding:64px 0}
.section-alt{background:var(--bg-alt)}
.section-head{text-align:center;max-width:820px;margin:0 auto 40px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:26px}
.card .icon{width:44px;height:44px;border-radius:10px;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:1.3rem;margin-bottom:14px}
.steps{counter-reset:step}
.step{display:flex;gap:18px;margin-bottom:28px}
.step .num{counter-increment:step;content:counter(step);flex:0 0 auto;width:36px;height:36px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.step .num::before{content:counter(step)}

/* pricing */
.price-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:32px;text-align:center}
.price-card.featured{border-color:var(--primary);box-shadow:0 8px 30px rgba(21,101,192,.12);position:relative}
.price-card .amount{font-size:2.6rem;font-weight:700;color:var(--text);margin:14px 0 4px}
.price-card .amount span{font-size:1rem;color:var(--muted);font-weight:500}
.price-card ul{list-style:none;padding:0;text-align:left;margin:22px 0}
.price-card li{padding:8px 0;border-bottom:1px solid var(--border);color:var(--text-secondary)}
.price-card li:before{content:"✓ ";color:var(--success);font-weight:700}

/* forms */
.form-card{max-width:480px;margin:0 auto;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:36px}
.form-group{margin-bottom:18px}
label{display:block;font-weight:600;font-size:.9rem;margin-bottom:6px;color:var(--text)}
input[type=text],input[type=email],input[type=password],input[type=tel],select,textarea{
  width:100%;padding:11px 14px;border:1px solid var(--border-dark);border-radius:8px;font-size:.95rem;font-family:inherit;color:var(--text)
}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light)}
.hint{font-size:.8rem;color:var(--muted);margin-top:4px}
.alert{padding:14px 16px;border-radius:8px;font-size:.9rem;margin-bottom:18px}
.alert-error{background:var(--error-bg);color:var(--error-dark);border:1px solid #F3C6C6}
.alert-success{background:var(--success-bg);color:var(--success-dark);border:1px solid var(--success-border)}
.checkbox-row{display:flex;gap:10px;align-items:flex-start;font-size:.85rem;color:var(--text-secondary)}
.checkbox-row input{margin-top:3px}

/* dashboard */
.dash-grid{display:grid;grid-template-columns:240px 1fr;gap:32px}
.dash-nav a{display:block;padding:10px 14px;border-radius:8px;color:var(--text-secondary);font-weight:500;margin-bottom:4px}
.dash-nav a.active,.dash-nav a:hover{background:var(--primary-light);color:var(--primary);text-decoration:none}
.stat{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--border)}
.stat:last-child{border-bottom:none}
table{width:100%;border-collapse:collapse}
table th,table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border);font-size:.9rem}
table th{color:var(--muted);font-weight:600;font-size:.8rem;text-transform:uppercase}
.tag{display:inline-block;padding:3px 10px;border-radius:12px;font-size:.75rem;font-weight:600}
.tag-actif{background:var(--success-bg);color:var(--success-dark)}
.tag-essai{background:var(--primary-light);color:var(--primary)}
.tag-bloque,.tag-resilie{background:var(--error-bg);color:var(--error-dark)}

/* faq */
.faq-item{border-bottom:1px solid var(--border);padding:18px 0}
.faq-item summary{cursor:pointer;font-weight:600;color:var(--text)}
.faq-item p{margin-top:10px}

/* footer */
footer{background:#111827;color:#D1D5DB;padding:56px 0 28px;margin-top:60px}
footer a{color:#D1D5DB}
footer a:hover{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(5,1fr);gap:24px}
.footer-bottom{border-top:1px solid #374151;margin-top:40px;padding-top:20px;font-size:.8rem;color:#9CA3AF;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.footer-links a{display:block;margin-bottom:8px;font-size:.9rem}

/* cookie banner */
#cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#111827;color:#fff;padding:18px 24px;display:none;z-index:100;box-shadow:0 -4px 20px rgba(0,0,0,.2)}
#cookie-banner .container{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
#cookie-banner p{color:#D1D5DB;margin:0;font-size:.85rem;max-width:640px}
#cookie-banner .actions{display:flex;gap:10px}

/* legal pages */
.legal-content h2{margin-top:34px}
.legal-content{max-width:1000px;margin:0 auto}

/* photos */
.photo-block{border-radius:16px;overflow:hidden;box-shadow:0 10px 30px rgba(21,101,192,.08)}
.photo-block img{width:100%;height:100%;display:block;object-fit:cover}
.photo-banner{border-radius:16px;overflow:hidden;margin:0 auto 40px;max-width:1000px}
.photo-banner img{width:100%;max-height:340px;object-fit:cover;display:block}
.photo-side-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}
.photo-side-grid .photo-block{height:100%;min-height:280px}
@media (max-width:860px){
  .photo-side-grid{grid-template-columns:1fr}
  .photo-side-grid .photo-block{min-height:200px}
}

@media (max-width:860px){
  nav.main-nav,.nav-cta{display:none}
  .burger{display:flex}
  .site-header .logo{font-size:1.55rem;gap:10px}
  .site-header .logo svg{width:38px;height:38px}
  .mobile-menu{position:absolute;top:72px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--border);box-shadow:0 12px 24px rgba(0,0,0,.08);flex-direction:column;padding:8px 24px 16px}
  .mobile-menu.open{display:flex}
  .mobile-menu a{padding:14px 0;border-bottom:1px solid var(--border);color:var(--text);font-weight:600}
  .mobile-menu a:last-child{border-bottom:0}
  .hero .container{grid-template-columns:1fr}
  .grid-3,.grid-4,.grid-2{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .dash-grid{grid-template-columns:1fr}
  .hero h1{font-size:2rem}
}
