@charset "UTF-8";

/* ================================
   GS-ELEC - STYLE GLOBAL
================================ */

:root {
    --dark: #07131b;
    --dark-soft: #0c2230;
    --blue-grey: #2f4858;
    --blue-grey-light: #3c5b6f;
    --green: #49c437;
    --green-dark: #36a826;
    --grey: #b0b0b0;
    --light: #f5f7f8;
    --white: #ffffff;
    --text: #1f2933;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

/* ================================
   HEADER
================================ */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
    color: var(--white);
    transition: all 0.3s ease;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    color: var(--dark);
    padding: 16px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

#header.scrolled .logo-white {
    opacity: 0;
}

#header.scrolled .logo-dark {
    opacity: 1;
}

#header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo img {
    width: 230px;
    height: auto;
}

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

nav a {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--green);
}

.logo{
    position:relative;
    display:block;
    width:210px;
    height:58px;
}

.logo img{
    position:absolute;
    inset:0;
    width:100%;
    height:auto;
    transition:opacity .35s ease;
}

.logo-white{
    opacity:1;
}

.logo-dark{
    opacity:0;
}

/* ================================
   BOUTONS
================================ */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 32px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

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

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

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: var(--white);
}

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

/* ================================
   HERO
================================ */

.hero {
    position: relative;
    min-height: 100vh;
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            var(--blue-grey) 0%,
            var(--blue-grey-light) 100%
        );
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 50%;
    height: 100%;
    background-image: url("../img/hero-septeo.jpg");
    background-repeat: no-repeat;
    background-size: auto 110%;
    background-position: right center;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(47, 72, 88, 1) 0%,
            rgba(47, 72, 88, 0.96) 32%,
            rgba(47, 72, 88, 0.72) 48%,
            rgba(47, 72, 88, 0.32) 68%,
            rgba(47, 72, 88, 0) 100%
        );
    z-index: 2;
    pointer-events: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(520px, calc(100% - 80px));
    max-width: 520px;
    margin-left: max(40px, calc((100vw - 1240px) / 2));
    margin-right: 0;
    padding-top: 110px;
    transform: none;
}

.hero h1 {
    font-size: clamp(56px, 6vw, 92px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -4px;
    margin-bottom: 28px;
}

.hero h2 {
    font-size: clamp(34px, 3.5vw, 52px);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.96;
}

.baseline {
    margin-top: 28px;
    color: var(--green);
    font-size: 28px;
    font-weight: 900;
}

.hero-text {
    margin-top: 24px;
    max-width: 560px;
    font-size: 17px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 36px;
}

.hero-domains {
    margin-top: 78px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.baseline{
    margin-top:32px;

    color:var(--green);

    font-size:20px;

    font-weight:900;

    text-transform:uppercase;

    letter-spacing:2px;
}

.baseline .separator{

    margin:0 12px;

    opacity:.65;

}


/* ================================
   SECTIONS
================================ */

section {
    padding: 110px 0;
}

.section-tag {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

section h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    color: var(--dark);
    font-weight: 700;
}

/* ================================
   APPROCHE
================================ */

.approche {
    background: var(--white);
}

.approche .container {
    display: grid;
    grid-template-columns: 1.1fr 1.6fr;
    gap: 80px;
    align-items: center;
}

.approche-intro p {
    margin-top: 24px;
    max-width: 520px;
    font-size: 16px;
}

.approche-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid #d9dee3;
}

.approche-grid article {
    padding: 38px 32px;
    border-right: 1px solid #d9dee3;
    text-align: center;
}

.approche-grid h3 {
    margin-bottom: 14px;
    color: var(--dark);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 900;
}

.approche-icon {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin: 0 auto 22px;
}

.title-line {
    display: block;
    width: 58px;
    height: 4px;
    margin: 14px auto 22px;
    background: var(--green);
    border-radius: 999px;
}

.approche-grid p {
    font-size: 15px;
}

/* ================================
   EXPERTISES
================================ */

.expertises {
    background: var(--light);
}

.expertises h2,
.realisations h2 {
    text-align: center;
    margin-bottom: 52px;
    text-transform: uppercase;
}

.expertises-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.expertises-grid article {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--dark);
    color: var(--white);
}

.expertises-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: all 0.4s ease;
}

.expertises-grid article::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7, 19, 27, 0.05) 0%,
            rgba(7, 19, 27, 0.72) 100%
        );
}

.expertises-grid article:hover img {
    opacity: 1;
    transform: scale(1.06);
}

.expertises-grid h3 {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 28px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

/* ================================
   REALISATIONS
================================ */

.realisations {
    background: var(--dark);
    color: var(--white);
}

.realisations h2 {
    color: var(--white);
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.realisations-grid article {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--dark);
    transition: all 0.35s ease;
}

.realisations-grid article:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.realisations-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: all 0.4s ease;
}

.realisations-grid article::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7, 19, 27, 0.05) 0%,
            rgba(7, 19, 27, 0.68) 100%
        );
}

.realisations-grid article:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.realisations-grid h3 {
    position: absolute;
    z-index: 2;
    left: 26px;
    right: 26px;
    bottom: 26px;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.center {
    text-align: center;
    margin-top: 48px;
}

/* ================================
   À PROPOS
================================ */

.apropos {
    background: var(--white);
}

.apropos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.apropos p {
    font-size: 17px;
}

/* ================================
   CONTACT
================================ */

.contact {
    background:
        linear-gradient(
            135deg,
            rgba(7, 19, 27, 0.98),
            rgba(12, 34, 48, 0.98)
        );
    color: var(--white);
}

.contact h2 {
    color: var(--white);
}

.contact p {
    margin-top: 8px;
    color: var(--green);
    font-size: 38px;
    font-weight: 900;
}

.contact-actions {
    display: flex;
    gap: 18px;
    margin-top: 36px;
}

/* ================================
   FOOTER
================================ */

.site-footer {
    background: var(--dark);
    color: var(--white);
}

.footer-top-line {
    height: 3px;
    background: var(--green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
    gap: 70px;
    padding: 70px 0;
}

.footer-logo img {
    width: 180px;
    height: auto;
}

.footer-tagline {
    margin-top: 24px;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

.footer-tagline strong {
    display: inline-block;
    margin-top: 8px;
    color: var(--green);
    font-weight: 900;
}

.footer-signature {
    margin-top: 22px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.6;
}

.footer-signature span {
    margin: 0 8px;
    font-size: 15px;
}

.footer-contact {
    margin-top: 28px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact span {
    display: inline-block;
    min-width: 52px;
    color: var(--white);
    font-weight: 800;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact a:hover {
    color: var(--green);
}

.footer-column h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-line {
    display: block;
    width: 54px;
    height: 4px;
    margin: 14px 0 24px;
    background: var(--green);
    border-radius: 999px;
}

.footer-column a {
    display: block;
    margin-bottom: 11px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    transition: all 0.25s ease;
}

.footer-column a:hover {
    color: var(--green);
    transform: translateX(6px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

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

/* Responsive footer */

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 56px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1100px) {

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

    .hero::before {
        width: 52%;
    }

    .hero::after {
        left: 45%;
    }
}

@media (max-width: 900px) {
	
	nav {
        display: none;
    }
	
    .approche .container,
    .apropos-content {
        grid-template-columns: 1fr;
    }

    .approche-grid,
    .realisations-grid {
        grid-template-columns: 1fr;
    }

    .approche-grid {
        border-left: none;
        gap: 18px;
    }

    .approche-grid article {
        border: 1px solid #d9dee3;
    }

    .hero::before {
        width: 100%;
        opacity: 0.24;
    }

    .hero::after {
        display: none;
    }

    .hero-content {
        max-width: 680px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1240px);
    }

    #header {
        padding: 18px 0;
    }

    #header.scrolled {
        padding: 12px 0;
    }

    .logo img {
        width: 170px;
    }

    #header .btn-primary {
        display: none;
    }

    .hero {
        min-height: 88vh;
    }

    .hero::before {
        opacity: 0.18;
        background-position: center right;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .baseline {
        font-size: 24px;
    }

    .hero-buttons,
    .contact-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-domains {
        margin-top: 46px;
        font-size: 12px;
    }

    section {
        padding: 72px 0;
    }

    .expertises-grid {
        grid-template-columns: 1fr;
    }

    .expertises-grid article {
        min-height: 250px;
    }
}