/* ==========================================================================
   JLTP Ramonage — feuille de style principale
   Palette : Noir #0b0b0c / Rouge #b3121a / Blanc #ffffff
   ========================================================================== */

:root{
  --black:        #0b0b0c;
  --black-soft:   #17171a;
  --black-card:   #1f1f23;
  --red:          #b3121a;
  --red-light:    #d81e2a;
  --red-dark:     #7c0d13;
  --white:        #ffffff;
  --off-white:    #f6f4f1;
  --grey:         #8a8a90;
  --grey-light:   #d8d6d2;
  --line:         #2b2b2f;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-script:  'Pacifico', cursive;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,.5);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:700; line-height:1.15; margin: 0 0 .5em; }
p{ margin: 0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section{ padding: 84px 0; }
@media (max-width: 640px){ section{ padding: 56px 0; } }

.eyebrow{
  display:inline-block;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-head{ max-width: 720px; margin: 0 0 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px, 4vw, 40px); }
.section-head p{ color:#4a4a4a; font-size: 18px; }
.on-dark .section-head p{ color: var(--grey-light); }

/* ---------- Boutons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgba(179,18,26,.55); }
.btn-primary:hover{ background: var(--red-light); transform: translateY(-2px); }
.btn-ghost-dark{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost-dark:hover{ border-color: var(--white); transform: translateY(-2px); }
.btn-ghost-light{ background: transparent; color: var(--black); border-color: rgba(0,0,0,.2); }
.btn-ghost-light:hover{ border-color: var(--black); transform: translateY(-2px); }
.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; flex:none; }

/* ---------- Header ---------- */
.topbar{
  background: var(--black);
  color: var(--grey-light);
  font-size: 13.5px;
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:8px; padding-bottom:8px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a{ color: var(--grey-light); }
.topbar .topbar-phone{ color: var(--white); font-weight:700; display:inline-flex; align-items:center; gap:8px; }
.topbar .topbar-phone svg{ width:14px; height:14px; color: var(--red-light); }
.topbar-zone{ color: var(--grey); }

header.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(11,11,12,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  flex-wrap: nowrap;
  gap: 18px;
}
.brand{ display:flex; align-items:center; gap:12px; flex: none; }
.brand-mark{
  width: 44px; height:44px; border-radius: 10px;
  background: linear-gradient(155deg, var(--red) 0%, var(--red-dark) 100%);
  display:flex; align-items:center; justify-content:center;
  flex: none;
}
.brand-mark svg{ width:24px; height:24px; color:var(--white); }
.brand-text{ display:flex; flex-direction:column; gap:5px; }
.brand-text .name{ color: var(--white); font-weight:700; font-size: 20px; letter-spacing:.01em; white-space:nowrap; display:flex; align-items:baseline; gap:6px; }
.brand-text .name-jltp{ font-family: var(--font-display); font-weight:700; }
.brand-text .name-ramonage{ font-family: var(--font-script); font-weight:400; color: var(--red-light); font-size: 1.35em; line-height:1; }
.brand-text .tag{ color: var(--grey); font-size: 11px; letter-spacing:.06em; text-transform: uppercase; white-space:nowrap; margin-top:1px; }

.nav-links{ display:flex; align-items:center; gap: 22px; flex-wrap: nowrap; }
.nav-links a{
  color: var(--grey-light); font-weight:600; font-size: 14.5px;
  padding: 8px 0; position:relative; white-space:nowrap;
}
.nav-links a:hover{ color: var(--white); }
.nav-links a.active{ color: var(--white); }
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--red-light);
}
.nav-cta{ display:flex; align-items:center; gap:14px; flex: none; }
.nav-call{
  display:inline-flex; align-items:center; gap:8px;
  color: var(--white); font-weight:700; font-size:14.5px; white-space:nowrap;
}
.nav-call svg{ width:17px; height:17px; color: var(--red-light); flex:none; }

.burger{ display:none; background:none; border:none; padding:8px; cursor:pointer; }
.burger span, .burger span::before, .burger span::after{
  content:""; display:block; width:24px; height:2px; background:var(--white); position:relative; transition: .2s;
}
.burger span::before{ position:absolute; top:-8px; }
.burger span::after{ position:absolute; top:8px; }

@media (max-width: 1080px){
  .nav-links{
    position:fixed; inset: 66px 0 0 0; background: var(--black);
    flex-direction:column; align-items:flex-start; gap:0;
    padding: 10px 24px 24px;
    transform: translateY(-8px); opacity:0; pointer-events:none;
    transition: .2s ease;
    overflow-y:auto;
  }
  .nav-links.open{ transform: translateY(0); opacity:1; pointer-events:auto; }
  .nav-links a{ width:100%; padding: 14px 0; border-bottom:1px solid var(--line); }
  .nav-cta .nav-call{ display:none; }
  .burger{ display:block; }
  .topbar-zone{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(179,18,26,.28), transparent 60%),
    linear-gradient(180deg, var(--black) 0%, #101012 100%);
  color: var(--white);
  padding: 96px 0 90px;
  overflow:hidden;
}
.hero::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.5) 40%, transparent 90%);
  opacity:.5;
}
.hero-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items:center; position:relative; }
@media (max-width: 940px){ .hero-grid{ grid-template-columns: 1fr; } }
.hero h1{ font-size: clamp(34px, 5vw, 56px); margin-bottom:22px; }
.hero h1 em{ font-style:normal; color: var(--red-light); }
.hero-lead{ font-size: 19px; color: var(--grey-light); max-width: 560px; margin-bottom: 32px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 40px; }
.hero-stats{ display:flex; gap: 34px; flex-wrap:wrap; }
.hero-stats .stat b{ display:block; font-family: var(--font-display); font-size: 30px; color:var(--white); }
.hero-stats .stat span{ color: var(--grey); font-size: 13.5px; letter-spacing:.03em; }

.hero-card{
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.hero-card h3{ color: var(--white); font-size: 21px; margin-bottom:6px; }
.hero-card p.small{ color: var(--grey); font-size: 14.5px; margin-bottom: 20px; }
.hero-badges{ display:grid; gap:12px; margin-bottom:22px; }
.hero-badge{ display:flex; align-items:flex-start; gap:12px; color: var(--grey-light); font-size:14.5px; }
.hero-badge svg{ width:19px; height:19px; color: var(--red-light); flex:none; margin-top:1px; }

/* ---------- Bandeau confiance ---------- */
.trust-strip{
  background: var(--off-white);
  border-top:1px solid #ece9e4; border-bottom:1px solid #ece9e4;
  padding: 26px 0;
}
.trust-strip .container{
  display:flex; flex-wrap:wrap; gap: 28px; align-items:center; justify-content:space-between;
}
.trust-item{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:14.5px; color:#3a3a3a; }
.trust-item svg{ width:20px; height:20px; color: var(--red); flex:none; }

/* ---------- Cards / services ---------- */
.grid{ display:grid; gap: 26px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px){ .grid-3{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--white);
  border: 1px solid #eae7e2;
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.22); border-color:#e2ddd5; }
.card-icon{
  width:52px; height:52px; border-radius:12px;
  background: linear-gradient(155deg, var(--black-soft), var(--black));
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.card-icon svg{ width:26px; height:26px; color: var(--red-light); }
.card h3{ font-size:20px; margin-bottom:10px; }
.card p{ color:#55555a; font-size:15.5px; margin-bottom:0; }
.card .card-link{ display:inline-flex; align-items:center; gap:6px; margin-top:14px; color:var(--red); font-weight:700; font-size:14.5px; }

.service-dark{
  background: var(--black-card); border:1px solid var(--line);
}
.service-dark h3{ color:var(--white); }
.service-dark p{ color: var(--grey-light); }

/* ---------- Bande sombre (sections alternées) ---------- */
.section-dark{ background: var(--black); color: var(--white); }
.section-dark .section-head p{ color: var(--grey-light); }
.section-offwhite{ background: var(--off-white); }

/* ---------- Process / étapes ---------- */
.steps{ counter-reset: step; display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 940px){ .steps{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .steps{ grid-template-columns: 1fr; } }
.step{ position:relative; padding-top: 6px; }
.step .num{
  width:44px; height:44px; border-radius:50%;
  border:2px solid var(--red);
  color: var(--white); font-family: var(--font-display); font-weight:700; font-size:18px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
}
.step h4{ color:var(--white); font-size:17px; margin-bottom:8px; font-family: var(--font-body); font-weight:700; }
.step p{ color: var(--grey-light); font-size:14.5px; }

/* ---------- Zones / communes ---------- */
.zone-block{
  background: var(--white); border:1px solid #eae7e2; border-radius: var(--radius);
  padding: 28px 30px; margin-bottom: 20px;
}
.zone-block h3{ font-size:19px; display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.zone-block h3 svg{ width:20px; height:20px; color:var(--red); flex:none; }
.commune-list{ display:flex; flex-wrap:wrap; gap:9px; }
.commune-list span{
  background: var(--off-white); border:1px solid #ece9e4;
  padding: 7px 14px; border-radius: 999px; font-size: 14px; color:#3a3a3a; font-weight:600;
}
.commune-list span.pill-red{ background: rgba(179,18,26,.08); border-color: rgba(179,18,26,.25); color: var(--red-dark); }

/* ---------- Tableau tarifs / obligations ---------- */
.table-wrap{ overflow-x:auto; border:1px solid #eae7e2; border-radius: var(--radius); }
table{ width:100%; border-collapse: collapse; font-size:15px; min-width:520px; }
table th, table td{ padding: 15px 18px; text-align:left; border-bottom:1px solid #eee; }
table th{ background: var(--black); color: var(--white); font-family: var(--font-display); font-weight:700; }
table tr:last-child td{ border-bottom:none; }
table td b{ color: var(--red-dark); }

/* ---------- CTA bande ---------- */
.cta-band{
  background: linear-gradient(135deg, var(--red-dark), var(--red) 60%, var(--red-light));
  color: var(--white);
  border-radius: 20px;
  padding: 54px;
  text-align:center;
}
.cta-band h2{ font-size: clamp(26px,3.6vw,36px); margin-bottom:14px; }
.cta-band p{ color: rgba(255,255,255,.9); font-size:17px; max-width:620px; margin: 0 auto 30px; }
.cta-band .btn-primary{ background: var(--white); color: var(--red-dark); box-shadow:none; }
.cta-band .btn-primary:hover{ background: var(--off-white); }
.cta-band .btn-ghost-dark{ border-color: rgba(255,255,255,.55); }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
@media (max-width:640px){ .cta-band{ padding: 38px 22px; } }

/* ---------- Formulaire ---------- */
.form-wrap{
  background: var(--white); border:1px solid #eae7e2; border-radius: 16px;
  padding: 38px; box-shadow: var(--shadow);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
@media (max-width:640px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:700; font-size:14px; margin-bottom:7px; color:#222; }
.field label .req{ color: var(--red); }
.field input, .field select, .field textarea{
  width:100%; padding: 13px 15px; border-radius:8px; border:1.5px solid #ddd9d2;
  font-family: var(--font-body); font-size:15.5px; background: var(--off-white); color:#111;
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--red); background:#fff;
}
.field textarea{ min-height:120px; resize:vertical; }
.field.checkbox{ display:flex; align-items:flex-start; gap:10px; }
.field.checkbox input{ width:auto; margin-top:4px; }
.field.checkbox label{ font-weight:500; font-size:13.5px; color:#555; }
.form-note{ font-size:13px; color:#888; margin-top:14px; text-align:center; }
.form-success{
  display:none; background:#eafaf0; border:1px solid #b8e6c6; color:#1c6b3a;
  padding:16px 18px; border-radius:10px; font-weight:600; margin-bottom:20px; font-size:14.5px;
}

/* ---------- Contact info cards ---------- */
.contact-info{ display:grid; gap:18px; }
.contact-info .info-card{
  display:flex; gap:16px; align-items:flex-start;
  background: var(--black-card); border:1px solid var(--line);
  border-radius: 14px; padding:22px;
}
.contact-info .info-card .ic{
  width:46px; height:46px; border-radius:10px; background: var(--red); flex:none;
  display:flex; align-items:center; justify-content:center;
}
.contact-info .info-card .ic svg{ width:22px; height:22px; color:#fff; }
.contact-info h4{ color:#fff; font-size:16px; margin:0 0 4px; }
.contact-info p{ color: var(--grey-light); font-size:14.5px; margin:0; }
.contact-info a{ color:#fff; font-weight:700; }

/* ---------- Footer ---------- */
footer{ background: var(--black); color: var(--grey); padding: 56px 0 26px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 820px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }
footer h4{ color: var(--white); font-size:14px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; font-family: var(--font-body); font-weight:700; }
footer ul li{ margin-bottom:10px; }
footer a:hover{ color: var(--white); }
.footer-brand p{ color: var(--grey); font-size:14.5px; max-width:320px; }
.footer-bottom{
  border-top:1px solid var(--line); padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:13px; color:#68686e;
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:200;
  display:none; gap:10px; padding:10px 14px;
  background: rgba(11,11,12,.97); border-top:1px solid var(--line);
  backdrop-filter: blur(6px);
}
.mobile-cta a{ flex:1; }
@media (max-width: 780px){
  .mobile-cta{ display:flex; }
  body{ padding-bottom: 70px; }
}

/* ---------- Utilitaires ---------- */
.text-white{ color:#fff; }
.mt-0{ margin-top:0; }
.badge-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(179,18,26,.08); color: var(--red-dark);
  border:1px solid rgba(179,18,26,.22);
  padding:8px 14px; border-radius:999px; font-size:13px; font-weight:700;
}
.badge svg{ width:15px; height:15px; }
.breadcrumb{ font-size:13.5px; color: var(--grey); margin-bottom:18px; }
.breadcrumb a{ color: var(--grey-light); }
.breadcrumb a:hover{ color:#fff; }
.small-print{ font-size:13px; color:#8a8a90; }
