/*
Theme Name: Dentiste Noura
Theme URI: https://example.com/
Author: Dre Noura
Description: Thème WordPress pour le cabinet dentaire de Dre Noura (accueil, à propos, services, rendez-vous, contact).
Version: 1.5
Requires at least: 5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: dentiste-noura
*/
/* Dre Noura · Dentiste — template (couleurs et dimensions identiques à la maquette) */
*{box-sizing:border-box}
body{margin:0;font-family:Inter,sans-serif;color:#12302f;background:#f6fbfb;min-height:100vh}
a{color:#0b6e6e}a:hover{color:#084f4f}
button{font-family:inherit}
[hidden]{display:none!important}
.avatar{margin-bottom:-140px}
@media (max-width:760px){.avatar{margin-bottom:0}}

header{position:relative;z-index:2;background:#fff;border-bottom:1px solid #d8eaea}
.header-in{padding:16px;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center}
.brand{display:flex;align-items:center;gap:16px}
.avatar{width:180px;height:210px;flex:0 0 180px;border-radius:28px;overflow:hidden;border:6px solid #fff;box-shadow:0 14px 32px rgba(18,48,47,.3)}
.avatar img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 50%;transform:scale(1.4);transform-origin:53% 35%}
.brand-name{align-self:flex-start;margin-top:16px;font:700 24px Outfit,sans-serif;color:#0b6e6e}
nav{display:flex;flex-wrap:wrap;gap:8px}
nav button{min-height:44px;padding:0 16px;border:0;border-radius:22px;cursor:pointer;font:500 15px Inter,sans-serif;background:#eef7f7;color:#12302f}
nav a.nav-link{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:22px;font:500 15px Inter,sans-serif;background:#eef7f7;color:#12302f;text-decoration:none}
nav a.nav-link.active{background:#0b6e6e;color:#fff}
nav button.active{background:#0b6e6e;color:#fff}

.hero{display:flex;flex-direction:column}
.hero>img{width:100%;height:520px;display:block;object-fit:cover;object-position:50% 40%}
.hero-card{position:relative;margin:-48px 24px 0;align-self:center;max-width:820px;background:#123f40;border-radius:24px;padding:32px;box-shadow:0 16px 40px rgba(18,48,47,.2);display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;color:#fff}
.hero-card h2{margin:0;font:700 44px/1.15 Outfit,sans-serif}
.hero-card p{margin:0;font-size:18px}

main{max-width:1120px;margin:0 auto;padding:48px 24px;display:flex;flex-direction:column;gap:56px}
h1{margin:0;font:700 40px Outfit,sans-serif}
h2.t{margin:0;font:700 32px Outfit,sans-serif}

.btn-white{min-height:48px;padding:0 28px;border:0;border-radius:24px;background:#fff;color:#084f4f;font:600 16px Inter,sans-serif;cursor:pointer}
.btn-outline{min-height:44px;padding:0 24px;border:2px solid #0b6e6e;border-radius:22px;background:#fff;color:#0b6e6e;font:600 15px Inter,sans-serif;cursor:pointer}

.about{display:flex;flex-wrap:wrap;gap:40px}
.ph{display:flex;align-items:center;justify-content:center;font-weight:600;background:#d5eeed;border-radius:20px}
.about .ph{flex:1 1 280px;height:360px;border-radius:24px}
.about .txt{flex:2 1 400px}
.about h1{margin-bottom:16px}
.about p{font-size:18px;line-height:1.7}

.services{display:flex;flex-direction:column;gap:24px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}
.card{background:#fff;border:1px solid #d8eaea;border-radius:20px;padding:24px}
.card h3{margin:0 0 8px}.card p{margin:0;line-height:1.5}

.dentist{display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:center;background:#fff;border:1px solid #d8eaea;border-radius:28px;padding:32px}
.dentist>div{flex:1 1 320px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.dentist p{margin:0;font-size:18px;line-height:1.6;color:#3d5a59}

.book{background:#0b6e6e;border-radius:28px;padding:32px;display:flex;flex-direction:column;gap:20px}
.book h2{margin:0;color:#fff;font:700 32px Outfit,sans-serif}
.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;color:#fff}
.fields label{display:flex;flex-direction:column;gap:6px}
.fields input,.fields select{height:48px;border-radius:12px;border:0;padding:0 12px;font:inherit}
.book .btn-white{align-self:flex-start}
.book .note{margin:0;color:#fff}

.contact{display:flex;flex-direction:column;gap:16px}
.contact p{margin:0;font-size:18px;line-height:1.9}
.contact .ph{height:280px}
.cform{display:flex;flex-direction:column;gap:16px;background:#fff;border:1px solid #d8eaea;border-radius:24px;padding:28px;position:relative}
.cform .fields{color:#12302f}
.cform .fields input,.cform .msg textarea{border:1px solid #d8eaea;background:#f6fbfb}
.cform .msg{display:flex;flex-direction:column;gap:6px}
.cform textarea{border-radius:12px;border:1px solid #d8eaea;padding:12px;font:inherit;resize:vertical;background:#f6fbfb}
.btn-teal{align-self:flex-start;min-height:48px;padding:0 28px;border:0;border-radius:24px;background:#0b6e6e;color:#fff;font:600 16px Inter,sans-serif;cursor:pointer}
.cnote{margin:0;font-weight:600}.cnote.ok{color:#116b35}.cnote.err{color:#b3261e}
.contact iframe{width:100%;height:280px;border:0;border-radius:20px}

footer{background:#12302f;color:#fff;padding:40px 24px 96px;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.f-row{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 32px}
.f-item{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.f-share{min-height:48px;padding:0 24px;border:2px solid #9fd8d5;border-radius:24px;background:transparent;color:#fff;font:600 15px Inter,sans-serif;display:flex;align-items:center;gap:10px;cursor:pointer}
.f-share{margin-top:24px}
.f-name{margin-top:64px}
.socials{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:16px}
.socials b{font-weight:600}
.socials div{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.soc{min-height:48px;padding:0 24px;border:0;border-radius:24px;color:#fff;font:600 15px Inter,sans-serif;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center}
.fb{background:#1559b7}.ig{background:#a72467}.tt{background:#000;border:1px solid #fff}

.fab{position:fixed;bottom:16px;z-index:5;border:0;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.25);cursor:pointer;text-decoration:none}
.fab-call{left:16px;width:60px;height:60px;border-radius:50%;background:#0b6e6e}
.fab-wa{right:16px;min-width:60px;height:60px;padding:0 18px;border-radius:30px;background:#116b35;font:600 14px Inter,sans-serif;gap:8px}

@media (max-width:760px){.hero-card h2{font-size:32px}.hero>img{height:320px}}

#shareBox{position:fixed;inset:0;z-index:50;background:rgba(18,48,47,.6);display:flex;align-items:center;justify-content:center;padding:16px}
#shareBox[hidden]{display:none}
.sb-card{background:#fff;color:#12302f;border-radius:24px;padding:28px;max-width:440px;width:100%;display:flex;flex-direction:column;gap:12px;box-shadow:0 16px 40px rgba(18,48,47,.3)}
.sb-card b{font:700 22px Outfit,sans-serif}.sb-card p{margin:0}
.sb-card input{height:48px;border:1px solid #d8eaea;border-radius:12px;padding:0 12px;font:inherit;width:100%}
.sb-actions{display:flex;gap:10px;flex-wrap:wrap}
.sb-actions button{min-height:44px;padding:0 20px;border-radius:22px;border:2px solid #0b6e6e;background:#fff;color:#0b6e6e;font:600 15px Inter,sans-serif;cursor:pointer}
.sb-actions #sbCopy{background:#0b6e6e;color:#fff}
.sb-card small{color:#116b35;font-weight:600}

.wa{background:#116b35}
#dnToast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,20px);z-index:60;background:#12302f;color:#fff;padding:14px 22px;border-radius:24px;box-shadow:0 8px 24px rgba(0,0,0,.3);opacity:0;pointer-events:none;transition:.25s;max-width:90vw;text-align:center;font:500 15px Inter,sans-serif}
#dnToast.show{opacity:1;transform:translate(-50%,0)}

/* Blog */
.blog h1{margin-bottom:8px}
.blog .card h3{margin:12px 0 4px}.blog .card h3 a{color:#12302f;text-decoration:none}
.post-thumb{width:100%;height:auto;border-radius:16px;display:block}
.post-date{color:#3d5a59;font-size:14px}
.read-more{display:inline-flex;align-items:center;margin-top:12px;text-decoration:none}
.post{max-width:780px;margin:0 auto}
.post-body{font-size:18px;line-height:1.8}
.pager{display:flex;justify-content:center}
.pager .nav-links{display:flex;gap:12px}
.blog+footer{padding-bottom:40px}

/* Arabe (RTL) */
html[dir=rtl] *{font-family:Cairo,Inter,sans-serif!important}
.lang-switch{background:#0b6e6e!important;color:#fff!important}
