/* Le Serrurier 54 — ambiance « blanc éclatant + rouge vif » (nov. 2026)
   Chargé après les styles de chaque page : surcharge le thème beige d'origine. */
:root {
  --creme: #ffffff;
  --or: #e63030;
  --light-bg: #ffffff;
  --t-rouge: #E24B4A; --t-rouge-bg: #FCEBEB; --t-rouge-txt: #791F1F;
  --t-ambre: #EF9F27; --t-ambre-bg: #FAEEDA; --t-ambre-txt: #633806;
  --t-bleu:  #378ADD; --t-bleu-bg:  #E6F1FB; --t-bleu-txt:  #0C447C;
}
body { background: #ffffff; }
.hero::before { display: none !important; }

/* Titres de section : petit trait rouge dessous */
.section-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: #e63030; margin: 14px auto 0; }

/* Cartes de services : couleurs alternées rouge / ambre / bleu */
.service-card, .card { border: none !important; border-radius: 18px !important; background: var(--t-rouge-bg) !important; transition: transform .25s, box-shadow .25s !important; }
.service-card:nth-child(3n+2), .card:nth-child(3n+2) { background: var(--t-ambre-bg) !important; }
.service-card:nth-child(3n+3), .card:nth-child(3n+3) { background: var(--t-bleu-bg) !important; }
.service-card:hover, .card:hover { transform: translateY(-5px) !important; box-shadow: 0 14px 30px rgba(12,27,46,0.12); }
.service-card h3, .card h3 { color: var(--t-rouge-txt); }
.service-card:nth-child(3n+2) h3, .card:nth-child(3n+2) h3 { color: var(--t-ambre-txt); }
.service-card:nth-child(3n+3) h3, .card:nth-child(3n+3) h3 { color: var(--t-bleu-txt); }
.service-card p { color: #3d3d3a !important; }

/* Pastilles d'icônes */
.service-icon { display: inline-flex !important; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--t-rouge); font-size: 1.7rem !important; margin-bottom: 16px !important; transition: transform .3s; }
.service-card:nth-child(3n+2) .service-icon { background: var(--t-ambre); }
.service-card:nth-child(3n+3) .service-icon { background: var(--t-bleu); }
.service-icon svg { width: 30px !important; height: 30px !important; color: #ffffff !important; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(-6deg); }

/* Étiquettes sous les cartes */
.service-tag { background: #ffffff !important; color: var(--t-rouge-txt) !important; font-weight: 700 !important; }
.service-card:nth-child(3n+2) .service-tag { color: var(--t-ambre-txt) !important; }
.service-card:nth-child(3n+3) .service-tag { color: var(--t-bleu-txt) !important; }

/* Villes, communes, zones */
.ville-card, .ville-chip, .zone-item, .commune-item { border-color: #F7C1C1 !important; }
.ville-card:hover, .ville-chip:hover { border-color: #e63030 !important; box-shadow: 0 12px 28px rgba(230,48,48,0.15); }
.ville-btn { background: #e63030 !important; color: #ffffff !important; }

/* Avis : fond rosé, étoiles dorées */
.avis { background: #FFF5F5 !important; }
.avis-card { border-top: 4px solid #e63030; }
.stars { color: #fbbc04 !important; letter-spacing: 2px; }

/* FAQ */
.faq-item { border-color: #F7C1C1 !important; }

/* Apparition au défilement (activée seulement si le script tourne) */
.js-reveal .rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .rv { opacity: 1; transform: none; transition: none; }
  .service-card, .card, .service-icon { transition: none !important; }
}

/* Blocs de texte (.intro) : cartes aérées, texte aligné à gauche, mots clés surlignés */
.intro { text-align: left !important; background: #F7F9FC; border-radius: 20px; padding: 36px 32px !important; margin: 32px auto !important; max-width: 820px !important; }
.intro.alt { background: #ffffff; box-shadow: 0 6px 24px rgba(12,27,46,0.08); }
.intro h2 { text-align: left !important; position: relative; padding-left: 16px; font-size: clamp(1.4rem, 3.6vw, 2rem) !important; line-height: 1.25; }
.intro h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 4px; background: #e63030; }
.intro p { color: #3d3d3a !important; line-height: 1.7 !important; font-size: 1.02rem !important; }
.intro p strong { color: #0C1B2E !important; background: linear-gradient(transparent 62%, #FAC775 62%); padding: 0 2px; }
.intro p.enbref { background: #FCEBEB; border-left: 5px solid #e63030; border-radius: 0 14px 14px 0; padding: 16px 18px; font-size: 1.08rem !important; color: #2c2c2a !important; }
.intro p.enbref strong { background: none; color: #A32D2D !important; }
@media (max-width: 600px) {
  .intro { padding: 26px 20px !important; margin: 20px 12px !important; border-radius: 16px; }
  .intro p { font-size: 1rem !important; }
}
.intro a[href^="tel:"] { color: #e63030 !important; font-weight: 700; white-space: nowrap; }

/* Pastilles d'infos clés */
.pastilles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 6px 0 22px; }
.pastille { display: flex; align-items: center; gap: 10px; background: #ffffff; border: 1.5px solid #F7C1C1; border-radius: 14px; padding: 12px; font-size: .92rem; line-height: 1.3; color: #3d3d3a; }
.pastille strong { color: #0C1B2E; display: block; }
.pastille .pi { font-size: 1.5rem; flex-shrink: 0; }
@media (max-width: 760px) { .pastilles { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Parcours en 4 étapes */
.etapes { max-width: 820px; margin: 32px auto; padding: 0 24px; }
.etapes-titre { font-family: Arial, sans-serif; font-size: clamp(1.4rem, 3.6vw, 2rem); text-align: center; margin-bottom: 22px; color: #0C1B2E; }
.etapes-liste { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; counter-reset: none; }
.etapes-liste li { position: relative; background: #0C1B2E; color: #ffffff; border-radius: 16px; padding: 20px 16px 18px; text-align: center; }
.etapes-liste li strong { display: block; font-size: 1.02rem; margin: 10px 0 4px; }
.etapes-liste li span:last-child { font-size: .88rem; color: #B5D4F4; line-height: 1.4; display: block; }
.etapes-liste li a { color: #ffffff; font-weight: 700; white-space: nowrap; }
.etapes-liste .en { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: #e63030; color: #fff; font-weight: 900; align-items: center; justify-content: center; font-size: 1.1rem; }
@media (max-width: 760px) {
  .etapes { padding: 0 12px; }
  .etapes-liste { grid-template-columns: 1fr; }
  .etapes-liste li { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; text-align: left; align-items: center; padding: 14px 16px; }
  .etapes-liste .en { grid-row: span 2; }
  .etapes-liste li strong { margin: 0; }
}

/* « Lire la suite » */
.js-suite .intro .suite { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.js-suite .intro.ouvert .suite { max-height: 6000px; }
.lire-suite { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; background: #ffffff; border: 1.5px solid #e63030; color: #e63030; font-weight: 700; font-size: .95rem; padding: 9px 18px; border-radius: 30px; cursor: pointer; font-family: inherit; }
.lire-suite:hover { background: #FCEBEB; }

/* Cartes de texte (même principe que les pastilles) */
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 6px; }
.carte { background: #ffffff; border: 1.5px solid #F7C1C1; border-radius: 16px; padding: 16px 18px; transition: transform .25s, box-shadow .25s; }
.carte:nth-child(3n+2) { border-color: #FAC775; }
.carte:nth-child(3n+3) { border-color: #B5D4F4; }
.carte:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(12,27,46,0.10); }
.carte-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.carte-tete h3 { font-family: Arial, sans-serif; font-size: 1.02rem; line-height: 1.25; color: #0C1B2E; margin: 0; }
.carte .ci { font-size: 1.5rem; flex-shrink: 0; }
.intro .carte p { font-size: .95rem !important; line-height: 1.6 !important; margin: 0 !important; }
.intro .carte p strong { background: none; color: #A32D2D !important; padding: 0; }
.cartes-etapes .carte { border-color: #F7C1C1; }
.carte .num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: #e63030; color: #fff; font-weight: 900; font-size: 1rem; align-items: center; justify-content: center; }
.guides { display: grid; gap: 10px; }
.guide { display: flex; align-items: center; gap: 12px; background: #ffffff; border: 1.5px solid #F7C1C1; border-radius: 14px; padding: 14px 16px; text-decoration: none; color: #0C1B2E; font-weight: 700; }
.guide:hover { border-color: #e63030; background: #FCEBEB; }
.guide .ci { font-size: 1.4rem; }
.guide .fl { margin-left: auto; color: #e63030; font-size: 1.2rem; }
@media (max-width: 600px) { .intro table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .88rem; } }

/* v3 : pas de surlignement, chaque paragraphe en pastille */
.intro p strong { background: none !important; padding: 0 !important; color: #A32D2D !important; }
.intro > p, .intro .suite > p { background: #ffffff; border: 1.5px solid #F7C1C1; border-radius: 14px; padding: 14px 16px; margin-bottom: 12px !important; }
.intro > p.enbref { border: 1.5px solid #e63030 !important; border-left-width: 1.5px !important; border-radius: 14px !important; background: #FCEBEB; }
.pastille { padding: 12px 14px; display: block; }
.pastille strong { margin-bottom: 2px; }
.carte-tete { margin-bottom: 6px; }
