:root {
    --primary-color: #002855;
    --secondary-color: #F2F2F2;
    --primary-dark: #002855;
    --navy: #002855;
    --gradient-primary: linear-gradient(to right bottom, #1E73BE, #165a94);
    --text-color: #000000;
    --highlight-blue: #4363ac;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-contact .phone-number {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.header-cta .cta-button {
    display: inline-block;
    background-color: #4363ac;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: 2px solid #4363ac;
}

.header-cta .cta-button:hover {
    background-color: white;
    color: #4363ac;
}

header .logo {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 1rem;
}

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

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

.service-card img{
    max-width: 80px;
}

.hero {
    position: relative;
    color: var(--text-color);
    padding: 4rem 1rem;
    background-image: linear-gradient(90deg, white 0% 60%, var(--navy) 60%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' opacity='0.1'%3E%3Ccircle cx='50' cy='50' r='50' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.1;
}

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

.hero-text {
    padding-right: 2rem;
    color: var(--text-color);
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--text-color);
}

strong {
    color: var(--highlight-blue);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 2rem;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.hero-form {
    background: white;
    border-radius: 15px;
    padding: 0;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-form h3 {
    background: #4363ac;
    color: white;
    margin: 0;
    padding: 1.5rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    text-align: center;
    font-size: 1.3rem;
}

.section {
    padding: 4rem 1rem;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.service-card, .advantage-card, .testimonial-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-card:hover, .advantage-card:hover {
    transform: translateY(-5px);
}

.service-card svg, .advantage-card svg {
    width: 64px;
    height: 64px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 1rem;
}

.service-dpe svg {
    background-image: url('./img/c88eb693-renovation-energetique-dpe_109604u00000000000001o.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.service-gas svg {
    background-image: url('./img/e2e7da7c-dpe-2_102s02s000000000000028.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.service-carrez svg {
    background-image: url('./img/65738464-dpe-4_1036036000000000000028.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.process {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    max-width: 800px;
}

.process-step .step-number {
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    max-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    width: -webkit-fill-available;
}

.process-step .step-number {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.1;
}

.testimonial-item h4 {
    margin-top: 1rem;
    color: var(--primary-color);
}

.zones-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.zones-list li {
    display: inline-block;
    background: var(--secondary-color);
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: relative;
    padding-left: 30px;
}

.zones-list li::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('./img/b8932c79-15563_103r03r000000000000028.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.footer {
    background: #002654;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.footer-logo img {
    width: 120px;
    height: auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-label {
    color: white;
    font-weight: normal;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer-legal {
    text-align: right;
}

.footer-legal p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.footer-legal a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .footer-legal {
        text-align: center;
    }
}

.contact-info {
    background: var(--secondary-color);
    padding: 2rem 1rem;
    text-align: center;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.multi-step-form {
    width: 100%;
    color: var(--navy);
}

.multi-step-form .form-step {
    display: none;
}

.multi-step-form .form-step.active {
    display: block;
}

.multi-step-form .form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.multi-step-form .progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
}

.multi-step-form .progress-bar .step {
    flex: 1;
    height: 8px;
    margin: 0 4px;
    background: #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.multi-step-form .progress-bar .step.active {
    background: var(--primary-color);
}

input[type="text"], input[type="email"], input[type="tel"], select {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: var(--navy);
}

.btn {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--primary-dark);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.checkbox-container {
    position: relative;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkbox-container label {
    display: block;
    background: white;
    padding: 1.2rem;
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    color: var(--navy);
}

.checkbox-container input[type="checkbox"]:checked + label {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(30, 115, 190, 0.2);
}

.checkbox-container label:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#thank-you-message {
    text-align: center;
    padding: 2rem;
}

#thank-you-message h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

#form-summary {
    color: var(--navy);
}

.partners-section {
    background-color: var(--secondary-color);
    padding: 4rem 2rem;
    text-align: center;
}

.partners-section h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

.advantage-pricing svg {
    background-image: url('./img/5c7b0e7b-design-sans-titre-4_1025026000000000000028.png');
}

.advantage-speed svg {
    background-image: url('./img/d551f5e0-design-sans-titre-4_1026026025026000000028.png');
}

.advantage-experience svg {
    background-image: url('./img/224472d7-all_102s02s000000000000028.png');
}

.advantage-reports svg {
    background-image: url('./img/06e1af42-dpe-12_102s02s000000000000028.png');
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
    }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1rem;
    }
    nav ul li {
        margin: 0.5rem 0;
    }
    .hero-content {
        flex-direction: column;
        align-items: center;
    }
    .hero-form {
        margin-top: 2rem;
    }
    .process-step {
        flex-direction: column;
        align-items: center;
    }
    .process-step .step-number {
        margin-bottom: 1rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    object-fit: contain;
}

.service-card h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .service-card {
        padding: 12px;
    }
    
    .service-card img {
        width: 40px;
        height: 40px;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
}

/* Animation for service cards */
.service-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.service-card:nth-child(n) {
    animation-delay: calc(0.1s * var(--i, 1));
}

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

#testimonials {
    background-color: #01356A;
    color: white;
    padding: 4rem 2rem;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

.google-rating {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #01356A;
    padding: 1rem 2rem;
    border-radius: 8px;
}

.rating-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.score {
    font-size: 3rem;
    font-weight: bold;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #FFC107;
    font-size: 1.2rem;
}

.google-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.google-logo {
    height: 20px;
    width: auto;
}

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

.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    color: #333;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: #01356A;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.testimonial-meta {
    flex-grow: 1;
}

.testimonial-name {
    font-weight: bold;
    color: #01356A;
}

.testimonial-date {
    font-size: 0.8rem;
    color: #666;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
}

.testimonial-content {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    #testimonials {
        padding: 2rem 1rem;
    }
    
    .testimonials-header h2 {
        font-size: 2rem;
    }
    
    .google-rating {
        padding: 1rem;
    }
    
    .score {
        font-size: 2.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation pour les cartes de témoignages */
.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.4s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.6s;
}

#process {
    padding: 4rem 2rem;
    background-color: #fff;
}

#process h2 {
    text-align: center;
    color: #01356A;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.process-steps {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* Par défaut, l'illustration est à gauche */
.process-step {
    flex-direction: row;
}

/* Pour l'étape 2, l'illustration est à droite */
.process-step:nth-child(2) {
    flex-direction: row-reverse;
}

.step-illustration {
    flex: 1;
    max-width: 400px;
}

.step-illustration img {
    width: 100%;
    height: auto;
}

.step-content {
    flex: 1;
    display: flex;
    gap: 1.5rem;
}

.step-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #01356A;
    line-height: 1;
}

.step-info h3 {
    font-size: 1.8rem;
    color: #01356A;
    margin-bottom: 1rem;
}

.highlight {
    color: #4363ac;
}

.arrow-down {
    display: inline-block;
    margin-left: 10px;
    font-size: 1.2em;
    animation: bounce 2s infinite;
    rotate: -90deg;
    margin-top: -10px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.step-info p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.step-info strong {
    font-weight: 600;
}

.process-cta {
    text-align: center;
    margin-top: 4rem;
}

.cta-button {
    display: inline-block;
    background-color: #4363ac;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    border: 2px solid #4363ac;
}

.cta-button:hover {
    background-color: white;
    color: #4363ac;
    border: 2px solid #4363ac;
}

/* Responsive design */
@media (max-width: 992px) {
    .process-step {
        gap: 2rem;
    }
    
    .arrow-down {
        rotate: 0deg;
    }
    .step-illustration {
        max-width: 300px;
    }
    
    .step-number {
        font-size: 3rem;
    }
    
    .step-info h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    #process {
        padding: 3rem 1rem;
    }
    
    #process h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .process-step {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
    }
    
    .step-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-illustration {
        order: -1;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .process-cta {
        margin-top: 3rem;
    }
}

/* Animations */
.process-step {
    opacity: 0;
    min-width: 60%;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.process-step:nth-child(1) {
    transition-delay: 0.2s;
}

.process-step:nth-child(2) {
    transition-delay: 0.4s;
}

.process-step:nth-child(3) {
    transition-delay: 0.6s;
}

/* Remove share button styles */
.share-button,
.share-button:hover {
    display: none;
}

#zones {
    background-color: #fff;
    padding: 4rem 2rem;
}

.zones-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.zones-content {
    flex: 1;
}

.zones-content h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.zones-content .highlight {
    color: var(--highlight-blue);
}

.zones-map {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.france-map {
    width: 100%;
    height: auto;
    fill: var(--highlight-blue);
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-markers::before,
.map-markers::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--highlight-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Position des marqueurs sur la carte */
.map-markers::before {
    top: 35%;
    right: 10%;
}

.map-markers::after {
    top: 80%;
    left: 50%;
}

.departments-list {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #F5F7FA;
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.marker-icon {
    width: 16px;
    height: 16px;
    background-color: var(--highlight-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.departments-list p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.department {
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 992px) {
    .zones-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .zones-content {
        text-align: center;
    }
    
    .zones-content h2 {
        font-size: 2rem;
    }
    
    .map-container {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    #zones {
        padding: 3rem 1rem;
    }
    
    .zones-content h2 {
        font-size: 1.8rem;
    }
    
    .departments-list {
        flex-direction: column;
        text-align: center;
    }
}

.quote-form {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#property-type-form {
    min-height: 480px;
}

.quote-form h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 120px;
    height: auto;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.radio-option {
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    padding-left: 40px;
}

.radio-option:hover {
    background-color: #e9e9e9;
}

.radio-option input[type="radio"] {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 1;
    cursor: pointer;
}

.radio-option label {
    display: block;
    width: 100%;
    cursor: pointer;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.radio-option input[type="radio"]:checked + label {
    color: #333;
    font-weight: 500;
}

.radio-option input[type="radio"]:checked {
    accent-color: #4363ac;
}

.radio-option:has(input[type="radio"]:checked) {
    background-color: #4363ac42;
    border-color: #4363ac;
}

.error-message {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message i {
    color: #d32f2f;
}

.submit-button {
    background-color: #4363ac;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #4363ac;
}

.form-steps {
    position: relative;
    min-height: inherit;
}

.form-step {
    display: none;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-step h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--navy);
    background-color: white;
    box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #4363ac;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

/* Style for input with unit (m²) */
.input-group.with-unit input {
    padding-right: 45px; /* Make room for the unit */
}

.input-group .unit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none; /* Prevent unit from interfering with input */
}

/* Style for placeholder text */
.input-group input::placeholder {
    color: #999;
    opacity: 1;
}

/* Style for invalid inputs */
.input-group input:invalid {
    border-color: #d32f2f;
}

.input-group input:invalid:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Personal info section specific styles */
.personal-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.personal-info .input-group {
    margin-bottom: 0;
}

.form-navigation {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.prev-button,
.next-button,
.submit-button {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prev-button {
    background-color: #e0e0e0;
    color: #333;
    flex: 1;
}

.prev-button:hover {
    background-color: #d0d0d0;
}

.next-button {
    background-color: #4363ac;
    color: white;
    border: 2px solid #4363ac;
    flex: 1;
}

.next-button:hover {
    color: #4363ac;
    background-color: white;
    border: 2px solid #4363ac;
}

.submit-button {
    background-color: #4363ac;
    color: white;
    border: 2px solid #4363ac;
    width: 100%;
}

.submit-button:hover {
    color: #4363ac;
    background-color: white;
}

.success-message {
    text-align: center;
    padding: 20px;
    background-color: #4363ac42;
    border-radius: 5px;
    border: 2px solid #4363ac;
}

.success-message h4 {
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.success-message p {
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

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

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

/* Header and Navigation */
header {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo img {
    max-width: 100px;
    height: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 1rem;
}

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

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

/* Mobile Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-menu span {
    width: 2rem;
    height: 0.25rem;
    background: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--text-color);
    padding: 4rem 1rem;
    background-image: linear-gradient(90deg, white 0% 60%, var(--navy) 60%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Form Styles */
.form-step {
    transition: all 0.3s ease-in-out;
    transform: translateX(100%);
    opacity: 0;
    position: absolute;
}

.form-step.active {
    transform: translateX(0);
    opacity: 1;
    position: relative;
}

.error-message {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message i {
    color: #d32f2f;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

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

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.service-card, .advantage-card, .process-step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card.animate, .advantage-card.animate, .process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card img{
    filter:grayscale(0.3) hue-rotate(109deg) brightness(0.9);
}

.advantage-card {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.advantage-card img{
    filter:grayscale(0.3) hue-rotate(109deg) brightness(0.9);
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-form {
    animation: slideIn 1s ease-out 0.5s both;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .hero {
        background-image: linear-gradient(to bottom, white 0% 60%, var(--navy) 60%);
    }

    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 5;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
    }
    
    nav.active ul {
        display: flex;
        transform: translateX(0);
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .services-grid, .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .hamburger-menu, .scroll-to-top, nav {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    .hero {
        height: auto !important;
    }
    
    .services-grid, .advantages-grid {
        display: block;
    }
    
    .service-card, .advantage-card {
        break-inside: avoid;
        margin-bottom: 1em;
    }
}

/* Add these responsive styles for the hero section */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        padding-right: 0;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-form {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-form {
        max-width: 100%;
    }

    .quote-form {
        padding: 1.5rem;
    }

    .hero-form h3 {
        padding: 1.2rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-cta {
        font-size: 1rem;
    }

    .quote-form {
        padding: 1rem;
    }
}

/* Ajoutez ces styles pour le logo du footer */
.footer-logo {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.footer-logo:hover img {
    filter: grayscale(0%);
}

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

.pour_qui_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pour_qui_card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.pour_qui_card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    filter: grayscale(0.3) hue-rotate(109deg) brightness(0.9);
}

.pour_qui_card h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.pour_qui_card p {
    font-size: 1rem;
    line-height: 1.5;
}

#pour_qui .highlight {
    color: var(--highlight-blue);
}

@media (max-width: 768px) {
    .pour_qui_grid {
        grid-template-columns: 1fr;
    }
    
    .pour_qui_card {
        padding: 1.5rem;
    }
}

/* Keep icons blue */
.service-card img,
.advantage-card img,
.pour_qui_card svg,
.marker-icon {
    color: var(--highlight-blue);
    fill: var(--highlight-blue);
}

/* Ensure SVG icons stay blue */
.pour_qui_card svg path,
nav svg path,
.scroll-to-top svg path {
    fill: var(--highlight-blue);
    stroke: var(--highlight-blue);
}

/* Diagnostics Section */
#diagnostics {
    background-color: var(--color-light-bg);
    padding: 4rem 2rem;
}

.diagnostics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.diagnostic-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.diagnostic-card:hover {
    transform: translateY(-5px);
}

.diagnostic-card h3 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.diagnostic-card h4 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.diagnostic-card ul {
    list-style-type: none;
    padding: 0;
    margin: 1.5rem 0;
}

.diagnostic-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.diagnostic-card ul li:before {
    content: "✓";
    color: var(--color-primary);
    position: absolute;
    left: 0;
}

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

@media (max-width: 768px) {
    .diagnostics-grid {
        grid-template-columns: 1fr;
    }
    
    .diagnostic-card {
        margin: 1rem;
    }
}