/* Styles spécifiques à rdv-photo */
body{
  display: flex; 
  flex-direction: column;
  background: linear-gradient(135deg, #111, #1c1c1c);
}

main{ 
  flex: 1; 
}

.container{ 
  max-width: 900px; 
}

header{ 
  padding: 18px 0 8px; 
}

.card{
  margin: 18px auto 30px;
}

h1{ 
  font-size: 32px; 
  margin: 0 0 12px;
}

p{ 
  margin: 0 0 24px; 
  opacity: 0.85;
}

/* Styles du formulaire */
form{
  margin-top: 24px;
}

/* Mobile-first : une colonne par défaut */
.row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.row > div{
  display: flex;
  flex-direction: column;
}

label{
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea{
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus{
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="date"]:hover,
select:hover,
textarea:hover{
  border-color: rgba(255, 255, 255, 0.3);
}

input::placeholder,
textarea::placeholder{
  color: rgba(255, 255, 255, 0.5);
}

select{
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

select option{
  background: #1c1c1c;
  color: #fff;
}

textarea{
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

/* Champ full width (pas dans .row) */
form > label{
  display: block;
  margin-bottom: 8px;
  margin-top: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

form > label:first-of-type{
  margin-top: 0;
}

form > textarea{
  margin-bottom: 24px;
}

.btn-form{
  width: 100%;
  margin-top: 8px;
  background: #d4af37;
  color: #111;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-form:hover{
  background: #e5c04a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-form:active{
  transform: translateY(0);
}

/* Responsive - Mobile First */
/* Tablette (768px et plus) */
@media (min-width: 768px){
  .row{
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .container{ 
    max-width: 900px; 
  }
  
  h1{ 
    font-size: 36px; 
  }
  
  .card{
    padding: 28px;
  }
}

/* Desktop (1024px et plus) */
@media (min-width: 1024px){
  .card{
    padding: 32px;
  }
  
  h1{ 
    font-size: 38px; 
  }
}

/* Mobile spécifique (moins de 480px) */
@media (max-width: 480px){
  h1{ 
    font-size: 26px; 
  }
  
  .card{ 
    padding: 16px; 
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea{
    padding: 10px 14px;
    font-size: 14px;
  }
}
