:root {
  --primary: #D7C4A3;
  --secondary: #FFFFFF;
  --bg: #ffffff;
  --text: #171717;
  --muted: #5c5c5c;
  --border: #e7e1d4;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
  --font-title: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

a:hover,
a:focus {
  color: var(--text);
  opacity: 0.85;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  margin: 0 0 0.6em;
  color: var(--text);
  letter-spacing: 0.2px;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.section-subtitle {
  color: var(--muted);
  max-width: 680px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #171717;
  transition: var(--transition);
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--text);
  color: var(--secondary);
}

.btn-link {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text);
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f6f2e9;
  color: var(--text);
  font-size: 0.875rem;
  border: 1px solid var(--border);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  font-size: 0.95rem;
  color: var(--text);
}

.nav a:hover {
  color: var(--text);
  opacity: 0.7;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero {
  position: relative;
  padding: 96px 0;
  min-height: 80vh;
  display: grid;
  place-items: center;
  color: var(--secondary);
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.35)), url('/images/hero.jpg') center/cover no-repeat;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  padding: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--secondary);
}

.hero p {
  color: #f5f5f5;
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 12px;
}

.card .btn {
  margin-top: 12px;
}

/* Styles liés à la section Réalisations (retirés)
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  background: #f6f2e9;
  border: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}
*/

.process-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.process-step {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.testimonial {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.testimonial .stars {
  color: var(--primary);
  font-size: 1rem;
}

.faq {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 0;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-answer {
  padding-bottom: 16px;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

/* Styles liés aux formulaires de devis (retirés)
.form {
  display: grid;
  gap: 14px;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  background: var(--secondary);
  color: var(--text);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

.form small {
  color: var(--muted);
}
*/

.map-embed {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: #faf7f1;
}

.footer-inner {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Styles liés aux icônes/liens réseaux sociaux (retirés)
.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--secondary);
}
*/

.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  z-index: 99;
}

.mobile-cta .btn {
  width: 50%;
}

/* Styles liés aux modales de réalisations (retirés)
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow);
}
*/

.admin {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: #faf7f1;
  border-right: 1px solid var(--border);
  padding: 20px;
}

.admin-main {
  padding: 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

.table th {
  text-align: left;
  color: var(--text);
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--text);
  color: var(--secondary);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 72px 0;
  }
  .mobile-cta {
    display: flex;
    gap: 10px;
  }
  .header-cta .btn-secondary {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-content {
    padding: 16px;
  }
  .hero-cta .btn {
    width: 100%;
  }
}