/*
Theme Name: Blindage de Porte Paris
Author: BRMS Serrurerie
Version: 3.0
Text Domain: bdp
*/

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: #fff; color: #1a2535; overflow-x: hidden; width: 100%; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── VARIABLES ── */
:root {
  --marine:   #1B3A6B;
  --marine2:  #102650;
  --rouge:    #D0312D;
  --blanc:    #ffffff;
  --gris-bg:  #F4F6FA;
  --gris:     #64748B;
  --border:   #DDE3EE;
  --bleu:     #5B9EF4;
}

/* ── UTILS ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 80px 0; }
.sec-alt { background: var(--gris-bg); }
.sec-dark { background: var(--marine2); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(27,58,107,0.08); color: var(--marine);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; border: 1px solid rgba(27,58,107,0.15);
  margin-bottom: 10px;
}
.tag-light { background: rgba(91,158,244,0.12); color: var(--bleu); border-color: rgba(91,158,244,0.2); }
.sec-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.sec-sub { font-size: 15px; color: var(--gris); line-height: 1.7; max-width: 540px; margin-bottom: 36px; }
.sec-sub-center { text-align: center; max-width: 520px; margin: 0 auto 36px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 13px 28px; border-radius: 5px; transition: all .2s; cursor: pointer; border: none; white-space: nowrap; text-decoration: none; }
.btn-red { background: var(--rouge); color: #fff; box-shadow: 0 3px 12px rgba(208,49,45,.28); }
.btn-red:hover { background: #b52825; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { font-size: 16px; padding: 15px 32px; }
.btn-full { width: 100%; justify-content: center; }

/* ── URGENCE BAR ── */
#urgbar { background: var(--rouge); color: #fff; text-align: center; padding: 9px 20px; font-size: 13px; font-weight: 600; }
#urgbar a { color: #fff; text-decoration: underline; }

/* ── HEADER ── */
#hdr { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(27,58,107,.07); }
.hdr-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { width: 38px; height: 38px; background: var(--marine); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.logo-name { font-size: 16px; font-weight: 800; color: #1a2535; line-height: 1.15; }
.logo-name span { color: var(--marine); }
.logo-sub { font-size: 10px; color: var(--gris); letter-spacing: .08em; text-transform: uppercase; }
#nav { display: flex; align-items: center; gap: 4px; }
.nav-a { font-size: 13.5px; font-weight: 600; color: var(--gris); padding: 7px 12px; border-radius: 5px; transition: all .2s; }
.nav-a:hover { color: var(--marine); background: var(--gris-bg); }
.nav-cta { background: var(--rouge); color: #fff !important; padding: 9px 18px; border-radius: 5px; font-weight: 700; font-size: 13.5px; margin-left: 6px; transition: background .2s; flex-shrink: 0; }
.nav-cta:hover { background: #b52825; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: #1a2535; border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
#nav-mobile { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--border); padding: 12px 20px 20px; }
#nav-mobile.open { display: flex; }
#nav-mobile .nav-a { padding: 12px 8px; border-bottom: 1px solid var(--gris-bg); font-size: 15px; color: #1a2535; }
#nav-mobile .nav-cta { margin: 14px 0 0; text-align: center; padding: 14px; font-size: 15px; border-radius: 5px; display: block; }

/* ── HERO ── */
#hero { background: var(--marine2); padding: 72px 0; position: relative; overflow: hidden; }
#hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 70% 40%, rgba(37,77,143,.5) 0%, transparent 60%); pointer-events: none; }
.hero-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-bc { display: flex; gap: 6px; align-items: center; font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 18px; flex-wrap: wrap; }
.hero-bc span { color: rgba(255,255,255,.65); }
#hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 18px; }
#hero h1 em { font-style: normal; color: var(--bleu); }
.hero-p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.68); margin-bottom: 28px; }
.hero-p strong { color: rgba(255,255,255,.9); font-weight: 600; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-reassure { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; }
.hero-r { font-size: 12.5px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 6px; }
.hero-r::before { content: '✓'; color: var(--bleu); font-weight: 800; }
.hero-kpis { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; overflow: hidden; }
.kpi { background: rgba(255,255,255,.05); padding: 16px; text-align: center; }
.kpi + .kpi { border-left: 1px solid rgba(255,255,255,.12); }
.kpi-n { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.kpi-n em { font-style: normal; color: var(--bleu); }
.kpi-l { font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
/* Panel droit hero */
.hero-cards { display: flex; flex-direction: column; gap: 12px; }
.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.hc-ico { font-size: 26px; flex-shrink: 0; }
.hc-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.hc-sub { font-size: 12px; color: rgba(255,255,255,.5); }

/* ── SERVICES ── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; gap: 1px; background: var(--border); }
.svc { background: #fff; padding: 32px 26px; position: relative; transition: background .2s; }
.svc:hover { background: var(--gris-bg); }
.svc::after { content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--rouge); transition: height .3s; }
.svc:hover::after { height: 100%; }
.svc-ico { width: 44px; height: 44px; background: rgba(27,58,107,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.svc h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.svc p { font-size: 13px; color: var(--gris); line-height: 1.65; }
.svc-lnk { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 11px; font-weight: 700; color: var(--marine); text-transform: uppercase; letter-spacing: .06em; }
.svc-lnk a { color: var(--marine); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.svc-lnk a::after { content: ' →'; }
.svc:hover .svc-lnk a { text-decoration: underline; }

/* ── GAMMES ── */
.gammes { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.gm { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.gm:hover { box-shadow: 0 6px 24px rgba(27,58,107,.14); transform: translateY(-3px); }
.gm-hdr { background: var(--marine); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.gm.star .gm-hdr { background: var(--rouge); }
.gm-cert { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.65); letter-spacing: .1em; text-transform: uppercase; }
.gm-body { padding: 18px; }
.gm-body h4 { font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.gm-body p { font-size: 12px; color: var(--gris); line-height: 1.65; }
.gm-badge { display: inline-block; background: rgba(208,49,45,.08); color: var(--rouge); border: 1px solid rgba(208,49,45,.2); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-top: 10px; }
.marques { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); }
.m-lbl { font-size: 11px; font-weight: 700; color: var(--gris); text-transform: uppercase; letter-spacing: .08em; }
.m-pill { background: var(--gris-bg); border: 1px solid var(--border); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }

/* ── PROCESS ── */
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.ps { padding: 32px 24px; text-align: center; border-right: 1px solid var(--border); }
.ps:last-child { border-right: none; }
.ps-n { width: 60px; height: 60px; border-radius: 50%; background: var(--marine); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--border); }
.ps:last-child .ps-n { background: var(--rouge); }
.ps h4 { font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.ps p { font-size: 12px; color: var(--gris); line-height: 1.65; }

/* ── GARANTIES ── */
.trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.tr { display: flex; gap: 14px; padding: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; }
.tr-ico { width: 40px; height: 40px; flex-shrink: 0; background: rgba(91,158,244,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.tr h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.tr p { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.65; }

/* ── ZONES ── */
.zones-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.zones-txt h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.zones-txt p { font-size: 13px; color: var(--gris); line-height: 1.7; margin-bottom: 12px; }
.deps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.dep { background: var(--marine); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 4px; }
.arr-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.arr { background: #fff; border: 1px solid var(--border); border-radius: 4px; text-align: center; padding: 9px 4px; font-size: 11.5px; font-weight: 600; transition: all .2s; }
.arr:hover { background: var(--marine); border-color: var(--marine); color: #fff; }

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.ci h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.ci p { font-size: 13px; color: var(--gris); line-height: 1.7; margin-bottom: 20px; }
.cc { display: flex; gap: 12px; align-items: center; padding: 13px 16px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; transition: border-color .2s; }
.cc:hover { border-color: var(--marine); }
.cc-ico { width: 36px; height: 36px; background: rgba(27,58,107,.08); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.cc-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); font-weight: 600; }
.cc-val { font-size: 14px; font-weight: 700; }
.cc-val a { color: var(--marine); }
.form-box { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 32px; box-shadow: 0 2px 20px rgba(27,58,107,.08); }
.form-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #1a2535; }
.field input, .field select, .field textarea { border: 1px solid var(--border); border-radius: 4px; padding: 10px 14px; font-size: 14px; color: #1a2535; background: #fff; outline: none; font-family: inherit; width: 100%; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--marine); box-shadow: 0 0 0 3px rgba(27,58,107,.08); }
.field textarea { min-height: 90px; resize: vertical; }
.form-note { font-size: 11px; color: var(--gris); margin-top: 8px; }
.msg-ok { display: none; background: #D4EDDA; color: #155724; border: 1px solid #C3E6CB; padding: 12px 16px; border-radius: 4px; font-weight: 600; font-size: 13px; margin-bottom: 14px; }
.msg-err { display: none; background: #F8D7DA; color: #721C24; border: 1px solid #F5C6CB; padding: 12px 16px; border-radius: 4px; font-weight: 600; font-size: 13px; margin-bottom: 14px; }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 4px; max-width: 800px; margin: 0 auto; }
.fq { border: 1px solid var(--border); border-radius: 6px; background: #fff; overflow: hidden; }
.fq.open { border-color: var(--marine); }
.fq-q { width: 100%; background: none; border: none; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; cursor: pointer; text-align: left; }
.fq-qt { font-size: 14px; font-weight: 700; color: #1a2535; }
.fq.open .fq-qt { color: var(--marine); }
.fq-arr { width: 24px; height: 24px; background: var(--gris-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; transition: transform .3s, background .2s; flex-shrink: 0; }
.fq.open .fq-arr { transform: rotate(180deg); background: var(--marine); color: #fff; }
.fq-a { max-height: 0; overflow: hidden; padding: 0 20px; font-size: 13px; line-height: 1.75; color: var(--gris); transition: max-height .35s ease, padding .3s; }
.fq.open .fq-a { max-height: 400px; padding: 0 20px 16px; }

/* ── FOOTER ── */
#ftr { background: #111827; padding: 56px 0 0; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 24px; }
.ftr-brand p { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 12px; line-height: 1.7; max-width: 240px; }
.ftr-col h5 { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.ftr-col a { display: block; font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 8px; transition: color .2s; }
.ftr-col a:hover { color: rgba(255,255,255,.8); }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; font-size: 12px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 10px; }
.ftr-bottom a { color: rgba(255,255,255,.3); margin-left: 14px; }
.ftr-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── STICKY BAR MOBILE ── */
#sticky-mobile { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: #fff; border-top: 2px solid var(--border); box-shadow: 0 -4px 20px rgba(0,0,0,.12); }
.sticky-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.sb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 10px 4px; text-decoration: none; transition: opacity .2s; }
.sb:active { opacity: .8; }
.sb-ico { font-size: 20px; line-height: 1; }
.sb-txt { font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sb-call { background: var(--rouge); }
.sb-call .sb-txt { color: #fff; }
.sb-wa { background: #25D366; }
.sb-wa .sb-txt { color: #fff; }
.sb-mail { background: var(--marine); }
.sb-mail .sb-txt { color: #fff; }
.sb-devis { background: var(--gris-bg); }
.sb-devis .sb-txt { color: #1a2535; }

/* ── FLOATING DESKTOP ── */
#float-desk { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fb { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 40px; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.fb:hover { transform: translateY(-2px); }
.fb-call { background: var(--rouge); color: #fff; box-shadow: 0 4px 16px rgba(208,49,45,.4); }
.fb-wa { background: #25D366; color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,.35); }
.fb-mail { background: var(--marine); color: #fff; box-shadow: 0 4px 16px rgba(27,58,107,.35); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .trust { grid-template-columns: repeat(2,1fr); }
  .process { grid-template-columns: repeat(2,1fr); }
  .ps { border-right: none; border-bottom: 1px solid var(--border); }
  .ps:last-child { border-bottom: none; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .gammes { grid-template-columns: repeat(2,1fr); }
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
}
@media (max-width: 768px) {
  #nav { display: none; }
  .burger { display: flex; }
  .zones-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .ci { display: none; }
  #float-desk { display: none; }
  #sticky-mobile { display: block; }
  body { padding-bottom: 70px; }
  .sec { padding: 56px 0; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .gammes { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .ps { border-right: none; border-bottom: 1px solid var(--border); }
  .ftr-grid { grid-template-columns: 1fr; gap: 24px; }
  .arr-grid { grid-template-columns: repeat(3,1fr); }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .row2 { grid-template-columns: 1fr; }
  .form-box { padding: 20px; }
  #hero { padding: 48px 0; }
  #hero h1 { font-size: 1.9rem; }
  .hdr-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  #urgbar { font-size: 11px; padding: 7px 12px; }
  .ftr-bottom { flex-direction: column; text-align: center; }
  .ftr-bottom a { margin: 0 6px; }
}
@media (max-width: 360px) {
  #hero h1 { font-size: 1.65rem; }
  .arr-grid { grid-template-columns: repeat(2,1fr); }
  .hero-kpis { grid-template-columns: 1fr; }
}

/* ── WP ── */
.home .page-header { display: none; }
#wpadminbar ~ #hdr { top: 32px; }
@media (max-width: 782px) { #wpadminbar ~ #hdr { top: 46px; } }
