/* Reset & basics */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #f8f8f8;
  color: #222;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background-color: #009688;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center; /* center logo */
  align-items: center;
}

.header-inner.center-content {
  display: flex;
  justify-content: center;
  width: 100%;
}

.brand h1 {
  margin: 0;
  font-weight: 700;
  font-size: 2rem;
  animation: fadeInDown 1.2s ease forwards;
}

.brand p.tagline {
  margin: 0;
  font-weight: 300;
  font-size: 1rem;
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

main {
  flex-grow: 1;
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.1);
  animation: fadeIn 1s ease forwards;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #009688;
}

.muted {
  color: #666;
  font-size: 0.8rem;
  font-style: italic;
}

.hint {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.2rem;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: #009688;
}

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 1rem;
}

.btn {
  cursor: pointer;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background-color: #009688;
  color: white;
}

.btn.primary:hover {
  background-color: #007961;
}

.btn.ghost {
  background-color: transparent;
  color: #009688;
  border: 2px solid #009688;
}

.btn.ghost:hover {
  background-color: #009688;
  color: white;
}

/* Loading spinner */
.loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #009688;
  font-weight: 600;
  margin-top: 1rem;
}

.loader {
  width: 20px;
  height: 20px;
  border: 3px solid #009688;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Confirmation message */
.confirmation {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  border-radius: 5px;
}

/* Footer styles */
.site-footer {
  background-color: #222;
  color: #d2b48c;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.footer-inner > div {
  min-width: 180px;
  text-align: left;
}

/* TITRES FOOTER */
.footer-inner h3 {
  margin-bottom: 0.5rem;
  color: #007961; /* vert foncé sérieux */
}

/* P CONTACT FOOTER */
.contact p {
  color: #d2b48c; /* beige chaud */
  font-weight: 600;
}
.contact p a {
  color: #d2b48c;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact p a:hover {
  color: #a67c52; /* beige foncé au hover */
  text-decoration: underline;
}


/* LIENS RESEAUX SOCIAUX */
.social-links a {
  color: #d2b48c; /* bleu électrique */
  margin-right: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #d2b48c; /* bleu foncé au hover */
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #d2b48c;
}

/* Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Helper classes */
.center-content {
  justify-content: center;
  display: flex;
  width: 100%;
}
