/* === Variables === */
:root {
    --primary-color: #8B4513; /* Brun terre d'Égypte */
    --secondary-color: #DAA520; /* Or */
    --accent-color: #4A5D23; /* Vert olive */
    --dark-color: #2C1810; /* Brun très foncé */
    --light-color: #F4E4C1; /* Beige papyrus */
    --text-color: #3E2723;
    --background: #FDF6E3; /* Fond parchemin */
    --shadow: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Garamond', 'Georgia', serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Navigation === */
header {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 4px 15px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--secondary-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 60px;
    filter: drop-shadow(0 0 10px var(--secondary-color));
}

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu li a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
}

.menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.menu li a:hover::after,
.menu li a.active::after {
    width: 80%;
}

.menu li a:hover,
.menu li a.active {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--light-color);
    cursor: pointer;
}

/* === Hero Section === */
.hero {
    height: 600px;
    background: linear-gradient(rgba(44, 24, 16, 0.6), rgba(44, 24, 16, 0.7)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%238B4513" width="1200" height="600"/><path fill="%23DAA520" opacity="0.1" d="M600 150 L650 250 L750 250 L675 300 L700 400 L600 350 L500 400 L525 300 L450 250 L550 250 Z"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 5px solid var(--secondary-color);
}

.hero-overlay {
    text-align: center;
    color: var(--light-color);
    z-index: 2;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.4);
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.6);
}

/* === Sections === */
.intro, .pillars {
    padding: 4rem 2rem;
}

.intro {
    background: var(--light-color);
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

.intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

/* === Pillars === */
.pillars .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pillar {
    background: white;
    padding: 2.5rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--secondary-color);
}

.pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.4);
}

.pillar .icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.pillar h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pillar p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 4px solid var(--secondary-color);
}

.page-header h1 {
    color: var(--light-color);
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* === Content Sections === */
.content {
    padding: 4rem 2rem;
}

.content-block {
    margin-bottom: 3rem;
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--secondary-color);
}

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

.content-block h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.content-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* === Lists === */
.values-list, .characteristics, .principles {
    list-style: none;
    padding-left: 0;
}

.values-list li, .characteristics li, .principles li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--light-color);
    border-left: 4px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 1.05rem;
}

/* === Activities === */
.activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.activity-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.activity-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* === Degrees === */
.degrees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.degree-section {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
}

.degree-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* === Events === */
.events-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.event-card {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 5px solid var(--secondary-color);
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.event-date {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: bold;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-details {
    padding: 1.5rem;
    flex: 1;
}

.event-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.event-details p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.event-type {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* === Contact === */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-form-section, .contact-info-section {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-section h3, .contact-info-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 0.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
}

.contact-icon {
    font-size: 2rem;
}

.contact-info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.confidentiality-note {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 2rem;
}

.confidentiality-note h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* === FAQ === */
.faq-section {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

/* === Footer === */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: var(--light-color);
    padding: 2rem;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
}

/* === Responsive === */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark-color);
        padding: 1rem;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .intro h2 {
        font-size: 1.8rem;
    }
}