/* ============================================
   ALICE ZARKA - AVOCATE
   Stylesheet principal - THÈME CLAIR
   
   TABLE DES MATIÈRES :
   1. Variables & Reset
   2. Typography
   3. Navigation
   4. Hero Section
   5. About Section
   6. Competences Section (Accordéon)
   7. Honoraires Section
   8. Contact Section
   9. Footer
   10. Animations
   11. Responsive - Small screens
   12. Responsive - Portrait (Mobile Vertical)
   ============================================ */


/* ============================================
   1. VARIABLES & RESET
   ============================================ */
:root {
    /* Couleurs principales - THÈME CLAIR */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f3ef;
    --bg-dark: #1a1a1a;
    --gold: #c9a961;
    --gold-light: #d4bc7d;
    --gold-dark: #a88a4a;
    --navy: #0a1628;
    
    /* Textes */
    --text-dark: #1a1a1a;
    --text-medium: rgba(0, 0, 0, 0.7);
    --text-muted: rgba(0, 0, 0, 0.5);
    
    /* Espacements */
    --section-padding: 8rem 4rem;
    --section-padding-tablet: 6rem 2rem;
    --section-padding-mobile: 4rem 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Caslon Text', serif;
    font-weight: 400;
    font-size: 18px;
    background-color: var(--bg-secondary);
    color: var(--text-dark);
    line-height: 1.8;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}


/* ============================================
   2. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-family: 'Fjalla One', sans-serif;
    font-weight: 400;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.1em;
    color: var(--navy);
    margin: 0 0 0.5rem 0;
}

.section-header .divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto;
}


/* ============================================
   3. NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.125rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background var(--transition-medium), box-shadow var(--transition-medium);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav.scrolled {
    background: rgba(245, 243, 239, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Barre dorée sous la navbar quand scrolled */
nav.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--gold) 0%,
        var(--gold) 33%,
        transparent 35%,
        transparent 65%,
        var(--gold) 67%,
        var(--gold) 100%
    );
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 52px;
    width: auto;
}

/* Sélecteur de langue */
.lang-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-flag {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.5;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 30px rgba(255, 255, 255, 0.7);
}

.lang-flag:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.lang-flag.active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--gold);
}

.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-family: 'Fjalla One', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition-fast);
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 1),
        0 0 40px rgba(255, 255, 255, 0.9),
        0 0 60px rgba(255, 255, 255, 0.7);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition-fast);
}

.nav-links a:hover {
    color: var(--gold-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu burger (mobile) - caché par défaut */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--navy);
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================
   4. HERO SECTION - MODE BUREAU (par défaut)
   Grands visages à gauche et droite
   ============================================ */
.hero {
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

/* Visages en pseudo-elements - MODE BUREAU */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 45%;
    height: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.7;
}

.hero::before {
    left: 0;
    background-image: url('../images/leftvisage.png');
    background-position: left bottom;
}

.hero::after {
    right: 0;
    background-image: url('../images/rightvisage.png');
    background-position: right bottom;
}

.hero-content {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.3rem;
    color: var(--navy);
}

.animate-letters span {
    display: inline-block;
    opacity: 0;
    animation: letterFadeIn 0.5s ease forwards;
}

.animate-letters span:nth-child(1) { animation-delay: 0.1s; }
.animate-letters span:nth-child(2) { animation-delay: 0.15s; }
.animate-letters span:nth-child(3) { animation-delay: 0.2s; }
.animate-letters span:nth-child(4) { animation-delay: 0.25s; }
.animate-letters span:nth-child(5) { animation-delay: 0.3s; }
.animate-letters span:nth-child(6) { animation-delay: 0.35s; }
.animate-letters span:nth-child(7) { animation-delay: 0.4s; }
.animate-letters span:nth-child(8) { animation-delay: 0.45s; }
.animate-letters span:nth-child(9) { animation-delay: 0.5s; }
.animate-letters span:nth-child(10) { animation-delay: 0.55s; }
.animate-letters span:nth-child(11) { animation-delay: 0.6s; }

@keyframes letterFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-family: 'Fjalla One', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0;
    font-weight: 400;
    opacity: 0;
    animation: subtitleFadeIn 0.8s ease forwards;
    animation-delay: 0.8s;
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
    transition: opacity 0.4s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator span {
    font-family: 'Fjalla One', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}


/* ============================================
   5. ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding);
    padding-bottom: 4rem;
    background: var(--bg-primary);
    position: relative;
}

/* Trait doré en haut avec espace au milieu */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--gold) 0%,
        var(--gold) 33%,
        transparent 35%,
        transparent 65%,
        var(--gold) 67%,
        var(--gold) 100%
    );
}

.about .section-header h2 {
    margin-bottom: 0.5rem;
}

.about .section-header {
    padding-top: 0;
    padding-bottom: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.5s ease, transform 0.1s ease-out;
    will-change: transform;
}

.about-image:hover img {
    filter: grayscale(0%);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-medium);
    text-align: justify;
}

.about-text .highlight {
    color: var(--gold-dark);
    font-weight: 400;
}


/* ============================================
   6. COMPETENCES SECTION (ACCORDÉON)
   ============================================ */
.competences {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

/* Trait doré en haut */
.competences::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--gold) 0%,
        var(--gold) 33%,
        transparent 35%,
        transparent 65%,
        var(--gold) 67%,
        var(--gold) 100%
    );
}

.competences-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.accordion-header:hover {
    padding-left: 0.5rem;
}

.accordion-number {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-right: 1rem;
    min-width: 35px;
    flex-shrink: 0;
}

.accordion-header h4 {
    flex: 1;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    color: var(--navy);
    font-weight: 400;
    text-transform: uppercase;
}

.accordion-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-left: 1rem;
    transition: transform var(--transition-fast);
    font-weight: 300;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0 0 3rem;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 0 0 2rem 3rem;
}

.accordion-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
    color: rgba(0, 0, 0, 0.65);
}

.accordion-content p:last-child {
    margin-bottom: 0;
}


/* ============================================
   7. HONORAIRES SECTION
   ============================================ */
.honoraires {
    padding: 5rem 4rem;
    background: var(--bg-primary);
    text-align: center;
    position: relative;
}

/* Trait doré en haut */
.honoraires::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--gold) 0%,
        var(--gold) 33%,
        transparent 35%,
        transparent 65%,
        var(--gold) 67%,
        var(--gold) 100%
    );
}

.honoraires .section-header {
    margin-bottom: 3rem;
}

.honoraires-content {
    max-width: 800px;
    margin: 0 auto;
}

.honoraires-content > p {
    font-size: 0.95rem;
    line-height: 1.7;  
    margin-bottom: 2rem;
    color: var(--text-medium);
    text-align: justify;
}

.honoraires-note {
    display: inline-block;
    padding: 2rem 4rem;
    border: 1px solid rgba(201, 169, 97, 0.4);
    background: rgba(201, 169, 97, 0.05);
}

.honoraires-note p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
}

.honoraires-note p:first-child {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.3rem;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}


/* ============================================
   8. CONTACT SECTION
   ============================================ */
.contact {
    padding: 5rem 4rem;
    position: relative;
    background: 
        linear-gradient(rgba(245, 243, 239, 0.3), rgba(245, 243, 239, 0.92)),
        url('../images/colonnes.jpg') center center / cover no-repeat fixed;
}

/* Trait doré en haut - même style que les autres sections */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--gold) 0%,
        var(--gold) 33%,
        transparent 35%,
        transparent 65%,
        var(--gold) 67%,
        var(--gold) 100%
    );
}

/* Titre Contact avec ombre blanche */
.contact .section-header {
    margin-bottom: 2.5rem;
}

.contact .section-header h2 {
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 1),
        0 0 60px rgba(255, 255, 255, 1),
        0 0 90px rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* Cadre des infos contact */
.contact-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.97);
    padding: 2.5rem 4rem;
    border: 2px solid var(--gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Petits coins décoratifs dorés */
.contact-content::before,
.contact-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold-dark);
    border-style: solid;
}

.contact-content::before {
    top: -5px;
    left: -5px;
    border-width: 2px 0 0 2px;
}

.contact-content::after {
    bottom: -5px;
    right: -5px;
    border-width: 0 2px 2px 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.contact-item label {
    font-family: 'Fjalla One', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.contact-item a,
.contact-item span {
    font-size: 1.1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
    word-break: break-word;
    font-family: 'Oswald', sans-serif;
}

.contact-item a:hover {
    color: var(--gold-dark);
}

/* Bouton CTA */
.contact-cta {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    font-family: 'Fjalla One', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
    display: inline-block;
}

.contact-cta:hover {
    background: var(--gold);
    color: var(--bg-primary);
}


/* ============================================
   9. FOOTER
   ============================================ */
footer {
    padding: 3rem 4rem;
    background: var(--bg-dark);
    text-align: center;
    position: relative;
}

/* Trait doré en haut */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--gold) 0%,
        var(--gold) 33%,
        transparent 35%,
        transparent 65%,
        var(--gold) 67%,
        var(--gold) 100%
    );
}

footer .logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Logo en blanc dans le footer (fond sombre) */
footer .logo img {
    filter: brightness(0) invert(1);
}

footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

footer .credits {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

footer .credits a {
    color: var(--gold);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

footer .credits a:hover {
    opacity: 0.8;
}


/* ============================================
   10. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Fade in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   11. RESPONSIVE - PETITS ÉCRANS (max 1024px)
   Ajustements de taille, mais garde le mode bureau
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: var(--section-padding-tablet);
    }
    
    .hero::before,
    .hero::after {
        width: 40%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .honoraires {
        padding: 5rem 2rem;
    }
    
    .contact {
        padding: 5rem 2rem;
    }
}

/* Écrans paysage jusqu'à 1025px - Texte hero 30% plus petit */
@media (max-width: 1025px) and (orientation: landscape) {
    nav {
        padding: 0.5rem 1.5rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .nav-links a {
        font-size: 0.75rem;
    }
    
    .lang-flag {
        width: 25px;
        height: 25px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }
    .scroll-indicator {
    bottom: 1rem;
    gap: 0.25rem;
}

.scroll-indicator span {
    font-size: 0.5rem;
    letter-spacing: 0.15em;
}

.scroll-indicator::after {
    height: 20px;
}
}


/* ============================================
   12. RESPONSIVE - MODE PORTRAIT (Mobile Vertical)
   Uniquement quand l'écran est en orientation portrait
   ============================================ */
@media (orientation: portrait) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    body {
        font-size: 16px;
    }
    
    /* Navigation en mode portrait */
    nav {
        padding: 1rem 1.5rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-secondary);
    }
    
    nav.scrolled {
        background: var(--bg-secondary);
    }
    
    .lang-selector {
        position: static;
        height: auto;
    }

    .lang-flag {
        width: 20px;
        height: 20px;
    }

    .logo img {
        height: 35px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform var(--transition-medium);
        z-index: 1002;
        overflow: hidden;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links a {
        font-size: 1.2rem;
        text-shadow: none;
        color: var(--navy);
    }
    
    .menu-toggle {
        display: flex;
        position: fixed;
        top: 1rem;
        right: 1.5rem;
        z-index: 1003;
        background: transparent;
    }
    
    .menu-toggle.active span {
        background: var(--navy);
    }
    
    /* ====== HERO EN MODE PORTRAIT ====== */
    .hero {
        min-height: 100vh;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        overflow: hidden;
        padding-top: 60px;
        background: 
            linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85)),
            url('../images/fonddore.jpg') center center / cover no-repeat;
    }

    /* CACHER les visages pseudo-elements desktop */
    .hero::before,
    .hero::after {
        display: none;
    }
    
    /* AFFICHER les visages mobile - EN HAUT */
    .hero-visages-mobile {
        display: none;
    }
    
    /* Zone principale avec titre centré */
    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem 1.5rem;
        max-width: 100%;
        animation: none;
        margin-top: 5vh;
    }

    .hero-content h1 {
        font-size: 2.7rem;
        letter-spacing: 0.1em;
        margin-bottom: 0.2rem;
        animation: fadeInUpMobile 1s ease-out;
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(255, 255, 255, 1),
            0 0 90px rgba(255, 255, 255, 0.9);
    }
    
    @keyframes fadeInUpMobile {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
        animation: subtitleFadeInMobile 0.8s ease forwards;
        animation-delay: 0.8s;
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 1),
            0 0 40px rgba(255, 255, 255, 1);
    }
    
    @keyframes subtitleFadeInMobile {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* ====== AUTRES SECTIONS EN MODE PORTRAIT ====== */
    
    /* About */
    .about {
        padding: 4rem 1.5rem;
        padding-bottom: 2rem;
    }
    
    .about .section-header {
        margin-bottom: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Section headers */
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Accordéon */
    .competences {
        padding: 4rem 1.5rem;
    }
    
    .accordion-header {
        padding: 1.2rem 0;
    }
    
    .accordion-header h4 {
        font-size: 1.05rem;
        line-height: 1.3;
    }
    
    .accordion-number {
        font-size: 1rem;
        margin-right: 0.8rem;
        min-width: 25px;
    }
    
    .accordion-icon {
        font-size: 1.4rem;
        margin-left: 0.5rem;
    }
    
    .accordion-content {
        padding-left: 2rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 0 1.5rem 2rem;
    }
    
    .accordion-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Honoraires */
    .honoraires {
        padding: 3rem 1.5rem;
    }
    
    .honoraires .section-header {
        margin-bottom: 2rem;
    }
    
    .honoraires-content > p {
        font-size: 1rem;
    }
    
    .honoraires-note {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .honoraires-note p {
        font-size: 0.95rem;
    }
    
    .honoraires-note p:first-child {
        font-size: 1.1rem;
    }
    
    /* Contact */
    .contact {
        padding: 3rem 1.5rem;
        background-attachment: scroll;
    }
    
    .contact .section-header {
        margin-bottom: 2rem;
    }
    
    .contact .section-header h2 {
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 50px rgba(255, 255, 255, 0.9),
            0 0 70px rgba(255, 255, 255, 0.8);
    }
    
    .contact-content {
        padding: 2rem 1.5rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .contact-content::before,
    .contact-content::after {
        width: 15px;
        height: 15px;
    }
    
    .contact-info {
        gap: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .contact-item label {
        font-size: 0.8rem;
    }
    
    .contact-item a,
    .contact-item span {
        font-size: 1rem;
    }
    
    .contact-cta {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 1.5rem;
    }
    
    footer .logo img {
        height: 40px;
    }
    
    footer p {
        font-size: 0.8rem;
    }
    
    footer .credits {
        font-size: 0.75rem;
    }
}


/* ============================================
   13. PORTRAIT - PETITS ÉCRANS (phones)
   Ajustements supplémentaires pour petits écrans en portrait
   ============================================ */
@media (orientation: portrait) and (max-width: 480px) {
    .hero-content {
        margin-top: 20vh;
    }
    .hero-content h1 {
        font-size: 3.5rem; 
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 50px rgba(255, 255, 255, 0.9),
            0 0 70px rgba(255, 255, 255, 0.8);
    }
    /* Barre dorée sous la navbar quand scrolled */
    nav::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gold);
        transition: background 0.6s ease;
    }

    nav.scrolled::after {
        background: linear-gradient(
            to right,
            var(--gold) 0%,
            var(--gold) 33%,
            transparent 35%,
            transparent 65%,
            var(--gold) 67%,
            var(--gold) 100%
        );
    }
    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        letter-spacing: 0.08em;
    }
    
    .accordion-header h4 {
        font-size: 1rem;
    }
    
    .accordion-number {
        display: none;
    }
    
    .accordion-content {
        padding-left: 0;
    }
    
    .accordion-item.active .accordion-content {
        padding-left: 0;
    }
    
    .contact-content {
        padding: 1.5rem 1rem;
    }
    
    .honoraires-note {
        padding: 1.2rem;
    }
}