/* CSS distinct pour la page contact */

/* Hero section plus petite pour les pages intu00e9rieures - identique aux autres pages */
.hero-small {
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 104px; /* Mu00eame valeur que dans style.css principal */
}

.hero-small .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: -2;
}

.hero-small .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-small .hero-content {
    padding: 0 20px;
    max-width: 800px;
    width: 100%;
}

.hero-small h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease-out;
}

.hero-small p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1.2s ease-out;
}

.breadcrumbs {
    font-size: 0.9rem;
    margin-top: 15px;
    animation: fadeInUp 1.4s ease-out;
}

.breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumbs a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Section principale de contact */
.contact-section {
    padding: 60px 0 30px; /* Ru00e9duction du padding pour un design compact */
    background-color: #fff;
}

.contact-content {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    margin-top: 40px;
}

/* Styles pour les infos de contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    background-color: #f9f5f0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(139, 94, 60, 0.1);
    transition: transform 0.3s ease;
}

.info-card:last-of-type {
    border-bottom: none;
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8b5e3c;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.info-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.info-content a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #8b5e3c;
    text-decoration: underline;
}

/* Liens sociaux */
.social-links {
    margin-top: 10px;
}

.social-links h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #8b5e3c;
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #333;
    transform: translateY(-3px);
}

/* Styles pour le formulaire de contact */
.contact-form-container {
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-header {
    margin-bottom: 25px;
    text-align: center;
}

.form-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 1rem;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #8b5e3c;
    box-shadow: 0 0 0 2px rgba(139, 94, 60, 0.1);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

button.btn-primary {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: #8b5e3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button.btn-primary:hover {
    background-color: #6b4a2e;
    transform: translateY(-2px);
}

/* Section carte */
.map-section {
    padding: 0; /* Pas de padding pour un design compact */
    background-color: #f9f5f0;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    border: none;
    display: block;
}

/* Section FAQ */
.faq-section {
    padding: 50px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 30px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 18px 25px;
    background-color: #f9f5f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.faq-toggle {
    color: #8b5e3c;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-question.active {
    background-color: #8b5e3c;
}

.faq-question.active h3 {
    color: white;
}

.faq-question.active .faq-toggle {
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Bouton retour en haut */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #8b5e3c;
    color: white;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: #a67c52;
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
}

@media screen and (max-width: 768px) {
    .hero-small {
        height: 240px;
    }
    
    .hero-small h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero-small p {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .breadcrumbs {
        font-size: 0.8rem;
    }
    
    .contact-section,
    .faq-section {
        padding: 30px 0;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .info-card {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .info-content h3 {
        font-size: 1.1rem;
    }
    
    .info-content p {
        font-size: 0.95rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-small {
        height: 180px;
    }
    
    .hero-small h1 {
        font-size: 1.8rem;
    }
    
    .hero-small p {
        font-size: 0.9rem;
    }
    
    .contact-section,
    .faq-section {
        padding: 25px 0;
    }
    
    .contact-grid {
        gap: 25px;
        margin-top: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 20px 15px;
    }
    
    .info-card {
        padding-bottom: 12px;
        margin-bottom: 12px;
        gap: 10px;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    button.btn-primary {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer.active {
        padding: 15px 20px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    /* Bouton retour en haut simplifiu00e9 */
    #back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
