/* =============================================
   MAIRIE DE GUITRY — styles.css
   Mobile-First | Blanc & Orange — Épuré, Aéré, Professionnel
   ============================================= */

/* 1. VARIABLES & RESET
   ============================================= */
:root {
    --orange:         #e8621a;
    --orange-mid:     #f07a36;
    --orange-light:   #f9a06a;
    --orange-pale:    #fdf1ea;
    --orange-ultra:   #fff8f4;

    --white:          #ffffff;
    --off-white:      #f8f9fb;
    --grey-light:     #f0f2f5;
    --grey-border:    #e5e8ec;
    --grey-soft:      #d0d5dd;

    --text-dark:      #1a1a2e;
    --text-mid:       #444a5a;
    --text-muted:     #8a93a6;

    /* Vert conservé uniquement pour le footer */
    --green-deep:     #1c2b27;
    --green-footer:   #243830;

    --shadow-sm:      0 2px 12px rgba(26,26,46,0.07);
    --shadow-md:      0 8px 32px rgba(26,26,46,0.10);
    --shadow-lg:      0 20px 60px rgba(26,26,46,0.13);
    --shadow-orange:  0 4px 20px rgba(232,98,26,0.22);

    --radius-sm:      8px;
    --radius-md:      16px;
    --radius-lg:      28px;
    --font-body:      'Raleway', sans-serif;
    --font-display:   'Playfair Display', serif;
    --transition:     0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; }

/* =============================================
   2. TOPBAR
   ============================================= */
.topbar {
    background: var(--text-dark);
    color: rgba(255,255,255,0.65);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.55rem 0;
}

.topbar a {
    color: var(--orange-light);
    font-size: 1rem;
    transition: color var(--transition);
}
.topbar a:hover { color: var(--white); }

/* =============================================
   3. HEADER / NAVIGATION — Mobile first
   ============================================= */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--orange);
    transition: var(--transition);
}

.main-header .navbar {
    padding: 0.75rem 1.25rem;
}

.logo-seal {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--text-dark), var(--text-mid));
    border: 2px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.logo-image {
    display: block;
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-seal--white {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: var(--orange-light);
}

.brand-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
}
.brand-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}

.navbar-toggler {
    border: 1.5px solid var(--grey-border);
    color: var(--text-dark);
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    background: none;
    font-size: 1.1rem;
}
.navbar-toggler:focus { box-shadow: none; }

.nav-link {
    color: var(--text-mid) !important;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.75rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--orange) !important;
    background: var(--orange-pale);
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    background: var(--orange);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-orange);
}
.btn-nav-cta:hover {
    background: var(--orange-mid);
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Mobile collapse padding */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        border-top: 1px solid var(--grey-border);
        padding: 1rem 0;
        margin-top: 0.5rem;
    }
    .nav-link { padding: 0.65rem 1rem !important; }
    .btn-nav-cta { margin: 0.5rem 1rem; width: calc(100% - 2rem); justify-content: center; }
}

@media (min-width: 992px) {
    .main-header .navbar { padding: 0.6rem 3rem; }
}

/* =============================================
   4. HERO — Mobile first
   ============================================= */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 1.25rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26,26,46,0.88) 0%,
        rgba(26,26,46,0.68) 50%,
        rgba(232,98,26,0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(232,98,26,0.18);
    border: 1px solid var(--orange);
    color: var(--orange-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    animation: fadeDown 0.8s ease both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    animation: fadeUp 0.9s 0.15s ease both;
}

.text-gold { color: var(--orange-light); }

.hero-lead {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    animation: fadeUp 0.9s 0.3s ease both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    background: var(--orange);
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    letter-spacing: 0.03em;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(232,98,26,0.45);
    animation: fadeUp 0.9s 0.45s ease both;
}
.btn-hero-primary:hover {
    background: var(--orange-mid);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232,98,26,0.55);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
    animation: fadeUp 0.9s 0.55s ease both;
}
.btn-hero-secondary:hover {
    border-color: var(--orange);
    color: var(--orange-light);
    background: rgba(255,255,255,0.06);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--orange-light);
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

/* =============================================
   5. KEY FIGURES BAR
   ============================================= */
.key-figures-bar {
    background: var(--text-dark);
    padding: 0;
}

.figure-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.75rem 0.75rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    gap: 0.2rem;
    transition: background var(--transition);
}
.figure-item:hover { background: rgba(255,255,255,0.04); }

.figure-item > i {
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 0.4rem;
}

.fig-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.fig-unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange);
}

.fig-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}

/* =============================================
   6. SECTION UTILITIES
   ============================================= */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

.eyebrow-line {
    display: block;
    height: 2px;
    width: 32px;
    background: var(--orange);
    border-radius: 2px;
    flex-shrink: 0;
}
.eyebrow-line--white { background: rgba(255,255,255,0.5); }

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.15;
}
.section-heading em {
    font-style: italic;
    color: var(--orange);
}

/* =============================================
   7. ÉDITO — Mobile first
   ============================================= */
.edito-section {
    background: var(--white);
    overflow: hidden;
}

.edito-image-col {
    position: relative;
    min-height: 380px;
}

.edito-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 380px;
}

.edito-photo {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.edito-title-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.97) 60%, transparent);
    padding: 2.5rem 1.5rem 1.5rem;
}

.title-line {
    width: 36px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    margin-bottom: 0.75rem;
}
.title-function {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.2rem;
}
.title-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.title-extra {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin-bottom: 0.15rem;
}

.edito-text-col {
    padding: 2.5rem 1.25rem;
}

.edito-inner { max-width: 580px; }

.edito-quote {
    background: var(--orange-ultra);
    border-left: 4px solid var(--orange);
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.65;
    margin: 1.5rem 0;
    position: relative;
}
.quote-icon {
    color: var(--orange);
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}
.edito-body {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.8;
}

.etag {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--orange-pale);
    color: var(--orange);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(232,98,26,0.25);
}

@media (min-width: 992px) {
    .edito-image-col { min-height: 600px; }
    .edito-image-wrapper { min-height: 600px; }
    .edito-photo { min-height: 600px; }
    .edito-text-col { padding: 5rem 4rem; }
}

/* =============================================
   8. RÉALISATIONS — Mobile first
   ============================================= */
.realizations-section {
    padding: 4rem 0;
    background: var(--off-white);
}

.realiz-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.realiz-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.realiz-icon {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 42px;
    height: 42px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    z-index: 1;
}

.realiz-card { position: relative; }

.realiz-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.realiz-card:hover .realiz-img { transform: scale(1.05); }

.realiz-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 3px solid var(--orange);
}
.realiz-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}
.realiz-body p {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.7;
    flex: 1;
}
.realiz-link {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 0.03em;
    transition: color var(--transition);
    margin-top: auto;
    padding-top: 0.5rem;
    display: inline-flex;
    align-items: center;
}
.realiz-link:hover { color: var(--orange-mid); }

/* =============================================
   9. SERVICES EN LIGNE — Mobile first
   ============================================= */
.services-section {
    padding: 4rem 0;
    background: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232,98,26,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.services-section .section-heading { color: var(--white); }
.services-section .section-heading em { color: var(--orange-light); }
.services-section .eyebrow-line { background: var(--orange); }
.services-section .section-eyebrow { color: var(--orange); }

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-md);
    padding: 1.75rem 1rem;
    gap: 0.65rem;
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    backdrop-filter: blur(8px);
}
.service-card:hover {
    background: rgba(232,98,26,0.12);
    border-color: var(--orange);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orange), var(--orange-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(232,98,26,0.35);
}

.service-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}
.service-card p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.5;
}

/* =============================================
   10. INVESTIR — Mobile first
   ============================================= */
.invest-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.invest-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.invest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26,26,46,0.93) 0%,
        rgba(26,26,46,0.78) 60%,
        rgba(232,98,26,0.65) 100%
    );
    z-index: 1;
}

.invest-section .container { z-index: 2; }

.invest-lead {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
    margin-top: 1rem;
}

.btn-invest {
    display: inline-flex;
    align-items: center;
    background: var(--orange);
    color: var(--white);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow-orange);
}
.btn-invest:hover {
    background: var(--orange-mid);
    color: var(--white);
    transform: translateY(-2px);
}

.invest-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}
.invest-card:hover {
    background: rgba(232,98,26,0.15);
    border-color: rgba(232,98,26,0.45);
    transform: translateY(-3px);
}
.invest-card > i {
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 0.65rem;
    display: block;
}
.invest-card h5 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}
.invest-card p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
    margin: 0;
}

/* =============================================
   11. PERSPECTIVES 2030 — Mobile first
   ============================================= */
.perspectives-section {
    padding: 4rem 0;
    background: var(--white);
}

.persp-card {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    height: 100%;
    border-bottom: 4px solid var(--orange);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.persp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.persp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-mid));
}

.persp-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(232,98,26,0.07);
    line-height: 1;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    user-select: none;
}
.persp-icon {
    font-size: 1.8rem;
    color: var(--orange);
    margin-bottom: 1rem;
    display: block;
}
.persp-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.65rem;
}
.persp-card p {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin: 0;
}

/* =============================================
   12. ACTUALITÉS — Mobile first
   ============================================= */
.news-section {
    padding: 4rem 0;
    background: var(--off-white);
}

.news-all-link {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition);
}
.news-all-link:hover { color: var(--orange-mid); }

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img-wrap {
    position: relative;
    overflow: hidden;
}
.news-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.news-card:hover .news-img { transform: scale(1.06); }

.news-cat {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

.news-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 3px solid var(--orange);
}
.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}
.news-body h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}
.news-body p {
    font-size: 0.86rem;
    color: var(--text-mid);
    line-height: 1.7;
    flex: 1;
}
.news-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--orange);
    margin-top: auto;
    padding-top: 0.5rem;
    transition: color var(--transition);
}
.news-link:hover { color: var(--orange-mid); }

/* =============================================
   13. CONTACT — Mobile first
   ============================================= */
.contact-section {
    padding: 4rem 0;
    background: var(--white);
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ci-icon {
    width: 42px;
    height: 42px;
    background: var(--orange-pale);
    border: 1.5px solid rgba(232,98,26,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}
.contact-info-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

.contact-form-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    border: 1px solid var(--grey-border);
}
.contact-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-dark);
}

.contact-input {
    border: 1.5px solid var(--grey-border) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.75rem 1rem !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    color: var(--text-dark) !important;
    background: var(--white) !important;
    transition: border-color var(--transition), box-shadow var(--transition) !important;
}
.contact-input:focus {
    border-color: var(--orange) !important;
    box-shadow: 0 0 0 3px rgba(232,98,26,0.10) !important;
    outline: none !important;
}
.contact-input::placeholder { color: var(--text-muted) !important; }

.btn-contact-send {
    background: linear-gradient(135deg, var(--orange), var(--orange-mid));
    color: var(--white);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.95rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-orange);
}
.btn-contact-send:hover {
    background: linear-gradient(135deg, var(--orange-mid), var(--orange-light));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (min-width: 992px) {
    .contact-form-card { padding: 2.5rem; }
}

/* =============================================
   14. FOOTER — Mobile first
   ============================================= */
.main-footer {
    background: var(--green-footer);
    color: rgba(255,255,255,0.7);
}

.footer-top {
    padding: 3.5rem 0 2.5rem;
}

.footer-desc {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin: 0;
}

.footer-socials .fsoc {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-socials .fsoc:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links a {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-links a::before {
    content: '›';
    color: var(--orange);
    font-size: 1rem;
}
.footer-links a:hover { color: var(--white); }

.footer-newsletter {
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
}
.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.84rem;
    padding: 0.7rem 1rem;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }

.newsletter-btn {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.15rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background var(--transition);
    flex-shrink: 0;
}
.newsletter-btn:hover { background: var(--orange-mid); }

.fbadge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.1rem 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

/* =============================================
   15. BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-orange);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--orange-mid);
    color: var(--white);
}

/* =============================================
   16. ANIMATIONS
   ============================================= */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50%       { transform: translate(-50%, 8px); }
}

/* =============================================
   17. UTILITIES — Spacing responsive
   ============================================= */
@media (min-width: 576px) {
    .realizations-section,
    .perspectives-section,
    .news-section,
    .contact-section { padding: 5rem 0; }
    .services-section { padding: 5rem 0; }
}

@media (min-width: 768px) {
    .key-figures-bar .figure-item { padding: 2.25rem 1rem; }
}

@media (min-width: 992px) {
    .realizations-section,
    .perspectives-section,
    .news-section,
    .contact-section { padding: 6rem 0; }
    .services-section { padding: 6rem 0; }
    .footer-top { padding: 5rem 0 3.5rem; }
}