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

:root {
    --primary-color: #345e7d;
    --primary-dark: #253f55;
    --primary-light: #4a7ba3;
    --secondary-color: #383E42;
    --accent-color: #d4a574;
    --accent-gold: #f4a261;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Modern Header with Glassmorphism */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    margin: 0;
    min-height: 90px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    padding: 0;
    margin: 0;
    min-height: 90px;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.logo img {
    max-height: 90px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-list a:hover::before {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 6px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--primary-color);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    background: var(--primary-color);
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #a68b6b 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #6b5a42 0%, var(--secondary-color) 100%);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

/* Modern Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(52, 94, 125, 0.92) 0%, rgba(56, 62, 66, 0.88) 100%), url('./images/pergola.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 165, 116, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-white), transparent);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    width: 100%;
}

.hero-note {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Modern Services Section */
.services {
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

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

.service-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(52, 94, 125, 0.05));
    pointer-events: none;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon img {
    transform: scale(1.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin: 1.5rem 1.5rem 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
}

.services-process {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    color: white;
    position: relative;
    overflow: hidden;
}

.services-process::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.services-process h3 {
    text-align: center;
    color: white;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

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

.process-step {
    text-align: center;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #a68b6b 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(212, 165, 116, 0.5);
}

.process-step h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.process-step p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Saisonnalité Section */
.saisonnalite {
    background: var(--bg-white);
}

.saison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.saison-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 3rem;
    border-radius: 20px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.saison-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 94, 125, 0.05) 0%, transparent 70%);
    transition: transform 0.6s ease;
}

.saison-card:hover::before {
    transform: scale(1.2);
}

.saison-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-left-color: var(--accent-gold);
}

.saison-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.saison-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.saison-card ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
    transition: padding-left 0.3s ease;
}

.saison-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.saison-card:hover ul li::before {
    transform: scale(1.3);
}

.saison-note {
    color: var(--text-light);
    font-style: italic;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Zone d'Intervention Section */
.zone-intervention {
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-white) 100%);
}

.zone-content {
    max-width: 1000px;
    margin: 0 auto;
}

.zone-card {
    background: var(--bg-white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.zone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.zone-card h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.zone-card p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.zone-cities {
    margin: 2.5rem 0;
}

.zone-cities h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cities-list {
    list-style: none;
    padding: 0;
}

.cities-list li {
    padding: 1rem 0;
    color: var(--text-dark);
    line-height: 1.8;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding-left: 1rem;
}

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

.cities-list li:hover {
    padding-left: 1.5rem;
    background: var(--bg-light);
    margin: 0 -1rem;
    padding-left: 1.5rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.cities-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.zone-note {
    background: linear-gradient(135deg, rgba(52, 94, 125, 0.05) 0%, rgba(212, 165, 116, 0.05) 100%);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--accent-gold);
    margin-top: 2.5rem;
}

.zone-note p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
}

/* Avis Section */
.avis {
    background: var(--bg-white);
}

.avis-content {
    max-width: 800px;
    margin: 0 auto;
}

.avis-google {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 4rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.avis-google::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 94, 125, 0.03) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

.google-badge {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.google-badge img {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.google-badge p {
    color: var(--text-dark);
    margin: 1.5rem 0;
    font-size: 1.15rem;
    font-weight: 500;
}

.avis-note {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--accent-gold);
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow);
}

.avis-note p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Garanties Section */
.garanties {
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-light) 100%);
}

.garanties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.garantie-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.garantie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 94, 125, 0.02) 0%, rgba(212, 165, 116, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.garantie-card:hover::before {
    opacity: 1;
}

.garantie-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.garantie-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.garantie-icon img {
    width: 200px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.garantie-card:hover .garantie-icon {
    transform: scale(1.2) rotate(5deg);
}

.garantie-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.garantie-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Tarifs Section */
.tarifs {
    background: var(--bg-white);
}

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

.tarif-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tarif-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tarif-card:hover::after {
    transform: scaleX(1);
}

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

.tarif-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.tarif-range {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.tarif-note {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.tarif-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 3rem;
    border-radius: 20px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.tarif-cta p {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 500;
}

.tarif-cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

/* Contact Section */
.contact {
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-white) 100%);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.contact-method:hover .contact-icon {
    transform: scale(1.2) rotate(5deg);
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-method p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--accent-gold);
    transform: scale(1.05);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.contact-form-container h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 1.75rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

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

.form-group label {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.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(52, 94, 125, 0.1);
    transform: translateY(-2px);
}

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

/* Histoire Section */
.histoire {
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-light) 100%);
}

.histoire-content {
    max-width: 900px;
    margin: 0 auto;
}

.histoire-text {
    background: var(--bg-white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.histoire-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.histoire-text p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
}

.histoire-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Gérants Section */
.gerants {
    background: var(--bg-white);
}

.gerants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.gerant-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.gerant-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 94, 125, 0.05) 0%, transparent 70%);
    transition: transform 0.6s ease;
}

.gerant-card:hover::before {
    transform: scale(1.2);
}

.gerant-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.gerant-avatar {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.avatar-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin: 0 auto;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.gerant-card:hover .avatar-placeholder {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 40px rgba(52, 94, 125, 0.3);
}

.gerant-avatar img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.gerant-card:hover .gerant-avatar img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 40px rgba(52, 94, 125, 0.3);
}

.gerant-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.gerant-card p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.footer-section p,
.footer-section ul {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

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

.footer-section ul li {
    padding: 0.5rem 0;
    transition: padding-left 0.3s ease;
}

.footer-section ul li:hover {
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Product Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background-color: var(--bg-white);
    margin: auto;
    padding: 0;
    border-radius: 24px;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px) scale(0.95); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

.modal-close {
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 2001;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg) scale(1.1);
    border-color: var(--primary-color);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.modal-images {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-main-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modal-main-image:hover img {
    transform: scale(1.05);
}

.modal-thumbnails {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.modal-thumbnails img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.modal-thumbnails img:hover,
.modal-thumbnails img.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.modal-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
}

.modal-info #modalDescription {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.modal-info #modalDescription h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-info #modalDescription ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-info #modalDescription li {
    margin: 0.75rem 0;
    color: var(--text-dark);
}

.modal-fabricant {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: 16px;
    border: 2px solid var(--border-color);
}

.modal-fabricant h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-fabricant img {
    max-height: 70px;
    width: auto;
    margin-bottom: 0.5rem;
}

.modal-fabricant .fabricant-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.modal-fabricant .fabricant-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.modal-fabricant .fabricant-link:active {
    transform: scale(0.98);
}

.modal-fabricant .fabricant-link img {
    transition: filter 0.3s ease;
}

.modal-fabricant .fabricant-link:hover img {
    filter: brightness(1.1);
}

.modal-cta {
    margin-top: 2.5rem;
}

.btn-product-details {
    margin-top: 1.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
}

.btn-product-details:hover,
.btn-product-details:active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-product-details:active {
    transform: translateY(-1px);
}

/* Galerie Section */
.galerie {
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-white) 100%);
}

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

.galerie-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-light);
}

.galerie-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.galerie-item:hover img {
    transform: scale(1.15);
}

.galerie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.galerie-item:hover .galerie-overlay {
    transform: translateY(0);
}

.galerie-overlay h4 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-note {
        padding: 0 1rem;
        font-size: 0.9rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 6rem 2rem 2rem;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
    }
    
    .nav-list a {
        display: block;
        width: 100%;
        font-weight: 600;
    }
    
    .header-cta {
        margin-top: 1rem;
        width: 100%;
    }
    
    .header-cta .btn {
        width: 100%;
    }
    
    .header {
        min-height: 70px;
        padding: 0;
        margin: 0;
    }
    
    .header.scrolled {
        min-height: 70px;
        padding: 0;
        margin: 0;
    }
    
    .header-content {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .logo {
        align-items: flex-start;
    }
    
    .logo img {
        max-height: 70px;
    }
    
    .tagline {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        padding: 0 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .services-grid,
    .tarifs-grid,
    .garanties-grid,
    .saison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card,
    .tarif-card,
    .garantie-card,
    .saison-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        height: 180px;
    }
    
    .btn-product-details {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin-top: 1.25rem;
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 2.5rem 1.5rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .modal-content {
        width: 98%;
        max-height: 98vh;
        border-radius: 16px;
        margin: 1vh auto;
    }
    
    .modal-close {
        right: 12px;
        top: 12px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .modal-main-image {
        aspect-ratio: 16/9;
        border-radius: 12px;
    }
    
    .modal-thumbnails {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .modal-thumbnails img {
        width: 70px;
        height: 70px;
    }
    
    .modal-info h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .modal-info #modalDescription {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .modal-info #modalDescription h4 {
        font-size: 1.1rem;
        margin: 1.25rem 0 0.75rem;
    }
    
    .modal-info #modalDescription ul {
        padding-left: 1.25rem;
    }
    
    .modal-info #modalDescription li {
        margin: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .modal-fabricant {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .modal-fabricant h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-fabricant img {
        max-height: 50px;
    }
    
    .modal-cta {
        margin-top: 1.5rem;
    }
    
    .modal-cta .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .histoire-text,
    .gerant-card,
    .avis-google,
    .zone-card {
        padding: 2.5rem 1.5rem;
    }
    
    .galerie-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-cta .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .service-card,
    .garantie-card,
    .tarif-card,
    .saison-card {
        padding: 1.75rem 1.25rem;
    }
    
    .service-icon {
        height: 160px;
    }
    
    .btn-product-details {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        min-height: 50px;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .header {
        min-height: 60px;
        padding: 0;
        margin: 0;
    }
    
    .header.scrolled {
        min-height: 60px;
        padding: 0;
        margin: 0;
    }
    
    .logo img {
        max-height: 60px;
    }
    
    .nav {
        width: 100%;
        right: -100%;
    }
    
    .header-cta .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
    
    /* Modal optimisations pour très petits écrans */
    .modal-body {
        padding: 1.25rem 1rem;
        gap: 1.5rem;
    }
    
    .modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .modal-close {
        right: 10px;
        top: 10px;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    .modal-main-image {
        aspect-ratio: 4/3;
    }
    
    .modal-thumbnails img {
        width: 60px;
        height: 60px;
    }
    
    .modal-info h2 {
        font-size: 1.35rem;
    }
    
    .modal-info #modalDescription {
        font-size: 0.9rem;
    }
    
    .modal-fabricant {
        padding: 1rem;
    }
    
    .modal-fabricant img {
        max-height: 45px;
    }
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}
