/* ===============================================
   Cabinet Vétérinaire Mahieu-Brabant - Styles
   =============================================== */

/* --- Variables CSS --- */
:root {
    /* Bleus - du plus foncé au plus clair */
    --blue-dark: #2D77A6;
    --blue-medium: #3999BF;
    --blue-light: #73CFD9;
    
    /* Verts - couleur d'accentuation */
    --green-dark: #8BA629;
    --green-light: #ADBF69;
    
    /* Couleurs principales */
    --primary-color: #2D77A6;        /* Bleu foncé */
    --secondary-color: #8BA629;      /* Vert foncé */
    --accent-color: #E6F5F8;         /* Bleu très clair (fond) - basé sur #73CFD9 */
    
    /* Couleurs d'urgence (rouge/orange) */
    --urgence-color: #F03826;
    --urgence-bg: #FFF5F4;           /* Fond très clair pour contraste */
    --urgence-border: #F03826;
    
    /* Couleurs de texte */
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    
    /* Couleurs de fond */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    --border-color: #dee2e6;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Typographie */
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-radius: 50px;
    padding: 20px;
    max-width: calc(100% - 40px);
    width: 100%;
}

.main-header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.logo svg {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.logo-text span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-gray);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.btn-call {
    background: var(--green-dark);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-call svg {
    color: var(--bg-white);
    flex-shrink: 0;
}

.btn-call:hover {
    background: #6F8A1E; /* Version plus foncée de --green-dark */
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: #1F5A7A; /* Version plus foncée de --blue-dark */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* --- Section Headers --- */
.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.section-tag.urgence {
    background: var(--urgence-bg);
    color: var(--urgence-color);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Hero Section (avec grid - pour index.php) --- */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #FAFAF9; /* Blanc cassé très léger */
    padding: 180px 20px 80px;
}

/* Hero section avec overlay - styles spécifiques pour index-bis.php */
/* Utilise un sélecteur descendant pour cibler spécifiquement cette structure */
.hero-section .hero-overlay ~ .container .hero-content {
    min-height: 100vh;
}

/* Surcharge les styles de .hero-section quand .hero-overlay est présent */
/* Utilise un sélecteur plus spécifique basé sur la structure */
.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* Style de base pour hero section avec overlay - appliqué via JavaScript ou classe spécifique */
.hero-section.hero-with-overlay {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-medium) 50%, var(--green-dark) 100%);
    background-image: 
        linear-gradient(135deg, rgba(45, 119, 166, 0.92) 0%, rgba(57, 153, 191, 0.85) 50%, rgba(139, 166, 41, 0.92) 100%),
        url('https://images.unsplash.com/photo-1576201836106-db1758fd1c97?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0;
}

/* Container dans hero section avec overlay - centré verticalement */
.hero-section.hero-with-overlay > .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    height: auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-section .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Colonne gauche */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.hero-address svg {
    color: var(--blue-medium);
    flex-shrink: 0;
}

/* Styles pour hero section avec grid */
.hero-section .hero-left .hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--blue-dark);
    margin: 0;
}

.hero-section .hero-left .hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-section .hero-left .hero-status {
    margin-top: 10px;
    margin-bottom: 10px;
}

.status-indicator {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-white);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.status-indicator.open {
    background: #E8F5E9;
    border-color: var(--green-dark);
    color: #2E7D32;
}

.status-indicator.pause {
    background: #FFF3E0;
    border-color: #FF9800;
    color: #E65100;
}

.status-indicator.closed {
    background: #FFEBEE;
    border-color: #F44336;
    color: #C62828;
}

/* Colonne droite */
.hero-right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mosaïque de photos secondaires */
.hero-mosaic {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    z-index: 1;
}

.hero-mosaic-top {
    margin-bottom: -30px;
    padding-bottom: 30px;
}

.hero-mosaic-bottom {
    margin-top: -30px;
    padding-top: 30px;
}

.hero-image-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
    padding: 10px;
    z-index: 2;
    transition: var(--transition);
}

.hero-image-main:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.hero-image-main img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.hero-image-main:hover img {
    transform: scale(1.01);
}

.mosaic-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
    padding: 5px;
    transition: var(--transition);
    aspect-ratio: 1;
}

.mosaic-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Positionnement spécifique pour créer l'effet de superposition */
.hero-mosaic-top .mosaic-item-1 {
    grid-column: 1;
    grid-row: 1;
    transform: translateY(15px) rotate(-2deg);
}

.hero-mosaic-top .mosaic-item-2 {
    grid-column: 2;
    grid-row: 1;
    transform: translateY(5px) rotate(1deg);
}

.hero-mosaic-top .mosaic-item-3 {
    grid-column: 3;
    grid-row: 1;
    transform: translateY(20px) rotate(-1deg);
}

.hero-mosaic-bottom .mosaic-item-4 {
    grid-column: 1;
    grid-row: 1;
    transform: translateY(-15px) rotate(2deg);
}

.hero-mosaic-bottom .mosaic-item-5 {
    grid-column: 2;
    grid-row: 1;
    transform: translateY(-5px) rotate(-1.5deg);
}

.hero-mosaic-bottom .mosaic-item-6 {
    grid-column: 3;
    grid-row: 1;
    transform: translateY(-20px) rotate(1.5deg);
}

.mosaic-item:hover {
    transform: translateY(-5px) scale(1.05) rotate(0deg) !important;
}

/* --- Hero Section (avec overlay - pour index-bis.php) --- */
/* Surcharge les styles de base quand hero-overlay est présent */
.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-section .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--bg-white);
    max-width: 900px;
    width: 100%;
    margin: 0;
    padding-top: 40vh;
}

/* Adresse dans hero section avec overlay - centrée et blanche */
.hero-section.hero-with-overlay .hero-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--bg-white);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-section.hero-with-overlay .hero-address svg {
    color: var(--bg-white);
    flex-shrink: 0;
}

.hero-section .hero-content .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--bg-white);
}

.hero-section .hero-content .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    color: var(--bg-white);
}

.hero-section .hero-content .hero-status {
    margin-bottom: 35px;
}

.hero-section .hero-content .status-indicator {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--bg-white);
    box-shadow: none;
    border: none;
}

.hero-section .hero-content .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
}


/* --- Section Réassurance --- */
.reassurance-section {
    padding: 50px 20px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.reassurance-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.reassurance-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: var(--bg-white);
    border: 2px solid var(--blue-light);
    border-radius: 16px;
    color: var(--blue-dark);
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-width: 200px;
    justify-content: center;
}

.reassurance-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-medium);
    background: var(--accent-color);
}

.reassurance-badge svg {
    color: var(--green-dark);
    flex-shrink: 0;
    transition: var(--transition);
}

.reassurance-badge:hover svg {
    color: var(--green-dark);
    transform: scale(1.1);
}

/* --- Urgences Section --- */
.urgences-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.urgences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.urgence-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.urgence-card.primary {
    border: 3px solid var(--primary-color);
}

.urgence-card.secondary {
    border: 3px solid var(--urgence-border);
    background: var(--urgence-bg);
}

.urgence-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.urgence-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 25px auto;
    color: var(--primary-color);
}

.urgence-card.secondary .urgence-icon {
    background: #fff;
    color: var(--urgence-color);
}

.urgence-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.urgence-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.urgence-phone {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 25px 0;
    padding: 15px;
    background: var(--accent-color);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.urgence-phone:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.02);
}

.horaires-recap {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: left;
}

.horaires-recap .horaire-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 15px;
}

.horaires-recap .horaire-item:last-of-type {
    border-bottom: none;
}

.horaires-recap .horaire-item .day {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 100px;
    flex-shrink: 0;
}

.horaires-recap .hours-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: 1;
}

.horaires-recap .horaire-item .hours {
    color: var(--secondary-color);
    font-weight: 500;
    white-space: nowrap;
}

.horaires-recap .horaire-item.closed .hours {
    color: var(--text-light);
}

.horaires-separator {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 15px 0;
    opacity: 0.5;
}

.horaires-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 10px;
}

.partner-info {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.partner-info h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.link-external {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: var(--transition);
}

.link-external:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* --- Cabinet Section --- */
.cabinet-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.cabinet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.cabinet-text .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.cabinet-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--accent-color);
    border-radius: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.feature-item svg {
    flex-shrink: 0;
}

.cabinet-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--bg-white);
    font-weight: 500;
}

/* --- Équipe Section --- */
.equipe-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.team-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.team-column-left,
.team-column-right {
    display: flex;
    flex-direction: column;
}

.team-column-right {
    position: relative;
    padding-left: 40px;
}

.team-column-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-color);
}

.team-category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.team-grid .team-card {
    max-width: 300px;
    margin: 0 auto;
}

.team-grid.assistants {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 100%;
}

.team-grid.assistants .team-card {
    max-width: 300px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: visible;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.team-info {
    padding: 15px 0 0 0;
    text-align: center;
    width: 100%;
}

.team-info h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-quote {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.6;
    padding-left: 15px;
    border-left: 3px solid var(--secondary-color);
}

/* --- Services Section --- */
.services-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

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

.service-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 16px;
    margin: 0 auto 25px auto;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

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

.service-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-color);
}

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

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

.services-note {
    margin-top: 50px;
    padding: 25px;
    background: var(--accent-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    text-align: center;
}

.services-note p {
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* --- Infos Section --- */
.infos-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

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

.info-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 25px auto;
    color: var(--primary-color);
}

.info-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.info-card p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.info-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.info-important {
    margin-top: 20px;
    padding: 15px;
    background: var(--urgence-bg);
    border-radius: 8px;
    text-align: center;
}

.horaires-detail {
    margin: 20px 0;
}

.horaire-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 15px;
}

.horaire-item:last-child {
    border-bottom: none;
}

.horaire-item .day {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 100px;
    flex-shrink: 0;
}

.hours-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: 1;
}

.horaire-item .hours {
    color: var(--secondary-color);
    font-weight: 500;
    white-space: nowrap;
}

.horaire-item.closed .hours {
    color: var(--text-light);
}

.phone-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.contact-buttons {
    margin-top: 25px;
}

.map-container {
    margin-top: 60px;
}

.map-container h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* --- Footer --- */
.main-footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 40px 20px 30px;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-section .horaires-detail {
    margin: 20px 0;
}

.footer-section .horaire-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    gap: 15px;
}

.footer-section .horaire-item:last-child {
    border-bottom: none;
}

.footer-section .horaire-item .day {
    font-weight: 600;
    color: var(--bg-white);
    min-width: 120px;
    flex-shrink: 0;
    opacity: 1;
}

.footer-section .hours-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: 1;
}

.footer-section .horaire-item .hours {
    color: var(--bg-white);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.9;
}

.footer-section .horaire-item.closed .hours {
    opacity: 0.7;
}

.footer-section a {
    color: var(--bg-white);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.urgence-footer {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-links a {
    display: inline-block;
    padding: 5px 0;
}

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

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.95rem;
}

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

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .main-header {
        top: 10px;
        padding: 25px 30px;
        border-radius: 40px;
    }

    .nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        width: calc(100% - 40px);
        max-width: 500px;
        height: auto;
        background: var(--bg-white);
        border-radius: 20px;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        gap: 20px;
        transition: left 0.4s ease;
        box-shadow: var(--shadow-lg);
        margin: 0 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .cabinet-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-section {
        padding: 170px 15px 70px;
    }

    .hero-section .container {
        padding: 0 15px;
    }

    .hero-section .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reassurance-badges {
        gap: 30px;
    }

    .reassurance-badge {
        min-width: auto;
        padding: 18px 25px;
    }

    /* Les éléments visuels apparaissent naturellement après le texte en mobile */

    .hero-right {
        max-width: 300px;
        margin: 0 auto;
        position: relative;
        padding: 25px 0;
    }

    .hero-image-main {
        max-width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    .hero-mosaic {
        position: absolute;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        width: 100%;
        z-index: 3;
    }

    .hero-mosaic-top {
        top: -20px;
        left: 0;
        right: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .hero-mosaic-bottom {
        bottom: -20px;
        left: 0;
        right: 0;
        margin-top: 0;
        padding-top: 0;
    }

    .mosaic-item {
        width: 100%;
        max-width: 66px;
        margin: 0 auto;
    }

    .hero-mosaic-top .mosaic-item-1,
    .hero-mosaic-top .mosaic-item-2,
    .hero-mosaic-top .mosaic-item-3,
    .hero-mosaic-bottom .mosaic-item-4,
    .hero-mosaic-bottom .mosaic-item-5,
    .hero-mosaic-bottom .mosaic-item-6 {
        grid-row: 1;
    }

    .hero-mosaic-top .mosaic-item-1 {
        grid-column: 1;
        transform: translate(-3px, -2px) rotate(-5deg);
    }

    .hero-mosaic-top .mosaic-item-2 {
        grid-column: 2;
        transform: translate(2px, -4px) rotate(3deg);
    }

    .hero-mosaic-top .mosaic-item-3 {
        grid-column: 3;
        transform: translate(-2px, -1px) rotate(-3deg);
    }

    .hero-mosaic-bottom .mosaic-item-4 {
        grid-column: 1;
        transform: translate(3px, 2px) rotate(4deg);
    }

    .hero-mosaic-bottom .mosaic-item-5 {
        grid-column: 2;
        transform: translate(-2px, 3px) rotate(-4deg);
    }

    .hero-mosaic-bottom .mosaic-item-6 {
        grid-column: 3;
        transform: translate(1px, 2px) rotate(5deg);
    }

    .hero-section .hero-left .hero-status {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-section .hero-left .hero-title {
        font-size: 2.2rem;
    }

    .hero-section.hero-with-overlay .hero-content .hero-title {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 160px 15px 60px;
    }

    .hero-section .container {
        padding: 0 15px;
    }

    .hero-section .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-header {
        top: 10px;
        padding: 20px 25px;
        border-radius: 35px;
    }

    .hero-section .hero-left .hero-status {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-section .hero-left .hero-title {
        font-size: 1.75rem;
    }

    .hero-section.hero-with-overlay .hero-content .hero-title {
        font-size: 2rem;
    }

    .hero-section.hero-with-overlay .hero-content .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-section.hero-with-overlay .hero-content .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-right {
        max-width: 280px;
        margin: 0 auto;
        position: relative;
        padding: 20px 0;
    }

    .hero-image-main {
        max-width: 100%;
        position: relative;
        z-index: 2;
    }

    .hero-mosaic {
        position: absolute;
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
        width: 100%;
        z-index: 3;
    }

    .hero-mosaic-top {
        top: -15px;
        left: 0;
        right: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .hero-mosaic-bottom {
        bottom: -15px;
        left: 0;
        right: 0;
        margin-top: 0;
        padding-top: 0;
    }

    .mosaic-item {
        width: 100%;
        max-width: 55px;
        margin: 0 auto;
        padding: 2px;
    }

    .hero-mosaic-top .mosaic-item-1,
    .hero-mosaic-top .mosaic-item-2,
    .hero-mosaic-top .mosaic-item-3,
    .hero-mosaic-bottom .mosaic-item-4,
    .hero-mosaic-bottom .mosaic-item-5,
    .hero-mosaic-bottom .mosaic-item-6 {
        grid-row: 1;
    }

    .hero-mosaic-top .mosaic-item-1 {
        grid-column: 1;
        transform: translate(-2px, -1px) rotate(-4deg);
    }

    .hero-mosaic-top .mosaic-item-2 {
        grid-column: 2;
        transform: translate(1px, -3px) rotate(2deg);
    }

    .hero-mosaic-top .mosaic-item-3 {
        grid-column: 3;
        transform: translate(-1px, -2px) rotate(-2deg);
    }

    .hero-mosaic-bottom .mosaic-item-4 {
        grid-column: 1;
        transform: translate(2px, 1px) rotate(3deg);
    }

    .hero-mosaic-bottom .mosaic-item-5 {
        grid-column: 2;
        transform: translate(-1px, 2px) rotate(-3deg);
    }

    .hero-mosaic-bottom .mosaic-item-6 {
        grid-column: 3;
        transform: translate(1px, 1px) rotate(4deg);
    }

    .reassurance-badges {
        gap: 30px;
    }

    .reassurance-badge {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .urgences-section {
        padding: 60px 15px;
    }

    .urgences-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .urgence-card {
        padding: 25px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .urgence-card h3 {
        font-size: 1.4rem;
    }

    .urgence-phone {
        font-size: 1.3rem;
        padding: 12px;
        word-break: break-all;
    }

    .horaires-recap {
        padding: 15px;
        margin-top: 15px;
    }

    .horaires-recap .horaire-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .horaires-recap .horaire-item .day {
        min-width: auto;
        width: 100%;
    }

    .horaires-recap .hours-group {
        width: 100%;
        align-items: flex-start;
    }

    .partner-info {
        padding: 15px;
    }

    .partner-info h4 {
        font-size: 1.1rem;
    }

    .services-section {
        padding: 60px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .service-card {
        padding: 25px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .infos-section {
        padding: 60px 15px;
    }

    .infos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .info-card {
        padding: 25px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .info-card h3 {
        font-size: 1.4rem;
    }

    .phone-link {
        font-size: 1.3rem;
        word-break: break-all;
    }

    .horaires-detail {
        margin: 15px 0;
    }

    .horaire-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .horaire-item .day {
        min-width: auto;
        width: 100%;
    }

    .hours-group {
        width: 100%;
        align-items: flex-start;
    }

    .info-important {
        padding: 12px;
        margin-top: 15px;
    }

    .team-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-column-left,
    .team-column-right {
        width: 100%;
        max-width: 100%;
    }

    .team-column-right {
        padding-left: 0;
    }
    
    .team-column-right::before {
        display: none;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }
    
    .team-grid.assistants {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }

    .team-grid .team-card {
        max-width: 100%;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 15px;
    }

    .team-grid.assistants .team-card {
        max-width: 100%;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 15px;
    }

    .team-column-left .team-card,
    .team-column-right .team-card {
        max-width: 100%;
        width: 100%;
        height: 100%;
    }

    .team-photo {
        max-width: 100% !important;
        width: 100% !important;
        flex-shrink: 0;
    }

    .team-column-left .team-photo,
    .team-column-right .team-photo {
        max-width: 100% !important;
        width: 100% !important;
        flex-shrink: 0;
    }

    .team-column-left .team-grid .team-card .team-photo,
    .team-column-right .team-grid .team-card .team-photo {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1/1;
    }

    .team-category-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .team-info h4 {
        font-size: 0.95rem;
    }

    .team-info {
        padding: 10px 0 0 0;
    }
}

/* --- Mentions Légales Section --- */
.mentions-legales-section {
    padding: 120px 0 80px;
    background-color: var(--bg-white);
}

.mentions-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-dark);
}

.mentions-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
}

.mentions-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.mentions-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.mentions-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.mentions-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .mentions-legales-section {
        padding: 100px 0 60px;
    }

    .mentions-content {
        padding: 0 20px;
    }

    .mentions-content h1 {
        font-size: 2rem;
    }

    .mentions-content h2 {
        font-size: 1.5rem;
    }

    .mentions-content h3 {
        font-size: 1.2rem;
    }
}

/* --- Print Styles --- */
@media print {
    .main-header,
    .hero-section,
    .main-footer,
    .btn,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        font-size: 12pt;
    }
}

