/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111827;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  font-family: inherit;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #DC2626;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background-color: #F3F4F6;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

pre {
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

pre code {
  background-color: transparent;
  padding: 0;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.main-content {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
}

.content-wrapper {
  max-width: 800px;
}

/* Header */
.header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #F3F4F6;
  width: 100%;
  position: relative;
  z-index: 50;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1F2937;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: #DC2626;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.phone-link {
  font-weight: bold;
  color: #1F2937;
}

/* Buttons */
.btn-devis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #DC2626;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  min-height: 44px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-devis:hover {
  background-color: #B91C1C;
  text-decoration: none;
  color: #FFFFFF;
}

/* Breadcrumb */
.breadcrumb {
  background-color: #F3F4F6;
  font-size: 0.875rem;
}

.breadcrumb .container {
  padding: 15px 20px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.breadcrumb-separator {
  color: #9CA3AF;
  margin: 0 4px;
}

.breadcrumb-current {
  color: #6B7280;
}

/* Footer Styles */
.site-footer {
  background-color: #1F2937;
  color: #FFFFFF;
  padding: 40px 0 20px;
}

.site-footer a {
  color: #DC2626;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 20px;
}

.footer-col h3 {
  color: #FFFFFF;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col p {
  margin-bottom: 0.5rem;
  color: #E5E7EB;
}

.footer-actions {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-btn {
  font-size: 0.875rem;
  padding: 8px 16px;
  min-height: 40px;
}

.footer-link-highlight {
  font-weight: bold;
}

.footer-legal {
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.footer-description {
  border-top: 1px solid #444444;
  padding-top: 20px;
  margin-top: 10px;
  text-align: left;
}

.footer-description p {
  font-size: 14px;
  font-style: italic;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Design */

/* Small Devices (Tablets, 640px and up) */
@media (min-width: 640px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px;
  }
  
  .header-right {
    flex-direction: row;
    gap: 20px;
  }

  .site-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Devices (Desktops, 1024px and up) */
@media (min-width: 1024px) {
  .container {
    padding: 20px 40px;
  }
  
  .header-inner {
    height: 70px;
    padding: 0 40px;
  }
  
  .breadcrumb .container {
    padding: 15px 40px;
  }

  .site-footer {
    padding: 60px 0 30px;
  }

  .site-footer-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
  }
}