/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/playfair-display-v40-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/playfair-display-v40-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/playfair-display-v40-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/playfair-display-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/playfair-display-v40-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/playfair-display-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/playfair-display-v40-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/playfair-display-v40-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 800;
  src: url('fonts/playfair-display-v40-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/playfair-display-v40-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 900;
  src: url('fonts/playfair-display-v40-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/plus-jakarta-sans-v12-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200;
  src: url('fonts/plus-jakarta-sans-v12-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/plus-jakarta-sans-v12-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/plus-jakarta-sans-v12-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/plus-jakarta-sans-v12-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/plus-jakarta-sans-v12-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/plus-jakarta-sans-v12-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/plus-jakarta-sans-v12-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 800;
  src: url('fonts/plus-jakarta-sans-v12-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ==========================================================================
   RESET E VARIABILI
   ========================================================================== */
:root {
    --sage-dark: #4a5d4a;
    --sage-main: #708770;
    --sage-medium: #8fa88f;
    --sage-light: #cbdacb;
    --sage-bg: #f4f7f4;
    --text-dark: #2d382d;
	--white: #ffffff;
	--electric-coral-orange: #ff6f59;
	--golden-mustard-yellow: #f4a261;
	--terracotta-sunset: #e76f51;
	--neon-peach-pink: #ff8566;
	--pure-saffron-yellow: #ffb703;
	
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
	
	/*altre palette https://coolors.co/palettes/popular/sage*/

}

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

body {
    font-family: var(--font-sans);
    background-color: var(--sage-bg);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Forza l'altezza esattamente al 100% dello schermo */
    overflow: hidden;     
    padding: 30px; 
	padding-top: 50px; 
    position: relative;
}

/* ==========================================================================
   SFONDO ANIMATO CON ONDE
   ========================================================================== */
.background-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 240px;
    background-repeat: repeat-x;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path fill="%23cbdacb" fill-opacity="0.5" d="M0,60 C150,100 150,20 300,60 C450,100 450,20 600,60 C750,100 750,20 900,60 C1050,100 1050,20 1200,60 L1200,120 L0,120 Z"></path></svg>');
    background-size: 2000px 100%;
    transform: translate3d(0, 0, 0);
}

.wave1 {
    animation: moveWaveSmooth 55s linear infinite;
    z-index: 3;
    opacity: 0.8;
}

.wave2 {
    animation: moveWaveSmooth 85s linear infinite reverse;
    opacity: 0.5;
    bottom: 15px;
    z-index: 2;
}

.wave3 {
    animation: moveWaveSmooth 40s linear infinite;
    opacity: 0.3;
    bottom: 30px;
    z-index: 1;
}

@keyframes moveWaveSmooth {
    0% { background-position-x: 0; }
    100% { background-position-x: 2000px; }
}

/* ==========================================================================
   LAYOUT E INTERFACCIA BLOCCO CENTRALE
   ========================================================================== */
.container {
    width: 100%;
    max-width: 650px;
    text-align: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 30px 30px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(112, 135, 112, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content {
    margin-bottom: 1.5rem;
}

/* H1 a destra del logo */
h1.header-with-logo {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 8px;                  /* Distanza per far sì che la C si avvicini l'inizio del testo */
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--sage-dark);
    font-weight: 400;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

/* Contenitore del logo */
.icon-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    
    /* dimensione logo */
    width: 130px;              
    height: 130px;
    
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    flex-shrink: 0;                /* Evita che il logo si schiacci se il testo va a capo */
    
    /* Spazio negativo a destra per far incastrare h1 con il logo */
    margin-right: -64px; 
    
    /* Applica l'ombra direttamente sui tracciati dell'SVG e non sulla scatola quadrata */
    filter: drop-shadow(0 8px 12px rgba(74, 93, 74, 0.15));
    
    /* Galleggiamento */
    animation: floatHeaderLogo 6s ease-in-out infinite;
}

.studio-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h2.coming-title {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    color: var(--sage-main);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: #556255;
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sage-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    margin-bottom: 1rem; /* Aggiunge respiro sopra la linea del footer */
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--sage-medium);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--sage-medium);
    border-radius: 50%;
    transform-origin: center;
    animation: badgePulse 1.8s infinite ease-out;
}

@keyframes badgePulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* ==========================================================================
   ANIMAZIONI SECONDARIE E FOOTER
   ========================================================================== */
@keyframes floatHeaderLogo {
	/* su e giù, simil respiro */
    /*0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }*/
	
	/* ruota un po' in senso orario e antiorario */
    /*0%, 100% { transform: rotate(0deg);  }
    25% { transform: rotate(6deg); }
	75% { transform: rotate(-6deg); }*/
	
	/* leggero zoom in zoom out*/
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08);   }
}

.fade-in { animation: fadeInEffect 1.5s ease forwards; }
.fade-in-delay { opacity: 0; animation: fadeInEffect 1.5s ease forwards 0.4s; }
.fade-in-delay2 { opacity: 0; animation: fadeInEffect 1.5s ease forwards 0.8s; }

@keyframes fadeInEffect {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.coming-soon-footer {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.coming-soon-footer p {
    font-size: 0.65rem;
    opacity: 0.6;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin: 0;
}

.coming-soon-footer a {
    color: var(--text-dark) !important;
    opacity: 1;
	text-decoration: none;	
    transition: opacity 0.2s ease;
}

.coming-soon-footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Nasconde l'interruzione di riga su Desktop e Tablet */
.mobile-break {
    display: none;
}

/* Adattamento Mobile */
@media (max-width: 500px) {
    h1.header-with-logo { 
        font-size: 1.8rem;
        position: relative;        /* Crea l'ancoraggio per il logo */
        display: block;            /* Cambiamo da flex a block per gestire il testo a capo */
        text-align: left;          /* Allinea il testo a sinistra per farlo "entrare" nel logo */
        padding-left: 75px;        /* Crea lo spazio fisico a sinistra per ospitare il logo */
        min-height: 90px;          /* Forza un'altezza minima per contenere il logo */
    }
    
    .icon-container { 
        position: absolute;        /* Sgancia il logo dal flusso del testo */
        left: 0;                   /* Lo fissa sul bordo sinistro dell'H1 */
        top: 40%;                  /* Lo centra verticalmente rispetto a UNA o DUE righe */
        transform: translateY(-50%); /* Bilancia il centraggio verticale perfetto */
        
        width: 130px;               
        height: 130px; 
        margin-right: 0;           

        animation: floatMobileAbsolute 6s ease-in-out infinite;
    }
    
    .container { 
        padding: 70px 20px; 
		transform: translateY(-70px); /* Sposta l'intera card verso l'alto di 20 pixel */
    }
		
	/* Attiva l'interruzione di riga solo su schermi piccoli */
    .mobile-break {
        display: block;
    }

	.coming-title .trattino {
		display: none; 
	}
  
	.coming-title {
		display: flex;
		flex-direction: column; /* Forza le parole ad andare una sotto l'altra */
		align-items: center;
		text-align: center;
		padding-top: 50px;
	}	
	
	@keyframes floatMobileAbsolute {
		0%, 100% { transform: translateY(-50%) scale(1); }
		50% { transform: translateY(-50%) scale(1.08); }
	}

}


