/* Import des styles spécifiques */
@import 'base.css';
@import 'index.css';
@import 'contact.css';

/* Styles globaux supplémentaires si nécessaire */

:root {
    --primary-color: #ff4500;
    --text-color: #333;
    --background-color: #f5f5f5;
    --accent-orange: #ff6b3d;
    --gray-light: #e0e0e0;
    --gray-medium: #9e9e9e;
    --gray-dark: #424242;
    --gray-text: #666;
    --max-width: 1400px;
    --section-padding: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: 160px;
    /* Hauteur du header + marge */
}

.hidden-mobile {
    display: none;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 2rem auto;
    text-align: center;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-orange);
}

@media (min-width: 1024px) {

    /* Navigation */
    header {
        background-color: var(--background-color);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateY(0);
    }

    nav {
        padding: 1.5rem 2rem;
        transition: transform 0.3s ease;
        transform: translateY(0);
    }

    .nav-content {
        max-width: var(--max-width);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 2rem;
        position: relative;
    }

    .logo-mobile {
        display: none;
    }

    .logo {
        position: relative;
        margin-bottom: -50px;
    }

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

    .logo img {
        height: 100px;
        width: auto;
        display: block;
    }

    .nav-left,
    .nav-right {
        display: flex;
        align-items: center;
        gap: 4rem;
    }

    .nav-left {
        justify-content: flex-end;
    }

    .nav-right {
        justify-content: flex-start;
    }

    .nav-left a,
    .nav-right a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
        position: relative;
        transition: color 0.3s;
    }

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

    .nav-left a:hover::after,
    .nav-right a:hover::after,
    .nav-left a.active::after,
    .nav-right a.active::after {
        width: 100%;
    }

    .nav-right a[data-page="devis"] {
        background-color: var(--accent-orange);
        color: white;
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
        font-weight: 600;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .nav-right a[data-page="devis"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-right a[data-page="devis"]::after {
        display: none;
    }

    .hidden-mobile {
        display: block;
        /* Affiche tous les services */
    }

    #toggle-services {
        display: none;
        /* Cache le bouton "Voir plus" */
    }
}

/* Mobile Navigation */
/* Version mobile */
/* Version mobile (max-width: 1023px) */
@media (max-width: 1023px) {

    /* Header */
    header {
        background-color: var(--background-color);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 0.5rem 1rem;
        display: flex;
        justify-content: flex-end;
    }

    /* Bouton menu burger */
    .menu-toggle {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        color: var(--text-color);
    }

    /* Logo mobile centré */
    .logo-mobile img {
        height: 70px;
        width: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%);
    }

    /* Menu mobile */
    .nav-mobile {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 80%;
        /* Largeur du menu mobile */
        background-color: var(--background-color);
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
        padding: 2rem 1rem;
        /* Uniformise le padding */
        display: flex;
        flex-direction: column;
        /* Colonne pour aligner les éléments */
        align-items: flex-start;
        /* Alignement à gauche */
        gap: 1.5rem;
        /* Espacement entre les liens */
        z-index: 1000;

        /* Cacher le menu par défaut */
        transform: translateX(-100%);
        opacity: 0;
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    }

    /* Menu ouvert */
    .nav-mobile.open {
        transform: translateX(0);
        opacity: 1;
    }

    /* Liens du menu */
    .nav-mobile a {
        text-decoration: none;
        color: var(--text-color);
        font-size: 1.5rem;
        font-weight: 500;
        padding: 0.5rem 0;
        /* Padding haut/bas */
        width: 100%;
        /* Prend toute la largeur du menu */
        text-align: left;
        /* Alignement à gauche */
        transition: background-color 0.3s ease-in-out;
    }

    .nav-mobile a:hover {
        background-color: var(--primary-color);
        color: white;
    }

    /* Bouton de fermeture */
    .close-menu {
        align-self: flex-end;
        /* Aligne la croix en haut à droite */
        font-size: 2rem;
        cursor: pointer;
        color: var(--text-color);
        margin-bottom: 2rem;
    }

    /* Cacher la navigation principale */
    .nav-content {
        display: none;
    }
}



/* Version desktop */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .nav-mobile {
        display: none;
    }
}


/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 100px);
    /* header height + footer height */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 2rem;
    background: var(--gray-dark);
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--gray-light);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Section Headers */
section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}

/* Video Section */
.video-section {
    padding: var(--section-padding) 2rem;
    background: var(--background-color);
    text-align: center;
}

.video-container {
    max-width: 960px;
    margin: 2rem auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.video-description {
    max-width: 600px;
    margin: 2rem auto;
    color: var(--gray-text);
}

/* Featured Projects Section */
.featured-projects {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.featured-projects h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.projects-swiper {
    padding: 1rem;
    margin: 0 auto;
    max-width: 1200px;
}

.projects-swiper .swiper-slide {
    height: auto;
}

.projects-swiper .project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.projects-swiper .project-card:hover {
    transform: translateY(-5px);
}

.projects-swiper .project-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.projects-swiper .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.projects-swiper .project-card:hover .project-image img {
    transform: scale(1.05);
}

.projects-swiper .project-info {
    padding: 1.5rem;
}

.projects-swiper .project-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.projects-swiper .project-info p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.projects-swiper .swiper-button-next,
.projects-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.projects-swiper .swiper-button-next:after,
.projects-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
}

.projects-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .projects-swiper .project-image {
        height: 200px;
    }

    .projects-swiper .project-info {
        padding: 1rem;
    }
}

/* Styles pour la page des réalisations */
.category-section {
    margin-bottom: 4rem;
}

.category-section h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.category-swiper {
    padding: 1rem;
    margin: 0 auto;
    max-width: 1200px;
}

.category-swiper .swiper-slide {
    height: auto;
}

.category-swiper .swiper-button-next,
.category-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-swiper .swiper-button-next:after,
.category-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
}

.category-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .realisation-images {
        grid-template-columns: 1fr;
    }

    .image-container {
        padding-top: 66.67%;
        /* 3:2 aspect ratio for mobile */
    }

    .project-info {
        padding: 1rem;
    }
}

/* Styles pour la page de détail des réalisations */
.realisation-detail {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.realisation-breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.realisation-header {
    margin-bottom: 3rem;
    text-align: center;
}

.realisation-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.realisation-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    color: #666;
}

.realisation-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.realisation-meta i {
    color: var(--primary-color);
}

.realisation-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 3rem;
}

.comparison-header {
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.comparison-header p {
    color: #666;
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.before-image,
.after-image {
    position: relative;
}

.image-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    z-index: 1;
}

.before-after-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.before-after-container img:hover {
    transform: scale(1.02);
}

.project-info-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.card-section {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

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

.card-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-description {
    color: #666;
    line-height: 1.6;
}

.project-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-details-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.project-details-list i {
    color: var(--primary-color);
    width: 20px;
}

.detail-label {
    color: #666;
    min-width: 80px;
}

.detail-value {
    color: #333;
    font-weight: 500;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    margin-top: 1rem;
}

.navigation-buttons {
    text-align: center;
}

.navigation-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.navigation-buttons i {
    margin-right: 0.5rem;
}

@media (max-width: 992px) {
    .project-info-card {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .before-after-container {
        grid-template-columns: 1fr;
    }

    .realisation-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .realisation-header h1 {
        font-size: 2rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-card {
        max-width: 100%;
    }

    .image-comparison {
        height: 200px;
    }

    .project-info {
        padding: 1.5rem;
    }

    .project-info h4 {
        font-size: 1.3rem;
    }
}

/* Styles pour le slider */
.category-section {
    margin-bottom: 3rem;
}

.category-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.category-swiper {
    padding: 1rem;
}

.swiper-slide {
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: var(--primary-color);
}

.swiper-pagination {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .image-comparison {
        grid-template-columns: 1fr;
    }

    .image-comparison img {
        height: 180px;
    }
}

/* Services Overview */
.services-overview {
    padding: var(--section-padding) 2rem;
    background: var(--background-color);
    text-align: center;
}

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

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

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

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--gray-text);
}

/* Testimonials */
.testimonials {
    background: var(--gray-light);
    padding: var(--section-padding) 2rem;
    text-align: center;
}

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

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

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.testimonial-author {
    border-top: 2px solid var(--gray-light);
    padding-top: 1rem;
}

.author-name {
    font-weight: bold;
    color: var(--text-color);
}

.project-type {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* About Section */
.about-us {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--section-padding) 2rem;
    text-align: center;
}

.about-us p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

.about-features {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.about-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-features i {
    color: var(--primary-color);
}

.about-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Gallery Section */
.gallery-section {
    padding: var(--section-padding) 2rem;
    background: var(--background-color);
}

.category-section {
    margin-bottom: 4rem;
}

.category-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
}

.category-swiper {
    padding: 2rem;
    margin: 0 auto;
    max-width: var(--max-width);
}

/* Hide empty category sections */
.category-section .swiper-wrapper:empty {
    display: none;
}

.category-section .swiper-wrapper:empty+.swiper-pagination {
    display: none;
}

.category-section:has(.swiper-wrapper:empty) {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-section {
        margin-bottom: 3rem;
    }

    .category-section h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-padding) 2rem;
}

/* Quote Section */
.quote-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-padding) 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

/* Buttons */
.secondary-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

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

/* Footer */
footer {
    background: var(--gray-dark);
    padding: 3rem 0;
    margin-top: 4rem;
    color: white;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--gray-light);
    margin: 0 1rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    :root {
        --section-padding: 3rem;
    }

    .project-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 2rem;
    }

    .nav-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links a {
        margin: 0 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

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

    .video-container {
        margin: 2rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }

    .project-info,
    .gallery-info {
        padding: 1.5rem;
    }

    .project-info h3,
    .gallery-info h3 {
        font-size: 1.2rem;
    }

    .contact-grid,
    .quote-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes borderAnimation {
    0% {
        border-color: var(--primary-color);
    }

    50% {
        border-color: transparent;
    }

    100% {
        border-color: var(--primary-color);
    }
}

/* Animations générales */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.slide-in {
    animation: slideInFromRight 0.8s ease-out forwards;
    opacity: 0;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid var(--gray-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Page transition */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-orange);
}

.cta-button:active {
    transform: scale(0.95);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.4s ease;
}

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

.contact-form,
.quote-form {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--gray-medium);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 69, 0, 0.1);
}

.info-box {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box ol {
    padding-left: 1.5rem;
}

.info-box li {
    margin-bottom: 1rem;
}

/* Styles des liens dans la grille de contact */
.info-item a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 2px;
    font-weight: 500;
}

.info-item a:hover {
    color: var(--primary-color);
}

.info-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.info-item a:hover::after {
    width: 100%;
}

/* Styles améliorés pour la section contact */
.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.info-item:hover {
    background-color: rgba(255, 69, 0, 0.05);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 2.5rem;
    text-align: center;
    margin-right: 1rem;
}

.info-item p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

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

    .contact-info h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .info-item i {
        margin: 0 0 0.5rem 0;
        font-size: 1.5rem;
    }

    .info-item p {
        font-size: 1rem;
    }

    .contact-grid {
        gap: 1rem;
    }
}

.messages {
    margin-bottom: 20px;
}

.message {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}