/* ========================================
   PAGE CONTACT - STYLES SPÉCIFIQUES
   ======================================== */

/* Hero Contact */
.contact-hero {
    background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-royal));
    color: var(--blanc);
    padding: 8rem 0 4rem;
    margin-top: 80px;
    text-align: center;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.5rem;
    opacity: 0.95;
}

/* Sections Contact */
.contact-section {
    padding: 5rem 0;
}

.contact-section:nth-child(even) {
    background: var(--gris-clair);
}

.section-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bleu-royal), var(--bleu-clair));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.intro-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--bleu-marine);
    margin-bottom: 1rem;
}

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gris-moyen);
}

/* Newsletter Card */
.newsletter-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--blanc);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.newsletter-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bleu-marine);
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    color: var(--gris-moyen);
    margin-bottom: 2rem;
}

/* Newsletter Form */
.newsletter-form {
    text-align: left;
}

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

.newsletter-form label {
    display: block;
    font-weight: 600;
    color: var(--bleu-marine);
    margin-bottom: 0.5rem;
}

.newsletter-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gris-clair);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--bleu-clair);
    box-shadow: 0 0 0 3px rgba(70, 154, 218, 0.1);
}

.form-disclaimer {
    font-size: 0.875rem;
    color: var(--gris-moyen);
    margin-top: 1rem;
    line-height: 1.6;
}

/* Contact Card */
.contact-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--blanc);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--bleu-marine);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--gris-clair);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bleu-clair);
    box-shadow: 0 0 0 3px rgba(70, 154, 218, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233360b5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
}

.form-consent {
    display: flex;
    gap: 0.75rem;
    align-items: start;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-consent label {
    font-size: 0.9rem;
    color: var(--gris-moyen);
    line-height: 1.6;
    cursor: pointer;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Success Messages */
.newsletter-success,
.contact-success {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    animation: successPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.newsletter-success h4,
.contact-success h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bleu-marine);
    margin-bottom: 0.75rem;
}

.newsletter-success p,
.contact-success p {
    font-size: 1.125rem;
    color: var(--gris-moyen);
    margin-bottom: 1.5rem;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-card {
    background: var(--blanc);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.info-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(70, 154, 218, 0.1), rgba(51, 96, 181, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bleu-royal);
    margin: 0 auto 1.5rem;
}

.contact-info-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bleu-marine);
    margin-bottom: 0.75rem;
}

.contact-info-card a {
    color: var(--bleu-clair);
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-info-card a:hover {
    color: var(--bleu-royal);
}

.contact-info-card p {
    color: var(--gris-moyen);
    line-height: 1.7;
}

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

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }

    .section-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-icon {
        margin: 0 auto;
    }

    .newsletter-card,
    .contact-card {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .newsletter-card,
    .contact-card {
        padding: 1.5rem;
    }

    .intro-icon,
    .info-icon {
        width: 60px;
        height: 60px;
    }

    .intro-icon svg,
    .info-icon svg {
        width: 32px;
        height: 32px;
    }
}
