/* ═══════════════════════════════════════════
   QUI SOMMES-NOUS — Light Editorial Design
   Poppins • #398183 accent
   ═══════════════════════════════════════════ */

:root {
    --bg: #fafaf8;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f5f2;
    --bg-soft: #f0efec;
    --text: #1a1a1a;
    --text-dim: #6b6b6b;
    --accent: #398183;
    --accent-light: #e8f4f4;
    --accent-dark: #2c6668;
    --accent-soft: rgba(57, 129, 131, .1);
    --accent-glow: rgba(57, 129, 131, .2);
    --border: rgba(0, 0, 0, .06);
    --radius: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, .06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.oxmo-qsn-widget {
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

.oxmo-qsn-widget p,
.oxmo-qsn-widget h1,
.oxmo-qsn-widget h2,
.oxmo-qsn-widget h3 {
    margin: 0;
    padding: 0;
}

/* Grain texture overlay — subtle on light */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: .02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px;
}

/* ──── Shared Section Styles ──── */
.section-label {
    display: inline-block;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    padding-left: 28px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 1px;
    background: var(--accent);
}

.section-heading {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 21px;
    letter-spacing: -1px;
}

.section-heading em {
    font-style: italic;
    color: var(--accent);
}

/* ════════ HERO ════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 80px 80px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.hero-bg-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.hero-bg-line:nth-child(1) {
    left: 16%
}

.hero-bg-line:nth-child(2) {
    left: 33%
}

.hero-bg-line:nth-child(3) {
    left: 50%
}

.hero-bg-line:nth-child(4) {
    left: 67%
}

.hero-bg-line:nth-child(5) {
    left: 84%
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 1.3;
}

.hero-right {
    flex: 0.7;
}

.hero-label {
    display: inline-block;
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    padding: 8px 20px;
    border: 1px solid var(--accent-soft);
    background: var(--accent-light);
    border-radius: 100px;
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -4px;
    color: var(--text);
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line-inner {
    display: inline-block;
    transform: translateY(110%);
    animation: slideUp 1.1s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hero-title .line:nth-child(1) .line-inner {
    animation-delay: .1s;
}

.hero-title .line:nth-child(2) .line-inner {
    animation-delay: .25s;
}

.hero-title .line:nth-child(3) .line-inner {
    animation-delay: .4s;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 700;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.hero-desc {
    font-size: .95rem;
    font-weight: 300;
    color: var(--text-dim);
    line-height: 1.9;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s ease .6s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeIn 1s ease .8s forwards;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.meta-label {
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 4px;
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
    transition: gap .3s ease;
}

.hero-scroll:hover {
    gap: 14px;
}

.hero-scroll svg {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ════════ STORY ════════ */
.story {
    padding: 120px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.story-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* More space for text */
    gap: 80px;
    align-items: center;
}

.story-text .lead {
    font-size: 1.35rem;
    /* Larger impact */
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin-bottom: 32px;
    color: var(--accent-dark);
}

.story-text p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.story-text strong {
    font-weight: 600;
    color: var(--accent);
}

/* Story Image/Placeholder with Pattern */
.story-image-container {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/5;
    /* Fixed pleasing ratio */
    background: var(--bg-soft);
}

/* Placeholder Pattern Overlay */
.story-image-container .photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e8f4f4;
    background-image:
        radial-gradient(at 10% 10%, rgba(57, 129, 131, 0.1) 0%, transparent 50%),
        radial-gradient(at 90% 90%, rgba(57, 129, 131, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23398183' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.story-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.story-image-container:hover img {
    transform: scale(1.03);
}

/* ════════ VALUES — Bento Grid ════════ */
.values {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: border-color .4s ease, transform .4s ease, box-shadow .4s ease;
    box-shadow: var(--shadow-sm);
}

.bento-card:hover {
    border-color: var(--accent-soft);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.bento-large {
    grid-column: span 2;
}

.bento-accent {
    background: linear-gradient(135deg, var(--accent-light), rgba(57, 129, 131, .04));
    border-color: rgba(57, 129, 131, .12);
}

.bento-num {
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
    margin-bottom: 16px;
    display: block;
}

.bento-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.bento-card p {
    font-size: .85rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dim);
}

.bento-icon {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 3rem;
    opacity: .06;
}

/* ════════ TEAM ════════ */
.team {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    display: grid;
    grid-template-columns: .45fr .55fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    padding: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .4s ease;
}

.team-card:hover {
    box-shadow: var(--shadow-md);
}

.team-card.reverse {
    grid-template-columns: .55fr .45fr;
    direction: rtl;
}

.team-card.reverse>* {
    direction: ltr;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .6);
}

.photo-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 14px;
}

.photo-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 18px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 100px;
}

.team-role {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.team-name {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.team-name em {
    font-style: italic;
    color: var(--accent);
}

.team-details p {
    font-size: .88rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.team-tags span {
    padding: 5px 14px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: .68rem;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 1px;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .75rem;
    font-weight: 500;
    border-radius: 100px;
    text-decoration: none;
    transition: all .3s ease;
}

.linkedin-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* ════════ EXPERTISE ════════ */
.expertise {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.exp-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: border-color .4s ease, transform .4s ease, box-shadow .4s ease;
}

.exp-card:hover {
    border-color: var(--accent-soft);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.exp-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.exp-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
}

.exp-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.exp-card p {
    font-size: .82rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dim);
}

/* ════════ REVIEWS ════════ */
.reviews {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: border-color .4s ease, transform .3s ease, box-shadow .4s ease;
}

.review-card:hover {
    border-color: var(--accent-soft);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-stars {
    color: var(--accent);
    font-size: .9rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-card blockquote {
    font-size: .88rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-size: .78rem;
    color: var(--text-dim);
}

.review-author strong {
    color: var(--text);
    font-weight: 600;
}

/* ════════ CTA ════════ */
.cta {
    padding: 120px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
}

.cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 21px;
    letter-spacing: -2px;
}

.cta h2 em {
    font-style: italic;
    color: var(--accent);
}

.cta p {
    font-size: .95rem;
    font-weight: 300;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: .82rem;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: all .3s ease;
    font-family: 'Poppins', sans-serif;
}

.cta-btn.primary {
    background: var(--accent);
    color: white;
}

.cta-btn.primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-glow);
}

.cta-btn.secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.cta-btn.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1024px) {
    .hero {
        padding: 100px 40px 60px;
    }

    .hero-content {
        flex-direction: column;
        gap: 50px;
        align-items: flex-start;
    }

    .story,
    .values,
    .team,
    .expertise,
    .reviews {
        padding: 80px 40px;
    }

    .story-body {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .bento {
        grid-template-columns: 1fr 1fr;
    }

    .bento-large {
        grid-column: span 2;
    }

    .team-card,
    .team-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
        padding: 36px;
    }

    .team-card.reverse>* {
        direction: ltr;
    }

    .photo-placeholder {
        max-width: 300px;
        margin: 0 auto;
    }

    .exp-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 24px 50px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-meta {
        gap: 20px;
    }

    .story,
    .values,
    .team,
    .expertise,
    .reviews {
        padding: 60px 24px;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .bento-large {
        grid-column: span 1;
    }

    .exp-grid,
    .reviews-track {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 80px 24px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .photo-placeholder {
        max-width: 240px;
    }
}