/* =========================================================
   Concept Sécurité Solutions — Feuille de styles principale
   Palette : bleu marine + gris, ambiance sobre et corporate
   ========================================================= */

:root {
    --navy-900: #1f3a5f;        /* bleu profond, dérivé du bleu logo */
    --navy-800: #2a4a75;
    --navy-700: #3b6cb6;        /* bleu logo */
    --navy-600: #4a7ec3;
    --navy-500: #5e8ed0;
    --accent: #e85b2c;          /* orange du point logo — accents */
    --accent-dark: #c44a22;
    --green: #85b04a;           /* vert logo */
    --beige: #c79f88;           /* beige logo */
    --gray-50: #f7f8fa;
    --gray-100: #eef0f4;
    --gray-200: #dde1e8;
    --gray-300: #c3c9d3;
    --gray-500: #7a8294;
    --gray-700: #4a5060;
    --gray-900: #1d2230;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06);
    --shadow-md: 0 8px 24px rgba(11, 31, 58, .08);
    --shadow-lg: 0 18px 48px rgba(11, 31, 58, .14);
    --radius: 6px;
    --radius-lg: 10px;
    --transition: 200ms cubic-bezier(.4, 0, .2, 1);
    --container: 1180px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-900);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--navy-700);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.2;
    margin: 0 0 .6em;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.25rem; font-family: 'Inter', sans-serif; font-weight: 600; }
h4 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

p { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================
   Header / Navigation
   ======================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(150%) blur(8px);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--navy-900);
    line-height: 1;
}
.logo:hover { color: var(--navy-900); }
.logo img {
    height: 56px;
    width: auto;
    display: block;
}
.logo-footer img {
    height: 64px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.main-nav a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 4px 0;
}
.main-nav a:hover { color: var(--navy-900); }
.main-nav a.active { color: var(--navy-900); font-weight: 600; }
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0; right: 0;
    height: 2px;
    background: var(--accent);
}
.nav-cta {
    background: var(--navy-800);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.nav-cta:hover { background: var(--navy-900); color: var(--white) !important; }
.nav-cta.active::after { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    transition: transform var(--transition), opacity var(--transition);
}

/* ========================
   Buttons
   ======================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    padding: 13px 26px;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    line-height: 1;
    letter-spacing: .01em;
}
.btn-primary {
    background: var(--navy-800);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--navy-900);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, .4);
}
.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .08);
    color: var(--white);
}
.btn-light {
    background: var(--white);
    color: var(--navy-900);
}
.btn-light:hover {
    background: var(--gray-100);
    color: var(--navy-900);
}
.btn-large { padding: 16px 32px; font-size: 1rem; }

/* ========================
   Hero (homepage)
   ======================== */

.hero {
    position: relative;
    color: var(--white);
    padding: 120px 0 100px;
    background:
        linear-gradient(135deg, rgba(11, 31, 58, .88), rgba(26, 58, 102, .82)),
        radial-gradient(ellipse at top right, var(--navy-600), var(--navy-900));
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, .03) 49%, rgba(255, 255, 255, .03) 51%, transparent 52%);
    background-size: 32px 32px;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--white));
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 880px; }

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin: 0 0 16px;
}
.eyebrow-light { color: var(--accent); }

.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 24px;
}
.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .85);
    max-width: 720px;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 64px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 32px;
}
.trust-item {
    display: flex;
    flex-direction: column;
}
.trust-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}
.trust-item span:last-child {
    font-size: .9rem;
    color: rgba(255, 255, 255, .75);
}

/* ========================
   Page hero (interior pages)
   ======================== */

.page-hero {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    padding: 80px 0 70px;
    position: relative;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .82);
    max-width: 720px;
    margin: 0;
}

/* ========================
   Sections
   ======================== */

.section { padding: 90px 0; }
.section-light { background: var(--white); }
.section-tinted { background: var(--gray-50); }
.section-dark {
    background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
    color: rgba(255, 255, 255, .85);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.title-light { color: var(--white) !important; }
.lead-light { color: rgba(255, 255, 255, .82); font-size: 1.05rem; margin-bottom: 32px; }

.section-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-head h2 { margin-bottom: 18px; }
.section-lead {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin: 0;
}

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

/* ========================
   Service cards (homepage)
   ======================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
}
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--gray-50);
    color: var(--navy-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid var(--gray-100);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { color: var(--navy-900); margin-bottom: 10px; font-size: 1.2rem; }
.service-card p { color: var(--gray-700); font-size: .96rem; margin-bottom: 16px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--navy-700);
    position: relative;
}
.link-arrow::after {
    content: '→';
    transition: transform var(--transition);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ========================
   Value list (homepage)
   ======================== */

.value-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 28px;
}
.value-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: start;
}
.value-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(201, 162, 87, .12);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}
.value-list h3 { color: var(--white); margin-bottom: 6px; }
.value-list p { color: rgba(255, 255, 255, .75); margin: 0; font-size: .96rem; }

/* ========================
   Testimonials
   ======================== */

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial {
    background: var(--gray-50);
    border-left: 3px solid var(--accent);
    padding: 28px 30px;
    margin: 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.testimonial p {
    font-style: italic;
    color: var(--gray-900);
    margin-bottom: 14px;
}
.testimonial cite {
    font-style: normal;
    font-size: .88rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* ========================
   CTA band
   ======================== */

.cta-band {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    padding: 60px 0;
    color: var(--white);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-inner h2 {
    color: var(--white);
    margin-bottom: 6px;
    font-size: 1.7rem;
}
.cta-inner p {
    color: rgba(255, 255, 255, .82);
    margin: 0;
}
.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========================
   Service detail blocks (services page)
   ======================== */

.service-block {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}
.service-block.reverse {
    grid-template-columns: 1fr 1.4fr;
}
.service-block.reverse .service-block-text {
    order: 2;
}
.service-block.reverse .service-block-aside {
    order: 1;
}

.service-block h2 { margin-top: 4px; }

.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
}
.check-list li {
    position: relative;
    padding: 8px 0 8px 32px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--navy-700);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.service-block-aside {
    display: grid;
    gap: 18px;
}
.aside-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
}
.section-tinted .aside-card {
    background: var(--white);
}
.aside-card h4 {
    color: var(--navy-700);
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
}
.aside-card p { color: var(--gray-700); font-size: .94rem; margin: 0; }

/* ========================
   About page
   ======================== */

.figures-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.figure-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--gray-100);
}
.figure-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--navy-800);
    line-height: 1;
    margin-bottom: 10px;
}
.figure-card span:last-child {
    color: var(--gray-700);
    font-size: .92rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.value-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    transition: background var(--transition);
}
.value-card:hover { background: rgba(255, 255, 255, .07); }
.value-card h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.value-card p {
    color: rgba(255, 255, 255, .78);
    font-size: .94rem;
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.team-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.team-photo {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
    position: relative;
}
.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .15), transparent 60%),
        repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255, 255, 255, .03) 12px, rgba(255, 255, 255, .03) 13px);
}
.team-photo-2 { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); }
.team-photo-3 { background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.team-card h3 {
    margin: 22px 26px 4px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--navy-900);
}
.team-role {
    margin: 0 26px;
    color: var(--accent-dark);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.team-card > p {
    margin: 14px 26px 26px;
    color: var(--gray-700);
    font-size: .95rem;
}

.zone-list h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--navy-900);
    margin-bottom: 18px;
}
.city-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 16px;
}
.city-list li {
    color: var(--gray-700);
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .94rem;
}

/* ========================
   News page
   ======================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}
.news-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.news-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
    position: relative;
}
.news-featured .news-image { aspect-ratio: auto; min-height: 280px; }
.news-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .14), transparent 60%),
        repeating-linear-gradient(135deg, transparent, transparent 14px, rgba(255, 255, 255, .03) 14px, rgba(255, 255, 255, .03) 15px);
}
.news-img-2 { background: linear-gradient(135deg, var(--navy-900), var(--navy-600)); }
.news-img-3 { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.news-img-4 { background: linear-gradient(135deg, var(--navy-500), var(--navy-800)); }
.news-img-5 { background: linear-gradient(135deg, var(--navy-800), var(--navy-500)); }
.news-img-6 { background: linear-gradient(135deg, var(--navy-600), var(--navy-900)); }
.news-body { padding: 28px 30px; }
.news-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(201, 162, 87, .12);
    padding: 5px 11px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.news-card h2,
.news-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy-900);
    margin-bottom: 12px;
    line-height: 1.3;
}
.news-card h2 { font-size: 1.6rem; }
.news-card h3 { font-weight: 700; font-size: 1.2rem; }
.news-card p {
    color: var(--gray-700);
    font-size: .95rem;
    margin-bottom: 16px;
}
.news-meta {
    display: flex;
    gap: 8px;
    color: var(--gray-500);
    font-size: .82rem;
    margin-bottom: 14px;
}

.newsletter {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 56px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.newsletter-form {
    display: flex;
    gap: 10px;
}
.newsletter-form input {
    flex: 1;
    padding: 13px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .95rem;
}
.newsletter-form input:focus {
    outline: 0;
    border-color: var(--navy-600);
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================
   Contact page
   ======================== */

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

.contact-block {
    display: grid;
    gap: 28px;
    margin-top: 28px;
}
.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--gray-50);
    color: var(--navy-700);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--gray-100);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item h4 {
    font-size: .82rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.contact-item p {
    margin: 0;
    color: var(--gray-900);
    font-size: 1rem;
    line-height: 1.55;
}
.contact-item a { color: var(--navy-800); font-weight: 500; }

.contact-form {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 42px 48px;
    border: 1px solid var(--gray-100);
}
.contact-form h2 { margin-bottom: 8px; }
.form-lead {
    color: var(--gray-700);
    margin-bottom: 28px;
    font-size: .95rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-field {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}
.form-field label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .95rem;
    background: var(--white);
    color: var(--gray-900);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 0;
    border-color: var(--navy-600);
    box-shadow: 0 0 0 3px rgba(36, 76, 128, .12);
}
.form-field textarea { resize: vertical; }

.radio-group {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.radio,
.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: .92rem;
    color: var(--gray-700);
    font-weight: 400;
}
.checkbox {
    margin: 6px 0 22px;
    align-items: flex-start;
    line-height: 1.5;
}
.checkbox input { margin-top: 3px; }

.form-note {
    color: var(--gray-500);
    font-size: .82rem;
    margin: 16px 0 0;
}

.map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================
   Footer
   ======================== */

.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .72);
    padding-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 50px;
}
.logo-footer .logo-text strong { color: var(--white); }
.logo-footer .logo-text em { color: rgba(255, 255, 255, .55); }
.site-footer h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: .85rem;
    letter-spacing: .08em;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer li { margin-bottom: 8px; }
.site-footer a {
    color: rgba(255, 255, 255, .72);
    font-size: .94rem;
    transition: color var(--transition);
}
.site-footer a:hover { color: var(--accent); }
.site-footer address {
    font-style: normal;
    font-size: .94rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    list-style: none;
    padding: 0;
}
.social-links li { margin: 0; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}
.social-links svg {
    width: 18px;
    height: 18px;
}

/* ========================
   Hero avec photo
   ======================== */

.hero-photo {
    position: relative;
    padding: 140px 0 110px;
    overflow: hidden;
}
.hero-photo .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero-photo .hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(11, 24, 44, .85) 0%, rgba(31, 58, 95, .65) 60%, rgba(31, 58, 95, .55) 100%);
    z-index: 1;
}
.hero-photo::before {
    background-image: none;
}
.hero-photo::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--white));
    pointer-events: none;
    z-index: 2;
}
.hero-photo .hero-content { position: relative; z-index: 3; }

/* Bouton accent (orange) */
.btn-accent {
    background: var(--accent);
    color: var(--white);
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(232, 91, 44, .35);
}

/* ========================
   Sélecteur de profil
   ======================== */

.profile-selector {
    position: relative;
    margin-top: -60px;
    z-index: 5;
    padding-bottom: 70px;
}
.selector-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}
.selector-head h2 { margin-bottom: 12px; }
.selector-lead {
    color: var(--gray-700);
    font-size: 1rem;
    margin: 0;
}
.selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.selector-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    text-align: center;
    color: var(--gray-900);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: var(--shadow-sm);
}
.selector-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy-600);
    color: var(--gray-900);
}
.selector-card-feat {
    border-top: 3px solid var(--accent);
}
.selector-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 108, 182, .12), rgba(232, 91, 44, .08));
    color: var(--navy-700);
    display: flex;
    align-items: center;
    justify-content: center;
}
.selector-icon svg { width: 32px; height: 32px; }
.selector-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--navy-900);
    margin-bottom: 6px;
}
.selector-card p {
    color: var(--gray-700);
    font-size: .92rem;
    margin-bottom: 18px;
    min-height: 2.4em;
}
.selector-cta {
    color: var(--accent);
    font-weight: 600;
    font-size: .92rem;
    transition: color var(--transition);
}
.selector-card:hover .selector-cta { color: var(--accent-dark); }

/* ========================
   Process en 3 étapes
   ======================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
}
.process-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px 36px;
    position: relative;
    border: 1px solid var(--gray-100);
}
.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: linear-gradient(to right, var(--navy-700), var(--accent));
    border-radius: 0 0 3px 3px;
}
.process-num {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 700;
}
.process-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--navy-900);
    margin-bottom: 12px;
}
.process-step p {
    color: var(--gray-700);
    font-size: .96rem;
    margin: 0;
}
.process-step strong {
    color: var(--navy-800);
}

/* ========================
   Bénéfices avec photos
   ======================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.benefit-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.benefit-photo {
    width: 100%;
    aspect-ratio: 16 / 11;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);
    position: relative;
}
.benefit-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(31, 58, 95, .15));
}
.benefit-body {
    padding: 28px 30px 32px;
}
.benefit-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--navy-900);
    margin-bottom: 12px;
}
.benefit-body p {
    color: var(--gray-700);
    font-size: .96rem;
    margin: 0;
}
.benefit-body strong {
    color: var(--navy-800);
}

/* ========================
   Galerie produits
   ======================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);
}
.product-body {
    padding: 22px 26px 26px;
}
.product-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy-700);
    background: rgba(59, 108, 182, .1);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}
.product-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--navy-900);
    margin-bottom: 10px;
}
.product-body p {
    color: var(--gray-700);
    font-size: .92rem;
    margin: 0;
}
.products-cta {
    text-align: center;
    margin-top: 20px;
}

/* ========================
   Bandeau "Ils nous font confiance"
   ======================== */

.clients-band {
    padding: 50px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
}
.clients-title {
    text-align: center;
    margin: 0 0 32px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray-500);
    letter-spacing: .15em;
    text-transform: uppercase;
}
.clients-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.clients-track {
    display: flex;
    gap: 56px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: max-content;
    animation: clients-scroll 60s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    min-width: 180px;
    padding: 12px 28px;
    opacity: 0.65;
    filter: grayscale(100%);
    transition: opacity var(--transition), filter var(--transition);
}
.client-logo:hover { opacity: 1; filter: grayscale(0%); }
.client-logo img {
    max-height: 100%;
    max-width: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
@keyframes clients-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 28px)); }
}

/* ========================
   Étoiles dans les témoignages
   ======================== */

.testimonial-stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.testimonial cite {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial cite strong {
    color: var(--navy-900);
    font-weight: 600;
}
.testimonial cite span {
    color: var(--gray-500);
    font-size: .82rem;
}

/* ========================
   Sticky CTA mobile
   ======================== */

.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(232, 91, 44, .4);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.sticky-cta:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(232, 91, 44, .5);
}
.sticky-cta svg { flex-shrink: 0; }

/* ========================
   Secteurs d'expertise (cartes-photo)
   ======================== */

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.sector-card {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}
.sector-card:hover {
    transform: translateY(-4px);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.sector-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--navy-800);
    transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.sector-card:hover .sector-image { transform: scale(1.06); }
.sector-overlay {
    position: absolute;
    inset: 0;
    padding: 28px 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(11, 24, 44, 0) 30%, rgba(11, 24, 44, .55) 60%, rgba(11, 24, 44, .92) 100%);
}
.sector-overlay h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0 0 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.sector-overlay p {
    color: rgba(255, 255, 255, .88);
    font-size: .92rem;
    margin: 0 0 12px;
    line-height: 1.45;
}
.sector-arrow {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    transition: transform var(--transition), background var(--transition);
}
.sector-card:hover .sector-arrow {
    background: var(--white);
    color: var(--navy-900);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 24px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    margin: 0;
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
}

/* ========================
   Reveal animations
   ======================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ========================
   Responsive
   ======================== */

@media (max-width: 980px) {
    .services-grid,
    .testimonials,
    .values-grid,
    .team-grid,
    .news-grid,
    .selector-grid,
    .process-grid,
    .benefits-grid,
    .products-grid,
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .selector-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .profile-selector { margin-top: -40px; }
    .hero-photo { padding: 100px 0 90px; }
    .news-featured { grid-template-columns: 1fr; }
    .two-col,
    .service-block,
    .service-block.reverse,
    .contact-grid,
    .newsletter {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-block.reverse .service-block-text { order: 1; }
    .service-block.reverse .service-block-aside { order: 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .city-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .logo img { height: 48px; }
    .logo-footer img { height: 56px; }
    .header-inner { height: 76px; }
    .main-nav {
        position: fixed;
        top: 76px;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 24px;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }
    .main-nav.open { max-height: 480px; }
    .main-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-100);
        font-size: 1rem;
    }
    .main-nav a:last-child { border-bottom: 0; }
    .main-nav a.active::after { display: none; }
    .nav-cta {
        margin-top: 12px;
        text-align: center;
    }
    .hero { padding: 80px 0 70px; }
    .hero-trust { gap: 28px; }
    .section { padding: 64px 0; }
    .services-grid,
    .testimonials,
    .values-grid,
    .team-grid,
    .news-grid,
    .figures-grid,
    .selector-grid,
    .process-grid,
    .benefits-grid,
    .products-grid,
    .sectors-grid {
        grid-template-columns: 1fr;
    }
    .sticky-cta { display: inline-flex; }
    .sticky-cta { bottom: 16px; right: 16px; padding: 12px 18px; }
    .hero-photo { padding: 80px 0 70px; }
    .profile-selector { margin-top: -30px; padding-bottom: 50px; }
    .process-num { font-size: 2.4rem; }
    .clients-track { gap: 32px; animation-duration: 45s; }
    .client-logo { padding: 8px 16px; min-width: 140px; height: 70px; }
    .client-logo img { max-width: 130px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom .container { justify-content: center; text-align: center; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .contact-form { padding: 30px 24px; }
    .newsletter { padding: 32px 28px; }

 