/* ============================
   SCER - THEME PRINCIPAL
   ============================ */

:root {
    --scer-green: #22c55e;
    --scer-dark: #0f172a;
    --scer-teal: #0f766e;
    --scer-bg: #f5f7fa;
    --scer-muted: #6b7280;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    background-color: var(--scer-bg);
}

/* Navbar */

.navbar-custom {
    background: linear-gradient(90deg, var(--scer-teal), #0891b2);
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

.navbar-custom .navbar-brand {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.navbar-logo {
    height: 40px;
}

.navbar-custom .nav-link {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.navbar-custom.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: var(--scer-dark);
}

/* Sections globales */

.page-section {
    padding: 5rem 0;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
}

.section-subheading {
    font-size: 0.95rem;
}

/* Hero */

.masthead {
    padding-top: 8rem;
    padding-bottom: 5rem;
    color: #ffffff;
}

.masthead-green {
    background: radial-gradient(circle at top left, #4ade80 0, var(--scer-teal) 45%, var(--scer-dark) 100%);
    position: relative;
    overflow: hidden;
}

.masthead-green::before {
    content: "";
    position: absolute;
    inset: -40%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.2), transparent 60%),
        radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.25), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.masthead .container {
    position: relative;
    z-index: 1;
}

.masthead-subheading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.9;
}

.masthead-heading {
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 0.4rem;
    margin-bottom: 1rem;
}

.masthead-text {
    font-size: 0.98rem;
    max-width: 620px;
    opacity: 0.95;
}

.hero-card {
    background-color: rgba(15, 23, 42, 0.94);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.5);
    color: #e5e7eb;
}

.hero-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-list {
    list-style: none;
    padding-left: 0;
    margin: 1.2rem 0;
    font-size: 0.92rem;
}

.hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.hero-list i {
    color: var(--scer-green);
    margin-top: 0.15rem;
}

.hero-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-tags .badge {
    font-weight: 500;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
}

/* Boutons */

.btn-primary {
    background-color: var(--scer-green);
    border-color: var(--scer-green);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #16a34a;
    border-color: #16a34a;
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
}

/* Services */

.service-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.service-card p {
    font-size: 0.94rem;
    color: var(--scer-muted);
}

.service-icon .fa-circle {
    color: var(--scer-teal);
}

/* À propos */

#about p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-box {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
    font-size: 0.94rem;
}

.about-list i {
    color: var(--scer-green);
    margin-top: 0.15rem;
}

/* Portfolio */

.portfolio-item {
    border-radius: 1.1rem;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
}

.portfolio-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.portfolio-caption {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
}

.portfolio-caption h5 {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.portfolio-caption p {
    font-size: 0.92rem;
    color: var(--scer-muted);
}

/* Équipe */

#team {
    background-color: #ffffff;
}

.team-member {
    background-color: #f9fafb;
    border-radius: 1.2rem;
    padding: 1.6rem 1.2rem 1.4rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.team-photo {
    width: 110px;
    height: 110px;
    margin: 0 auto;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 1rem;
    font-weight: 600;
}

.team-member .role {
    font-size: 0.88rem;
    color: var(--scer-muted);
}

/* Contact */

.contact-section {
    background: radial-gradient(circle at top, #1f2937 0, #020617 60%);
    color: #e5e7eb;
}

.contact-card {
    background-color: rgba(15, 23, 42, 0.96);
    border-radius: 1.25rem;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.contact-card h4, .contact-card h5 {
    font-weight: 600;
}

.contact-card p {
    font-size: 0.94rem;
    margin-bottom: 0.45rem;
}

.contact-card i {
    color: var(--scer-green);
    margin-right: 0.4rem;
}

.contact-card a {
    color: #e5e7eb;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-section .form-label {
    font-size: 0.9rem;
}

.contact-section .form-control,
.contact-section .form-select {
    background-color: #020617;
    border-color: #111827;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.contact-section .form-control::placeholder {
    color: #6b7280;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
    border-color: var(--scer-green);
    box-shadow: 0 0 0 0.15rem rgba(34, 197, 94, 0.28);
}

/* Footer */

.footer {
    background-color: #020617;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.87rem;
}

.footer-links a:hover {
    color: #f9fafb;
}

/* Utilitaires */

.text-light {
    color: #e5e7eb !important;
}

/* Responsive */

@media (max-width: 991.98px) {
    .masthead {
        padding-top: 7rem;
        text-align: center;
    }

    .masthead-heading {
        font-size: 2rem;
    }

    .masthead-text {
        margin-left: auto;
        margin-right: auto;
    }
}