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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    width: 100vw;
}

header {
    width: 100%;
    background: #ffffff;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    justify-content: center;
    flex-direction: row;
    align-items: center;
    position: relative;
    display: flex;
    cursor: pointer;
}

img.logoHeader {
    max-width: 80px;
    position: relative;
    z-index: 2;    
}

p.logoTxt {
    font-weight: 800;
    letter-spacing: 2px;
    color: black;
    text-decoration: underline;
    text-decoration-color: #5741d9;
    text-decoration-thickness: 4px;
    text-underline-offset: 2px;
}

ul.nav-menu {
    display: flex;
    align-items: center;
    gap: 14px;
}

li.nav-item {
    all: unset;
}

a {
    all: unset;
    font-size: 16Spx;
    cursor: pointer;
}

a:hover {
    color: #5741d9;
}

.iconsRight {
    display: flex;
    gap: 25px;
    margin-right: 20px;
}

.iconcont {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

img.iconRR {
    width: 20px;
}

p.infoHover {
    background: #5741d9;
    color: white;
    padding: 1px 8px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14px;
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    margin: 0;
    white-space: nowrap;
}

.logo p.infoHover {
    top: 85%;
}

.iconcont p.infoHover {
    top: 140%;
}

.logo:hover .infoHover,
.iconcont:hover .infoHover {
    display: block;
}

.logo:hover .logoTxt {
    display: block;
}
@media (max-width: 819px) {
    .navbar {
    display: none;
     }
   }
   /* ... fine del CSS precedente ... */

/* --- SEZIONE HERO --- */
.hero {
    width: 100%;
    min-height: 80vh; /* Occupa gran parte dell'altezza dello schermo */
    background-color: #ffffff; /* Sfondo molto chiaro tendente al viola */
    display: flex;
    align-items: center;
    padding: 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Hero Contenuto (Testo) */
.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-tagline {
    font-size: 13px;
    font-weight: 600;
    color: #5741d9;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
    background: #f7f6ff;
    padding: 2px 10px;
    border-radius: 24px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: black;
    margin-bottom: 20px;
}

.hero-title span {
    color: #1e740f;
    text-decoration: underline;
    text-decoration-color: rgb(255, 206, 9);
    text-decoration-thickness: 3px;
}

.hero-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Pulsanti Hero */
.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    all: unset;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #5741d9;
    color: white;
}

.btn-primary:hover {
    background: #4733b9;
}

.btn-secondary {
    background: white;
    color: #5741d9;
    border: 2px solid #5741d9;
}

.btn-secondary:hover {
    background: #eceaff;
}

/* Hero Visuale (Immagine) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 500px;
}

.hero-img {
    max-width: 80%;
    height: auto;
    object-fit: contain;
    z-index: 3;
}

.accent-circle {
    position: absolute;
    width: 120%;
    height: 120%;
    background: #c3ffbb;
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- RESPONSIVITÀ HERO < 819px --- */
@media (max-width: 819px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 94px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-description {
        margin: 0 auto 25px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        max-width: 300px;
        margin: 0 auto;
    }

    .accent-circle {
        width: 100%;
        height: 140%;
    }
}