* {

    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI", Arial, sans-serif;

}


:root {

    --bg:#07111f;
    --card:#101c32;
    --card-hover:#162943;
    --text:#f8fafc;
    --muted:#94a3b8;
    --blue:#38bdf8;
    --purple:#818cf8;
    --border:rgba(255,255,255,.08);

}


html {

    scroll-behavior:smooth;

}


body {

    background:var(--bg);
    color:var(--text);
    line-height:1.6;

}



.container {

    width:min(1150px,90%);
    margin:auto;

}



section {

    padding:100px 0;

}



/* ==========================
   GENERAL
========================== */


.gradient {

    background:
    linear-gradient(
        90deg,
        var(--blue),
        var(--purple)
    );

    -webkit-background-clip:text;
    color:transparent;

}



.title {

    text-align:center;

    font-size:2.5rem;

    margin-bottom:60px;

}



.button {

    display:inline-block;

    margin-top:35px;

    padding:15px 35px;

    border-radius:40px;

    background:
    linear-gradient(
        90deg,
        var(--blue),
        var(--purple)
    );

    color:white;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}



.button:hover {

    transform:translateY(-4px);

}



/* ==========================
   HERO
========================== */


.hero {

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

    overflow:hidden;

}



.hero:before {

    content:"";

    position:absolute;

    width:700px;

    height:700px;

    background:
    linear-gradient(
        45deg,
        var(--blue),
        var(--purple)
    );

    filter:blur(220px);

    opacity:.15;

    right:-200px;

    top:-200px;

}



.hero-grid {

    display:grid;

    grid-template-columns:
    1.2fr .8fr;

    gap:70px;

    align-items:center;

}



.hero-content {

    max-width:700px;

}



.hero h1 {

    font-size:
    clamp(3rem,5vw,3.5rem);

    line-height:1.05;

}



.hero p {

    margin-top:30px;

    font-size:1.25rem;

    color:var(--muted);

}

.form-container {

    width:95%;
    max-width:900px;
    height:1000px;
    margin:40px auto 0;
    background:white;
    border-radius:20px;
    overflow:hidden;

}


.form-container iframe {

    display:block;
    width:100%;
    height:100%;
    border:none;

}


@media(max-width:600px){

    .form-container {

        height:1100px;
        width:100%;
        border-radius:15px;

    }

}

/* ==========================
   PROFILE
========================== */


.profile-card {

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:25px;

}



.photo {

    width:300px;

    height:300px;

    border-radius:50%;

    overflow:hidden;

    background:#16243b;

    border:
    4px solid rgba(255,255,255,.15);

    box-shadow:
    0 20px 50px rgba(0,0,0,.3);

}



.photo img {

    width:100%;

    height:100%;

    object-fit:cover;

}



.profile-info {

    width:100%;

    background:var(--card);

    padding:30px;

    border-radius:25px;

    text-align:center;

    border:
    1px solid var(--border);

}



.profile-info h2 {

    font-size:2rem;

}



.profile-info p {

    color:var(--muted);

    margin:8px 0;

}



.profile-info span {

    color:var(--blue);

    font-weight:600;

}



.mini-tags {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:12px;

    margin-top:20px;

}



.mini-tags div {

    background:#17263d;

    padding:7px 15px;

    border-radius:20px;

    font-size:.85rem;

}



.linkedin-link {

    display:inline-block;

    margin-top:25px;

    padding:9px 20px;

    border-radius:25px;

    border:
    1px solid rgba(56,189,248,.5);

    color:var(--blue);

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}



.linkedin-link:hover {

    background:var(--blue);

    color:white;

}



/* ==========================
   ABOUT
========================== */


.about {

    display:grid;

    grid-template-columns:
    1.1fr .9fr;

    gap:80px;

    align-items:center;

}



.about p {

    color:var(--muted);

    font-size:1.1rem;

}



.skills {

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:15px;

}



.skill {

    background:
    linear-gradient(
        145deg,
        var(--card),
        #162943
    );

    padding:22px;

    border-radius:18px;

    border:
    1px solid var(--border);

    font-weight:600;

}



.skill:before {

    content:"◆";

    color:var(--blue);

    margin-right:10px;

}



/* ==========================
   TIMELINE
========================== */


.timeline {

    border-left:
    2px solid var(--blue);

    padding-left:35px;

}



.timeline div {

    margin-bottom:45px;

}



.timeline h3 {

    margin-bottom:10px;

}



.timeline p {

    color:var(--muted);

}



/* ==========================
   PORTFOLIO / REALISATIONS
========================== */


.section-intro {

    max-width:700px;

    margin:-35px auto 60px;

    text-align:center;

    color:var(--muted);

    font-size:1.1rem;

}



.portfolio-grid {

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

}



.portfolio-card {

    background:var(--card);

    border-radius:25px;

    overflow:hidden;

    border:
    1px solid var(--border);

    transition:.35s;

}



.portfolio-card:hover {

    transform:translateY(-10px);

    border-color:var(--blue);

}



.portfolio-card img {

    width:100%;

    height:230px;

    object-fit:cover;

}



.portfolio-content {

    padding:30px;

}



.portfolio-content h3 {

    font-size:1.4rem;

    margin-bottom:15px;

}



.portfolio-content p {

    color:var(--muted);

}



.portfolio-tags {

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:20px;

}



.portfolio-tags span {

    background:#17263d;

    color:var(--blue);

    padding:6px 14px;

    border-radius:20px;

    font-size:.85rem;

}



/* ==========================
   OFFRES
========================== */


.cards {

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}



.card {

    background:var(--card);

    padding:35px;

    border-radius:25px;

    border:
    1px solid var(--border);

    transition:.35s;

}



.card:hover {

    transform:translateY(-10px);

    background:var(--card-hover);

    border-color:var(--blue);

}



.card p {

    color:var(--muted);

    margin-top:15px;

}



.card ul {

    list-style:none;

    margin-top:20px;

}



.card li {

    margin-bottom:10px;

}



.card li:before {

    content:"✓ ";

    color:var(--blue);

}



.price {

    margin-top:25px;

    color:var(--blue);

    font-size:1.8rem;

    font-weight:700;

}



/* ==========================
   CONTACT
========================== */


.contact {

    background:var(--card);

    padding:60px;

    border-radius:30px;

    text-align:center;

}



.contact p {

    color:var(--muted);

    max-width:650px;

    margin:20px auto;

}



form {

    max-width:500px;

    margin:40px auto 0;

    display:flex;

    flex-direction:column;

    gap:15px;

}



input,
textarea {

    padding:15px;

    border-radius:10px;

    border:none;

    background:#17263d;

    color:white;

}



textarea {

    height:130px;

}



button {

    border:none;

    cursor:pointer;

}



/* ==========================
   ANIMATIONS
========================== */


.fade {

    opacity:0;

    transform:translateY(40px);

    transition:1s ease;

}



.fade.show {

    opacity:1;

    transform:none;

}



/* ==========================
   RESPONSIVE
========================== */


@media(max-width:900px){


section {

    padding:70px 0;

}



.hero-grid {

    grid-template-columns:1fr;

    text-align:center;

}



.profile-card {

    order:-1;

}



.about {

    grid-template-columns:1fr;

    text-align:center;

}



.skills {

    grid-template-columns:1fr;

}



.photo {

    width:250px;

    height:250px;

}



.contact {

    padding:40px 20px;

}



.hero h1 {

    font-size:2.8rem;

}


}