:root {
    --bg-color: #f9fbff;
    --text-primary: #274e6f;
    --text-secondary: #64748b;
    --accent-color: #274e6f;
    --accent-gradient: linear-gradient(135deg, #274e6f, #14b8a6);
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(15, 23, 42, 0.08);
    --bg: linear-gradient(135deg, #fdfefe 0%, #f5f8ff 45%, #fff8f2 100%);
    --surface: rgba(255, 255, 255, 0.96);
    --surface-2: #f8fbff;
    --line: rgba(15, 23, 42, 0.08);
    --text: #274e6f;
    --muted: #64748b;
    --green: #274e6f;
    --orange: #d70305;
    --blue: #274e6f;
    --green2: #274e6f;
    --green-dim: #14b8a6;
    --green-glow: rgba(39, 78, 111, 0.16);
}



.logo2 {
    color: #008888;
}

.logo2 span {
    color: #f25B2A;
}

nav .logo2 {
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
}

nav .logo2:hover {
    transform: translateY(-2px);
    background: rgba(113, 132, 170, 0.205);
}

.logo3 {
    color: #008888;
}

.logo3 span {
    color: #f25B2A;
}

nav .logo3 {
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
}

nav .logo3:hover {
    background: rgba(0, 136, 136, .08);;
    transform: translateY(-2px);
}



.feat-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

    color: #274e6f;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.feat-tag::before,
.feat-tag::after {
    content: "";
    width: 240px;
    /* longueur du trait */
    height: 2px;
    background: #274e6f;
    border-radius: 2px;
}

/* Typography & Header overrides */
h1,
h2,
h3,
h4,
.feat-text h3,
.feature-card h3,
.sec-slide h3,
.feat-row-text h3,
.hero-title,
.section-title {
    color: #274e6f;
}

.foot-col h4 {
    color: #274e6f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #fdfefe;
    background-image: url("ChatGPT Image 10 août 2026, 15_54_33.png");
    background-repeat: repeat;
    background-size: auto;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.glow {
    position: absolute;
    inset: -20% -10% auto auto;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--green-glow), transparent 65%);
    filter: blur(10px);
    opacity: .5;
    pointer-events: none;
}



.alanya-text {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: 800;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.82);
    background-image: url("ChatGPT Image 10 août 2026, 15_54_33.png");
    background-repeat: repeat;
    background-size: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.75vw, 30px);
    flex-wrap: nowrap;
    min-width: 0;
    flex-shrink: 1;
}

.navbar nav button,
.navbar nav a {
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.navbar nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: var(--green2);
}


.btn-primary-small,
.btn-primary,
.btn-primary2,
.btn-secondary {
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-small {
    padding: 10px 20px;
    background: var(--green2);
    color: white;
    border-color: var(--green2);
}

.btn-primary-small:hover,
.btn-primary:hover,
.btn-primary2:hover {
    transform: translateY(-2px);
}

.btn-primary2 {
    padding: 15px 30px;
    background: #274e6f;
    color: #ffffff;
    font-size: 1.1rem;
    border-color: #274e6f;
}

.btn-secondary {
    padding: 15px 30px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #274e6f;
}


.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    padding: 0 5%;
    gap: 50px;
}

.hero-content {
    /**flex: 1;
    max-width: 600px;**/
    flex: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.highlight {
    background: var(--green2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #008888;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-description p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.hero-description p:last-child {
    margin-bottom: 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-image {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 12px;
    background: transparent;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}


@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* ===== INTRO ACCORDION ===== */
.intro-blocks {
    padding: 70px 6%;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto 64px;
    padding: 0 0;
    line-height: 1.3;
}

.intro-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

/* Each row */
.ia-row {
    cursor: default;
    position: relative;
}

.ia-inner {
    display: flex;
    align-items: center;
    padding: 12px 0;
    overflow: hidden;
}

/* Left: title — toujours visible, largeur fixe */
.ia-left {
    width: 35%;
    flex-shrink: 0;
}

.ia-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green2);
    line-height: 1.3;
    margin: 0;
    padding-right: 40px;
}

/* Right: description — auto-reveal avec animation */
.ia-right {
    width: 65%;
    opacity: 0;
    transform: translateX(20px);

    animation: ia-reveal 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Délai séquentiel : 1ère ligne plus tôt, 2ème après */
.ia-row:nth-child(1) .ia-right { animation-delay: 0.4s; }
.ia-row:nth-child(2) .ia-right { animation-delay: 1.2s; }

@keyframes ia-reveal {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ia-right p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.75;
    text-align: justify;
    margin: 0;
    padding-left: 20px;
    padding-right: 70px;
    width: 650px;
    max-width: 100vw;
    margin-top: 3rem;
}

/* Arrow — fixe, pas de rotation au hover */
.ia-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--green2);
    pointer-events: none;
    margin-top: 3rem;
}

/* Underline — toujours colorée */
.ia-line {
    height: 1px;
    background: var(--green2);
    transform-origin: left;
    width: calc(100% - 50px);
}

@media (max-width: 768px) {
    .ia-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ia-left {
        width: 100% !important;
    }

    .ia-left h3{
        padding-top: 2rem;
    }

    .ia-right {
        width: 100% !important;
        animation-delay: 0.3s !important;
    }

    .ia-row:nth-child(2) .ia-right {
        animation-delay: 1s !important;
    }

    .ia-right p {
        width: 100%;
        padding: 15px 0 0 0;
        text-align: justify;
        hyphens: auto;
        word-break: break-word;
        margin-top: 0;
    }

    .ia-arrow {
        top: 25px;
    }


    .ia-title {
        font-size: 1.3rem;
        padding-right: 30px;
    }

    .intro-title {
        font-size: 1.5rem;
    }
}


/* ===== FEATURES ===== */
.features {
    padding: 100px 5%;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}


.feat-slider-container {
    position: relative;
    max-width: 950px;

    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feat-slide {
    display: none;
    align-items: center;
    max-width: 2000px;
    justify-content: space-between;
    gap: 40px;
    padding: 200px;
    text-align: left;
}

.feat-slide.active {
    display: flex;
    animation: fadeSlideUp 0.8s cubic-bezier(.22, 1, .36, 1);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}


.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-nav:hover {
    background: rgba(0, 195, 255, 0.3);
    border-color: #008888;
    color: white;
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slide-dot.active {
    background: #008888;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
}

.feat-text {
    flex: 1;
    max-width: 500px;
}



.feat-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #274e6f;
}

.feat-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

#features .feat-text h3 {
    text-align: left;
}

#features .feat-text p {
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
}

.feat-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.feat-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 102, 255, 0.15);
    border: 1px solid var(--border-color);
    transition: transform 0.5s ease;
}

.feat-slider-container:hover .feat-image-box img {
    transform: scale(1.02) translateY(-5px);
}

@media (max-width: 968px) {
    .feat-slide {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .feat-text {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .feat-text h3 {
        font-size: 1.8rem;
    }

    #features .feat-text h3 {
        text-align: left;
    }

    #features .feat-text p {
        text-align: justify;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 195, 255, 0.5);
    background: var(--surface-2);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #274e6f;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Video Showcase Zone (Alanya Work) */
.video-showcase-zone {
    margin-top: 80px;
    padding: 80px 40px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-radius: 32px;
    border: 0px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), inset 0 2px 20px rgba(255, 255, 255, 0.02);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.video-showcase-zone::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 195, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.video-showcase-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.video-showcase-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-showcase-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 195, 255, 0.2);
}

.video-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(0, 195, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-container:hover .video-placeholder {
    background: rgba(0, 195, 255, 0.8);
    transform: scale(1.1);
}

.play-icon {
    width: 32px;
    height: 32px;
    color: white;
    margin-left: 4px;
    /* visually center the triangle */
}

@media (max-width: 768px) {
    .video-showcase-zone {
        padding: 40px 20px;
        margin-top: 40px;
        border-radius: 20px;
    }

    .video-showcase-header h2 {
        font-size: 2rem;
    }
}

.main-container {
    min-height: calc(100vh - 80px - 200px);
}

.section-page {
    display: none;
}

.section-page.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.navbar nav button {
    position: relative;

    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.navbar nav button:hover,
.navbar nav button.active {
    color: var(--text);
}

/* Soulignement animé */
.navbar nav button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--green2);
    /* ou #d70305 */
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar nav button:hover::after,
.navbar nav button.active::after {
    width: 100%;
}

.navbar nav button.btn-primary-small {
    background: var(--green2);
    color: white !important;
}

.sec-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}


.sec-slider-container {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sec-slide {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    transition: opacity 0.5s ease;
}

.sec-slide.active {
    display: flex;
    animation: fadeSlideIn 0.5s ease-out;
}

.sec-content {
    max-width: 700px;
}

.sec-slide .icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    background: #274e6f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 195, 255, 0.4));
}

.sec-slide h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

.sec-slide p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
}

.sec-controls {
    margin-top: 40px;
}


.download-section {
    padding: 100px 5%;
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download-section h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.download-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    transition: transform 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-5px);
}

.store-badge-img {
    height: 60px;
    border-radius: 8px;
}

.ag-badge {
    height: 56px;
    margin-top: 2px;
}


/* ===========================
   WEB SECTION
=========================== */
.web-section {
    padding: 80px 6%;
    max-width: 100%; 
    margin: 0 auto;
}

.web-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.web-section-header .feat-tag {
    align-items: center;
}

.web-section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 16px 0 20px;
    line-height: 1.2;
}

.web-section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.web-connect-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--green2);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.web-connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 136, 136, 0.3);
}

.web-screenshot-zone {
    margin: 0 auto 48px;
    max-width: 960px;
}

.web-screenshot-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.04);
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.web-screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.web-screenshot-label {
    font-size: 1rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

.web-features-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.web-features-row span {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

/* Web Gallery for Multiple Screenshots */
.web-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 60px 50px;
    margin: 0 auto 48px;
    max-width: 1500px;
    min-height: 600px;
    scrollbar-width: none;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), inset 0 2px 20px rgba(255, 255, 255, 0.02);
    position: relative;
}

.web-gallery::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 195, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.web-gallery::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.web-gallery-item {
    scroll-snap-align: center;
    flex: 0 0 95%;
    max-width: 1500px;
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.web-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
}

.web-gallery-text {
    padding: 32px 12px 8px;
}

.web-gallery-text h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.web-gallery-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .web-section-header h2 {
        font-size: 1.7rem;
    }

    .web-section {
        padding: 60px 5%;
    }

    .web-gallery {
        padding: 30px 20px;
        gap: 20px;
        border-radius: 20px;
        margin: 0 0 32px;
    }

    .web-gallery-item {
        flex: 0 0 88%;
    }
}


/* ===========================
   CONTACT SECTION
=========================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: #008888;
    box-shadow: 0 20px 40px -10px rgba(0, 136, 136, 0.2);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 136, 136, 0.1);
    border: 1px solid rgba(0, 136, 136, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #008888;
}

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

.contact-card h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.contact-card a,
.contact-value {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: #008888;
}

.contact-separator {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 6px;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

footer {
    padding: 40px 5% 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
}

.foot-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.foot-col h4 {
    color: #008888;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.foot-col ul {
    list-style: none;
}

.foot-col ul li {
    margin-bottom: 10px;
}

.foot-col ul li a,
.foot-col ul li button {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.foot-col ul li a:hover,
.foot-col ul li button:hover {
    color: var(--text-primary);
}

.foot-brand {
    text-align: center;
    flex: 1;
}

.foot-logo {
    margin-bottom: 15px;
    display: inline-block;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .14em;
    display: flex;
    align-items: center;
    gap: 10px;
}

img.brand {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    transition: filter 0.3s ease;
}

.foot-brand p {
    color: var(--text-secondary);
    max-width: 250px;
    margin: 0 auto;
}

.foot-right,
.foot-right ul li button,
.foot-right ul li a {
    text-align: right;
}

.foot-left,
.foot-left ul li button,
.foot-left ul li a {
    text-align: left;
}

.foot-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    color: var(--text-secondary);
}


/* Force-hide mobile elements on desktop regardless of JS state */
@media (min-width: 969px) {

    .mobile-nav,
    .mobile-nav.open {
        display: none !important;
    }

    .mobile-right {
        display: none !important;
    }
}

/* Hide mobile controls on desktop */
.mobile-right {
    display: none;
    align-items: center;
    gap: 10px;
}

/* === Hamburger button === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === Mobile nav panel === */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 5%;
    z-index: 150;
    animation: slideDown 0.25s ease-out;
}

.mobile-nav.open {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav button {
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s;
}

.mobile-nav button:last-child {
    border-bottom: none;
}

.mobile-nav button:hover,
.mobile-nav button.active {
    color: #008888;
}

.mobile-nav button.btn-primary-small {
    background: var(--green2);
    color: white !important;
    border-radius: 30px;
    padding: 10px 20px;
    border: none;
    margin-top: 4px;
}

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 2.3rem;
        line-height: 1.15;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .navbar {
        position: relative;
    }

    .navbar nav {
        display: none;
    }

    .mobile-right {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .foot-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 32px 0;
        align-items: flex-start;
    }

    .foot-brand {
        flex: 0 0 100%;
        order: -1;
        text-align: left;
        margin-bottom: 16px;
    }

    .foot-brand p {
        margin: 0;
        max-width: 100%;
    }

    .foot-col:not(.foot-brand) {
        flex: 0 0 50%;
        padding-right: 12px;
        text-align: left;
    }

    .foot-right,
    .foot-right ul li button,
    .foot-right ul li a {
        text-align: left;
    }

    .foot-bottom {
        text-align: left;
    }

    .feat-slide {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .feat-text {
        max-width: 100%;
    }

    .hero-image img {
        border-radius: 20px;
        max-height: 320px;
        object-fit: cover;
    }

    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.mobile-download-logo {
    display: block;
    margin: 0 auto;
    width: 100px;
}

/* TIMELINE DÉPLOIEMENT TACTIQUE */
.deployment-section {
    padding: 120px 6% 120px;
    position: relative;
    overflow: hidden;
}

.deployment-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.deployment-title {
    font-size: 3.4rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.deployment-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.deployment-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.deployment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: #fff;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 10px 30px rgba(39, 78, 111, 0.15);
}

.deployment-btn:hover {
    transform: translateY(-2px);
    background: #1a354d;
}

.deployment-btn-sub {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.deployment-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.deployment-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.deployment-step {
    position: relative;
    width: 50%;
    margin-bottom: -20px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
}

.deployment-step:nth-child(even) {
    margin-top: 100px;
}

.deployment-step.left {
    left: 0;
    align-items: flex-end;
    padding-right: 60px;
    text-align: right;
}

.deployment-step.right {
    left: 50%;
    align-items: flex-start;
    padding-left: 60px;
    text-align: left;
}

.deployment-step-content {
    position: relative;
    z-index: 3;
    max-width: 320px;
    width: 100%;
}

.deployment-step-number {
    font-size: 7.5rem;
    font-weight: 800;
    color: rgba(39, 78, 111, 0.5);
    line-height: 0.8;
    margin-bottom: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.deployment-step:hover .deployment-step-number {
    color: rgba(39, 78, 111, 0.8);
    transform: translateY(-5px);
}

.deployment-node {
    position: absolute;
    top: 130px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    z-index: 2;
    transition: all 0.3s ease;
}

.deployment-step.left .deployment-node {
    right: -4px; 
}

.deployment-step.right .deployment-node {
    left: -4px;
}

.deployment-step:hover .deployment-node {
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(39, 78, 111, 0.3);
}

.deployment-connector {
    position: absolute;
    top: 134px;
    width: calc(100% - 60px); 
    max-width: 380px;
    height: 1px;
    background: var(--border-color);
    transition: background 0.3s ease;
}

.deployment-step.left .deployment-connector {
    right: 0;
}

.deployment-step.right .deployment-connector {
    left: 0;
}

.deployment-step:hover .deployment-connector {
    background: var(--accent-color);
}

.deployment-step-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.deployment-step-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 968px) {
    .deployment-timeline {
        padding-left: 20px;
    }
    .deployment-line {
        left: 20px;
        transform: none;
    }
    .deployment-step {
        width: 100%;
        margin-top: 0 !important;
        margin-bottom: 40px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .deployment-step.left,
    .deployment-step.right {
        left: 0;
        align-items: flex-start;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }
    
    .deployment-node {
        top: 84px; 
    }
    .deployment-connector {
        top: 88px;
        width: calc(100% - 20px);
    }
    .deployment-step.left .deployment-node,
    .deployment-step.right .deployment-node {
        left: 16px; 
        right: auto;
    }
    .deployment-step.left .deployment-connector,
    .deployment-step.right .deployment-connector {
        left: 20px;
        right: auto;
    }
    
    .deployment-step-number {
        font-size: 4rem;
    }

    .deployment-step-content {
        max-width: 100%;
        width: 100%;
    }
}



.ecosystem-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.ecosystem-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-right: 4px;
}

.ecosystem-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-primary);
    transition: all 0.25s ease;
    letter-spacing: 0.05em;
}

.ecosystem-btn:hover {
    border-color: var(--accent-color);
    background: rgba(39, 78, 111, 0.08);
    transform: translateY(-2px);
}

.ecosystem-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-color);
    flex-shrink: 0;
}

.ecosystem-btn--military .ecosystem-dot {
    background: #008888;
}

.ecosystem-btn--work .ecosystem-dot {
    background: #274e6f;
}

@media (max-width: 768px) {
    .ecosystem-nav {
        gap: 8px;
        margin-top: 20px;
    }
    .ecosystem-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}



.military-immersive {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.military-immersive-text {
    padding: 50px 56px;
    z-index: 2;
    flex: 1 1 400px;
    max-width: 600px;
}

.military-immersive-img {
    flex: 1 1 400px;
    display: flex;
    justify-content: flex-end;
}

.military-immersive-img img {
    width: 100%;
    max-width: 800px;
    object-fit: cover;
    opacity: 0.9;
}

.military-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.military-layer-grid {
    position: relative;
    z-index: 2;
    padding: 80px 6%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    width: 100%;
}

.layer-col-title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-top: 96px;
    margin-bottom: 10px;
}

@media (max-width: 968px) {
    .military-immersive-text {
        padding: 40px 24px;
        max-width: 100%;
    }
    .military-immersive-img {
        justify-content: center;
    }
    .military-immersive-img img {
        width: 100%;
    }
    .military-bento {
        display: flex !important;
        flex-direction: column;
    }
    .military-layer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 6%;
    }
    .layer-col-title {
        margin-top: 20px !important;
    }
}


@media (max-width: 768px) {
    #accueil .hero-content h2 {
        font-size: clamp(1.4rem, 7vw, 2.5rem) !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    #accueil .hero-content p {
        font-size: clamp(0.95rem, 4vw, 1.3rem) !important;
    }

    #accueil .hero {
        overflow: hidden;
        padding-left: 4%;
        padding-right: 4%;
    }


    .section-page h2 {
        font-size: clamp(1.5rem, 6vw, 3rem) !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .section-page h3 {
        font-size: clamp(1.2rem, 5vw, 2rem) !important;
        word-break: break-word !important;
    }
}


.mesh-work {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
  margin: 50px auto 20px auto;
  opacity: 0.9;
}

.mesh-work svg.mesh-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mesh-work .pulse-line {
  fill: none;
  stroke: #274e6f;
  stroke-width: 2.5;
  stroke-dasharray: 6 6;
  animation: pulse-flow 3s linear infinite;
}

@keyframes pulse-flow {
  from { stroke-dashoffset: 24; }
  to { stroke-dashoffset: 0; }
}

.mesh-work .mesh-node {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: var(--surface-2);
  border: 1px solid #274e6f;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}

.mesh-caption {
    max-width: 520px;
    margin: 0 auto 0;
    margin-top: 0;
    text-align: center;
}

.mesh-caption p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.5rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.mesh-caption strong {
    color: var(--text-primary);
    font-weight: 700;
}

.mesh-work .mesh-node svg {
  width: 32px;
  height: 32px;
  overflow: visible;
}

.mesh-work .mesh-node.chat { top: 6%; left: 6%; }
.mesh-work .mesh-node.call { top: 60%; left: 0%; }
.mesh-work .mesh-node.video { top: 27%; right: 4%; }

.mesh-work .mesh-node.core {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  border-radius: 30px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border-color: #274e6f;
}

.mesh-work .mesh-node.core .logo-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  color: #f25B2A;
  font-size: 30px;
  letter-spacing: .08em;
}