/**
 * Église Béthanie - Styles Principaux
 * Contient tous les styles de base pour la navigation, layout, et composants
 */

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

:root {
    --primary: #5574F6;
    --primary-dark: #0D38EE;
    --white: #FFFFFF;
    --dark: #1F2937;
    --light: #F8FAFC;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gradient-primary: linear-gradient(135deg, #0A1F66 0%, var(--primary-dark) 100%);
    --radius: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 25px 70px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
}

section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== NAVIGATION ===== */
nav {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.nav-brand:hover {
    opacity: 0.8;
}

.brand-wordmark {
    font-family: 'Coolvetica Light', 'Coolvetica', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: -0.055em;
}

.nav-brand-text {
    display: block;
    color: var(--primary);
    font-size: 1.7rem;
    line-height: 1;
    padding: 0.08em 0.12em 0.16em 0.02em;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 700;
}

.hamburger {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0.5rem;
    margin: -0.5rem;
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger:focus-visible,
.nav-links a:focus-visible,
.nav-brand:focus-visible {
    outline: 3px solid rgba(80, 100, 156, 0.35);
    outline-offset: 4px;
    border-radius: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

@media (max-width: 1024px) {
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.28);
        z-index: 999;
        backdrop-filter: blur(2px);
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 1002;
        width: 46px;
        height: 46px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(80, 100, 156, 0.18);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 8px 22px rgba(80, 100, 156, 0.14);
        gap: 5px;
        margin: 0;
        padding: 0;
    }

    .nav-brand-text {
        font-size: 1.45rem;
    }

    .hamburger.open {
        position: fixed;
        top: 1rem;
        right: 1rem;
        border-color: rgba(80, 100, 156, 0.28);
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(82vw, 360px);
        height: 100dvh;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
        background: var(--white);
        box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
        overflow-y: auto;
        padding: 5.5rem 1.25rem 2rem;
        transform: translateX(105%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease,
                    visibility 0.25s ease;
        z-index: 1001;
    }

    .nav-links.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .nav-links a {
        width: 100%;
        padding: 0.95rem 0.9rem;
        border-bottom: 1px solid var(--gray-100);
        border-radius: 12px;
        text-align: right;
        font-size: 1.25rem;
        font-weight: 650;
        color: var(--dark);
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(80, 100, 156, 0.08);
        color: var(--primary);
        transform: translateX(-4px);
    }

    .nav-links a::after {
        display: none;
    }
}

/* ===== HERO ===== */
.hero {
    background-image:
        linear-gradient(0deg, rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.48)),
        url('../images/salle-de-culte-avec-du-monde.jpg');
    background-image:
        linear-gradient(0deg, rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.48)),
        image-set(
            url('../images/hero-culte-1377.webp') type('image/webp') 1x,
            url('../images/salle-de-culte-avec-du-monde.jpg') type('image/jpeg') 1x
        );
    background-size: cover;
    background-position: center top;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 110px 1.5rem 4rem;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero {
        background-image:
            linear-gradient(0deg, rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.48)),
            image-set(
                url('../images/hero-culte-960.webp') type('image/webp') 1x,
                url('../images/salle-de-culte-avec-du-monde.jpg') type('image/jpeg') 1x
            );
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--white);
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 1.5rem 5rem;
    text-align: center;
    margin-top: -95px;
    padding-top: 95px;
    box-shadow: 0 10px 40px rgba(80, 100, 156, 0.25);
}

.page-header h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(80, 100, 156, 0.35);
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(80, 100, 156, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Sur le fond sombre du hero, le bouton secondaire reste blanc */
.hero .btn-secondary {
    color: var(--white);
}

.hero .btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

/* ===== TWO COLUMN ===== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .two-column {
        grid-template-columns: 1fr;
    }
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.two-column-text h3,
.two-column-text h2.section-title-h3,
.two-column-text h2.friday-feature-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.two-column-text p {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.two-column-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    height: clamp(250px, 60vw, 450px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.two-column-image::after,
.group-image::after,
.group-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -55%;
    width: 38%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.48), transparent);
    transform: skewX(-14deg);
    transition: left 0.65s ease;
    animation: e3d-image-shine 5s ease-in-out 1s infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes e3d-image-shine {
    0%, 62% { left: -55%; }
    82%, 100% { left: 120%; }
}

.two-column-image:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 22px 55px rgba(82, 109, 255, 0.28);
}

.two-column-image:hover::after,
.group-card:hover .group-image::after,
.group-card-modern:hover .group-card-image::after {
    left: 120%;
}

@media (prefers-reduced-motion: reduce) {
    .two-column-image::after,
    .group-image::after,
    .group-card-image::after {
        animation: none;
    }
}

.two-column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.two-column-image:hover img {
    transform: scale(1.08);
}

.home-feature .two-column {
    margin-bottom: 0;
}

.home-feature {
    position: relative;
}

.home-feature-eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.home-feature-action {
    margin-top: 2rem;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== GROUPS ===== */
.groups-bg {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.group-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(80, 100, 156, 0.16);
    display: flex;
    flex-direction: column;
}

.group-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 45px rgba(80, 100, 156, 0.3);
    border-color: rgba(80, 100, 156, 0.45);
}

.group-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--gray-200);
}

.group-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.group-card:hover .group-image img {
    transform: scale(1.12) rotate(1deg);
}

.group-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.group-content h4 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.group-content p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 0.95rem;
    flex: 1;
}

/* ===== VALUES ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(80, 100, 156, 0.1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(80, 100, 156, 0.25);
    border-color: rgba(80, 100, 156, 0.3);
}

.value-card h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--white);
    color: var(--dark);
}

.contact h3,
.contact h2.section-title-h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-lead {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card:hover {
    transform: translateY(-12px);
    background: var(--gradient-primary);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(80, 100, 156, 0.3);
}

.contact-icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    /* Les cartes sont blanches (pages.css) : icône en couleur principale pour le contraste */
    color: var(--primary);
}

.contact-card:hover .contact-icon {
    transform: scale(1.15);
}

.contact-card h5 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.contact-card a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(80, 100, 156, 0.15), 0 4px 12px rgba(80, 100, 156, 0.2);
}

/* ===== FOOTER ===== */
.footer-modern {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 1.5rem 2rem;
    margin-top: auto;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Footer Top Section with Brand and Grid */
.footer-top {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Brand Section */
.footer-brand {
    margin-bottom: 2.5rem;
}

.footer-brand-text h2 {
    display: inline-block;
    font-size: 1.9rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    padding: 0.05em 0.14em 0.14em 0.02em;
    color: var(--white);
    white-space: nowrap;
}

.footer-brand-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-service-time {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Footer Grid - 2 Columns */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-column h3 i {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Contact Items */
.footer-contact-item {
    margin-bottom: 1.5rem;
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-link-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.footer-link-btn:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-link-btn i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Icônes SVG de titres (remplacent les émojis) */
.h-icon {
    width: 1.15em;
    height: 1.15em;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.18em;
    margin-right: 0.5rem;
}

/* Variante pour les titres sur fond foncé : l'icône prend la couleur du texte */
.h-icon-inherit {
    stroke: currentColor;
}

/* Icône dimensionnée et colorée par son parent (1em, currentColor) */
.icon-line {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.12em;
}

/* Icônes des réseaux sociaux (pied de page) */
.s-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

/* Dans les liens flex du pied de page, l'espacement vient du gap, pas de l'icône */
.footer-link-btn .h-icon {
    margin-right: 0;
    flex-shrink: 0;
}

/* IBAN cliquable : copie dans le presse-papiers */
button.iban-copy {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    flex-wrap: wrap;
}

.iban-copy-feedback {
    display: none;
    color: #8ce99a;
    font-weight: 600;
}

.iban-copy.copied .iban-copy-feedback {
    display: inline;
}

/* Navigation Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Social Media Section */
.footer-social-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.footer-socials-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: var(--transition);
    color: var(--white);
    text-decoration: none;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-8px) scale(1.15);
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Individual Social Button Colors */
.social-btn.facebook:hover {
    background: #1877F2;
    color: var(--white);
    border-color: #1877F2;
}

.social-btn.youtube:hover {
    background: #FF0000;
    color: var(--white);
    border-color: #FF0000;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    border-color: transparent;
}

.social-btn.whatsapp:hover {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

/* Footer Bottom */
.footer-bottom-modern {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.footer-bottom-content p strong {
    color: var(--white);
    font-weight: 700;
}

.footer-design-credit {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Footer Links Hover */
.footer-bottom-modern a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-modern a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 3.5rem 1.5rem 2rem;
    }

    .footer-top {
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 0;
    }

    .footer-brand-text {
        width: 100%;
    }

    .footer-brand-text h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .footer-brand-text p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .footer-service-time {
        font-size: 1.1rem;
        margin-top: 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-column h3 i {
        font-size: 1.5rem;
    }

    .footer-contact-item {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-contact-item p {
        font-size: 0.95rem;
    }

    .footer-link-btn {
        justify-content: center;
        font-size: 0.95rem;
    }

    .footer-social-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .footer-socials-modern {
        justify-content: center;
        gap: 1.25rem;
    }

    .social-btn {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .footer-bottom-modern {
        text-align: center;
        padding-top: 2.5rem;
        margin-top: 1rem;
    }

    .footer-bottom-content p {
        font-size: 0.9rem;
        margin: 0.75rem 0;
    }

    .footer-design-credit {
        font-size: 0.85rem;
        margin-top: 1rem;
    }
}

/* ===== LAZY LOADING ===== */
img.lazy {
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

img.lazy.loaded {
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    section {
        padding: 3.5rem 1.5rem;
    }

    .hero {
        min-height: 520px;
        padding: 90px 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* ===== GROUPS - MODERN DESIGN ===== */
.groups-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.group-card-modern {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid transparent;
}

.group-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(80, 100, 156, 0.3);
    border-color: var(--primary);
}

.group-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--gradient-primary);
}

.group-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.group-card-modern:hover .group-card-image img {
    transform: scale(1.1) rotate(1deg);
}

.group-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(80, 100, 156, 0.1), rgba(80, 100, 156, 0.3));
    z-index: 1;
}

.group-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.group-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--light) 0%, rgba(80, 100, 156, 0.1));
    border-radius: 12px;
    width: fit-content;
}

.group-card-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    margin-top: 0;
}

.group-description {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.group-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--light) 0%, rgba(80, 100, 156, 0.05));
    border-radius: 10px;
}

.detail {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.3rem;
    min-width: 30px;
}

.detail strong {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.detail p {
    color: var(--gray-700);
    font-size: 0.9rem;
    margin: 0;
}

.group-card-modern .btn {
    margin-top: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .groups-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .group-details {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
