/* Variables de couleurs Caze Majou */
:root {
    --primary: #f8b133; /* Orange Caze Majou */
    --secondary: #1a4b84; /* Bleu comme accent */
    --primary-dark: #e5a012; /* Orange foncé pour hover */
    --text-dark: #2d3436;
    --text-light: #636e72;
    --background: #fff9f0; /* Fond légèrement orangé */
    --white: #ffffff;
    --success: #28a745;
    --error: #dc3545;
    --border: #ddd;
    --text: #333;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, var(--background) 0%, #e9ecef 100%);
    color: var(--text-dark);
    margin: 0;
    padding: 2rem 0;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeIn 0.5s ease-in;
}

.header {
    background-color: var(--primary);
    color: var(--text-dark);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 100%, 50% 0);
}

.content {
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;
    }
}

.section {
    padding: 2rem;
    background: var(--background);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
}

.contact-info {
    background: var(--primary);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.contact-info h2 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.social-feed {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Formulaire de contact et inscription */
.contact-form {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.activity-notice {
    background: var(--background);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin: 1rem 0 2rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.activity-notice strong {
    color: var(--secondary);
}

.activity-details {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}

.activity-details h2 {
    color: var(--secondary);
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.activity-details .activity-date {
    color: var(--text);
    margin: 0;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group input[readonly] {
    background-color: var(--background);
    cursor: not-allowed;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.hidden {
    display: none;
}

.button,
.button-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
}

.button {
    background-color: var(--background);
    color: var(--text);
    border-color: var(--border);
}

.button:hover {
    background-color: var(--border);
    transform: translateY(-2px);
}

.button-primary {
    background-color: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
    width: 100%;
    margin-top: 1rem;
}

.button-primary:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
}

.button-inscription,
.activity-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.button-inscription:hover,
.activity-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-nav button:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Messages */
.info-message {
    background: var(--background);
    color: var(--text);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.no-activities-message {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 2rem auto;
    max-width: 600px;
}

.no-activities-message .subtitle {
    color: var(--text);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.no-activities-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-activities-message p {
    color: var(--text);
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.no-activities-message p:first-of-type {
    color: var(--secondary);
    font-weight: 500;
    font-size: 1.2rem;
}

.no-activities-message .button-primary {
    margin-top: 2rem;
    display: inline-block;
}

#formMessage {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

#formMessage.error {
    background-color: #fff3f3;
    color: var(--error);
    border: 1px solid #ffcdd2;
}

#formMessage.success {
    background-color: #f0fff4;
    color: var(--success);
    border: 1px solid #c3e6cb;
}

/* Liens sociaux */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-links a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 177, 51, 0.3);
}

/* Utilitaires */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* Styles pour la politique de confidentialité */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.privacy-content section {
    margin-bottom: 2rem;
}

.privacy-content h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.privacy-content h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.privacy-content p,
.privacy-content ul {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text);
}

.privacy-content ul {
    padding-left: 2rem;
    list-style-type: disc;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 0.5rem;
    }

    .privacy-content h2 {
        font-size: 1.5rem;
    }

    .privacy-content h3 {
        font-size: 1.2rem;
    }
}

/* Styles pour la page de confirmation */
.confirmation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.confirmation-box {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    animation: slideUp 0.5s ease-out;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--primary);
    animation: scaleIn 0.5s ease-out 0.2s both;
}

.confirmation-icon svg {
    width: 100%;
    height: 100%;
}

.confirmation-box h1 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.confirmation-box p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.confirmation-email {
    color: var(--text-light) !important;
    font-size: 0.95rem !important;
    margin-top: 2rem;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.button-secondary {
    background-color: #4267B2;
}

.button-secondary:hover {
    background-color: #365899;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Styles pour le champ téléphone et la case à cocher */
.phone-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.hidden {
    display: none;
}

#phone {
    transition: all 0.3s ease;
}

#phone.visible {
    display: block;
}

/* Styles pour la case à cocher RGPD */
.rgpd-checkbox {
    display: flex;
    align-items: flex-start;
    margin: 1rem 0;
    gap: 0.5rem;
}

.rgpd-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.rgpd-checkbox label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.rgpd-checkbox a {
    color: var(--primary);
    text-decoration: none;
}

.rgpd-checkbox a:hover {
    text-decoration: underline;
}

/* Styles pour le bouton de révélation du téléphone */
.phone-reveal {
    background: none;
    border: 2px solid var(--primary);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: auto;
}

.phone-reveal:hover {
    background-color: var(--primary);
    color: white;
    transform: none;
    box-shadow: none;
}

.phone-reveal .phone-number {
    color: var(--primary);
    font-weight: 600;
}

.phone-reveal:hover .phone-number {
    color: white;
}

.phone-reveal.revealed {
    border-color: var(--secondary);
}

.phone-reveal.revealed:hover {
    background-color: var(--secondary);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Styles pour les mentions légales */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text);
}

.legal-content ul {
    padding-left: 2rem;
    list-style-type: disc;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 0.5rem;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }
}

/* Styles pour la page d'adhésion */
.adhesion-content {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 1000px;
}

.adhesion-frame {
    margin: 2rem 0;
    min-height: 600px;
}

.adhesion-frame iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.adhesion-banner {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

.adhesion-banner .button-primary {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.adhesion-banner .button-primary:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Styles pour la section de présentation */
.presentation {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.98));
    padding: 2rem;
    margin: -20px auto 0;
    position: relative;
    z-index: 5;
}

.presentation-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.presentation section {
    margin-bottom: 2rem;
}

.presentation h2 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.presentation p {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.presentation .intro p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary);
}

.presentation ul {
    list-style: none;
    padding: 0;
}

.presentation li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.presentation li:before {
    content: "•";
    color: var(--primary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.presentation li strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 0.3rem;
}

.presentation .summary {
    background-color: var(--background);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.presentation .summary p {
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .presentation {
        padding: 1rem;
    }

    .presentation-content {
        padding: 1rem;
    }

    .presentation h2 {
        font-size: 1.3rem;
    }

    .presentation .intro p {
        font-size: 1rem;
    }
}

/* Styles pour la section des activités */
.activities-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--background) 0%, #fff 100%);
    position: relative;
    margin-top: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    margin: 0;
    color: var(--secondary);
    font-size: 2rem;
}

.button-admin {
    background: var(--secondary);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.button-admin:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.no-activities-message {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 2rem auto;
    max-width: 600px;
}

.no-activities-message .subtitle {
    color: var(--text);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.no-activities-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-activities-message p {
    color: var(--text);
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.no-activities-message p:first-of-type {
    color: var(--secondary);
    font-weight: 500;
    font-size: 1.2rem;
}

.no-activities-message .button-primary {
    margin-top: 2rem;
    display: inline-block;
}

.error-message {
    background: #fee;
    color: #c00;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    margin: 1rem 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.activity-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-image-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Ratio 4:3 */
    overflow: hidden;
}

.activity-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.activity-image:hover {
    transform: scale(1.05);
}

.activity-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.activity-date {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-date .time {
    color: var(--text-light);
    font-size: 0.9em;
    padding-left: 0.5rem;
    border-left: 2px solid var(--border);
}

.activity-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.activity-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-btn,
.next-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.no-activities {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .activities-section {
        padding: 2rem 1rem;
    }

    .activity-card {
        flex: 0 0 280px;
    }

    .activity-image {
        height: 160px;
    }
}

/* Styles pour le formulaire d'inscription */
.activity-details {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}

.activity-details h2 {
    color: var(--secondary);
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.activity-details .activity-date {
    color: var(--text);
    font-size: 1.1rem;
    margin: 0;
}

.contact-form h1 {
    color: var(--secondary);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

/* Styles pour le formulaire */
.required {
    color: #dc3545;
    margin-left: 2px;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Style du header */
header {
    text-align: center;
    padding: 2rem 0;
}

header .logo {
    display: inline-block;
}

header .logo img {
    max-width: 200px;
    height: auto;
}

/* Styles des images d'activités */
.activity-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.activity-image:hover {
    transform: scale(1.02);
}

/* Modal image */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    cursor: pointer;
}

.modal-image {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Styles pour les boutons radio */
.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Style pour le champ nombre */
input[type="number"] {
    width: 100px;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
}

input[type="number"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

/* Styles des formulaires */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.required {
    color: #e76f51;
    margin-left: 2px;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background: var(--primary-dark);
}

.hidden {
    display: none;
}

/* Style pour le message de politique de confidentialité */
.privacy-notice {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.privacy-notice a {
    color: var(--primary);
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

/* Barre de navigation rapide */
.quick-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 25px;
    margin: -1.5rem auto 2rem;
    max-width: 800px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 1rem;
    z-index: 100;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: var(--background);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-button i {
    font-size: 1rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-button:hover i {
    color: var(--white);
}

.nav-button.active {
    background: var(--primary);
    color: var(--white);
}

.nav-button.active i {
    color: var(--white);
}

@media (max-width: 768px) {
    .quick-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
        margin: -1rem 1rem 1rem;
    }

    .nav-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Styles pour les boutons de partage */
.activity-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.share-button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.share-button:hover {
    transform: translateY(-2px);
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.facebook:hover {
    background-color: #4c70ba;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.twitter:hover {
    background-color: #4db5f5;
}

.share-button.linkedin {
    background-color: #0077b5;
}

.share-button.linkedin:hover {
    background-color: #0090dd;
}

.share-button.instagram {
    background: #f09433; 
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.share-button.instagram:hover {
    background: linear-gradient(45deg, #f3a346 0%,#e97b57 25%,#e33d57 50%,#d63977 75%,#cc2f96 100%);
}

.share-button i {
    font-size: 1rem;
}

/* Responsive design pour les boutons de partage */
@media (max-width: 768px) {
    .activity-actions {
        gap: 0.75rem;
    }
    
    .share-buttons {
        gap: 0.4rem;
    }
    
    .share-button {
        width: 30px;
        height: 30px;
    }
    
    .share-button i {
        font-size: 0.9rem;
    }
}

/* ======== Nouveau header: logo centré avec menu réparti ======== */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--border);
}

.main-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--primary);
}

.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }

.nav-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-logo .logo {
    height: 60px;
    width: auto;
}

@media (max-width: 768px) {
    .main-nav {
        grid-template-columns: 1fr auto 1fr;
        padding: 0.75rem 1rem;
    }
    .main-nav ul {
        gap: 0.75rem;
        font-size: 0.95rem;
    }
    .nav-logo .logo {
        height: 48px;
    }
}

/* ======== Section Instagram (placeholder) ======== */
.instagram-section {
    padding: 2rem;
    background: var(--background);
}

.instagram-section h2 {
    color: var(--secondary);
    text-align: center;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.instagram-placeholder {
    background: #fff;
    border: 1px dashed var(--border);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
}
