/* =========================================
   DS RENO — Feuille de style principale
   Palette : Orange brique #C45C26 + Gris béton #5A5A5A
   ========================================= */

:root {
  --brick:       #C45C26;
  --brick-dark:  #A84820;
  --brick-light: #E8752E;
  --concrete:    #5A5A5A;
  --concrete-dark: #3A3A3A;
  --concrete-light: #8A8A8A;
  --bg:          #F7F5F2;
  --bg-dark:     #EEEBE6;
  --white:       #FFFFFF;
  --text:        #2C2C2C;
  --text-light:  #6B6B6B;
  --border:      #DDD8D0;

  --font-display: 'Montserrat', 'Arial Black', sans-serif;
  --font-body:    'Inter', Arial, sans-serif;
  --font-emoji:   'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;

  --radius:  6px;
  --radius-lg: 12px;
  --shadow:  0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
.service-icon, .stat-icon, .badge-icon, .step-num, .contact-item-icon {
  font-family: var(--font-emoji);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brick-dark); }

/* HEADER ADMIN DÉDIÉ */
.admin-header-bar {
  background: var(--white);
  border-bottom: 3px solid var(--brick);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.admin-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.admin-desktop-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.admin-desktop-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--concrete);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.admin-desktop-nav a:hover,
.admin-desktop-nav a.active { color: var(--brick); border-bottom-color: var(--brick); }
.admin-logout-btn {
  background: var(--bg-dark);
  color: var(--concrete);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.admin-logout-btn:hover { background: var(--concrete); color: var(--white); }

@media (max-width: 600px) {
  .admin-header-inner { padding: 0 14px; height: 56px; gap: 12px; }
  .admin-desktop-nav { display: none; }
  .admin-logout-btn { display: none; }
}

/* HEADER MOBILE DÉDIÉ */
.mobile-header { display: none; }
.desktop-header { display: block; }

@media (max-width: 700px) {
  .desktop-header { display: none; }
  .mobile-header {
    display: block;
    background: var(--white);
    border-bottom: 3px solid var(--brick);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
  }
  .mobile-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 64px;
    gap: 10px;
  }
  .mobile-header .logo-img { height: 38px; width: auto; }
  .mobile-espace-pro {
    background: var(--brick);
    color: var(--white) !important;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 9px 14px;
    border-radius: var(--radius);
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--concrete);
    border-radius: 2px;
  }
  .mobile-nav {
    display: none;
    flex-direction: column;
    padding: 8px 16px 16px;
    border-top: 1px solid var(--border);
    gap: 4px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--concrete);
    text-decoration: none;
    border-bottom: 1px solid var(--bg-dark);
  }
  .mobile-nav a.active { color: var(--brick); }
  .mobile-nav-pro {
    margin-top: 8px;
    background: var(--brick) !important;
    color: var(--white) !important;
    text-align: center;
    border-radius: var(--radius) !important;
    border-bottom: none !important;
    font-size: 1rem !important;
  }
}
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--brick);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo-link { flex-shrink: 0; display: flex; flex-direction: column; gap: 1px; text-decoration: none; }
.logo-img { height: 44px; width: auto; max-width: 220px; }
.logo-sub {
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 2.5px;
  color: #8A8A8A;
  text-transform: uppercase;
  padding-left: 2px;
}
.footer-logo-sub {
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.stat-icon svg, .badge-icon svg { display: block; margin: 0 auto; }
.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--concrete);
  letter-spacing: 0.5px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--brick);
  border-bottom-color: var(--brick);
}
.btn-header {
  background: var(--brick);
  color: var(--white) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-header:hover { background: var(--brick-dark); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--concrete);
  border-radius: 2px;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--concrete-dark) 0%, #2A2A2A 60%, var(--brick-dark) 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brick-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--brick-light); }
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--brick);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--brick-dark); transform: translateY(-1px); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.4);
  transition: all var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

/* Stats hero */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.stat-card .stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.stat-card .stat-icon svg {
  width: 36px;
  height: 36px;
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--brick-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}

/* SECTIONS */
section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brick);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--concrete-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* SERVICES CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--brick);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--brick), var(--brick-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--concrete-dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* PROCESS */
.process-section { background: var(--bg-dark); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--brick), var(--brick-light));
}
.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.step-num {
  width: 72px;
  height: 72px;
  background: var(--brick);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-dark);
}
.process-step h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--concrete-dark);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* CTA BAND */
.cta-band {
  background: var(--brick);
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
}
.btn-white {
  background: var(--white);
  color: var(--brick);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  display: inline-block;
  transition: all var(--transition);
}
.btn-white:hover { background: var(--bg); color: var(--brick-dark); }

/* CONFIANCE */
.trust-section { text-align: center; }
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.trust-badge .badge-icon {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 2.5px solid var(--brick);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-badge .badge-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}
.trust-badge span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--concrete);
  text-align: center;
  max-width: 100px;
}

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--brick);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--concrete-dark);
  margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* FORMS */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--concrete);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brick); background: var(--white); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ADMIN / DEVIS */
.admin-wrap {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.admin-header h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--concrete-dark);
}
.table-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; }
thead { background: var(--concrete-dark); color: var(--white); }
thead th {
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
tbody tr:hover { background: var(--bg); }
tbody td { padding: 14px 20px; font-size: 0.95rem; color: var(--text); }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-pending { background: #FFF3E0; color: #E65100; }
.badge-accepted { background: #E8F5E9; color: #2E7D32; }
.badge-invoiced { background: #E3F2FD; color: #1565C0; }

/* LOGIN */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--concrete-dark);
  padding: 24px;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}
.login-card .logo-wrap {
  text-align: center;
  margin-bottom: 32px;
}
.login-card h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--concrete-dark);
  text-align: center;
  margin-bottom: 8px;
}
.login-card p.login-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.alert-error {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FECACA;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* DEVIS FORM */
.devis-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.devis-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--concrete-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-dark);
}
.lignes-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.lignes-table th {
  background: var(--bg-dark);
  padding: 10px 12px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--concrete);
  letter-spacing: 0.3px;
}
.lignes-table td { padding: 8px 6px; border-bottom: 1px solid var(--border); }
.lignes-table input, .lignes-table select, .lignes-table textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--bg);
  font-family: inherit;
  resize: vertical;
}
.lignes-table input:focus, .lignes-table select:focus {
  border-color: var(--brick);
  outline: none;
  background: var(--white);
}
.btn-add-line {
  background: none;
  border: 2px dashed var(--brick);
  color: var(--brick);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-add-line:hover { background: var(--brick); color: var(--white); }
.btn-delete { background: none; border: none; color: #DC2626; cursor: pointer; font-size: 1.1rem; padding: 4px; }
.totaux-box {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: right;
}
.totaux-box .total-line {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--concrete);
}
.totaux-box .total-line.ttc {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--concrete-dark);
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}
.total-label { font-weight: 600; }

/* PAGE HERO INNER */
.page-hero {
  background: linear-gradient(135deg, var(--concrete-dark), #2A2A2A);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* FOOTER */
.site-footer {
  background: var(--concrete-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 24px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo { height: 40px; margin-bottom: 16px; filter: brightness(10); opacity: 0.9; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-links, .footer-legal, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4, .footer-legal h4, .footer-contact h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--brick-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-links a, .footer-contact a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--brick-light); }
.footer-legal p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer-contact p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--brick-light); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 600px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 20px 24px; box-shadow: var(--shadow); border-top: 1px solid var(--border); gap: 16px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .btn-header { font-size: 0.78rem; padding: 8px 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* ── ADMIN MOBILE ── */
  .admin-wrap { margin: 16px auto; padding: 0 12px; }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  .admin-header h1 { font-size: 1.3rem; }
  .admin-header .btn-primary { width: 100%; text-align: center; justify-content: center; }

  /* Stats grid mobile */
  .admin-wrap > div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  /* Table → cards sur mobile */
  .table-card { overflow: visible; background: transparent; box-shadow: none; border-radius: 0; }
  .table-card table { display: none; }
  .mobile-cards { display: flex !important; flex-direction: column; gap: 14px; padding: 0; }

  .mobile-card {
    background: var(--white);
    border-radius: 14px;
    padding: 18px 16px 14px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.09);
    border-left: 5px solid var(--brick);
    transition: transform 0.15s;
  }
  .mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    gap: 8px;
  }
  .mobile-card-num {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--brick);
    font-size: 0.9rem;
    background: rgba(196,92,38,0.08);
    padding: 3px 10px;
    border-radius: 20px;
  }
  .mobile-card-ttc {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--concrete-dark);
  }
  .mobile-card-client {
    font-weight: 700;
    color: var(--concrete-dark);
    font-size: 1.05rem;
    margin-bottom: 3px;
  }
  .mobile-card-objet {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-card-select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 12px;
    background: var(--bg);
    font-family: var(--font-body);
    -webkit-appearance: auto;
  }
  .mobile-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mobile-card-actions a,
  .mobile-card-actions button {
    text-align: center;
    padding: 11px 8px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    letter-spacing: 0.3px;
  }
  .mobile-card-actions .full-width { grid-column: 1 / -1; }
  .mobile-btn-voir { background: var(--bg-dark); color: var(--brick); text-decoration: none; }
  .mobile-btn-mail { background: #E8F5E9; color: #2E7D32; }
  .mobile-btn-facturer { background: #E3F2FD; color: #1565C0; text-decoration: none; }
  .mobile-btn-delete { background: #FEE2E2; color: #DC2626; }

  /* Stats mobile améliorées */
  .admin-wrap > div[style*="grid"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

  /* Formulaire devis mobile */
  .devis-section { padding: 18px 14px; border-radius: 14px; }
  .devis-section h3 { font-size: 1rem; margin-bottom: 16px; }

  /* Tableau prestations mobile */
  .lignes-table { display: none; }
  .lignes-mobile { display: block !important; }
  .ligne-mobile-card {
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid var(--brick);
  }
  .ligne-mobile-card input,
  .ligne-mobile-card select {
    width: 100%;
    padding: 11px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--bg);
    margin-bottom: 8px;
    box-sizing: border-box;
    font-family: var(--font-body);
  }
  .ligne-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  .ligne-mobile-total {
    text-align: right;
    font-weight: 900;
    color: var(--brick);
    font-size: 1.1rem;
    margin-top: 8px;
    font-family: var(--font-display);
  }
  .ligne-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .ligne-mobile-header span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--concrete);
  }

  /* Totaux mobile */
  .totaux-box { padding: 16px 18px; border-radius: 12px; }
  .total-line { font-size: 0.95rem; }
  .total-line.ttc { font-size: 1.2rem; }

  /* Catalogue mobile */
  .catalogue-row { flex-direction: column !important; }
  .catalogue-row select { width: 100% !important; min-width: unset !important; }
  .catalogue-row button { width: 100%; padding: 12px !important; }

  /* Nav admin mobile — select compact */
  .admin-nav-mobile {
    display: flex !important;
    gap: 8px;
    align-items: center;
    padding: 8px 14px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }
  .admin-nav-mobile a.active { background: var(--brick); color: var(--white); }

  /* Admin header mobile */
  .admin-wrap { margin: 14px auto; padding: 0 14px; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
  .admin-header h1 { font-size: 1.4rem; }
  .admin-header .btn-primary { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }
}

