/* ============================================================
   GSI 3D — Style Principal
   Palette : Bleu #00365b | Vert #069a44
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --primary:        #00365b;
    --primary-dark:   #002440;
    --primary-light:  #004d80;
    --accent:         #069a44;
    --accent-dark:    #057a36;
    --accent-light:   #07b84f;
    --white:          #ffffff;
    --bg:             #ffffff;
    --bg-alt:         #f0f7ff;
    --bg-dark:        #0a1628;
    --text:           #1a2332;
    --text-light:     #5a6a7e;
    --border:         #dde6f0;
    --shadow-sm:      0 2px 8px rgba(0, 54, 91, 0.08);
    --shadow-md:      0 8px 30px rgba(0, 54, 91, 0.12);
    --shadow-lg:      0 20px 60px rgba(0, 54, 91, 0.18);
    --radius:         16px;
    --radius-sm:      8px;
    --radius-xl:      24px;
    --transition:     0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
blockquote { font-style: italic; }

/* ── Conteneur ─────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Section commune ───────────────────────────────────────── */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(6, 154, 68, 0.1);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    border: 1px solid rgba(6, 154, 68, 0.2);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ── Boutons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 54, 91, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 54, 91, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(6, 154, 68, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 154, 68, 0.4);
}

.btn-outline-white {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

/* ── Animations scroll ─────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

/* Animation spécifique pour card-2 : préserve son offset translate */
@keyframes float-card2 {
    0%, 100% { transform: translate(-30%, -50%) translateY(0px); }
    50%       { transform: translate(-30%, -50%) translateY(-12px); }
}

@keyframes pulse-ring {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.7s ease forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
    backdrop-filter: blur(12px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.nav-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition);
}

.navbar.scrolled .nav-logo-text { color: var(--primary); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.navbar.scrolled .nav-link {
    color: var(--text-light);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--bg-alt);
}

.nav-link.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
}

.nav-link.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar.scrolled .bar { background: var(--primary); }

.nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #0a1628 0%, #00365b 55%, #004d80 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

#particlesCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--primary-light);
    bottom: -80px;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 0 9rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6, 154, 68, 0.15);
    border: 1px solid rgba(6, 154, 68, 0.35);
    color: #4ef08a;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 50%;
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--accent-light);
    border-radius: 50%;
    animation: pulse-ring 1.5s ease infinite;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-accent { color: var(--accent-light); }

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.72);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.hero-scroll-btn {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 64px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    transition: border-color var(--transition);
}

.hero-scroll-btn:hover { border-color: rgba(255,255,255,0.7); }

.scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: float 2s ease-in-out infinite;
}

/* ============================================================
   À PROPOS
   ============================================================ */
.apropos { background: var(--bg-alt); }

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

.apropos-visual {
    position: relative;
    padding: 2rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    box-shadow: var(--shadow-md);
    position: absolute;
    min-width: 240px;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-1 { top: 0; left: 0; animation: float 6s ease-in-out infinite; }
.card-2 { top: 50%; left: 50%; transform: translate(-30%, -50%); animation: float-card2 7s ease-in-out 1s infinite; }
.card-3 { bottom: 0; left: 10%; animation: float 8s ease-in-out 0.5s infinite; }

.card-2:hover { transform: translate(-30%, -54%); }

.info-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-icon svg {
    width: 24px;
    height: 24px;
}

.info-card-icon.blue {
    background: rgba(0, 54, 91, 0.1);
    color: var(--primary);
}

.info-card-icon.green {
    background: rgba(6, 154, 68, 0.1);
    color: var(--accent);
}

.info-card-body { display: flex; flex-direction: column; gap: 0.2rem; }
.info-card-body strong { font-size: 0.95rem; color: var(--text); font-weight: 700; }
.info-card-body span { font-size: 0.82rem; color: var(--text-light); }

.apropos-badge {
    position: absolute;
    right: 0;
    top: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(6, 154, 68, 0.35);
    animation: float 9s ease-in-out 2s infinite;
}

.badge-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.05em;
}

/* Espace réservé pour les cartes flottantes */
.apropos-visual { min-height: 380px; }

.apropos-content { }

.apropos-content .section-tag { display: inline-block; }

.apropos-text {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

.apropos-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.75rem 0;
}

.apropos-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--text);
}

.check-icon {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services {
    background: linear-gradient(to bottom, #ffffff 0%, #f7fbff 100%);
}

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

/* Cartes services */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 360px;
    background: #ffffff;
    border: 1px solid var(--border);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 54, 91, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0, 54, 91, 0.18);
    border-color: rgba(0, 54, 91, 0.08);
}

/* PHOTO */
.service-card--photo {
    background: #000;
}

.service-photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-card:hover .service-photo-bg {
    transform: scale(1.08);
}

/* Overlay */
.service-photo-content,
.service-body {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background:
        linear-gradient(
            to top,
            rgba(0, 15, 35, 0.92) 0%,
            rgba(0, 25, 50, 0.72) 40%,
            rgba(0, 25, 50, 0.15) 100%
        );
}



/* Icône */
.service-icon-wrap {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    border: 1px solid rgba(255,255,255,0.12);
}

.service-icon-wrap svg {
    width: 42px;
    height: 42px;
    color: #ffffff;
}

/* Titres */
.service-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
}

/* Description */
.service-desc {
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    font-size: 0.96rem;
    margin-bottom: 1.4rem;
}

/* Tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.service-tags span {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.service-tags span:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Effet lumineux */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(255,255,255,0.15),
            transparent 40%
        );
    z-index: 1;
    pointer-events: none;
}


/* ============================================================
   GALERIE
   ============================================================ */
.galerie { background: var(--bg-dark); }

.galerie .section-tag {
    background: rgba(6, 154, 68, 0.15);
    border-color: rgba(6, 154, 68, 0.3);
}

.galerie .section-title { color: var(--white); }
.galerie .section-subtitle { color: rgba(255,255,255,0.55); }

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.galerie-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.galerie-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.galerie-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.galerie-item:hover .galerie-img-wrap img {
    transform: scale(1.08);
}

.galerie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 54, 91, 0.85) 0%, rgba(0, 54, 91, 0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.galerie-item:hover .galerie-overlay { opacity: 1; }

.galerie-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.galerie-zoom svg { width: 22px; height: 22px; color: var(--white); }

.galerie-label {
    color: var(--white);
    font-weight: 600;
    font-size: 0.92rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    backdrop-filter: blur(6px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--transition), transform var(--transition);
}

.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }

.lightbox-content { text-align: center; max-width: 90vw; max-height: 90vh; }

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--radius);
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

#lightboxCaption {
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.temoignages { background: var(--bg-alt); }

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.temoignage-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.temoignage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.temoignage-card--featured {
    background: linear-gradient(135deg, #f0fff8 0%, #ffffff 60%);
    border: 2px solid var(--accent);
    box-shadow: 0 8px 30px rgba(6, 154, 68, 0.15);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
}

.temoignage-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.temoignage-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.temoignage-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.temoignage-card--featured .author-avatar {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.author-info { display: flex; flex-direction: column; gap: 0.15rem; }
.author-info strong { font-size: 0.92rem; color: var(--text); font-weight: 700; }
.author-info span { font-size: 0.8rem; color: var(--text-light); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    transition: background var(--transition), border-color var(--transition);
}

.contact-item-icon svg { width: 20px; height: 20px; }

.contact-item:hover .contact-item-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.contact-item-text { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-item-text span { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); }
.contact-item-text a, .contact-item-text strong { font-size: 0.97rem; color: var(--text); font-weight: 600; }
.contact-item-text a:hover { color: var(--accent); }

.contact-map {
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 220px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Formulaire */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.required { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    resize: vertical;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 54, 91, 0.1);
    transform: translateY(-1px);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error {
    font-size: 0.8rem;
    color: #ef4444;
    font-weight: 500;
    display: none;
}

.field-error.visible { display: block; }

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6a7e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-feedback {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-feedback svg { width: 20px; height: 20px; flex-shrink: 0; }

.form-success {
    background: rgba(6, 154, 68, 0.08);
    border: 1px solid rgba(6, 154, 68, 0.25);
    color: var(--accent-dark);
}

.form-error-msg {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-logo-wrap img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-logo-wrap span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 0.75rem; }

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}

.social-link svg { width: 18px; height: 18px; }

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-nav h4,
.footer-contact-info h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-nav ul li {
    margin-bottom: 0.65rem;
}

.footer-nav ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition), padding-left var(--transition);
    display: inline-block;
}

.footer-nav ul li a:hover {
    color: var(--accent-light);
    padding-left: 6px;
}

.footer-contact-info p {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.footer-contact-info a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.footer-contact-info a:hover { color: var(--accent-light); }

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.83rem;
}

.footer-bottom a { color: var(--accent-light); }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 800;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 54, 91, 0.35);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all var(--transition);
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.scroll-top-btn:hover {
    background: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(6, 154, 68, 0.4);
}

.scroll-top-btn svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card--wide { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

    /* Apropos : passage en colonne pour éviter les superpositions des cartes flottantes */
    .apropos-grid { grid-template-columns: 1fr; gap: 3rem; }
    .apropos-visual { min-height: 250px; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
    .info-card { position: static; transform: none !important; animation: none; min-width: 200px; }
    .apropos-badge { position: static; animation: none; align-self: center; }
}

@media (max-width: 900px) {
    .temoignages-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .galerie-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 4.5rem 0; }

    /* Nav mobile */
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 80vw);
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 2rem;
        gap: 0.5rem;
        transition: right var(--transition-slow);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav-menu.open { right: 0; }

    .nav-link {
        color: rgba(255,255,255,0.8) !important;
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .nav-link.nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .services-grid { grid-template-columns: 1fr; }
    .service-card--wide { grid-column: span 1; }

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

    .form-row { grid-template-columns: 1fr; }

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

    .hero-stats { gap: 1.25rem; }
    .stat-value { font-size: 1.8rem; }

    .contact-form-wrap { padding: 1.75rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; justify-content: center; }
    .stat-divider { display: none; }
    .hero-stats { gap: 0.75rem; }
    .section-title { font-size: 1.6rem; }
    .hero-scroll-btn { display: none; }
}
