* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a1a;
    --gray: #666;
    --gold: #c9b89d;
    --light-bg: #fafafa;
    --line: #e8e8e8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, Garamond, serif;
    color: #333;
    line-height: 1.8;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Calibri, "Segoe UI", Arial, sans-serif;
    transition: background-color 0.4s, box-shadow 0.4s, padding 0.3s;
}

.navbar.scrolled {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    padding: 15px 50px;
}

.nav-right {
    display: flex;
    gap: 40px;
}

.logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: color 0.4s;
    text-align: center;
    line-height: 1.2;
    margin-left: 15%;
}

.logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 5px;
    font-style: normal;
    text-transform: uppercase;
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.4s;
}

.navbar.scrolled .nav-link {
    color: var(--primary);
}

.nav-link:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.4s;
}

.navbar.scrolled .menu-toggle {
    color: var(--primary);
}

.nav-mobile {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    padding-right: 100px;
    background: url('raniaaaa.jpg') center top / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    text-align: right;
}

.hero-title {
    font-size: 88px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.hero-specialties {
    margin-bottom: 40px;
}

.specialty {
    font-size: 24px;
    color: #fff;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.hero-quote {
    font-size: 16px;
    color: #fff;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 16px 50px;
    border: 2px solid var(--gold);
    color: #fff;
    background: rgba(201, 184, 157, 0.25);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.cta-button:hover {
    background: rgba(201, 184, 157, 0.1);
    color: #fff;
    border-color: #fff;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: capitalize;
}

.hero-scroll i {
    font-size: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Présentation */
.presentation {
    background: var(--light-bg);
}

.presentation-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 70px;
    align-items: start;
}

.presentation-photo {
    position: relative;
    padding-left: 15px;
    padding-bottom: 15px;
}

.presentation-photo::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 2px;
    background: var(--gold);
}

.presentation-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 60%;
    background: var(--gold);
}

.presentation-photo img {
    position: relative;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 20%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.presentation-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    font-family: Calibri, "Segoe UI", Arial, sans-serif;
}

.presentation-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: left;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.presentation-text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-top: 18px;
}

.presentation-intro {
    font-size: 17px;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.presentation-text p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.presentation-text p:last-child {
    margin-bottom: 0;
}

/* Sections */
.section {
    padding: 80px 0;
}

.contact {
    border-top: 1px solid var(--line);
}

.section h2 {
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.5px;
    font-weight: 600;
    color: var(--primary);
}

/* Compétences */
.competences {
    background: var(--primary);
    border-bottom: none;
}

.competences h2 {
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    max-width: 600px;
    margin: -20px auto 0;
    line-height: 1.7;
    font-style: italic;
}

.competences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.competence-card {
    padding: 0;
    border: none;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.competence-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    transition: background 0.4s;
}

.competence-card-sante { background-image: url('Sante.jpg'); }
.competence-card-penal { background-image: url('Penal.jpg'); }

.competence-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.competence-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 35%, rgba(0, 0, 0, 0.3) 100%);
}

.card-content {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gold);
}

.card-content ul {
    list-style: none;
}

.card-content li {
    padding-left: 20px;
    margin-bottom: 12px;
    position: relative;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.card-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* Contact */
.calendly-widget-container {
    margin-bottom: 50px;
}

/* Footer */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 50px 0 30px;
    font-size: 14px;
}

.footer .contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer .contact-item h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer .contact-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer .contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer .contact-item a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (min-width: 769px) {
    .hero {
        align-items: stretch;
        padding-right: 8%;
    }

    .hero-content {
        max-width: none;
    }

    .hero-content::before {
        content: '';
        float: left;
        width: clamp(30%, 35vw, 42%);
        height: 600px;
        shape-outside: polygon(
            0% 0%,
            75% 0%,
            70% 12%,
            65% 25%,
            63% 35%,
            70% 48%,
            80% 58%,
            75% 70%,
            70% 85%,
            65% 100%,
            0% 100%
        );
        shape-margin: clamp(15px, 2.5vw, 35px);
    }

    .hero-title {
        font-size: clamp(56px, 6vw, 88px);
    }

    .specialty {
        font-size: clamp(18px, 1.8vw, 24px);
    }

    .hero-title,
    .hero-specialties,
    .hero-quote,
    .cta-button {
        max-width: clamp(380px, 38vw, 520px);
        margin-left: auto;
        margin-right: 0;
    }

    .hero-quote {
        font-size: clamp(13px, 1.1vw, 15px);
        margin-bottom: 35px;
        opacity: 0.8;
        border-left: 2px solid var(--gold);
        padding-left: 20px;
        font-style: italic;
    }

    .cta-button {
        display: block;
        text-align: center;
        padding: clamp(14px, 1.5vw, 20px) 0;
        font-size: clamp(13px, 1.2vw, 16px);
    }
}

@media (max-aspect-ratio: 3/4) {
    .hero {
        background-position: 25% top;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .navbar.scrolled {
        padding: 12px 20px;
    }

    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-mobile {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px 40px;
        gap: 15px;
    }

    .nav-mobile .nav-link {
        color: var(--primary);
        font-size: 14px;
    }

    .nav-mobile .nav-link:hover {
        color: var(--gold);
    }

    .nav-mobile.open {
        display: flex;
    }

    .logo-text { font-size: 20px; margin-left: 0; }
    .section { padding: 50px 0; }
    .section h2 { font-size: 32px; margin-bottom: 30px; }

    .hero {
        padding: 30px;
        align-items: center;
    }

    .hero-content {
        max-width: 500px;
        text-align: center;
    }

    .hero-title { font-size: 52px; }
    .specialty { font-size: 18px; }
    .hero-quote { font-size: 14px; }
    .competences-grid { grid-template-columns: 1fr; gap: 30px; }

    .presentation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .presentation-photo {
        max-width: 320px;
        margin: 0 auto;
    }

    .presentation-photo img {
        height: 420px;
    }

    .presentation-label {
        font-size: 10px;
    }

    .presentation-text h2 {
        text-align: center;
        font-size: 28px;
    }

    .presentation-text h2::after {
        margin: 15px auto 0;
    }

    .presentation-intro {
        font-size: 15px;
    }

    .footer .contact-info {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .navbar { padding: 15px; }
    .nav-link { font-size: 11px; }
    .hero-title { font-size: 40px; }
    .specialty { font-size: 16px; }
    .hero-quote { font-size: 13px; }
    .cta-button { padding: 12px 30px; font-size: 12px; }
    .section h2 { font-size: 26px; }
    .competence-card { min-height: 350px; }
}
