@font-face {
  font-family: "Rosehot";
  src: url("./Rosehot.ttf") format("truetype");
}

k creati automaticamente da iOS */
a[x-apple-data-detectors],
a[x-apple-data-detectors="true"] {
  text-decoration: none !important;
  color: inherit !important;
}

/* Extra sicurezza anche per normali tel/mail */
a[href^="tel"],
a[href^="mailto"] {
  text-decoration: none !important;
  border-bottom: none !important;
  color: inherit !important;
  margin-bottom: 20px;
  margin-top: 20px;
}
.logonav {
  font-family: var(--font-cofor);
  font-weight: var(--cofo-light);
  font-size: 1.8rem;
  color: var(--text-color);
  margin: 7px auto 0px auto;
  line-height: 1.5;
}



:root {



  --main-color: #404ac6;
  --secondary-color: #f5e8d7;
  --background-color: #f5e8d7;
  --text-color: #2f251f;

  --font-cofor: cofo-raffine, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-adelle: adelle-sans, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --h1-size: 10rem;
  --h2-sub-size: 2rem;
  --h3-sec-size: 2.2rem;
  --h2-title: 8.7rem;

  --paragrafi: 1.4rem;

  /* tablet  size*/

  --h1-size-tablet: 6.6rem;
  --h2-sub-size-tablet: 1.8rem;
  --h3-sec-size-tablet: 1.7rem;
  --h2-title-tablet: 6rem;
  --paragrafi-tablet: 1.2rem;
  --bigTileSize: 22rem;
  /* mobile size */

  --h1-size-mobile: 5.2rem;
  --h2-sub-mobile: 1.3rem;
  --h3-sec-mobile: 1.5rem;
  --h2-title-mobile: 2.5rem;
  --paragrafi-mobile: 0.9rem;

  /* distanze globali */

  --section-global-spacing: 150px;
  --section-global-mobile: 50px;
  --section-global-tablet: 120px;

  --w-thin: 100;
  --w-light: 300;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700; /* non presente in questo kit */
  --w-black: 900;

  /* Mappa pesi disponibili per famiglia (aderente al kit) */
  --cofo-thin: 100;
  --cofo-light: 300;
  --cofo-regular: 400;
  --cofo-medium: 500;
  --cofo-black: 900;

  --adelle-thin: 100;
  --adelle-light: 300;
  --adelle-semibold: 600;
}




.pt-custom {
  padding-top: 150px;
}
.marleft {
  margin-left: 30px !important;
}

p,
a {
  font-family: var(--font-adelle);
  font-weight: var(--adelle-thin);
  font-size: var(--paragrafi);
  text-decoration: none;
  color: var(--text-color);
}

/* Evita “faux bold/italic” quando un peso non esiste */
html {
  font-synthesis-weight: none;
  font-synthesis-style: none;
}

h2 {
  word-spacing: -10px;
}
.space-global {
  margin-top: var(--section-global-spacing);
}
/* ===== Utility famiglie ===== */
.font-cofo {
  font-family: var(--font-cofo);
}
.font-adelle {
  font-family: var(--font-adelle);
}

/* ===== Utility pesi GENERICI (usa solo se il peso esiste nella famiglia scelta) ===== */
.w-thin {
  font-weight: var(--w-thin);
}
.w-light {
  font-weight: var(--w-light);
}
.w-regular {
  font-weight: var(--w-regular);
}
.w-medium {
  font-weight: var(--w-medium);
}
.w-semibold {
  font-weight: var(--w-semibold);
}
.w-black {
  font-weight: var(--w-black);
}

/* ===== Utility pesi SPECIFICI per famiglia (sicure) ===== */
/* cofo-raffine */
.cofo-thin {
  font-family: var(--font-cofo);
  font-weight: var(--cofo-thin);
}
.cofo-light {
  font-family: var(--font-cofo);
  font-weight: var(--cofo-light);
}
.cofo-regular {
  font-family: var(--font-cofo);
  font-weight: var(--cofo-regular);
}
.cofo-medium {
  font-family: var(--font-cofo);
  font-weight: var(--cofo-medium);
}
.cofo-black {
  font-family: var(--font-cofo);
  font-weight: var(--cofo-black);
}

/* adelle-sans */
.adelle-thin {
  font-family: var(--font-adelle);
  font-weight: var(--adelle-thin);
}
.adelle-light {
  font-family: var(--font-adelle);
  font-weight: var(--adelle-light);
}
.adelle-semibold {
  font-family: var(--font-adelle);
  font-weight: var(--adelle-semibold);
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

header.header {
  background-image: url("../../img/header.svg");
  height: 220px;
  background-size: cover;
  background-position: center;
}
nav.menu {
  display: flex;
  justify-content: end;
  gap: 0px;
  align-items: center;
  padding: 0px 0px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  flex-wrap: wrap;
  transition: padding 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

nav.menu > div {
  flex-basis: 100%;
}

ul.navigation {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;

  padding: 0;
  text-align: right;
  font-family: var(--font-adelle);
  font-family: var(--adelle-semibold);

  /* stato CHIUSO */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out,
    transform 0.4s ease-in-out, margin-top 0.4s ease-in-out;
}
.navigation li a:hover {
  color: var(
    --main-color
  ); /* Cambia il colore del testo al passaggio del mouse */
}
/* stato APERTO → quando aggiungiamo .menu-open al nav */
nav.menu.menu-open .navigation {
  max-height: 500px; /* abbastanza grande per contenere tutti i li */
  opacity: 1;
  transform: translateY(0);
  margin-top: 20px;
}

.violet {
  background-color: #abaaf5dc;
  transition: background-color 0.3s ease-in-out;
}

.lenguage {
  font-family: var(--font-adelle);
  font-weight: var(--adelle-regular);
  font-size: 1rem;
  line-height: 2.4;
  cursor: pointer;
  color: var(--text-color);
  padding: 4px 5px;
  margin: 0px;
}

#menu {
  width: 45px;
  height: 45px;
  cursor: pointer;
  padding-left: 10px;
  display: block;
  transition: opacity 0.8s ease-in-out; /* più lento e fluido */

}



h1 {
  color: var(--text-color);
  font-family: var(--font-cofor);
  font-size: var(--h1-size);
  font-weight: var(--cofo-light);
}

.mt-custom {
  margin-top: 100px;
}
.frist h1 span {
  font-weight: var(--cofo-regular) !important;
}

.frist {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.logo-container img {
  width: 130px;
  height: auto;
}

.subtitle {
  font-family: var(--font-adelle);
  font-weight: var(--adelle-thin);
  font-size: var(--h2-sub-size);
  letter-spacing: 5px;
  word-spacing: 5px;
}

.hero-subtitle {
  font-family: var(--font-adelle);
  font-weight: var(--adelle-thin);
  font-size: var(--h3-sec-size);
}

.big-title {
  margin-top: 150px;
  font-family: var(--font-cofor);
  font-weight: var(--cofo-black);
  font-size: var(--bigTileSize);
  padding: 0px !important;
  margin: 0px !important;
  line-height: 0.5;
  color: var(--main-color);
}

.big-title2 {
  margin-top: 150px;
  font-family: var(--font-cofor);
  font-weight: var(--cofo-black);
  font-size: var(--bigTileSize);
  padding: 0px !important;
  margin: 0px !important;
  line-height: 0.5;
  color: var(--main-color);
}

.big-title3 {
  margin-top: 150px;
  font-family: var(--font-cofor);
  font-weight: var(--cofo-black);
  font-size: var(--bigTileSize);
  padding: 0px !important;
  margin: 0px !important;
  line-height: 0.5;
  color: var(--background-color);
}

.big-titleAcqua {
  font-family: var(--font-cofor);
  font-weight: var(--cofo-black);
  font-size: 24rem;
  padding: 0px !important;
  margin: 0px !important;
  line-height: 1;
  color: var(--background-color);
}

.container-big-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 300px;
  padding: 0px 0px;
}

.container-big-title2 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.container-big-title2-a {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-top: 200px;
}

.subTitleH2 {
  font-family: var(--font-cofor);
  font-weight: var(--cofo-regular);
  text-align: left;
  font-size: var(--h2-title);
  margin-top: 25px;
  letter-spacing: 8px;
}

.subTitleH2Reverse {
  font-family: var(--font-cofor);
  font-weight: var(--cofo-regular);
  text-align: right;
  font-size: var(--h2-title);
  margin-top: 25px;
  letter-spacing: 8px;
  width: 95%;
}

.bg-pattern {
  background-image: url("../../img/pattern_sfondo.svg");
  background-attachment: fixed;
  background-repeat: repeat-x;
  background-size: cover;
  background-position: center;
}

.container-paragraph {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 25px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.container-paragraph-reverse {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: end;
  text-align: right;
  gap: 25px;
  max-width: 100%;
  width: 87%;
  margin: 0 auto;
}
.container-paragraph,
.container-paragraph-reverse p {
  font-family: var(--font-adelle);
  font-weight: var(--adelle-thin);
  font-size: var(--paragrafi);
}

.reverse {
  display: flex;
  justify-content: flex-end;
}

.bgpurple {
  background-image: url("../../img/pattern_sfondo.svg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: rgba(64, 73, 198, 0.95);

  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  padding: 100px 0px;
  margin-top: 250px;
  display: flex;
  align-items: center;
  width: 100%;
}

.bgpurpleWitohoutPattern {
  background-color: rgba(64, 73, 198, 0.95);
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  padding-bottom: 100px;
  margin-top: 250px;
}

.subTitleWhiteReverse {
  font-family: var(--font-cofor);
  font-weight: var(--cofo-light);
  text-align: right;
  font-size: 9rem;
  color: var(--background-color);
  line-height: 1;
  margin-top: 100px;
}

.subTitleWhite {
  font-family: var(--font-cofor);
  font-weight: var(--cofo-light);
  text-align: left;
  font-size: 9rem;
  color: var(--background-color);
  line-height: 8rem;
  margin-top: 200px;
}

.custom-padding {
  padding: 0px 0px;
}
.line-pattern {
  height: 200px;
  background-image: url("../../img/curva.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

ul.custom {
  list-style: none; /* rimuove i bullet di default */
  padding-left: 0; /* evita margine sinistro extra */
  margin: 0; /* reset margine ul */
}

ul.custom li {
  margin-bottom: 20px; /* spazio verticale tra le righe */
  line-height: 1.5; /* migliora leggibilità */
  position: relative; /* per posizionare il pallino */
  padding-left: 35px;
  font-family: var(--font-adelle);
  font-weight: var(--adelle-semibold);
  font-size: var(--paragrafi);
  color: var(--main-color);
}

ul.custom li::before {
  content: "○"; /* pallino vuoto */
  color: #4a4ad4; /* colore del pallino */
  position: absolute;
  left: 0; /* posizione rispetto all’inizio dell’elemento */
  top: 0;
  font-size: 22px; /* grandezza del pallino */
  line-height: 1.5;
  font-weight: 100; /* più sottile possibile */
}

.title-group {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  padding: 200px 0px;
}

.content-title h3 {
  font-family: var(--font-cofor);
  font-size: 3.5rem;
  font-weight: var(--cofo-black);
  color: var(--main-color);
  letter-spacing: 0.3rem;
}

.bg-purple-blur {
  background: url("../../img/sfumata_viola.svg");
  background-size: cover;
  background-position: center;
  min-height: 50vh;
  background-repeat: no-repeat;
  padding: 125px 0px;
}

.content-big {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 160px;
}
.content-big h2 {
  font-family: var(--font-cofor);
  font-size: 14rem;
  color: var(--main-color);
  line-height: 11rem;
  font-weight: bold;
  letter-spacing: -9px;
  word-spacing: 6px;
}

.img-left {
  width: 50%;
  position: relative;
  top: 70px;
  left: 0px /* prima -150 */;
  padding-top: 100px;
}

.img-left2 {
  width: 90%;
  position: relative;
  left: 0px /* prima -150 */;
  padding-top: 100px;
  height: auto;
}

.img-dx {
  width: 80%;
  padding-top: 150px;
}

.text-content {
  font-family: var(--font-adelle);
  font-weight: var(--adelle-thin);
  padding-top: 140px;
  max-width: 90%;
  text-align: left;
  font-size: var(--paragrafi);
}

.test-affiliazioni {
  margin-top: 150px;
  font-family: var(--font-cofor);
  font-weight: var(--cofo-medium);
  font-size: 8rem;
  color: var(--main-color);
}

.container-aff-text {
  display: flex;
  gap: 150px;
}

.content-aff p {
  font-family: var(--font-adelle);
  font-weight: var(--adelle-thin);
  margin: 3px !important;
}

.mt-300 {
  margin-top: 300px;
}
.ps-custom {
  position: relative;
  top: 70px;
}

.ml-72 {
  margin-left: 72px !important;
}
.ml-40 {
  margin-left: 58px !important;
  margin-top: -180px !important;
}

.mr-50 {
  margin-right: 50px !important;
  margin-top: -180px !important;
}

.info {
  width: 70% !important;
}

.hov:hover {
  color: var(--main-color);
  transition: color 0.3s ease;
  cursor: pointer;
}

.mt-c-0 {
  margin: 0px !important;
}

.cta {
  display: flex;
  justify-content: center;

  padding: 85px 0px;
}

.cta button {
  background-color: var(--main-color);
  color: var(--background-color);
  border: none;
  border-bottom-left-radius: 25px;
  border-top-right-radius: 25px;
  padding: 15px 30px;
  font-size: 25px;
  font-family: var(--font-adelle);
  cursor: pointer;
  transition: background-color 0.9s ease;
}
.cta button:hover {
 background-image: url("../../img/pattern_sfondo.svg");
 background-position: cover;
 background-size: 70%;
 background-color: var(--secondary-color);
 color: var(--main-color);
 border: solid 2px var(--main-color);
  transition: background-color 0.9s ease;
}

.big-title-contact {
  font-family: var(--font-cofor);
  font-weight: var(--cofo-medium);
  font-size: 5rem;
  word-spacing: 15px;
  line-height: 1.2;
  text-align: left;
  color: var(--main-color);
}

.footer-contact {
  margin-top: 200px;
  padding-bottom:10px
}

.terra {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 0px;
  height: 100%;
}
.mt-custom-terra {
  margin-top: 100px !important;
}
.bg-violet {
  background-color: rgba(64, 73, 198, 0.86);
  border-top-left-radius: 80px;
  border-bottom-right-radius: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centro verticale */
  text-align: left;
  padding: 170px 100px;
}
.bg-violet h3 {
  font-size: 16rem;
  line-height: 0.6;
  color: var(--background-color);
  font-family: var(--font-cofor);
  font-weight: var(--cofo-black);
  text-align: left;
}
.chiara-psy h4 {
  font-family: var(--adelle-semibold);

  font-size: 2.5rem;
  margin-left: -85px;
  margin-top: 20px;
  font-size: var(--paragrafi);
}
footer {
  margin-top: 200px;
}

.testi {
  font-family: var(--adelle-light);
  margin-top: 40px;
  font-size: var(--paragrafi);
}

.social {
  display: flex;
  gap: 25px;
  margin-top: 20px;
  margin-left: -187px !important;
}
.social img {
  width: 30px;
}



/* quando il menu è aperto → mostra X, nascondi hamburger */
nav.menu.menu-open #menu {
  opacity: 0;
}

nav.menu.menu-open .icon-close {
  opacity: 1;
}

#terra
{
width: 75%;
height: auto;
}
.footer-cata{
    display: flex;
    gap: 15px ;
    align-items: start;
    margin: 0px auto;
    justify-content: start;
    padding-top: 30px;
    padding: 50px 0px 50px 10px;

}

.footer-cata img{
    width: 25px;
    margin-bottom: 15px;
    animation-duration: 4s;
  animation-name: occhio-catapultista;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes occhio-catapultista {
  0% {
    transform: rotateX(0deg);
  }
  10% {
    transform: rotateX(90deg);
  }
  20% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}
  .cata-title {
    font-size: 15px !important;
    font-weight: 400
  }


  /* AGGIUNGI */
.menu-icons {
  position: relative; /* fondamentale per posizionare la X */
}

/* MODIFICA la tua .icon-close */
.icon-close {
  position: absolute;
  right: 10px;  /* più stabile di % */
  top: 5px;
  width: 35px;
  height: 35px;
  opacity: 0;
  pointer-events: none; /* ok quando è nascosta */
  transition: opacity 0.8s ease-in-out;
}

/* AGGIUNGI */
nav.menu.menu-open .icon-close {
  opacity: 1;
  pointer-events: auto; /* ora la X si può cliccare */
}

/* AGGIUNGI */
nav.menu.menu-open #menu {
  opacity: 0;
  pointer-events: none; /* evita click sull’hamburger invisibile */
}
