/* ═══════════════════════════════════════
   CUSTOM PROPERTIES
═══════════════════════════════════════ */
:root {
    --green:       #99CB38;
    --green-dark:  #70AD47;
    --green-light: #f2f9e5;
    --black:       #1a1a1a;
    --gray:        #6b7280;
    --gray-light:  #f5f5f5;
    --white:       #ffffff;
    --border:      #e5e7eb;
    --max-width:   1200px;
    --radius:      10px;
    --shadow:      0 4px 24px rgba(0,0,0,0.08);
    --transition:  0.2s ease;
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }

img { max-width: 100%; display: block; }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 96px 0; }

.section__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section__header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.section__header p { color: var(--gray); font-size: 1.1rem; }

.section__header--light h2 { color: var(--white); }
.section__header--light p  { color: rgba(255,255,255,0.65); }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn--primary:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(153, 203, 56, 0.35);
}

.btn--nav {
    background: var(--green);
    color: var(--white);
    padding: 9px 20px;
    font-size: 0.9rem;
}

.btn--nav:hover { background: var(--green-dark); color: var(--white); }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo img { height: 76px; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav__links a:not(.btn) {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    color: var(--black);
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav__links a:not(.btn):hover { color: var(--green); }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero .container { position: relative; z-index: 1; }

.hero__label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    max-width: 720px;
    margin-bottom: 24px;
}

.hero__sub {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero__bg {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 560px;
    pointer-events: none;
    opacity: 0.08;
}

/* ═══════════════════════════════════════
   APPROCHE — STEPS
═══════════════════════════════════════ */
.approche { background: var(--gray-light); }

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

.step {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}

.step:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.step__visual {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--black);
}

.step__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.step:hover .step__visual img {
    transform: scale(1.04);
}

.step__content {
    padding: 24px;
    flex: 1;
}

.step__num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 12px;
}

.step__content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step__content p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.65;
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    border-top: 3px solid var(--green);
    transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.service-card--secondary {
    border-top-color: var(--border);
    background: var(--gray-light);
}

.service-card__icon {
    width: 30px;
    height: 30px;
    color: var(--green-dark);
    margin-bottom: 14px;
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.service-card p  { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* ═══════════════════════════════════════
   RÉALISATIONS
═══════════════════════════════════════ */
.realisations { background: var(--white); }

.realisations .steps { grid-template-columns: repeat(4, 1fr); }

.step--hidden { display: none; }

.voir-plus-wrap {
    text-align: center;
    margin-top: 40px;
}

.step__tag {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--green-light);
    border: 1px solid rgba(112,173,71,0.25);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 10px;
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact { background: var(--green-light); }

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: start;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--black);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(153, 203, 56, 0.2);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 6px;
}

.contact__item { display: flex; gap: 14px; align-items: flex-start; }

.contact__item svg {
    width: 20px;
    height: 20px;
    color: var(--green-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__item div { display: flex; flex-direction: column; gap: 3px; }

.contact__item strong {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact__item span,
.contact__item a { font-size: 0.9rem; color: var(--gray); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
    background: var(--black);
    padding: 36px 0;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer img { height: 32px; filter: brightness(0) invert(1); opacity: 0.6; }

.footer p { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer a { color: rgba(255,255,255,0.5); }
.footer a:hover { color: var(--green); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 960px) {
    section { padding: 72px 0; }

    .steps { grid-template-columns: repeat(2, 1fr); }
    .realisations .steps { grid-template-columns: repeat(2, 1fr); }
    .services__grid { grid-template-columns: repeat(2, 1fr); }

    .contact__grid { grid-template-columns: 1fr; gap: 48px; }

    .hero__bg { width: 380px; opacity: 0.05; }
}

@media (max-width: 640px) {
    section { padding: 56px 0; }
    .section__header { margin-bottom: 40px; }

    .nav__links {
        display: none;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .nav__links--open { display: flex; }
    .nav__burger { display: flex; }

    .steps            { grid-template-columns: 1fr; }
    .realisations .steps { grid-template-columns: 1fr; }
    .services__grid   { grid-template-columns: 1fr; }
    .projects         { grid-template-columns: 1fr; }

    .hero__bg { display: none; }
}
