/* --- VARIABLES & RESET --- */
:root {
    --gradient: linear-gradient(-135deg, #a72be0, #ed1c24);
    --dark: #1a1a1a;
    --light: #f9f9fc;
    --white: #ffffff;
    --gray: #666666;
    --blue: #1c7aed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* --- UTILITAIRES --- */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-align: center;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(237, 28, 36, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #a72be0;
    color: var(--dark);
}

.btn-outline:hover {
    background: var(--gradient);
    color: var(--white) !important;
    border-color: transparent;
}

/* --- HEADER --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}

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

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

/* --- HERO SECTION --- */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 1.6)), url('imgs/bgwebsitenebraskywebp.webp') center/cover no-repeat;
    color: var(--white);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- TRUST SECTION --- */
.trust {
    padding: 80px 5%;
    text-align: center;
    background: var(--white);
}

.trust h2 {
    font-size: 2.8rem;
    margin-bottom: 60px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px 20px;
    align-items: end;
}

.client-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

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

.logo-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper img {
    max-width: 120px;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: 0.3s;
}

.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-item p {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

/* --- ABOUT SECTION (Sam) --- */
.about {
    padding: 100px 5%;
    background-color: var(--light);
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image { flex: 1; }

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background-color: var(--white);
}

.about-text { flex: 1.2; }

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--blue);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.signature {
    font-style: italic;
    color: var(--dark) !important;
    font-weight: 700;
}

.strengths {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.strengths h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.strengths ul { list-style: none; }

.strengths ul li {
    margin-bottom: 10px;
    font-weight: 500;
    position: relative;
    padding-left: 25px;
}

.strengths ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 900;
}

/* --- SERVICES SECTION --- */
.services {
    padding: 100px 5%;
    background-color: var(--white);
}

.services h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 70px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(167, 43, 224, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: 0.4s;
}

.service-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: 0.4s;
}

.service-card:hover .service-icon {
    background: var(--gradient);
    transform: rotate(-5deg) scale(1.1);
}

.service-card:hover .service-icon img {
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--blue);
}

.service-description {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- PROCESS SECTION --- */
.process {
    padding: 80px 5% 100px;
    background: var(--light);
}

.process h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--blue);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step { text-align: center; }

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(167, 43, 224, 0.3);
    transition: 0.5s ease;
}

.step-number:hover { transform: translateY(-2px); }

/* --- FOOTER --- */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 { font-size: 2rem; margin-bottom: 15px; }

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footerh3nav { text-align: center; }
.footerh3contact { text-align: right; }
.footer-contact p { margin-bottom: 10px; text-align: right; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* --- PAGE CONTACT --- */
.contact-page {
    padding: 100px 10%;
    background: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-page h2 {
    font-size: 3.5rem;
    margin: 0px 0 60px;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 70px;
    width: 100%;
    max-width: 950px;
}

.contact-form {
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 20px 25px;
    border: 2px solid transparent;
    background: var(--light);
    border-radius: 15px;
    outline: none;
    transition: 0.4s;
}

.input-group input:focus, .input-group textarea:focus {
    background: var(--white);
    border-color: #a72be0;
    box-shadow: 0 10px 20px rgba(167, 43, 224, 0.08);
}

.contact-infos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.info-card {
    background: var(--white);
    padding: 45px 25px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .contact-page { padding: 80px 7%; }
    .contact-infos { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 900px) {
    header { flex-direction: column; gap: 20px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 2.5rem; }
    .about-container { flex-direction: column; text-align: center; }
    .about-image { order: 1; width: 80%; }
    .about-text { order: 2; }
    .strengths ul li { padding-left: 0; }
    .strengths ul li::before { display: none; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact p, .footerh3contact { text-align: center; }
}

@media (max-width: 600px) {
    .logos-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: 1fr; }
    .hero h1, .trust h2, .services h2, .process h2, .contact-page h2 { font-size: 2rem; }
    .contact-form { padding: 30px 20px; }
}