/*
  FixBNB website stylesheet
  Version: 1.1.0
  Domain target: fixbnb.fr
*/
:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-2: #eef7f8;
  --text: #142033;
  --muted: #596579;
  --primary: #225db1;
  --primary-2: #1d73c9;
  --accent: #08a5b9;
  --accent-2: #2ec4d6;
  --border: #dbe7ef;
  --success: #0a9c69;
  --shadow: 0 16px 40px rgba(9, 30, 66, 0.10);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.hero-container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  max-width: var(--container);
}
.topbar {
  background: #0a274d;
  color: #fff;
  font-size: 0.92rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark { display:none; }
.brand-text strong { display: block; font-size: 1.05rem; }
.brand-text span { display: block; color: var(--muted); font-size: 0.88rem; }

.brand-logo {
  width: 230px;
  max-width: 100%;
  height: auto;
}
.brand-logo-small {
  width: 210px;
  max-width: 100%;
  height: auto;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-menu a {
  color: var(--text);
  font-weight: 600;
}
.nav-actions {
  display: flex;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { 
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); 
  color: #101010; 
  position: relative;
}
.btn-primary::before { 
  content: "📞"; 
  margin-right: 8px; 
}
.btn-primary:hover { 
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); 
  transform: translateY(-2px); 
  box-shadow: 0 4px 12px rgba(8, 165, 185, 0.3); 
}
.btn-secondary { background: var(--surface); color: var(--primary); border-color: var(--border); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-2); }
.hero {
  padding: 70px 0 48px;
  background:
    radial-gradient(circle at top right, rgba(255,138,0,0.17), transparent 30%),
    radial-gradient(circle at top left, rgba(15,61,117,0.14), transparent 35%),
    linear-gradient(180deg, #fff, #f5f8fe);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  position: relative;
}
.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(15,61,117,0.08);
  color: var(--primary);
  border: 1px solid rgba(15,61,117,0.08);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.1;
  margin: 16px 0 18px;
  max-width: var(--container);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
}
.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: var(--container);
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hero-points li,
.check-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  box-shadow: 0 10px 24px rgba(10, 39, 77, 0.05);
}
.hero-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 61, 117, 0.08);
}
.hero-card h2 { 
  margin-top: 0; 
  font-size: 1.35rem; 
  max-width: var(--container);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.stat {
  background: var(--surface-2);
  border-radius: 16px;
  padding: 16px;
}
.stat strong { display: block; font-size: 1.7rem; }
.section { padding: 72px 0; }
.section-head {
  margin-bottom: 30px;
  max-width: var(--container);
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; }
.services-section .section-head {
  text-align: center;
  margin: 0 auto 30px;
}
.services-section .grid-3 {
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.market-section .section-head {
  text-align: center;
  margin: 0 auto 30px;
}
.market-section .grid-3 {
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.grid-3, .grid-4, .grid-2 {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 30px rgba(10, 39, 77, 0.05);
}
.card h3 { margin-top: 0; font-size: 1.2rem; }
.card p { color: var(--muted); }
.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(15,61,117,0.10), rgba(255,138,0,0.16));
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature-list, .check-list, .zone-list, .service-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.feature-list li, .zone-list li, .service-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.feature-list li:last-child, .zone-list li:last-child, .service-list li:last-child {
  border-bottom: 0;
}
.band {
  background: linear-gradient(135deg, #0f3d75, #174f95);
  color: #fff;
}
.band .section-head p, .band p, .band a { color: rgba(255,255,255,0.92); }
.band .card { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.14); }
.band .card p { color: rgba(255,255,255,0.88); }
.steps { counter-reset: steps; }
.step {
  position: relative;
  padding-left: 64px;
}
.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent);
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.cta-box {
  border-radius: 28px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(15,61,117,0.96), rgba(23,79,149,0.96));
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-box p { color: rgba(255,255,255,0.9); }
.inline-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-card form {
  display: grid;
  gap: 14px;
}
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
textarea { min-height: 130px; resize: vertical; }
label { font-weight: 700; display: block; margin-bottom: 6px; }
.small { font-size: 0.9rem; color: var(--muted); }
.notice {
  border-left: 4px solid var(--accent);
  background: #fff7eb;
  padding: 14px 16px;
  border-radius: 12px;
}
.table-like {
  display: grid;
  gap: 12px;
}
.row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 14px;
  align-items: center;
}
.testimonial {
  background: linear-gradient(180deg, #fff, #f9fbff);
}
.site-footer {
  background: linear-gradient(135deg, rgba(15,61,117,0.96), rgba(23,79,149,0.96));
  color: rgba(255,255,255,0.88);
  padding: 48px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 26px;
  text-align: center;
}
.site-footer h3, .site-footer h4 { color: #fff; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,0.88); }
.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 16px;
  flex-wrap: wrap;
}
.breadcrumbs {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.page-hero {
  padding: 44px 0 16px;
  background: linear-gradient(180deg, #fff, #f7f9fc);
}
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.highlight {
  color: var(--primary);
}
@media (max-width: 980px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .footer-grid, .row {
    grid-template-columns: 1fr;
  }
  .brand-logo { width: 180px; }
  .brand-logo-small { width: 180px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    left: 0; right: 0; top: 76px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 18px 16px 24px;
    box-shadow: 0 16px 40px rgba(10, 39, 77, 0.08);
  }
  .nav-menu.open { display: flex; }
  .nav-actions { width: 100%; flex-wrap: wrap; }
  .hero-points { grid-template-columns: 1fr; }
  .hero h1 {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    text-align: center;
  }
  .hero-card h2 {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .topbar .container { flex-direction: column; }
  .hero { padding-top: 44px; }
  .section { padding: 56px 0; }
  .cta-box, .hero-card, .card { padding: 22px; }
  .stats { grid-template-columns: 1fr; }
  .services-section .grid-3,
  .market-section .grid-3 {
    max-width: 100%;
    margin: 0;
    justify-items: stretch;
  }
  .services-section .section-head,
  .market-section .section-head {
    margin-bottom: 20px;
  }
  .hero h1 {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
  }
  .hero-card h2 {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
  }
  .btn {
    width: 100%;
    margin-bottom: 8px;
  }
  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .inline-actions .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  input, select, textarea {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  .form-card {
    margin: 0 16px;
  }
  .hero-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-card {
    order: -1;
    margin-bottom: 24px;
    padding: 20px;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0;
  }
  .service-list {
    margin-top: 16px;
  }
  .service-list li {
    padding: 6px 0;
    font-size: 0.9rem;
  }
}
.mobile-only {
  display: none;
}
.desktop-only {
  display: block;
}
@media (max-width: 640px) {
  .mobile-only {
    display: block;
  }
  .desktop-only {
    display: none;
  }
}
/* Très petits écrans */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 40px 0 32px;
  }
  .section {
    padding: 40px 0;
  }
  .card {
    padding: 20px;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }
  .section-head h2 {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
  }
  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    line-height: 1.2;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-card h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  .badge {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}
/* Section zones compacte */
.zones-compact {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-top: 40px;
}
.zones-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.zones-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
.zones-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.zones-list span {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}
.zones-list span:hover {
  color: var(--primary);
}
@media (max-width: 640px) {
  .zones-bar {
    flex-direction: column;
    gap: 12px;
  }
  .zones-list {
    justify-content: center;
    gap: 12px;
  }
}
/* Section processus pleine largeur */
.full-width-process {
  background: var(--surface-2);
  padding: 60px 0;
}
.process-container {
  width: 100%;
  max-width: none;
  padding: 0;
}
.process-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .process-content {
    padding: 0 20px;
  }
}
