:root {
    --bg-cream: #FAF8F5;
    --bg-white: #FFFFFF;
    --bg-warm: #F5F0EB;
    --accent-terracotta: #C17B5D;
    --accent-sage: #7A8B7A;
    --accent-navy: #2C3E50;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --border-light: rgba(0, 0, 0, 0.08);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
}
/* ================== Barre de navigation ================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 4rem;
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}
.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a:hover {
    color: var(--accent-terracotta);
}

/* ================== Contenu principal ================== */
main {
    position: relative;
}
section {
    padding: 7rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================== Menu principal ================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text {
    animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-terracotta);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 480px;
}
.hero-cta {
    display: flex;
    gap: 1.25rem;
}
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent-navy);
    color: white;
}
.btn-primary:hover {
    background: #1a2a38;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.2);
}
.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border-light);
}
.btn-secondary:hover {
    border-color: var(--accent-terracotta);
    color: var(--accent-terracotta);
}

/* ================== Cadre image Menu Principal ================== */
.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}
.hero-image-wrapper {
    position: relative;
}
.hero-image {
    width: 250px;
    height: 350px;
    background: var(--bg-warm);
    border-radius: 200px 200px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 200px 200px 20px 20px;
}
.profile-placeholder {
    font-size: 6rem;
    opacity: 0.6;
}
.floating-card {
    position: absolute;
    padding: 0.5rem 1.2rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    animation: floatSoft 4s ease-in-out infinite;
}
.floating-card.card-1 {
    top: 58px;
    left: -58px;
}
.floating-card.card-2 {
    bottom: 30px;
    right: -50px;
    animation-delay: 1s;
}
@keyframes floatSoft {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}
.floating-card-label {
    font-size: 0.6rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.15rem;
}
.floating-card-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* ================== Sections ================== */
.section-header {
    margin-bottom: 4rem;
}
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-terracotta);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ================== À propos ================== */
.about {
    background: var(--bg-white);
    border-radius: 40px;
    padding: 5rem !important;
    margin: 2rem auto;
    max-width: 1200px;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}
.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}
.about-text p {
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}
.about-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}
.highlight-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--bg-cream);
    border-radius: 20px;
    flex: 1;
}
.highlight-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-terracotta);
    display: block;
    margin-bottom: 0.25rem;
}
.highlight-label {
    font-size: 0.85rem;
    color: var(--text-light);
}
.about-image {
    position: relative;
}
.about-img-main {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(145deg, var(--bg-warm) 0%, #DDD5CC 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-navy);
    color: white;
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    text-align: center;
}
.about-badge-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}
.about-badge-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
}
.about-image {
    position: relative;
}

/* ================== Compétences ================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.skill-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}
.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border-color: var(--border-light);
}
.skill-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-cream);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.skill-icon-img {
    width: 40px;
    height: 40px;
}
.skill-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}
.skill-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.skill-tag {
    padding: 0.4rem 0.9rem;
    background: var(--bg-cream);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* ================== Expérience ================== */
.experience {
    background: var(--bg-white);
    border-radius: 40px;
    padding: 5rem !important;
    margin: 2rem auto;
    max-width: 1200px;
}
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.experience-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    padding: 2.5rem;
    background: var(--bg-cream);
    border-radius: 24px;
    transition: all 0.3s ease;
}
.experience-card:hover {
    background: var(--bg-warm);
}
.experience-meta {
    border-right: 1px solid var(--border-light);
    padding-right: 2rem;
}
.experience-company {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.experience-duration {
    font-size: 0.85rem;
    color: var(--accent-terracotta);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.experience-location {
    font-size: 0.85rem;
    color: var(--text-light);
}
.experience-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}
.experience-tasks {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.experience-tasks li {
    font-size: 0.9rem;
    color: var(--text-medium);
    padding-left: 1.25rem;
    position: relative;
}
.experience-tasks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent-sage);
    border-radius: 50%;
}

/* ================== Formations ================== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.education-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.education-card:hover {
    border-color: var(--border-light);
    transform: translateY(-5px);
}
.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-terracotta), var(--accent-sage));
}
.education-year {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-terracotta);
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}
.education-degree {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.education-school {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}
.education-specialty {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-cream);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-medium);
}

/* ================== Contact ================== */
.contact {
    background: var(--accent-navy);
    border-radius: 40px;
    padding: 5rem !important;
    margin: 2rem auto;
    max-width: 1200px;
    color: white;
}
.contact .section-eyebrow {
    color: rgba(255, 255, 255, 0.6);
}
.contact .section-title {
    color: white;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}
.contact-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 500;
}
.contact-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1rem;
}
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contact-icon-img {
    width: 30px;
    height: 30px;
}
.contact-link-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}
.contact-link-value {
    font-size: 0.95rem;
    color: white;
}
.contact-availability {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(122, 139, 122, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.availability-dot {
    width: 10px;
    height: 10px;
    background: #00c200;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
.availability-text {
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
}
.contact-availability h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 500;
}
.contact-availability p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.contact-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.contact-more-content {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contact-more img {
    width: 30px;
    height: 30px;
}
.contact-more-label {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ================== Pied de page ================== */
footer {
    text-align: center;
    padding: 3rem 4rem;
    color: var(--text-light);
    font-size: 0.9rem;
}
footer .footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ================== Responsive ================== */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 3rem;
    }
    section,
    .about,
    .experience,
    .contact {
        padding: 3rem 2rem !important;
    }
    nav {
        padding: 1rem 2rem;
    }
    .hero-visual {
        order: -1;
    }
    .hero-image {
        width: 280px;
        height: 350px;
    }
    .floating-card {
        display: none;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .skills-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .experience-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .experience-meta {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-right: 0;
        padding-bottom: 1.5rem;
    }
    .experience-tasks {
        grid-template-columns: 1fr;
    }
    .about-highlights {
        flex-direction: column;
    }
    .contact-extras {
        flex-direction: column;
        gap: 0.5rem;
    }
}