/**
 * Mammo Mia - Styles CSS
 * Design moderne, sobre et full page
 * Version: 1.0.0
 */

/* ========================================
   GOOGLE FONTS
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ========================================
   RESET & BASE STYLES
======================================== */

/* Masquer le header et footer WordPress/Astra sur les pages Mammo Mia */
.mammomia-fullpage .site-header,
.mammomia-fullpage .site-footer,
.mammomia-fullpage #masthead,
.mammomia-fullpage #colophon,
.mammomia-fullpage .ast-header-break-point,
.mammomia-fullpage .ast-main-header-wrap,
.mammomia-fullpage .site-navigation {
    display: none !important;
}

/* Forcer le contenu à prendre toute la hauteur */
.mammomia-fullpage .site-content,
.mammomia-fullpage #content,
.mammomia-fullpage .ast-container,
.mammomia-fullpage .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* ========================================
   CONTAINER PRINCIPAL - HOME
======================================== */

.mammomia-home-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffe8f0 !important;
    color: var(--text-color, #333333);
    padding: 0;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ========================================
   HEADER INLINE
======================================== */

.mammomia-header-inline {
    text-align: center;
    margin-bottom: 0.3rem;
}

.mammomia-logo-text {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    color: var(--accent-color, #ff6b9d);
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-o {
    position: relative;
    display: inline-block;
}

.logo-o::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--accent-color, #ff6b9d);
    border-radius: 50%;
    opacity: 0.8;
}

.mammomia-baseline {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #ff6b9d;
    margin: 0.8rem 0 0 0;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.03em;
}

.mammomia-promise {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #4a4a4a;
    margin: 0.5rem auto 1rem auto;
    font-weight: 500;
    line-height: 1.2;
    max-width: 900px;
    padding: 0 1rem;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mammomia-home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
}

.mammomia-main-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: -1.5rem auto 0 auto;
}

@media (max-width: 768px) {
    .mammomia-main-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 0;
    }
    
    .mammomia-promise {
        white-space: normal;
        font-size: 1rem;
        line-height: 1.4;
        margin: 0.5rem auto 1.5rem auto;
    }
    
    .breast-animation {
        max-width: 400px;
        margin: 0 auto 2rem auto;
    }
    
    .mammomia-download-buttons {
        align-items: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .mammomia-download-btn {
        max-width: 250px;
    }
    
    .contact-btn-small {
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .instagram-link {
        margin-left: auto;
        margin-right: auto;
    }
    
    .mammomia-footer {
        margin-top: 3rem;
    }
}

.mammomia-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
    align-items: stretch;
    margin: 0;
    width: 100%;
}

/* ========================================
   ANIMATION DU SEIN
======================================== */

.breast-animation {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

@media (min-width: 769px) {
    .breast-animation {
        max-width: 500px;
    }
}

.breast-animation svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 20px rgba(255, 107, 157, 0.2));
}

.breast-circle {
    animation: heartbeat 3s ease-in-out infinite;
    transform-origin: center;
}

.nipple-circle {
    animation: heartbeat 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

/* ========================================
   BOUTONS DE TÉLÉCHARGEMENT
======================================== */

.mammomia-download-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.7rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: auto;
    max-width: 180px;
}

.mammomia-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    text-decoration: none !important;
}

.mammomia-download-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mammomia-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.mammomia-btn-small {
    font-size: 0.5rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mammomia-btn-large {
    font-size: 0.7rem;
    font-weight: 600;
}

/* ========================================
   BOUTON CONTACT
======================================== */

.mammomia-contact-button {
    margin: 2rem 0 1rem 0;
    text-align: center;
}

.contact-btn {
    display: inline-block;
    background-color: var(--accent-color, #ff6b9d);
    color: #ffffff;
    text-decoration: none !important;
    border: none;
    border-radius: 50px;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
    background-color: #ff5a8f;
    color: #ffffff;
    text-decoration: none !important;
}

.contact-btn-small {
    display: block;
    background-color: var(--accent-color, #ff6b9d);
    color: #ffffff;
    text-decoration: none !important;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
    max-width: 180px;
}

.contact-btn-small:hover {
    background-color: #ff5a8c;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 107, 157, 0.3);
    color: #ffffff;
    text-decoration: none !important;
}

.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 1rem 0 0 0;
    margin-left: calc(50% - 20px);
    background-color: #9b59b6;
    border-radius: 12px;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.instagram-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
    background-color: #8e44ad;
    color: #ffffff;
}

.instagram-link svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   LIENS ET NAVIGATION
======================================== */

a {
    text-decoration: none !important;
}

.mammomia-contact-link {
    margin-top: 2rem;
}

.mammomia-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color, #ff6b9d);
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.mammomia-link:hover {
    background-color: rgba(255, 107, 157, 0.1);
    transform: translateX(4px);
    text-decoration: none !important;
}

.mammomia-link svg {
    transition: transform 0.3s ease;
}

.mammomia-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   FOOTER
======================================== */

.mammomia-footer {
    width: 100%;
    text-align: center;
    padding: 1rem;
    background-color: #ffe8f0 !important;
    margin-top: 1.5rem;
}

.mammomia-footer p {
    margin: 0;
}

.chu-mention {
    font-size: 0.875rem;
    color: #ffb3d9;
    line-height: 1.6;
}

.heart {
    color: #ff6b9d;
    font-size: 1rem;
    display: inline-block;
    animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ========================================
   PAGE CONTACT
======================================== */

.mammomia-contact-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #ffe8f0 !important;
    color: #4a4a4a;
    padding: 2rem;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.mammomia-contact-content {
    max-width: 700px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.mammomia-back-link {
    margin-bottom: 1.5rem;
    text-align: left;
}

.mammomia-contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem 0;
    color: #4a4a4a;
}

.mammomia-contact-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 1.5rem 0;
    color: #ff6b9d;
}

.mammomia-back-link .mammomia-link:hover {
    transform: translateX(-4px);
}

.mammomia-back-link .mammomia-link:hover svg {
    transform: translateX(-4px);
}

/* ========================================
   GOOGLE FONTS
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

/* ========================================
   VARIABLES CSS
======================================== */

:root {
    --bg-color: #ffe8f0;
    --text-color: #4a4a4a;
    --accent-color: #ff6b9d;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* ========================================
   FORMULAIRE
======================================== */

.mammomia-form-wrapper {
    margin: 2rem 0;
    background-color: #ffb3d9;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    width: 100%;
    max-width: 600px;
}

.mammomia-form-error {
    padding: 2rem;
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    color: #856404;
}

/* Styles pour les champs Fluent Forms */
.mammomia-form-wrapper input[type="text"],
.mammomia-form-wrapper input[type="email"],
.mammomia-form-wrapper input[type="tel"],
.mammomia-form-wrapper textarea,
.mammomia-form-wrapper select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
    background-color: #ffffff;
    color: #4a4a4a;
}

.mammomia-form-wrapper input[type="text"]:focus,
.mammomia-form-wrapper input[type="email"]:focus,
.mammomia-form-wrapper input[type="tel"]:focus,
.mammomia-form-wrapper textarea:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.mammomia-form-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.95rem;
}

.mammomia-form-wrapper button[type="submit"],
.mammomia-form-wrapper .ff-btn-submit {
    background-color: #ff6b9d !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.875rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 1rem !important;
}

.mammomia-form-wrapper button[type="submit"]:hover,
.mammomia-form-wrapper .ff-btn-submit:hover {
    background-color: #ff5a8c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3) !important;
}

.mammomia-form-error strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.mammomia-form-error code {
    background-color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Styles pour Fluent Forms */
.mammomia-form-wrapper .fluentform {
    max-width: 100%;
}

.mammomia-form-wrapper .ff-el-form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mammomia-form-wrapper .ff-el-form-control:focus {
    border-color: var(--accent-color, #e91e63);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

.mammomia-form-wrapper .ff-btn-submit {
    background-color: var(--accent-color, #e91e63) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.mammomia-form-wrapper .ff-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3) !important;
}

/* ========================================
   INFORMATIONS DE CONTACT
======================================== */

.mammomia-contact-info {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.mammomia-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color, #333333);
    font-size: 1rem;
}

.mammomia-info-item svg {
    color: var(--accent-color, #e91e63);
    flex-shrink: 0;
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Tablettes */
@media (max-width: 768px) {
    .mammomia-title {
        font-size: 2.5rem;
    }
    
    .mammomia-subtitle {
        font-size: 1.25rem;
    }
    
    .mammomia-description {
        font-size: 1rem;
    }
    
    .mammomia-download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mammomia-download-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .mammomia-form-wrapper {
        padding: 1.5rem;
    }
}

/* Mobiles */
@media (max-width: 480px) {
    .mammomia-home-container,
    .mammomia-contact-container {
        padding: 1.5rem;
    }
    
    .mammomia-title {
        font-size: 2rem;
    }
    
    .mammomia-subtitle {
        font-size: 1.125rem;
    }
    
    .mammomia-description {
        font-size: 0.9375rem;
    }
    
    .mammomia-logo svg {
        width: 60px;
        height: 60px;
    }
    
    .mammomia-download-btn {
        padding: 0.875rem 1.5rem;
        min-width: 180px;
    }
    
    .mammomia-btn-large {
        font-size: 1.125rem;
    }
    
    .mammomia-form-wrapper {
        padding: 1.25rem;
    }
    
    .mammomia-contact-info {
        flex-direction: column;
        align-items: center;
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    .mammomia-title {
        font-size: 1.75rem;
    }
    
    .mammomia-download-btn {
        min-width: 160px;
    }
}

/* ========================================
   ACCESSIBILITÉ
======================================== */

/* Focus visible pour la navigation au clavier */
.mammomia-download-btn:focus-visible,
.mammomia-link:focus-visible {
    outline: 3px solid var(--accent-color, #e91e63);
    outline-offset: 4px;
}

/* Réduire les animations pour les utilisateurs qui préfèrent */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mode sombre (optionnel) */
@media (prefers-color-scheme: dark) {
    .mammomia-home-container,
    .mammomia-contact-container {
        --bg-color: #1a1a1a;
        --text-color: #ffffff;
    }
    
    .mammomia-form-wrapper {
        background-color: #2a2a2a;
    }
    
    .mammomia-form-wrapper .ff-el-form-control {
        background-color: #1a1a1a;
        color: #ffffff;
        border-color: #404040;
    }
}
