/* =========================================
   VARIABLES & REINITIALISATION (RESET)
   ========================================= */
:root {
    --primary-color: #8b0032;
    --secondary-color: #1e0850;
    --accent-color: #ff4081;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
}

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

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6; 
    color: var(--text-color); 
    background-color: #fff;
}

/* =========================================
   BANNIÈRE D'ANNONCE (Option 2 : Bordeaux Chaleureux)
   ========================================= */
@keyframes pulse-btn {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

.announcement-bar {
    background: linear-gradient(90deg, #5a0022 0%, #8b0032 100%);
    color: #ffffff;
    padding: 0.7rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 2px solid #f1c40f;
    position: relative;
    z-index: 1000;
}

.announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.announcement-btn {
    background-color: #e63946 !important;
    color: #ffffff !important;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    animation: pulse-btn 2s infinite ease-in-out !important;
}

.announcement-btn:hover {
    background-color: #c12a36 !important;
}

/* =========================================
   EN-TÊTE ET NAVIGATION (HEADER)
   ========================================= */
header { 
    background-color: var(--secondary-color); 
    color: #fff; 
    padding: 1rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.nav-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 1rem; 
}

.logo a { 
    color: #fff; 
    text-decoration: none; 
    font-size: 1.5rem; 
    font-weight: bold; 
}

nav ul { 
    display: flex; 
    list-style: none; 
    gap: 1.5rem; 
}

nav a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: 500; 
    transition: color 0.3s; 
}

nav a:hover,
nav a.active { 
    color: var(--accent-color); 
    font-weight: 700;
}

/* =========================================
   SECTIONS HERO (ACCUEIL ET PAGES INTERNES)
   ========================================= */
.hero,
.hero-inner { 
    background: linear-gradient(135deg, #1e0850 0%, #5a0022 60%, #8b0032 100%); 
    color: #fff; 
    text-align: center; 
    padding: 4rem 1rem; 
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.15);
}

.hero h1,
.hero-inner h1 { 
    font-size: 2.3rem; 
    margin-bottom: 1rem; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.3); 
}

.hero p,
.hero-inner p { 
    font-size: 1.15rem; 
    max-width: 800px; 
    margin: 0 auto 2rem; 
    color: #f0f0f0; 
}

/* Boutons d'action principaux (CTA) */
.cta-btn { 
    background-color: var(--accent-color); 
    color: #fff !important; 
    padding: 0.8rem 1.8rem; 
    text-decoration: none; 
    border-radius: 30px; 
    font-weight: bold; 
    display: inline-block; 
    transition: background-color 0.3s, transform 0.2s; 
}

.cta-btn:hover { 
    background-color: #e0306c; 
    transform: translateY(-2px); 
}

/* =========================================
   DISPOSITION GÉNÉRALE & TEXTE
   ========================================= */
.container { 
    max-width: 1200px; 
    margin: 3rem auto; 
    padding: 0 1rem; 
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: #444;
}

h2 {
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
}

h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.container > p {
    margin-bottom: 1.2rem;
    color: #444;
}

/* =========================================
   GRILLES, CARTES & CATALOGUE DVD
   ========================================= */
.services-grid,
.products-grid,
.grid-3,
.grid-style { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    margin: 2rem 0; 
}

.card,
.style-card { 
    border: 1px solid var(--border-color); 
    border-radius: 10px; 
    padding: 1.8rem; 
    background: #fff; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover,
.style-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 1.5rem;
}

.product-header h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.product-badge {
    background-color: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-body p {
    margin-bottom: 1rem;
    color: #555;
}

.product-body ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-body ul li {
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.product-body ul li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.price-box {
    margin-top: auto;
    text-align: center;
    padding-top: 1rem;
}

.card h3,
.style-card h3 { 
    color: var(--primary-color); 
    margin-top: 0;
    margin-bottom: 0.8rem; 
    font-size: 1.3rem;
}

.card ul,
.style-card ul {
    list-style: none;
    margin-top: 0.8rem;
}

.card ul li,
.style-card ul li {
    padding: 0.35rem 0;
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.95rem;
    color: #444;
}

.card ul li::before,
.style-card ul li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* =========================================
   ENCADRÉS ET BANNIÈRES D'APPEL À L'ACTION
   ========================================= */
.benefit-box,
.highlight-box {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 1.8rem;
    border-radius: 0 8px 8px 0;
    margin: 3rem 0;
}

.benefit-box h3,
.highlight-box h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.cta-banner,
.contact-box {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 12px;
    margin-top: 3.5rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.cta-banner h2,
.contact-box h2 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* =========================================
   PAGE CONTACT
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.info-item {
    margin: 1.2rem 0;
    line-height: 1.6;
}

.phone-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.2rem;
}

.phone-highlight:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--light-bg);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 0, 50, 0.1);
    background-color: #fff;
}

.submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: #680026;
    transform: translateY(-2px);
}

/* =========================================
   PIED DE PAGE (FOOTER)
   ========================================= */
footer { 
    background-color: var(--secondary-color); 
    color: #fff; 
    text-align: center; 
    padding: 2rem 1rem; 
    margin-top: 4rem; 
}

footer p {
    margin: 0.3rem 0;
}

footer a { 
    color: var(--accent-color); 
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* =========================================
   RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .nav-container { 
        flex-direction: column; 
        gap: 1rem; 
    }
    nav ul { 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 1rem; 
    }
    .hero h1,
    .hero-inner h1 { 
        font-size: 1.7rem; 
    }
    .grid-3,
    .grid-style,
    .products-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   TABLEAU COMPARATIF (OPTIMISÉ & LISIBLE)
   ========================================= */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    text-align: left;
    font-size: 0.95rem;
    min-width: 650px;
}

table th {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 1.1rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary-color);
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: #333333;
    vertical-align: middle;
}

table tbody tr:nth-child(even) {
    background-color: var(--light-bg);
}

table tbody tr:hover {
    background-color: #f3e8f0;
}

table th:nth-child(1), table td:nth-child(1) { width: 22%; font-weight: 600; }
table th:nth-child(2), table td:nth-child(2) { width: 20%; }
table th:nth-child(3), table td:nth-child(3) { width: 25%; }
table th:nth-child(4), table td:nth-child(4) { width: 33%; }