/* ============================================= */
/* CONTACT.CSS - Styles pour la page de contact */
/* ============================================= */

/* Variables pour les couleurs (cohérent avec programme.css) */
:root {
    --oif-blue: #0055A4;
    --oif-blue-light: #2E7DDB;
    --oif-blue-dark: #003366;
    --oif-purple: #7B1FA2;
    --oif-purple-light: #9C27B0;
    --oif-pink: #C2185B;
    --oif-pink-light: #E91E63;
    --eco-green: #2E7D32;
    --eco-teal: #00897B;
    --text-on-dark: #FFFFFF;
    --text-on-dark-secondary: rgba(255, 255, 255, 0.9);
    --light-gray: #E9ECEF;
    --medium-gray: #6C757D;
    --text-secondary: #495057;
    --text-light: #868E96;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}



/* Groupes de boutons */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Boutons cohérents avec programme.css */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-blue-dark));
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--oif-blue-dark), var(--oif-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--white);
    color: var(--oif-blue);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--oif-blue);
    border: 2px solid var(--oif-blue);
}

.btn-outline:hover {
    background: var(--oif-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Animations spécifiques */
.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.animate-slideInLeft {
    animation: slideInLeft 1s ease 0.3s forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.animate-slideInRight {
    animation: slideInRight 1s ease 0.6s forwards;
    opacity: 0;
    transform: translateX(30px);
}

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

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================= */
/* SECTIONS COMMUNES - IDENTIQUES */
/* ============================================= */

/* Section de base */
.section {
    padding: 80px 0;
    position: relative;
}

/* Section avec thème spécifique */
.theme-section {
    background-color: var(--white);
}

.bassin-section {
    background-color: var(--light-bg);
    position: relative;
}

.bassin-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--oif-blue), var(--eco-green));
}

.objectives-section {
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.05), rgba(46, 125, 50, 0.05));
}

.countdown-section {
    background: linear-gradient(135deg, var(--oif-blue-dark), var(--oif-blue));
    color: var(--white);
    text-align: center;
}

/* En-têtes de section */
.section-header {
    margin-bottom: 60px;
}

.section-header .lead {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-top: 1rem;
}

.section-header.text-center .lead {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Classes utilitaires */
.mb-60 {
    margin-bottom: 60px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-60 {
    margin-top: 60px;
}

.lead {
    font-size: 1.2rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ============================================= */
/* COORDONNÉES - CARTES AMÉLIORÉES */
/* ============================================= */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Carte de contact principale (OIF) */
.contact-card.main {
    grid-column: 1 / -1;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--oif-blue);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    transition: var(--transition-normal);
}

.contact-card.main:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--oif-blue-light);
}

.contact-card.main .contact-header {
    border-right: 2px solid var(--light-gray);
    padding-right: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--light-gray);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 90%;
    max-height: 90%;
}

.contact-card.main h3 {
    font-size: 1.8rem;
    color: var(--oif-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Cartes des contacts individuels */
.contact-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-normal);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--oif-blue);
}

.contact-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-pink));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.2rem;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--oif-blue-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

/* Détails de contact */
.contact-details {
    width: 100%;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
    padding: 12px 15px;
    background: rgba(0, 85, 164, 0.03);
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    transition: var(--transition-fast);
}

.contact-item:hover {
    background: rgba(0, 85, 164, 0.08);
    border-left-color: var(--oif-blue);
    transform: translateX(5px);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-info strong {
    color: var(--oif-blue);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-info p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.contact-info a {
    color: var(--oif-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    display: inline-block;
    word-break: break-all;
}

.contact-info a:hover {
    color: var(--oif-pink);
    text-decoration: underline;
}

/* Pour aligner deux cartes de contacts individuels */
.contact-cards:has(.contact-card:only-child),
.contact-cards:has(.contact-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

/* ============================================= */
/* FORMULAIRE DE CONTACT - AMÉLIORÉ */
/* ============================================= */

.form-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.form-alert {
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.08), rgba(46, 125, 50, 0.08));
    border-left: 5px solid var(--eco-green);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    margin-bottom: 35px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    animation: fadeIn 0.8s ease;
}

.form-alert i {
    color: var(--eco-green);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-alert p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1rem;
}

.form-alert strong {
    color: var(--oif-blue-dark);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--oif-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
    color: var(--text-secondary);
}

.form-control:focus {
    outline: none;
    border-color: var(--oif-blue);
    box-shadow: 0 0 0 3px rgba(0, 85, 164, 0.15);
}

.form-control.error {
    border-color: var(--oif-pink);
    background: rgba(194, 24, 91, 0.03);
}

textarea.form-control {
    resize: vertical;
    min-height: 160px;
    line-height: 1.5;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230055A4' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-text {
    display: block;
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.char-counter {
    text-align: right;
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.char-counter.warning {
    color: #ff9800;
}

.char-counter.error {
    color: var(--oif-pink);
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.form-checkbox {
    margin-top: 5px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    accent-color: var(--oif-blue);
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    cursor: pointer;
}

.required {
    color: var(--oif-pink);
    font-weight: 700;
}

.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.form-actions .btn {
    min-width: 180px;
}

.form-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--light-gray);
    text-align: center;
}

.form-footer p {
    margin: 8px 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-footer a {
    color: var(--oif-blue);
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    color: var(--oif-pink);
    text-decoration: underline;
}

/* Messages d'erreur */
.error-message {
    color: var(--oif-pink) !important;
    font-size: 0.85rem;
    margin-top: 8px;
    display: block;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

/* ============================================= */
/* INFORMATIONS LOGISTIQUES - AMÉLIORÉ */
/* ============================================= */

.logistics-info {
    max-width: 1200px;
    margin: 40px auto 0;
}

.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.logistics-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--oif-blue);
    transition: var(--transition-normal);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
}

.logistics-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--oif-pink);
}

.logistics-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-purple));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.logistics-content {
    flex: 1;
}

.logistics-content h3 {
    font-size: 1.4rem;
    color: var(--oif-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.logistics-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.logistics-content li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    padding-left: 0;
    line-height: 1.5;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.logistics-content li:last-child {
    margin-bottom: 0;
}

.logistics-content li::before {
    content: '•';
    color: var(--oif-pink);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

.logistics-content li strong {
    color: var(--oif-blue-dark);
    font-weight: 600;
}

/* FAQ Quicklinks */
.faq-quicklinks {
    margin-bottom: 60px;
}

.faq-quicklinks h3 {
    margin-bottom: 35px;
    color: var(--oif-blue);
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.quicklink {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    border: 2px solid var(--light-gray);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.quicklink:hover {
    border-color: var(--oif-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.quicklink i {
    color: var(--oif-blue);
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(0, 85, 164, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quicklink span {
    font-weight: 600;
    flex: 1;
    font-size: 1.05rem;
}

/* Emergency Contact */
.emergency-contact {
    margin-top: 50px;
}

.emergency-card {
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.1), rgba(194, 24, 91, 0.1));
    border-radius: var(--radius-xl);
    padding: 35px;
    border-left: 5px solid var(--oif-pink);
    display: flex;
    gap: 30px;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    background: var(--oif-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.3);
}

.emergency-content h4 {
    color: var(--oif-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.emergency-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.emergency-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.emergency-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 85, 164, 0.1);
}

.emergency-item i {
    color: var(--oif-pink);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.emergency-item strong {
    color: var(--oif-blue);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.emergency-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================= */
/* CARTE INTERACTIVE - AMÉLIORÉE */
/* ============================================= */

.map-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
    border: 1px solid var(--light-gray);
}

.map-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    min-height: 450px;
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.05), rgba(194, 24, 91, 0.05));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    text-align: center;
}

.map-placeholder i {
    font-size: 4.5rem;
    color: var(--oif-blue);
    margin-bottom: 25px;
    opacity: 0.8;
}

.map-placeholder h3 {
    color: var(--oif-blue);
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 700;
}

.map-placeholder p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 400px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.map-address {
    background: rgba(0, 85, 164, 0.1);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--oif-blue);
    max-width: 400px;
    width: 100%;
}

.map-address p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1.05rem;
}

.map-address strong {
    color: var(--oif-blue);
}

.map-info {
    padding: 40px;
    background: var(--light-bg);
    border-left: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.map-info h4 {
    color: var(--oif-blue);
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.map-info h4 i {
    color: var(--oif-pink);
    font-size: 1.2rem;
}

.map-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.map-info li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    padding-left: 0;
    line-height: 1.5;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.map-info li:last-child {
    margin-bottom: 0;
}

.map-info li::before {
    content: '→';
    color: var(--oif-pink);
    position: absolute;
    left: 0;
    top: 0;
}

.map-info li strong {
    color: var(--oif-blue-dark);
}

/* Social Contact */
.social-contact {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin-top: 60px;
}

.social-contact h4 {
    color: var(--white);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 1.3rem;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: var(--oif-pink);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--white);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
}

.social-email {
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    transition: var(--transition-normal);
    font-size: 1.1rem;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-email:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
    border-color: var(--oif-pink-light);
}

.social-email i {
    font-size: 1.2rem;
}

/* ============================================= */
/* RESPONSIVE DESIGN - COHÉRENT AVEC PROGRAMME */
/* ============================================= */

@media (max-width: 1200px) {
    .contact-card.main {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
    
    .map-wrapper {
        grid-template-columns: 1fr 320px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .contact-card.main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-card.main .contact-header {
        border-right: none;
        border-bottom: 2px solid var(--light-gray);
        padding-right: 0;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    
    .contact-cards:has(.contact-card:nth-child(2):last-child) {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .map-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .map-info {
        border-left: none;
        border-top: 1px solid var(--light-gray);
        padding: 30px;
    }
    
    .emergency-card {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .emergency-item {
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-group .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .contact-card.main,
    .contact-card {
        padding: 25px;
    }
    
    .contact-logo {
        width: 150px;
        height: 150px;
    }
    
    .contact-avatar {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .logistics-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .logistics-card {
        flex-direction: column;
        text-align: center;
    }
    
    .logistics-icon {
        margin: 0 auto 15px;
    }
    
    .quicklinks-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .map-placeholder {
        padding: 30px 20px;
    }
    
    .map-placeholder i {
        font-size: 3.5rem;
    }
    
    .map-placeholder h3 {
        font-size: 1.8rem;
    }
    
    .social-contact {
        padding: 30px 20px;
    }
    
    .social-contact h4 {
        font-size: 1.4rem;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-card.main h3 {
        font-size: 1.5rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .emergency-details {
        grid-template-columns: 1fr;
    }
    
    .social-email {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

@media (max-width: 400px) {
    .contact-card.main,
    .contact-card,
    .contact-form,
    .logistics-card,
    .emergency-card {
        padding: 20px;
    }
    
    .contact-logo {
        width: 120px;
        height: 120px;
    }
    
    .contact-avatar {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }
    
    .social-contact {
        padding: 20px 15px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Impression */
@media print {
    .contact-card,
    .contact-form,
    .logistics-card,
    .emergency-card,
    .map-container,
    .social-contact {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn-group,
    .form-actions,
    .social-icons {
        display: none;
    }
    
    a {
        color: #000 !important;
        text-decoration: none;
    }
    
    .contact-info a:after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        color: #666;
    }
    
    .hero-section.programme-hero {
        background: none !important;
        color: #000;
    }
    
    .hero-title {
        -webkit-text-fill-color: #000;
        background: none;
    }
}


/* ============================================= */
/* HERO-SECTION RESPONSIVE DESIGN  */
/* ============================================= */
/* Solution ultra-responsive avec clamp() */
.hero-section {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
}

.d-flex.align-items-center.justify-content-center {
    min-height: 100vh;
    padding: clamp(20px, 5vh, 80px) 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.position-relative.text-center.text-white.container {
    padding: clamp(15px, 3vh, 40px) clamp(10px, 3vw, 20px) !important;
}

/* Typographie responsive avec clamp() */
h1.fw-bold.mb-3 {
    font-size: clamp(1.4rem, 4vw + 1rem, 3rem) !important;
    margin-bottom: clamp(0.5rem, 1.5vh, 1.5rem) !important;
    line-height: 1.2 !important;
}

h2.mb-3 {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.8rem) !important;
    margin-bottom: clamp(0.5rem, 1vh, 1rem) !important;
    line-height: 1.3 !important;
}

p.mb-4 {
    font-size: clamp(0.85rem, 1.5vw + 0.5rem, 1.2rem) !important;
    line-height: clamp(1.4, 1.8, 1.6) !important;
    margin-bottom: clamp(1rem, 2vh, 2rem) !important;
}

/* Boutons responsive */
.d-flex.flex-wrap.justify-content-center.gap-3.mt-3 {
    margin-top: clamp(1rem, 2vh, 2rem) !important;
    gap: clamp(0.5rem, 1vw, 1rem) !important;
}

.btn-lg {
    padding: clamp(0.5rem, 1vh, 1rem) clamp(0.8rem, 2vw, 1.5rem) !important;
    font-size: clamp(0.85rem, 1vw, 1rem) !important;
}