/* ===================== */
/* BASE */
/* ===================== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f6f5f2;
  color: #2f2f2f;
}

/* ===================== */
/* HEADER TYPE DÉCOSTORY */
/* ===================== */

.top-header {
  width: 100%;
}

/* BARRE HAUTE */
.top-header-content {
  background-color:  #1f3a5f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6%;
  color: #ffffff;
}

/* LOGO */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 26px;
  font-weight: 800;
}

.logo-highlight {
  font-size: 26px;
  font-weight: 800;
  color: #c8a25a;
}

.logo small {
  font-size: 12px;
  color: #d0d6de;
}

/* RECHERCHE */
.search-box {
  display: flex;
  gap: 6px;
  align-items: center;
}

.search-box input {
  width: 260px;
  padding: 8px 14px;
  border-radius: 20px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-box input:focus {
  box-shadow: 0 0 0 3px rgba(200, 162, 90, 0.3);
}

.search-box button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  transition: transform 0.2s;
}

.search-box button:hover {
  transform: scale(1.1);
}

/* ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* TELEPHONE */
.phone {
  font-size: 14px;
  line-height: 1.3;
}

.phone span {
  font-size: 12px;
  color: #cfd7e2;
}

/* BOUTON DEVIS */
.btn-devis {
  background-color: #f2c94c;
  color: #1f1f1f;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn-devis:hover {
  background-color: #e0b93f;
}

/* MENU */
.main-nav {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e2e2;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #1f3a5f;
  font-size: 14px;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: #c8a25a;
}

/* ===================== */
/* HERO */
/* ===================== */

.hero {
  min-height: 100vh;
  background-color: #1f3a5f;
  background-image: url("chantier.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

/* CONTENU */
.hero-content {
  max-width: 680px;
}

/* BADGE */
.badge {
  display: inline-block;
  background-color: #c8a25a;
  color: #1f1f1f;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

/* TITRES */
.hero h1 {
  font-size: 56px;
  margin: 12px 0;
  font-weight: 800;
  color: #ffffff;
}

.hero h2 {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 26px;
  line-height: 1.4;
  color: #e8ecf1;
}

/* TEXTE */
.hero-description {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 36px;
  color: #dfe6ee;
}

/* ACTIONS */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 32px;
}

/* BOUTON HERO */
.btn-primary {
  background-color: #c8a25a;
  color: #1f1f1f;
  padding: 15px 28px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #b08d4c;
  transform: translateY(-2px);
}

/* CONTACT */
.contact-info {
  font-size: 15px;
  color: #d6dde6;
}

/* LOCALISATION */
.hero-location {
  font-size: 14px;
  color: #cfd7e2;
}

.page-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 50px 6%;
}

.page-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 30px 28px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.page-intro p {
  font-size: 17px;
  line-height: 1.9;
  color: #2f2f2f;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.service-card:nth-child(even) {
  background-color: #f8fafc;
}

.service-copy h2 {
  font-size: 22px;
  margin: 0 0 16px;
  color: #1f3a5f;
}

.service-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: #4b4b4b;
  margin: 0;
}

.content-image {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .service-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-card img {
    margin: 18px auto 0;
  }
}

@media (max-width: 640px) {
  .page-main {
    padding: 30px 5%;
  }

  .page-intro,
  .service-card {
    padding: 22px;
  }
}

/* ===================== */
/* SEARCH RESULTS */
/* ===================== */

.search-results-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.search-results-section h1 {
  font-size: 32px;
  color: #1f3a5f;
  margin-bottom: 20px;
}

.search-info {
  font-size: 16px;
  color: #4b4b4b;
  margin-bottom: 30px;
  padding: 12px 16px;
  background-color: #f0f4f8;
  border-radius: 8px;
  border-left: 4px solid #c8a25a;
}

.results-list {
  display: grid;
  gap: 16px;
}

.result-item {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #c8a25a;
  transition: all 0.3s ease;
}

.result-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.result-item h2 {
  margin: 0 0 12px 0;
  font-size: 20px;
}

.result-item a {
  color: #1f3a5f;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.result-item a:hover {
  color: #c8a25a;
  text-decoration: underline;
}

.result-item p {
  margin: 0;
  color: #4b4b4b;
  font-size: 15px;
  line-height: 1.6;
}

.no-results {
  padding: 40px 20px;
  text-align: center;
  background-color: #f8fafc;
  border-radius: 12px;
}

.no-results p {
  font-size: 16px;
  color: #4b4b4b;
  margin: 12px 0;
  line-height: 1.6;
}

.no-results a {
  color: #c8a25a;
  font-weight: 600;
  text-decoration: none;
}

.no-results a:hover {
  text-decoration: underline;
}

/* ===================== */

.contact-section {
  max-width: 700px;
  margin: 60px auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-section h1 {
  font-size: 32px;
  font-weight: 800;
  color: #2f2f2f;
  margin-bottom: 30px;
  margin-top: 0;
}

.form-devis {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-devis label {
  font-weight: 600;
  color: #2f2f2f;
  font-size: 15px;
  margin-bottom: 6px;
  display: block;
}

.form-devis input,
.form-devis select,
.form-devis textarea {
  padding: 12px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  color: #2f2f2f;
  transition: border-color 0.3s ease;
}

.form-devis input:focus,
.form-devis select:focus,
.form-devis textarea:focus {
  outline: none;
  border-color: #c8a25a;
  box-shadow: 0 0 0 3px rgba(200, 162, 90, 0.1);
}

.form-devis textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-orange-large {
  background-color: #ff8c00;
  color: #ffffff;
  padding: 16px 24px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  width: 100%;
}

.btn-orange-large:hover {
  background-color: #e67e00;
}

.success {
  background-color: #d4edda;
  color: #155724;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
}

/* ===================== */
/* FOOTER */
/* ===================== */

.footer {
  background-color: #1f3a5f;
  color: #ffffff;
  padding: 40px 6%;
  text-align: center;
  margin-top: 60px;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-content h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 16px 0;
  color: #ffffff;
}

.footer-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0;
  color: #d0d6de;
}

.whatsapp-link {
  color: #c8a25a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.whatsapp-link:hover {
  color: #e0b93f;
  text-decoration: underline;
}

.copyright {
  font-size: 12px;
  color: #a0a8b5;
  margin-top: 16px;
}

/* Content images */
.content-image {
  max-width: 320px;
  width: 150%;
  height: auto;
  display: block;
  margin: 18px auto;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
