/* ============================================
   DEEP VALUE CLUB — v3 Premium Institutional
   ============================================ */

:root {
    --navy:         #0A1628;
    --navy-mid:     #0F2240;
    --steel:        #4A7BA7;
    --steel-light:  #5E96C4;
    --powder:       #8BB0CC;
    --powder-light: #B8D4E8;
    --ice:          #D6E6F0;

    --bg-white:     #FFFFFF;
    --bg-off:       #F5F7FA;

    --text-dark:    #0A1628;
    --text-body:    #3D4F63;
    --text-muted:   #7A8B9E;
    --text-light:   #A4B3C2;
    --text-white:   #FFFFFF;
    --text-on-dark: #C0CDD9;

    --font-heading: 'Josefin Sans', sans-serif;
    --font-body:    'Source Sans 3', sans-serif;
    --font-display: 'Bebas Neue', sans-serif;

    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --shadow:       0 20px 60px rgba(10,22,40,0.10);
    --shadow-lg:    0 30px 80px rgba(10,22,40,0.15);
    --glass:        rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.10);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-body);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--navy); color: white; }
a { color: var(--steel); text-decoration: none; transition: all 0.35s var(--ease); }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ====== UTILITIES ====== */
.section-padding { padding: 120px 0; }

.section-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--steel);
    display: block;
    margin-bottom: 14px;
}

.section-title { font-size: 2.8rem; letter-spacing: 0.1em; margin-bottom: 18px; }

.section-line {
    width: 45px; height: 2px;
    background: linear-gradient(90deg, var(--steel), var(--powder));
    margin: 0 auto 26px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.85;
    text-transform: none;
    letter-spacing: 0;
}

.section-text {
    color: var(--text-body);
    font-weight: 300;
    line-height: 1.85;
    font-size: 0.95rem;
}

/* ====== NAVBAR ====== */
.navbar {
    padding: 16px 0;
    transition: all 0.4s var(--ease);
    background: transparent;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 30px rgba(0,0,0,0.25);
}

.navbar-brand { display: flex; align-items: center; }

.brand-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white) !important;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55) !important;
    padding: 8px 16px !important;
    transition: all 0.35s var(--ease);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--text-white) !important; }

.navbar-toggler { border: 1px solid rgba(255,255,255,0.15); padding: 5px 10px; }
.navbar-toggler:focus { box-shadow: none; }

/* ====== HERO ====== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: -5%;
    background: url('../img/borsa-italiana.jpg') center 30% / cover no-repeat;
    opacity: 0.30;
    filter: saturate(0.5) brightness(0.9);
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        rgba(10, 22, 40, 0.70) 0%,
        rgba(15, 34, 64, 0.50) 40%,
        rgba(10, 22, 40, 0.75) 100%
    );
    z-index: 1;
}

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

.hero-pre-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--powder);
    margin-bottom: 20px;
    opacity: 0.85;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-white);
    line-height: 1.05;
    margin-bottom: 30px;
}

.hero-line {
    width: 50px; height: 1px;
    background: var(--powder);
    margin: 0 auto 30px;
    opacity: 0.5;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    margin: 0 auto;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    margin-top: 50px;
}

.scroll-mouse {
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.scroll-dot {
    width: 3px; height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    position: absolute;
    left: 50%; top: 8px;
    transform: translateX(-50%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 22px; }
}

/* ====== PROMOTORI ====== */
.promoter-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 48px 40px;
    position: relative; overflow: hidden;
    transition: all 0.4s var(--ease);
    height: 100%;
    border: 1px solid rgba(214,230,240,0.5);
    box-shadow: 0 4px 20px rgba(10,22,40,0.04);
}

.promoter-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--powder);
}

.promoter-card-accent {
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--steel), var(--powder-light));
}

.promoter-label {
    font-family: var(--font-display);
    font-size: 0.85rem; letter-spacing: 0.35em;
    text-transform: uppercase; color: var(--steel);
    display: block; margin-bottom: 6px;
}

.promoter-name {
    font-family: var(--font-heading);
    font-size: 1.5rem; font-weight: 600;
    letter-spacing: 0.08em; color: var(--text-dark);
    margin-bottom: 20px;
}

/* Promoter card with photo */
.promoter-card-with-photo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 40px 36px;
}

.promoter-card-with-photo .promoter-card-accent {
    z-index: 1;
}

.promoter-photo-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--ice);
    box-shadow: 0 8px 30px rgba(10,22,40,0.10);
    transition: all 0.4s var(--ease);
}

.promoter-card-with-photo:hover .promoter-photo-wrapper {
    border-color: var(--steel);
    box-shadow: 0 12px 40px rgba(74,123,167,0.2);
}

.promoter-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: all 0.5s var(--ease);
}

.promoter-card-with-photo:hover .promoter-photo {
    transform: scale(1.05);
}

.promoter-card-body {
    flex: 1;
    text-align: left;
}

@media (max-width: 575px) {
    .promoter-card-with-photo {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 22px;
    }
    .promoter-card-body { text-align: center; }
    .promoter-photo-wrapper { width: 110px; height: 110px; }
}

/* Image break */
.section-image-break {
    width: 100%; border-radius: 12px;
    overflow: hidden; margin: 55px 0 15px;
    height: 280px; position: relative;
}

.section-image-break img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(25%) brightness(0.78);
    transition: all 0.6s var(--ease);
}

.section-image-break:hover img {
    filter: grayscale(5%) brightness(0.85);
    transform: scale(1.02);
}

/* Mission box */
.dvc-mission-box {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 55px 45px;
    border-left: 3px solid var(--steel);
    box-shadow: var(--shadow);
}

.mission-item { text-align: center; padding: 12px; }

.mission-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 1.5px solid var(--ice);
    color: var(--steel); font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    transition: all 0.35s var(--ease);
}

.mission-item:hover .mission-icon {
    background: var(--steel); color: white;
    border-color: var(--steel); transform: scale(1.1);
}

.mission-item p {
    font-size: 0.92rem; color: var(--text-body);
    line-height: 1.8; font-weight: 300;
}

/* ====== L'IDEA (dark) ====== */
.bg-dark-alt { background: var(--navy); }

.idea-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.35s var(--ease);
    backdrop-filter: blur(10px);
}

.idea-box:hover {
    border-color: rgba(139,176,204,0.3);
    background: rgba(255,255,255,0.09);
    transform: translateY(-3px);
}

.idea-box-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.idea-box-header i { font-size: 1.3rem; color: var(--powder); }
.idea-box-header h4 { font-size: 1.05rem; letter-spacing: 0.1em; color: var(--text-white); margin-bottom: 0; }

.idea-box-subtitle { font-size: 0.86rem; color: var(--text-on-dark); margin-bottom: 16px; font-weight: 300; }

.idea-list { list-style: none; padding: 0; margin: 0; }
.idea-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.86rem; color: var(--text-on-dark); font-weight: 300; line-height: 1.6; }
.idea-list li i { color: var(--powder); margin-top: 4px; flex-shrink: 0; font-size: 0.72rem; }

.idea-center-logo { text-align: center; }

.idea-logo-circle {
    width: 78px; height: 78px; border-radius: 50%;
    background: linear-gradient(135deg, var(--steel), var(--steel-light));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    margin: 0 auto 10px; color: white;
    box-shadow: 0 8px 30px rgba(74,123,167,0.3);
}

.idea-logo-circle i { font-size: 1.3rem; }
.idea-logo-circle span { font-family: var(--font-heading); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 2px; }
.idea-arrows { color: var(--powder); font-size: 1.3rem; opacity: 0.4; }

/* Phase cards */
.phase-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 42px 32px;
    transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
    backdrop-filter: blur(10px);
}

.phase-card::after {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--steel), var(--powder));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.phase-card:hover { border-color: rgba(139,176,204,0.28); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.phase-card:hover::after { transform: scaleX(1); }

.phase-number { font-family: var(--font-display); font-size: 3.5rem; color: var(--steel); line-height: 1; margin-bottom: 12px; }
.phase-card h4 { font-size: 1rem; color: var(--text-white); letter-spacing: 0.08em; margin-bottom: 6px; }
.phase-tag { font-family: var(--font-body); font-size: 0.78rem; color: var(--powder); font-style: italic; display: block; margin-bottom: 20px; text-transform: none; letter-spacing: 0; }

.phase-list { list-style: none; padding: 0; margin: 0; }
.phase-list li { position: relative; padding-left: 14px; margin-bottom: 9px; font-size: 0.86rem; color: var(--text-on-dark); font-weight: 300; line-height: 1.6; }
.phase-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: var(--powder); }

/* ====== FULL IMAGE BREAK ====== */
.full-width-image-break { position: relative; width: 100%; height: 320px; overflow: hidden; }
.full-width-image-break img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); }
.image-break-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,40,0.4), rgba(10,22,40,0.7)); }
.image-break-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.image-break-text span { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-white); text-align: center; padding: 0 20px; }

/* ====== TARGET ====== */
.target-card {
    background: var(--bg-white); border-radius: 12px;
    padding: 48px 30px 40px; text-align: center;
    transition: all 0.4s var(--ease); height: 100%;
    border: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(10,22,40,0.04);
}

.target-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--ice); }
.target-number { font-family: var(--font-display); font-size: 4rem; color: var(--steel); line-height: 1; margin-bottom: 16px; }
.target-card h4 { font-size: 1rem; letter-spacing: 0.1em; margin-bottom: 14px; }
.target-card p { font-size: 0.92rem; color: var(--text-muted); font-weight: 300; line-height: 1.75; }

/* ====== CONTATTI ====== */
.contact-main-box { padding: 40px; }

.contact-icon-large {
    width: 66px; height: 66px; border-radius: 50%;
    border: 1px solid rgba(139,176,204,0.18);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px; color: var(--powder); font-size: 1.4rem;
    background: var(--glass);
}

.contact-email-link {
    font-family: var(--font-heading); font-size: 1.2rem;
    letter-spacing: 0.08em; color: var(--powder-light) !important;
    padding-bottom: 3px; border-bottom: 1px solid rgba(139,176,204,0.2);
    transition: all 0.35s var(--ease);
}
.contact-email-link:hover { color: var(--text-white) !important; border-color: var(--text-white); }

.contact-form .form-label { font-family: var(--font-heading); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--powder); margin-bottom: 5px; }
.contact-form .form-control { background: rgba(255,255,255,0.04); border: 1px solid rgba(139,176,204,0.15); border-radius: 8px; color: var(--text-white); padding: 13px 16px; font-family: var(--font-body); font-size: 0.95rem; transition: all 0.35s var(--ease); }
.contact-form .form-control:focus { background: rgba(255,255,255,0.06); border-color: var(--steel); box-shadow: 0 0 0 3px rgba(74,123,167,0.1); color: var(--text-white); }
.contact-form .form-control::placeholder { color: rgba(160,180,195,0.5); }
.contact-form .form-check-input { background-color: transparent; border-color: rgba(139,176,204,0.2); }
.contact-form .form-check-input:checked { background-color: var(--steel); border-color: var(--steel); }
.text-light-muted { color: var(--text-light); }

.btn-accent {
    background: linear-gradient(135deg, var(--steel), var(--steel-light));
    color: var(--text-white); border: none;
    font-family: var(--font-heading); font-size: 0.73rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    padding: 15px 32px; border-radius: 8px;
    transition: all 0.35s var(--ease);
}
.btn-accent:hover { color: var(--text-white); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(74,123,167,0.3); filter: brightness(1.08); }

/* ====== FOOTER ====== */
.site-footer { background: #060E1A; padding: 50px 0 28px; border-top: 1px solid rgba(139,176,204,0.06); }
.footer-brand { display: flex; align-items: center; }
.footer-claim { font-family: var(--font-body); font-size: 0.88rem; font-style: italic; color: var(--text-light); margin: 0; }
.footer-email { font-size: 0.88rem; color: var(--powder) !important; }
.footer-email:hover { color: var(--text-white) !important; }
.footer-divider { border-color: rgba(139,176,204,0.06); margin: 28px 0 18px; }
.footer-company-info p { font-size: 0.78rem; color: var(--text-light); margin: 0; line-height: 1.7; opacity: 0.7; }
.footer-copyright { font-size: 0.78rem; color: var(--text-light); margin: 0; }

.footer-links-inline { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; justify-content: flex-end; }
.footer-links-inline a { font-size: 0.78rem; color: var(--text-light); transition: all 0.35s var(--ease); }
.footer-links-inline a:hover { color: var(--powder); }

/* ====== BACK TO TOP ====== */
.back-to-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: var(--text-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; opacity: 0; visibility: hidden;
    transition: all 0.35s var(--ease); z-index: 999;
    border: 1px solid rgba(139,176,204,0.12);
    text-decoration: none;
}
.back-to-top:hover { background: var(--steel); color: white; border-color: var(--steel); }
.back-to-top.visible { opacity: 1; visibility: visible; }

/* ====== RESPONSIVE ====== */
@media (max-width: 991px) {
    .hero-title { font-size: 3.8rem; letter-spacing: 0.15em; }
    .section-title { font-size: 2.1rem; }
    .dvc-mission-box { padding: 30px 22px; }
    .navbar-collapse { background: rgba(10,22,40,0.98); padding: 18px; margin-top: 12px; border-radius: 10px; backdrop-filter: blur(20px); }
    .idea-center-logo { margin: 20px 0; }
    .idea-arrows { transform: rotate(90deg); }
}

@media (max-width: 767px) {
    .section-padding { padding: 80px 0; }
    .hero-title { font-size: 2.6rem; letter-spacing: 0.1em; }
    .hero-pre-title { font-size: 0.85rem; letter-spacing: 0.3em; }
    .section-title { font-size: 1.6rem; }
    .phase-card, .idea-box { padding: 26px 20px; }
    .contact-main-box { padding: 24px 12px; }
    .footer-links-inline { justify-content: center; margin-top: 12px; }
    .full-width-image-break { height: 220px; }
    .image-break-text span { font-size: 1.1rem; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 2rem; letter-spacing: 0.08em; }
    .section-title { font-size: 1.35rem; }
    .phase-number, .target-number { font-size: 2.8rem; }
    .section-image-break { height: 180px; }
}
