/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= VARIABLES ================= */
:root {
    --pink: #ff2f92;
    --pink-soft: #ff85c2;
    --white: #ffffff;
    --gray-bg: #f7f7f9;
    --text-dark: #222;
    --shadow: rgba(0,0,0,0.08);
}

/* ================= BODY ================= */
body {
    font-family: 'Montserrat', sans-serif;
    background: var(--gray-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ================= NAV ================= */
nav {
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 6px 25px var(--shadow);
    transition: all 0.4s ease;
}
nav .logo {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--pink);
    cursor: pointer;
    transition: transform 0.4s ease, color 0.4s ease;
}
nav .logo:hover {
    transform: scale(1.2) rotate(-5deg);
    color: var(--pink-soft);
}
.nav-links a {
    position: relative;
    margin-left: 30px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a.active {
    color: var(--pink);
}
.nav-links a:hover {
    color: var(--pink-soft);
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: var(--pink);
    transition: width 0.4s ease;
    border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ================= HERO ================= */
header.page-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    text-align: center;
}
header.page-hero h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}
header.page-hero p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: #555;
}

/* ================= SECTIONS ================= */
section.portfolio {
    padding: 100px 8%;
    text-align: center;
}
section.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}
section.portfolio p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-family: 'Roboto', sans-serif;
    color: #555;
}

/* ================= CARDS ================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px var(--shadow);
    transition: all 0.4s ease;
    cursor: pointer;
}
.service-card h3 {
    color: var(--pink);
    margin-bottom: 15px;
}
.service-card p {
    color: #555;
}
.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255,47,146,0.25);
}

/* ================= BUTTONS ================= */
.btn-primary {
    background: var(--pink);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(255,47,146,0.25);
}
.btn-primary:hover {
    background: var(--pink-soft);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,47,146,0.35);
}

/* ================= ANIMATIONS AU SCROLL ================= */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}
