/* ============================================
   GuideMasqueLED.fr - Stylesheet principal
   ============================================ */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;line-height:1.7;color:#2c2638;background:#fdfafd;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:#c2185b;text-decoration:none;transition:color .2s}
a:hover{color:#ad1457;text-decoration:underline}

/* ===== Container ===== */
.container{max-width:1100px;margin:0 auto;padding:0 1.25rem}
.container-narrow{max-width:820px;margin:0 auto;padding:0 1.25rem}

/* ===== Header ===== */
header{background:#fff;border-bottom:1px solid #f0e4ec;padding:1rem 0;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px rgba(194,24,91,.05)}
header .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.logo{font-weight:800;font-size:1.35rem;color:#c2185b;text-decoration:none;letter-spacing:-.5px}
.logo:hover{text-decoration:none;color:#ad1457}
.logo span{color:#7b1fa2}
header nav ul{list-style:none;display:flex;gap:1.5rem;flex-wrap:wrap}
header nav a{color:#3d3550;font-weight:500;font-size:.95rem}
header nav a:hover{color:#c2185b;text-decoration:none}

/* ===== Breadcrumb ===== */
nav.breadcrumb{background:#faeef5;padding:.75rem 0;font-size:.9rem;border-bottom:1px solid #f0e4ec}
nav.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
nav.breadcrumb a{text-decoration:none;color:#7b1fa2}
nav.breadcrumb li:not(:last-child)::after{content:'›';color:#aaa;margin-left:.5rem}
nav.breadcrumb [aria-current="page"]{color:#666}

/* ===== Main / Article ===== */
main{padding:2rem 0 4rem;min-height:60vh}
article h1{font-size:2.25rem;margin-bottom:.75rem;line-height:1.2;color:#1a0f24;letter-spacing:-.5px}
article .meta{color:#6e637e;font-size:.9rem;margin-bottom:1.5rem;display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.meta strong{color:#c2185b}
.hero-image{width:100%;border-radius:12px;margin:1.5rem 0 2rem;box-shadow:0 8px 24px rgba(194,24,91,.12)}
article h2{font-size:1.75rem;margin:3rem 0 1.25rem;color:#1a0f24;border-left:4px solid #c2185b;padding-left:1rem;line-height:1.3;letter-spacing:-.3px}
article h3{font-size:1.25rem;margin:2rem 0 .75rem;color:#3d3550}
article h4{font-size:1.05rem;margin:1.5rem 0 .5rem;color:#3d3550;font-weight:600}
article p{margin-bottom:1rem;color:#3d3550}
article ul,article ol{margin:1rem 0 1.5rem 1.5rem;color:#3d3550}
article li{margin-bottom:.6rem}
article strong{color:#1a0f24;font-weight:600}
article img{border-radius:10px;margin:1.5rem 0;box-shadow:0 4px 16px rgba(194,24,91,.1)}
article figure{margin:2rem 0}
article figcaption{font-size:.85rem;color:#7e7290;text-align:center;margin-top:.5rem;font-style:italic}

/* ===== Table of Contents ===== */
.toc{background:linear-gradient(135deg,#fce4ec 0%,#f3e5f5 100%);border:1px solid #f0c5d8;border-radius:12px;padding:1.5rem 1.75rem;margin:2rem 0}
.toc h2{font-size:1.15rem;margin:0 0 .75rem;border:none;padding:0;color:#c2185b}
.toc ol{margin:0 0 0 1.25rem;column-count:2;column-gap:1.5rem}
.toc li{margin-bottom:.4rem;break-inside:avoid}
.toc a{text-decoration:none;color:#3d3550;font-size:.95rem}
.toc a:hover{color:#c2185b;text-decoration:underline}
@media (max-width:640px){.toc ol{column-count:1}}

/* ===== Tables ===== */
table{width:100%;border-collapse:collapse;margin:1.5rem 0;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);font-size:.94rem}
th,td{border:1px solid #f0e4ec;padding:.85rem 1rem;text-align:left;vertical-align:top}
th{background:linear-gradient(135deg,#fce4ec 0%,#f8bbd0 100%);color:#1a0f24;font-weight:600;font-size:.92rem}
tr:nth-child(even) td{background:#fdf6f9}

/* ===== FAQ ===== */
.faq-item{background:#fff;border:1px solid #f0e4ec;border-radius:10px;margin-bottom:.85rem;padding:1.25rem 1.5rem;transition:box-shadow .2s}
.faq-item:hover{box-shadow:0 4px 12px rgba(194,24,91,.08)}
.faq-item h3{margin:0 0 .5rem;font-size:1.1rem;color:#c2185b;font-weight:600}
.faq-item p{margin:0;color:#3d3550;font-size:.97rem}

/* ===== CTA Box ===== */
.cta-box{background:linear-gradient(135deg,#c2185b 0%,#7b1fa2 100%);color:#fff;padding:2rem;border-radius:12px;margin:3rem 0;text-align:center;box-shadow:0 8px 24px rgba(194,24,91,.25)}
.cta-box h2{color:#fff;border:none;padding:0;margin:0 0 .75rem;font-size:1.5rem}
.cta-box p{margin:0 0 1.25rem;opacity:.95;color:#fff}
.cta-box a.btn{display:inline-block;background:#fff;color:#c2185b;padding:.85rem 1.75rem;border-radius:8px;text-decoration:none;font-weight:700;transition:transform .2s}
.cta-box a.btn:hover{transform:translateY(-2px);text-decoration:none;color:#ad1457}

/* ===== Alert / Disclaimer ===== */
.alert{background:#fff8e1;border-left:4px solid #f59e0b;padding:1.25rem 1.5rem;border-radius:8px;margin:2rem 0;color:#3d3550}
.alert strong{color:#a16207}
.alert-info{background:#eff6ff;border-left-color:#2563eb}
.alert-info strong{color:#1d4ed8}
.alert-success{background:#ecfdf5;border-left-color:#10b981}
.alert-success strong{color:#047857}

/* ===== Related Articles / Aside ===== */
.related,.author-card{background:#fff;border-radius:12px;padding:1.5rem 1.75rem;margin:2.5rem 0;border:1px solid #f0e4ec;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.related h2,.author-card h2{font-size:1.2rem;margin:0 0 1rem;border:none;padding:0;color:#c2185b}
.related ul{list-style:none;margin:0;padding:0}
.related li{padding:.5rem 0;border-bottom:1px solid #faeef5}
.related li:last-child{border:none}
.related a{text-decoration:none;color:#3d3550;font-weight:500}
.related a:hover{color:#c2185b}

/* ===== Author card ===== */
.author-card{display:flex;gap:1.25rem;align-items:flex-start}
.author-avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#c2185b,#7b1fa2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}
.author-info h3{margin:0 0 .25rem;font-size:1.05rem;color:#1a0f24}
.author-info p{margin:0;font-size:.9rem;color:#6e637e}

/* ===== Forms ===== */
.form-group{margin-bottom:1.25rem}
label{display:block;font-weight:600;margin-bottom:.4rem;color:#3d3550;font-size:.95rem}
input[type=text],input[type=email],input[type=tel],textarea,select{width:100%;padding:.75rem 1rem;border:1px solid #e0d4dc;border-radius:8px;font-size:1rem;font-family:inherit;background:#fff;color:#1a0f24;transition:border-color .2s,box-shadow .2s}
input:focus,textarea:focus,select:focus{outline:none;border-color:#c2185b;box-shadow:0 0 0 3px rgba(194,24,91,.1)}
textarea{min-height:140px;resize:vertical}
button[type=submit],.btn-primary{background:linear-gradient(135deg,#c2185b 0%,#7b1fa2 100%);color:#fff;padding:.85rem 2rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s;font-family:inherit}
button[type=submit]:hover,.btn-primary:hover{transform:translateY(-2px)}
.consent-row{display:flex;gap:.6rem;align-items:flex-start;font-size:.92rem;color:#6e637e}
.consent-row input{margin-top:.25rem}
.consent-row label{font-weight:400;margin-bottom:0}

/* ===== Footer ===== */
footer{background:#1a0f24;color:#cfc2d8;padding:3rem 0 1.5rem;font-size:.92rem;margin-top:3rem}
footer .container{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;margin-bottom:2rem}
footer h3{color:#fff;font-size:1.05rem;margin-bottom:1rem}
footer ul{list-style:none}
footer li{margin-bottom:.5rem}
footer a{color:#cfc2d8;text-decoration:none}
footer a:hover{color:#fff;text-decoration:underline}
footer .footer-bottom{border-top:1px solid #3d2c4e;padding-top:1.5rem;text-align:center;font-size:.85rem;color:#9c8aab}
footer .footer-bottom p{margin:.25rem 0}

/* ===== Responsive ===== */
@media (max-width:768px){
  article h1{font-size:1.7rem}
  article h2{font-size:1.4rem}
  article h3{font-size:1.15rem}
  header .container{flex-direction:column;align-items:flex-start}
  header nav ul{gap:1rem}
  .container,.container-narrow{padding:0 1rem}
  .cta-box{padding:1.5rem}
}
@media (max-width:480px){
  article h1{font-size:1.5rem}
  header nav ul{font-size:.85rem;gap:.85rem}
}
