:root {
    /* COULEURS PRINCIPALES */
    --primary: #071A52;
    --primary-light: #0A2A8A;

    /* VERT WINYOULIFE */
    --secondary: #16A34A;
    --secondary-dark: #15803D;
    --secondary-light: #DCFCE7;
    --secondary-bright: #22C55E;

    /* COULEURS GÉNÉRALES */
    --dark: #101828;
    --text: #344054;
    --text-light: #667085;
    --light: #F5F7FA;
    --white: #FFFFFF;
    --border: #E4E7EC;
    --success: #16A34A;
}

/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   CONTAINER & SECTIONS
========================================= */

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.eyebrow::before {
    content: "";
    width: 35px;
    height: 2px;
    background: var(--secondary);
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 18px;
}

.section-text {
    font-size: 17px;
    color: var(--text-light);
}

/* =========================================
   BOUTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.22);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(22, 163, 74, 0.3);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* =========================================
   HEADER
========================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 20, 30, 0.92);
    backdrop-filter: blur(14px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
}

.navbar {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 210px;
    max-height: 55px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-bright);
}

header.scrolled .nav-links a {
    color: var(--dark);
}

header.scrolled .nav-links a:hover {
    color: var(--secondary);
}

.nav-links .nav-btn {
    color: var(--white) !important;
    background: var(--secondary);
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links .nav-btn:hover {
    color: var(--white) !important;
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

header.scrolled .menu-btn {
    color: var(--dark);
}

/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;
    padding: 150px 0 80px;
    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(34, 197, 94, 0.20),
            transparent 22%
        ),
        radial-gradient(
            circle at 60% 80%,
            rgba(20, 75, 190, 0.25),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #041238 0%,
            #071A52 55%,
            #0A2A8A 100%
        );
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    right: -180px;
    top: 100px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: 50%;
    left: -180px;
    bottom: -180px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.07);
    color: #D0D5DD;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-bright);
    box-shadow: 0 0 15px var(--secondary-bright);
}

.hero h1 {
    font-size: clamp(42px, 5vw, 70px);
    color: var(--white);
    margin: 22px 0;
    letter-spacing: -2px;
}

.hero h1 strong {
    color: var(--secondary-bright);
}

.hero-text {
    color: #D0D5DD;
    font-size: 18px;
    max-width: 650px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust div {
    color: #98A2B3;
    font-size: 13px;
    font-weight: 600;
}

.hero-trust i {
    color: var(--secondary-bright);
    margin-right: 7px;
}

/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {
    position: relative;
    min-height: 500px;
}

.dashboard {
    position: absolute;
    width: 90%;
    top: 40px;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
    transform: rotate(3deg);
}

.browser-top {
    display: flex;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid #EAECF0;
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D0D5DD;
}

.screen {
    padding: 25px;
    min-height: 310px;
    background: #F8FAFC;
    border-radius: 12px;
}

.screen-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.fake-logo {
    width: 100px;
    height: 15px;
    background: var(--primary);
    border-radius: 5px;
}

.fake-button {
    width: 80px;
    height: 26px;
    background: var(--secondary);
    border-radius: 5px;
}

.screen-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
}

.fake-title {
    width: 90%;
    height: 20px;
    border-radius: 5px;
    background: var(--primary);
    margin-bottom: 12px;
}

.fake-title.small {
    width: 60%;
}

.fake-line {
    height: 9px;
    border-radius: 5px;
    background: #D0D5DD;
    margin: 8px 0;
}

.fake-line.short {
    width: 70%;
}

.fake-red {
    width: 100px;
    height: 30px;
    border-radius: 6px;
    background: var(--secondary);
    margin-top: 20px;
}

.fake-card {
    height: 160px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--primary-light),
        var(--primary)
    );
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    z-index: 5;
}

.floating-card i {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: var(--secondary-light);
    color: var(--secondary);
    border-radius: 12px;
}

.floating-card h4 {
    font-size: 14px;
}

.floating-card p {
    font-size: 11px;
    color: var(--text-light);
}

.card-mobile {
    left: -10px;
    bottom: 45px;
}

.card-security {
    right: -20px;
    top: 360px;
}

/* =========================================
   EXPERTISE BAR
========================================= */

.expertise-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.expertise-items {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.expertise-item {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
}

.expertise-item:hover {
    color: var(--secondary);
}

/* =========================================
   SERVICES
========================================= */

.services {
    background: #F8FAFC;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(16, 24, 40, 0.10);
    border-color: rgba(22, 163, 74, 0.35);
}

.service-number {
    font-size: 13px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 25px;
}

.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    background: var(--secondary-light);
    color: var(--secondary);
    border-radius: 15px;
    font-size: 22px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-card li {
    font-size: 13px;
    margin-bottom: 8px;
    color: #475467;
}

.service-card li i {
    color: var(--success);
    margin-right: 8px;
}

/* =========================================
   SOLUTIONS
========================================= */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.solution {
    border: 1px solid var(--border);
    padding: 25px 20px;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.solution:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(7, 26, 82, 0.18);
}

.solution i {
    color: var(--secondary);
    font-size: 25px;
    margin-bottom: 15px;
}

.solution h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.solution p {
    font-size: 12px;
    color: var(--text-light);
}

.solution:hover h3,
.solution:hover p {
    color: var(--white);
}

.solution:hover i {
    color: var(--secondary-bright);
}

/* =========================================
   PROCESS
========================================= */

.process {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(34, 197, 94, 0.12),
            transparent 25%
        ),
        var(--primary);
    position: relative;
    overflow: hidden;
}

.process .section-title,
.process .section-text {
    color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.process-item {
    position: relative;
    padding: 30px 20px;
}

.process-number {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 800;
    margin-bottom: 22px;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.25);
}

.process-item h3 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 10px;
}

.process-item p {
    color: #C8D1E5;
    font-size: 13px;
}

/* =========================================
   PORTFOLIO
========================================= */

.portfolio {
    background: #F8FAFC;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(16, 24, 40, 0.10);
}

.portfolio-image {
    height: 230px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(7, 26, 82, 0.15),
        rgba(22, 163, 74, 0.15)
    );
}

.project-1 {
    background: linear-gradient(
        135deg,
        #075E54,
        #16A34A
    );
}

.project-2 {
    background: linear-gradient(
        135deg,
        #0A2A8A,
        #2878FF
    );
}

.project-3 {
    background: linear-gradient(
        135deg,
        #064E3B,
        #22C55E
    );
}

.project-name {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-category {
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-content h3 {
    margin: 8px 0;
    font-size: 21px;
}

.portfolio-content p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 20px;
}

.portfolio-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    transition: color 0.3s ease;
}

.portfolio-link:hover {
    color: var(--secondary);
}

/* =========================================
   À PROPOS
========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
}

.about-content .eyebrow {
    justify-content: flex-start;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 30px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.feature {
    padding: 18px;
    border-left: 3px solid var(--secondary);
    background: #F8FAFC;
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--secondary-light);
    transform: translateX(5px);
}

.feature h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.feature p {
    font-size: 12px;
    color: var(--text-light);
}

.about-panel {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(34, 197, 94, 0.20),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );
    border-radius: 22px;
    padding: 50px;
    color: var(--white);
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.about-panel::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    right: -100px;
    top: -100px;
}

.about-panel h3 {
    color: var(--white);
    font-size: 35px;
    margin-bottom: 20px;
    position: relative;
}

.about-panel p {
    color: #D0D5DD;
    position: relative;
}

.about-list {
    margin-top: 30px;
    position: relative;
}

.about-list div {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.about-list i {
    color: var(--secondary-bright);
    margin-right: 10px;
}

/* =========================================
   CTA
========================================= */

.cta {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(22, 163, 74, 0.18),
            transparent 40%
        ),
        var(--dark);
    padding: 90px 0;
    text-align: center;
}

.cta h2 {
    color: var(--white);
    font-size: clamp(32px, 4vw, 50px);
    margin-bottom: 18px;
}

.cta p {
    color: #98A2B3;
    max-width: 650px;
    margin: 0 auto 30px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* =========================================
   CONTACT
========================================= */

.contact {
    background: #F8FAFC;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--secondary-light);
    color: var(--secondary);
    border-radius: 12px;
}

.contact-item h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 13px;
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.06);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.10);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* =========================================
   FOOTER
========================================= */

footer {
    background: #071126;
    color: #98A2B3;
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    width: 210px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 13px;
    max-width: 320px;
    margin-bottom: 20px;
}

.socials {
    display: flex;
    gap: 10px;
}

.socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #98A2B3;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary-bright);
}

.newsletter {
    display: flex;
}

.newsletter input {
    min-width: 0;
    flex: 1;
    border: none;
    padding: 12px;
    outline: none;
    border-radius: 7px 0 0 7px;
}

.newsletter button {
    border: none;
    background: var(--secondary);
    color: var(--white);
    padding: 0 15px;
    border-radius: 0 7px 7px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: var(--secondary-dark);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
}

.copyright a {
    color: #98A2B3;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--secondary-bright);
}

/* =========================================
   WHATSAPP
========================================= */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    font-size: 25px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp:hover {
    transform: scale(1.10);
}

/* =========================================
   RETOUR EN HAUT
========================================= */

.back-top {
    position: fixed;
    right: 25px;
    bottom: 95px;
    width: 45px;
    height: 45px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.back-top:hover {
    background: var(--secondary);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   ANIMATIONS
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



/* =========================================
   TOAST NOTIFICATIONS
========================================= */

.toast-container {
    position: fixed;
    top: 100px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(400px, calc(100% - 30px));
}

.toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #FFFFFF;
    border-radius: 14px;
    border-left: 5px solid var(--secondary);
    box-shadow: 0 15px 40px rgba(16, 24, 40, 0.18);
    overflow: hidden;
    animation: toastIn 0.4s ease forwards;
}

.toast.hide {
    animation: toastOut 0.4s ease forwards;
}

.toast-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

.toast-content {
    flex: 1;
    padding-right: 10px;
}

.toast-title {
    display: block;
    color: var(--dark);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 3px;
}

.toast-message {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}

.toast-close {
    border: none;
    background: transparent;
    color: #98A2B3;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    transition: 0.3s;
}

.toast-close:hover {
    color: var(--dark);
}

/* SUCCESS */

.toast-success {
    border-left-color: #16A34A;
}

.toast-success .toast-icon {
    background: #DCFCE7;
    color: #16A34A;
}

/* ERROR */

.toast-error {
    border-left-color: #DC2626;
}

.toast-error .toast-icon {
    background: #FEE2E2;
    color: #DC2626;
}

/* WARNING */

.toast-warning {
    border-left-color: #F59E0B;
}

.toast-warning .toast-icon {
    background: #FEF3C7;
    color: #F59E0B;
}

/* INFO */

.toast-info {
    border-left-color: #0A2A8A;
}

.toast-info .toast-icon {
    background: #DBEAFE;
    color: #0A2A8A;
}

/* BARRE DE PROGRESSION */

.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: #16A34A;
    animation: toastProgress 5s linear forwards;
}

.toast-error .toast-progress {
    background: #DC2626;
}

.toast-warning .toast-progress {
    background: #F59E0B;
}

.toast-info .toast-progress {
    background: #0A2A8A;
}

/* ANIMATIONS */

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@media (max-width: 600px) {
    .toast-container {
        top: 85px;
        right: 15px;
        width: calc(100% - 30px);
    }

    .toast {
        padding: 14px;
    }
}

/* =========================================
   RESPONSIVE TABLETTE
========================================= */

@media (max-width: 1050px) {

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 650px;
        width: 100%;
        margin: auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid,
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        width: 100%;
        justify-self: center;
    }
}

/* =========================================
   RESPONSIVE MOBILE
========================================= */

@media (max-width: 760px) {

    .section {
        padding: 70px 0;
    }

    .navbar {
        height: 72px;
    }

    .logo img {
        width: 170px;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 25px 4%;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        display: none;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a,
    header.scrolled .nav-links a {
        color: var(--dark);
    }

    .nav-links .nav-btn {
        width: 100%;
        text-align: center;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 130px 0 70px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-visual {
        min-height: 380px;
        margin-top: 20px;
    }

    .dashboard {
        width: 95%;
        right: 2%;
    }

    .screen {
        padding: 15px;
        min-height: 260px;
    }

    .screen-content {
        gap: 12px;
    }

    .card-mobile {
        left: 0;
        bottom: 30px;
    }

    .card-security {
        right: 0;
        top: auto;
        bottom: -25px;
    }

    .hero-trust {
        gap: 12px;
    }

    .services-grid,
    .portfolio-grid,
    .solutions-grid,
    .process-grid,
    .features {
        grid-template-columns: 1fr;
    }

    .portfolio-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .copyright {
        flex-direction: column;
        text-align: center;
    }

    .expertise-items {
        justify-content: center;
        padding: 20px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 30px;
    }

    .contact-info h2 {
        font-size: 32px;
    }

    .about-panel {
        padding: 30px;
        min-height: auto;
    }

    .about-panel h3 {
        font-size: 28px;
    }
}

/* =========================================
   PETITS ÉCRANS
========================================= */

@media (max-width: 480px) {

    .container {
        width: min(92%, 1180px);
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-badge {
        font-size: 10px;
    }

    .floating-card {
        padding: 12px;
        gap: 8px;
    }

    .floating-card i {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .floating-card h4 {
        font-size: 11px;
    }

    .floating-card p {
        font-size: 9px;
    }

    .service-card {
        padding: 25px;
    }

    .portfolio-image {
        height: 190px;
    }

    .contact-form {
        padding: 20px;
    }

    .whatsapp {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }

    .back-top {
        width: 42px;
        height: 42px;
        right: 15px;
        bottom: 80px;
    }
}