:root {
    --primary: #0D2A4B;
    --primary-light: #1a3d66;
    --primary-dark: #061623;
    --accent: #4A90E2;
    --accent-warm: #E8B86D;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --border: #e0e0e0;
}

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

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

header.first-visit {
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn-primary {
    background: var(--primary) !important;
    color: white !important;
    padding: 0.7rem 2rem !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    cursor: pointer;
    font-size: 1rem;
    box-shadow: none;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
    margin-left: 1.5rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.3;
}

.btn-primary:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 42, 75, 0.4) !important;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Indicateurs du carrousel */

/* Trust Badges */

/* Section Processus d'intervention */

/* Section Commune */
section {
    padding: 6rem 3rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(13, 42, 75, 0.08);
    backdrop-filter: blur(10px);
    color: var(--primary);
    padding: 0.75rem 1.875rem;
    border-radius: 50px;
    font-size: 1.275rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(13, 42, 75, 0.15);
}

.section-header h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid */

/* Footer */

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

/* ========================================
   RESPONSIVE MOBILE (768px)
   ======================================== */
@media (max-width: 768px) {

/* ========================================
   PAGE PROFESSIONNELS - Styles spécifiques
   ======================================== */

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Métiers Grid */
.metiers-section {
    padding: 6rem 3rem;
    background: var(--bg-light);
}

.metiers-container {
    max-width: 1400px;
    margin: 0 auto;
}

.metiers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Par défaut, chaque tuile prend 2 colonnes (= 33.33% de 6) */
.metier-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* Les 2 dernières tuiles (11e et 12e positions) prennent 3 colonnes chacune (= 50% de 6) */
.metiers-grid .metier-card:nth-child(10),
.metiers-grid .metier-card:nth-child(11) {
    grid-column: span 3;
}

.metier-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.metier-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.metier-content {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 75px;
    text-align: center;
    align-items: center;
}

.metier-content h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

/* Footer */

/* Responsive */
@media (max-width: 1024px) {
    .metiers-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .metier-card {
        grid-column: span 2;
    }

    .metiers-grid .metier-card:nth-child(10),
    .metiers-grid .metier-card:nth-child(11) {
        grid-column: span 2;
    }

@media (max-width: 768px) {

/* ==========================================
   PAGE PARTICULIERS
   ======================================== */

.prestations-section {
    padding: 4rem 3rem;
    background: white;
}

.prestations-container {
    max-width: 1400px;
    margin: 0 auto;
}

.promo-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 4rem;
}

.promo-banner h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.promo-banner p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.prestations-grid {
    display: grid;
    gap: 3rem;
}

.prestation-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.prestation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.prestation-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.prestation-card:nth-child(even) .prestation-image {
    order: 2;
}

.prestation-card:nth-child(even) .prestation-details {
    order: 1;
}

.prestation-image {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.prestation-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(13, 42, 75, 0.7) 0%, transparent 60%);
    z-index: 1;
}

.prestation-details {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prestation-details h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.prestation-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.prestation-details li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.prestation-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Responsive Particuliers */
@media (max-width: 1024px) {
    .prestation-card,
    .prestation-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .prestation-card:nth-child(even) .prestation-image,
    .prestation-card:nth-child(even) .prestation-details {
        order: initial;
    }

    .prestation-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .prestations-section {
        padding: 3rem 1.5rem;
    }

    .promo-banner {
        padding: 2rem 1.5rem;
    }

    .promo-banner h2 {
        font-size: 2rem;
    }

    .prestation-details {
        padding: 2rem;
    }
}
