/* Import de la font WilliamsCaslonText */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600&display=swap');

/* Variables CSS pour les couleurs Harry Winston */
:root {
    --hw-dark-blue: #070322;
    --hw-cream: #F6F2E5;
    --hw-white: #ffffff;
    --hw-black: #000000;
    --hw-gold: #D4AF37;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Crimson Text', serif; /* Fallback similaire à WilliamsCaslonText */
    font-weight: 400;
    background-color: var(--hw-cream);
    color: var(--hw-black);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--hw-dark-blue);
    color: var(--hw-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(7, 3, 34, 0.3);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

nav a {
    color: var(--hw-white);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--hw-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--hw-cream) 0%, #f0ead6 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 3px solid var(--hw-dark-blue);
}

.hero h2 {
    font-size: 3rem;
    color: var(--hw-dark-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--hw-black);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons a {
    background-color: var(--hw-dark-blue);
    color: var(--hw-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(7, 3, 34, 0.3);
}

.cta-buttons a:hover {
    background-color: #0a0436;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(7, 3, 34, 0.4);
}

/* Sections */
section {
    padding: 3rem 0;
}

section h2 {
    font-size: 2.5rem;
    color: var(--hw-dark-blue);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

section h3 {
    font-size: 1.8rem;
    color: var(--hw-dark-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Services Grid */
.services {
    background-color: var(--hw-white);
    border-top: 3px solid var(--hw-dark-blue);
    border-bottom: 3px solid var(--hw-dark-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--hw-cream);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(7, 3, 34, 0.2);
    border-color: var(--hw-dark-blue);
}

.service-card h3 a {
    color: var(--hw-dark-blue);
    text-decoration: none;
}

.service-card h3 a:hover {
    color: #0a0436;
}

/* About Company */
.about-company {
    background-color: var(--hw-cream);
}

.about-company p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.advantages {
    background-color: var(--hw-white);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantages h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.advantages ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.advantages li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
}

.advantages li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--hw-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.advantages li:last-child {
    border-bottom: none;
}

/* Harry Winston Intro */
.harry-winston-intro {
    background: linear-gradient(135deg, var(--hw-white) 0%, var(--hw-cream) 100%);
    border-top: 3px solid var(--hw-dark-blue);
}

.harry-winston-intro p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

/* Footer */
footer {
    background-color: var(--hw-dark-blue);
    color: var(--hw-white);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-info h3,
.footer-links h4 {
    color: var(--hw-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-info a,
.footer-links a {
    color: var(--hw-white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover,
.footer-links a:hover {
    color: var(--hw-gold);
}

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

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

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

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Links généraux */
a {
    color: var(--hw-dark-blue);
    transition: var(--transition);
}

a:hover {
    color: #0a0436;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Animation pour un effet premium */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.advantages,
.hero {
    animation: fadeInUp 0.8s ease-out;
}

/* Amélioration de l'accessibilité */
:focus {
    outline: 2px solid var(--hw-gold);
    outline-offset: 2px;
}

/* Styles pour les formulaires de contact */
.contact-form-section {
    background: linear-gradient(135deg, var(--hw-white) 0%, var(--hw-cream) 100%);
    padding: 4rem 0;
    border-top: 3px solid var(--hw-dark-blue);
    border-bottom: 3px solid var(--hw-dark-blue);
}

.contact-form-section h2 {
    text-align: center;
    color: var(--hw-dark-blue);
    margin-bottom: 1rem;
}

.contact-form-section p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--hw-black);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--hw-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(7, 3, 34, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--hw-dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--hw-cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--hw-dark-blue);
    background: var(--hw-white);
    box-shadow: 0 0 0 3px rgba(7, 3, 34, 0.1);
}

.form-group input:required:invalid {
    border-color: #dc3545;
}

.form-group input:required:valid {
    border-color: #28a745;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    line-height: 1.4;
    font-size: 0.9rem;
}

.submit-btn {
    background: var(--hw-dark-blue);
    color: var(--hw-white);
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: #0a0436;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(7, 3, 34, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive pour formulaires */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 3rem 0;
    }
    
    .form-container {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .checkbox-group {
        flex-direction: column !important;
        gap: 0.5rem;
    }
    
    .checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Styles pour FAQ et contenu enrichi */
.detailed-grid, .equipment-grid, .trends-grid, .payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-card, .equipment-item, .trend-item, .payment-option {
    background: var(--hw-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--hw-gold);
    transition: var(--transition);
}

.detail-card:hover, .equipment-item:hover, .trend-item:hover, .payment-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(7, 3, 34, 0.15);
}

.collections-details, .examples-grid, .seasons-timeline, .compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.collection-expertise, .example-card, .season-period, .compliance-item {
    background: var(--hw-cream);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--hw-dark-blue);
}

.example-card {
    background: var(--hw-white);
    border-top: 4px solid var(--hw-gold);
}

.disclaimer {
    font-style: italic;
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Styles FAQ */
.faq-section, .faq-expertise, .faq-estimation, .faq-rachat {
    background: var(--hw-white);
    border-top: 3px solid var(--hw-dark-blue);
    border-bottom: 3px solid var(--hw-dark-blue);
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: var(--hw-cream);
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(7, 3, 34, 0.15);
}

.faq-item h3 {
    background: var(--hw-dark-blue);
    color: var(--hw-white);
    padding: 1.5rem;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 3px solid var(--hw-gold);
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

/* Styles spécifiques pour les nouvelles sections */
.detailed-services {
    background: linear-gradient(135deg, var(--hw-white) 0%, var(--hw-cream) 100%);
    border-top: 3px solid var(--hw-gold);
}

.expertise-details, .market-trends, .payment-methods, .selling-seasons, .legal-compliance {
    padding: 4rem 0;
}

.expertise-details {
    background: var(--hw-cream);
}

.market-trends {
    background: linear-gradient(135deg, var(--hw-white) 0%, #f0ead6 100%);
}

.estimation-examples {
    background: var(--hw-cream);
    padding: 4rem 0;
}

.payment-methods {
    background: var(--hw-white);
}

.selling-seasons {
    background: linear-gradient(135deg, var(--hw-cream) 0%, var(--hw-white) 100%);
}

.legal-compliance {
    background: var(--hw-white);
    border-top: 3px solid var(--hw-dark-blue);
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
    .detailed-grid, .equipment-grid, .trends-grid, .payment-grid,
    .collections-details, .examples-grid, .seasons-timeline, .compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    
    .faq-item p {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
}

/* Styles essentiels pour les nouvelles pages */
.process-grid, .jewelry-types, .advantages-grid, .estimation-reasons, .factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step, .jewelry-card, .advantage-item, .reason-card, .factor-item {
    background: var(--hw-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.process-step {
    border-left: 4px solid var(--hw-dark-blue);
}

.reason-card {
    border-top: 4px solid var(--hw-gold);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--hw-white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.step-number {
    background: var(--hw-dark-blue);
    color: var(--hw-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.timeline-event {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.year {
    background: var(--hw-dark-blue);
    color: var(--hw-white);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    min-width: 100px;
    text-align: center;
}

.event-content {
    background: var(--hw-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.contact-grid, .contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.hours-table .day-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(7, 3, 34, 0.1);
}

.day {
    font-weight: 600;
    color: var(--hw-dark-blue);
}

nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

@media (max-width: 768px) {
    .process-grid, .jewelry-types, .advantages-grid, .estimation-reasons,
    .factors-grid, .contact-grid, .contact-details {
        grid-template-columns: 1fr;
    }
    
    .timeline-event, .step {
        flex-direction: column;
        text-align: center;
    }
}

/* Print styles */
@media print {
    header, footer, nav {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}