/* Import des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');

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

/* Corps de la page */
body {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #f5f2e8 0%, #e8dcc0 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Texture de fond avec filigrane */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 600"><g fill="none" stroke="%23d4c5a0" stroke-width="0.5" opacity="0.15"><path d="M50 50 Q100 30 150 50 T250 50 T350 50"/><path d="M50 150 Q100 130 150 150 T250 150 T350 150"/><path d="M50 250 Q100 230 150 250 T250 250 T350 250"/><path d="M50 350 Q100 330 150 350 T250 350 T350 350"/><path d="M50 450 Q100 430 150 450 T250 450 T350 450"/><path d="M50 550 Q100 530 150 550 T250 550 T350 550"/></g></svg>');
    background-size: 400px 600px;
    background-repeat: repeat;
    pointer-events: none;
    z-index: -1;
}

/* Container principal */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

/* Animation au chargement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header-top {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 20px;
}

.sofa-logo {
    width: 30%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sofa-logo img {
    max-width: 240px;
    max-height: 160px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.title-container {
    width: 70%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.main-title {
    font-size: 3.8rem;
    font-weight: 400;
    color: #425c71;
    margin: 0;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    line-height: 0.9;
    letter-spacing: -1px;
    text-align: justify;
    text-align-last: justify;
}

.subtitle {
    font-size: 1.9rem;
    color: #425c71;
    margin-bottom: 25px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.description {
    font-size: 1.4rem;
    color: #425c71;
    margin-bottom: 45px;
    line-height: 1.3;
    font-weight: 400;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Services */
.services {
    margin-bottom: 45px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    font-size: 1.25rem;
    color: #425c71;
    margin-bottom: 18px;
    text-align: center;
    line-height: 1.3;
    font-weight: 400;
    padding: 0 10px;
}

.tradition {
    font-size: 1.7rem;
    color: #425c71;
    text-align: center;
    margin-bottom: 50px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Photo de l'artisan */
.artisan-photo {
    text-align: center;
    margin: 30px 0 40px 0;
}

.artisan-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    border: 4px solid #425c71;
    box-shadow:
        0 8px 25px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.artisan-image:hover {
    transform: scale(1.05);
    box-shadow:
        0 12px 35px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
    filter: grayscale(0%);
}

/* Section contact */
.contact {
    background: rgba(66, 92, 113, 0.08);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow:
        0 8px 25px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.3);
    border: 1px solid rgba(66, 92, 113, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 35px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Téléphones */
.phones {
    margin-bottom: 25px;
}

.phone-section {
    margin-bottom: 20px;
}

.phone-section:last-child {
    margin-bottom: 0;
}

.phone-label {
    font-size: 1.1rem;
    color: #425c71;
    margin-bottom: 5px;
    font-style: italic;
    opacity: 0.9;
    font-weight: 400;
}

.phone-number {
    font-size: 1.7rem;
    color: #425c71;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 8px;
}

.phone-link {
    color: #425c71;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
}

.phone-link:hover {
    color: #2d3e4f;
    background: rgba(66, 92, 113, 0.1);
    transform: translateY(-2px);
}

.phone-link:active {
    transform: translateY(0);
}

/* Horaires */
.opening-hours {
    font-size: 1rem;
    color: #425c71;
    font-style: italic;
    opacity: 0.8;
    font-weight: 400;
}

/* Email */
.email {
    font-size: 1.4rem;
    color: #425c71;
    margin-bottom: 20px;
    font-style: italic;
    letter-spacing: 0.5px;
}

.email-label {
    font-size: 1.1rem;
    color: #425c71;
    margin-bottom: 5px;
    font-style: italic;
    opacity: 0.9;
    font-weight: 400;
}

.email-link {
    color: #425c71;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
}

.email-link:hover {
    color: #2d3e4f;
    background: rgba(66, 92, 113, 0.1);
    transform: translateY(-2px);
}

.email-link:active {
    transform: translateY(0);
}

/* Adresse */
.address {
    font-size: 1.35rem;
    color: #425c71;
    font-weight: 400;
    line-height: 1.3;
}

.address-label {
    font-size: 1.1rem;
    color: #425c71;
    margin-bottom: 5px;
    font-style: italic;
    opacity: 0.9;
    font-weight: 400;
}

.address-link {
    color: #425c71;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
}

.address-link:hover {
    color: #2d3e4f;
    background: rgba(66, 92, 113, 0.1);
    transform: translateY(-2px);
}

.address-link:active {
    transform: translateY(0);
}

/* Indicateurs visuels pour les liens */
.phone-link::after,
.email-link::after,
.address-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #425c71, #2d3e4f);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.phone-link:hover::after,
.email-link:hover::after,
.address-link:hover::after {
    width: 80%;
}

/* Séparateur décoratif entre les sections */
.contact-separator {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(66, 92, 113, 0.4), transparent);
    margin: 25px auto;
    position: relative;
}

.contact-separator::before,
.contact-separator::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(66, 92, 113, 0.6);
    border-radius: 50%;
    top: -1.5px;
}

.contact-separator::before {
    left: -10px;
}

.contact-separator::after {
    right: -10px;
}

/* Contact inversé (thème sombre) */
.contact.inverse {
    background: linear-gradient(135deg, #425c71 0%, #354a5c 100%) !important;
    box-shadow:
        0 8px 25px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(245, 242, 232, 0.2) !important;
    border: 1px solid rgba(245, 242, 232, 0.3) !important;
}

.contact.inverse:hover {
    box-shadow:
        0 12px 35px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(245, 242, 232, 0.3) !important;
}

.contact.inverse .phone-label {
    color: #f5f2e8 !important;
}

.contact.inverse .phone-number {
    color: #f5f2e8 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

.contact.inverse .phone-link {
    color: #f5f2e8 !important;
}

.contact.inverse .phone-link:hover {
    color: #ffffff !important;
    background: rgba(245, 242, 232, 0.15) !important;
}

.contact.inverse .opening-hours {
    color: #f5f2e8 !important;
    opacity: 0.85 !important;
}

.contact.inverse .email {
    color: #f5f2e8 !important;
}

.contact.inverse .email-label {
    color: #f5f2e8 !important;
}

.contact.inverse .email-link {
    color: #f5f2e8 !important;
}

.contact.inverse .email-link:hover {
    color: #ffffff !important;
    background: rgba(245, 242, 232, 0.15) !important;
}

.contact.inverse .address {
    color: #f5f2e8 !important;
}

.contact.inverse .address-label {
    color: #f5f2e8 !important;
}

.contact.inverse .address-link {
    color: #f5f2e8 !important;
}

.contact.inverse .address-link:hover {
    color: #ffffff !important;
    background: rgba(245, 242, 232, 0.15) !important;
}

.contact.inverse .phone-link::after,
.contact.inverse .email-link::after,
.contact.inverse .address-link::after {
    background: linear-gradient(90deg, #f5f2e8, #ffffff) !important;
}

.contact.inverse .contact-separator {
    background: linear-gradient(90deg, transparent, rgba(245, 242, 232, 0.4), transparent) !important;
}

.contact.inverse .contact-separator::before,
.contact.inverse .contact-separator::after {
    background: rgba(245, 242, 232, 0.6) !important;
}

/* Éléments décoratifs */
.decorative-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #425c71, transparent);
    margin: 25px auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #425c71, #354a5c);
    border-radius: 50%;
    top: -4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.decorative-line::before {
    left: -20px;
}

.decorative-line::after {
    right: -20px;
}

/* Footer */
.footer {
    margin-top: 20px;
    text-align: center;
    padding: 30px 0 20px 0;
}

.partners {
    color: #425c71;
    opacity: 0.8;
}

.partners-label {
    font-size: 1.7rem;
    color: #425c71;
    text-align: center;
    margin-bottom: 50px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 1px;
}

.partners-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
    margin-top: 15px;
}

.partner {
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 3px;
}

.partner:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.separator {
    opacity: 0.5;
    margin: 0 2px;
}

/* Styles spécifiques pour chaque marque */
.partner.cuir-center {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

.partner.roche-bobois {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.roche-bobois .roche {
    font-weight: 700;
    margin-right: 2px;
}

.roche-bobois .bobois {
    font-weight: 400;
}

.partner.xxl {
    font-family: 'Anton', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.partner.monsieur-meuble {
    font-family: 'Lora', serif;
    font-style: italic;
}

.partner.home-salon {
    font-family: 'Work Sans', sans-serif;
}

.partner.mobilier-fr {
    font-family: 'Playfair Display', serif;
}

.partner.story {
    font-family: 'Quicksand', sans-serif;
}

.partner.chateau-ax {
    font-family: 'Merriweather', serif;
    font-style: italic;
}

.partner.bayle {
    font-family: 'Open Sans', sans-serif;
}

.partner.murmurs {
    font-family: 'Josefin Sans', sans-serif;
}

.partner.fabrique {
    font-family: 'Barlow Condensed', sans-serif;
}

.partner.poltrone {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.partner.ducote {
    font-family: 'Raleway', sans-serif;
}

.partner.hh {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
}

.partner.but {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

.partner.stressless {
    font-family: 'Nunito', sans-serif;
}

.partner.king {
    font-family: 'Cormorant', serif;
}

.partner.kare {
    font-family: 'Oswald', sans-serif;
}

.partner.master-meubles {
    font-family: 'Lora', serif;
}

.partner.art-canape {
    font-family: 'EB Garamond', serif;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }

    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        align-items: center;
    }

    .sofa-logo, .title-container {
        width: 100%;
    }

    .sofa-logo {
        order: 1;
        height: 100px;
    }

    .title-container {
        order: 2;
        text-align: center;
        justify-content: center;
    }

    .main-title {
        font-size: 2.8rem;
        text-align: center;
        text-align-last: center;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1.2rem;
    }

    .service-item {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .tradition {
        font-size: 1.4rem;
    }

    .phone-number {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }

    .email, .address {
        font-size: 1.2rem;
    }

    .contact {
        padding: 25px 20px;
    }

    .footer {
        margin-top: 40px;
        padding: 25px 0 15px 0;
    }

    .partners-label {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .partners-list {
        font-size: 0.8rem;
        gap: 6px;
    }

    .separator {
        display: none;
    }

    .partners-list {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .header-top {
        gap: 15px;
    }

    .sofa-logo {
        height: 80px;
    }

    .main-title {
        font-size: 2.3rem;
    }

    .phone-number {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .partners-label {
        font-size: 0.85rem;
    }

    .partners-list {
        font-size: 0.75rem;
    }
}