/* ===== BASE CSS ===== */

/* Import des polices Google Fonts (même que v1) */
/* Google Fonts chargées via preload dans le template */

/* Variables CSS - COULEURS V1 */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #7004bc;
    --accent-color: #3264f5;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --bg-gradient: linear-gradient(to right, #3264f5 2%, #7004bc 82%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
    
    /* Polices (même que v1) */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.2px;
}

body.nav-open {
    overflow: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #404854;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-family: var(--font-primary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    font-family: var(--font-heading);
    text-transform: capitalize;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
}

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

.btn-white {
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
}

.btn-white:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
}

.btn-full {
    width: 100%;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #404854;
    line-height: 1.2;
}

/* Heading Area - Styles exacts de la v1 */
.heading-area .sub-title {
    font-size: 18px;
    font-weight: 400;
    color: #696969;
    display: block;
    margin-bottom: 10px;
}

.heading-area .title {
    font-size: 40px;
    font-weight: 600;
    margin: 15px 0 25px;
    color: #404854;
    line-height: 1.2;
}

.heading-area .para {
    font-size: 16px;
    line-height: 1.6;
    color: #696969;
    margin-bottom: 30px;
}

.alt-color {
    color: #03a9f5;
}

.main-color {
    color: #f033b5;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Bouton bleu avec effet hover */
.btn-blue {
    background: #03a9f5;
    border-color: #03a9f5;
    color: white;
}

.btn-blue:hover {
    background: transparent;
    color: #03a9f5;
    border-color: #03a9f5;
}

/* Cartes de fonctionnalités */
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #9556f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(149, 86, 245, 0.3);
}

.feature-card h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #404854;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #696969;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Section Solution */
.solution-image {
    text-align: center;
    padding: 2rem 0;
}

.solution-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.solution-content {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.solution-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #404854;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.solution-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #696969;
    margin-bottom: 2rem;
}

.solution-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: #03a9f5;
    border-color: #03a9f5;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0288d1;
    border-color: #0288d1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 169, 245, 0.3);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid #03a9f5;
    color: #03a9f5;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #03a9f5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 169, 245, 0.3);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .solution-title {
        font-size: 2rem;
    }
    
    .solution-text {
        font-size: 1rem;
    }
    
    .solution-buttons {
        flex-direction: column;
    }
    
    .solution-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Section Site Web - Cartes copie conforme v1 */
.section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #696969;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* Styles exacts de la v1 pour about-box */
.about-box {
    border-radius: 20px;
    padding: 50px 15px 50px;
    background: #ffffff;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(127, 123, 123, 0.1);
    transition: ease-in-out 0.3s;
    height: 100%;
    position: relative;
}

.about-box:hover {
    background: #03b3cb;
    box-shadow: 0 0 10px -2px rgba(127, 123, 123, 0.9);
}

.about-box-violet {
    border: 3px solid #645DBA;
}

.about-box-pink {
    border: 3px solid #EF60B4;
}

.template-type {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f033b5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.template-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #404854;
    margin-bottom: 1rem;
    transition: ease-in-out 0.3s;
}

.template-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #696969;
    margin-bottom: 1.5rem;
    transition: ease-in-out 0.3s;
}

.about-main-icon {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-main-icon img {
    width: 80px;
    transform: translateY(0);
    transition: ease-in-out 0.3s;
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.about-box:hover .about-main-icon img {
    transform: translateY(-10px);
}

.about-box:hover .template-title,
.about-box:hover .template-description {
    color: #fff;
}

/* Boutons avec effet hover de la v1 */
.btn {
    -webkit-appearance: initial;
    overflow: hidden;
    position: sticky;
    z-index: 2;
    display: inline-block;
    font-size: 17px;
    border: 2px solid transparent;
    letter-spacing: .5px;
    line-height: inherit;
    border-radius: 0;
    text-transform: capitalize;
    width: auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease !important;
    transition: all .5s ease !important;
}

.btn.btn-large {
    font-size: 14px;
    padding: 9px 34px;
    line-height: 1.8em;
}

.btn.btn-rounded {
    border-radius: 50px;
}

.btn.btn-pink {
    background: #f023b6;
    border-color: #f023b6;
    color: #ffffff;
}

.btn-hvr-setting {
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.btn-hvr-setting-inner {
    position: relative;
    display: block;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.btn-hvr-effect {
    position: absolute;
    top: -5px;
    width: 40%;
    height: 100%;
    border-radius: 100%;
    -webkit-transform: translate3d(0, 150%, 0) scale(1.7);
    transform: translate3d(0, 150%, 0) scale(1.7);
    -webkit-transition: -webkit-transform 0.45s;
    -o-transition: -o-transform 0.45s;
    transition: transform 0.45s;
    background: transparent;
    border-color: transparent;
    opacity: 0;
    visibility: hidden;
}

.btn-hvr-effect:nth-child(1) {
    left: -20%;
    -webkit-transition-delay: 0s;
    transition-delay: 0s !important;
}

.btn-hvr-effect:nth-child(2) {
    left: 20%;
    -webkit-transition-delay: 0.08s;
    transition-delay: 0.08s !important;
}

.btn-hvr-effect:nth-child(3) {
    left: 60%;
    -webkit-transition-delay: 0.16s;
    transition-delay: 0.16s !important;
}

.btn-hvr-effect:nth-child(4) {
    left: 100%;
    -webkit-transition-delay: 0.24s;
    transition-delay: 0.24s !important;
}

.btn-hvr-setting:hover .btn-hvr-effect,
.btn:hover .btn-hvr-effect,
.btn:active .btn-hvr-effect,
.btn:focus .btn-hvr-effect {
    -webkit-transform: translateZ(0) scale(1.7);
    transform: translateZ(0) scale(1.7) !important;
    opacity: 1;
    visibility: visible;
}

.btn-hvr-pink .btn-hvr-effect {
    background: #f023b6;
    border-color: #f023b6;
}

.btn-hvr-blue .btn-hvr-effect {
    background: #03A9F5;
    border-color: #03A9F5;
}



/* Half Image */
.half-img {
    text-align: center;
    padding: 2rem 0;
}

.half-img img {
    max-width: 100%;
    height: auto;
}

/* Process Wrapper - Styles exacts de la v1 */
.process-wrapp {
    text-align: center;
    cursor: pointer;
    margin-bottom: 2rem;
}

.process-wrapp > .service-heading {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 400;
    margin-top: 20px;
    color: #404854;
}

.process-wrapp > .pro-step {
    position: relative;
    z-index: 1;
    display: inline-block;
    height: 90px;
    width: 90px;
    line-height: 90px;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    transition: all .3s ease;
}

.process-wrapp:hover > .pro-step::before {
    content: "";
    background: transparent;
    top: 1px;
    left: 1px;
    bottom: 1px;
    right: 1px;
    position: absolute;
    border-radius: 50%;
    border: 4px solid #fff;
    transition: all .3s ease-in-out;
}

.process-wrapp > .pro-step.blue {
    background: #03a9f5;
}

.process-wrapp:hover .pro-step.blue {
    animation: itg_pulse_blue 1s infinite;
    box-shadow: 0 0 0 0 rgb(0, 188, 212);
}

.process-wrapp > .pro-step.midnight {
    background: #41526b;
}

.process-wrapp:hover .pro-step.midnight {
    animation: itg_pulse_midnight 1s infinite;
    box-shadow: 0 0 0 0 rgb(65, 82, 107);
}

.process-wrapp > .pro-step.purple {
    background: #9556f5;
}

.process-wrapp:hover .pro-step.purple {
    animation: itg_pulse_purple 1s infinite;
    box-shadow: 0 0 0 0 rgb(149, 86, 245);
}

.process-wrapp > .pro-step.pink {
    background: #f021b6;
}

.process-wrapp:hover .pro-step.pink {
    animation: itg_pulse_pink 1s infinite;
    box-shadow: 0 0 0 0 rgb(240, 33, 182);
}

/* Animations pour les icônes */
@keyframes itg_pulse_blue {
    0% {
        box-shadow: 0 0 0 0 rgb(0, 188, 212);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 188, 212, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 188, 212, 0);
    }
}

@keyframes itg_pulse_midnight {
    0% {
        box-shadow: 0 0 0 0 rgb(65, 82, 107);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(65, 82, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(65, 82, 107, 0);
    }
}

@keyframes itg_pulse_purple {
    0% {
        box-shadow: 0 0 0 0 rgb(149, 86, 245);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(149, 86, 245, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(149, 86, 245, 0);
    }
}

@keyframes itg_pulse_pink {
    0% {
        box-shadow: 0 0 0 0 rgb(240, 33, 182);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(240, 33, 182, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(240, 33, 182, 0);
    }
}

/* Section Parallaxe - 50% de la hauteur */
.parallax-section {
    position: relative;
    height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: white;
}

.parallax-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.parallax-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.parallax-section .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.parallax-section .btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .parallax-section {
        height: 60vh;
    }
    
    .parallax-title {
        font-size: 2rem;
    }
    
    .parallax-text {
        font-size: 1rem;
    }
    
    /* Désactiver parallaxe sur mobile pour de meilleures performances */
    .parallax-bg {
        background-attachment: scroll;
    }
}

.bg-gray {
    background-color: var(--bg-gray);
}

.bg-gradient {
    background: var(--bg-gradient);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 50%, #4a5568 100%);
}

.text-white {
    color: white;
}

.text-lg {
    font-size: 1.125rem;
}

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

.mb-8 {
    margin-bottom: 2rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 .card:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

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

.card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #404854;
    margin: 1rem 0 1rem 0;
}

.card p {
    color: #696969;
    line-height: 1.6;
    margin: 0;
}

/* Icons */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.icon-blue { background: #03a9f5; }
.icon-purple { background: #7004bc; }
.icon-pink { background: #f023b6; }
.icon-gray { background: #404854; }

/* Flexbox utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.gap-4 {
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .section {
        padding: 3rem 0;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.25rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* Styles pour les cartes news-item (section site web) */
.news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-item > div:first-child {
    position: relative;
    overflow: hidden;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.news-item > div:first-child img {
    width: 90%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 8px;
    max-width: 400px;
}

.news-item:hover > div:first-child img {
    transform: scale(1.05);
}

.news-text-box {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-text-box .date {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.news-text-box .news-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #404854;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-text-box .news-title:hover {
    color: var(--primary-color);
}

.news-text-box .para {
    color: #696969;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex: 1;
}

/* Couleurs de fond pour les cartes */
.news-item:nth-child(1) > div:first-child {
    background-color: #645DBA;
}

.news-item:nth-child(2) > div:first-child {
    background-color: #EF60B4;
}

/* Responsive pour les cartes */
@media (max-width: 768px) {
    .news-item {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .news-text-box {
        padding: 1.5rem;
    }
    
    .news-text-box .news-title {
        font-size: 1.25rem;
    }
} 