/**
 * Travelnet Société – full page module styles
 */

.tn-societe {
    --tn-blue: #0b3c6d;
    --tn-blue-light: #0e5a9e;
    --tn-cyan: #00c6d5;
    --tn-ink: #1a2b3c;
    --tn-muted: #5a6b7c;
    --tn-line: rgba(11, 60, 109, 0.1);
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--tn-ink);
    background: #fff;
    overflow: hidden;
}

.tn-societe *,
.tn-societe *::before,
.tn-societe *::after {
    box-sizing: border-box;
}

.tn-societe img {
    max-width: 100% !important;
    height: auto !important;
    border: 0;
    vertical-align: middle;
}

.tn-societe__wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Hero */
.tn-societe__hero {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    color: #fff;
    overflow: hidden;
}

.tn-societe__hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 0% 0%, rgba(0, 198, 213, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 70% at 100% 100%, rgba(0, 198, 213, 0.12), transparent 50%),
        linear-gradient(135deg, #082d52 0%, var(--tn-blue) 45%, var(--tn-blue-light) 100%);
    z-index: 0;
}

.tn-societe__hero .tn-societe__wrap {
    position: relative;
    z-index: 1;
    max-width: 820px;
    text-align: center;
}

.tn-societe__eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.tn-societe__title {
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
    border: 0;
}

.tn-societe__lead {
    margin: 0 0 1.5rem;
    padding: 0;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.tn-societe__badge {
    display: inline-block;
    margin: 0;
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--tn-blue);
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Intro strip */
.tn-societe__intro-strip {
    padding: 2rem 0;
    background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%);
    border-bottom: 1px solid var(--tn-line);
}

.tn-societe__intro-text {
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--tn-muted);
}

/* Team */
.tn-societe__team {
    padding: 4rem 0 3.5rem;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 198, 213, 0.06), transparent 60%),
        #fff;
}

.tn-societe__section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.75rem;
}

.tn-societe__section-title {
    margin: 0 0 1rem;
    padding: 0;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--tn-ink);
    border: 0;
}

.tn-societe__section-intro {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--tn-muted);
}

.tn-societe__roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.tn-societe__role {
    position: relative;
    padding: 1.5rem 1.35rem 1.35rem;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(11, 60, 109, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tn-societe__role:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 198, 213, 0.35);
    box-shadow: 0 16px 40px rgba(11, 60, 109, 0.12);
}

.tn-societe__role-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.tn-societe__role-index {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(11, 60, 109, 0.1);
}

.tn-societe__role-icon {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(11, 60, 109, 0.08);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}

.tn-societe__role-icon--pm {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3c6d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.tn-societe__role-icon--web {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300c6d5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M7 8h2'/%3E%3Cpath d='M7 12h6'/%3E%3C/svg%3E");
}

.tn-societe__role-icon--stack {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3c6d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M8 6h8'/%3E%3Cpath d='M8 10h8'/%3E%3C/svg%3E");
}

.tn-societe__role--pm .tn-societe__role-icon { background-color: rgba(11, 60, 109, 0.1); }
.tn-societe__role--web .tn-societe__role-icon { background-color: rgba(0, 198, 213, 0.12); }
.tn-societe__role--stack .tn-societe__role-icon { background-color: rgba(11, 60, 109, 0.1); }

.tn-societe__role-title {
    margin: 0 0 0.65rem;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--tn-blue);
    border: 0;
}

.tn-societe__role-text {
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--tn-muted);
}

/* Tech stack */
.tn-societe__tech {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(180deg, #f8fbfd 0%, #f0f6fa 100%);
    border: 1px solid var(--tn-line);
    border-radius: 16px;
}

.tn-societe__tech-label {
    margin: 0 0 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tn-muted);
}

.tn-societe__tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tn-societe__tech-item {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tn-blue);
    background: #fff;
    border: 1px solid rgba(11, 60, 109, 0.12);
    border-radius: 999px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tn-societe__tech-item:hover {
    color: #fff;
    background: var(--tn-blue);
    border-color: var(--tn-blue);
}

/* Bottom: values + contact */
.tn-societe__bottom {
    padding: 3.5rem 0 4.5rem;
    background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}

.tn-societe__bottom-grid {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 38%);
    gap: 2.5rem;
    align-items: start;
}

.tn-societe__block-title {
    margin: 0 0 0.75rem;
    padding: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--tn-ink);
    border: 0;
}

.tn-societe__block-text {
    margin: 0 0 1.5rem;
    padding: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--tn-muted);
}

.tn-societe__mission {
    margin-bottom: 2rem;
}

.tn-societe__pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.tn-societe__pillar {
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid var(--tn-line);
    background: #fff;
}

.tn-societe__pillar--cyan {
    border-top: 3px solid var(--tn-cyan);
}

.tn-societe__pillar--blue {
    border-top: 3px solid var(--tn-blue);
}

.tn-societe__pillar-title {
    margin: 0 0 0.75rem;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tn-blue);
    border: 0;
}

.tn-societe__pillar-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tn-societe__pillar-list li {
    position: relative;
    margin: 0 0 0.45rem;
    padding: 0 0 0 1.1rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--tn-muted);
}

.tn-societe__pillar-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--tn-cyan);
}

.tn-societe__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--tn-blue), var(--tn-blue-light));
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(11, 60, 109, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tn-societe__cta:hover,
.tn-societe__cta:focus {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(11, 60, 109, 0.3);
}

.tn-societe__cta-arrow {
    display: inline-block;
    width: 18px !important;
    height: 18px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Aside */
.tn-societe__aside {
    position: sticky;
    top: 1.5rem;
}

.tn-societe__figure {
    margin: 0 0 1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 60, 109, 0.15);
}

.tn-societe__photo {
    display: block;
    width: 100% !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tn-societe__contact {
    padding: 1.35rem 1.25rem;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(11, 60, 109, 0.06);
}

.tn-societe__contact-name {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--tn-blue);
}

.tn-societe__contact-address {
    margin: 0 0 1rem;
    padding: 0;
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--tn-muted);
}

.tn-societe__contact-address span {
    display: block;
}

.tn-societe__contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tn-societe__contact-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--tn-blue) !important;
    text-decoration: none !important;
}

.tn-societe__contact-link:hover {
    color: var(--tn-cyan) !important;
    text-decoration: underline !important;
}

@media (max-width: 991px) {
    .tn-societe__roles {
        grid-template-columns: 1fr;
    }

    .tn-societe__bottom-grid {
        grid-template-columns: 1fr;
    }

    .tn-societe__aside {
        position: static;
    }

    .tn-societe__pillars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .tn-societe__hero {
        padding: 3rem 0 2.5rem;
    }

    .tn-societe__team,
    .tn-societe__bottom {
        padding: 2.5rem 0;
    }

    .tn-societe__cta {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tn-societe__role,
    .tn-societe__tech-item,
    .tn-societe__cta {
        transition: none;
    }
}
