/* === C. DELMEZ VÉTÉRINAIRE — Vert sauge / Beige / Blanc === */
:root {
    --sage: #7C9082;
    --sage-dark: #5E7363;
    --sage-light: #A8BEB0;
    --beige: #F5F0EB;
    --beige-dark: #E8DFD6;
    --white: #FFFFFF;
    --text: #2D3436;
    --text-light: #636E72;
    --text-muted: #99A3A4;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; height: auto; }

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 10px 0;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img { height: 44px; width: 44px; border-radius: 10px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    transition: color 0.3s;
}
.navbar.scrolled .logo-text { color: var(--sage-dark); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-link {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
}
.navbar.scrolled .nav-link { color: var(--text-light); }
.nav-link:hover { color: var(--white); }
.navbar.scrolled .nav-link:hover { color: var(--sage-dark); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--white);
    color: var(--sage-dark);
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}
.navbar.scrolled .nav-cta {
    background: var(--sage);
    color: var(--white);
}

/* Burger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}
.navbar.scrolled .nav-toggle span { background: var(--text); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--sage-dark) url('../img/hero.jpg') center 40% / cover no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(45,52,54,0.60) 0%, rgba(45,52,54,0.30) 28%, rgba(45,52,54,0.30) 68%, rgba(45,52,54,0.50) 100%),
        linear-gradient(100deg, rgba(45,52,54,0.80) 0%, rgba(45,52,54,0.55) 42%, rgba(45,52,54,0.20) 78%, rgba(45,52,54,0.10) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 20px 80px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.hero-title em {
    font-style: italic;
    opacity: 0.9;
}
.hero-sub {
    color: rgba(255,255,255,0.92);
    font-size: 1.1rem;
    margin-bottom: 32px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.55);
}
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--sage);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}
.btn-lg {
    padding: 14px 30px;
    font-size: 1.05rem;
}

/* === QUICK BAR === */
.quick-bar {
    background: var(--sage-dark);
    padding: 0;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.quick-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    color: var(--white);
    border-right: 1px solid rgba(255,255,255,0.1);
}
.quick-item:last-child { border-right: none; }
.quick-item i {
    font-size: 1.3rem;
    opacity: 0.7;
    flex-shrink: 0;
}
.quick-item strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 2px;
}
.quick-item span {
    font-size: 0.8rem;
    opacity: 0.75;
}

/* === ABOUT === */
.about {
    padding: 80px 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: center;
}
.photo-placeholder {
    aspect-ratio: 3/4;
    background: var(--beige);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
}
.photo-placeholder i { font-size: 3rem; }
.photo-placeholder span { font-size: 0.85rem; }
.about-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center 20%;
    box-shadow: var(--shadow-lg);
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage);
    margin-bottom: 12px;
}
.section-tag.center { text-align: center; }
.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 8px;
}
.section-sub {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 4px;
}
.about-subtitle {
    color: var(--sage);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.about-text p {
    color: var(--text-light);
    margin-bottom: 14px;
    font-size: 0.95rem;
}
.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--beige);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--sage-dark);
}

/* === SERVICES === */
.services {
    padding: 80px 0;
    background: var(--beige);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.service-card {
    background: var(--white);
    padding: 30px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.service-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    background: var(--beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    font-size: 1.3rem;
}
.service-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}
.service-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* === ZONE === */
.zone {
    padding: 80px 0;
    background: var(--white);
}
.zone-content {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: center;
}
.zone-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 16px;
}
.zone-text p {
    color: var(--text-light);
    margin-bottom: 14px;
    font-size: 0.95rem;
}
/* Villes mises en évidence */
.zone-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.zone-city {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    background: var(--beige);
    color: var(--sage-dark);
    border: 1px solid var(--beige-dark);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.zone-city:hover {
    background: var(--sage);
    color: var(--white);
    border-color: var(--sage);
    transform: translateY(-2px);
}
.zone-city-more {
    background: transparent;
    border-style: dashed;
    font-weight: 500;
    font-style: italic;
}
.zone-city-more:hover { background: transparent; color: var(--sage-dark); border-color: var(--sage); transform: none; }

.zone-visual {
    text-align: center;
}
/* Carte zone cliquable */
.zone-map-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 14px;
}
.zone-map {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}
.zone-map-btn:hover .zone-map { transform: scale(1.06); }
.zone-map-zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: rgba(45,52,54,0.78);
    color: var(--white);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
.zone-map-btn:hover .zone-map-zoom,
.zone-map-btn:focus-visible .zone-map-zoom { opacity: 1; transform: translateY(0); }
@media (hover: none) { .zone-map-zoom { opacity: 1; transform: translateY(0); } }

.zone-radius {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--sage-dark);
}
.zone-radius i { color: var(--sage); font-size: 1rem; }

/* Lightbox carte zone */
.zone-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20,24,25,0.92);
    cursor: zoom-out;
}
.zone-lightbox.open {
    display: flex;
    animation: zoneFade .25s ease;
}
@keyframes zoneFade { from { opacity: 0; } to { opacity: 1; } }
.zone-lightbox-img {
    max-width: 96vw;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    cursor: default;
}
.zone-lightbox-close {
    position: absolute;
    top: 18px;
    right: 26px;
    color: var(--white);
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity .2s ease;
}
.zone-lightbox-close:hover { opacity: 1; }

/* === GALERIE === */
.gallery {
    padding: 80px 0;
    background: var(--white);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* === FOOTER LOGO === */
.footer-logo {
    height: 52px;
    width: 52px;
    border-radius: 10px;
    display: block;
    margin-bottom: 12px;
}

/* === PAYMENTS === */
.payments {
    padding: 40px 0;
    background: var(--beige);
    text-align: center;
}
.payments h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}
.payment-icons span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* === CONTACT === */
.contact {
    padding: 80px 0;
    background: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 12px;
}
.contact-info > p {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.95rem;
}
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--beige);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}
a.contact-item:hover {
    background: var(--beige-dark);
    transform: translateX(4px);
}
.contact-item i {
    font-size: 1.1rem;
    color: var(--sage);
    width: 24px;
    text-align: center;
}
.contact-item strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 2px;
}
.contact-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}
.contact-item.urgent {
    background: #FFF3E0;
    border-left: 3px solid #F39C12;
}
.contact-item.urgent i { color: #F39C12; }

.contact-social {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}
.social-link {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--beige);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.social-link:hover {
    background: var(--sage);
    color: var(--white);
}

.contact-cta-box {
    position: sticky;
    top: 90px;
}
.cta-inner {
    background: linear-gradient(135deg, var(--sage-dark), var(--sage));
    color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
}
.cta-inner i {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.8;
}
.cta-inner h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.cta-inner p {
    opacity: 0.85;
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.cta-inner .btn-primary {
    background: var(--white);
    color: var(--sage-dark);
}
.cta-inner .btn-primary:hover {
    background: var(--beige);
}

/* === FOOTER === */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 24px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}
.footer-brand strong {
    display: block;
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.footer-brand p { font-size: 0.85rem; }
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    font-size: 0.8rem;
    text-align: center;
}
.footer-bottom p { margin-bottom: 4px; }
.footer-credit a {
    color: var(--sage-light);
    text-decoration: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open { right: 0; }
    .nav-menu .nav-link {
        color: var(--text);
        padding: 14px 0;
        border-bottom: 1px solid var(--beige);
        font-size: 1rem;
    }
    .nav-menu .nav-cta {
        background: var(--sage);
        color: var(--white);
        justify-content: center;
        margin-top: 16px;
        padding: 12px;
    }

    .hero-content { padding: 100px 20px 60px; }
    .hero-title { font-size: 1.8rem; }
    .hero-sub { font-size: 0.95rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { justify-content: center; }

    .quick-grid {
        grid-template-columns: 1fr;
    }
    .quick-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 18px 20px;
    }
    .quick-item:last-child { border-bottom: none; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-photo { max-width: 300px; margin: 0 auto; }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .service-card { padding: 20px 16px; }
    .service-card p { display: none; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .zone-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .zone-visual { order: -1; }

    .payment-icons { gap: 16px; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-top { flex-direction: column; gap: 20px; }
    .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.6rem; }
}
