/* ROSEBUD - Animations Raffinées */
@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;500;600&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
    --navy: #1a2e5a;
    --navy-dark: #0f1f3d;
    --navy-light: #2a4270;
    --gold: #d4af37;
    --gold-light: #e6c757;
    --cream: #faf8f3;
    --gray: #8a8a8a;
    --white: #ffffff;
}

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

body {
    font-family: "Inter", sans-serif;
    color: var(--navy);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography avec Crimson Pro */
h1, h2, h3 {
    font-family: "Crimson Pro", serif;
    font-weight: 400;
    line-height: 1.2;
}

/* Navigation avec logo XXL */
.elegant-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 30px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 3rem; /* Padding réduit pour équilibrer */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo beaucoup plus grand */
.logo-nav {
    height: 150px; /* Logo XXXL */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Transition plus fluide */
}

.elegant-nav.scrolled .logo-nav {
    height: 100px; /* Reste grand même au scroll */
}

.elegant-nav.scrolled .nav-inner {
    padding: 1rem 3rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 30px;
}

.nav-cta {
    background: var(--navy);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 46, 90, 0.2);
}

/* Hero ajusté pour le grand logo */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    margin-top: 180px; /* Beaucoup plus d'espace pour le logo XXL */
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: var(--white);
}

.hero-visual {
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(26, 46, 90, 0.3), transparent);
}

.hero-badge {
    display: inline-block;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

/* Animation d'entrée hero */
.hero-animate .hero-badge {
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.hero-animate .hero-title {
    animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.hero-animate .hero-subtitle {
    animation: slideInUp 0.8s ease-out 0.6s forwards;
}

.hero-animate .hero-cta-group {
    animation: slideInUp 0.8s ease-out 0.8s forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary {
    background: var(--gold);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border: 2px solid var(--navy);
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

/* Stats avec animation compteur */
.stats-elegant {
    background: var(--navy);
    padding: 5rem 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item {
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
}

.stat-number {
    font-family: "Crimson Pro", serif;
    font-size: 4rem;
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: inline-block;
    min-height: 5rem;
}

.stat-label {
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Animation des stats */
.stat-item.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation compteur */
.counting {
    display: inline-block;
}

/* Services avec animation au scroll */
.services-elegant {
    padding: 8rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    opacity: 0;
    transform: translateY(30px);
}

.section-header.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-badge {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--gray);
    font-size: 1.1rem;
}

.services-showcase {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-bottom: 6rem;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
}

.service-row.visible {
    animation: fadeInUp 1s ease-out forwards;
}

.service-row:nth-child(even) {
    direction: rtl;
}

.service-row:nth-child(even) > * {
    direction: ltr;
}

.service-visual {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-visual:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-number {
    font-family: "Crimson Pro", serif;
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
    display: inline-block;
    transform: translateY(30px);
    opacity: 0;
}

.service-number.visible {
    animation: slideInNumber 0.8s ease-out forwards;
}

@keyframes slideInNumber {
    to {
        opacity: 0.3;
        transform: translateY(0);
    }
}

.service-title {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.service-text {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--navy);
    opacity: 0;
    transform: translateX(-20px);
}

.service-features.visible li {
    animation: slideInLeft 0.5s ease-out forwards;
}

.service-features li:nth-child(1) { animation-delay: 0.1s; }
.service-features li:nth-child(2) { animation-delay: 0.2s; }
.service-features li:nth-child(3) { animation-delay: 0.3s; }
.service-features li:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Team avec animation élégante */
.team-elegant {
    padding: 8rem 0;
    background: var(--cream);
}

.team-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.team-member {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.team-member.visible {
    animation: teamReveal 0.8s ease-out forwards;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }

@keyframes teamReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.member-photo {
    height: 400px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    transition: all 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 2.5rem;
    text-align: center;
}

.member-name {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Articles avec animation stagger */
.articles-elegant {
    padding: 8rem 0;
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.article-card {
    border: 1px solid rgba(26, 46, 90, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.article-card.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }

.article-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.article-image {
    height: 250px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 2rem;
}

.article-date {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 400;
}

.article-excerpt {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-link {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.article-link:hover {
    gap: 1rem;
}

/* Contact avec animation de texte */
.contact-elegant {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    text-align: center;
}

.contact-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.contact-subtitle {
    font-size: 1.3rem;
    opacity: 0;
    margin-bottom: 3rem;
    transform: translateY(30px);
}

.contact-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.contact-elegant.visible .contact-title {
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.contact-elegant.visible .contact-subtitle {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.contact-elegant.visible .contact-cta {
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.contact-cta:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

/* Footer avec logo XXL */
.footer-elegant {
    background: var(--navy-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    height: 120px; /* Logo XXL dans le footer */
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

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

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-row {
        grid-template-columns: 1fr;
    }
    
    .team-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .logo-nav {
        height: 100px; /* Reste grand sur mobile */
    
    .hero-content {
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}