/* Rénovation Toiture 13 — styles isolés aux pages gérées */
.rt13-refonte-active { color: var(--rt13-text); background: #fff; }
.rt13-refonte-active .entry-header,
.rt13-refonte-active .page-title,
.rt13-refonte-active .hero-section[data-type="type-1"] { display:none !important; }
.rt13-refonte-active .site-main,
.rt13-refonte-active .entry-content { margin:0 !important; padding:0 !important; max-width:none !important; }
.rt13-refonte-active .entry-content > * { margin-top:0; margin-bottom:0; }
.rt13-refonte-active .alignfull { width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); }
.rt13-refonte-active .alignwide { max-width:1180px; margin-left:auto; margin-right:auto; }
.rt13-refonte-active h1,.rt13-refonte-active h2,.rt13-refonte-active h3 { color:var(--rt13-dark); line-height:1.08; letter-spacing:-.035em; }
.rt13-refonte-active h1 { font-size:clamp(2.45rem,5vw,5rem); margin:.35em 0 .3em; }
.rt13-refonte-active h2 { font-size:clamp(1.85rem,3.4vw,3.3rem); margin:.25em 0 .45em; }
.rt13-refonte-active h3 { font-size:clamp(1.15rem,1.8vw,1.45rem); margin:.1em 0 .55em; }
.rt13-refonte-active p,.rt13-refonte-active li { font-size:clamp(1rem,1.1vw,1.08rem); line-height:1.75; color:var(--rt13-muted); }
.rt13-refonte-active a { text-underline-offset:3px; }
.rt13-section { padding:clamp(64px,8vw,112px) 24px; }
.rt13-section > * { max-width:1180px; margin-left:auto; margin-right:auto; }
.rt13-section-cream { background:var(--rt13-cream); }
.rt13-section-dark { background:var(--rt13-dark); color:#fff; }
.rt13-section-dark h2,.rt13-section-dark h3,.rt13-section-dark p,.rt13-section-dark .rt13-eyebrow { color:#fff; }
.rt13-eyebrow { margin:0 0 12px !important; color:var(--rt13-primary) !important; font-size:.78rem !important; font-weight:800; text-transform:uppercase; letter-spacing:.14em; }
.rt13-section-lead,.rt13-lead { max-width:790px; font-size:clamp(1.08rem,1.45vw,1.3rem) !important; }
.rt13-intro { text-align:center; }
.rt13-intro .rt13-section-lead { margin-left:auto; margin-right:auto; }
.rt13-hero { position:relative; overflow:hidden; padding:clamp(72px,8vw,124px) 24px; background:linear-gradient(135deg,var(--rt13-dark),var(--rt13-dark-2)); }
.rt13-hero:before { content:""; position:absolute; inset:auto -15% -55% auto; width:640px; height:640px; border-radius:50%; background:radial-gradient(circle,rgba(232,94,42,.35),transparent 66%); pointer-events:none; }
.rt13-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.02fr) minmax(340px,.98fr); gap:clamp(36px,6vw,84px); align-items:center; max-width:1240px; margin:auto; }
.rt13-hero h1,.rt13-hero p { color:#fff; }
.rt13-hero .rt13-eyebrow { color:#ff956c !important; }
.rt13-hero-media { position:relative; min-height:520px; }
.rt13-hero-media:after { content:""; position:absolute; inset:22px -18px -18px 22px; border:1px solid rgba(255,255,255,.2); border-radius:28px; }
.rt13-hero-media img { position:relative; z-index:1; width:100%; height:100%; min-height:520px; object-fit:cover; border-radius:28px; box-shadow:0 28px 80px rgba(0,0,0,.35); }
.rt13-micro { font-size:.85rem !important; opacity:.72; margin-top:18px !important; }
.rt13-buttons { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.rt13-btn { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:14px 22px !important; border-radius:999px !important; font-weight:800; text-decoration:none !important; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.rt13-btn:hover { transform:translateY(-2px); }
.rt13-btn-primary { background:var(--rt13-primary) !important; color:#fff !important; box-shadow:0 12px 30px rgba(232,94,42,.28); }
.rt13-btn-primary:hover { background:var(--rt13-primary-dark) !important; }
.rt13-btn-light { background:#fff !important; color:var(--rt13-dark) !important; }
.rt13-btn-outline { background:transparent !important; color:var(--rt13-dark) !important; border:1px solid rgba(23,36,44,.22); }
.rt13-btn-outline-light { background:transparent !important; color:#fff !important; border:1px solid rgba(255,255,255,.6); }
.rt13-trust { padding:0 24px; background:#fff; box-shadow:0 18px 55px rgba(23,36,44,.08); position:relative; z-index:2; }
.rt13-trust-grid { max-width:1180px; margin:auto; display:grid; grid-template-columns:repeat(4,1fr); }
.rt13-trust-item { padding:24px 18px; display:flex; gap:10px; align-items:center; justify-content:center; border-right:1px solid rgba(23,36,44,.08); font-weight:700; font-size:.94rem; }
.rt13-trust-item:last-child { border-right:0; }
.rt13-trust-item span { color:var(--rt13-primary); }
.rt13-grid { display:grid; gap:22px; }
.rt13-grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.rt13-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.rt13-card { padding:30px; border:1px solid rgba(23,36,44,.1); border-radius:22px; background:#fff; box-shadow:0 14px 40px rgba(23,36,44,.06); transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.rt13-card:hover { transform:translateY(-5px); box-shadow:0 22px 56px rgba(23,36,44,.11); border-color:rgba(232,94,42,.4); }
.rt13-card p { margin-bottom:18px; }
.rt13-card-link { color:var(--rt13-primary-dark); font-weight:800; text-decoration:none; }
.rt13-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,.9fr); gap:clamp(40px,7vw,88px); align-items:center; }
.rt13-split-media img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:28px; box-shadow:0 24px 70px rgba(23,36,44,.18); }
.rt13-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; counter-reset:steps; }
.rt13-step { min-height:150px; padding:24px; border-radius:20px; background:var(--rt13-cream); }
.rt13-step span { display:inline-flex; width:38px; height:38px; border-radius:50%; align-items:center; justify-content:center; background:var(--rt13-primary); color:#fff; font-weight:800; }
.rt13-step p { margin:18px 0 0; color:var(--rt13-dark); font-weight:700; line-height:1.45; }
.rt13-check { display:flex; gap:14px; align-items:flex-start; padding:22px; border:1px solid rgba(23,36,44,.09); border-radius:18px; background:#fff; }
.rt13-check span { flex:0 0 32px; height:32px; border-radius:50%; display:grid; place-items:center; color:#fff; background:var(--rt13-primary); font-weight:900; }
.rt13-check p { margin:2px 0 0; color:var(--rt13-dark); font-weight:650; }
.rt13-quality { display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center; }
.rt13-project { position:relative; display:block; overflow:hidden; min-height:360px; border-radius:24px; text-decoration:none !important; background:#000; }
.rt13-project img { width:100%; height:100%; min-height:360px; object-fit:cover; opacity:.8; transition:transform .45s ease,opacity .3s ease; }
.rt13-project:after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.82)); }
.rt13-project span { position:absolute; z-index:2; left:24px; right:24px; bottom:22px; color:#fff; font-size:1.25rem; font-weight:800; }
.rt13-project:hover img { transform:scale(1.05); opacity:1; }
.rt13-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.rt13-gallery figure { margin:0; }
.rt13-gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:22px; }
.rt13-gallery figcaption { padding:10px 4px; color:var(--rt13-muted); font-size:.9rem; }
.rt13-faq-list { max-width:920px; margin:34px auto 0; }
.rt13-faq { border-bottom:1px solid rgba(23,36,44,.15); }
.rt13-faq summary { cursor:pointer; padding:22px 42px 22px 0; position:relative; font-weight:800; color:var(--rt13-dark); font-size:1.08rem; list-style:none; }
.rt13-faq summary::-webkit-details-marker { display:none; }
.rt13-faq summary:after { content:"+"; position:absolute; right:6px; top:17px; font-size:1.8rem; color:var(--rt13-primary); }
.rt13-faq[open] summary:after { content:"−"; }
.rt13-faq div { padding:0 30px 20px 0; }
.rt13-cta-wrap { background:var(--rt13-primary); }
.rt13-cta { display:flex; align-items:center; justify-content:space-between; gap:36px; }
.rt13-cta h2,.rt13-cta p,.rt13-cta .rt13-eyebrow { color:#fff !important; }
.rt13-form-layout { display:grid; grid-template-columns:.72fr 1.28fr; gap:60px; align-items:start; }
.rt13-form-card { background:#fff; padding:34px; border-radius:24px; box-shadow:0 22px 60px rgba(23,36,44,.12); }
.rt13-form-card input,.rt13-form-card select,.rt13-form-card textarea { border-radius:10px !important; }
.rt13-form-card button,.rt13-form-card input[type=submit] { background:var(--rt13-primary) !important; border-radius:999px !important; font-weight:800 !important; }
.rt13-legal { max-width:880px !important; }
.rt13-legal h1 { font-size:clamp(2.4rem,5vw,4rem); }
.rt13-warning { border-left:5px solid var(--rt13-primary); }
.rt13-thankyou { text-align:center; max-width:760px !important; margin:auto; padding:70px 0; }
.rt13-thankyou .rt13-buttons { justify-content:center; }
.rt13-mobile-bar { display:none; }
@media (max-width:900px){
  .rt13-hero-grid,.rt13-split,.rt13-quality,.rt13-form-layout { grid-template-columns:1fr; }
  .rt13-hero-media,.rt13-hero-media img { min-height:380px; }
  .rt13-grid-3,.rt13-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rt13-trust-grid { grid-template-columns:repeat(2,1fr); }
  .rt13-trust-item:nth-child(2) { border-right:0; }
  .rt13-trust-item:nth-child(-n+2) { border-bottom:1px solid rgba(23,36,44,.08); }
  .rt13-cta { align-items:flex-start; flex-direction:column; }
}
@media (max-width:620px){
  body.rt13-refonte-active { padding-bottom:66px; }
  .rt13-section,.rt13-hero { padding-left:18px; padding-right:18px; }
  .rt13-hero { padding-top:58px; padding-bottom:64px; }
  .rt13-hero-media,.rt13-hero-media img { min-height:300px; }
  .rt13-grid-2,.rt13-grid-3,.rt13-steps,.rt13-gallery { grid-template-columns:1fr; }
  .rt13-trust-grid { grid-template-columns:1fr; }
  .rt13-trust-item { border-right:0; border-bottom:1px solid rgba(23,36,44,.08); justify-content:flex-start; }
  .rt13-card { padding:24px; }
  .rt13-buttons { flex-direction:column; align-items:stretch; }
  .rt13-btn { width:100%; }
  .rt13-mobile-bar { display:grid; position:fixed; z-index:99999; left:0; right:0; bottom:0; grid-template-columns:1fr 1.2fr; box-shadow:0 -8px 30px rgba(0,0,0,.2); }
  .rt13-mobile-bar a { min-height:62px; display:grid; place-items:center; background:var(--rt13-dark); color:#fff; text-decoration:none; font-weight:800; }
  .rt13-mobile-bar a:last-child { background:var(--rt13-primary); }
}

/* Articles */
.rt13-articles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.rt13-article-card{background:var(--rt13-surface);border:1px solid rgba(23,36,44,.11);border-radius:20px;overflow:hidden;box-shadow:0 16px 42px rgba(23,36,44,.08)}
.rt13-article-card__media{display:block;aspect-ratio:16/10;overflow:hidden}
.rt13-article-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.rt13-article-card:hover .rt13-article-card__media img{transform:scale(1.035)}
.rt13-article-card__body{padding:26px}
.rt13-article-card__body h2{font-size:clamp(1.2rem,2vw,1.55rem);margin:.25rem 0 .8rem}
.rt13-article-card__body h2 a{color:var(--rt13-dark);text-decoration:none}
.rt13-article-card__date{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--rt13-primary-dark);font-weight:700}
.rt13-text-link{font-weight:750;color:var(--rt13-primary-dark)}
.rt13-pagination ul{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;list-style:none;margin:36px 0 0;padding:0}
.rt13-pagination a,.rt13-pagination span{display:grid;place-items:center;min-width:42px;height:42px;border-radius:10px;border:1px solid rgba(23,36,44,.14);text-decoration:none}
.rt13-pagination .current{background:var(--rt13-dark);color:#fff;border-color:var(--rt13-dark)}
.rt13-empty-state{padding:34px;border:1px dashed rgba(23,36,44,.25);border-radius:18px;text-align:center;background:var(--rt13-cream)}
@media(max-width:900px){.rt13-articles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.rt13-articles-grid{grid-template-columns:1fr}}
