/* 
* DOMAIN.COM - STYLES
* Palette de couleurs:
* - Primaire: #7F5AF0 (lavande)
* - Secondaire: #FF8906 (mandarine)
* - Fond: #FFF1E6 (crème)
* - Texte foncé: #1A1A1A
* - Texte moyen: #4A4A4A
* - Blanc: #FFFFFF
*/

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
}

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: #FFF1E6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #7F5AF0;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF8906;
}

ul, ol {
    list-style-position: inside;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* TYPOGRAPHIE */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #1A1A1A;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 8rem;
    height: 0.4rem;
    background-color: #FF8906;
    margin-top: 1rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.6rem;
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2::after {
    margin: 1rem auto;
}

.section-subtitle {
    font-size: 1.8rem;
    color: #4A4A4A;
    max-width: 60rem;
    margin: 0 auto 4rem;
    text-align: center;
}

/* BOUTONS */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 3rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: #7F5AF0;
    color: white;
    box-shadow: 0 0.4rem 0.8rem rgba(127, 90, 240, 0.3);
}

.btn-primary:hover {
    background-color: #6A48D7;
    color: white;
    transform: translateY(-0.2rem);
    box-shadow: 0 0.6rem 1.2rem rgba(127, 90, 240, 0.4);
}

.btn-secondary {
    background-color: #FF8906;
    color: white;
    box-shadow: 0 0.4rem 0.8rem rgba(255, 137, 6, 0.3);
}

.btn-secondary:hover {
    background-color: #E67A00;
    color: white;
    transform: translateY(-0.2rem);
    box-shadow: 0 0.6rem 1.2rem rgba(255, 137, 6, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #7F5AF0;
    border: 0.2rem solid #7F5AF0;
}

.btn-outline:hover {
    background-color: #7F5AF0;
    color: white;
}

/* HEADER & NAVIGATION */
.main-header {
    background-color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav .nav-links li a {
    color: #1A1A1A;
    font-weight: 600;
    padding: 0.8rem 1.2rem;
}

.main-nav .nav-links li a:hover {
    color: #7F5AF0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 4rem;
    height: 4rem;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    background-color: #1A1A1A;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:first-child {
    top: 1.2rem;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.mobile-menu-toggle span:last-child {
    bottom: 1.2rem;
}

.mobile-menu-toggle.active span:first-child {
    transform: translate(-50%, 0.7rem) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
    transform: translate(-50%, -0.7rem) rotate(-45deg);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('./img/f5vZ9g.jpg') center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 8rem 0;
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5.2rem;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #4A4A4A;
    animation: fadeIn 1.2s ease-out;
}

.hero .btn {
    animation: fadeInUp 1.4s ease-out;
}

/* ABOUT SECTION */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.about-text h2::after {
    margin-left: 0;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.value-icon {
    background-color: rgba(127, 90, 240, 0.1);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #7F5AF0;
    font-size: 2.4rem;
}

/* SERVICES SECTION */
.services {
    background-color: #F8F8F8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 20rem;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2.5rem;
}

.service-title {
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #7F5AF0;
    margin: 1.5rem 0;
}

/* STEPS SECTION */
.steps {
    background-color: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 7rem;
    right: -1.5rem;
    width: 3rem;
    height: 0.2rem;
    background-color: #FF8906;
    z-index: 1;
}

.step-number {
    width: 8rem;
    height: 8rem;
    background-color: #7F5AF0;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

.step-title {
    margin-bottom: 1rem;
}

/* TESTIMONIALS */
.testimonials {
    background-color: #F8F8F8;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 40rem;
    height: 40rem;
    background-color: rgba(255, 137, 6, 0.05);
    border-radius: 50%;
    top: -20rem;
    left: -20rem;
    z-index: 1;
}

.testimonials::after {
    content: '';
    position: absolute;
    width: 30rem;
    height: 30rem;
    background-color: rgba(127, 90, 240, 0.05);
    border-radius: 50%;
    bottom: -15rem;
    right: -15rem;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    font-style: italic;
    margin-bottom: 2rem;
    color: #4A4A4A;
}

.testimonial-content::before {
    content: '"';
    font-size: 6rem;
    position: absolute;
    top: -3rem;
    left: -1rem;
    color: rgba(127, 90, 240, 0.1);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 0.5rem;
}

.testimonial-info p {
    margin-bottom: 0;
    color: #7F5AF0;
    font-size: 1.4rem;
}

/* ADVANTAGES SECTION */
.advantages {
    background-color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.advantage-item {
    text-align: center;
    padding: 3rem;
    background-color: #F8F8F8;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 6rem;
    height: 6rem;
    background-color: rgba(127, 90, 240, 0.1);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.advantage-icon svg {
    width: 3rem;
    height: 3rem;
    fill: #7F5AF0;
}

/* CONTACT SECTION */
.contact {
    background-color: #F8F8F8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background-color: white;
    border-radius: 1rem;
    padding: 4rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #7F5AF0;
    box-shadow: 0 0 0 0.2rem rgba(127, 90, 240, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin-top: 0.4rem;
}

.form-check-label {
    font-size: 1.4rem;
    color: #4A4A4A;
}

.contact-map {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FOOTER */
.main-footer {
    background-color: #1A1A1A;
    color: white;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.company-description {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact address p {
    margin-bottom: 1rem;
}

.footer-contact address a {
    color: #FF8906;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: #FF8906;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* COOKIE POPUP */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    z-index: 1000;
    max-width: 40rem;
    width: calc(100% - 4rem);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 1.5rem;
}

.cookie-content p {
    margin-bottom: 2rem;
}

.cookie-content .btn {
    margin: 0 0.5rem;
}

/* ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .services-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 4rem;
    }
    
    .step-item:nth-child(odd)::after {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 60rem;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 4rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav .nav-links {
        position: fixed;
        top: 7rem;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease;
    }
    
    .main-nav .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 4.2rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }

    /* SECTION EXPERTISE */
    .expertise-content {
        grid-template-columns: 1fr;
    }
    
    .expertise-image {
        order: -1;
        margin-bottom: 3rem;
    }

    /* SECTION OFFICE */
    .office-wrapper {
        grid-template-columns: 1fr;
    }
    
    .office-image {
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 576px) {
    .services-grid,
    .advantages-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .step-item::after {
        display: none;
    }
}

/* ICON FONTS */
.icon-location::before {
    content: "📍";
    margin-right: 0.5rem;
}

.icon-phone::before {
    content: "📞";
    margin-right: 0.5rem;
}

.icon-email::before {
    content: "✉️";
    margin-right: 0.5rem;
} 

/* SECTION EXPERTISE */
.expertise {
    background-color: white;
    padding: 8rem 0;
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.expertise-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.expertise-image:hover img {
    transform: scale(1.02);
}

.expertise-text h3 {
    margin-bottom: 2rem;
    color: #7F5AF0;
}

.expertise-list {
    margin: 2.5rem 0;
    list-style-type: none;
}

.expertise-list li {
    padding: 0.8rem 0;
    position: relative;
    padding-left: 3rem;
}

.expertise-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #FF8906;
    font-weight: bold;
    font-size: 1.8rem;
}

/* SECTION OFFICE */
.office {
    background-color: #F8F8F8;
    padding: 8rem 0;
}

.office-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.office-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.office-info h3 {
    margin-bottom: 2rem;
    color: #7F5AF0;
}

.office-details {
    margin: 3rem 0;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.05);
}

.office-detail-item {
    margin-bottom: 1.5rem;
}

.office-detail-item:last-child {
    margin-bottom: 0;
}

.office-detail-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #1A1A1A;
}

.office-detail-item p {
    margin-bottom: 0;
    color: #4A4A4A;
} 