main{
  margin-top: 1rem;
}

/*===== CONTACT-SECTION ==== */
.contact-section {
    max-width: 1400px;
    margin: 2em auto;
    padding: 2em;
}
.contact-container {
    display: flex;
    gap: 3em;
}
.contact-form-box,
.contact-map-box {
    flex: 1;
    background: var(--seconde-color);
    border-radius: 10px;
    padding: 1.5em;
    box-shadow: var(--box-shadow);
}
.contact-form-box form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.success{
  color: red !important;
  font-size: 2em;
}

/*====== FORM-OPTION =======*/
.form-options{
    display: flex;
    flex-direction: row;
}
.form-options select {
    gap: 1em;
    font-size: 1em;
    margin: 15px;
    font-weight: bold;
}
.form-options select {
    width: 30%;
}
.newsletter {
    font-size: 1.3em;
    color: var(--hover-color);
    font-size: bold;
    display: flex;
    justify-content: center;
}
.newsletter input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}
.newsletter {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}




.button-header{
  background: #ffe092;
  border: 2px solid black;
  border-radius: 6px;
  padding: 7px 17px;
  margin-top: -10px;
  text-decoration: none;
}

.contact-form-box .button-header:hover {
    color: green;
    box-shadow: var(--box-shadow);
}
.contact-form-box .button-header:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}
input.erreur, textarea.erreur, select.erreur {
  border: 2px solid red !important;
}
input.valide, textarea.valide, select.valide {
  border: 2px solid green !important;
}
.erreur-message {
  color: red !important;
  font-size: 0.9em;
  margin-top: -0.5em;
  margin-bottom: 0.5em;
} 

/*===== BOX-FORMULAIRE-MAP- ==== */
.contact-map-box {
    display: flex;
    align-items: flex-start;
    max-width: 100%;
    border-radius: 10px;
}
iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 400px;
}
.contact-form-box textarea {
    height: 150px;
    padding: 0.5em;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1em;
    resize: vertical;
}
.contact-form-box input {
    height: 45px;
    padding: 0.5em;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1em;
}

/*===== RESPONSIVE FORMULAIR & MAP =====*/
@media (max-width: 1024px) {
    .contact-container {
        gap: 2em;
        flex-direction: column;
    }
    .contact-form-box,
    .contact-map-box {
        flex: 1;
    }
    iframe {
    margin-top: 1rem;
}
}

@media (max-width: 768px) {
    .contact-section {
        padding: 1em;
    }
    .form-options select {
        width: 100%;
        font-size: 1.2em;
    }
    .form-button .button-header {
        font-size: 0.9em;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        gap: 1em;
    }
    .contact-form-box textarea,
    .contact-form-box input {
        padding: 0.4em;
        font-size: 0.9em;
    }
    iframe {
        min-height: 200px;
    }
    .form-options select {
        font-size: 1em;
    }
}

/* ===== COORDONNÉES & HORAIRES ===== */
.contact-details {
    margin-bottom: 3em;
    margin-top: 0em;
}
.info-text-container {
    display: flex;
    gap: 4em;
    margin-bottom: 1em;
    justify-content: center;
    align-items: stretch;
    padding: 0 2em;
    box-sizing: border-box;
    flex-wrap: wrap;
}
.info-box {
    flex: 0.4;
    max-width: 650px;
    background: var(--seconde-color);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    min-height: 200px;
    margin: 1em;
}
.info-box h2 {
    margin-top: 0;
    margin-bottom: 1em;
}
.contact-infos {
    margin: 0;
}
.contact-infos p {
    display: flex;
    margin-bottom: 0.5em;
    align-items: flex-start;
    gap: 0.5em;
}
.contact-infos .icon {
    display: inline-flex;
    font-size: 1.2em;
    min-width: 1.5em;
    justify-content: center;
}
.contact-infos a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-infos a:hover {
    text-decoration: underline;
}
.heures-list {
    margin: 0;
    padding: 0;
}
.heures-list dt {
    font-weight: bold;
    margin-top: 0.5em;
}
.heures-list dd {
    margin-left: 0;
    margin-bottom: 1em;
}

/*===== RESPONSIVE COORDONNÉES & HORAIRES =====*/
@media (max-width: 768px) {
    .info-text-container {
        gap: 2em;
        padding: 0 1em;
        flex-direction: column;
    }
    .info-box {
        flex: 1;
        max-width: 100%;
        padding: 1.5rem;
    }
    .contact-infos p {
        gap: 0.2em;
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-infos .icon {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .info-box {
        padding: 1rem;
    }
    .info-text-container {
        padding: 0;
    }
    .contact-infos p {
        font-size: 0.9em;
    }
}

/*===== ÉQUIPE & PHOTO ==== */
.info-box-equipe {
    display: flex;
    flex: 0.4;
    max-width: 50em;
    background: var(--seconde-color);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    min-height: 200px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}
.title-equipe-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.equipe-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    object-fit: cover;
}

/* liste équipe */
.equipe-list {
    display: flex;
    padding: 0;
    margin: 0.5em 0 0 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    list-style: none;
}
.members {
    text-decoration: none;
}
.equipe-list li {
    color: var(--text-color);
    background: white;
    padding: 0.5em 1em;
    border-radius: 20px;
    background: linear-gradient(to bottom, #fff 0%, #ddd 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.equipe-list li:hover {
    background: var(--header-footer-color);
    color: var(--premiere-color);
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/*===== RESPONSIVE ÉQUIPE & PHOTO =====*/
@media (max-width: 768px) {
    .info-box-equipe {
        flex: 1;
        padding: 1.5rem;
        max-width: 90%;
    }
    .equipe-list {
        gap: 0.5em;
        flex-direction: column;
    }
    .equipe-list li {
        padding: 0.5em;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .info-box-equipe {
        padding: 1rem;
        min-height: 150px;
    }
    .equipe-img {
        width: 100%;
        height: auto;
    }
    .equipe-list li {
        padding: 0.4em;
        font-size: 0.8rem;
    }
}

.hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #1976d2 0%, #90caf9 100%);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 2rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(44,62,80,0.15);
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(44,62,80,0.12);
}

.cta-button {
  background: linear-gradient(90deg, #f39c12 60%, #ffe092 100%);
  color: #222;
  padding: 1rem 2.2rem;
  border-radius: 30px;
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
  cursor: pointer;
}

.cta-button:hover {
  background: #f39c12;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}


