/*
Theme Name: IZZART
Theme URI: https://izzaandco.com/
Description: Thème enfant pour le projet IZZART - Maroquinerie de luxe en cuir de poisson au Maroc.
Author: Dotma
Author URI: https://dotma.ma
Template: twentytwentyfive
Version: 1.0.1
Text Domain: izzart
*/

/* --- BASE STYLES --- */
body {
    background-color: #FDFBF7;
    color: #1A1A1A;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1A1A1A;
}

body h1 {
    font-size: 48px !important;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none; /* Plus moderne en sentence case ou lowercase pour le luxe */
}

body h2 {
    font-size: 36px !important;
    font-weight: 500;
    letter-spacing: -0.01em;
}

body h3 {
    font-size: 22px !important;
    font-weight: 400;
    font-style: italic;
}

body p {
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 2rem;
    max-width: 65ch;
}

body strong {
    font-weight: 700;
    
}
h1 strong {
    color: #C19A6B; /* remplace par ta couleur camel */
    font-weight: 600;
}

/* --- EDITORIAL LAYOUT --- */
.editorial-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

.asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.section-margin {
    margin-bottom: 8rem;
}

/* --- LUXURY UTILITIES --- */
.luxury-link {
    position: relative;
    display: inline-block;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    color: #1A1A1A;
    text-decoration: none;
    padding-bottom: 4px;
}

.luxury-link::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #B58B5F;
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.luxury-link:hover::after {
    transform: scaleX(1);
}

.btn-luxury {
    display: inline-block;
    padding: 1.25rem 3rem;
    background-color: #1A1A1A;
    color: #FDFBF7;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid #1A1A1A;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    text-decoration: none;
}

.btn-luxury:hover {
    background-color: transparent;
    color: #1A1A1A;
    border-color: #B58B5F;
}

.btn-outline {
    background-color: transparent;
    color: #1A1A1A;
    border: 1px solid rgba(26, 26, 26, 0.2);
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }

/* Image Hover Effect */
.img-zoom-container {
    overflow: hidden;
}
.img-zoom-container img {
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.img-zoom-container:hover img {
    transform: scale(1.05);
}

/* --- CONTACT FORM STYLES --- */
.izza-contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Espacement vertical entre les groupes */
}

.izza-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .izza-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Labels */
.izza-contact-form label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
    display: block;
}

/* Inputs & Textarea */
.izza-contact-form input[type="text"],
.izza-contact-form input[type="email"],
.izza-contact-form input[type="tel"],
.izza-contact-form select,
.izza-contact-form textarea {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(181, 139, 95, 0.3); 
    padding: 12px 0;
    font-family: 'Inter', serif;
    font-size: 12px;
    color: #1A1A1A;
    transition: border-color 0.4s ease;
    outline: none;
    border-radius: 0;
}

/* Focus State */
.izza-contact-form input:focus,
.izza-contact-form select:focus,
.izza-contact-form textarea:focus {
    border-bottom-color: #B58B5F;
}

/* Flèche du select */
.izza-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23B58B5F%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0 top 50%;
    background-size: 10px auto;
    cursor: pointer;
}

/* Consentement RGPD */
.izza-consent {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    margin-top: 1rem;
}
.izza-consent a {
    color: #B58B5F;
    text-decoration: underline;
}

/* Bouton Submit */
.izza-submit {
    margin-top: 2rem;
    text-align: center;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
    .editorial-container {
        padding: 0 3rem;
    }
    
    /* Correction Overlap Hero : On réduit la largeur max du texte */
    section.h-screen p {
        max-width: 450px;
    }
}

@media (max-width: 1024px) {
    .editorial-container {
        padding: 0 2rem;
    }
    
    .section-margin {
        margin-bottom: 5rem;
    }
    
    /* Typo Tablette - Plus petit pour harmoniser */
    body h1 {
        font-size: 36px !important;
    }

    body h2 {
        font-size: 28px !important;
    }

    /* Hero adjustment : On bascule l'image en flux normal plus tôt pour éviter l'overlap */
    section.h-screen {
        height: auto !important;
        padding: 120px 0 60px 0;
    }

    section.h-screen .asymmetric-grid {
        display: flex;
        flex-direction: column;
    }

    section.h-screen .absolute.right-0 {
        position: relative !important;
        width: 100% !important;
        height: 450px !important;
        display: block !important;
        right: auto !important;
        top: auto !important;
        margin-top: 3rem;
    }
    
    section.h-screen .col-span-7 {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    /* Layout & Containers */
    .editorial-container {
        padding: 0 1.5rem;
    }

    .asymmetric-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .section-margin {
        margin-bottom: 4rem;
    }

    /* Typography */
    body h1 {
        font-size: 28px !important;
        line-height: 1.2;
    }

    body h2 {
        font-size: 24px !important;
    }

    /* Bloc CTA Final - Harmonisation du padding p-20 */
    section.pb-20 .max-w-4xl {
        padding: 3rem 1.5rem !important;
    }

    /* Hero Section */
    section.h-screen {
        padding: 100px 0 40px 0;
    }
    
    section.h-screen .absolute.right-0 {
        height: 350px !important;
        margin-top: 2rem;
    }

    /* Galerie Mosaic */
    .grid-cols-2.md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        auto-rows: 180px !important;
        gap: 0.75rem !important;
    }

    footer {
        padding: 4rem 0 !important;
    }
}

@media (max-width: 480px) {
    body h1 {
        font-size: 24px !important;
    }
    
    section.h-screen .absolute.right-0 {
        height: 280px !important;
    }

    .btn-luxury {
        width: 100%;
        text-align: center;
        padding: 1rem 1.25rem;
        font-size: 9px;
    }
    
    /* Réduction du padding CTA pour mobile extrême */
    section.pb-20 .max-w-4xl {
        padding: 2.5rem 1rem !important;
    }
}