/*
Theme Name: Estelle GL
Theme URI: 
Author: GL
Author URI: 
Description: Thème sur mesure pour le site d'Estelle Thorez (V3)
Version: 1.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: estelle-gl
*/

body { background-color: #faf9f6; color: #1e293b; -webkit-font-smoothing: antialiased; }

/* --- BENTO CARDS --- */
.bento-card, .wp-block-column.bento-card {
    background: white !important;
    border-radius: 2rem !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
}

/* --- IMAGES ROUNDING --- */
img.rounded-large, .rounded-large img {
    border-radius: 3rem !important;
}

.rotate-soft img {
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}
.rotate-soft:hover img {
    transform: rotate(0deg);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif !important;
    font-weight: 600 !important;
}

/* --- NAVIGATION --- */
.glass-nav {
    background: rgba(250, 249, 246, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

/* --- NEWSLETTER --- */
.newsletter-box {
    background-color: #fdf8f6 !important;
    border-radius: 4rem !important;
    border: 1px solid #f9ebe5 !important;
}

/* --- GLASS NAVIGATION --- */
.glass-nav {
    background: rgba(250, 249, 246, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(117, 144, 120, 0.15) !important;
}

/* --- PREMIUM ANIMATIONS --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.float-animation {
    animation: float 6s ease-in-out infinite;
}
.hover-lift {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.hover-lift:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 20px 40px -15px rgba(74, 93, 77, 0.15) !important;
}

/* --- BUTTON VERTICAL CENTERING & CLEANUP --- */
a.bg-sauge-500, 
button.bg-sauge-500,
input[type="submit"].bg-sauge-500,
.wpcf7-form button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-align: center !important;
}
a.bg-sauge-500 br, 
button.bg-sauge-500 br,
input[type="submit"].bg-sauge-500 br,
.wpcf7-form button[type="submit"] br {
    display: none !important;
}

/* --- CONTACT FORM 7 - GLOBAL INPUTS --- */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem 1.25rem !important;
    border-radius: 1rem !important;
    border: 1px solid #e4ebe4 !important;
    background: #ffffff !important;
    outline: none !important;
    font-size: 0.825rem !important;
    transition: all 0.3s ease !important;
}
.wpcf7-form textarea {
    border-radius: 1.5rem !important;
    min-height: 120px !important;
}
.wpcf7-form input[type="text"]:hover,
.wpcf7-form input[type="email"]:hover,
.wpcf7-form textarea:hover {
    border-color: #759078 !important;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-color: #4a5d4d !important;
    box-shadow: 0 0 0 3px rgba(117, 144, 120, 0.2) !important;
}

/* --- CONTACT FORM 7 - NEWSLETTER SPECIFIC --- */
.newsletter-box .wpcf7-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1.25rem !important;
    border-radius: 9999px !important;
    border: 1px solid #e4ebe4 !important;
    background: #ffffff !important;
    outline: none !important;
    font-size: 0.825rem !important;
    transition: all 0.3s ease !important;
}
.newsletter-box .wpcf7-form input[type="email"]:hover {
    border-color: #759078 !important;
}
.newsletter-box .wpcf7-form input[type="email"]:focus {
    border-color: #4a5d4d !important;
    box-shadow: 0 0 0 3px rgba(117, 144, 120, 0.2) !important;
}

/* --- CONTACT FORM 7 - CHECKBOXES & CAPTCHA --- */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.wpcf7-list-item {
    display: block;
    margin: 0.5rem 0 !important;
    text-align: left;
}
.wpcf7-list-item-label {
    font-size: 0.75rem !important;
    color: #475569 !important;
    cursor: pointer;
    transition: color 0.2s ease;
    font-weight: 300;
}
.wpcf7-list-item-label:hover {
    color: #2b362d !important;
    font-weight: 400;
}
.wpcf7-list-item input[type="checkbox"] {
    margin-right: 0.5rem !important;
    border-radius: 0.25rem !important;
    border-color: #cbd5e1 !important;
    color: #759078 !important;
    cursor: pointer;
}
.wpcf7-form input[name="math-quiz"] {
    width: 4rem !important;
    display: inline-block !important;
    padding: 0.2rem 0.4rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 0.375rem !important;
    text-align: center !important;
    margin-left: 0.5rem !important;
    outline: none !important;
    font-size: 0.825rem !important;
    transition: all 0.2s ease !important;
}
.wpcf7-form input[name="math-quiz"]:focus {
    border-color: #759078 !important;
}
.wpcf7-form button[type="submit"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    height: 3.25rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

