/* Variables CSS */
:root {
    /* Couleurs */
    --vert-sauge: #A9B995;
    --gris-anthracite: #3C3F41;
    --blanc-casse: #F5F2E9;
    --orange-corail: #F28C38;
    --blanc: #FFFFFF;
    --noir: #000000;

    /* Polices */
    --font-montserrat: 'Montserrat', sans-serif;
    --font-open-sans: 'Open Sans', sans-serif;

    /* Tailles */
    --max-width: 1200px;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    /* Espacements */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
}

/* Reset et base */
* {
    /*margin: 0;*/
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-open-sans);
    line-height: 1.6;
    color: var(--gris-anthracite);
    background-color: var(--blanc-casse);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-montserrat);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Boutons */
.cta-button {
    display: inline-block;
    background-color: var(--orange-corail);
    color: var(--blanc);
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1rem;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background-color: color-mix(in srgb, var(--orange-corail), white 10%);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Header */
.header {
    background-color: var(--vert-sauge);
    padding: var(--space-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: var(--space-lg);
}

.main-nav a {
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gris-anthracite);
    position: relative;
}

.main-nav a:hover {
    color: var(--orange-corail);
}

.main-nav a.active {
    color: var(--orange-corail);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--orange-corail);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--orange-corail);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--vert-sauge);
    opacity: 0.2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--blanc-casse);
    width: 90%;
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: var(--gris-anthracite);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
    color: var(--blanc-casse);
}

/* Services Section */
.services-section {
    padding: var(--space-xl) 0;
    background-color: var(--blanc-casse);
}

.services-section h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--gris-anthracite);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background-color: var(--blanc);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-md);
}

.service-card h3 {
    color: var(--gris-anthracite);
    margin-bottom: var(--space-sm);
}

.service-card p {
    margin-bottom: var(--space-md);
    color: var(--gris-anthracite);
    opacity: 0.8;
}

.service-link {
    color: var(--orange-corail);
    font-weight: 600;
    font-family: var(--font-montserrat);
    display: inline-block;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange-corail);
    transition: var(--transition);
}

.service-link:hover::after {
    width: 100%;
}

/* Why Us Section */
.why-us-section {
    padding: var(--space-xl) 0;
    background-color: rgba(60, 63, 65, 0.1);
    position: relative;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--vert-sauge);
}

.why-us-section h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--gris-anthracite);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background-color: var(--blanc);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-md);
}

.feature-card h3 {
    color: var(--gris-anthracite);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--gris-anthracite);
    opacity: 0.8;
    font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--space-xl) 0;
    background-color: var(--blanc-casse);
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--gris-anthracite);
}

.testimonials-slider {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-md);
}

.testimonial {
    flex: 0 0 calc(33.333% - var(--space-lg));
    scroll-snap-align: start;
    background-color: var(--blanc);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

blockquote {
    font-style: italic;
    margin-bottom: var(--space-sm);
    color: var(--gris-anthracite);
}

cite {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--gris-anthracite);
}

.stars {
    color: var(--orange-corail);
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background-color: var(--gris-anthracite);
    color: var(--blanc-casse);
    padding: var(--space-xl) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.copyright {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a:hover {
    color: var(--orange-corail);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    text-align: center;
}

.contact-info a:hover {
    color: var(--orange-corail);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a:hover {
    opacity: 0.8;
}

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-sm);
    background-color: var(--blanc);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    justify-content: center;
    z-index: 999;
}

.mobile-cta .cta-button {
    width: 100%;
    max-width: 300px;
}

/* Pages spécifiques */
.page-hero {
    background-color: var(--vert-sauge);
    color: var(--blanc-casse);
    padding: var(--space-xl) 0;
    text-align: center;
    margin-top: 80px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    color: var(--blanc);
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Page Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
}

.contact-form-container {
    background: var(--blanc);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form .form-group {
    margin-bottom: var(--space-md);
}

.contact-form label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-open-sans);
}

.contact-form textarea {
    min-height: 150px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-lg);
}

.form-status {
    margin-top: var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--border-radius);
}

.form-status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.form-status.error {
    background-color: #ffebee;
    color: #c62828;
}

.contact-card {
    background: var(--blanc);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-card h2 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.contact-link {
    display: inline-block;
    margin-top: var(--space-sm);
    color: var(--orange-corail);
    font-weight: 600;
}

.map-container {
    margin-top: var(--space-xl);
    height: 450px;
}

/* Page Services */
.services-intro {
    padding: var(--space-xl) 0;
    text-align: center;
    background-color: rgba(169, 185, 149, 0.1);
}

.services-categories {
    padding: var(--space-xl) 0;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.category-icon {
    width: 40px;
    height: 40px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--blanc);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.service-card.highlight {
    border-top: 3px solid var(--orange-corail);
}

.badge {
    position: absolute;
    top: -10px;
    right: var(--space-md);
    background: var(--orange-corail);
    color: var(--blanc);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-features li {
    margin-bottom: var(--space-xs);
    position: relative;
    padding-left: var(--space-sm);
}

.service-features li::before {
    content: "•";
    color: var(--orange-corail);
    position: absolute;
    left: 0;
}

.service-cta {
    display: inline-block;
    margin-top: var(--space-md);
    color: var(--orange-corail);
    font-weight: 600;
    text-decoration: underline;
}

.service-cta-section {
    background-color: var(--gris-anthracite);
    color: var(--blanc-casse);
    padding: var(--space-xl) 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

.cta-button.primary {
    background-color: var(--orange-corail);
    color: var(--blanc);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--orange-corail);
    border: 2px solid var(--orange-corail);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
}

/* Page Devis */
.quote-process {
    margin: var(--space-xl) 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--blanc-casse);
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: var(--space-xs);
}

.step.active .step-number {
    background: var(--orange-corail);
    color: white;
    border-color: var(--orange-corail);
}

.step-label {
    font-size: 0.875rem;
    text-align: center;
}

.quote-form {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: var(--space-xl);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.confirmation-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.check-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-md);
}

.summary {
    text-align: left;
    margin: var(--space-xl) 0;
    background: rgba(169, 185, 149, 0.1);
    padding: var(--space-md);
    border-radius: var(--border-radius);
}

.summary-item {
    margin-bottom: var(--space-lg);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: var(--space-xl) 0;
}

.checkbox input {
    width: auto;
}

/* Page À propos */
.about-story {
    padding: var(--space-xl) 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.story-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.caption {
    font-size: 0.875rem;
    text-align: center;
    margin-top: var(--space-xs);
    color: var(--gris-anthracite);
    opacity: 0.7;
}

.about-values {
    background: rgba(169, 185, 149, 0.1);
    padding: var(--space-xl) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.value-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.value-card.highlight {
    border-top: 3px solid var(--orange-corail);
}

.value-card img {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-md);
}

.about-team {
    padding: var(--space-xl) 0;
}

.team-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-sm);
    border: 3px solid var(--vert-sauge);
}

.role {
    color: var(--orange-corail);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.about-numbers {
    background: var(--gris-anthracite);
    color: white;
    padding: var(--space-xl) 0;
    text-align: center;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.number-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
}

.number-card .counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--orange-corail);
    display: block;
    margin-bottom: var(--space-xs);
}

.about-cta {
    padding: var(--space-xl) 0;
}

.cta-box {
    background: var(--vert-sauge);
    color: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xl);
    }
    
    .process-steps::before {
        height: 100%;
        width: 2px;
        left: 15px;
        top: 0;
    }
    
    .step {
        flex-direction: row;
        gap: var(--space-md);
        align-items: center;
    }
    
    .step-label {
        text-align: left;
    }
}

/* Page Devis spécifique */
.quote-page {
    padding-bottom: var(--space-xl);
}

.quote-process {
    margin: var(--space-xl) 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--blanc-casse);
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: var(--space-xs);
}

.step.active .step-number {
    background: var(--orange-corail);
    color: white;
    border-color: var(--orange-corail);
}

.step-label {
    font-size: 0.875rem;
    text-align: center;
}

.quote-form {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: var(--space-xl);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.confirmation-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.check-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-md);
}

.summary {
    text-align: left;
    margin: var(--space-xl) 0;
    background: rgba(169, 185, 149, 0.1);
    padding: var(--space-md);
    border-radius: var(--border-radius);
}

.summary-item {
    margin-bottom: var(--space-lg);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: var(--space-xl) 0;
}

.checkbox input {
    width: auto;
}

.quote-benefits {
    margin-top: var(--space-xl);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.benefit-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.benefit-card img {
    width: 50px;
    height: 50px;
    margin-bottom: var(--space-md);
}

/* Erreurs */
input.error,
textarea.error,
select.error {
    border-color: #e74c3c !important;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error + .error-message {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xl);
    }
    
    .process-steps::before {
        height: 100%;
        width: 2px;
        left: 15px;
        top: 0;
    }
    
    .step {
        flex-direction: row;
        gap: var(--space-md);
        align-items: center;
    }
    
    .step-label {
        text-align: left;
    }
}