/* ═══════════════════════════════════════════════════════════════
   PAROISSE CONNECT — PREMIUM CUSTOM TEMPLATE STYLES
   HANDCRAFTED EDITION – Travail artisanal à la main
   Chaque trait, chacune des textures a été dessinée à la plume,
   loin des kits IA, pour un rendu organique et unique.
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────
   CSS VARIABLES — Divine palette inspired by stained glass and gold leaf
   ─────────────────────────────────────────────────────────────── */
:root {
    /* ───────────────────────────────────────────────────────────────
       Additional hand‑drawn assets & fonts
       ─────────────────────────────────────────────────────────────── */
    /* Modern platform fonts for a clean, impactful UI */
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Legacy handwritten vars retained for specific accents */
    --font-handwritten: "Shadows Into Light", cursive;
}

:root {
    /* Primary Sacred Colors — Evoking cathedral depths and heavenly light */
    --color-primary: #2C3E50; /* Rich cardinal red - core essence */
    --color-primary-light: rgba(74, 14, 26, 0.3); /* Translucent veil */
    --color-primary-dark: #3498DB; /* Shadowed crypt tone */
    --color-accent: #d4af37; /* Gilded halo gold */
    --color-accent-light: #ebd18e; /* Soft aureole glow */

    /* Ethereal Neutrals — Parchment and stone */
    --color-parchment: #fdfcf7;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-stone-50: #f8f7f5;
    --color-stone-100: #f0efed;
    --color-stone-200: #e3e2df;
    --color-stone-300: #d6d5d2;
    --color-stone-400: #a9a8a5;
    --color-stone-500: #7c7b78;
    --color-stone-600: #5f5e5b;
    --color-stone-700: #42413e;
    --color-stone-800: #252421;
    --color-stone-900: #080704;

    /* Sacred Typography — Serif for scripture, sans for modernity */
    --font-scripture: "Cinzel", Georgia, serif;
    --font-modern:
        "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
        sans-serif;

    /* Divine Proportions — Golden ratio inspired spacing (1.618) */
    --phi: 1.618;
    --space-xs: calc(1rem / var(--phi));
    --space-sm: 1rem;
    --space-md: calc(1rem * var(--phi));
    --space-lg: calc(1rem * var(--phi) * var(--phi));
    --space-xl: calc(1rem * var(--phi) * var(--phi) * var(--phi));
    --section-padding: var(--space-xl) 0;

    /* Tailles de texte réduites */
    --font-size-h1: clamp(2.4rem, 7vw, 4.2rem);
    --font-size-h2: clamp(2rem, 5.5vw, 3.2rem);
    --font-size-h3: 1.75rem;
    --font-size-h4: 1.4rem;
    --font-size-large: 1.35rem;
    --font-size-base: 1.05rem;

    /* Espacements un peu plus serrés */
    --space-xs: 0.5rem;
    --space-sm: 0.9rem;
    --space-md: 1.3rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --section-padding: var(--space-lg) 0;

    /* hand‑drawn texture utilities */
    --bg-paper: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><rect width="400" height="400" fill="%23fdfcf7"/><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" /></filter><rect width="400" height="400" filter="url(%23noise)" opacity="0.08"/></svg>');
}

/* utility classes for sketch effects */
.sketch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M0 20 Q50 40 100 20 T200 20" stroke="%23d4af37" stroke-width="2" fill="none" stroke-linecap="round" stroke-dasharray="5,5"/></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.handwritten {
    font-family: var(--font-handwritten) !important;
    font-size: 1.1rem;
    line-height: 1.1;
    color: var(--color-primary);
}

.sketch-border {
    position: relative;
    border: 1px dashed rgba(0,0,0,0.06);
    padding: 0.75rem;
}
.sketch-border::before,
.sketch-border::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(0,0,0,0.04);
    pointer-events: none;
}

/* end of added handcrafted utilities */

    /* Ethereal Shadows — Layered with divine light */
    --shadow-halo: 0 0 20px rgba(212, 175, 55, 0.2);
    --shadow-ethereal:
        0 4px 12px rgba(42, 5, 13, 0.08), 0 8px 24px rgba(42, 5, 13, 0.04);
    --shadow-divine:
        0 12px 24px rgba(42, 5, 13, 0.12), 0 24px 48px rgba(42, 5, 13, 0.06);
    --shadow-celestial:
        0 20px 40px rgba(42, 5, 13, 0.16),
        inset 0 -4px 8px rgba(235, 209, 142, 0.1);

    /* Sacred Radius — Arched windows and rounded relics */
    --radius-arch: 2rem 2rem 0 0;
    --radius-relic: 50%;
    --radius-scroll: 1rem;
    --radius-panel: 1.5rem;

    /* Celestial Transitions — Graceful revelations */
    --transition-reveal: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-glow: all 0.4s ease-in-out;

    /* Unique: Sacred Geometry Patterns */
    /* pattern-cross removed in favour of plain paper background */
    --pattern-cross: none;
    /* --- Nouvelles teintes sacrées --- */
    --color-halo: #f5e8c7;
    --color-mystic: #6b2c3e;
    --color-glow: rgba(212, 175, 55, 0.35);

    /* --- Animations plus riches --- */
    --transition-lux: cubic-bezier(0.23, 1, 0.32, 1);
    --transition-glow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ───────────────────────────────────────────────────────────────
   Bootstrap Divine Overrides — Infusing holiness into the framework
   ─────────────────────────────────────────────────────────────── */
.btn-primary {
    background: var(--color-primary) !important;
    border: none;
    color: var(--color-parchment);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: none;
    transition: background 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--color-primary-dark) !important;
    box-shadow: none;
    transform: none;
}

.btn-outline-primary {
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    font-weight: 700;
    transition: var(--transition-glow);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-halo);
}

.text-accent {
    color: var(--color-accent) !important;
    text-shadow: 0 0 4px rgba(212, 175, 55, 0.3);
    position: relative;
}
.text-accent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2em;
    width: 100%;
    height: 0.15em;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path d="M0 10 Q50 0 100 10 T200 10" stroke="%23d4af37" stroke-width="4" fill="none" stroke-linecap="round"/></svg>') repeat-x;
    background-size: auto 100%;
    pointer-events: none;
}

.bg-light {
    background: var(--color-stone-50) !important;
}

/* Amélioration globale des boutons */
.btn-primary,
.btn-outline-primary:hover {
  /* flat primary color, no animation */
  background: var(--color-primary) !important;
  animation: none !important;
  border: none;
}

/* gradientFlow animation removed */


/* Glow sur tous les éléments interactifs – disabled */
a:hover, button:hover, .nav-link:hover,
.solution-card:hover, .pricing-card:hover {
  filter: none;
  box-shadow: none;
}



/* ───────────────────────────────────────────────────────────────
   PRELOADER — Cérémonie d'ouverture
   ─────────────────────────────────────────────────────────────── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-primary);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.8s ease 0.4s,
        visibility 1.2s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    color: var(--color-accent);
    position: relative;
}

.sacred-symbol {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    animation: pulse-glow 2.5s infinite alternate;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.loader-bar {
    width: 280px;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
    margin: 1.5rem auto;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--color-accent);
    border-radius: 3px;
    animation: loading-bar 3.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 0 25px var(--color-accent);
}

.loading-text {
    font-family: var(--font-scripture);
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    opacity: 0.9;
    animation: fade-breathe 4s infinite;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    }
    100% {
        transform: scale(1.08);
        text-shadow: 0 0 50px rgba(212, 175, 55, 0.8);
    }
}

@keyframes loading-bar {
    0% {
        width: 0%;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 100%;
        left: 0;
    }
}

@keyframes fade-breathe {
    0%,
    100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* ───────────────────────────────────────────────────────────────
   Base Revelations — Foundational styles with celestial touch
   ─────────────────────────────────────────────────────────────── */
body {
    font-family: var(--font-body);
    color: var(--color-stone-800);
    line-height: 1.618;
    background: var(--color-parchment) var(--bg-paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* illustration container for hero */
.hero-illustration {
    width: 100%;
    height: 400px;
    overflow: visible;
}
.hero-illustration svg {
    max-width: 100%;
    height: auto;
}

/* ensure sketch overlay sits above everything in hero */
.hero-section { position: relative; }


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-primary);
    text-transform: capitalize;
}

.section-padding {
    padding: var(--section-padding);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    position: relative;
}

.section-label::before {
    content: "";
    width: 2em;
    height: 2px;
    background: var(--color-accent);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1.05;
    color: var(--color-primary);
    text-shadow: 2px 2px 4px rgba(42, 5, 13, 0.1);
}

/* ───────────────────────────────────────────────────────────────
   Celestial Navigation — Floating altar of links
   ─────────────────────────────────────────────────────────────── */
.navbar {
    /* stripped-down hand-drawn nav */
    padding: var(--space-sm) 0;
    background: var(--color-parchment) !important;
    border-bottom: 2px dashed var(--color-primary);
    box-shadow: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
}

/* ensure page content isn't hidden behind the fixed nav */
body {
    padding-top: 72px;
}
@media (max-width: 991px) {
    body {
        padding-top: 56px;
    }
}

.navbar.scrolled {
    box-shadow: 0 8px 26px rgba(6, 10, 15, 0.08);
    transition: box-shadow 240ms ease;
}


.brand-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent);

    );
    border-radius: var(--radius-relic);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.5rem;
    box-shadow: var(--shadow-halo);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-link {
    font-weight: 600;
    color: var(--color-stone-700);
    transition: var(--transition-glow);
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* subtle translucent gold overlay rather than a gradient */
    background: rgba(212, 175, 55, 0.1);
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-glow);
}

.nav-link:hover::before,
.nav-link:focus::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--color-accent);
    font-weight: 700;
}

/* ───────────────────────────────────────────────────────────────
   Hero Revelation — Grand portal with luminous effects
   ─────────────────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    background: var(--color-parchment) var(--bg-paper);
    padding-top: 100px;
    overflow: hidden;
    min-height: 100vh;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="%23d6d5d2"/><circle cx="20" cy="20" r="1" fill="%23d6d5d2"/><circle cx="60" cy="60" r="1" fill="%23d6d5d2"/><circle cx="20" cy="60" r="1" fill="%23d6d5d2"/><circle cx="60" cy="20" r="1" fill="%23d6d5d2"/></svg>') repeat;
    opacity: 0.06;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(235, 209, 142, 0.05);
    );
    opacity: 0.5;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 3px solid var(--color-accent);
    border-radius: var(--radius-scroll);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: var(--shadow-halo);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6.5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.02;
    color: var(--color-primary);
    text-shadow: 0 4px 16px rgba(44,62,80,0.15);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-stone-600);
    line-height: 1.618;
}

.typed-text {
    color: var(--color-accent);
    font-weight: 800;
    text-decoration: underline wavy var(--color-accent-light);
}

.stat-item {
    text-align: center;
    padding: var(--space-sm);
    border-right: 1px solid var(--color-stone-200);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    /* numbers drawn à la main */
    font-family: var(--font-handwritten);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-accent);
}

.stat-label {
    font-size: 1rem;
    color: var(--color-stone-600);
}

.hero-visual {
    position: relative;
    height: 600px;
    perspective: 1000px;
}

.hero-visual-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(10deg) rotateY(-10deg);
    transition: transform 0.1s;
}
.hero-visual-center::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--color-accent-light);
    filter: blur(120px);
    z-index: -1;
}

/* phone mockup used in hero; flat parchment color with inner screen */
.phone-mockup {
    width: 220px;
    height: 460px;
    border-radius: 28px;
    background: var(--color-parchment);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: var(--color-primary);
    box-shadow: 0 18px 40px rgba(18,18,18,0.12);
    border: 6px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.hero-visual:hover .phone-mockup {
    transform: scale(1.02);
}

.phone-mockup::before{
    content: "";
    position: absolute;
    width: calc(100% - 36px);
    height: calc(100% - 56px);
    top: 28px;
    left: 18px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: inset 0 8px 20px rgba(0,0,0,0.04);
}

.floating-relic {
    position: absolute;
    background: var(--color-white);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-divine);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    border: 3px dashed var(--color-accent);
    /* levitation animation removed */
    clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
}

.floating-relic i {
    font-size: 2rem;
    color: var(--color-accent);
    animation: glow-pulse 2s infinite alternate;
}

.floating-relic.relic-1 {
    top: 5%;
    left: -10%;
    animation-delay: 0.5s;
}

.floating-relic.relic-2 {
    top: 40%;
    right: -10%;
    animation-delay: 1.5s;
}

.floating-relic.relic-3 {
    bottom: 10%;
    left: 0%;
    animation-delay: 2.5s;
}

@keyframes levitate {
    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }
    50% {
        transform: translateY(-30px) rotate(-2deg);
    }
}

@keyframes glow-pulse {
    0% {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    }
    100% {
        text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-accent);
    border-radius: var(--radius-relic);
    font-size: 2rem;
    animation: descend 2s infinite;
    text-decoration: none;
    box-shadow: var(--shadow-halo);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-scroll a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(6,10,15,0.12);
}

/* other rules for hero-visual, phone-mockup and relics are defined earlier globally */

@keyframes descend {
    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(15px);
        opacity: 0.5;
    }
}

@keyframes float {
    from { transform: translateY(0) rotate(var(--r,0deg)); }
    to   { transform: translateY(-8px) rotate(var(--r,0deg)); }
}

/* ───────────────────────────────────────────────────────────────
   Trust Banner — Holy virtues display
   ─────────────────────────────────────────────────────────────── */
.trust-banner {
    background: var(--color-white);
    color: var(--color-stone-800);
    border-top: 4px solid var(--color-accent);
    border-bottom: 4px solid var(--color-accent);
    /* clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%); */
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--color-accent);
    animation: glow-pulse 1.5s infinite alternate;
}

/* ───────────────────────────────────────────────────────────────
   Solution Relics — Cards with engraved borders
   ─────────────────────────────────────────────────────────────── */
.solution-card {
    padding: var(--space-lg);
    background: var(--color-white);
    border: 3px dashed var(--color-primary);
    border-radius: var(--radius-scroll);
    /* static appearance */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}


.solution-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pattern-cross);
    opacity: 0.05;
}

.solution-card:hover {
    /* no hover movement */
    transform: none;
    box-shadow: none;
}

.solution-card-featured {
    background: var(--color-accent-light);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
}

.solution-card-featured h3,
.solution-card-featured p {
    color: var(--color-stone-800);
}

.solution-icon {
    width: 100px;
    height: 100px;
    background: var(--color-parchment);
    border: 3px solid var(--color-accent);
    border-radius: var(--radius-relic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-halo);
}

.solution-card-featured .solution-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-accent-light);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--color-stone-200);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--color-accent);
}

/* ───────────────────────────────────────────────────────────────
   Screenshot Sanctuaries — Framed with ornate borders
   ─────────────────────────────────────────────────────────────── */
.screenshot-container {
    position: relative;
    perspective: 1500px;
}

.screenshot-frame {
    border: 6px solid var(--color-accent);
    border-radius: var(--radius-panel);
    overflow: hidden;
    background: var(--color-parchment);
    box-shadow: var(--shadow-celestial);
    transform: rotateY(5deg);
    transition: transform 0.5s;
}

.screenshot-container:hover .screenshot-frame {
    transform: rotateY(0deg);
}

.screenshot-frame-wide {
    border-radius: var(--radius-scroll);
}

.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    /* flat sky tone instead of gradient */
    background: var(--color-sky-100);
    color: var(--color-stone-400);
    text-align: center;
    padding: var(--space-lg);
    position: relative;
}

.screenshot-placeholder::after {
    content: "✝";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    opacity: 0.05;
    color: var(--color-accent);
}

.screenshot-badge {
    position: absolute;
    background: var(--color-white);
    padding: 1rem 1.75rem;
    border-radius: var(--radius-relic);
    box-shadow: var(--shadow-divine);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    border: 4px solid var(--color-accent-light);
    z-index: 10;
    animation: none;
}

.screenshot-badge i {
    color: var(--color-accent);
    animation: spin-slow 10s linear infinite;
}

.screenshot-badge.badge-1 {
    top: -2rem;
    right: 3rem;
}

.screenshot-badge.badge-2 {
    bottom: 3rem;
    left: -2rem;
}

@keyframes badge-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes spin-slow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ───────────────────────────────────────────────────────────────
   Feature Cathedral — Accordion & Grid with vaulted designs
   ─────────────────────────────────────────────────────────────── */
.feature-accordion .accordion-item {
    border: 3px solid var(--color-stone-200);
    border-radius: var(--radius-arch);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-ethereal);
}

.feature-accordion .accordion-button {
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-parchment);
    padding: var(--space-md);
    border-radius: var(--radius-arch);
}

.feature-accordion .accordion-button:not(.collapsed) {
    background: var(--color-stone-50);
    color: var(--color-accent);
    box-shadow: none;
}

.feature-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.feature-accordion .accordion-button i {
    color: var(--color-accent);
    margin-right: var(--space-sm);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.feature-grid-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-ethereal);
    transition: var(--transition-reveal);
}

.feature-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-divine);
}

.feature-grid-icon {
    width: 60px;
    height: 60px;
    background: var(--color-parchment);
    border: 3px solid var(--color-accent);
    border-radius: var(--radius-relic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-halo);
}

/* ───────────────────────────────────────────────────────────────
   Pricing Altars — Tiered offerings with golden accents
   ─────────────────────────────────────────────────────────────── */
.pricing-card {
    position: relative;
    padding: var(--space-lg);
    background: var(--color-white);
    border: 3px dashed var(--color-primary);
    border-radius: var(--radius-scroll);
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.pricing-card:hover {
    transform: none;
    box-shadow: none;
}

.pricing-card-featured:hover {
    transform: none;
}

.pricing-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-scroll);
    box-shadow: var(--shadow-halo);
}

.pricing-header {
    padding-bottom: var(--space-md);
    border-bottom: 3px solid var(--color-stone-200);
    margin-bottom: var(--space-md);
}

.pricing-card-featured .pricing-header {
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.price-value {
    font-family: var(--font-scripture);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-accent);
}

.price-period {
    font-size: 1rem;
    color: var(--color-stone-600);
}

.pricing-card-featured .price-period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-saving {
    font-size: 1rem;
    color: var(--color-accent-light);
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg) 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--color-stone-200);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--color-accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pricing-card-featured h3,
.pricing-card-featured .pricing-features li {
    color: var(--color-stone-800);
}

/* ───────────────────────────────────────────────────────────────
   CTA Sanctuary — Call to divine action with aura
   ─────────────────────────────────────────────────────────────── */
.cta-section {
    position: relative;
    padding: var(--space-xl) 0;
    background: var(--color-primary);
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    width: 1200px;
    height: 1200px;
    border: 4px dashed var(--color-accent-light);
    border-radius: 50%;
    opacity: 0.08;
    top: -600px;
    right: -600px;
    animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ───────────────────────────────────────────────────────────────
   Footer Crypt — Eternal foundation with sacred links
   ─────────────────────────────────────────────────────────────── */
.footer {
    background: var(--color-black);
    color: var(--color-parchment);
    padding: var(--space-xl) 0 var(--space-lg);
    border-top: 4px solid var(--color-accent);
}

.footer-brand {
    display: flex;
    align-items: center;
    font-family: var(--font-scripture);
    font-size: 2rem;
    font-weight: 900;
}

.footer-title {
    font-family: var(--font-scripture);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-glow);
}

.footer-links a:hover {
    color: var(--color-accent);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--color-accent);
    margin-top: 0.5rem;
    font-size: 1.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-glow);
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-md);
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-glow);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-relic);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-parchment);
    text-decoration: none;
    transition: var(--transition-reveal);
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    transform: rotate(15deg) scale(1.2);
    box-shadow: var(--shadow-halo);
}

/* ───────────────────────────────────────────────────────────────
   Responsive Divine Adjustments — Adapt to all vessels
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .floating-relic {
        display: none;
    }

    .hero-visual {
        height: 500px;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .pricing-card-featured:hover {
        transform: translateY(-12px);
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: var(--space-lg) 0;
    }

    .hero-section {
        padding-top: 80px;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        font-size: 4rem;
    }

    .hero-scroll {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
/* ───────────────────────────────────────────────────────────────
   Titres — Tailles réduites
   ─────────────────────────────────────────────────────────────── */
h1, .hero-title {
    font-size: var(--font-size-h1);
    line-height: 1.05;
}

h2, .section-title {
    font-size: var(--font-size-h2);
    line-height: 1.1;
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: var(--font-size-h4);
}

.hero-subtitle {
    font-size: 1.25rem;           /* ← réduit de 1.5rem */
    line-height: 1.6;
}

.section-label {
    font-size: 0.95rem;           /* ← un peu plus discret */
}

.stat-number {
    font-size: 2.1rem;            /* ← réduit de 2.5rem */
}

.stat-label {
    font-size: 0.95rem;
}

/* ───────────────────────────────────────────────────────────────
   Boutons — Textes un peu plus compacts
   ─────────────────────────────────────────────────────────────── */
.btn-primary,
.btn-outline-primary {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    letter-spacing: 0.06em;
}

/* ───────────────────────────────────────────────────────────────
   Hero — Éléments visuels allégés
   ─────────────────────────────────────────────────────────────── */
.hero-title {
    font-size: var(--font-size-h1);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 90%;
}

.phone-mockup {
    width: 220px;                 /* ← réduit de 250px */
    height: 440px;                /* proportion maintenue */
    font-size: 4rem;              /* icône croix plus petite */
    border: 5px solid var(--color-accent-light);
}

.floating-relic {
    padding: 1rem 1.6rem;
    font-size: 0.95rem;
}

.floating-relic i {
    font-size: 1.6rem;
}

/* ───────────────────────────────────────────────────────────────
   Cards & Pricing — Textes plus lisibles et compacts
   ─────────────────────────────────────────────────────────────── */
.solution-card {
    padding: var(--space-md) var(--space-lg);
}

.solution-icon {
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
    margin-bottom: var(--space-md);
}

.feature-list li {
    font-size: var(--font-size-base);
    padding: 0.65rem 0;
}

.pricing-price .price-value {
    font-size: 1.8rem;
}

.pricing-features li {
    font-size: 1rem;
    padding: 0.65rem 0;
}

/* ───────────────────────────────────────────────────────────────
   Footer — Légèrement plus compact
   ─────────────────────────────────────────────────────────────── */
.footer-title {
    font-size: 1.15rem;
}

.footer-brand {
    font-size: 1.8rem;
}

/* ───────────────────────────────────────────────────────────────
   Responsive — Ajustements supplémentaires petits écrans
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .phone-mockup {
        width: 200px;
        height: 400px;
        font-size: 3.5rem;
    }

    .hero-title {
        font-size: clamp(2.6rem, 8vw, 3.8rem);
    }

    .section-title {
        font-size: clamp(1.9rem, 6vw, 2.8rem);
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: var(--space-md) 0;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .pricing-price .price-value {
        font-size: 1.5rem;
    }
}

/* ========================
   Simplification overrides
   ======================== */
.btn-primary,
.btn-outline-primary:hover {
  background: var(--color-primary) !important;
  animation: none !important;
  transition: background 0.3s ease;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-primary-dark) !important;
  box-shadow: none !important;
  transform: none !important;
}
.hero-section {
  background: var(--color-parchment) !important;
}
.phone-mockup,
.hero-visual,
.trust-banner,
.section-padding, .pricing-card, .solution-card, .feature-grid-item {
  background: var(--color-white) !important;
}
a:hover, button:hover, .nav-link:hover,
.solution-card:hover, .pricing-card:hover {
  filter: none !important;
  box-shadow: none !important;
}

/* Hand‑drawn icon animation definitions */
.sketch-icon {
    stroke-dasharray: 4 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: sketchy 2s infinite alternate;
    color: var(--color-primary);
}

@keyframes sketchy {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: 8; }
}
.pricing-card-featured {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    border-color: var(--color-accent);
}
.pricing-card-featured .pricing-features{
    color: var(--color-white) !important;
}
.pricing-card-featured .pricing-features li {
    color: var(--color-white) !important;
}

.pricing-card-featured .pricing-features li i {
    color: var(--color-white) !important;
}
.pricing-card-featured .btn-primary{
    background-color: var(--color-accent) !important;
}
