/* =========================================================
   SCOLAPAY - STYLE PRINCIPAL
   Site : https://zalytechno.com/scolapay/
   ========================================================= */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    --green: #009b50;
    --green-dark: #007a40;
    --green-light: #e9f8f0;

    --yellow: #ffd200;
    --yellow-dark: #e5b900;

    --blue: #155eef;
    --blue-dark: #0d47c7;
    --blue-light: #edf4ff;

    --orange: #ff7900;

    --white: #ffffff;
    --black: #102019;

    --gray: #64716b;
    --gray-light: #f5f8f6;

    --border: #dce9e1;

    --shadow:
        0 10px 30px rgba(0, 90, 45, 0.10);

    --shadow-hover:
        0 18px 40px rgba(0, 90, 45, 0.16);

    --radius: 20px;
}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--gray-light);

    color: var(--black);

    line-height: 1.6;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================================
   3. CONTENEUR
   ========================================================= */

.container {
    width: min(1150px, 92%);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   4. BOUTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 50px;

    padding: 13px 21px;

    border-radius: 12px;

    font-weight: 750;

    border: none;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-green {
    background: var(--green);
    color: white;

    box-shadow:
        0 8px 20px rgba(0, 155, 80, 0.22);
}

.btn-green:hover {
    background: var(--green-dark);
}

.btn-yellow {
    background: var(--yellow);
    color: #18301f;

    box-shadow:
        0 8px 20px rgba(255, 210, 0, 0.25);
}

.btn-yellow:hover {
    background: var(--yellow-dark);
}

.btn-blue {
    background: var(--blue);
    color: white;
}

.btn-blue:hover {
    background: var(--blue-dark);
}

.btn-white {
    background: white;
    color: var(--green-dark);

    border: 1px solid var(--border);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-orange {
    background: var(--orange);
    color: white;
}


/* =========================================================
   5. HEADER
   ========================================================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(12px);

    border-bottom:
        1px solid var(--border);

    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.04);
}

.navbar {
    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.brand {
    display: flex;

    align-items: center;

    gap: 11px;

    color: var(--green-dark);

    font-size: 22px;

    font-weight: 800;
}

.brand img {
    width: 48px;
    height: 48px;

    border-radius: 13px;

    object-fit: cover;
}

.nav-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    color: white;

    padding:
        78px 0 90px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255, 210, 0, 0.22),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            #006f3a,
            #009b50
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.05);

    right: -100px;
    bottom: -130px;
}

.hero-content {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    align-items: center;

    gap: 55px;
}

.hero-text h1 {
    font-size:
        clamp(40px, 6vw, 65px);

    line-height: 1.05;

    margin-bottom: 20px;

    letter-spacing: -1.5px;
}

.hero-text h1 span {
    color: var(--yellow);
}

.hero-text p {
    max-width: 650px;

    font-size: 18px;

    color:
        rgba(255, 255, 255, 0.92);

    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 11px;
}

.hero-logo {
    display: flex;

    justify-content: center;

    position: relative;
}

.logo-card {
    width: min(340px, 80vw);

    aspect-ratio: 1 / 1;

    background: white;

    padding: 15px;

    border-radius: 40px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25);

    transform: rotate(2deg);
}

.logo-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 30px;
}


/* =========================================================
   7. TITRES DE SECTION
   ========================================================= */

.section {
    padding: 80px 0;
}

.section-title {
    max-width: 750px;

    margin:
        0 auto 45px;

    text-align: center;
}

.section-title h2 {
    color: var(--green-dark);

    font-size:
        clamp(28px, 5vw, 42px);

    line-height: 1.15;

    margin-bottom: 12px;
}

.section-title p {
    color: var(--gray);

    font-size: 17px;
}


/* =========================================================
   8. BADGES
   ========================================================= */

.badge {
    display: inline-block;

    padding: 7px 15px;

    border-radius: 30px;

    font-size: 12px;

    font-weight: 800;

    margin-bottom: 14px;
}

.badge-yellow {
    background: var(--yellow);

    color: #17301f;
}

.badge-green {
    background: var(--green-light);

    color: var(--green-dark);
}

.badge-blue {
    background: var(--blue-light);

    color: var(--blue-dark);
}


/* =========================================================
   9. FONCTIONNALITÉS
   ========================================================= */

.features {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.feature-card {
    background: white;

    padding: 27px;

    border-radius: var(--radius);

    border:
        1px solid var(--border);

    box-shadow: var(--shadow);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background: var(--green-light);

    font-size: 27px;

    margin-bottom: 17px;
}

.feature-card h3 {
    color: var(--green-dark);

    font-size: 19px;

    margin-bottom: 7px;
}

.feature-card p {
    color: var(--gray);

    font-size: 15px;
}


/* =========================================================
   10. TERMINAL ANDROID
   ========================================================= */

.terminal-section {
    background: white;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}

.terminal-content {
    display: grid;

    grid-template-columns:
        0.95fr 1.05fr;

    align-items: center;

    gap: 55px;
}

.terminal-image {
    background:
        linear-gradient(
            145deg,
            #eaf8f0,
            #ffffff
        );

    border-radius: 28px;

    padding: 15px;

    border:
        1px solid var(--border);

    box-shadow: var(--shadow);
}

.terminal-image img {
    width: 100%;

    border-radius: 20px;
}

.terminal-info h3 {
    color: var(--green-dark);

    font-size: 28px;

    line-height: 1.25;

    margin-bottom: 12px;
}

.terminal-info > p {
    color: var(--gray);

    margin-bottom: 25px;
}

.terminal-features {
    display: flex;

    flex-direction: column;

    gap: 13px;

    margin-bottom: 25px;
}

.terminal-feature {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 13px;

    border-radius: 14px;

    background: var(--gray-light);

    border:
        1px solid var(--border);
}

.terminal-feature > span {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background: var(--green-light);

    font-size: 20px;
}

.terminal-feature strong {
    display: block;

    color: var(--green-dark);

    margin-bottom: 2px;
}

.terminal-feature p {
    color: var(--gray);

    font-size: 14px;

    margin: 0;
}


/* =========================================================
   11. GALERIE / CAPTURES
   ========================================================= */

.gallery-section {
    background: var(--gray-light);
}

.gallery {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.gallery-card {
    overflow: hidden;

    background: white;

    border-radius: 20px;

    border:
        1px solid var(--border);

    box-shadow: var(--shadow);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-hover);
}

.gallery-image {
    background: #f1f4f2;

    padding: 12px;
}

.gallery-image img {
    width: 100%;

    height: 330px;

    object-fit: contain;

    border-radius: 13px;
}

.gallery-info {
    padding: 18px;
}

.gallery-info h3 {
    color: var(--green-dark);

    font-size: 17px;

    margin-bottom: 5px;
}

.gallery-info p {
    color: var(--gray);

    font-size: 14px;
}


/* =========================================================
   12. GALERIE LARGE / PAIEMENTS
   ========================================================= */

.payment-gallery {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}

.payment-card {
    background: white;

    border-radius: 24px;

    padding: 15px;

    border:
        1px solid var(--border);

    box-shadow: var(--shadow);

    overflow: hidden;
}

.payment-card img {
    width: 100%;

    max-height: 600px;

    object-fit: contain;

    border-radius: 15px;

    background: #f5f5f5;
}

.payment-card-content {
    padding: 18px 5px 5px;
}

.payment-card-content h3 {
    color: var(--green-dark);

    font-size: 20px;

    margin-bottom: 5px;
}

.payment-card-content p {
    color: var(--gray);

    font-size: 14px;
}


/* =========================================================
   13. CARTE SCOLAIRE QR
   ========================================================= */

.student-card-section {
    background: white;
}

.student-card-container {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 55px;
}

.student-card-image {
    padding: 18px;

    background:
        linear-gradient(
            145deg,
            #edf4ff,
            #ffffff
        );

    border-radius: 25px;

    box-shadow: var(--shadow);

    border:
        1px solid var(--border);
}

.student-card-image img {
    width: 100%;

    border-radius: 12px;
}

.student-card-text h3 {
    color: var(--green-dark);

    font-size: 30px;

    line-height: 1.2;

    margin-bottom: 15px;
}

.student-card-text p {
    color: var(--gray);

    margin-bottom: 18px;
}

.check-list {
    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-bottom: 25px;
}

.check-list li {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #30423a;

    font-weight: 600;
}

.check-list li::before {
    content: "✓";

    display: flex;

    align-items: center;

    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 50%;

    background: var(--green);

    color: white;

    font-size: 13px;

    font-weight: 900;
}


/* =========================================================
   14. TÉLÉCHARGEMENT
   ========================================================= */

.download-section {
    background: var(--green-light);

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}

.download-box {
    max-width: 850px;

    margin: auto;

    background: white;

    text-align: center;

    padding: 45px 30px;

    border-radius: 28px;

    border:
        2px solid rgba(0, 155, 80, 0.13);

    box-shadow: var(--shadow);
}

.download-logo {
    width: 95px;
    height: 95px;

    margin:
        0 auto 18px;

    border-radius: 22px;

    object-fit: cover;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);
}

.download-box h2 {
    color: var(--green-dark);

    font-size: 34px;

    margin-bottom: 10px;
}

.download-box p {
    color: var(--gray);

    margin-bottom: 7px;
}

.download-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 24px;
}


/* =========================================================
   15. INSTALLATION
   ========================================================= */

.installation-section {
    background: #102019;

    color: white;
}

.installation-section .section-title h2 {
    color: white;
}

.installation-section .section-title p {
    color: #b8c9c0;
}

.steps {
    max-width: 800px;

    margin: auto;
}

.step {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 19px;

    margin-bottom: 13px;

    background: #182c23;

    border-radius: 16px;

    border:
        1px solid rgba(255, 255, 255, 0.06);
}

.step-number {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--yellow);

    color: #17301f;

    font-weight: 900;
}

.step strong {
    color: var(--yellow);
}


/* =========================================================
   16. PARTAGE WHATSAPP
   ========================================================= */

.share-section {
    background: white;
}

.share-box {
    max-width: 850px;

    margin: auto;

    padding: 40px 25px;

    text-align: center;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #effff6,
            #ffffff
        );

    border:
        1px solid var(--border);
}

.share-box h2 {
    color: var(--green-dark);

    margin-bottom: 9px;
}

.share-box p {
    color: var(--gray);

    margin-bottom: 22px;
}


/* =========================================================
   17. CTA FINAL
   ========================================================= */

.cta {
    position: relative;

    overflow: hidden;

    padding: 75px 20px;

    text-align: center;

    color: white;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 210, 0, 0.22),
            transparent 25%
        ),

        linear-gradient(
            135deg,
            #007a40,
            #009b50
        );
}

.cta h2 {
    font-size:
        clamp(29px, 5vw, 43px);

    margin-bottom: 10px;
}

.cta p {
    opacity: 0.95;

    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   18. FOOTER
   ========================================================= */

.site-footer {
    background: #07130d;

    color: #a7b5ae;

    text-align: center;

    padding: 35px 20px;
}

.footer-logo {
    width: 65px;
    height: 65px;

    margin:
        0 auto 12px;

    border-radius: 16px;

    object-fit: cover;
}

.site-footer strong {
    color: white;
}

.footer-links {
    margin-top: 10px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;
}

.footer-links a {
    color: #b9c9c1;

    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--yellow);
}


/* =========================================================
   19. ANIMATION
   ========================================================= */

.fade-up {
    animation:
        fadeUp 0.7s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;

        transform:
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   20. RESPONSIVE TABLETTE
   ========================================================= */

@media (max-width: 950px) {

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-logo {
        order: -1;
    }

    .features {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .terminal-content {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .student-card-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }
}


/* =========================================================
   21. RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .container {
        width: 92%;
    }

    .section {
        padding: 55px 0;
    }

    .navbar {
        min-height: 64px;
    }

    .brand {
        font-size: 19px;
    }

    .brand img {
        width: 43px;
        height: 43px;
    }

    .nav-actions .btn {
        min-height: 42px;

        padding:
            9px 12px;

        font-size: 13px;
    }

    .hero {
        padding:
            55px 0 65px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;

        max-width: 350px;
    }

    .logo-card {
        width: 230px;

        border-radius: 28px;

        padding: 11px;
    }

    .logo-card img {
        border-radius: 21px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 22px;
    }

    .terminal-info h3 {
        font-size: 24px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-image img {
        height: auto;

        max-height: 600px;
    }

    .payment-gallery {
        grid-template-columns: 1fr;
    }

    .student-card-text h3 {
        font-size: 26px;
    }

    .download-box {
        padding:
            35px 18px;
    }

    .download-box h2 {
        font-size: 29px;
    }

    .download-buttons {
        flex-direction: column;

        align-items: center;
    }

    .download-buttons .btn {
        width: 100%;

        max-width: 340px;
    }

    .step {
        padding: 16px;
    }

    .cta-buttons {
        flex-direction: column;

        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;

        max-width: 340px;
    }
}


/* =========================================================
   22. PETITS ÉCRANS
   ========================================================= */

@media (max-width: 400px) {

    .hero-text h1 {
        font-size: 35px;
    }

    .brand {
        font-size: 17px;
    }

    .nav-actions .btn {
        font-size: 12px;

        padding:
            8px 10px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
    }
}
/* =====================================================
   SECTION SEO - SCOLAPAY EN GUINÉE
===================================================== */

.seo-section {
    padding: 90px 0;
    background: #ffffff;
}

.seo-section .section-header {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.seo-section .section-header h2 {
    margin-top: 15px;
    margin-bottom: 18px;
}

.seo-section .section-header p {
    max-width: 750px;
    margin: 0 auto;
    color: #666;
    line-height: 1.8;
}

.seo-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
    max-width: 1100px;
    margin: 0 auto;
}

.seo-text h3 {
    color: #007a40;
    font-size: 1.35rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.seo-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 22px;
}

.seo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-list li {
    padding: 10px 0;
    color: #444;
    line-height: 1.6;
}

.seo-highlight {
    max-width: 950px;
    margin: 55px auto 0;
    padding: 35px;
    text-align: center;
    background: #e9f8f0;
    border-radius: 20px;
    border-left: 5px solid #009b50;
}

.seo-highlight h3 {
    color: #007a40;
    margin-bottom: 12px;
}

.seo-highlight p {
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 25px;
}


/* Responsive */

@media (max-width: 800px) {

    .seo-section {
        padding: 65px 0;
    }

    .seo-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .seo-highlight {
        padding: 25px 20px;
    }

}
/* ─────────────────────────────────────
   Lien ScolaPay dans le menu
───────────────────────────────────── */

.nav-scolapay {
    font-weight: 700 !important;
    color: #009b50 !important;
}

.nav-scolapay i {
    color: #009b50;
}

.nav-scolapay:hover {
    color: #007a40 !important;
}