:root {
    /* Couleurs de marque */
    --black: #000807;
    --iris: #5155B8;
    --persian-blue: #2D38C8;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --transition: all 0.3s ease;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Bandeau Site en travaux */
.construction-banner {
    background-color: var(--persian-blue);
    color: var(--white);
    text-align: center;
    padding: 10px;
    font-weight: 500;
    font-size: 0.9em;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Header */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--persian-blue);
}

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

.nav a:hover::after {
    width: 100%;
}

/* Hamburger menu */
.hamburger {
    display: none;
    position: relative;
    cursor: pointer;
}

.hamburger i {
    font-size: 1.5em;
    color: var(--persian-blue);
    transition: var(--transition);
}

.hamburger:hover i {
    transform: scale(1.2);
    color: var(--iris);
}

.hamburger-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 20px;
    list-style: none;
    min-width: 200px;
}

.hamburger-menu.active {
    display: block;
}

.hamburger-menu li {
    margin-bottom: 10px;
}

.hamburger-menu a {
    color: var(--black);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: var(--transition);
}

.hamburger-menu a:hover {
    color: var(--persian-blue);
}

/* Section Hero */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 20px;
}

.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.primary-btn {
    background-color: var(--persian-blue);
    color: var(--white);
}

.primary-btn:hover {
    background-color: var(--iris);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.secondary-btn:hover {
    background-color: var(--white);
    color: var(--persian-blue);
}

/* Sections générales */
.section {
    padding: 80px 5%;
}

.section-title {
    font-size: 3.5em;
    margin-bottom: 70px;
    color: var(--persian-blue);
    font-weight: 700;
    text-align: center;
}

.section-title span {
    color: var(--iris);
}

/* Section Services */

.services-section {
    background-color: var(--light-gray);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.service-icon {
    font-size: 2.5em;
    color: var(--persian-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--persian-blue);
    font-weight: 600;
}

.service-card p {
    color: var(--black);
    opacity: 0.8;
}

/* Section Portfolio */
.portfolio-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 350px;
    transition: var(--transition);
}

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

.portfolio-img {
    height: 250px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-info {
    padding: 20px;
    background-color: var(--white);
}

.portfolio-info h3 {
    color: var(--persian-blue);
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--black);
    opacity: 0.7;
}

/* Section Témoignages */
.temoin-section {
    background-color: var(--light-gray);
}

.temoin-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.temoin-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.temoin-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.temoin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--persian-blue), var(--iris));
}

.temoin-content {
    padding: 20px 0;
}

.quote-icon {
    font-size: 2em;
    color: var(--persian-blue);
    margin-bottom: 15px;
    opacity: 0.3;
}

.temoin-content p {
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--black);
    line-height: 1.8;
    position: relative;
}

.temoin-content p::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background: linear-gradient(to bottom, var(--persian-blue), var(--iris));
}

.temoin-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--persian-blue);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--persian-blue);
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info span {
    color: #666;
    font-size: 0.9em;
}

/* Section Contact */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(45, 56, 200, 0.2);
    border-radius: 8px;
    font-size: 1em;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--persian-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 56, 200, 0.1);
}

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

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(45, 56, 200, 0.2);
    border-radius: 8px;
    font-size: 1em;
    appearance: none;
    background-color: var(--white);
    color: #888;
    cursor: pointer;
    transition: var(--transition);
}

.custom-select select:focus {
    border-color: var(--persian-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 56, 200, 0.1);
    color: var(--black);
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(45, 56, 200, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--persian-blue), var(--iris));
    color: var(--white);
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    font-weight: 300;
    opacity: 0.8;
}

.footer-contact {
    text-align:left;
}

.footer-contact h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9em;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .section-title {
        font-size: 2em;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .temoin-card {
        padding: 20px;
    }

    .temoin-content p {
        font-size: 1em;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }
}
