/* 
 * EasyDoct SEO Pages - Styles dédiés
 * Optimisé pour le référencement et l'expérience utilisateur
 */

/* Reset et base */
.seo-page {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.7;
    color: #555;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.seo-page * {
    box-sizing: border-box;
}

/* Header avec logo */
.seo-header-nav {
    background-color: #fff;
    border-bottom: 2px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.seo-header-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 20px;
}

.seo-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.seo-logo-link:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.seo-logo-link img.shrink-logo {
    height: 60px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .seo-header-container {
        padding: 15px 15px;
    }

    .seo-logo-link img.shrink-logo {
        height: 50px;
    }
}

/* Container principal */
.seo-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: calc(100vh - 200px);
}

@media (max-width: 768px) {
    .seo-container {
        padding: 20px 15px;
    }
}

/* Fil d'Ariane (Breadcrumb) */
.seo-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 30px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.seo-breadcrumb a {
    color: #72c02c;
    text-decoration: none;
    transition: all 0.2s ease;
}

.seo-breadcrumb a:hover {
    color: #5da024;
    text-decoration: underline;
}

.seo-breadcrumb-separator {
    margin: 0 10px;
    color: #ccc;
    font-weight: 300;
}

.seo-breadcrumb span:last-child {
    color: #555;
    font-weight: 600;
}

/* Header */
.seo-header {
    margin-bottom: 40px;
}

.seo-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin: 0 0 20px 0;
    padding-bottom: 20px;
    border-bottom: 3px solid #72c02c;
}

@media (max-width: 768px) {
    .seo-header h1 {
        font-size: 24px;
    }
}

/* Encadré informations cabinet */
.seo-office-info {
    background: linear-gradient(135deg, #f8fdf6 0%, #ffffff 100%);
    border: 1px solid #e8f5e0;
    border-left: 4px solid #72c02c;
    border-radius: 6px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 12px rgba(114, 192, 44, 0.08);
}

.seo-office-info h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
}

.seo-office-info h2::before {
    content: "📍";
    margin-right: 10px;
    font-size: 24px;
}

.seo-office-info p {
    margin: 8px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.seo-office-info strong {
    color: #333;
    font-weight: 600;
}

.seo-office-info a {
    color: #72c02c;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.seo-office-info a:hover {
    color: #5da024;
    text-decoration: underline;
}

/* Bouton RDV */
.seo-appointment-button {
    display: inline-block;
    background: linear-gradient(135deg, #72c02c 0%, #5da024 100%);
    color: #fff !important;
    padding: 16px 40px 16px 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
    margin: 30px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 192, 44, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.seo-appointment-button::before {
    content: "\f073";
    font-family: "FontAwesome";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.seo-appointment-button:hover {
    background: linear-gradient(135deg, #5da024 0%, #4a8b1d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 192, 44, 0.4);
    color: #fff !important;
}

.seo-appointment-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(114, 192, 44, 0.3);
}

@media (max-width: 768px) {
    .seo-appointment-button {
        display: block;
        text-align: center;
        padding: 14px 30px 14px 45px;
        font-size: 15px;
    }

    .seo-appointment-button::before {
        left: 15px;
        font-size: 18px;
    }
}

/* Contenu principal */
.seo-content {
    margin: 40px 0;
}

.seo-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 35px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}

.seo-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin: 30px 0 15px 0;
}

.seo-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 18px 0;
    text-align: justify;
}

.seo-content ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.seo-content ul li {
    padding: 10px 0 10px 35px;
    position: relative;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.seo-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #72c02c;
    font-weight: 700;
    font-size: 18px;
}

.seo-content strong {
    color: #333;
    font-weight: 700;
}

/* Messages d'erreur */
.seo-error {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ff9800;
    color: #856404;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
}

.seo-error h2 {
    margin-top: 0;
    color: #856404;
    font-size: 20px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .seo-content p {
        text-align: left;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-container {
    animation: fadeIn 0.5s ease-out;
}

/* Amélioration accessibilité */
.seo-appointment-button:focus,
.seo-breadcrumb a:focus,
.seo-office-info a:focus {
    outline: 2px solid #72c02c;
    outline-offset: 2px;
}

/* Footer EasyDoct */
.seo-footer {
    margin-top: 60px;
    padding: 30px 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.ed-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ed-footer-logo img {
    width: 80px;
    height: auto;
}

.ed-footer-logo a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ed-footer-logo a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.ed-footer-infos {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.ed-footer-infos a {
    color: #72c02c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ed-footer-infos a:hover {
    color: #5da024;
    text-decoration: underline;
}

.ed-footer-infos-website {
    display: inline;
}

.ed-footer-contact {
    display: flex;
    gap: 15px;
    align-items: center;
}

.ed-footer-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #72c02c;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ed-footer-contact a:hover {
    background-color: #5da024;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(114, 192, 44, 0.3);
}

.ed-footer-contact a svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .ed-footer {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1170px;
        margin: 0 auto;
    }

    .ed-footer-logo,
    .ed-footer-infos,
    .ed-footer-contact {
        flex: 1;
    }

    .ed-footer-logo {
        text-align: left;
    }

    .ed-footer-infos {
        text-align: center;
    }

    .ed-footer-contact {
        justify-content: flex-end;
    }
}

/* Print styles */
@media print {
    .seo-appointment-button,
    .seo-breadcrumb,
    .seo-footer {
        display: none;
    }

    .seo-container {
        box-shadow: none;
        max-width: 100%;
    }
}
