:root {
    --primary: #d946ef;
    --primary-hover: #c026d3;
    --accent: #f59e0b;
    --bg-gradient: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-main: #4a044e;
    --text-muted: #701a75;
    --border: rgba(217, 70, 239, 0.2);
    --success-bg: #f0fdf4;
    --success-text: #166534;
    --error-bg: #fef2f2;
    --error-text: #991b1b;
    --glass-shadow: 0 8px 32px 0 rgba(192, 38, 211, 0.1);
    --max-content-width: 650px; /* Largeur cohérente pour tous les blocs */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.emoji-float {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, #d946ef, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

/* Layout Center */
.content-centered {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Espacement cohérent entre les blocs */
    width: 100%;
}

/* Base card style for consistency */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    width: 100%; /* S'assure que tout prend la même largeur */
    overflow: hidden;
}

/* Info Section */
.info-section {
    padding: 3rem 2.5rem;
    text-align: center;
}

.info-section p {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.info-section h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.inspiration-box {
    background: rgba(217, 70, 239, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    text-align: left;
    border-left: 4px solid var(--primary);
}

.inspiration-box p {
    margin-bottom: 1rem;
    font-weight: 600;
}

.inspiration-box ul {
    list-style: none; /* On utilise les emojis comme puces */
    padding-left: 0.5rem;
}

.inspiration-box li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.inspiration-box li em {
    color: var(--text-muted);
}

.privacy-note {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(217, 70, 239, 0.1);
    color: var(--text-muted);
    font-weight: 600;
}

/* Form Section */
.card {
    padding: 2.5rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.1);
}

button {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--primary), #c026d3);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}

button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.4);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.alert {
    margin-top: 1.5rem;
    padding: 1.1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: center;
    border: 1px solid transparent;
}

.alert.success { 
    background-color: var(--success-bg); 
    color: var(--success-text);
    border-color: rgba(22, 101, 52, 0.1);
}

.alert.error { 
    background-color: var(--error-bg); 
    color: var(--error-text);
    border-color: rgba(153, 27, 27, 0.1);
}

.footer {
    text-align: center;
    margin-top: 6rem;
    padding-bottom: 3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.8;
}

p:last-child {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .card, .info-section { padding: 1.5rem; }
}
