.devis-page {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  color: #333;
  padding: 10px;
  margin: 0;
}
.devis-page .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
/* ... et ainsi de suite pour tout le reste CSS en le préfixant par .devis-page */
.devis-page .col {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 28px 28px;
  box-sizing: border-box;
  font-family: inherit;
}
.devis-page .col-left {
  flex: 1 1 480px;
  min-width: 300px;
}
.devis-page .col-right {
  flex: 1 1 480px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.col {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 28px 32px;
  box-sizing: border-box;
}
.col-left {
  flex: 1 1 480px;
  min-width: 300px;
}
.col-right {
  flex: 1 1 480px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
/* Formulaire */
.col-left h2, .col-right h3 {
  text-align: center;
  color: #1a73e8;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 16px !important;
}
p.description {
  text-align: center;
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  position: relative;
  padding-left: 2px;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

label[for]:hover {
  color: #1a73e8;
  cursor: pointer;
}
input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #dde2e6;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  font-family: inherit;
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  color: #333;
  letter-spacing: 0.3px;
}
/* Base focus styles */
input:focus,
select:focus,
textarea:focus {
  border-color: #1a73e8;
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
  background-color: #fff;
  transform: translateY(-1px);
}
textarea {
  min-height: 100px;
  resize: vertical;
}
button.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  background-color: #1a73e8;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  box-shadow: 0 4px 8px rgba(26, 115, 232, 0.25);
  position: relative;
  overflow: hidden;
}

button.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s;
}

button.submit-btn:hover::before {
  left: 100%;
}
button.submit-btn:hover {
  background-color: #1557b0;
  box-shadow: 0 6px 12px rgba(26, 115, 232, 0.35);
  transform: translateY(-2px);
}

button.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);
}

button.submit-btn:disabled {
  background-color: #a1c0e6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
/* Informations & publicité */
.info-block {
  font-size: 15px;
  color: #444;
  line-height: 1.55;
}
.info-block strong {
  color: #222;
}
.benefits-box {
  background: #e9f1ff;
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 4px 14px rgb(26 115 232 / 0.15);
}
.benefits-box h3 {
  font-weight: 700;
  color: #1665c1;
  font-size: 20px;
  margin-bottom: 18px;
  text-align: center;
}
.benefits-box ul {
  list-style: none;
  padding-left: 0;
}
.benefits-box ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: #2a4480;
  font-weight: 600;
  font-size: 15px;
  user-select: none;
}
.benefits-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1a73e8;
  font-weight: 700;
  font-size: 16px;
}
.advertisement {
  background: #1a73e8;
  color: white;
  border-radius: 10px;
  padding: 28px 32px;
  box-shadow: 0 6px 20px rgb(26 115 232 / 0.2);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  user-select: none;
}
.advertisement a {
  color: white;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
}
/* Responsive */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    gap: 36px;
  }
  .col,
  .col-left,
  .col-right {
    min-width: 100%;
    max-width: 100%;
  }
}

.company-title h2 {
  font-size: 18px !important;
  margin-bottom: 12px;
}

.company-title h3 {
  font-size: 16px !important;
  margin-bottom: 12px;
}

/* En-tête de la demande de devis */
.company-header {
  padding: 30px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.company-title {
  max-width: 800px;
  margin: 0 auto;
}

.devis-main-title {
  color: #ffffff;
  font-size: 2.2em;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.company-name-container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  border-radius: 50px;
  display: inline-block;
  margin: 0 auto;
}

.company-name {
  color: #2c3e50;
  font-size: 1.4em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-name i {
  margin-right: 10px;
  font-size: 1.2em;
}

.company-name span {
  font-weight: 700;
  color: #e74c3c;
  margin-left: 5px;
}

/* Styles responsives pour l'en-tête */
@media (max-width: 768px) {
  .company-header {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .devis-main-title {
    font-size: 1.8em;
    margin-bottom: 12px;
  }
  
  .company-name-container {
    padding: 10px 15px;
    width: 90%;
    max-width: 320px;
  }
  
  .company-name {
    font-size: 1.2em;
    flex-direction: column;
    text-align: center;
  }
  
  .company-name i {
    margin-right: 0;
    margin-bottom: 5px;
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .company-header {
    padding: 15px 10px;
  }
  
  .devis-main-title {
    font-size: 1.5em;
  }
  
  .company-name-container {
    padding: 8px 12px;
  }
  
  .company-name {
    font-size: 1.1em;
  }
}

/* Form response messages */
.form-response {
  margin: 20px 0;
  padding: 0;
  transition: all 0.3s ease;
  min-height: 20px;
}

.success-message,
.error-message {
  padding: 16px;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  font-size: 15px;
  margin-bottom: 20px;
}

.success-message {
  background-color: #e6f4ea;
  color: #1e8e3e;
  border-left: 4px solid #1e8e3e;
}

.error-message {
  background-color: #fce8e6;
  color: #d93025;
  border-left: 4px solid #d93025;
}

.success-message i,
.error-message i {
  margin-right: 10px;
  font-size: 18px;
}

/* Form field enhancements */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23555" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

input::placeholder,
textarea::placeholder {
  color: #999;
  opacity: 0.7;
}

/* Optgroup styling */
optgroup {
  font-weight: 600;
  color: #1a73e8;
  background-color: #f0f4f8;
}

option {
  font-weight: normal;
  color: #333;
  background-color: #fff;
  padding: 8px;
}

/* Focus state indicator */
.col-left form label {
  position: relative;
  padding-left: 14px;
  transition: color 0.3s ease;
}

.col-left form label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

/* Add a subtle animation for focus */
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.4); }
  70% { box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.0); }
}

/* Required field indicator */
label[for]::after {
  content: attr(for);
  display: none;
}

label[for="name"]::after,
label[for="email"]::after,
label[for="project_type"]::after,
label[for="details"]::after {
  content: ' *';
  color: #d93025;
  display: inline;
}

/* Enhanced input field states */
.col-left form input:hover,
.col-left form select:hover,
.col-left form textarea:hover {
  border-color: #bdc4c9;
  background-color: #fcfcfc;
}

.col-left form input:focus,
.col-left form select:focus,
.col-left form textarea:focus {
  animation: pulse-border 1.5s infinite;
  border-color: #1a73e8;
  background-color: #fff;
}