/*====Page services-site-web.html*/
.hero-stat {
    display: inline-block;
    background: rgba(100, 187, 175, 0.08);
    border-left: 3px solid var(--teal);
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 32px;
}


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

/* ===== NAV ===== */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background 0.4s, border-color 0.4s;
}

#nav.scrolled {
    background: rgba(26, 37, 53, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    width: auto;
    height: 88px;
    max-width: 240px;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--text-main);
    display: block;
}

.logo-text span {
    color: var(--teal);
}

.logo-baseline {
    font-family: 'Pacifico', cursive;
    font-size: 0.55rem;
    color: var(--orange);
    letter-spacing: 0.03em;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--orange);
    color: #1a2535 !important;
    font-weight: 700 !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--glow-orange) !important;
}

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

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(26, 37, 53, 0.97);
        backdrop-filter: blur(16px);
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open a {
        font-size: 1.1rem;
        color: #F0F2F5 !important;
    }

}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.25s, border-color 0.25s, background 0.25s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--teal);
    border-color: var(--teal);
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

body.light-mode .theme-toggle .icon-sun {
    display: block;
}

body.light-mode .theme-toggle .icon-moon {
    display: none;
}

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--text-main);
}

h4,
h5,
.nav-item {
    font-family: 'Raleway', sans-serif;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 96px 0;
}

/* ── HERO ── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(52, 126, 161, 0.13) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 100%, rgba(65, 156, 144, 0.09) 0%, transparent 55%);
}

#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 140px 0 80px;
}

.geo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 126, 161, 0.1);
    border: 1px solid rgba(52, 126, 161, 0.3);
    border-radius: 100px;
    padding: 6px 14px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
}

.geo-dot {
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.hero-h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    animation: fadeUp 0.6s 0.15s ease both;
}

.h1-accent {
    color: var(--teal);
}

.hero-sub {
    font-family: 'Arimo', sans-serif;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeUp 0.6s 0.3s ease both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.45s ease both;
}

.btn-primary {
    background: var(--orange);
    color: #1a2535;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 153, 82, 0.35);
}

.btn-secondary {
    border: 2px solid var(--blue);
    color: var(--text-main);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    background: transparent;
    transition: all 0.2s;
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

/* ── STATS ── */
#stats {
    padding: 64px 0;
    border-top: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 5vw, 4rem);
    color: var(--teal);
    line-height: 1;
}

.stat-suffix {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: var(--orange);
}

.stat-label {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 8px;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ── SERVICES ── */
#services {
    padding: 96px 0;
    background: var(--bg-subtle);
}

.section-label {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
    background: rgba(100, 187, 175, 0.12);
    padding: 4px 10px;
    border-radius: 4px;
}

#services h2 {
    margin-bottom: 16px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 100%;
    margin-bottom: 56px;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--glow-blue);
    border-color: var(--blue);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--teal);
    stroke-width: 2;
    fill: none;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ── CARD LINK — lien "En savoir plus" sur les cards services ── */
.card-link {
    display: inline-block;
    margin-top: 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--teal);
    text-decoration: none;
    border-bottom: 1px solid rgba(100, 187, 175, 0.4);
    transition: border-color 0.2s;
}

.card-link:hover {
    border-color: var(--teal);
}

/* ── RÉALISATIONS ── */
#realisations {
    padding: 96px 0;
}

#realisations h2 {
    margin-bottom: 32px;
}

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

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--glow-blue);
}

.portfolio-thumb {
    height: 220px;
    background: linear-gradient(135deg, var(--bg-subtle), var(--bg-deep));
    position: relative;
    overflow: hidden;
}

.portfolio-card:nth-child(1) .portfolio-thumb {
    background: linear-gradient(135deg, #1a3a4a, #0d2233);
}

.portfolio-card:nth-child(2) .portfolio-thumb {
    background: linear-gradient(135deg, #1a3528, #0d1f18);
}

.portfolio-card:nth-child(3) .portfolio-thumb {
    background: linear-gradient(135deg, #2a2518, #1a160d);
}

.portfolio-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-muted);
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 100px;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 15, 20, 0.92);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.portfolio-result {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--teal);
}

.portfolio-link {
    display: inline-block;
    margin-top: 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--orange);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 153, 82, 0.4);
    transition: border-color 0.2s;
}

.portfolio-link:hover {
    border-color: var(--orange);
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.meta-sector {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    white-space: nowrap;
}

.meta-type {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-subtle);
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.portfolio-card:nth-child(1) .meta-type,
.portfolio-card:nth-child(4) .meta-type {
    color: var(--teal);
    border: 1px solid rgba(100, 187, 175, 0.3);
}

.portfolio-thumb--app {
    background: linear-gradient(135deg, #2a1a4a, #1a0d33);
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ── À PROPOS ── */
#apropos {
    padding: 96px 0;
    background: var(--bg-subtle);
}

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

.apropos-text h2 {
    margin-bottom: 20px;
}

.apropos-text p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.apropos-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tag {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 16px;
}

.member-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.member-info strong {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.member-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.team-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .apropos-grid {
        grid-template-columns: 1fr;
    }
}

/* ── TÉMOIGNAGES ── */
#temoignages {
    padding: 96px 0;
}

#temoignages h2 {
    margin-bottom: 32px;
}

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

.temoignage-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.temo-quote {
    font-size: 2rem;
    color: var(--teal);
    line-height: 1;
}

.temo-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    flex: 1;
}

.temo-author {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.temo-name {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.temo-info {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .temoignages-grid {
        grid-template-columns: 1fr;
    }
}

/* ── CONTACT ── */
#contact {
    padding: 96px 0;
    background: var(--bg-subtle);
}

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

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

.form-group label {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    color: var(--text-main);
    font-family: 'Arimo', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.25s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
}

.btn-submit {
    width: 100%;
    background: var(--orange);
    color: #1a2535;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--glow-orange);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ── FOOTER ── */
#footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 56px;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-legal h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 16px;
}

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

.footer-links a,
.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--teal);
}

.footer-address {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

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