/*
 * ALPES FERRAILLEUR - Styles principaux
 * Ferrailleur professionnel à Chambéry et en Savoie
 * Version: 1.0
 */

/* ===================================================================
   1. VARIABLES CSS
   =================================================================== */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --success: #10b981;
    --text: #1f2937;
    --text-light: #4b5563; /* Amélioration contraste accessibilité */
    --bg: #f8fafc;
    --white: #fff;
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.1);
    --radius: 12px;
}

/* ===================================================================
   2. RESET ET BASE
   =================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

/* ===================================================================
   3. HEADER & NAVIGATION
   =================================================================== */
.top-bar {
    background: var(--primary-dark);
    color: #fff;
    padding: .5rem 1rem;
    font-size: .9rem;
    text-align: center;
}

.top-bar a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

header {
    background: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.logo span {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

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

.phone-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent);
    color: #fff;
    padding: .875rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all .3s;
}

.phone-header:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.phone-header svg {
    width: 20px;
    height: 20px;
}

/* ===================================================================
   4. HERO SECTION
   =================================================================== */
.hero {
    background: linear-gradient(135deg,rgba(30,64,175,0.95),rgba(37,99,235,0.9)),
               url('../images/hero-ferrailleur.webp') center/cover;
    color: #fff;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-ferrailleur.webp') center/cover;
    opacity: 0;
    transition: opacity 0.3s;
}

.hero.loaded::before {
    opacity: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero h1 span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: .95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.badge {
    background: rgba(255,255,255,.15);
    padding: .625rem 1.25rem;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 500;
}

/* ===================================================================
   5. BOUTONS CTA
   =================================================================== */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: var(--accent);
    color: #fff;
    padding: 1.125rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.cta-button svg {
    width: 24px;
    height: 24px;
}

.cta-secondary {
    background: rgba(255,255,255,.15);
    border: 2px solid #fff;
}

.cta-secondary:hover {
    background: #fff;
    color: var(--primary-dark);
}

/* ===================================================================
   6. TRUST BAR
   =================================================================== */
.trust-bar {
    background: #fff;
    padding: 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.trust-text strong {
    display: block;
    font-size: 1.1rem;
}

.trust-text span {
    font-size: .85rem;
    color: var(--text-light);
}

/* ===================================================================
   7. QUOTE / BLOCKQUOTE
   =================================================================== */
.quote-section {
    background: #fff;
    padding: 3rem 1rem;
}

.quote-block {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 5px solid var(--accent);
    padding: 2rem;
    margin: 0 auto;
    max-width: 900px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-block p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.quote-block strong {
    color: var(--primary-dark);
}

/* ===================================================================
   8. SECTIONS GÉNÉRALES
   =================================================================== */
section {
    padding: 5rem 1rem;
}

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

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

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================================================
   9. SERVICES
   =================================================================== */
.services-section {
    background: var(--bg);
}

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

.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all .3s;
    border: 1px solid #e5e7eb;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    font-size: .95rem;
}

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

.service-card a:hover {
    text-decoration: underline;
}

/* ===================================================================
   10. MÉTAUX SECTION
   =================================================================== */
.metaux-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.metaux-section .section-header h2 {
    color: #fff;
}

.metaux-section .section-header p {
    color: rgba(255,255,255,.85);
}

.metaux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.metal-card {
    background: rgba(255,255,255,.1);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255,255,255,.15);
    transition: all .3s;
}

.metal-card:hover {
    background: rgba(255,255,255,.18);
    transform: translateY(-5px);
}

.metal-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.metal-card h4 {
    color: var(--accent);
    margin-bottom: .75rem;
    font-size: 1.15rem;
}

.metal-card p {
    font-size: .9rem;
    opacity: .9;
}

/* ===================================================================
   11. PROCESS / ÉTAPES
   =================================================================== */
.process-section {
    background: #fff;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('../images/process-ferrailleur.webp') center/cover;
    opacity: 0.08;
    pointer-events: none;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.9);
    border-radius: var(--radius);
    transition: all 0.3s;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
}

.step h3 {
    color: var(--primary-dark);
    margin-bottom: .75rem;
    font-size: 1.2rem;
}

.step p {
    color: var(--text-light);
    font-size: .95rem;
}

/* ===================================================================
   12. ZONE D'INTERVENTION
   =================================================================== */
.zone-section {
    background: #fff;
}

.zone-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.zone-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.zone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.zone-link {
    background: var(--bg);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
    text-align: center;
    transition: all .3s;
    border: 2px solid transparent;
}

.zone-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.zone-link.main {
    background: var(--primary);
    color: #fff;
}

/* ===================================================================
   13. CTA SECTIONS
   =================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
}

.cta-section .cta-button {
    background: #fff;
    color: var(--accent-hover);
}

.cta-section .cta-button:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* ===================================================================
   14. AVANTAGES / WHY US
   =================================================================== */
.avantages-section {
    background: var(--bg);
    position: relative;
}

.avantages-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.avantages-image {
    width: 100%;
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.avantages-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avantages-image-placeholder {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 2rem;
    height: 100%;
}

.avantages-image-placeholder .icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.avantages-image-placeholder p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.avantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.avantage-card {
    display: flex;
    gap: 1.25rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.avantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.avantage-content h4 {
    color: var(--primary-dark);
    margin-bottom: .5rem;
}

.avantage-content p {
    color: var(--text-light);
    font-size: .9rem;
}

/* ===================================================================
   15. AVIS / REVIEWS
   =================================================================== */
.reviews-section {
    background: var(--white);
    padding: 5rem 1rem;
}

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

.reviews-widget {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid #e5e7eb;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.review-author {
    font-weight: 600;
    color: var(--text);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.review-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
}

.reviews-cta {
    text-align: center;
    margin-top: 2rem;
}

.reviews-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.reviews-cta a:hover {
    text-decoration: underline;
}

/* ===================================================================
   16. GALERIE PHOTOS
   =================================================================== */
.gallery-section {
    background: var(--bg);
    padding: 5rem 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1.5rem 1rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    font-size: 0.9rem;
    margin: 0;
}

.gallery-simple {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-simple .gallery-item {
    height: 200px;
}

.gallery-placeholder {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 1rem;
    height: 100%;
}

.gallery-placeholder .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.gallery-placeholder p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ===================================================================
   17. CARTE GOOGLE MAPS
   =================================================================== */
.map-section {
    background: var(--white);
    padding: 5rem 1rem;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.map-wrapper {
    position: relative;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
}

.map-info h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.map-info a {
    color: var(--primary);
    text-decoration: none;
}

.map-info a:hover {
    text-decoration: underline;
}

.map-hours {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.map-hours h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.map-hours ul {
    list-style: none;
}

.map-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.map-hours .day {
    color: var(--text);
}

.map-hours .time {
    color: var(--text-light);
}

.map-cta {
    margin-top: 1.5rem;
}

.map-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-cta a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===================================================================
   18. FAQ
   =================================================================== */
.faq-section {
    background: #fff;
}

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

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--bg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.faq-question:hover {
    background: #fff;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform .3s;
}

.faq-item.active .faq-question {
    background: #fff;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
    background: #fff;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ===================================================================
   19. INFO CARDS
   =================================================================== */
.info-section {
    background: var(--bg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.info-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p,
.info-card address {
    font-style: normal;
    line-height: 1.8;
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.info-card ul {
    list-style: none;
    margin-top: 1rem;
}

.info-card li {
    padding: .5rem 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
}

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

/* ===================================================================
   20. CONTENU SEO
   =================================================================== */
.seo-content {
    background: #fff;
    padding: 4rem 1rem;
}

.seo-content .container {
    max-width: 900px;
}

.seo-content h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.seo-content h3 {
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.seo-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.seo-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.seo-content li {
    margin-bottom: .5rem;
}

/* ===================================================================
   21. FOOTER
   =================================================================== */
footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 4rem 1rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section address {
    font-style: normal;
    opacity: .9;
    line-height: 1.8;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--accent);
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: .7;
    font-size: .9rem;
}

/* ===================================================================
   22. RESPONSIVE - TABLETTE
   =================================================================== */
@media (max-width: 900px) {
    .avantages-wrapper {
        grid-template-columns: 1fr;
    }

    .avantages-image {
        height: 350px;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        height: 350px;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }

    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* ===================================================================
   23. RESPONSIVE - MOBILE
   =================================================================== */
@media (max-width: 768px) {
    .header-content {
        justify-content: center;
        text-align: center;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 3rem 1rem;
        background-position: center center;
    }

    section {
        padding: 3rem 1rem;
    }

    .trust-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .avantages-wrapper {
        grid-template-columns: 1fr;
    }

    .avantages-image {
        order: 2;
        height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 600px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item,
    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
        height: 200px;
    }
}

/* ===================================================================
   ACCESSIBILITÉ
   =================================================================== */

/* Skip link pour navigation au clavier */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 9999;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Focus visible pour tous les éléments interactifs */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
.service-card:focus,
.price-card:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Supprimer outline uniquement si focus-visible n'est pas supporté */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Taille minimale des zones tactiles (44x44px) */
.phone-header,
.cta-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Amélioration du contraste pour les liens dans top-bar */
.top-bar a {
    color: #fbbf24; /* Orange plus clair pour meilleur contraste sur bleu foncé */
}

.top-bar a:hover {
    color: #fcd34d;
}

/* Liste à puces - Points à l'intérieur */
ul, ol {
    list-style-position: inside;
}
