/* Main Container */
.main-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 393px 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.profile-card {
    background-color: white;
    border-radius: 0;
    padding: 43px 0;
    text-align: center;
    box-shadow: -11.31px 11.31px 17px rgba(138, 131, 124, 0.23);
}

.profile-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.2);
}

.profile-card h1 {
    font-family: 'Corben', serif;
    font-size: 27px;
    line-height: 1.2;
    color: #000;
    margin-bottom: 25px;
}

.divider {
    width: 50px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 auto 25px;
}

.subtitle {
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 0.25em;
    color: #000;
    margin-bottom: 51px;
    padding: 0 49px;
}

.social-links {
    background-color: var(--color-primary);
    padding: 14px 0;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-links a {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links svg {
    width: 100%;
    height: 100%;
    fill: white;
}

/* Content Section */
.content-section {
    padding-left: 0;
}

.content-section h2 {
    font-family: 'Corben', serif;
    font-size: 100px;
    line-height: 1;
    color: var(--color-text);
    margin-bottom: 38px;
}

.content-section h3 {
    font-family: 'Corben', Georgia, 'Times New Roman', Times, serif;
    font-size: 25px;
    color: var(--color-text);
    margin-bottom: 56px;
}

.content-section p {
    margin-top: auto;
    font-size: 17px;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 20px;
}

.button-group {
    display: flex;
    gap: 20px;
    margin-top: 56px;
    margin-bottom: 56px;
    justify-content: center;
    align-items: center;
}

.btn {
    border-radius: 100px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.4s ease;
    display: inline-block;
    border: 2px solid;
    cursor: pointer;
    padding: 15px 35px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    border-color: var(--color-text);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-text);
}

.btn-secondary {
    background-color: transparent;
    color: #e0b053;
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

/* ======== NAVIGATION ======== */
nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    position: relative;
    text-decoration: none;
    color: #e0b053;
    /* ou var(--color-accent) */
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

/* Effet au survol */
nav ul li a:hover {
    color: #f0c870;
    transform: translateY(-2px);
}

/* Soulignement animé */
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background-color: #e0b053;
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Style pour la page active */
nav ul li a.active {
    color: #f0c870;
    font-weight: 600;
}

nav ul li a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Responsive page 1 */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .content-section h2 {
        font-size: 60px;
    }

    .button-group {
        flex-direction: column;
    }
}