/* ============================================
   CuraSI - Design fidèle au site base44
   Version 2.0 - Mars 2026
   ============================================ */

/* ---------- VARIABLES ---------- */
:root {
    --cs-blue-dark: #1b4f6e;
    --cs-blue-hero: #1a6580;
    --cs-blue-deep: #0f3d56;
    --cs-blue-footer: #143d54;
    --cs-teal: #2aadaf;
    --cs-teal-light: #3ebd9e;
    --cs-orange: #e8834a;
    --cs-orange-hover: #d4733d;
    --cs-cream: #d4c9a8;
    --cs-white: #ffffff;
    --cs-text-dark: #1b3a4b;
    --cs-text-gray: #5a7184;
    --cs-text-light: #8899a6;
    --cs-bg-light: #f5f8fa;
    --cs-bg-card-blue: #eef6fb;
    --cs-bg-card-green: #edfaf3;
    --cs-bg-card-yellow: #fdf8ec;
    --cs-bg-card-purple: #f4eefa;
    --cs-bg-faq: #f0f4f7;
    --cs-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --cs-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --cs-radius: 12px;
    --cs-radius-lg: 20px;
    --cs-transition: all 0.3s ease;
}

/* ---------- RESET & GLOBAL ---------- */
*, *::before, *::after { box-sizing: border-box; }

body.curasi-v2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--cs-text-dark);
    background: var(--cs-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.curasi-v2 h1, .curasi-v2 h2, .curasi-v2 h3,
.curasi-v2 h4, .curasi-v2 h5, .curasi-v2 h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--cs-text-dark);
}

.curasi-v2 a { text-decoration: none; transition: var(--cs-transition); }

.curasi-v2 img { max-width: 100%; height: auto; }

/* =============================================
   TOP BAR
   ============================================= */
.cs-topbar {
    background: var(--cs-blue-deep);
    padding: 8px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    position: relative;
    z-index: 1060;
}

.cs-topbar a {
    color: rgba(255,255,255,0.85);
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cs-topbar a:hover { color: #fff; }

.cs-topbar .topbar-social a {
    margin-right: 0;
    margin-left: 14px;
    font-size: 1rem;
    opacity: 0.85;
}

.cs-topbar .topbar-social a:hover { opacity: 1; }

/* =============================================
   NAVBAR
   ============================================= */
.cs-navbar {
    background: var(--cs-white);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--cs-transition);
}

.cs-navbar .navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cs-navbar .nav-logo img {
    height: 42px;
}

.cs-navbar .nav-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--cs-text-dark);
    margin-left: 8px;
}

.cs-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cs-navbar .nav-links a {
    color: var(--cs-text-dark);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--cs-transition);
}

.cs-navbar .nav-links a:hover,
.cs-navbar .nav-links a.active {
    color: var(--cs-teal);
    background: rgba(42, 173, 175, 0.06);
}

.cs-navbar .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-navbar .btn-prenota {
    background: var(--cs-teal);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 22px;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--cs-transition);
}

.cs-navbar .btn-prenota:hover {
    background: #24999b;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(42, 173, 175, 0.3);
    color: #fff;
}

.cs-navbar .nav-phone {
    color: var(--cs-text-dark);
    font-weight: 500;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cs-navbar .mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--cs-text-dark);
    cursor: pointer;
    padding: 4px;
}

/* =============================================
   HERO
   ============================================= */
.cs-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cs-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.cs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 85, 110, 0.85) 0%, rgba(24, 70, 95, 0.80) 50%, rgba(15, 55, 78, 0.78) 100%);
    z-index: 1;
}

.cs-hero .container { position: relative; z-index: 2; }

.cs-hero .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.cs-hero h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
}

.cs-hero h1 .text-accent {
    color: var(--cs-cream);
}

.cs-hero .hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 580px;
    margin-bottom: 32px;
}

.cs-hero .hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--cs-orange);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--cs-transition);
}

.btn-hero-primary:hover {
    background: var(--cs-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232, 131, 74, 0.35);
    color: #fff;
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(4px);
    transition: var(--cs-transition);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: translateY(-2px);
}

/* =============================================
   SECTION COMMON
   ============================================= */
.cs-section {
    padding: 80px 0;
}

.cs-section-badge {
    display: inline-block;
    border: 1.5px solid var(--cs-teal);
    color: var(--cs-teal);
    border-radius: 20px;
    padding: 4px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.cs-section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--cs-text-dark);
    margin-bottom: 48px;
}

/* =============================================
   SERVICES - Cards pastel 2x2
   ============================================= */
.cs-services { background: var(--cs-white); }

.cs-service-card {
    border-radius: var(--cs-radius-lg);
    padding: 36px 32px;
    height: 100%;
    border: none;
    transition: var(--cs-transition);
    position: relative;
}

.cs-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cs-shadow-lg);
}

.cs-service-card.card-blue { background: var(--cs-bg-card-blue); }
.cs-service-card.card-green { background: var(--cs-bg-card-green); }
.cs-service-card.card-yellow { background: var(--cs-bg-card-yellow); }
.cs-service-card.card-purple { background: var(--cs-bg-card-purple); }

.cs-service-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.cs-service-card .card-icon.icon-blue { background: rgba(42, 130, 200, 0.15); color: #2a82c8; }
.cs-service-card .card-icon.icon-green { background: rgba(42, 173, 120, 0.15); color: #2aad78; }
.cs-service-card .card-icon.icon-yellow { background: rgba(212, 170, 50, 0.15); color: #c8a020; }
.cs-service-card .card-icon.icon-purple { background: rgba(140, 80, 200, 0.15); color: #8c50c8; }

.cs-service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--cs-text-dark);
}

.cs-service-card p {
    font-size: 0.92rem;
    color: var(--cs-text-gray);
    line-height: 1.65;
    margin: 0;
}

/* =============================================
   PRESTAZIONI (tarifs) - section supplémentaire
   ============================================= */
.cs-prestazioni {
    background: var(--cs-bg-light);
}

.cs-tarif-card {
    background: var(--cs-white);
    border-radius: var(--cs-radius-lg);
    padding: 32px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--cs-transition);
}

.cs-tarif-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cs-shadow-lg);
    border-color: var(--cs-teal);
}

.cs-tarif-card .tarif-header {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cs-tarif-card h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.cs-tarif-card .tarif-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--cs-teal);
}

.cs-tarif-card .tarif-price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--cs-text-light);
}

.cs-tarif-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-tarif-card ul li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--cs-text-gray);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.cs-tarif-card ul li .li-icon {
    color: var(--cs-teal);
    margin-top: 3px;
    flex-shrink: 0;
}

/* =============================================
   CHI SONO - fond bleu foncé
   ============================================= */
.cs-chisono {
    background: linear-gradient(135deg, var(--cs-blue-hero) 0%, var(--cs-blue-deep) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cs-chisono .cs-section-badge {
    border-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.9);
}

.cs-chisono h2 {
    color: #fff;
    font-size: 2.6rem;
    margin-bottom: 8px;
}

.cs-chisono .chisono-role {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.cs-chisono .chisono-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 28px;
}

.cs-chisono .btn-orange {
    background: var(--cs-orange);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--cs-transition);
}

.cs-chisono .btn-orange:hover {
    background: var(--cs-orange-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 131, 74, 0.3);
}

.cs-chisono .btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--cs-transition);
}

.cs-chisono .btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.cs-chisono .photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.cs-chisono .photo-bg {
    width: 100%;
    max-width: 420px;
    border-radius: var(--cs-radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, var(--cs-teal) 0%, #3ebd9e 100%);
    position: relative;
}

.cs-chisono .photo-bg img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    mix-blend-mode: normal;
}

.cs-chisono .experience-badge {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: var(--cs-radius);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--cs-shadow-lg);
    z-index: 5;
}

.cs-chisono .experience-badge .badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--cs-bg-card-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c50c8;
}

.cs-chisono .experience-badge .badge-text strong {
    color: var(--cs-text-dark);
    font-size: 1rem;
    display: block;
}

.cs-chisono .experience-badge .badge-text span {
    color: var(--cs-text-light);
    font-size: 0.8rem;
}

/* =============================================
   FORMAZIONI - Timeline
   ============================================= */
.cs-formazioni {
    background: var(--cs-white);
}

.cs-timeline {
    position: relative;
    padding: 20px 0;
}

.cs-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--cs-teal), var(--cs-blue-dark));
    transform: translateX(-50%);
}

.cs-timeline-item {
    position: relative;
    margin-bottom: 32px;
    width: 50%;
}

.cs-timeline-item:nth-child(odd) {
    padding-right: 40px;
    text-align: right;
}

.cs-timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
}

.cs-timeline-dot {
    position: absolute;
    top: 12px;
    width: 40px;
    height: 40px;
    background: var(--cs-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.65rem;
    z-index: 2;
    box-shadow: 0 3px 12px rgba(42, 173, 175, 0.3);
}

.cs-timeline-item:nth-child(odd) .cs-timeline-dot { right: -20px; }
.cs-timeline-item:nth-child(even) .cs-timeline-dot { left: -20px; }

.cs-timeline-card {
    background: var(--cs-white);
    border-radius: var(--cs-radius);
    padding: 20px;
    box-shadow: var(--cs-shadow);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--cs-transition);
    text-align: left;
}

.cs-timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--cs-shadow-lg);
}

.cs-timeline-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cs-timeline-card p {
    font-size: 0.85rem;
    color: var(--cs-text-gray);
    margin-bottom: 8px;
}

.cs-timeline-card img {
    border-radius: 8px;
    max-width: 100%;
    transition: var(--cs-transition);
}

.cs-timeline-card img:hover { transform: scale(1.02); }

/* =============================================
   FAQ - style minimaliste
   ============================================= */
.cs-faq {
    background: var(--cs-bg-light);
}

.cs-faq-item {
    background: var(--cs-bg-faq);
    border-radius: var(--cs-radius);
    margin-bottom: 10px;
    border: none;
    overflow: hidden;
    transition: var(--cs-transition);
}

.cs-faq-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.cs-faq-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--cs-text-dark);
    text-align: left;
    transition: var(--cs-transition);
}

.cs-faq-header:hover {
    background: rgba(0,0,0,0.02);
}

.cs-faq-chevron {
    font-size: 1.1rem;
    color: var(--cs-text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.cs-faq-item.open .cs-faq-chevron {
    transform: rotate(180deg);
}

.cs-faq-body {
    padding: 0 24px 18px 24px;
    font-size: 0.9rem;
    color: var(--cs-text-gray);
    line-height: 1.7;
    display: none;
}

.cs-faq-item.open .cs-faq-body {
    display: block;
}

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

.cs-contact-card {
    background: var(--cs-bg-light);
    border-radius: var(--cs-radius);
    padding: 28px;
    text-align: center;
    height: 100%;
    transition: var(--cs-transition);
}

.cs-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cs-shadow);
}

.cs-contact-card .contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.2rem;
}

.cs-contact-card .contact-icon.ic-1 { background: rgba(42,173,175,0.1); color: var(--cs-teal); }
.cs-contact-card .contact-icon.ic-2 { background: rgba(232,131,74,0.1); color: var(--cs-orange); }
.cs-contact-card .contact-icon.ic-3 { background: rgba(42,130,200,0.1); color: #2a82c8; }
.cs-contact-card .contact-icon.ic-4 { background: rgba(140,80,200,0.1); color: #8c50c8; }

.cs-contact-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cs-contact-card p {
    font-size: 0.88rem;
    color: var(--cs-text-gray);
    margin: 0;
}

.cs-contact-card a { color: var(--cs-text-gray); }
.cs-contact-card a:hover { color: var(--cs-teal); }

/* CTA Prenota */
.cs-cta-prenota {
    background: linear-gradient(135deg, var(--cs-teal) 0%, #2a8fa0 100%);
    border-radius: var(--cs-radius-lg);
    padding: 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cs-cta-prenota::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 45%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cs-cta-prenota h3 { color: #fff; font-size: 1.6rem; }
.cs-cta-prenota p { color: rgba(255,255,255,0.8); font-size: 1rem; }

.cs-cta-prenota .btn-cta-white {
    background: #fff;
    color: var(--cs-teal);
    border: none;
    border-radius: 10px;
    padding: 13px 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--cs-transition);
}

.cs-cta-prenota .btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    color: var(--cs-teal);
}

/* =============================================
   FOOTER - bleu foncé
   ============================================= */
.cs-footer {
    background: var(--cs-blue-footer);
    padding: 56px 0 0;
    color: rgba(255,255,255,0.7);
}

.cs-footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.cs-footer p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
}

.cs-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.cs-footer .footer-logo img { height: 36px; }

.cs-footer .footer-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

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

.cs-footer .footer-links li { margin-bottom: 10px; }

.cs-footer .footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    transition: var(--cs-transition);
}

.cs-footer .footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.cs-footer .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
}

.cs-footer .footer-contact-item i {
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
}

.cs-footer .footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.cs-footer .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: var(--cs-transition);
}

.cs-footer .footer-social a:hover {
    background: var(--cs-teal);
    color: #fff;
    transform: translateY(-2px);
}

.cs-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cs-footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.cs-footer-bottom a {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin-left: 20px;
}

.cs-footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* =============================================
   WHATSAPP FLOAT + BACK TO TOP
   ============================================= */
.cs-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: var(--cs-transition);
}

.cs-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    color: #fff;
}

.cs-back-top {
    position: fixed;
    bottom: 96px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--cs-blue-hero);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    z-index: 999;
    transition: var(--cs-transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cs-back-top.show { display: flex; }
.cs-back-top:hover { transform: translateY(-3px); background: var(--cs-blue-deep); }

/* =============================================
   ANIMATIONS
   ============================================= */
.cs-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.cs-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.cs-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.cs-fade-up.visible,
.cs-fade-left.visible,
.cs-fade-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* =============================================
   LOADER
   ============================================= */
.cs-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}
.cs-loader.hidden { opacity: 0; pointer-events: none; }
.cs-loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #eee;
    border-top-color: var(--cs-teal);
    border-radius: 50%;
    animation: cs-spin 0.7s linear infinite;
}
@keyframes cs-spin { to { transform: rotate(360deg); } }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
    .cs-navbar .nav-links,
    .cs-navbar .nav-right .nav-phone { display: none !important; }
    .cs-navbar .mobile-toggle { display: block; }

    .cs-mobile-menu {
        padding: 16px 0;
        border-top: 1px solid rgba(0,0,0,0.06);
        margin-top: 12px;
    }
    .cs-mobile-menu a {
        display: block;
        padding: 10px 0;
        color: var(--cs-text-dark);
        font-weight: 500;
        font-size: 0.95rem;
    }
    .cs-mobile-menu a:hover { color: var(--cs-teal); }

    .cs-hero h1 { font-size: 2.4rem; }
    .cs-chisono h2 { font-size: 2rem; }
    .cs-section-title { font-size: 1.8rem; }

    .cs-timeline::before { left: 20px; }
    .cs-timeline-item,
    .cs-timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 56px;
        padding-right: 0;
        text-align: left;
    }
    .cs-timeline-item:nth-child(odd) { padding-right: 0; text-align: left; }
    .cs-timeline-dot,
    .cs-timeline-item:nth-child(odd) .cs-timeline-dot,
    .cs-timeline-item:nth-child(even) .cs-timeline-dot {
        left: 0; right: auto;
    }
}

@media (max-width: 767.98px) {
    .cs-topbar .topbar-social { display: none; }
    .cs-hero { min-height: auto; padding: 60px 0 50px; }
    .cs-hero h1 { font-size: 1.9rem; }
    .cs-section { padding: 50px 0; }
    .cs-section-title { font-size: 1.6rem; margin-bottom: 32px; }
    .cs-chisono h2 { font-size: 1.7rem; }
    .cs-cta-prenota { padding: 32px 24px; text-align: center; }
    .cs-footer-bottom { flex-direction: column; text-align: center; }
    .cs-footer-bottom a { margin-left: 0; margin-right: 16px; }
}
