/* ============================================
   Cabinet Dentaire AFOTA - Feuille de style
   ============================================ */

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header et Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo h1 {
    font-size: 24px;
    color: #2c5f8d;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: #2c5f8d;
    color: #fff;
}

/* Section Hero (Page d'accueil) */
.hero {
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c9 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #2c5f8d;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.btn:hover {
    background-color: transparent;
    color: #fff;
}

/* Section Présentation */
.presentation {
    padding: 60px 0;
    background-color: #fff;
}

.presentation h2 {
    text-align: center;
    font-size: 32px;
    color: #2c5f8d;
    margin-bottom: 20px;
}

.presentation > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: #555;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    color: #2c5f8d;
    margin-bottom: 15px;
    font-size: 24px;
}

.feature p {
    color: #666;
}

/* En-tête de page */
.page-header {
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c9 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
}

/* Liste des services */
.services-list {
    padding: 60px 0;
    background-color: #fff;
}

.service-item {
    background-color: #f8f9fa;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    border-left: 5px solid #2c5f8d;
    transition: all 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.service-item h3 {
    color: #2c5f8d;
    margin-bottom: 15px;
    font-size: 24px;
}

.service-item p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.btn-pdf {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c5f8d;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-pdf:hover {
    background-color: #234a6d;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(44, 95, 141, 0.3);
}

/* Section CTA */
.cta {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    color: #2c5f8d;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.cta .btn {
    background-color: #2c5f8d;
    color: #fff;
    border-color: #2c5f8d;
}

.cta .btn:hover {
    background-color: #234a6d;
    border-color: #234a6d;
}

/* Équipe */
.team {
    padding: 60px 0;
    background-color: #fff;
}

.team .section-title {
    color: #2c5f8d;
    font-size: 32px;
    margin: 40px 0 30px;
    text-align: center;
    border-bottom: 3px solid #2c5f8d;
    padding-bottom: 15px;
}

.team .section-title:first-child {
    margin-top: 0;
}

.team-member {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    align-items: flex-start;
}

.member-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #2c5f8d;
    flex-shrink: 0;
}

.member-info h3 {
    color: #2c5f8d;
    font-size: 26px;
    margin-bottom: 5px;
}

.member-info .role {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
}

.member-info p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.member-info ul {
    margin: 10px 0 15px 20px;
    color: #555;
}

.member-info ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.member-info .credentials {
    background-color: #e8f4f8;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.8;
}

.member-info .external-info {
    background-color: #f0f8ff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 4px solid #2c5f8d;
}

.member-info .external-info a {
    color: #2c5f8d;
    text-decoration: none;
}

.member-info .external-info a:hover {
    text-decoration: underline;
}

/* Page Contact */
.contact-info {
    padding: 60px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    color: #2c5f8d;
    margin-bottom: 15px;
    font-size: 22px;
}

.contact-card p {
    color: #555;
    line-height: 1.8;
}

/* Formulaire de contact */
.contact-form-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-form-section h2 {
    text-align: center;
    color: #2c5f8d;
    font-size: 32px;
    margin-bottom: 15px;
}

.form-note {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5f8d;
}

.form-group textarea {
    resize: vertical;
}

.form-group button {
    cursor: pointer;
    font-size: 16px;
}

/* Section carte */
.map-section {
    padding: 60px 0;
    background-color: #fff;
}

.map-section h2 {
    text-align: center;
    color: #2c5f8d;
    font-size: 32px;
    margin-bottom: 30px;
}

.map-container {
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.map-address {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-top: 20px;
    font-weight: 600;
}

.map-note {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* Page Urgences */
.urgence-header {
    background: linear-gradient(135deg, #c92c2c 0%, #e74c3c 100%);
}

.urgence-info {
    padding: 60px 0;
    background-color: #fff;
}

.urgence-card {
    background-color: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    border-left: 5px solid #2c5f8d;
}

.urgence-card.important {
    border-left-color: #c92c2c;
    background-color: #fff5f5;
}

.urgence-card.alert {
    border-left-color: #f39c12;
    background-color: #fffbf0;
}

.urgence-card.info {
    border-left-color: #3498db;
    background-color: #f0f8ff;
}

.urgence-card h3 {
    color: #2c5f8d;
    font-size: 24px;
    margin-bottom: 15px;
}

.urgence-card.important h3 {
    color: #c92c2c;
}

.urgence-card.alert h3 {
    color: #f39c12;
}

.urgence-card.info h3 {
    color: #3498db;
}

.urgence-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.urgence-card .phone-number {
    font-size: 28px;
    font-weight: bold;
    color: #c92c2c;
    margin: 20px 0;
}

.urgence-card .phone-number a {
    color: #c92c2c;
    text-decoration: none;
}

.urgence-card .phone-number a:hover {
    text-decoration: underline;
}

.urgence-card .address {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.horaires-urgence {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.horaires-urgence h4 {
    color: #2c5f8d;
    margin-bottom: 15px;
    font-size: 18px;
}

.horaires-urgence ul {
    list-style: none;
    padding: 0;
}

.horaires-urgence ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.8;
}

.horaires-urgence ul li:last-child {
    border-bottom: none;
}

.urgence-conseils {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.urgence-conseils h2 {
    text-align: center;
    color: #2c5f8d;
    font-size: 32px;
    margin-bottom: 40px;
}

.conseils-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.conseil-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.conseil-item:hover {
    transform: translateY(-5px);
}

.conseil-item h4 {
    color: #2c5f8d;
    font-size: 20px;
    margin-bottom: 15px;
}

.conseil-item p {
    color: #555;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #2c5f8d;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-section p {
    line-height: 1.8;
    color: #e0e8ef;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: #e0e8ef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .logo h1 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .page-header h2 {
        font-size: 30px;
    }

    .presentation h2,
    .cta h2 {
        font-size: 26px;
    }
}
